Install
openclaw skills install elixir-code-reviewReviews Elixir code for idiomatic patterns, OTP basics, and documentation. Use when reviewing .ex/.exs files, checking pattern matching, GenServer usage, or module documentation.
openclaw skills install elixir-code-review| 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.