elixir-phoenix-brainstorm
Brainstorm Phoenix features, tradeoffs, and requirements before planning.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Brainstorm Phoenix features, tradeoffs, and requirements before planning.
用 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-brainstorm |
| description | Brainstorm Phoenix features, tradeoffs, and requirements before planning. |
| metadata | {"short-description":"Brainstorm Phoenix features"} |
Interactive interview → research → synthesis loop. Produces structured
interview.md that elixir-phoenix-plan detects and consumes (skipping clarification).
`elixir-phoenix-brainstorm` Add some kind of notification system
`elixir-phoenix-brainstorm` Improve authentication security
`elixir-phoenix-brainstorm` # starts with open question
`elixir-phoenix-brainstorm` {topic}
|
v
[INTERVIEW] ←──────────────────┐
| |
v (sufficient OR user exit) |
[DECISION POINT] |
├─ Research ──→ [RESEARCH] ─┘
├─ Continue interview ──────┘
├─ Make a plan ──→ STOP (suggest `elixir-phoenix-plan` {slug})
├─ Store & exit ──→ STOP (artifacts saved)
└─ Discuss ──→ freeform ──→ [DECISION POINT]
Create .codex/plans/{slug}/ directory. Start asking ONE question at a time.
Track coverage across 6 dimensions (0=uncovered, 1=partial, 2=sufficient). Ask Scope early — for "optimize X" topics, ask about boundaries (upstream OK? Local-only? CI vs dev?) before research, not during.
| Dim | Target | Sufficient signal |
|---|---|---|
| What | Specific behavior/features | Concrete verbs, not "some kind of" |
| Why | Problem solved, user need | Clear benefit stated |
| Scope | In/out boundaries | Explicit exclusions stated |
| Where | Modules, contexts, pages | File paths or context names mentioned |
| How | Approach, constraints | At least one concrete constraint |
| Edge | Error states, scale, auth | 2+ edge cases identified |
Interview is "sufficient" when total score >= 8 out of 12.
Before each question, run a brief codebase scan on topics the user mentioned:
rg / rg --files for related patternsMANDATORY: Write interview.md FIRST, then use ask the user directly. Never let the conversation flow past this point without a formal choice.
Write current state to .codex/plans/{slug}/interview.md
Show coverage summary: "Coverage: What 2/2 | Why 2/2 | Scope 1/2 | ..."
Use ask the user directly with EXACTLY these options:
.codex/plans/{slug}/interview.mdWait for user response. Do NOT proceed without explicit choice
First cycle: MAX 2 agents — keep it fast (~2-3 min). Spawn in one parallel batch:
phoenix-patterns-analyst: "How does this codebase handle {topics}?"
Write to .codex/plans/{slug}/research/codebase-scan.mdweb-researcher: "Elixir/Phoenix approaches to {topics}"
Return 500-word summaryDo NOT spawn additional specialist agents in the first cycle. If user wants deeper investigation, they pick "More research" at the next Decision Point — then spawn focused agents for specific questions.
Evaluate — for each approach found:
Converge — present 2-3 approaches with honest trade-offs. Do NOT recommend one. Return to Decision Point (ask the user directly).
See references/research-integration.md for details.
elixir-phoenix-plan — always present as option, let user chooseinterview.md is the contract with elixir-phoenix-plan`elixir-phoenix-brainstorm` ──→ interview.md ──→ `elixir-phoenix-plan` (skips clarification)
──→ `elixir-phoenix-plan` --existing (deepens)
──→ stored for later session
Position: optional upstream of elixir-phoenix-plan in workflow cycle.
references/interview-techniques.md — coverage scoring,
question templates, scan patterns, signal detection, interview.md formatreferences/research-integration.md — diverge-evaluate-converge,
agent spawn templates, approach presentation format