From BMAD Planning & Orchestrator
Shards a PRD and architecture into epics.md and per-story context objects for dev handoff. Each story includes dev notes with source citations, acceptance criteria, tasks, testing strategy, dependency maps, and file scope.
How this skill is triggered — by the user, by Claude, or both
Slash command
/bmad-planning-orchestrator:bmad-epics-and-storiesThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Track-adaptive sharding.** Turn approved planning docs into the executable backlog: one
Track-adaptive sharding. Turn approved planning docs into the executable backlog: one
epics.md map plus per-story context objects. This is the final planning step — the next
thing that touches a story is an external dev tool, not this plugin.
Persona flavor: the Architect (Winston) shards; the PM (John) confirms scope. Lightweight flavor only — this is a workflow.
This skill PLANS. It NEVER writes application code, runs tests, lints, checks coverage, or
builds. The last artifact it emits is a story file marked status: ready-for-dev. Acceptance
Criteria, a Testing strategy, and Dev Notes are planning outputs you author. Executing
tests or writing implementation is out of scope — plan it and hand it off. If tempted to
"implement" or "run the suite", STOP.
| File | Why |
|---|---|
bmad-output/project-context.md | Project constitution — load every run |
bmad-output/prd.md | Functional requirements, epic intent |
bmad-output/architecture.md | Tech stack, components, module boundaries |
bmad-output/ux-design.md (if present) | UI acceptance details |
bmad-output/decision-log.md | Threaded decisions to honor |
existing bmad-output/stories/*.story.md | Learnings + ID continuity |
Output folder default: bmad-output/ (honor user override). Stories go in
bmad-output/stories/, the map in bmad-output/epics.md.
epics.md, then compile story files.Ask which intent if ambiguous. Do not silently regenerate existing stories.
Pick interactively; the heuristic suggests, the user confirms.
epics.md.A story must be small enough for one agent session — roughly 2-8h, one dev-day max. If a story is larger, split it; never inflate scope to fill a sprint. There are NO Fibonacci points, NO velocity, NO burndown. Delivery is tracked by COUNT: stories remaining vs. completion rate. See REFERENCE.md for the split heuristics.
bmad-output/epics.md from templates/epic.template.md:
epic goal, in-scope requirements (cited), ordered story list, cross-epic dependencies.bash ${CLAUDE_PLUGIN_ROOT}/skills/bmad-epics-and-stories/scripts/generate-story-id.sh <epic-number>
gives the next {epic}.{story} and a slug stub. Filename: {epic}.{story}.{slug}.story.md.(AC: #N).[Source: architecture.md#auth-service], [Source: prd.md#FR-12]). LOCKED.bash ${CLAUDE_PLUGIN_ROOT}/scripts/scope-conflict-check.sh bmad-output/stories/
Resolve any overlapping Owned Scope before marking stories parallel-safe.backlog while drafting; flip to ready-for-dev only when every section
is complete, ACs are testable, scope is declared, and the conflict check is clean.decision-log.md; tell the user which stories are
ready-for-dev and hand off to the external dev tool. Do NOT implement.backlog → ready-for-dev → in-progress → review → done. This skill only owns
backlog and ready-for-dev. Everything past handoff belongs to external dev tooling.
Acceptance Criteria, Dev Notes, and Testing are LOCKED. The story template states that external dev tools MUST NOT edit them. They are the compiled, cited source of truth.
Pattern: parallel section/story generation — one agent per epic or per independent story.
| Agent | Task | Output |
|---|---|---|
| Agent N | Compile stories for Epic N as full context objects | bmad-output/stories/N.*.story.md |
Coordination: write shared context (PRD/architecture/track/sizing rule) to
bmad-output/context/sharding-context.md; fan out one agent per epic; on return, the main
context runs the scope-conflict check across ALL stories and resolves overlaps before any
story is marked ready-for-dev.
Example prompt:
Task: Compile stories for Epic 2 (Payments) as context objects.
Context: read bmad-output/context/sharding-context.md.
For each story: number AC, map every Task to an AC (AC: #N), cite Dev Notes to
prd.md/architecture.md sections, declare an explicit Owned File/Module Scope, leave
Dev Agent Record empty. Size to one dev-day; split anything larger. NO story points.
Output: bmad-output/stories/2.*.story.md, status: backlog.
${CLAUDE_PLUGIN_ROOT}/skills/bmad-epics-and-stories/scripts/generate-story-id.sh — next {epic}.{story} ID + slug.${CLAUDE_PLUGIN_ROOT}/scripts/scope-conflict-check.sh — shared Owned-Scope overlap checker.
Part of the BMAD Planning & Orchestrator plugin — a Claude Code harness for the BMAD Method by the BMAD Code Organization (https://github.com/bmad-code-org/BMAD-METHOD). Implements the spirit of
bmad-create-epics-and-stories. All methodology credit belongs to the BMAD Code Organization.
npx claudepluginhub aj-geddes/claude-code-bmad-skills --plugin bmad-planning-orchestratorBreaks requirements into epics and user stories for agile planning. Auto-activates when user says "create the epics and stories list" or invoke via /bmad-create-epics-and-stories.
Breaks v0.6 technical specs into context-window-sized EPICs with dependencies, pre-load budgets, and acceptance criteria for v0.7 build execution.
Converts requirements into user stories for agile development. Handles epic-level and story-level writing with BDD acceptance criteria. Supports parallel generation via subagents.