Interactive sprint planning workflow that analyzes backlog, calculates capacity, applies prioritization, and creates a sprint plan with board setup
Facilitates comprehensive sprint planning by analyzing backlog, calculating team capacity, prioritizing issues, and creating a complete sprint plan with GitHub Project board setup.
/plugin marketplace add C0ntr0lledCha0s/claude-code-plugin-automations/plugin install project-manager@claude-code-plugin-automations[sprint-name]Facilitates comprehensive sprint planning by analyzing the backlog, calculating team capacity, prioritizing issues, and creating a complete sprint plan with GitHub Project board setup.
$1: Sprint name or number (e.g., "Sprint-6", "sprint-15", "2025-03-sprint-01")
When this command is invoked with /project-manager:plan-sprint [sprint-name]:
Determine Sprint Name:
$1 provided: Use as sprint nameGather Current State:
# Check repository status
gh repo view --json name,description
# List all open issues
gh issue list --limit 100 --json number,title,labels,state,body,milestone
# Check current sprint status if exists
gh project list
Calculate Historical Velocity:
.claude-project/sprints/Determine Team Capacity:
Invoke planning-sprints Skill:
Analyze Backlog Items:
Apply Prioritization:
Estimate Unestimated Items:
Define Sprint Goal:
Select Issues for Sprint:
Balance Sprint Composition:
Delegate Board Setup to workflow-orchestrator:
Use Task tool to invoke workflow-orchestrator agent:
"Create GitHub Project board for [sprint-name] with the following configuration:
- Template: sprint
- Issues: [list of selected issue numbers]
- Custom fields:
- Status (To Do, In Progress, In Review, Done)
- Priority (High, Medium, Low)
- Story Points
- Sprint: [sprint-name]
- Sprint goal: [user-defined goal]
"
Organize Board:
Create Sprint Plan Document:
cp planning-sprints/templates/sprint-plan-template.md .claude-project/sprints/$1-plan.md
Create Sprint Tracking Structure:
mkdir -p .claude-project/sprints/$1/
touch .claude-project/sprints/$1/daily-notes.md
touch .claude-project/sprints/$1/blockers.md
touch .claude-project/sprints/$1/retrospective.md
Quality Check:
"Review this sprint plan for completeness, realistic scope, and quality"
Generate Summary Report:
/project-manager:plan-sprint Sprint-6
Expected behavior:
.claude-project/sprints/Sprint-6-plan.md/project-manager:plan-sprint
Expected behavior:
.claude-project/sprints//project-manager:plan-sprint 2025-03-sprint-01
Expected behavior:
gh) must be installed and authenticatedThis command delegates to:
.claude-project/sprints/Users can customize:
During execution, this command will prompt the user for:
Team Capacity:
"Sprint Planning - Team Capacity
How many people on the team? [Number]
Sprint duration in days? [Default: 10 for 2-week sprint]
Any PTO or holidays during sprint? [List dates or 'none']
Average hours per person per day? [Default: 5-6]
"
Sprint Goal:
"Sprint Planning - Sprint Goal
What is the ONE primary objective for this sprint?
(Example: 'Complete user authentication system')
Sprint Goal: [User input]
Define 2-3 success criteria:
1. [User input]
2. [User input]
3. [User input]
"
Issue Selection Confirmation:
"Recommended Sprint Scope:
Based on capacity of [X] points, I recommend these [Y] issues:
[List of issues with titles and points]
Total: [Z] points ([P]% of capacity)
Options:
1. Proceed with this scope
2. Add more issues (will show next highest priority)
3. Remove issues (will ask which ones)
4. Manual selection (interactive selection)
Choice: [User input]
"
❌ Error: No open issues found in repository.
Sprint planning requires open issues in the backlog.
Next steps:
1. Create issues for work that needs to be done
2. Ensure issues have clear descriptions and acceptance criteria
3. Run /project-manager:plan-sprint again
❌ Error: GitHub CLI (gh) not found or not authenticated.
Please install and authenticate:
1. Install: https://cli.github.com/
2. Authenticate: gh auth login
3. Run /project-manager:plan-sprint again
❌ Error: Sprint name "$1" contains invalid characters.
Sprint names should:
- Use lowercase-hyphens or numbers
- Examples: "sprint-6", "2025-03-sprint-01", "iteration-15"
- Avoid: Spaces, special characters (except hyphens)
Usage: /project-manager:plan-sprint [valid-sprint-name]
⚠️ Warning: Only [X] story points in backlog, but capacity is [Y] points.
Options:
1. Proceed with available work ([X] points)
2. Create more issues to fill sprint
3. Reduce sprint duration
4. Cancel planning
Recommendation: Create more issues or adjust sprint length.
✅ Sprint Planned Successfully!
📋 Sprint: [Sprint Name]
📅 Dates: [Start Date] - [End Date]
🎯 Goal: [Sprint Goal]
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
📊 Sprint Metrics:
- Team Size: [X] people
- Duration: [Y] days
- Capacity: [Z] story points
- Committed: [W] story points ([P]% utilization)
📦 Sprint Scope:
- [N] issues selected
- Features: [X] points ([Y]%)
- Bugs: [X] points ([Y]%)
- Tech Debt: [X] points ([Y]%)
🔗 Resources:
- Project Board: [GitHub Project URL]
- Sprint Plan: .claude-project/sprints/[sprint-name]-plan.md
- Tracking Docs: .claude-project/sprints/[sprint-name]/
⚠️ Identified Risks:
- [Risk 1]
- [Risk 2]
📝 Next Steps:
1. Review sprint plan with team
2. Conduct sprint kickoff meeting
3. Begin work on highest priority items
4. Update board daily
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
Sprint planning completed in [X] seconds.