with one click
main
// Skill router and planning initialization. Loaded on every session start. Determines which skills to invoke and ensures .planning/ is initialized for complex tasks.
// Skill router and planning initialization. Loaded on every session start. Determines which skills to invoke and ensures .planning/ is initialized for complex tasks.
| name | main |
| description | Skill router and planning initialization. Loaded on every session start. Determines which skills to invoke and ensures .planning/ is initialized for complex tasks. |
In Claude Code: Use the Skill tool. When you invoke a skill, its content is loaded and presented to you -- follow it directly. Never use the Read tool on skill files.
In other environments: Check your platform's documentation for how skills are loaded.
Invoke relevant or requested skills BEFORE any response or action. Even a 1% chance a skill might apply means you should invoke the skill to check. If an invoked skill turns out to be wrong for the situation, you don't need to use it.
When multiple skills could apply: process skills first (brainstorming, debugging), then implementation skills (executing-plans, tdd).
If you're thinking "this doesn't need a skill" โ it probably does. Check BEFORE any action.
When starting a complex task (multi-step, research, >5 tool calls):
.planning/ directory exists in the project root${CLAUDE_PLUGIN_ROOT}/scripts/init-planning-dir.sh to initialize itThe .planning/ directory is your "RAM on disk" -- persistent working memory that survives context resets.
On session start, check for an existing .planning/ directory. If found:
.planning/progress.md -- Task Status Dashboard shows current status; session log shows what was done.planning/findings.md -- recall discoveries and decisionsgit diff --stat to see what changed since last sessionWhen facing a non-trivial task (multi-step, architectural decisions, multi-file changes), do NOT automatically call EnterPlanMode or invoke brainstorming. Instead, present the choice to the user via AskUserQuestion:
Option 1: Quick Planning (Plan Mode) โ Lightweight read-only exploration. Best for medium-scope tasks with known approach, quick alignment before implementation.
Option 2: Lightweight Execution โ Fast structured execution with .planning/ tracking but no review loops or formal plans. Best for clear requirements, 2-5 files, <10 tasks. Code gets written in this session.
Option 3: Structured Brainstorming โ Full brainstorming pipeline with design doc, spec interview, implementation plan. Best for complex features, creative design decisions, multi-file refactors.
Option 4: Stash Current Work โ Pause unfinished work safely, save current .planning/ context into .planning/stash/, and switch away cleanly. Best when changing projects or waiting on external input.
When to skip this choice:
After Plan Mode completes: If the approved plan reveals complex work (3+ tasks, multiple files), suggest transitioning to brainstorming/writing-plans for a formal implementation plan. Plan mode output can inform writing-plans โ reference it, don't re-derive.
When Lightweight Execution is chosen: Invoke superpower-planning:lightweight-execute. This skill handles everything: .planning/ init, exploration, task checklist, implementation, verification, and finishing-branch. No further routing is needed.
When the user requests plan execution (e.g., "execute the plan", "implement it", "start building"), do NOT directly invoke a single execution skill. Instead:
.planning/plan.md, invoke superpower-planning:writing-plans first.AskUserQuestion:
superpower-planning:subagent-drivensuperpower-planning:subagent-driven-codexsuperpower-planning:team-drivensuperpower-planning:executing-plans| Skill | Purpose |
|---|---|
superpower-planning:planning-foundation | Persistent file-based planning with .planning/ directory. Foundation layer inherited by all other skills. |
superpower-planning:lightweight-execute | Fast structured execution for clear, medium-scope tasks (2-5 files). Skips formal plans and review loops, keeps .planning/ tracking and verification. |
superpower-planning:brainstorming | Structured brainstorming before implementation. Think before you code. |
superpower-planning:spec-interview | Refine design docs through systematic deep questioning. Auto-invoked after brainstorming. |
superpower-planning:writing-plans | Write detailed implementation plans with phases and checkpoints. |
superpower-planning:executing-plans | Execute plans in a separate session with batch execution and human checkpoints. One of 4 execution strategies โ see Execution Routing. |
superpower-planning:subagent-driven | Execute plans in this session, sequentially with one new Claude subagent invocation per task and two-stage review. One of 4 execution strategies โ see Execution Routing. |
superpower-planning:subagent-driven-codex | Execute plans in this session, sequentially by delegating every implementer/reviewer role to Codex CLI via the bridge script. Same two-stage review as subagent-driven. One of 4 execution strategies โ see Execution Routing. |
superpower-planning:team-driven | Execute plans in this session, in parallel via Agent Team with dedicated reviewer. One of 4 execution strategies โ see Execution Routing. |
superpower-planning:collaborating-with-codex | Bridge to OpenAI Codex CLI for delegating coding work โ prototyping, debugging, code analysis, or full implementation. Required by subagent-driven-codex. |
superpower-planning:parallel-agents | Run multiple subagents in parallel for independent tasks. |
superpower-planning:tdd | Test-driven development: write tests first, then make them pass. |
superpower-planning:debugging | Systematic debugging: reproduce, isolate, fix, verify. |
superpower-planning:git-worktrees | Use git worktrees for parallel branch work without stashing. |
superpower-planning:finishing-branch | Clean up and finalize a development branch before merge/PR. |
superpower-planning:archiving | Archive completed plans, consolidate memory, and reset .planning/ for the next task. |
superpower-planning:stashing | Pause unfinished work, save it into .planning/stash/, and support later resume with stale-findings check. |
superpower-planning:requesting-review | Prepare and submit code for review with context and rationale. |
superpower-planning:receiving-review | Process review feedback systematically and address all comments. |
superpower-planning:dual-review | Run an internal simplify lens and Codex in parallel, consolidate findings, and gate edits on explicit user approval. |
superpower-planning:verification | Verify work is complete and correct before declaring done. |
superpower-planning:session-handoff-audit | Generate a self-contained audit prompt for a fresh session to independently verify implementation state against design specs. |
superpower-planning:releasing | Bump versions, tag, and publish GitHub Releases with changelogs. |
superpower-planning:dual-reviewrequesting-review / receiving-review as beforesuperpower-planning:session-handoff-audit. It generates the prompt; it does not perform the audit.superpower-planning:stashing or /stash/resume-stashInstructions say WHAT, not HOW. "Add X" or "Fix Y" doesn't mean skip workflows.
[HINT] Download the complete skill directory including SKILL.md and all related files