using-elixir-skills
This skill should be used when the user works on any .ex or .exs file, mentions Elixir/Phoenix/Ecto/OTP, the project has a mix.exs, or asks "which skill should I use", "new to Elixir", "help with Elixir". Routes to the correct thinking skill BEFORE exploring code. Triggers on "implement", "add", "fix", "refactor" in Elixir projects.
Works with
Agent Skills format with YAML frontmatter. Claude Code reads it as-is.
--- name: "using-elixir-skills" description: "This skill should be used when the user works on any .ex or .exs file, mentions Elixir/Phoenix/Ecto/OTP, the project has a mix.exs, or asks \"which skill should I use\", \"new to Elixir\", \"help with Elixir\". Routes to the correct thinking skill BEFORE exploring code. Triggers on \"implement\", \"add\", \"fix\", \"refactor\" in Elixir projects." license: "Apache-2.0" --- <EXTREMELY-IMPORTANT> If the task involves Elixir, Phoenix, or OTP code, you MUST invoke the relevant skill BEFORE doing ANYTHING else—including exploring the codebase. THIS IS NOT OPTIONAL. Skills tell you HOW to explore and WHAT to look for. You cannot rationalize your way out of this. </EXTREMELY-IMPORTANT> ## The Rule ``` Elixir/Phoenix/OTP task → Invoke skill FIRST → Then explore/research → Then write code ``` **Skills come before exploration.** The skills tell you what patterns to look for, what questions to ask, and what anti-patterns to avoid. Exploring without the skill means you don't know what you're looking for. ## Skill Triggers | Trigger Phrases | Skill to Invoke | |-----------------|-----------------| | code, implement, write, design, architecture, structure, pattern | `elixir-thinking` | | LiveView, Plug, PubSub, mount, channel, socket, component | `phoenix-thinking` | | context, schema, Ecto, changeset, preload, Repo, migration | `ecto-thinking` | | GenServer, supervisor, Task, ETS, bottleneck, Broadway | `otp-thinking` | | Oban, workflow, job queue, cascade, graft, background job, async job | `oban-thinking` | ## Red Flags These thoughts mean STOP—invoke the skill: | Thought | Reality | |---------|---------| | "Let me explore the codebase first" | Skills tell you WHAT to look for. Invoke first. | | "Let me understand the code first" | Skills guide understanding. Invoke first. | | "But first, let me..." | No. Skills come first. Always. | | "I'll add a process to organize this" | Processes are for runtime, not organization. | | "GenServer is the Elixir way" | GenServer is a bottleneck by design. | | "I'll query in mount" | mount is called twice. | | "Task.async is simpler" | Use Task.Supervisor in production. | | "I know Elixir well enough" | These skills contain paradigm shifts. Invoke them. |
More Refactoring skills
vercel-react-best-practices
vercel-labs/agent-skills
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
analyze-project
lllllllama/rigorpilot-skills
Rigor Analyze / Rigor Audit read-only skill for deep learning research repositories. Use when the user wants to read and understand a repository, inspect model structure and training or inference entrypoints, review configs and insertion points, or flag suspicious implementation patterns without modifying code or running heavy jobs. Do not use for active command execution, broad refactoring, speculative code adaptation, or automatic bug fixing.
request-refactor-plan
mattpocock/skills
Create a detailed refactor plan with tiny commits via user interview, then file it as a GitHub issue. Use when user wants to plan a refactor, create a refactoring RFC, or break a refactor into safe incremental steps.

