OpenClaw f595b91030 fix: update drifted citation line numbers
- option_parser.ex: String.to_existing_atom/1 is at line 859, not 855
  (line 855 is the String.to_atom clause for allow_nonexistent_atoms)
- logger test_helper.exs: capture_log after clause spans lines 57-65,
  not 57-62 (the 'after' keyword is at line 64, restore at line 65)
2026-05-06 17:17:10 -07:00
2026-04-30 11:58:35 +00:00

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 avoids
  • changelog/ — 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.

S
Description
Idiomatic Elixir and Phoenix patterns extracted from source code with file path + line number citations
Readme MIT 359 KiB
Languages
Markdown 100%