elixir-phoenix-quick
Implement a small Phoenix change without the full planning workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Implement a small Phoenix change without the full planning workflow.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Recommend the right `$elixir-phoenix-*` skill for the current task.
Elixir/Phoenix: Review lifecycle, state-machine, Oban, persistence, pause/resume, retry, and restart-sensitive changes before commit, push, or PR. Use for concurrency-sensitive runtime work to produce explicit blocking vs optional findings, require durability checks, and verify smoke plus restart resilience when applicable.
Capture a solved Phoenix problem as a reusable solution doc.
Audit LiveView assigns for memory bloat, dead assigns, and stream candidates.
Audit project health across architecture, security, performance, tests, and deps.
Analyze Phoenix context boundaries and coupling with `mix xref`.
| name | elixir-phoenix-quick |
| description | Implement a small Phoenix change without the full planning workflow. |
| metadata | {"short-description":"Execute small Phoenix changes"} |
Skip the planning ceremony. Get working code fast.
`elixir-phoenix-quick` Add pagination to posts
`elixir-phoenix-quick` Fix the login redirect bug
`elixir-phoenix-quick` Add CSV export to reports
$ARGUMENTS = What to implement
| Normal Mode | Quick Mode |
|---|---|
| Spawn research agents | No agents |
| Create plan document | Mental model only |
| Parallel review | Optional single review |
| Multiple iterations | Single pass |
mix compile --warnings-as-errors after every change, even in quick modeelixir-phoenix-planmix formatGood for:
Not for:
/quick Add phone field to users
→ Migration + schema + changeset + form field
/quick Fix: posts not showing for admin users
→ Find issue + fix + verify
/quick Add GET /api/health endpoint
→ Route + controller + response
If quick mode hits complexity:
This needs more planning. Switching to normal mode.
Run `elixir-phoenix-plan` [task] for full analysis.
After quick implementation:
Run mix compile --warnings-as-errors. If you touched Ecto schemas or migrations,
run mix ecto.migrate. Then run mix test test/path_test.exs for affected tests.
User: `elixir-phoenix-quick` Add archived_at timestamp to posts
Codex:
1. Reading lib/my_app/blog/post.ex...
2. Creating migration...
# priv/repo/migrations/xxx_add_archived_at_to_posts.exs
def change do
alter table(:posts) do
add :archived_at, :utc_datetime
end
end
3. Updating schema...
# lib/my_app/blog/post.ex
field :archived_at, :utc_datetime
4. Adding to changeset...
def changeset(post, attrs) do
post
|> cast(attrs, [:title, :body, :archived_at])
...
end
5. Verifying...
$ mix compile --warnings-as-errors ✓
$ mix ecto.migrate ✓
Done. Run `mix test` to verify.