Commit Graph

9 Commits

Author SHA1 Message Date
aweiker 7b38ac9b2a feat: add Ecto patterns extracted from elixir-ecto/ecto source
Adds 5 new pattern files covering the core Ecto APIs, each with real
source citations at commit fd2ec52b, before/after examples, anti-patterns,
and decision trees.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-01 19:22:39 -07:00
Rodin 5f62dd0bf1 feat: add source hyperlinks + remove thin from-source.md
Every source reference now links to elixir-lang/elixir at commit f4e1b34.
122 hyperlinks across 11 topic files. Added PATTERN_COMPLETE sentinels.
Removed from-source.md (326 lines, shallow) — covered by existing files.
2026-04-30 14:43:56 -07:00
Rodin 9ff22d2eed fix: add 'When to use' to every pattern (was missing) 2026-04-30 13:29:27 -07:00
Rodin e6fbfced96 docs: add patterns extracted from elixir-lang/elixir source
Using codebase-analysis skill (patterns mode) on the language source.
Real examples from the repo, not invented. Each pattern has:
- Rule, Example, Why, When NOT to use, Source file.

Topics: module org, protocol design, error handling, testing,
documentation, naming, process design, smells.
2026-04-30 13:26:23 -07:00
Aaron Weiker 8f606d40d7 docs: add when/when-not to error-handling 2026-04-30 05:40:11 -07:00
Aaron Weiker cb94a157a1 docs: add when/when-not to data-transforms 2026-04-30 05:38:33 -07:00
Aaron Weiker f23623250e docs: add when/when-not to process-design 2026-04-30 05:31:32 -07:00
Aaron Weiker 1a934eb2e3 docs: add when/when-not to typespecs + documentation + behaviours 2026-04-30 05:23:28 -07:00
Aaron Weiker 4ea9a884aa docs: idiomatic Elixir and Phoenix patterns with source citations
Extracted patterns, conventions, and code smells directly from the
Elixir and Phoenix source code with file path and line number citations.

Covers: GenServer, error handling, data transforms, process design,
testing, documentation, typespecs, macros, behaviours, module organization,
Phoenix-specific patterns, framework deviations, and anti-patterns.
2026-04-29 22:50:12 -07:00