From devco-agent-skills
Tournament-style iterative solution exploration. Generates 2-5 candidates via adversarial challenges, compares multi-dimensionally, recommends with explicit trade-offs. Mandatory high-stakes (≥3), conditional standard. Output feeds Plan + ADR for high-stakes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/devco-agent-skills:brainstormThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Three biases to defeat:
Three biases to defeat:
Brainstorm enforces:
Mandatory:
/brainstormConditional (standard):
Skip:
1.1 Restate problem. Use Align artifact if exists; else restate.
1.2 Identify 3-5 evaluation dimensions. See references/evaluation-dimensions.md for catalog by task type.
1.3 Separate constraints vs assumptions:
2.1 Generate A1 — first reasonable solution.
## Solution A1: <Name>
**Approach:** <1-2 sentence description>
**Implementation sketch:**
- <Step 1>
- <Step 2>
**Self-assessment:**
| Dimension | Score | Notes |
|---|---|---|
| ... | ... | ... |
**Weaknesses (be honest):**
- <Weakness 1 — most important>
2.2 Adversarial Challenge 1 — beat the weakness.
"What solution beats A1 on its WEAKEST dimension?"
No meaningful alternative → state so, may stop with note.
2.3 Generate A2 + head-to-head.
## Solution A2: <Name>
**Targets A1's weakness:** <which weakness, explicit>
**Head-to-head A1 vs A2:**
| Dimension | A1 | A2 | Winner |
|---|---|---|---|
| ... | ... | ... | ... |
**Champion:** A<N>
**Reasoning:** <why champion wins overall>
2.4 Adversarial Challenge 2 — different paradigm.
After 2 solutions: "DIFFERENT PARADIGM entirely?"
Paradigm shifts: sync↔async, pull↔push, imperative↔declarative, server↔client, in-house↔managed, additive↔subtractive, reactive↔proactive, centralized↔distributed, stateful↔stateless.
Paradigm shift available → generate A3.
2.5 Generate A3 + compare. Same template. Update champion.
2.6 Adversarial Challenge 3 — question assumptions.
After 3 solutions: "What CONSTRAINT did I ASSUME that doesn't actually hold?"
Meta-challenge. Often reveals breakthrough (e.g., "must use Postgres" → actually have TigerBeetle).
2.7 Stop conditions.
Stop when ALL:
Don't stop to save effort. Don't continue to seem thorough.
3.1 Comparison matrix — concrete values, not ✅/❌.
| Dimension | A1: Batch | A2: Parallel | A3: CDC | A4: TigerBeetle |
|---|---|---|---|---|
| Throughput | 5k/sec | 15k/sec | 10k/sec | 50k+/sec |
| Latency p95 | 200ms | 50ms | 100ms | 5ms |
| Ops complexity | Low | Medium | High | High (new tech) |
| Consistency | Strong | Eventual | Eventual | Strong (ledger) |
| Time to ship | 1 week | 2 weeks | 3 days | 3 weeks |
3.2 Agent recommendation.
## Recommendation: A<N> — <Name>
**Why:** <2-3 sentences>
**What we gain:**
- <Concrete benefit 1>
**What we sacrifice (honest):**
- <Concrete trade-off 1>
**Confidence:** High | Moderate | Low
**Caveats:**
- <Uncertainty 1>
- <When to revisit this decision>
3.3 Present to user. Options:
Auto-generate ADR at docs/adr/NNNN-<decision>.md. See doc 05 brainstorm.md §"Phase 4" for full template.
Don't:
Do:
| Output | Path | Lane |
|---|---|---|
| Comparison matrix + recommendation | .claude/memory/brainstorm-artifacts/<date>-<task>.md | All (when fires) |
| ADR with all considered alternatives | docs/adr/NNNN-<decision>.md | High-stakes mandatory |
| Updated CONTEXT.md | project root | If new terminology surfaced |
docs/adr/NNNN-microservices-decision.md exists with 4 options + rationale + consequencesTRIAGE_LANE=high-stakes (after Align)/brainstormreferences/evaluation-dimensions.md — dimension catalog by task typereferences/adversarial-challenges.md — challenge question libraryreferences/presentation-template.md — recommendation formatreferences/paradigm-shifts.md — paradigm-shift examplesexamples/architecture-decision.md — full worked exampleexamples/refactor-approach.md — refactor brainstorm exampleexamples/library-selection.md — library choice exampleskills/align/SKILL.md — runs before Brainstormcommands/brainstorm.md — entry pointcommands/plan.md — consumes Brainstorm outputnpx claudepluginhub taipt1504/agent-skills --plugin devco-agent-skillsGuides creation, editing, and verification of skills for AI coding agents using test-driven development with subagent scenarios. Use when authoring or debugging skills.