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.