elixir-review

Review Elixir and Phoenix code for OTP, GenServer, LiveView, and concurrency issues.

7|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/camilooscargbaptista/cto-toolkit --skill elixir-review
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elixir-review
Source: https://github.com/camilooscargbaptista/cto-toolkit/tree/main/elixir-review
Command: npx skills add https://github.com/camilooscargbaptista/cto-toolkit --skill elixir-review

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps engineering teams identify OTP, GenServer, LiveView, concurrency, and fault-tolerance anti-patterns that cause crashes, degraded real-time behavior, and maintainability issues in Elixir/Phoenix applications.

Core Features & Use Cases

  • OTP and supervision checks: validates supervision trees, restart strategies, GenServer responsibilities, and timeout handling.
  • Phoenix & LiveView best practices: reviews context separation, controller thinness, LiveView handler size, PubSub usage, and assign management.
  • Concurrency and fault tolerance: detects unsupervised Tasks, unbounded GenServer state growth, mailbox backpressure risks, and recommends ETS or process registries.
  • Output for reviewers: produces a concise health score and actionable remediation notes suitable for PR comments or architecture audits.

Quick Start

Run an Elixir/Phoenix code review on the repository highlighting supervision trees, GenServer patterns, LiveView handlers, and Ecto usage.

Frequently Asked Questions about elixir-review

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

FAQPage Schema
How do I review Elixir and Phoenix code for OTP and concurrency issues?

Review Elixir and Phoenix code by analyzing .ex and .exs files to identify OTP anti-patterns, GenServer timeout issues, and unsupervised Tasks. You receive a health score, prioritized issues, and remediation guidance for supervision trees and concurrency risks.

What are common GenServer and LiveView anti-patterns in Phoenix applications?

Common GenServer and LiveView anti-patterns include unbounded state growth, oversized LiveView handlers, improper PubSub usage, and poor assign management. Code reviews detect these issues to prevent crashes and degraded real-time behavior.

Can I use a code review tool to check Phoenix LiveView handler design and Ecto contexts?

Yes, you can use a code review tool to check Phoenix LiveView handler design and Ecto contexts. The review validates context separation, controller thinness, handler size, and applies Ecto query best practices for maintainability.

Does reviewing Elixir fault tolerance require analyzing supervision trees and restart strategies?

Yes, reviewing Elixir fault tolerance requires analyzing supervision trees and restart strategies. A thorough review validates these OTP patterns, detects mailbox backpressure risks, and recommends ETS or process registries to ensure application reliability.

How do I get a health score and remediation guidance for an Elixir pull request?

You get a health score and remediation guidance for an Elixir pull request by running a code review focused on OTP patterns, LiveView handlers, and Ecto usage. The output produces concise, prioritized notes suitable for PR comments.