Skip to content
Development
Skill

/bmad-handoff

Emits a dev-tool-agnostic handoff manifest from ready-for-dev stories so an external dev plugin or runner can pick up and execute the work. Use when the user says "generate a handoff", "create handoff manifest", "export stories for dev", "hand off to dev tool", "produce handoff

From plugin
claude-code-bmad-skills
49420 skills3 agents

Claude Code

$ npx -y skills add aj-geddes/claude-code-bmad-skills --skill bmad-handoff --agent claude-code

SKILL.md

bmad-handoff.SKILL.md
name: bmad-handoff
description: |
  Emits a dev-tool-agnostic handoff manifest from ready-for-dev stories so an external
  dev plugin or runner can pick up and execute the work.

  Use when the user says "generate a handoff", "create handoff manifest", "export stories
  for dev", "hand off to dev tool", "produce handoff manifest", "ready to hand off",
  "prepare handoff for external tool", "export ready-for-dev stories", or "create the
  handoff package". Also trigger when the user asks "what stories are ready for dev?" and
  wants an exportable artifact rather than a status report.

  Produces: handoff-manifest.json listing all ready-for-dev stories with id, story file
  path, status, owned file/module scope, wave/parallel_set, dependencies,
  acceptance-criteria summary, locked-sections note, and a schemaVersion field.
  See REFERENCE.md (bundled) for the full manifest schema and adapter notes for
  git-worktree parallel development and autonomous dependency-graph orchestrators.
allowed-tools: Read, Write, Edit, Glob, Grep, TodoWrite

BMAD Handoff

**Purpose:** Scan the planning output folder for all stories at status `ready-for-dev`, compile them into a single `handoff-manifest.json`, and leave it where any downstream dev tool can read it — without coupling to any specific runner.

This is the last artifact the planning plugin produces. What happens next is owned by the external dev tool, not by this skill.

When to Run

Run this skill after the story-writing phase is complete and you (or the user) have confirmed that at least one story carries status `ready-for-dev`. The manifest is a point-in-time snapshot; re-run the skill to refresh it.

Workflow

Use TodoWrite to track progress through these steps.

1. Locate the output folder

Look for `bmad-output/project-context.md` (the default output folder) or ask the user for the output folder. Default: `bmad-output/`.

2. Discover story files

Glob for `**/{epic}.{story}.*.story.md` under the output folder. Accept alternative flat layouts (`stories/*.story.md`) if the glob turns up nothing.

3. Filter to ready-for-dev

Read the `**Status:**` header field of each story file (in the story header block, not a `## Status` heading). Include only stories whose status value is exactly `ready-for-dev`.

If none are found, report which statuses were seen and stop — do not produce an empty manifest.

4. Extract per-story fields

For each qualifying story file, extract:

| Field | Source in story file | |---|---| | `id` | Filename stem or `## Story` heading ID | | `storyFilePath` | Relative path from project root | | `status` | `**Status:**` header field value | | `epic` | First segment of filename, e.g. `"2"` in `2.1.stripe.story.md` | | `storyNumber` | Second segment, e.g. `"1"` | | `title` | First H1 or `## Story` heading text | | `ownedScope` | `## Owned File/Module Scope` — list every path verbatim | | `wave` | `## Dependency Maps` → wave/parallel_set annotation (integer or null) | | `parallelSet` | Same section — parallel set label if present (string or null) | | `dependencies` | `## Dependency Maps` → blocked-by story IDs (array, may be empty) | | `acceptanceCriteriaSummary` | First 3 AC items from `## Acceptance Criteria`, each ≤120 chars | | `lockedSectionsNote` | Static string — see schema | | `devAgentRecord` | Static null — placeholder for the dev tool to populate |

5. Compute wave order

If stories do not already carry explicit wave annotations:

  • Stories with empty `dependencies` arrays are wave 1.
  • A story whose every dependency is in wave N or lower is wave N+1.
  • Add the computed `wave` value; leave `parallelSet` null when not annotated.

6. Write the manifest

Write to `{outputFolder}/handoff-manifest.json`.

Use the schema from `${CLAUDE_PLUGIN_ROOT}/skills/bmad-handoff/templates/handoff-manifest.schema.json` as the structural contract. Populate `schemaVersion: "1.0"`.

Sort stories by `wave` ascending, then by `id` ascending within each wave.

7. Report to the user

Print a compact summary:

Handoff manifest written → bmad-output/handoff-manifest.json
  schemaVersion : 1.0
  stories       : <N> ready-for-dev
  waves         : <W>  (wave 1 has <X> stories, can start immediately)
  output path   : bmad-output/handoff-manifest.json

If any story was missing required sections (e.g. no `## Owned File/Module Scope`), list those as warnings — do not silently omit or fabricate data.

Manifest Field Definitions (Quick Reference)

See REFERENCE.md for the full schema narrative and adapter notes.

| Field | Type | Required | Notes | |---|---|---|---| | `schemaVersion` | string | yes | Semver string; current = `"1.0"` | | `generatedAt` | string | yes | ISO-8601 UTC timestamp | | `projectName` | string | yes | From project-context.md or user input | | `outputFolder` | string | yes | Relative path used to find stories | | `stories` | array | yes | One object per ready-for-dev story | | `stories[].id` | string | yes | Unique story identifier | | `stories[].storyFilePath` | string | yes | Relative path to the .story.md file | | `stories[].status` | string | yes | Always `"ready-for-dev"` in this manifest | | `stories[].epic` | string | yes | Epic identifier | | `stories[].storyNumber` | string | yes | Story number within epic | | `stories[].title` | string | yes | Human-readable story title | | `stories[].ownedScope` | array | yes | File/module paths this story may modify | | `stories[].wave` | integer | yes | Execution wave (1 = no dependencies) | | `stories[].parallelSet` | string\|null | no | Label if explicitly grouped | | `stories[].dependencies` | array | yes | Story IDs that must complete first | | `stories[].acceptanceCriteriaSummary` | array | yes | First 3 AC items, ≤120 chars each | | `stories[].lockedSectionsNote` | string | yes | Instruction to dev tools | | `stories[].devAgentRecord` | null | yes | Dev tool populates; always null at emit time |

`lockedSectionsNote` is always

Read more
@aj-geddes
Ships withclaude-code-bmad-skills

This repository is a Claude Code plugin marketplace. It ships one plugin — BMAD Planning & Orchestrator — that harnesses the BMAD Method to plan, document, and orchestrate software work as conflict-free parallel workstreams, then hands implementation off to

49420 skills3 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
494
Star history of aj-geddes/claude-code-bmad-skills on GitHub, a chart by star-history.com

Other skills on claude-code-bmad-skills.

More skills from other plugins.

brainstorming
Auto-invoked

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…

@obra@obraInstall Skill
ask-matt

ask-matt

Ask which skill or flow fits your situation. A router over the skills in this repo.

skills11d309k
@mattpocock@mattpocockInstall Skill
accessibility
Auto-invoked

accessibility

Design, implement, and audit accessible UI to WCAG 2.2 Level AA across Web, iOS, and Android — semantic ARIA roles and labels,…

ecc13d293k
@affaan-m@affaan-mInstall Skill
compiler-commit

compiler-commit

Use when you want to verify compiler changes and commit with the correct convention. Runs tests, lint, and format, then commits…

react2d252k
@facebook@facebookInstall Skill

Questions about bmad-handoff.

Which coding agents can use bmad-handoff?
bmad-handoff installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.