Superpowers — Agentic Development Methodology
You have Superpowers. This skill gives you a complete software development workflow built on composable skills and disciplined processes.
Source: https://github.com/obra/superpowers
Core Principles
- Never jump straight into coding. Always brainstorm first — understand what the user really wants before writing a single line.
- Spec before code. Tease out a spec from conversation, present it in short digestible sections for user validation.
- Plan before implementing. Write a clear implementation plan with discrete tasks, ordered by dependency.
- TDD throughout. Red-green-refactor. Write a failing test, implement minimum code to pass, refactor. Always verify tests actually run.
- YAGNI and DRY. Don't build what you don't need. Don't repeat yourself.
- Verify before declaring done. Every change must be tested and confirmed working — never assume.
Workflow
Brainstorm → Plan → Implement (via subagents) → Review → Verify → Done
Phase 1: Brainstorming
When the user wants to build something:
- Don't start coding. Ask questions to understand the real goal — one question at a time.
- Do autonomous recon first. Explore the codebase, check existing patterns, understand constraints before asking questions.
- Present the design in 200–300 word sections. Wait for user validation on each section before proceeding.
- Make recommendations. Don't punt decisions back to the user — propose a direction with reasoning and let them override.
- Document the spec in a file the project can reference later.
Phase 2: Writing Plans
After the spec is validated:
- Break the work into small, independently testable tasks.
- Order tasks by dependency — each task should build on the previous.
- Each task description should be clear enough that an agent with no project context could execute it.
- Include the test approach for each task.
- Emphasize what NOT to build (YAGNI).
Phase 3: Executing Plans
For each task in the plan:
- Dispatch to a subagent when possible — keep the main agent as orchestrator.
- The implementing agent follows TDD: write test → see it fail → implement → see it pass → refactor.
- Two-stage review: first check spec compliance, then check code quality.
- Keep changes minimal and focused on the current task.
Phase 4: Systematic Debugging
When something goes wrong, follow the 4-phase process:
- Reproduce — Get a reliable reproduction of the issue.
- Isolate — Narrow down where the bug lives through targeted investigation.
- Root cause — Trace to the actual cause, not just the symptom. Ask "why" until you reach the real origin.
- Fix and verify — Fix the root cause, add a regression test, and confirm the fix works end-to-end.
Defense in depth: Don't just fix the immediate bug — consider what allowed it to happen and add guardrails.
Phase 5: Verification Before Completion
Before declaring any task done:
- Run the relevant tests and confirm they pass.
- Check for regressions in related functionality.
- Verify the change actually solves the original problem.
- If there's a UI component, confirm it renders correctly.
Red Flags — Stop and Check
If you catch yourself thinking any of these, pause:
| Thought |
What to do instead |
| "This is simple, I'll just code it" |
Brainstorm first. Simple things become complex. |
| "I know what they want" |
Ask. Confirm. Then build. |
| "I'll add tests later" |
Write the test NOW, before the implementation. |
| "It probably works" |
Run the tests. Verify. |
| "Let me just fix this quick" |
Reproduce → isolate → root cause → fix. |
| "Good enough" |
Check the spec. Does it actually meet the requirements? |
Using Subagents
When executing a plan with multiple tasks:
- Dispatch implementation tasks to subagents to keep context clean and enable parallel work.
- Each subagent gets: the task description, relevant file paths, the spec section, and test expectations.
- The main agent reviews subagent output before accepting it.
- Subagents should follow TDD independently.
Skill Interactions
This methodology composes with other skills:
- If a TDD skill is available, defer to its detailed test workflow.
- If a code review skill is available, use it during the review phase.
- If a debugging skill is available, use it for the systematic debugging phase.
Quick Reference
| Phase |
Key Action |
| Brainstorm |
Ask questions, explore codebase, present spec in chunks |
| Plan |
Break into small tasks, order by dependency, include test approach |
| Implement |
Subagent per task, TDD, minimal changes |
| Debug |
Reproduce → isolate → root cause → fix + regression test |
| Verify |
Run tests, check regressions, confirm spec compliance |
1---2name: superpowers3description: Agentic development methodology: spec-driven brainstorming, structured planning, subagent-driven development, TDD, systematic debugging, and verification-before-completion.4---56# Superpowers — Agentic Development Methodology78You have Superpowers. This skill gives you a complete software development workflow built on composable skills and disciplined processes.910**Source:** <https://github.com/obra/superpowers>1112## Core Principles13141. **Never jump straight into coding.** Always brainstorm first — understand what the user really wants before writing a single line.152. **Spec before code.** Tease out a spec from conversation, present it in short digestible sections for user validation.163. **Plan before implementing.** Write a clear implementation plan with discrete tasks, ordered by dependency.174. **TDD throughout.** Red-green-refactor. Write a failing test, implement minimum code to pass, refactor. Always verify tests actually run.185. **YAGNI and DRY.** Don't build what you don't need. Don't repeat yourself.196. **Verify before declaring done.** Every change must be tested and confirmed working — never assume.2021## Workflow2223```24Brainstorm → Plan → Implement (via subagents) → Review → Verify → Done25```2627### Phase 1: Brainstorming2829When the user wants to build something:30311. **Don't start coding.** Ask questions to understand the real goal — one question at a time.322. **Do autonomous recon first.** Explore the codebase, check existing patterns, understand constraints before asking questions.333. **Present the design** in 200–300 word sections. Wait for user validation on each section before proceeding.344. **Make recommendations.** Don't punt decisions back to the user — propose a direction with reasoning and let them override.355. **Document the spec** in a file the project can reference later.3637### Phase 2: Writing Plans3839After the spec is validated:40411. Break the work into **small, independently testable tasks**.422. Order tasks by dependency — each task should build on the previous.433. Each task description should be clear enough that an agent with no project context could execute it.444. Include the test approach for each task.455. Emphasize what NOT to build (YAGNI).4647### Phase 3: Executing Plans4849For each task in the plan:50511. **Dispatch to a subagent** when possible — keep the main agent as orchestrator.522. The implementing agent follows TDD: write test → see it fail → implement → see it pass → refactor.533. **Two-stage review**: first check spec compliance, then check code quality.544. Keep changes minimal and focused on the current task.5556### Phase 4: Systematic Debugging5758When something goes wrong, follow the 4-phase process:59601. **Reproduce** — Get a reliable reproduction of the issue.612. **Isolate** — Narrow down where the bug lives through targeted investigation.623. **Root cause** — Trace to the actual cause, not just the symptom. Ask "why" until you reach the real origin.634. **Fix and verify** — Fix the root cause, add a regression test, and confirm the fix works end-to-end.6465**Defense in depth:** Don't just fix the immediate bug — consider what allowed it to happen and add guardrails.6667### Phase 5: Verification Before Completion6869Before declaring any task done:70711. Run the relevant tests and confirm they pass.722. Check for regressions in related functionality.733. Verify the change actually solves the original problem.744. If there's a UI component, confirm it renders correctly.7576## Red Flags — Stop and Check7778If you catch yourself thinking any of these, pause:7980| Thought | What to do instead |81|---|---|82| "This is simple, I'll just code it" | Brainstorm first. Simple things become complex. |83| "I know what they want" | Ask. Confirm. Then build. |84| "I'll add tests later" | Write the test NOW, before the implementation. |85| "It probably works" | Run the tests. Verify. |86| "Let me just fix this quick" | Reproduce → isolate → root cause → fix. |87| "Good enough" | Check the spec. Does it actually meet the requirements? |8889## Using Subagents9091When executing a plan with multiple tasks:9293- **Dispatch implementation tasks to subagents** to keep context clean and enable parallel work.94- Each subagent gets: the task description, relevant file paths, the spec section, and test expectations.95- The main agent **reviews** subagent output before accepting it.96- Subagents should follow TDD independently.9798## Skill Interactions99100This methodology composes with other skills:101102- If a **TDD skill** is available, defer to its detailed test workflow.103- If a **code review skill** is available, use it during the review phase.104- If a **debugging skill** is available, use it for the systematic debugging phase.105106## Quick Reference107108| Phase | Key Action |109|---|---|110| Brainstorm | Ask questions, explore codebase, present spec in chunks |111| Plan | Break into small tasks, order by dependency, include test approach |112| Implement | Subagent per task, TDD, minimal changes |113| Debug | Reproduce → isolate → root cause → fix + regression test |114| Verify | Run tests, check regressions, confirm spec compliance |