Agent Skillsbmad-code-org/BMAD-METHOD › bmad-sprint-planning

bmad-sprint-planning

GitHub

用于敏捷开发中的冲刺规划与状态管理。检查实现准备度,生成或修复冲刺状态文件,总结进度并验证追踪数据,确保规划完整性以支持后续实施。

src/bmm-skills/plan/bmad-sprint-planning/SKILL.md bmad-code-org/BMAD-METHOD

Trigger Scenarios

用户要求运行冲刺规划 用户要求生成冲刺计划 用户要求检查实现准备度 用户要求显示冲刺状态 用户要求验证或修复冲刺状态

Install

npx skills add bmad-code-org/BMAD-METHOD --skill bmad-sprint-planning -g -y
More Options

Non-standard path

npx skills add https://github.com/bmad-code-org/BMAD-METHOD/tree/main/src/bmm-skills/plan/bmad-sprint-planning -g -y

Use without installing

npx skills use bmad-code-org/BMAD-METHOD@bmad-sprint-planning

指定 Agent (Claude Code)

npx skills add bmad-code-org/BMAD-METHOD --skill bmad-sprint-planning -a claude-code -g -y

安装 repo 全部 skill

npx skills add bmad-code-org/BMAD-METHOD --all -g -y

预览 repo 内 skill

npx skills add bmad-code-org/BMAD-METHOD --list

SKILL.md

Frontmatter
{
    "name": "bmad-sprint-planning",
    "description": "Check that planning is complete enough to implement, then generate the sprint status file from the epics. Can also summarize sprint progress and validate or repair the tracking file. Use when the user says \"run sprint planning\", \"generate sprint plan\", \"check implementation readiness\", \"show sprint status\", \"validate sprint status\", or \"fix sprint status\""
}

Overview

You are a senior developer about to commit to this plan. Two moves, in order: first scrutinize the planning the way a skeptic reads a handoff — gaps found now are cheap, gaps found mid-build are not. Then hand the mechanical work to the script: parsing epics, deriving keys, merging statuses, and writing sprint-status.yaml are deterministic jobs, not judgment calls. Your judgment goes where the script can't: deciding which files are epics, weighing readiness, and reconciling anything the script flags.

On Activation

  1. Resolve customization: uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow. On failure, read {skill-root}/customize.toml directly and use defaults.

  2. Execute each entry in {workflow.activation_steps_prepend} in order.

  3. Treat every entry in {workflow.persistent_facts} as foundational context for the rest of the run. Entries prefixed file: are paths or globs under {project-root} — load the referenced contents as facts. All other entries are facts verbatim.

  4. Load {project-root}/_bmad/bmm/config.yaml (and config.user.yaml if present). Resolve {user_name}, {communication_language}, {document_output_language}, {project_name}, {planning_artifacts}, {implementation_artifacts}, {project_knowledge} (skip gracefully if unset), {date}. Stay in {communication_language} for every turn, not just the greeting.

  5. Greet {user_name}, detect intent, and load only what that intent needs:

    • readiness — check implementation readiness only: load references/readiness-gate.md, run the gate, report, stop
    • sprint-planning — the full flow (also the refresh path for an existing sprint-status.yaml): load references/readiness-gate.md, then on PASS references/generate-tracking.md
    • status — "show sprint status", "where are we": skip the gate, load references/status-view.md
    • validate — check the tracking file's format: load references/validate.md
    • fix — repair or rebuild a broken sprint-status.yaml: load references/fix-sprint-status.md

    If interactive and unclear, ask; for headless behavior see ## Headless Mode.

Execute each entry in {workflow.activation_steps_append} in order.

Activation is complete. If activation_steps_prepend or activation_steps_append were non-empty, confirm every entry was executed in order before proceeding.

If the Script Fails

This rule covers every intent: when sprint_plan.py errors or the file is in a state it cannot handle, do not stop at the error and do not guess silently. Read the files yourself, deliver the same outcome by best judgment, tell the user the deterministic path failed and why, and offer the fix flow (references/fix-sprint-status.md) to restore a file the script can work with.

On Completion

Whatever the intent, close out in {communication_language} per the loaded reference, then run {workflow.on_complete} if non-empty; treat a string scalar as one instruction and an array as a sequence.

Headless Mode

When invoked headless, do not ask. Run the gate and, unless intent was readiness-only, generate tracking. Ambiguity the interactive flow would resolve by asking (duplicate epic versions, unreconciled orphans, an unconfirmed fix) halts with a blocked status instead of guessing. End with a JSON response:

{
  "status": "complete",
  "intent": "sprint-planning",
  "gate": "PASS",
  "status_file": "{implementation_artifacts}/sprint-status.yaml",
  "findings": [],
  "warnings": []
}

gate is PASS, CONCERNS, or FAIL; on FAIL include findings and the saved findings path if written, and omit status_file. intent is "readiness", "sprint-planning", "status", "validate", or "fix" — for status and validate intents, omit gate and pass the script's JSON through under a report key (not status, which names the run state).

References

  • scripts/sprint_plan.py — the deterministic parser/generator/merger; subcommands generate, status, validate. Its JSON output is the contract this skill reads; argparse errors are JSON too
  • references/readiness-gate.md — the PASS/CONCERNS/FAIL gate: artifact inventory and the implementability question
  • references/generate-tracking.md — epic discovery, the generate command, and acting on its JSON report
  • references/status-view.md — the status view: counts, risks, open action items, next recommended action
  • references/fix-sprint-status.md — rebuild a broken tracking file: evidence-gathering subagents, user confirmation, pristine regeneration
  • references/validate.md — format validation of an existing sprint-status.yaml
  • sprint-status-template.yaml — the documented file format and status vocabulary; the script embeds the same block and the test suite pins the two copies together

Version History

  • 67d876f Current 2026-08-20 10:27

Same Skill Collection

src/bmm-skills/agents/bmad-agent-analyst/SKILL.md
src/bmm-skills/agents/bmad-agent-architect/SKILL.md
src/bmm-skills/agents/bmad-agent-dev/SKILL.md
src/bmm-skills/agents/bmad-agent-pm/SKILL.md
src/bmm-skills/agents/bmad-agent-ux-designer/SKILL.md
src/bmm-skills/plan/bmad-architecture/SKILL.md
src/bmm-skills/plan/bmad-create-epics-and-stories/SKILL.md
src/bmm-skills/plan/bmad-generate-project-context/SKILL.md
src/bmm-skills/plan/bmad-prd/SKILL.md
src/bmm-skills/plan/bmad-prfaq/SKILL.md
src/bmm-skills/plan/bmad-product-brief/SKILL.md
src/bmm-skills/plan/bmad-project-context/SKILL.md
src/bmm-skills/plan/bmad-spec/SKILL.md
src/bmm-skills/plan/bmad-ux/SKILL.md
src/bmm-skills/ship/bmad-build-auto/SKILL.md
src/bmm-skills/ship/bmad-build/SKILL.md
src/bmm-skills/ship/bmad-checkpoint-preview/SKILL.md
src/bmm-skills/ship/bmad-code-review/SKILL.md
src/bmm-skills/ship/bmad-correct-course/SKILL.md
src/bmm-skills/ship/bmad-qa-generate-e2e-tests/SKILL.md
src/bmm-skills/ship/bmad-retrospective/SKILL.md
src/bmm-skills/v6-shims/bmad-create-architecture/SKILL.md
src/bmm-skills/v6-shims/bmad-create-story/SKILL.md
src/bmm-skills/v6-shims/bmad-dev-auto/SKILL.md
src/bmm-skills/v6-shims/bmad-dev-story/SKILL.md
src/bmm-skills/v6-shims/bmad-document-project/SKILL.md
src/bmm-skills/v6-shims/bmad-domain-research/SKILL.md
src/bmm-skills/v6-shims/bmad-market-research/SKILL.md
src/bmm-skills/v6-shims/bmad-quick-dev/SKILL.md
src/bmm-skills/v6-shims/bmad-sprint-status/SKILL.md
src/bmm-skills/v6-shims/bmad-technical-research/SKILL.md
src/bmm-skills/v6-shims/bmad-validate-prd/SKILL.md
src/core-skills/bmad-advanced-elicitation/SKILL.md
src/core-skills/bmad-brainstorming/SKILL.md
src/core-skills/bmad-customize/SKILL.md
src/core-skills/bmad-forge-idea/SKILL.md
src/core-skills/bmad-help/SKILL.md
src/core-skills/bmad-party-mode/SKILL.md
test/fixtures/validate-skills/deprecated-shim/SKILL.md
src/bmm-skills/v6-shims/bmad-create-prd/SKILL.md
src/bmm-skills/v6-shims/bmad-edit-prd/SKILL.md
src/core-skills/bmad-deep-recon/SKILL.md
src/core-skills/bmad-review/SKILL.md
src/core-skills/v6-shims/bmad-editorial-review-prose/SKILL.md
src/core-skills/v6-shims/bmad-editorial-review-structure/SKILL.md
src/core-skills/v6-shims/bmad-editorial-review/SKILL.md
src/core-skills/v6-shims/bmad-review-adversarial-general/SKILL.md
src/core-skills/v6-shims/bmad-review-edge-case-hunter/SKILL.md
src/core-skills/v6-shims/bmad-review-verification-gap/SKILL.md

Metadata

Files
0
Version
67d876f
Hash
2ac5fe09
Indexed
2026-08-20 10:27

- 위키
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-25 13:27
浙ICP备14020137号-1 $방문자$