skills/main/SKILL.md
Skill router and planning initialization. Loaded on every session start. Determines which skills to invoke and ensures .planning/ is initialized for complex tasks.
npx skillsauth add sipengxie2024/superpower-planning mainInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 support skills (executing-plans, tdd, requesting-review).
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 and Claude Code session boundaries.
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: Structured Brainstorming — Full brainstorming pipeline with design doc, spec interview, implementation plan. Best for complex features, creative design decisions, multi-file refactors.
Option 3: 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:
.planning/ if the work becomes multi-stepAfter 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 the user requests plan execution (e.g., "execute the plan", "implement it", "start building"), do NOT route to removed manual orchestration skills. Instead:
.planning/plan.md, invoke superpower-planning:writing-plans first.AskUserQuestion:
/effort ultracode for automatic workflow orchestration.superpower-planning:subagent-driven-codex, for sequential second-model implementation/review through Codex CLI.superpower-planning:executing-plans, for a separate/manual session that executes plan batches and stops at checkpoints.| Skill | Purpose |
|-------|---------|
| superpower-planning:planning-foundation | Persistent file-based planning with .planning/ directory. Foundation layer inherited by all other skills. |
| 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, commands, and execution handoff. |
| superpower-planning:executing-plans | Execute written plans in a separate/manual batch session with .planning/ updates and checkpoints. |
| superpower-planning:subagent-driven-codex | Execute plans in this session by delegating implementer/reviewer roles to Codex CLI via the bridge script. |
| superpower-planning:collaborating-with-codex | Bridge to OpenAI Codex CLI for bounded coding work, debugging, code analysis, or review. |
| 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 Claude Code native worktree isolation before implementation when needed. |
| 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:releasing | Bump versions, tag, and publish GitHub Releases with changelogs. |
requesting-review / receiving-review..planning/progress.md and .planning/findings.md current so a fresh session or workflow has reliable file-based context.superpower-planning:stashing or /stash/resume-stashInstructions say WHAT, not HOW. "Add X" or "Fix Y" doesn't mean skip workflows.
development
Use when a spec or requirements exist for a multi-step task and an implementation plan needs to be written before touching code
data-ai
Use when about to claim work is complete, fixed, or passing, before committing or creating PRs.
data-ai
Use when executing implementation plans with parallel task groups or individual tasks too heavy for subagent context limits.
development
Use when implementing any feature or bugfix, before writing implementation code