Use when developing a new feature, fixing a bug, or making significant code changes - guides the full cycle from planning through verified commit with expert review
A structured development cycle that ensures every code change goes through planning, validation, implementation, and verification before being committed. Prevents wasted effort by getting alignment early and catching issues before they reach the codebase.
When NOT to use: Single-line fixes, typo corrections, trivial changes with obvious implementation.
digraph feature_dev {
rankdir=TB;
node [shape=box];
plan [label="Phase 1: Plan"];
validate [label="Phase 2: Validate"];
implement [label="Phase 3: Implement"];
verify [label="Phase 4: Verify & Commit"];
done [label="Done" shape=doublecircle];
plan -> validate;
validate -> plan [label="feedback"];
validate -> implement [label="approved"];
implement -> verify;
verify -> implement [label="issues found"];
verify -> done [label="all green"];
}
Before writing any code, understand the problem and design the solution.
swiftui-expert-skill, nitro-backend, frontend-design)superpowers:brainstorming to explore intent. Use AskUserQuestion to resolve open questionsEnterPlanMode to draft a detailed plan including:
TaskCreate to create a task list from the planNever start implementation without explicit approval.
ExitPlanMode to submit the plan for reviewFollow the validated plan step by step.
TaskUpdate to mark tasks in_progress then completedEvery change must be verified before it's committed.
Invoke superpowers:requesting-code-review to have expert agents review the changes for:
Run the project's build and type-check commands. These are typically defined in CLAUDE.md or discoverable from the project config:
tsc --noEmit, npm run buildxcodebuild buildDo not commit if the build fails. Fix issues and re-verify.
Use conventional commits:
<type>(<scope>): <description>
| Type | Usage |
|---|---|
feat | New feature |
fix | Bug fix |
chore | Maintenance, cleanup, dependency updates |
refactor | Code restructuring without behavior change |
docs | Documentation only |
test | Adding or updating tests |
scope: module or feature name in parenthesesdescription: imperative mood, lowercase, no periodCo-Authored-By footer when assisted by AIExamples:
feat(auth): add login page
fix(cellar): correct grid layout overflow
chore(deps): update nitro to 2.13
refactor(api): extract shared validation middleware
| Situation | Action |
|---|---|
| Starting to code without a plan | STOP - go to Phase 1 |
| Plan not yet approved | STOP - go to Phase 2 |
| Deviating from the plan | STOP - discuss with user first |
| Build fails before commit | STOP - fix and re-verify |
| Skipping code review | STOP - invoke review agents |
| Committing unrelated changes together | STOP - split into separate commits |