/claude-planning-with-ai:plan-from-epic <NNN> <path/to/container> [--filter field=value]from claude-planning-with-ai
Generate a full execution planning in `.planning/active/` from a story container. One story → one story. Story done criteria come from each story's acceptance criteria and Definition of Done (if pre
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.
Generate a full execution planning in .planning/active/ from a story container. One story → one story. Story done criteria come from each story's acceptance criteria and Definition of Done (if present).
Works with any directory of story files or single document with story sections — not tied to a specific project structure or naming convention.
The planning is created directly in active/ because the container already provides the full expansion structure.
$ARGUMENTS — format: NNN path/to/container [--filter field=value]
NNN — three-digit planning number (e.g. 005)path/to/container — a directory with story files or a single file with story sections--filter field=value — optional; include only stories where a metadata field matches a valueExamples:
005 docs/02-product/user-stories/epic-05-grading-assistance/
005 docs/02-product/user-stories/epic-05-grading-assistance/ --filter priority=P0
005 features/checkout/
005 docs/requirements.md --filter status=approved
The --filter field and value are matched case-insensitively against any metadata found in each story file (frontmatter, bold key-value pairs, or list items). If no stories pass the filter, stop and report.
./.planning/ exists in the current directory before reading the source container..planning/../.planning/ does not exist, stop: "Run /plan-init in the current directory first. Parent .planning/ workspaces are not used for child artifact planning."<current-directory>/.planning/.--filter if provided. Report: "Found N stories (M after filter)."Look for an overview file or section (README, EPIC.md, overview section). Extract whatever is available:
00-initial.md → Intent)00-initial.md → Why)00-initial.md → Approximate Scope and 01-expansion.md)If no overview exists, derive Intent and Why from the aggregate of the story narratives.
Strip any path prefix and numeric/structural prefix from the container name to produce a readable slug.
Examples:
epic-05-grading-assistance/ → grading-assistancefeatures/checkout/ → checkoutdocs/requirements.md → requirementsFull planning id: NNN-<slug> (e.g. 005-grading-assistance).
Copy .planning/_template/ to .planning/active/NNN-<slug>/.
Do not create a pdr-*.md file by default. PDRs are optional and should be created later with /plan-decision only if the generated planning includes a significant cross-cutting decision.
00-initial.mdPopulate from the epic context gathered in Step 2:
Intent: one-sentence goalWhy: motivation / narrativeApproximate Scope: list of affected areas found in the stories' Technical Notes sections, or inferred from the epic overview's scope section. Mark as [inferred] if not explicitly stated.Requested by: humanDate: today## Source note: path of the container and planning generation date01-expansion.mdBuild the stories table: one row per story, in the order they appear in the container.
For each story, extract:
story-NN (sequential, starting from story-01)[inferred]story-NNBuild the dependency map section and the "Impact per area" summary.
Add a ## Source section: container path, filter applied (if any), generation date.
For each story, create .planning/active/NNN-<slug>/02-deepening/story-NN-<story-title>.md:
## Objective
[story narrative — as-a / I want / so I can, or equivalent]
> Source: [path/to/story-file or "file#section-heading"] — [story ID if present]
## Status: TODO
## Area
[from Technical Notes or [inferred]]
## Done Criteria
[merge story's criteria section + DoD section into a flat checkbox list]
[mark criteria from DoD as `(DoD)` if the story had separate DoD section]
## Tasks
- [ ] Define implementation tasks
## Technical Notes
[copy from story's Technical Notes if present; otherwise leave blank]
## Dependencies
[map story dependencies to story-NN IDs]
.planning/README.md: ensure ### 🚧 In Progress links to active/README.md.planning/active/README.md: add entry for this planning with source container, story list, and filter appliedPlanning created: .planning/active/NNN-slug/
Source: [container path] ([N stories] → [N stories])
Filter: [applied filter or "none"]
Stories:
story-01 [story title] [area] [priority if any]
story-02 [story title] [area] ← no DoD found, criteria from AC only
...
Attention:
[list stories whose stories had no DoD or no Technical Notes — suggest /us-enrich path/story.md]
Next step: /plan-story NNN-slug story-01
Stories missing DoD or Technical Notes still generate a story — area is marked
[inferred]. Run/us-enrichon the source story to fill the gap upstream.
What SKILL.md sets; muted values are Claude Code's defaults
53 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.npx claudepluginhub adumun/claude-planning-with-ai --plugin claude-planning-with-aiOther plugins' skills for the same job