10218813d3bae348083abd6502b59d641345d821
- Add ## Contents and ## Decision Tree to all 10 existing pattern files - Fix embed_as/1 semantics inversion in types.md (:self → :dump) - Fix fabricated __meta__.changes reference in changesets.md - Fix default primary key type (:integer → :id) in schemas.md - Combine @impl subsections into single "Minimal Callback Annotation"
Elixir Patterns
Idiomatic Elixir patterns extracted from the Elixir source code with verified file:line citations.
Structure
patterns/— Core patterns (GenServer, error handling, data transforms, processes, testing, docs, typespecs, macros, behaviours, modules)smells/— Anti-patterns and common mistakes the Elixir team avoidschangelog/— Daily digest of merged Elixir PRs with discussion summaries
Philosophy
These rules are derived from what the Elixir source code actually does, not opinions or blog posts. Every pattern cites specific files and line numbers.
When unsure how to do something in Elixir, look at how Elixir core does it. This is how we define what "idiomatic" actually means.
Languages
Markdown
100%