sprint
Automated sprint planning and execution from technical specifications (prompt generation, dependency planning, stateful execution)
安装与使用
请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。
查看来源 ↗使用指南技能说明
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-runGenerate plan without creating prompt files or state -
--from-existingAnalyze existing prompts in--output-dirinstead of generating from a spec -
--prompts LISTInclude only specific prompts (e.g.,001-005,010) -
--folder PATHOnly include prompts from this subfolder of--output-dir(e.g.,providers/) -
--exclude LISTExclude specific prompts (e.g.,003,007) -
--auto-executeExecute phases immediately, updating.sprint-state.json -
--models LISTComma-separated models (default:claude,codex,gemini) -
--max-parallel NMax concurrent prompts per phase (default:5) -
--worktreeUse worktree isolation when auto-executing -
--loopUse 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 -
--jsonPrint 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.jsonin the current directory unless--state-fileis provided. -
cancelis 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
使用示例
查看来源仓库中的使用示例与配置说明。
查看来源 ↗来源历史
- 收录时间
- 2026-01-20
- 索引更新时间
- 2026-01-26
- Branch
- main
收录与同步日期属于本站记录。源码修改历史请查看来源仓库。
GitHub ↗chat Comments (0)
Sign in to join the discussion and leave a comment.
No comments yet. Be the first to share your thoughts!