javierhbr/random-poc/elixir-code-review
Claude Code and agent skill by javierhbr/random-poc
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Reviews Elixir code for idiomatic patterns, OTP basics, and documentation. Use when reviewing .ex/.exs files, checking pattern matching, GenServer usage, or module documentation.
Install
npx vskill@latest install javierhbr/random-poc/elixir-code-reviewSKILL.md
The same SKILL.md was published earlier as javierhbr/random-poc/elixir-code-review.
Elixir Code Review
Quick Reference
| 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 |
Review Checklist
Code Style
- [ ] Module names are CamelCase, function names are snake_case
- [ ] Pipe chains start with raw data, not function calls
- [ ] Private functions grouped after public functions
- [ ] No unnecessary parentheses in function calls without arguments
Pattern Matching
- [ ] Functions use pattern matching over conditionals where appropriate
- [ ] With clauses have else handling for error cases
- [ ] Guards used instead of runtime checks where possible
- [ ] Destructuring used in function heads, not body
OTP Basics
- [ ] GenServers use handle_continue for expensive init work
- [ ] Supervisors use appropriate restart strategies
- [ ] No blocking calls in GenServer callbacks
- [ ] Proper use of call vs cast (sync vs async)
Documentation
- [ ] All public functions have @doc and @spec
- [ ] Modules have @moduledoc describing purpose
- [ ] Doctests for pure functions where appropriate
- [ ] No @doc false on genuinely public functions
Security
- [ ] No
String.to_atom/1on user input (useto_existing_atom/1) - [ ] No
Code.eval_string/1on untrusted input - [ ] No
:erlang.binary_to_term/1without:safeoption
Valid Patterns (Do NOT Flag)
- Empty function clause for pattern match -
def foo(nil), do: nilis valid guard - Using `|>` with single transformation - Readability choice, not wrong
- `@doc false` on callback implementations - Callbacks documented at behaviour level
- Private functions without @spec - @spec optional for internals
- Using `Kernel.apply/3` - Valid for dynamic dispatch with known module/function
Context-Sensitive Rules
| 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 |
When to Load References
- Reviewing module/function naming → code-style.md
- Reviewing with/case/cond statements → pattern-matching.md
- Reviewing GenServer/Supervisor code → otp-basics.md
- Reviewing @doc/@moduledoc → documentation.md
Before Submitting Findings
Load and follow review-verification-protocol before reporting any issue.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingcustom-skills/beagle-main/plugins/beagle-elixir/skills/elixir-code-review/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/javierhbr/random-poc/elixir-code-review)