| name | superpowers-feature-workflow |
| description | Use when feature work needs the Superpowers stages before or during implementation: brainstorming, design confirmation, implementation planning, worktree setup, test-driven development, and verification. Trigger when the user asks to brainstorm first, wants a plan before coding, or wants disciplined execution with TDD and verification. |
Superpowers Feature Workflow
Overview
Use this skill for the Superpowers half of feature delivery. It covers clarification, design, plan, worktree, TDD, verification, and repo-persisted memory, but it does not manage OpenSpec artifacts.
This is an explicit opt-in workflow. Do not use it by default. Only use it when the user explicitly asks for this workflow, names this skill, or a repository policy explicitly requires it.
Workflow
- Explore project context before proposing solutions. If
.superpowers-memory/ exists, read PROJECT_CONTEXT.md, CURRENT_STATE.md, DECISIONS.md, KNOWN_FAILURES.md, VERIFICATION_BASELINE.md, TEAM_PREFERENCES.md, USER_PROFILE.md, AGENT_NOTES.md, and the latest session journal entries first.
- Clarify requirements one question at a time.
- Present 2-3 approaches with a recommendation.
- Write the approved design to
docs/superpowers/specs/YYYY-MM-DD-<topic>-design.md.
- Ask for user confirmation on the written design before moving on.
- Write the implementation plan to
docs/superpowers/plans/YYYY-MM-DD-<topic>.md.
- Prefer a repo-local worktree for implementation.
- Implement with TDD: failing test first, then minimal code, then green.
- Run fresh verification commands before any completion claim.
- Before finishing the session, run a short memory closeout check: durable facts changed, current state changed, important decisions added, failure patterns discovered, verification rules changed, and reusable lessons identified.
- Prefer
scripts/run-superpowers-memory-closeout.ps1 when you want one command to review the checklist, get update suggestions, and optionally run validation.
- Use
scripts/suggest-superpowers-memory-updates.ps1 when the right memory surface is still unclear after implementation or verification.
- When the repo uses Superpowers memory, update the relevant memory files, including
.superpowers-memory/CURRENT_STATE.md and a short session note under .superpowers-memory/session-journal/.
- When memory quality matters for the task, run
scripts/validate-superpowers-memory.ps1 before the final completion claim.
When to Use
- The user explicitly asks to brainstorm first
- The user explicitly names
$superpowers-feature-workflow
- The user explicitly asks for a written plan, TDD, or verification workflow
- A repository policy explicitly requires this workflow
Outputs
- Confirmed design doc
- Implementation plan
- Verified implementation evidence
- Updated Superpowers memory when
.superpowers-memory/ is present
- Optional closeout helper output when the closeout helper was used
- Memory validation evidence when memory updates were part of the workflow
Guardrails
- Do not write production code before design approval
- Do not skip the failing-test step for new behavior
- Do not report success without fresh command output
- Do not overwrite stable project memory with temporary notes; keep long-term facts in
PROJECT_CONTEXT.md and session-specific updates in the journal
- Do not leave new durable decisions, known failures, or verification rules only in chat history when the repo uses Superpowers memory