Loading...
Loading...
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.
npx skill4agent add gsmlg-dev/code-agent using-elixir-skillsElixir/Phoenix/OTP task → Invoke skill FIRST → Then explore/research → Then write code| Trigger Phrases | Skill to Invoke |
|---|---|
| code, implement, write, design, architecture, structure, pattern | |
| LiveView, Plug, PubSub, mount, channel, socket, component | |
| context, schema, Ecto, changeset, preload, Repo, migration | |
| GenServer, supervisor, Task, ETS, bottleneck, Broadway | |
| Oban, workflow, job queue, cascade, graft, background job, async job | |
| 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. |