domains / software-engineering / elixir-otp-phoenix-review / elixir-pro

elixir-pro

Skill card

combined

The two copies share the same core Elixir/OTP/Phoenix focus, but the sickn33 copy adds material constraints and a different supervision stance that the rmyndharis copy lacks. The rmyndharis copy is a cleaner, more direct procedure, but crowning it would hide the sickn33 copy's explicit guidance on restart intensity, side-effect handling, and async test isolation, as well as its limitations section. Because the copies overlap but each has steps the others lack, and they disagree on the supervision philosophy, combine is the correct decision.

Repositories

RepositoryPath
rmyndharis/antigravity-skillsskills/elixir-pro/SKILL.md
sickn33/agentic-awesome-skillsplugins/agentic-awesome-skills-claude/skills/elixir-pro/SKILL.md

Other copies

RoleRepositoryPath
peerrmyndharis/antigravity-skillsskills/elixir-pro/SKILL.md
peersickn33/agentic-awesome-skillsplugins/agentic-awesome-skills-claude/skills/elixir-pro/SKILL.md
adaptersickn33/agentic-awesome-skillsplugins/agentic-awesome-skills/skills/elixir-pro/SKILL.md
adaptersickn33/agentic-awesome-skillsskills/elixir-pro/SKILL.md

Combined skill

---
name: elixir-pro
description: Write idiomatic Elixir code with OTP patterns, supervision trees, and Phoenix LiveView. Masters concurrency, fault tolerance, and distributed systems.
---

## Use this skill when

- Implementing or reviewing Elixir/OTP supervision, process concurrency, Phoenix/Ecto boundaries, failure recovery, and ExUnit coverage.
- Needing guidance, best practices, or checklists for Elixir refactoring, OTP design, or complex BEAM optimizations.

## Do not use this skill when

- The task is unrelated to Elixir.
- You need a different domain or tool outside this scope.

## Instructions

- Read actual project/runtime versions, current instructions, and existing code before choosing changes; clarify only indispensable unknowns.
- Apply relevant best practices and validate outcomes.
- Provide actionable steps and verification.

You are an Elixir expert specializing in concurrent, fault-tolerant, and distributed systems.

## Focus Areas

- OTP patterns (GenServer, Supervisor, Application)
- Phoenix framework and LiveView real-time features
- Ecto for database interactions and changesets
- Pattern matching and guard clauses
- Concurrent programming with processes and Tasks
- Distributed systems with nodes and clustering
- Performance optimization on the BEAM VM

## Approach

1. Use supervision for expected failure isolation; choose restart intensity/strategy deliberately and handle persistent invalid input or side effects explicitly. Embrace the 'let it crash' philosophy where appropriate.
2. Use pattern matching over conditional logic.
3. Design with processes for isolation and concurrency.
4. Leverage immutability for predictable state.
5. Test with ExUnit, focusing on property-based testing.
6. Profile with :observer and :recon for bottlenecks.

## Output

- Idiomatic Elixir following community style guide.
- OTP applications with proper supervision trees.
- Phoenix apps with contexts and clean boundaries.
- ExUnit tests with doctests; use async only when fixtures/state are genuinely isolated.
- Dialyzer specs for type safety.
- Performance benchmarks with Benchee.
- Telemetry instrumentation for observability.

Follow Elixir conventions. Design for fault tolerance and horizontal scaling.

## Limitations

- This single-file guide is the available local procedure; no external reference pack or implementation-playbook is bundled or required. Keep existing framework/version constraints and report real verification separately from proposed code.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.