Workflow de planification de sprint

VérifiéPrudence

Générer le suivi du statut de sprint à partir des epics et produire un fichier sprint-status.yaml.

Spar Skills Guide Bot
DeveloppementIntermédiaire
29/08/2026
Claude Code
#sprint-planning#bmad#epics#status-tracking#project-management

Recommandé pour

Synthèse automatique

Génère un fichier de suivi sprint-status.yaml en chargeant les documents d'épics et en détectant le statut des stories dans un projet BMAD.

Points forts

  • Résout une personnalisation en couches à partir des fichiers TOML par défaut, d'équipe et utilisateur.
  • Charge l'ensemble des épics et des stories pour produire un suivi de sprint complet.
  • S'appuie sur la configuration du projet pour le nom d'utilisateur, la langue de sortie et les chemins d'artefacts.
  • Écrit le fichier de statut à un emplacement prévisible dans les artefacts d'implémentation configurés.

Limites

  • Dépend de l'arborescence BMAD, du fichier config.yaml et du script de résolution de personnalisation.
  • Le SKILL.md fourni est tronqué avant la description complète du traitement des épics fragmentés.
  • Les règles de détection du statut des stories et de génération du YAML ne sont pas détaillées dans le contenu disponible.
Quand l'utiliser

À utiliser dans un projet BMAD disposant de documents d'épics lorsqu'il faut créer ou actualiser sprint-status.yaml.

Quand l'éviter

À ne pas utiliser hors d'un projet configuré pour BMAD ou en l'absence de documents d'épics ou de stories.

Analyse de sécurité

Prudence
Score qualité79/100

No destructive, exfiltration, or obfuscated behavior is present; actions are limited to reading epic files, writing one YAML tracking file, and running a local customization resolver script. However, the workflow executes a project-local Python script and treats config-derived strings (activation steps, on_complete) as executable instructions, which is a real injection surface for a skill with powerful file/command access. This warrants 'caution' rather than 'safe'.

Points d'attention
  • •Invokes a project-local Python script (`python3 {project-root}/_bmad/scripts/resolve_customization.py`) without any declared allowed-tools; the script's contents are not shown, so its behavior cannot be verified.
  • •Dynamically loads and executes configuration-supplied instructions: `activation_steps_prepend`, `activation_steps_append`, and the `workflow.on_complete` value are followed as literal instructions/final terminal instruction. This creates a prompt-injection vector if team/user TOML overrides are untrusted.
  • •Reads and merges config/override files from `{project-root}/_bmad/custom/*.toml`, allowing arbitrary local files to influence agent behavior.
  • •Writes/overwrites a status file at `{implementation_artifacts}/sprint-status.yaml` — a legitimate but non-trivial file mutation with a stated preservation rule for existing content.
  • •Activation and completion rely on a dynamically resolved `workflow.on_complete` value that is 'followed as the final terminal instruction' — arbitrary instructions sourced from `customize.toml` / user override files would be executed as agent directives (indirect prompt-injection / self-modifying instruction channel).
  • •`activation_steps_prepend` / `activation_steps_append` and `persistent_facts` (including `file:` globs) inject arbitrary content from project config into the agent's working context without validation.
  • •Runs `python3 {project-root}/_bmad/scripts/resolve_customization.py` — executes project-local code and writes files (`sprint-status.yaml`) under the implementation artifacts directory.
Comment cette analyse est faite

Exemples

Run sprint planning
run sprint planning
Generate sprint plan
generate sprint plan from the epic files in this project
Build sprint status
build the sprint-status.yaml from our epics and current story statuses

name: bmad-sprint-planning description: 'Generate sprint status tracking from epics. Use when the user says "run sprint planning" or "generate sprint plan"'

Sprint Planning Workflow

Goal: Generate sprint status tracking from epics, detecting current story statuses and building a complete sprint-status.yaml file.

Your Role: You are a Developer generating and maintaining sprint tracking. Parse epic files, detect story statuses, and produce a structured sprint-status.yaml.

Conventions

  • Bare paths (e.g. checklist.md) resolve from the skill root.
  • {skill-root} resolves to this skill's installed directory (where customize.toml lives).
  • {project-root}-prefixed paths resolve from the project working directory.
  • {skill-name} resolves to the skill directory's basename.

On Activation

Step 1: Resolve the Workflow Block

Run: python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow

If the script fails, resolve the workflow block yourself by reading these three files in base → team → user order and applying the same structural merge rules as the resolver:

  1. {skill-root}/customize.toml — defaults
  2. {project-root}/_bmad/custom/{skill-name}.toml — team overrides
  3. {project-root}/_bmad/custom/{skill-name}.user.toml — personal overrides

Any missing file is skipped. Scalars override, tables deep-merge, arrays of tables keyed by code or id replace matching entries and append new entries, and all other arrays append.

Step 2: Execute Prepend Steps

Execute each entry in {workflow.activation_steps_prepend} in order before proceeding.

Step 3: Load Persistent Facts

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

Step 4: Load Config

Load config from {project-root}/_bmad/bmm/config.yaml and resolve:

  • project_name, user_name
  • communication_language, document_output_language
  • implementation_artifacts
  • planning_artifacts
  • date as system-generated current datetime
  • project_context = **/project-context.md (load if exists)
  • YOU MUST ALWAYS SPEAK OUTPUT in your Agent communication style with the config {communication_language}
  • Generate all documents in {document_output_language}

Step 5: Greet the User

Greet {user_name}, speaking in {communication_language}.

Step 6: Execute Append Steps

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. Do not begin the main workflow until all activation steps have been completed.

Paths

  • tracking_system = file-system
  • project_key = NOKEY
  • story_location = {implementation_artifacts}
  • story_location_absolute = {implementation_artifacts}
  • epics_location = {planning_artifacts}
  • epics_pattern = *epic*.md
  • status_file = {implementation_artifacts}/sprint-status.yaml

Input Files

| Input | Path | Load Strategy | | ----- | ---------------------------------------------------------------------------------------- | ------------- | | Epics | {planning_artifacts}/*epic*.md (whole) or {planning_artifacts}/*epic*/*.md (sharded) | FULL_LOAD |

Execution

Document Discovery - Full Epic Loading

Strategy: Sprint planning needs ALL epics and stories to build complete status tracking.

Epic Discovery Process:

  1. Search for whole document first - Look for epics.md, bmm-epics.md, or any *epic*.md file
  2. Check for sharded version - If whole document not found, look for epics/index.md
  3. If sharded version found:
    • Read index.md to understand the document structure
    • Read ALL epic section files listed in the index (e.g., epic-1.md, epic-2.md, etc.)
    • Process all epics and their stories from the combined content
    • This ensures complete sprint status coverage
  4. Priority: If both whole and sharded versions exist, use the whole document

Fuzzy matching: Be flexible with document names - users may use variations like epics.md, bmm-epics.md, user-stories.md, etc.

<workflow> <step n="1" goal="Parse epic files and extract all work items"> <action>Load {project_context} for project-wide patterns and conventions (if exists)</action> <action>Communicate in {communication_language} with {user_name}</action> <action>Look for all files matching `{epics_pattern}` in {epics_location}</action> <action>Could be a single `epics.md` file or multiple `epic-1.md`, `epic-2.md` files</action>

<action>For each epic file found, extract:</action>

  • Epic numbers from headers like ## Epic 1: or ## Epic 2:
  • Story IDs and titles from patterns like ### Story 1.1: User Authentication
  • Convert story format from Epic.Story: Title to kebab-case key: epic-story-title

Story ID Conversion Rules:

  • Original: ### Story 1.1: User Authentication
  • Replace period with dash: 1-1
  • Convert title to kebab-case: user-authentication
  • Final key: 1-1-user-authentication

<action>Build complete inventory of all epics and stories from all epic files</action> </step>

<step n="2" goal="Build sprint status structure"> <action>For each epic found, create entries in this order:</action>
  1. Epic entry - Key: epic-{num}, Default status: backlog
  2. Story entries - Key: {epic}-{story}-{title}, Default status: backlog
  3. Retrospective entry - Key: epic-{num}-retrospective, Default status: optional

Example structure:

development_status:
  epic-1: backlog
  1-1-user-authentication: backlog
  1-2-account-management: backlog
  epic-1-retrospective: optional
</step> <step n="3" goal="Apply intelligent status detection"> <action>For each story, detect current status by checking files:</action>

Story file detection:

  • Check: {story_location_absolute}/{story-key}.md (e.g., stories/1-1-user-authentication.md)
  • If exists → upgrade status to at least ready-for-dev

Preservation rule:

  • If existing {status_file} exists and has more advanced status, preserve it
  • Never downgrade status (e.g., don't change done to ready-for-dev)
  • If existing {status_file} has an action_items section, carry it over unchanged

Status Flow Reference:

  • Epic: backlog → in-progress → done
  • Story: backlog → ready-for-dev → in-progress → review → done
  • Retrospective: optional ↔ done </step>
<step n="4" goal="Generate sprint status file"> <action>Create or update {status_file} with:</action>

File Structure:

# generated: {date}
# last_updated: {date}
# project: {project_name}
# project_key: {project_key}
# tracking_system: {tracking_system}
# story_location: {story_location}

# STATUS DEFINITIONS:
# ==================
# Epic Status:
#   - backlog: Epic not yet started
#   - in-progress: Epic actively being worked on
#   - done: All stories in epic completed
#
# Epic Status Transitions:
#   - backlog → in-progress: Automatically when first story is created (via create-story)
#   - in-progress → done: Manually when all stories reach 'done' status
#
# Story Status:
#   - backlog: Story only exists in epic file
#   - ready-for-dev: Story file created in stories folder
#   - in-progress: Developer actively working on implementation
#   - review: Ready for code review (via Dev's code-review workflow)
#   - done: Story completed
#
# Retrospective Status:
#   - optional: Can be completed but not required
#   - done: Retrospective has been completed
#
# Action Item Status:
#   - open: Committed during a retrospective, not yet addressed
#   - in-progress: Actively being worked on
#   - done: Completed
#
# WORKFLOW NOTES:
# ===============
# - Epic transitions to 'in-progress' automatically when first story is created
# - Stories can be worked in parallel if team capacity allows
# - Developer typically creates next story after previous one is 'done' to incorporate learnings
# - Dev moves story to 'review', then runs code-review (fresh context, different LLM recommended)
# - Retrospective appends its action items to action_items; sprint-status surfaces open ones

generated: { date }
last_updated: { date }
project: { project_name }
project_key: { project_key }
tracking_system: { tracking_system }
story_location: { story_location }

development_status:
  # All epics, stories, and retrospectives in order

<action>Write the complete sprint status YAML to {status_file}</action> <action>CRITICAL: Metadata appears TWICE - once as comments (#) for documentation, once as YAML key:value fields for parsing</action> <action>Ensure all items are ordered: epic, its stories, its retrospective, next epic...</action> <action>If the existing file had an action_items section, write it back unchanged after development_status</action> </step>

<step n="5" goal="Validate and report"> <action>Perform validation checks:</action>
  • [ ] Every epic in epic files appears in {status_file}
  • [ ] Every story in epic files appears in {status_file}
  • [ ] Every epic has a corresponding retrospective entry
  • [ ] No development_status items in {status_file} that don't exist in epic files
  • [ ] action_items section (if it existed) carried over unchanged
  • [ ] All status values are legal (match state machine definitions)
  • [ ] File is valid YAML syntax

<action>Count totals:</action>

  • Total epics: {{epic_count}}
  • Total stories: {{story_count}}
  • Epics in-progress: {{in_progress_count}}
  • Stories done: {{done_count}}

<action>Display completion summary to {user_name} in {communication_language}:</action>

Sprint Status Generated Successfully

  • File Location: {status_file}
  • Total Epics: {{epic_count}}
  • Total Stories: {{story_count}}
  • Epics In Progress: {{in_progress_count}}
  • Stories Completed: {{done_count}}

Next Steps:

  1. Review the generated {status_file}
  2. Use this file to track development progress
  3. Agents will update statuses as they work
  4. Re-run this workflow to refresh auto-detected statuses

<action>Run: python3 {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --key workflow.on_complete — if the resolved value is non-empty, follow it as the final terminal instruction before exiting.</action> </step>

</workflow>

Additional Documentation

Status State Machine

Epic Status Flow:

backlog → in-progress → done
  • backlog: Epic not yet started
  • in-progress: Epic actively being worked on (stories being created/implemented)
  • done: All stories in epic completed

Story Status Flow:

backlog → ready-for-dev → in-progress → review → done
  • backlog: Story only exists in epic file
  • ready-for-dev: Story file created (e.g., stories/1-3-plant-naming.md)
  • in-progress: Developer actively working
  • review: Ready for code review (via Dev's code-review workflow)
  • done: Completed

Retrospective Status:

optional ↔ done
  • optional: Ready to be conducted but not required
  • done: Finished

Action Item Status:

open → in-progress → done
  • open: Committed during a retrospective, not yet addressed
  • in-progress: Actively being worked on
  • done: Completed

Guidelines

  1. Epic Activation: Mark epic as in-progress when starting work on its first story
  2. Sequential Default: Stories are typically worked in order, but parallel work is supported
  3. Parallel Work Supported: Multiple stories can be in-progress if team capacity allows
  4. Review Before Done: Stories should pass through review before done
  5. Learning Transfer: Developer typically creates next story after previous one is done to incorporate learnings

Du fichier au premier essai

Le téléchargement contient exactement le contenu affiché sur cette fiche. Cette copie peut différer de la dernière version du dépôt source.

Consulter la source et ses fichiers annexes

Ce téléchargement contient uniquement SKILL.md. Les scripts, références, modèles et dépendances éventuels ne sont pas inclus. Récupérez les fichiers nécessaires depuis la source en conservant leur arborescence avant de poursuivre.

1. Télécharger le fichier

Télécharger SKILL.md

Depuis la racine d’un projet de test, enregistrez le fichier sous .skill-downloads/sprint-planning-workflow-mte1lgyu/SKILL.md, ou utilisez la commande suivante. Ce dossier sert à examiner la skill avant son installation.

Commande pour macOS/Linux ou WSL : un shell POSIX et curl sont nécessaires. Sous Windows sans WSL, utilisez le bouton de téléchargement et créez le dossier manuellement.

mkdir -p '.skill-downloads/sprint-planning-workflow-mte1lgyu' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/sprint-planning-workflow-mte1lgyu/download' --output '.skill-downloads/sprint-planning-workflow-mte1lgyu/SKILL.md.part' && mv '.skill-downloads/sprint-planning-workflow-mte1lgyu/SKILL.md.part' '.skill-downloads/sprint-planning-workflow-mte1lgyu/SKILL.md'

2. Vérifier les prérequis

Lisez SKILL.md avant de l’utiliser. Si le fichier cite des scripts ou services externes, examinez-les et préparez les accès nécessaires dans votre environnement de test.

Aucune section de prérequis reconnue dans ce fichier. Cela ne signifie pas qu’il est autonome : les bibliothèques, outils et accès peuvent être cités ailleurs dans le contenu ou dans le dépôt source.

Les plateformes de la fiche sont des indications du catalogue. Les chemins ci-dessous suivent la documentation des outils ; ils ne prouvent pas que cette skill y a été exécutée. Aucune version minimale de ces outils n’est attestée pour cette fiche.

3. Charger la skill

Après vérification, copiez le dossier complet dans le projet avec l’une des commandes ci-dessous, puis ouvrez une nouvelle session de l’outil. La commande s’arrête si un dossier du même nom existe déjà : comparez les fichiers avant de le remplacer.

Claude Code
test -f '.skill-downloads/sprint-planning-workflow-mte1lgyu/SKILL.md' && test -s '.skill-downloads/sprint-planning-workflow-mte1lgyu/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/bmad-sprint-planning' && cp -R '.skill-downloads/sprint-planning-workflow-mte1lgyu' '.claude/skills/bmad-sprint-planning'

OpenSkills

OpenSkills doit déjà être installé. La procédure locale install/read est contrôlée avec OpenSkills 1.5.0, qui exige Node.js ≥ 20.6.0. Aucun slug du catalogue n’est résolu automatiquement.

Installation officielle d’OpenSkills
openskills install './.skill-downloads/sprint-planning-workflow-mte1lgyu'

openskills read 'sprint-planning-workflow-mte1lgyu'

La lecture doit afficher le contenu du fichier installé et son dossier de base. Elle ne lance ni la skill ni ses dépendances.

Pour un agent qui lit AGENTS.md, synchronisez ensuite l’index. Cette commande modifie AGENTS.md : relisez le diff avant de l’utiliser.

openskills sync

Mode manuel ou autre outil : joignez SKILL.md à une conversation, ou ouvrez-le dans un agent capable de lire les fichiers. Ajoutez les ressources annexes nécessaires. Il n’existe pas de dossier universel reconnu par tous les outils.

4. Faire un premier essai

Utilisez une entrée courte et fictive : un endpoint d’API, un petit document ou un brief d’interface. Dans une nouvelle conversation, joignez le fichier ou donnez son chemin à l’agent, puis adaptez cette demande :

Lis .skill-downloads/sprint-planning-workflow-mte1lgyu/SKILL.md et applique ses instructions à cet exemple : [décrire une entrée de test]. Indique les fichiers, dépendances ou accès qui manquent. Produis le résultat demandé par la skill sans inventer de données ni exécuter de script non examiné.

Résultat attendu : une sortie correspondant aux instructions de la skill, ou une liste précise des prérequis manquants. Une simple confirmation de lecture ne valide pas le premier usage. Si une ressource externe est indisponible, ce parcours reste à tester.

Skills similaires