Planification et Exécution de Sprint Automatisées

VérifiéSûr

Convertit des spécifications techniques en fichiers de prompts, un plan d'exécution avec dépendances et un fichier d'état persistant pour des sprints multi-phases. Inclut des sous-commandes pour suivre l'avancement, ajouter ou supprimer des tâches, et une exécution automatique avec isolation via worktree et boucles de vérification.

Spar Skills Guide Bot
DeveloppementIntermédiaire
8002/06/2026
Claude Code
#sprint-planning#dependency-planning#prompt-generation#execution-automation#stateful-execution

Recommandé pour

Notre avis

Cette compétence transforme une spécification technique en prompts exécutables avec un plan de dépendances et un suivi d'état pour une exécution automatisée de sprints.

Points forts

  • Génération automatique de prompts à partir d'une spécification
  • Planification avec dépendances et exécution parallèle configurable
  • Gestion d'état persistante pour reprise et suivi de progression
  • Prise en charge de l'exécution automatique avec isolation et boucles de vérification

Limites

  • Nécessite une spécification technique détaillée pour une génération efficace
  • La configuration avancée (worktree, loops) peut être complexe
  • Dépend de l'outil /run-prompt de Claude Code pour l'exécution des prompts
Quand l'utiliser

Utilisez cette compétence lorsque vous avez une spécification technique claire et souhaitez automatiser la planification et l'exécution de tâches de développement en phases ordonnées.

Quand l'éviter

Évitez cette compétence pour des tâches simples ou ad hoc ne nécessitant pas de découpage en étapes avec dépendances, car la complexité initiale serait excessive.

Analyse de sécurité

Sûr
Score qualité85/100

The skill uses only standard development tools (git, jq, python3, file operations) and does not perform destructive actions beyond its declared purpose of managing sprint worktrees. No network exfiltration, obfuscated payloads, or system-wide destruction is indicated.

Aucun point d'attention détecté

Exemples

Plan sprint from a specification file
Start a sprint based on the technical specification in spec.txt and generate the prompt files and execution plan.
Execute sprint with existing prompts
Analyze the existing prompts in the prompts/ directory, generate a dependency plan, and auto-execute them with verification loops.
Resume a paused sprint
Resume the paused sprint execution from the last saved state.

name: sprint description: Automated sprint planning and execution from technical specifications (prompt generation, dependency planning, stateful execution) allowed-tools:

  • Bash(git:*)
  • Bash(jq:*)
  • Bash(npx cclimits:*)
  • Bash(python3:*)
  • Bash(find:*)
  • Bash(ls:*)
  • Bash(cat:*)
  • Bash(mkdir:*)
  • Bash(realpath:*)
  • Read
  • Write
  • Edit
  • Glob
  • Grep

Sprint Planning + Execution

This skill turns a technical specification into:

  • Prompt files (ready for /run-prompt)
  • A dependency-aware execution plan (sprint-plan.md)
  • A persistent state file (.sprint-state.json) for long-running execution

CLI

Main command

# From a spec (generates new prompts)
python3 skills/sprint/scripts/sprint.py <spec-file-or-text> [options]

# From existing prompts (no spec argument)
python3 skills/sprint/scripts/sprint.py --from-existing [options]

Options:

  • --output-dir DIR (default: ./prompts/) Where to write generated prompt files
  • --plan-file FILE (default: ./sprint-plan.md) Where to write the plan markdown
  • --dry-run Generate plan without creating prompt files or state
  • --from-existing Analyze existing prompts in --output-dir instead of generating from a spec
  • --prompts LIST Include only specific prompts (e.g., 001-005,010)
  • --folder PATH Only include prompts from this subfolder of --output-dir (e.g., providers/)
  • --exclude LIST Exclude specific prompts (e.g., 003,007)
  • --auto-execute Execute phases immediately, updating .sprint-state.json
  • --models LIST Comma-separated models (default: claude,codex,gemini)
  • --max-parallel N Max concurrent prompts per phase (default: 5)
  • --worktree Use worktree isolation when auto-executing
  • --loop Use verification loops when auto-executing
  • --max-iterations N (default: 3) Verification loop max iterations
  • --completion-marker TEXT (default: VERIFICATION_COMPLETE) Loop completion marker
  • --state-file FILE (default: .sprint-state.json) State file path
  • --json Print JSON output (plan + state summary)

Sub-commands

python3 skills/sprint/scripts/sprint.py status
python3 skills/sprint/scripts/sprint.py add "Implement caching layer"
python3 skills/sprint/scripts/sprint.py remove 005
python3 skills/sprint/scripts/sprint.py replan
python3 skills/sprint/scripts/sprint.py pause
python3 skills/sprint/scripts/sprint.py resume
python3 skills/sprint/scripts/sprint.py cancel --yes
python3 skills/sprint/scripts/sprint.py history

Notes:

  • Sub-commands operate on .sprint-state.json in the current directory unless --state-file is provided.
  • cancel is destructive for sprint-created worktrees (it removes worktree directories/branches recorded in state).

Examples

# Analyze all prompts in prompts/
python3 skills/sprint/scripts/sprint.py --from-existing --dry-run

# Only specific prompts
python3 skills/sprint/scripts/sprint.py --from-existing --prompts 001-005,010 --dry-run

# Only prompts in a subfolder
python3 skills/sprint/scripts/sprint.py --from-existing --folder providers/ --dry-run

# Exclude certain prompts
python3 skills/sprint/scripts/sprint.py --from-existing --exclude 003,007 --dry-run

# Combine with execution options
python3 skills/sprint/scripts/sprint.py --from-existing --worktree --loop --auto-execute
Skills similaires