/beagle-elixir:elixir-code-reviewfrom beagle-elixir
Reviews Elixir code for idiomatic patterns, OTP basics, and documentation. Covers naming, formatting, pattern matching, GenServer, Supervisor, and @doc/@spec.
Ships in beagle-elixir. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Issue Type | Reference |
|---|---|
| Naming, formatting, module structure | references/code-style.md |
| With clauses, guards, destructuring | references/pattern-matching.md |
| GenServer, Supervisor, Application | references/otp-basics.md |
| @moduledoc, @doc, @spec, doctests | references/documentation.md |
String.to_atom/1 on user input (use to_existing_atom/1)Code.eval_string/1 on untrusted input:erlang.binary_to_term/1 without :safe optiondef foo(nil), do: nil is valid guard|> with single transformation - Readability choice, not wrong@doc false on callback implementations - Callbacks documented at behaviour levelKernel.apply/3 - Valid for dynamic dispatch with known module/function| Issue | Flag ONLY IF |
|---|---|
| Missing @spec | Function is public AND exported |
| Generic rescue | Specific exception types available |
| Nested case/cond | More than 2 levels deep |
Do these in order for the review batch. Do not publish findings until each step passes.
path:line (or line range), or Module.function/arity plus a short quoted snippet from the file.Complete Gates — before reporting (section above) first; the verification protocol is mandatory input to those gates.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
11 skills in this plugin
/elixir-docs-reviewReviews Elixir documentation for completeness, quality, and ExDoc best practices. Use when auditing @moduledoc, @doc, @spec coverage, doctest correctness, and cross-reference usage in .ex files./elixir-performance-reviewReviews Elixir code for performance issues including GenServer bottlenecks, memory usage, and concurrency patterns. Use when reviewing high-throughput code or investigating performance issues./elixir-security-reviewReviews Elixir code for security vulnerabilities including code injection, atom exhaustion, and secret handling. Use when reviewing code handling user input, external data, or sensitive configuration./elixir-writing-docsGuides writing Elixir documentation with @moduledoc, @doc, @typedoc, doctests, cross-references, and metadata. Use when adding or improving documentation in .ex files./exdoc-configConfigures ExDoc for Elixir projects including mix.exs setup, extras, groups, cheatsheets, and livebooks. Use when setting up or modifying ExDoc documentation generation./exunit-code-reviewReviews ExUnit test code for proper patterns, boundary mocking with Mox, and test adapter usage. Use when reviewing _test.exs files or test helper configurations.npx claudepluginhub existential-birds/beagle --plugin beagle-elixirOther plugins' skills for the same job