Use after research (Z01 files exist) to create implementation plan - follow structured workflow
STOP. Before doing ANYTHING else:
in_progressThis skill is a WRAPPER that loads Z01 context and invokes superpowers:writing-plans
TodoWrite({
todos: [
{content: "Step 1: Load project context (CLAUDE.md if exists)", status: "in_progress", activeForm: "Reading CLAUDE.md"},
{content: "Step 2: Verify Z01 files exist", status: "pending", activeForm: "Checking research"},
{content: "Step 3: Read ALL Z01 files", status: "pending", activeForm: "Loading context"},
{content: "Step 4: Invoke superpowers:writing-plans", status: "pending", activeForm: "Creating plan"},
{content: "Step 5: Verify Z02 outputs", status: "pending", activeForm: "Validating output"}
]
})
After each step: Mark completed, move in_progress to next step.
Without this wrapper: You'd manually load Z01 files, pass to superpowers:writing-plans, manage Z02 output paths, check for clarifications.
Read CLAUDE.md if it exists.
Extract from CLAUDE.md (if exists):
CRITICAL: If CLAUDE.md exists and contains constraints, these MUST be passed to superpowers:writing-plans so the plan preserves project standards.
Scan for existing Z01 files in common locations (docs/ai/ongoing, .ai/ongoing, docs/ongoing).
If Z01 files found:
If NO Z01 files found:
Read all Z01 files in ONGOING_DIR:
BLOCKING CHECK - If Z01_CLARIFY exists:
Extract:
CRITICAL: This skill's primary job is to invoke superpowers:writing-plans with Z01 context. If you skip this invocation, the skill provides no value.
Use Skill tool to invoke superpowers:writing-plans
Provide this instruction:
"Create an implementation plan for the {feature} feature based on the research in Z01_{feature}research.md and clarifications in Z01_CLARIFY{feature}_research.md.
MANDATORY CONSTRAINTS from CLAUDE.md: [Include any constraints, patterns, or forbidden approaches from CLAUDE.md here if it exists]
CRITICAL: Save the plan to {ONGOING_DIR}/Z02_{feature}_plan.md (use the detected path, NOT hardcoded docs/plans/).
The plan should be a DIRECTIVE document with:
If you discover NEW blocking questions during planning (not already in Z01_CLARIFY), create {ONGOING_DIR}/Z02_CLARIFY_{feature}_plan.md. Otherwise, do NOT create a Z02_CLARIFY file.
When incorporating answered questions: Delete fully-answered CLARIFY files or remove incorporated Q&A pairs if only some were answered."
When superpowers:writing-plans completes:
Check structure:
Report to user:
/superpowers:write-plan (use Skill tool)| Excuse | Reality |
|---|---|
| "Skip path detection, I know it's docs/ai/ongoing" | NO. Path assumptions break in non-standard repos. Detect ONGOING_DIR. |
| "No Z01 files, skip check" | NO. Research context critical for quality plans. Check first. |
| "Superpowers will figure out output structure" | NO. Generic plans lack our research integration. Provide explicit Z02* instruction. |
| "Read only Z01_research, skip Z01_CLARIFY" | NO. Missing context = incomplete plan. Read ALL Z01* files. |
| "Create Z02_CLARIFY even if no questions" | NO. Empty files clutter directory. Only create if NEW questions. |
| "Just invoke superpowers:writing-plans directly" | NO. This wrapper loads Z01 context. That's its value. |
| "Wrapper skill, no need to track steps" | NO. Wrapper has critical steps (context loading, invocation). Track with TodoWrite. |
| "TodoWrite adds overhead, skip it" | NO. TodoWrite provides user visibility and prevents skipped steps. MANDATORY. |
You followed the workflow if:
Workflow Position: AFTER feature-research (Z01 files), BEFORE feature-implement
Use when:
Don't use when: