// This skill orchestrates autonomous sprint execution by coordinating subagents to implement GitHub issues serially. It manages the full lifecycle: generating implementation plans via Gemini CLI, delegating implementation to subagents, reviewing PRs with Codex MCP, merging approved code, and running post-merge integration. Use this skill when asked to "run a sprint", "execute sprint issues", "implement issues autonomously", or "manage sprint workflow".
| name | sprint-manager |
| description | This skill orchestrates autonomous sprint execution by coordinating subagents to implement GitHub issues serially. It manages the full lifecycle: generating implementation plans via Gemini CLI, delegating implementation to subagents, reviewing PRs with Codex MCP, merging approved code, and running post-merge integration. Use this skill when asked to "run a sprint", "execute sprint issues", "implement issues autonomously", or "manage sprint workflow". |
To autonomously execute a sprint by coordinating the implementation of GitHub issues through a structured workflow that leverages subagents for isolated work and maintains a clean context window for sprint-level coordination.
Use this skill in the following situations:
gh CLI tool installed and authenticatedgemini CLI tool installed and authenticated (optional, for plan generation)issue-executor and change-integrator skills (or equivalent workflow)The sprint manager operates as a coordinator that delegates work to subagents:
Sprint Manager (main context)
│
├── For each issue:
│ ├── 1. Generate implementation plan (Gemini CLI or manual)
│ ├── 2. Create feature branch
│ ├── 3. Launch implementer subagent → creates PR
│ ├── 4. Review PR (Codex MCP)
│ ├── 5. Fix issues if needed (another subagent)
│ ├── 6. Merge on approval
│ └── 7. Launch integrator subagent → cleanup & retrospective
│
└── Report sprint summary
Identify sprint issues by querying the GitHub milestone:
gh issue list --milestone "Sprint X" --state open --json number,title,labels
Prioritize issues based on labels (P0 > P1 > P2) and dependencies
Track progress using the TodoWrite tool with all sprint issues
For each issue in priority order:
Option A - Use issue-executor skill (if Gemini available):
bash scripts/work-on-issue.sh <issue-number>
Option B - Manual plan generation:
gh issue view <number> --json title,bodydocs/specs/ or docs/changes/feat/<number>-<kebab-title>Launch a Task subagent with a comprehensive prompt including:
Select appropriate subagent type based on the issue:
backend-architect - API routes, database schemas, backend logicfrontend-developer - React components, UI, client-side codegeneral-purpose - Mixed or unclear scopeExample prompt structure (see references/implementer-prompt-template.md):
## Task: Implement GitHub Issue #<number> - <title>
You are working on branch `<branch-name>` in `<working-directory>`.
### Issue Summary
<brief description>
### Implementation Plan
<step-by-step plan from Gemini or manual>
### Project Conventions
<key conventions from CLAUDE.md>
### Your Deliverables
1. Implement the code
2. Run lint and tests
3. Commit with conventional commit message
4. Push and create PR
### Report Back
<what to return: PR URL, test results, issues encountered>
After subagent returns with PR URL:
mcp__codex__codex with prompt:
"Review PR #<number>: <title>
URL: <pr-url>
The PR implements: <summary>
Focus your review on: <relevant concerns>
Say APPROVED if ready to merge, or list issues with severity."
If Codex finds issues:
If Codex approves:
gh pr merge <number> --squash --auto
Wait for CI to pass, then verify merge:
gh pr view <number> --json state
Launch integrator subagent (see references/integrator-prompt-template.md):
After all issues are processed:
If the Gemini CLI fails during plan generation:
gh issue viewdocs/specs/ or docs/changes/If an implementer subagent fails:
If Codex MCP doesn't respond:
If merge fails due to conflicts:
See the references/ directory for detailed prompt templates:
references/implementer-prompt-template.md - Template for implementation subagentsreferences/integrator-prompt-template.md - Template for post-merge integration subagentsreferences/review-prompt-template.md - Template for Codex PR reviews