/claude-planning-with-ai:plan-init [--blank] [--force]from claude-planning-with-ai
Initialize the planning system in the current project. Creates the .planning/ directory structure (workflows, templates, tutorial, glossary) from the plugin's planning-template/, then discovers the project structure to configure area codes. Run once per project before using any other plan-* commands.
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.
Initialize the .planning/ directory structure in the current project.
$ARGUMENTS — format: [--blank] [--force]
.planning/ and run interactive area discovery--blank — initialize without area discovery; area tables left as placeholders for manual editing--force — refresh system files even if .planning/ already exists. It preserves project-specific workspace files such as active/, finished/, config.yml, GUIDE.md, TRACEABILITY-GLOBAL.md, SMOKE-TESTS.md, LOGGING.md, _template/, and SDLC area guidance.Use the current directory as the only initialization target:
./.planning/..planning/..planning/ when the current directory is a monorepo child artifact..planning/, treat it as a separate coordinating workspace.Find the plugin template directory, then use its init script:
node <planning-template>/scripts/planning-init.mjs $ARGUMENTS --format markdown
When developing this plugin repo directly, <planning-template> is ./planning-template.
When installed, locate it from the installed plugin path or fall back to a ~/.claude search for claude-planning-with-ai/.../planning-template.
If neither --blank nor --force was passed, first run:
node <planning-template>/scripts/planning-init.mjs --detect-only --format markdown
Show the proposed area mapping to the user. If the user accepts it, continue with the normal init command.
If the user asks for changes, write a temporary JSON array with the confirmed areas and pass it as --areas-file <path>. Each item must have:
{ "code": "AP", "dir": "api", "stack": "Java / Maven", "description": "backend service" }
Run the script with the original arguments and any confirmed options:
node <planning-template>/scripts/planning-init.mjs $ARGUMENTS [--areas-file <path>] [--project-mode <mode>] [--base-branch <branch>] --format markdown
The script owns:
.planning/ existence checks--force preservation of existing project-specific files, including active/, finished/, config.yml, GUIDE.md, TRACEABILITY-GLOBAL.md, SMOKE-TESTS.md, LOGGING.md, _template/, and SDLC area guidance.planning/config.yml generationIf the script fails, report its error verbatim and stop. Do not manually recreate partial initialization steps after a failed script run.
Report the script output verbatim, then add:
.planning/ path initialized.planning/config.yml/plan-new NNN-slug -- intent/plan-from-epic NNN path/to/epic/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