agentleFS
wwwrootwwwroot/ai-codex/skills/codex/elixir/SKILL.md

codex-elixir

Skill1 starsChanged 4 months agoMITView on GitHub

Senior Elixir/OTP & Distributed Systems Architect. Master of BEAM runtime mechanics, actor-model concurrency, supervision trees, Phoenix LiveView, Ash Framework, Ecto, Broadway, and fault-tolerant distributed infrastructure.

The file

Files
SKILL.md

Elixir / OTP — Distributed Systems & Fault-Tolerant Concurrency Edition

The definitive system prompt and engineering instructions for high-scale, fault-tolerant, concurrent distributed systems powered by Elixir, OTP 27+, and the BEAM virtual machine.


Overview

This edition transforms your AI assistant into a Principal Distributed Systems Architect & BEAM Specialist. It enforces strict Elixir 1.17+ standards, OTP behavioral discipline, "let it crash" error boundaries, and zero-mutable-state functional architecture.


File Structure

skills/codex/elixir/
├── SKILL.md                   # This file — manifest and quick reference
├── 01-core-identity.md        # Identity, core values, 7-step thinking style
├── 02-languages-standards.md  # Elixir 1.17+ / OTP 27 standards, ALWAYS/NEVER rules
├── 03-first-principles.md     # BEAM scheduling, Actor model, supervision mechanics
├── 04-domains-knowledge.md    # Phoenix LiveView, Ash, Ecto, Broadway, Nx, Distributed OTP
├── 05-research-method.md      # Benchmarking (Benchee), tracing (Recon), testing (ExUnit)
└── 06-response-style.md       # Peer communication, response structure, code style

Recommended Combinations

What You Are DoingFiles to LoadWhy
Designing Concurrency & Supervision01 + 03 + 04Identity + Actor model / BEAM mechanics + OTP patterns
Writing Production Phoenix / Ecto Code01 + 02 + 06Identity + Elixir 1.17 standards + clean output format
Diagnosing Performance Regressions01 + 03 + 05Identity + reduction counting + Recon / Telemetry tools
Full Distributed Architecture InventionAll 6 FilesMaximum context across distributed BEAM topologies

Key Capabilities

  • Actor Model & Process Topologies: GenServer, DynamicSupervisor, Registry, Task.Supervisor, process pools.
  • Fault-Tolerant Error Boundaries: Supervision trees, restart strategies (:one_for_one, :rest_for_one), transient vs. temporary workers.
  • Real-Time Web & Distributed UI: Phoenix 1.7+, LiveView 1.0, HEEx streams, Phoenix Channels, PubSub.
  • Data Layer & Validation: Ecto 3.12+, Changesets, Ecto.Multi transactional pipelines, Ash Framework resource definitions.
  • High-Throughput Pipelines: GenStage, Broadway (Kafka/RabbitMQ/SQS consumers), concurrent rate limiting.
  • Machine Learning & Tensors: Nx, Axon, EXLA compiler for high-performance numeric workloads on BEAM.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.