CtrlK
BlogDocsLog inGet started
Tessl Logo

igmarin/elixir-phoenix-skills

Curated library of 38 atomic skills, 7 personas, and 1 orchestrator for Elixir and Phoenix development. Organized by category: fundamentals, phoenix, database, testing, auth, infrastructure, quality, security, integrations, tooling, frameworks, personas, and orchestration. Covers core Elixir patterns, Phoenix LiveView, Ecto, OTP, Oban, testing, security, deployment, real-time, and modern tooling (Req, Swoosh, Cachex, Broadway, Ash).

73

Quality

91%

Does it follow best practices?

Impact

No eval scenarios have been run

SecuritybySnyk

Advisory

Suggest reviewing before use

Overview
Quality
Evals
Security
Files

Elixir Phoenix Skills

Elixir Phoenix Skills

A curated library of public Elixir/Phoenix agent skills — 38 atomic skills, 7 personas, and 1 entry-point orchestrator that teach AI tools how to write idiomatic Elixir code, test Phoenix applications, and follow production-minded conventions.

The project is built around core Elixir principles:

Pattern matching over conditionals → Let it crash → Pipes for transformations → with for fallible operations

These principles are encoded directly into the skills, so agents produce idiomatic Elixir code that follows the BEAM philosophy.

Part of the AI Skill Ecosystem

This repo is one of 6 in a composable AI skill ecosystem:

RepoRole
ruby-core-skills15 shared Ruby skills + process discipline
rails-agent-skills28 atomic skills + 9 personas
elixir-phoenix-skills38 atomic skills + 7 personas + 1 orchestrator
hanakai-yaku35 Hanami/dry-rb skills + 10 personas
agnostic-planning-skills10 planning skills + 4 personas
agent-mcp-runtimeRust CLI runtime (pack resolution, MCP)

See the Ecosystem Overview for the full architecture.

Supported agent environments

ChatGPT Claude Cursor GitHub Copilot Google Gemini OpenCode Windsurf

Official distribution

GitHub tag License: MIT skills.sh

What are Agent Skills?

Agent Skills are a lightweight, open format for extending AI agent capabilities with specialized knowledge and workflows. At its core, a skill is a folder containing a SKILL.md file with metadata, instructions, and optionally assets/. This repository follows the Agent Skills standard:

npx skills add igmarin/elixir-phoenix-skills

Who This Is For

ReaderWhat you get
Elixir developersAgent instructions for common Elixir/Phoenix work: LiveView, Ecto, OTP, testing, security, and deployment.
Team leadsA repeatable workflow that makes AI-assisted Elixir work easier to review — tests, docs, and self-review are part of the process.
Junior developersStep-by-step Elixir workflow guidance that explains what to do next instead of dumping generic code.
Senior developersOpinionated guardrails for TDD, architecture, review, OTP patterns, performance, and production-safe changes.

Skill Catalog

The library contains 46 skills total — 38 atomic skills, 7 personas, and 1 orchestrator — organized by category.

Atomic Skills

CategorySkillsPath
Fundamentalselixir-essentials, otp-essentials, typespec-dialyzerskills/fundamentals/
Phoenixphoenix-liveview-essentials, liveview-streams, phoenix-scopes, phoenix-channels-essentials, phoenix-json-api, phoenix-pubsub-patterns, phoenix-uploadsskills/phoenix/
Databaseecto-essentials, ecto-changeset-patterns, ecto-nested-associationsskills/database/
Testingtesting-essentials, property-based-testing, benchee-profilingskills/testing/
Authphoenix-liveview-auth, phoenix-auth-customization, phoenix-authorization-patternsskills/auth/
Infrastructureoban-essentials, broadway-data-pipelines, deployment-gotchas, telemetry-essentials, cachex-cachingskills/infrastructure/
Qualitycode-quality, credo-config, apply-phoenix-liveview-conventions, apply-phoenix-controller-conventions, code-review, refactor-code, respond-to-review, apply-ecto-conventionsskills/quality/
Securitysecurity-essentialsskills/security/
Integrationsreq-http-client, swoosh-emails, gettext-i18nskills/integrations/
Toolingmix-tasks-generatorsskills/tooling/
Frameworksash-frameworkskills/frameworks/

Personas (Workflow Orchestration)

Personas orchestrate multiple atomic skills into end-to-end workflows with hard gates, phases, and output formats:

PersonaPhasesPurpose
elixir-skill-routerTriage → DelegateEntry-point orchestrator that routes requests to the correct skill or persona
tddContext → Test → RED → GREEN → REFACTOR → Quality GateFull TDD cycle with test-first discipline
qualityFormat → Credo → Dialyzer → Refactoring → DocsCode quality loop before PR
setupElixir/Erlang → Deps → DB → CI/CD → ValidateProject setup and CI/CD configuration
bug-fixTriage → Reproduce → Fix → VerifyBug fixing with reproduction tests
background-jobDesign → TDD → Retry/Discard → Failure Testing → MonitoringRobust Oban job implementation
liveviewContract → Test → Implementation → QualityFull LiveView feature development
ecto-migrationPlan → Implement → Verify → DeploySafe migrations with expand-contract

Assets

Key skills include assets/ with templates, checklists, and code snippets:

SkillAssets
testing-essentialsspec_templates.md, tdd_checklist.md
code-qualityrefactoring_checklist.md
security-essentialssecurity_checklist.md
phoenix-liveview-essentialsliveview_test_template.md, component_test_template.md
phoenix-liveview-authon_mount_template.ex
ecto-essentialsmigration_checklist.md, changeset_snippets.ex
elixir-skill-routerskill-map.json

How Skills Chain Together

Skills are designed to compose. A typical workflow chains from entry to quality gate:

elixir-skill-router → tdd → quality → PR

Common Chains

WorkflowSkill chain
New featureelixir-skill-routertddquality
Bug fixelixir-skill-routerbug-fixquality
New LiveView pageliveviewtddquality
Background jobbackground-jobquality
Database changeecto-migrationsetup
Before PRquality (standalone)
Project bootstrapsetuptdd

Per-skill Chaining

Every skill includes an Integration table showing predecessor and successor skills:

| Predecessor | This Skill | Successor |
|-------------|------------|----------|
| elixir-essentials | testing-essentials | code-quality |

Installation

# Install all skills
npx skills add igmarin/elixir-phoenix-skills

# Or via GitHub CLI (v2.90.0+)
gh skill install igmarin/elixir-phoenix-skills

# Install a specific persona
gh skill install igmarin/elixir-phoenix-skills tdd --scope project

Acknowledgements

This repository adapts content from elixir-phoenix-guide by Joseph Morgan, licensed under MIT. See ACKNOWLEDGEMENTS.md for details.

Contributing

When contributing skills:

  • Keep generated artifacts in English unless a user explicitly asks for another language.
  • Follow the established skill format with RULES sections and 3-column Integration tables.
  • Include good/bad code examples for all major patterns.
  • Add assets/ with templates, checklists, or snippets when the skill benefits from reusable artifacts.
  • Personas must include phases, hard gates, error recovery, and an output style section.

License

This project is licensed under the MIT License. See LICENSE for details.

Workspace
igmarin
Visibility
Public
Created
Last updated
Publish Source
CLI
Badge
igmarin/elixir-phoenix-skills badge