From 6338ab76688ea36eee6662792926037ac02ec486 Mon Sep 17 00:00:00 2001 From: Rodin <4+rodin@noreply.gitea.weiker.me> Date: Fri, 8 May 2026 01:12:33 +0000 Subject: [PATCH] docs: add sources/ to structure for consistency with elixir/go repos --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index c889b16..9fd2cd8 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ These are derived from what the [Rust standard library](https://github.com/rust- - `patterns/` — what to do (error handling, ownership, traits, concurrency, unsafe, macros, etc.) - `smells/` — what NOT to do (anti-patterns, common mistakes) +- `sources/` — reference material from specific projects. Study for ideas, don't copy blindly. ## How to use @@ -54,6 +55,8 @@ Give your agent these instructions depending on the task: **Convention** = descriptive. "Project Z does it this way." Context-specific. Study for ideas — applying another project's conventions to yours without understanding their constraints causes harm. +The `sources/` directory is convention material absorbed from specific projects. The `patterns/` directory is what you actually follow. + ## Source All patterns extracted from `library/` at commit [`f53b654`](https://github.com/rust-lang/rust/tree/f53b654a8882fd5fc036c4ca7a4ff41ce32497a6).