elixir-code-review

Review Elixir source files for idiomatic patterns, OTP usage, and documentation.

Updated Feb 17, 2026
One-click install
npx skills add https://github.com/javierhbr/random-poc --skill elixir-code-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elixir-code-review
Source: https://github.com/javierhbr/random-poc/tree/main/custom-skills/beagle-main/plugins/beagle-elixir/skills/elixir-code-review
Command: npx skills add https://github.com/javierhbr/random-poc --skill elixir-code-review

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers improve the quality, maintainability, and adherence to best practices in their Elixir codebases by providing automated checks and guidance.

Core Features & Use Cases

  • Idiomatic Elixir: Checks for common Elixir patterns, naming conventions, and formatting.
  • OTP Best Practices: Reviews the usage of core OTP concepts like GenServers and Supervisors.
  • Documentation Standards: Ensures modules and functions are adequately documented with @doc and @spec.
  • Use Case: Before merging a new Elixir feature, run this Skill to catch potential issues related to pattern matching, OTP implementation, or missing documentation, ensuring a higher quality codebase.

Quick Start

Use the elixir-code-review skill to review the Elixir code file located at /path/to/your/module.ex.

Frequently Asked Questions about elixir-code-review

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review Elixir code for OTP best practices and GenServer usage?

To review Elixir code for OTP best practices, analyze your .ex and .exs source files for correct GenServer and Supervisor usage, proper pattern matching, and adherence to established Elixir coding conventions. This ensures your implementation aligns with core OTP principles.

What are the documentation standards for Elixir modules and functions?

Elixir documentation standards require modules and functions to be adequately documented with @doc and @spec attributes. Reviewing your source code for these annotations ensures maintainability and helps catch missing type specifications before merging new features.

Can I check .exs Elixir source files for idiomatic pattern matching?

Yes, you can check .exs and .ex Elixir source files for idiomatic pattern matching. The review process validates that your code follows established Elixir coding conventions and correctly applies pattern matching techniques across your codebase.

When do I need to review GenServer and Supervisor usage in Elixir?

You need to review GenServer and Supervisor usage in Elixir before merging new features to ensure OTP best practices are followed. This review catches potential issues related to process management, supervision trees, and pattern matching implementation early.

What is the best way to ensure Elixir code quality before merging a feature?

The best way to ensure Elixir code quality before merging is to run an automated review that checks for idiomatic patterns, OTP basics like GenServer and Supervisor implementation, and documentation standards including @doc and @spec annotations.