/claude-planning-with-ai:plan-merge <NNN-source> <story-NN> <NNN-target>from claude-planning-with-ai
Move a story from one active planning to another — updates both 01-expansion.md files, relocates the story file, and preserves atomized task folders.
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.
Move a story from one planning to another. Useful when reorganizing work reveals a story belongs to a different initiative.
$ARGUMENTS — format: NNN-source story-NN NNN-target
NNN-source — planning ID that currently owns the story (e.g. 001-jwt-auth-api)story-NN — the story to move (e.g. story-03)NNN-target — planning ID to receive the story (e.g. 002-api-platform)Parse $ARGUMENTS into source ID, story ID, and target ID.
Verify .planning/scripts/planning-mutate.mjs exists. If missing, stop:
This workspace needs the latest planning scripts. Re-run
/plan-init --forcefrom the project root or copy the current planning template scripts into.planning/scripts/.
Run the dry run:
node .planning/scripts/planning-mutate.mjs merge <source-id> <story-id> <target-id> --dry-run
If the script fails, report its error verbatim and stop. Do not manually move files after a failed script run.
Verify every touched path from dry-run is inside one of these two planning roots:
.planning/active/<source-id>/.planning/active/<target-id>/The expected files are 01-expansion.md, README.md, RETROSPECTIVE-RAW.md, the old/new story file, and the old/new atomized task folder when present. If any unrelated path appears, stop.
Confirm before proceeding:
"Move <story-id> from <source-id> to <target-id> as <new-story-id>? (yes/no)"
Wait for confirmation.
Apply the move:
node .planning/scripts/planning-mutate.mjs merge <source-id> <story-id> <target-id>
Report the script summary:
/plan-archiveThe script owns the mechanical mutation: active-only preflight, DONE rejection, target story numbering, story/task-folder move, internal markdown reference rewrites, 01-expansion.md row movement, README story index update, and /plan-merge entries in both RETROSPECTIVE-RAW.md files.
Dependency references in
Depends Onfields are not automatically updated. Review them manually after the move.
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.Other plugins' skills for the same job