From superpowers
Creates executable implementation plans that break down designs into detailed tasks. This skill should be used when the user has completed a brainstorming design and asks to "write an implementation plan" or "create step-by-step tasks" for execution.
How this skill is triggered — by the user, by Claude, or both
Slash command
/superpowers:writing-plansThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Create executable implementation plans that reduce ambiguity for whoever executes them.
Create executable implementation plans that reduce ambiguity for whoever executes them.
$ARGUMENTS provides a path (e.g., docs/plans/YYYY-MM-DD-topic-design/), use it as the design source.docs/plans/ for the most recent *-design/ folder matching the pattern YYYY-MM-DD-*-design/_index.md and bdd-specs.md.bdd-specs.md completely. This is the source of truth for your tasks.Core Concept: Explicit over implicit, granular tasks, verification-driven, context independence. PROHIBITED: Do not generate actual code - focus on what to do, not implementation details.
.md file.Define goal, architecture, constraints.
bdd-specs.md from the design folder (generated by brainstorming)../references/plan-structure-template.md to outline the plan.Break into small tasks mapped to specific BDD scenarios.
Reference Scenarios: CRITICAL: Every task must explicitly include the full BDD Scenario content in the task file using Gherkin syntax. For example:
## BDD Scenario
Scenario: [concise scenario title]
Given [context or precondition]
When [action or event occurs]
Then [expected outcome]
And [additional conditions or outcomes]
The scenario content should be self-contained in the task file, not just a reference to bdd-specs.md. This allows the executor to see the complete scenario without switching files.
Define Verification: CRITICAL: Verification steps must run the BDD specs (e.g., npm test tests/login.spec.ts).
Enforce Ordering: Task N (Test/Red) -> Task N+1 (Implementation/Green).
Declare Dependencies: MANDATORY: Each task file must include a **depends-on** field listing only true technical prerequisites — tasks whose output is required before this task can start. Rules:
depends-on only when there is a real technical reason (e.g., "implement auth middleware" must precede "implement protected route test")Ensure Compatibility: Ensure tasks are compatible with superpowers:behavior-driven-development.
Create Task Files: MANDATORY: Create one .md file per task. Filename pattern: task-<NNN>-<feature>-<type>.md.
task-001-setup.md, task-002-feature-test.md, task-002-feature-impl.md<NNN>: Sequential number (001, 002, ...)<feature>: Feature identifier (e.g., auth-handler, user-profile)<type>: Type (test, impl, config, refactor)002-feature-test and 002-feature-implDescribe What, Not How: PROHIBITED: Do not generate actual code. Describe what to implement (e.g., "Create a function that validates user credentials"), not the implementation (e.g., "def validate_credentials(username, password): ...").
Verify completeness, confirm with user, and save.
docs/plans/YYYY-MM-DD-<topic>-plan/ folder.
_index.md MUST include "Execution Plan" section with references to all task files_index.md MUST include "BDD Coverage" section confirming all scenarios are covered_index.md MUST include "Dependency Chain" section with visual dependency graph (will be populated in Phase 4)- [Task 001: Setup project structure](./task-001-setup-project-structure.md)[Task 002: Whale Discovery Test](./task-002-whale-discovery-test.md) and [Task 002: Whale Discovery Impl](./task-002-whale-discovery-impl.md)Before committing, launch sub-agents in parallel to verify plan quality and identify gaps.
Core reflection sub-agents (always required):
Sub-agent 1: BDD Coverage Review
Sub-agent 2: Dependency Graph Review
Sub-agent 3: Task Completeness Review
Additional sub-agents (launch as needed):
Integrate and Update:
_index.md in "Dependency Chain" sectionOutput: Updated plan with issues resolved and dependency graph included in _index.md.
See ./references/plan-reflection.md for sub-agent prompts and integration workflow.
Commit the plan folder to git with proper message format.
Critical requirements:
git add docs/plans/YYYY-MM-DD-<topic>-plan/docs: (lowercase)See ../../skills/references/git-commit.md for detailed patterns.
Prompt the user to use superpowers:executing-plans to execute the plan.
Example prompt:
"Plan complete. To execute this plan, use /superpowers:executing-plans."
PROHIBITED: Do NOT offer to start implementation directly.
Plan created with clear goal/constraints, decomposed tasks with file lists and verification, BDD steps, commit boundaries, no vague tasks, reflection completed, user approval.
./references/plan-structure-template.md - Template for plan structure./references/task-granularity-and-verification.md - Guide for task breakdown and verification./references/plan-reflection.md - Sub-agent prompts for plan reflection../../skills/references/git-commit.md - Git commit patterns and requirementsnpx claudepluginhub rootial/dotclaude --plugin superpowersCreates structured, bite-sized implementation plans from specs or requirements before writing code. Useful for breaking down multi-step tasks into testable steps with file structure and task boundaries.