/claude-planning-with-ai:plan-done <NNN-slug> <story-NN> [task-N]from claude-planning-with-ai
Mark a specific task (or all tasks in a story) as done and advance the planning if all stories are complete.
Ships in claude-planning-with-ai. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Mark a specific task (or all tasks in a story) as done and advance the planning if all stories are complete.
Reference workflow: .planning/WORKFLOWS/01-PLANNING-WORKFLOWS/ADVANCE-PLANNING.md
$ARGUMENTS — format: NNN-slug story-NN [task-N]
NNN-slug — planning id (e.g. 001-user-auth-api)story-NN — story id (e.g. story-01)task-N — optional; specific task number to mark done (e.g. task-3). If omitted, mark all tasks done.Parse $ARGUMENTS.
Use only ./.planning/ in the current working directory. Do not search parent directories.
If .planning/scripts/planning-mutate.mjs is missing, stop and report:
/plan-update-version <from> <to> or re-run /plan-init --force from the project root."If a specific task number was given, run:
node .planning/scripts/planning-mutate.mjs done <planning-id> <story-id> <task-id> --format markdown
Report the script output verbatim and stop.
If no task number was given, run review mode first:
node .planning/scripts/planning-mutate.mjs done <planning-id> <story-id> --format markdown
Present the script output to the user. For project.type: software, also present the latest available smoke-test evidence from .planning/<software.smoke_tests_file> or the task/story test-suite artifacts. For every applicable generated, detected, or manually supplied gate, the evidence must include test type, exact command, parameters or profiles, environment, relevant configuration and scripts, output log or CI/report link, and result. If that evidence is missing or stale, rerun the smoke test plan or ask the user for the missing manual-test evidence before asking for approval.
Ask:
"Reply with approved to finalize the story after confirming all task PRs are merged into the story branch, or list the requested corrections."
Do not advance until the user approves.
If the reviewer requests corrections, execute [RECORD-EDGE-CASE] with the requested corrections, implement them in a task branch, rerun the relevant verification, refresh the evidence metadata for each impacted gate, rerun the smoke test plan when code, build, dependencies, migrations, startup, or configuration changed, and ask for a new human review. Do not mark the story DONE or open the story PR before approval.
After approval, run:
node .planning/scripts/planning-mutate.mjs done <planning-id> <story-id> --finalize-story --format markdown
Report the script output verbatim. The script updates the story status, task table statuses, 01-expansion.md, and the next eligible story when present.
Execute [CHECK-TRACEABILITY] — ensure all terms from this story are recorded.
/plan-decision <planning-id> -- <decision title> before continuing. If the decision is only a candidate or lacks approval, report it as a suggested PDR follow-up.If no next story remains, execute MILESTONE-FEEDBACK, invoke /plan-retrospective <planning-id>, then trigger /plan-archive <planning-id>.
The script owns task/story status changes, story task table updates,
01-expansion.mdstatus updates, done-criteria extraction, and next-story selection. This skill owns human approval, traceability/PDR follow-up, retrospective/archive orchestration, and git/PR finalization.
After step 4b, if no specific task number was given (story fully done), all task PRs are merged into the story branch, and the human developer review approved finalization:
node .planning/scripts/planning-mutate.mjs done <planning-id> <story-id> --git-plan --format markdown
execution.requires_git is false, skip git operations and report that .planning/config.yml disables them.git branch -d only; never force-delete task or story branches.git.base_branch, push it, and open or reuse the story PR.What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub adumun/claude-planning-with-ai --plugin claude-planning-with-ai53 skills in this plugin
/doc-generateGenerate documentation from planning artifacts at task, story, or planning level using the deterministic doc-generate script./doc-storyGenerate documentation for a completed story using the deterministic doc-generate script./doc-taskGenerate documentation for a completed atomic task using the deterministic doc-generate script./epic-enrichAdd missing backlog stories to an existing epic or story container while delegating container inspection, ID assignment, story drafting, and index updates to the shared planning-story script./plan-agent-executeExecute all pending stories in a planning — atomizes and executes independent stories in parallel using subagents, respecting dependency order./plan-agent-planExecute the planning phase autonomously — creates a new planning (if needed) and advances it from INITIAL to EXPANSION without intermediate confirmations.Other plugins' skills for the same job