elixir-pro
Write idiomatic Elixir code with OTP patterns, supervision trees, and Phoenix LiveView. Masters concurrency, fault tolerance, and distributed systems.
Works with
Agent Skills format with YAML frontmatter. Claude Code reads it as-is.
---
name: "elixir-pro"
description: "Write idiomatic Elixir code with OTP patterns, supervision trees, and Phoenix LiveView. Masters concurrency, fault tolerance, and distributed systems."
license: "Apache-2.0"
---
## Table of Contents
- [When to use](#when-to-use)
- [Required inputs](#required-inputs)
- [Deliverables](#deliverables)
- [OTP Structure](#otp-structure)
- [Reliability](#reliability)
- [Examples](#examples)
- [Failure mode](#failure-mode)
- [Gotchas](#gotchas)
## When to use
- Use for Elixir/OTP implementation and review work.
- Use when fault tolerance or process boundaries are central.
## Required inputs
- App context and supervision tree scope.
- Expected process lifecycle behavior.
- Error and retry expectations.
## Deliverables
- Idiomatic Elixir updates.
- Clear OTP process boundaries.
- Explicit reliability notes when behavior changes.
## OTP Structure
- Keep supervision trees explicit and shallow.
- Model long-lived state with GenServer only when state is required.
- Prefer pure modules for domain logic outside process boundaries.
## Reliability
- Let supervisors restart failed workers.
- Use pattern matching to make invalid states impossible.
- Keep message protocols explicit and documented.
## Examples
```elixir
defmodule PortParser do
def parse(value) do
case Integer.parse(value) do
{port, ""} when port > 0 -> {:ok, port}
_ -> {:error, :invalid_port}
end
end
end
```
## Failure mode
- If supervision strategy is unclear, hold structural changes and confirm intent.
## Gotchas
- Process state mutations without clear ownership cause flaky behavior.
## References and assets
- Open deep guidance: `references/deep-guidance.md`
- Read when: the task needs advanced edge cases, migration-safe patterns, or runtime-specific nuance beyond the core checklist.More General & Other skills
find-skills
vercel-labs/skills
Helps users discover and install agent skills when they ask questions like "how do I do X", "find a skill for X", "is there a skill that can...", or express interest in extending capabilities. This skill should be used when the user is looking for functionality that might exist as an installable skill.
grill-me
mattpocock/skills
A relentless interview to sharpen a plan or design.
grill-with-docs
mattpocock/skills
A relentless interview to sharpen a plan or design, which also creates docs (ADR's and glossary) as we go.

