Use when creating an implementation plan from a design doc, bug analysis, or refactor scope, or when user says "create a plan", "plan this", or "write the plan"
From harnessnpx claudepluginhub donovan-yohan/belayer --plugin harness/planRestates requirements, assesses risks and dependencies, generates phased step-by-step implementation plan with complexity estimates, and waits for user confirmation before coding.
/planStarts Manus-style file-based planning: creates task_plan.md, findings.md, progress.md if missing, invokes planning skill, and guides through workflow.
/planBreaks project into small verifiable tasks with acceptance criteria, dependencies, checkpoints. Reads spec/codebase, presents plan for review, saves to tasks/plan.md and tasks/todo.md.
/planLaunches interactive 7-step wizard to build Scope, Metrics, Direction, and Verification from a goal description.
/planRestates requirements, assesses risks and dependencies, creates phased step-by-step implementation plan with complexity estimates, and waits for user confirmation before coding.
/planCaptures user intent via 5 structured questions, creates strategic execution plan, saves to .claude/session-plan.md and session-intent.md for review.
Create a living execution plan from a design document, saved as a versioned artifact with built-in progress tracking.
/harness:plan # Plan from most recent design doc
/harness:plan docs/design-docs/{file}.md # Plan from specific design doc
IMMEDIATELY execute this workflow:
Verify the project has been initialized (check for "Documentation Map" with "When to look here" in CLAUDE.md). If not, suggest /harness:init first.
Locate the design document:
docs/design-docs/*-design.mddocs/bug-analyses/*-bug-analysis.mddocs/refactor-scopes/*-refactor-scope.mdstatus field. Skip documents with status: implemented, status: superseded, or status: stale. Only consider documents with status: current or no frontmatter (legacy/unknown)./harness:brainstorm, /harness:bug, or /harness:refactor firstRead the design document fully. Extract:
completed in the scope doc. Plan only the next batch of actionable steps (up to the next async gate). Use Refactor Scope: instead of Design Doc: in the plan header.3.5. Consult learnings (if available):
references/learnings-format.md § "Consulting Learnings"Invoke superpowers:writing-plans using the Skill tool: Skill("superpowers:writing-plans"). Then follow the loaded skill's full process to produce bite-sized TDD tasks with exact file paths, code, and commands. You MUST use the Skill tool — do not write the plan from memory or replicate the planning methodology without loading it.
<HARNESS_OVERRIDES> The following overrides REPLACE conflicting instructions from superpowers:writing-plans. These take ABSOLUTE PRECEDENCE over any path, save location, header, or handoff instruction in that skill:
docs/superpowers/plans/. The plan will be saved in step 5 below to docs/exec-plans/active/./harness:orchestrate.subagent-driven-development, executing-plans, or any other execution skill. After producing the plan content, STOP and let step 5 wrap it with the living document format.[PLAN_FILE_PATH] must point to docs/exec-plans/active/, not docs/superpowers/plans/. The [SPEC_FILE_PATH] must point to the design doc from step 2 (in docs/design-docs/, docs/bug-analyses/, or docs/refactor-scopes/).
</HARNESS_OVERRIDES>After superpowers:writing-plans produces its output, wrap it with the living document sections and save to docs/exec-plans/active/{YYYY-MM-DD}-{kebab-name}.md:
# {Plan Title}
> **Status**: Active | **Created**: {date} | **Last Updated**: {date}
> **Design Doc**: `docs/design-docs/{design-doc-filename}` (or **Refactor Scope**: / **Bug Analysis**: with matching path)
> **Consulted Learnings**: {L-YYYYMMDD-slug, L-YYYYMMDD-slug from step 3.5, or "None"}
> **For Claude:** Use /harness:orchestrate to execute this plan.
## Decision Log
| Date | Phase | Decision | Rationale |
|------|-------|----------|-----------|
| {date} | Design | {decisions from brainstorming design doc} | {rationale} |
## Progress
- [ ] Task 1: {name}
- [ ] Task 2: {name}
- [ ] ...
## Surprises & Discoveries
_None yet — updated during execution by /harness:orchestrate._
## Plan Drift
_None yet — updated when tasks deviate from plan during execution._
---
{superpowers:writing-plans output — full tasks with bite-sized steps}
---
## Outcomes & Retrospective
_Filled by /harness:complete when work is done._
**What worked:**
-
**What didn't:**
-
**Learnings to codify:**
-
5.5. Update run-state (if .harness/ runtime exists):
bash HARNESS_DIR=$(bash ${CLAUDE_PLUGIN_ROOT}/scripts/harness-resolve-dir.sh --repo-root .) [ -n "$HARNESS_DIR" ] && bash ${CLAUDE_PLUGIN_ROOT}/scripts/harness-update-state.sh \ --harness-dir "$HARNESS_DIR" \ --phase "plan" \ --plan "docs/exec-plans/active/{filename}.md" \ --design-doc "{design-doc-path}"
Verify the exec plan file exists before updating PLANS.md. Read or glob for docs/exec-plans/active/{filename}.md to confirm the file from step 5 was successfully written. Only after confirming the file exists on disk, update docs/PLANS.md — add the new plan to the Active Plans table. If the file doesn't exist, report the write failure to the user, retry writing the file, and re-verify before proceeding. Do NOT add an entry to PLANS.md until the file is confirmed on disk (this prevents phantom entries that reference nonexistent plans).
Report:
Plan saved to: docs/exec-plans/active/{filename}.md
## Next Steps
1. `/harness:orchestrate` — Execute this plan with agent teams + micro-reflects
2. `/harness:complete` — When done: reflect, review, and create PR
Run `/harness:orchestrate` to begin execution.