code-quality
Automated code quality detection — duplication, complexity, unused functions. Invoke when analyzing or refactoring Elixir code.
deployment-gotchas
MANDATORY for deployment and release configuration. Invoke before modifying config/, rel/, or Dockerfile.
ecto-changeset-patterns
MANDATORY for ALL changeset work beyond basic CRUD. Invoke before writing multiple changesets, cast_assoc, or conditional validation.
ecto-essentials
MANDATORY for ALL database work. Invoke before modifying schemas, queries, or migrations.
ecto-nested-associations
MANDATORY for ALL nested association and multi-table work. Invoke before writing cast_assoc, cast_embed, Ecto.Multi, or cascade operations.
elixir-essentials
MANDATORY for ALL Elixir code changes. Invoke before writing any .ex or .exs file.
oban-essentials
MANDATORY for ALL Oban work. Invoke before writing workers or enqueuing jobs.
otp-essentials
MANDATORY for ALL OTP work. Invoke before writing GenServer, Supervisor, Task, or Agent modules.
phoenix-auth-customization
MANDATORY when extending phx.gen.auth with custom fields. Invoke before adding usernames, profiles, or custom registration fields.
phoenix-authorization-patterns
MANDATORY for ALL authorization and access control work. Invoke before writing permission checks, policy modules, or role-based access.
phoenix-channels-essentials
MANDATORY for ALL Phoenix Channels work. Invoke before writing socket, channel, or Presence modules.
phoenix-json-api
MANDATORY for ALL JSON API work. Invoke before writing API controllers, pipelines, or JSON responses.
phoenix-liveview-auth
MANDATORY for ALL LiveView authentication work. Invoke before writing on_mount hooks, auth plugs for LiveViews, or session handling in LiveView modules.
phoenix-liveview-essentials
MANDATORY for ALL LiveView work. Invoke before writing LiveView modules or .heex templates.
phoenix-pubsub-patterns
MANDATORY for ALL PubSub and real-time broadcast work. Invoke before writing PubSub.subscribe, broadcast, or handle_info for real-time updates.
phoenix-uploads
MANDATORY for file upload features. Invoke before implementing upload or file serving functionality.
security-essentials
MANDATORY for ALL security-sensitive code. Invoke before writing auth, token handling, redirects, or user input processing.
telemetry-essentials
MANDATORY for ALL telemetry, logging, and observability work. Invoke before writing telemetry handlers, Logger calls, or metrics code.
testing-essentials
MANDATORY for ALL test files. Invoke before writing any _test.exs file.