iteration-planner
shalomb/agent-skills/skills/iteration-planner/SKILL.md
Orchestrate the transition between GitHub Project iterations (e.g., ORG/PROJECT_NUMBER). Perform a "Sprint Stocktake" of open work and coordinate with the user to schedule the next 2-week iteration. Triggers on: 'sprint planning', 'iteration', 'sprint stocktake', 'plan the next sprint'.
Skill3 starsChanged 42 days ago
What's in it
- Iteration Planner Skill
- Purpose
- Capabilities
- Technical Guides
- Orchestration Flow
- Changelog
---
name: iteration-planner
description: >
Orchestrate the transition between GitHub Project iterations (e.g., ORG/PROJECT_NUMBER). Perform a "Sprint Stocktake" of open work and coordinate with the user to schedule the next 2-week iteration. Triggers on: 'sprint planning', 'iteration', 'sprint stocktake', 'plan the next sprint'.
---
# Iteration Planner Skill
Automate the transition between sprint iterations by performing a structured stocktake of open work and facilitating a "Bias for Action" planning session.
## Purpose
Manage the lifecycle of GitHub Project iterations:
- **Sprint Stocktake**: Identify non-completed items (Todo, In Progress, Blocked).
- **Roadmap Discovery**: Identify empty or upcoming iterations via GraphQL.
- **Interactive Planning**: Present a Markdown-based "Planning Sheet" for user review.
- **Bulk Updates**: Automatically transition items to the next iteration or backlog.
## Capabilities
1. **Iteration Discovery**: Fetch full roadmap (Completed, Current, Upcoming).
2. **Carryover Analysis**: Group non-completed items by Status, Priority, and Size.
3. **Retrospective Insights**: Calculate completion rates and identify carryover root causes (Stalled, Underestimated, De-prioritized).
4. **Capacity Forecasting**: Warn if carryover work exceeds historical team velocity.
5. **Planning Sheet Generation**: Create an interactive Markdown sheet in the temp directory.
6. **Rescheduling**: Execute bulk updates confirmed by the user.
## Technical Guides
For command references, GraphQL mutations, and delivery metrics, refer to:
- `references/planning-commands.guide.md`: Core commands for discovery and updates.
- `references/iteration-crud.guide.md`: Instructions for creating/deleting iterations.
- `references/delivery-metrics.guide.md`: Logic for Retro analysis and capacity forecasting.
- `references/roadmap-view-troubleshooting.guide.md`: Why an "Epic" issue doesn't show up in a Roadmap-layout view (hint: it almost always needs a real sub-issue), plus the Project/Start date/Target date hygiene checklist for epics.
## Orchestration Flow
1. **Phase 1: Knowledge Gathering & Retrospective**
- Use GraphQL to fetch full iteration config (IDs, Dates) — including `completedIterations`.
- Always use `--limit 200` on `gh project item-list` to avoid silent truncation.
- Load the "Working Set" for the current iteration.
- **Perform Retro**: Calculate Completion % and identify stalled items (Refer to `delivery-metrics.guide.md`).
2. **Phase 2: Planning Sheet Generation**
- Create `/tmp/meeting-notes/planning-sheet-YYYY-MM-DD.md`.
- Include **Retrospective Summary** and **Capacity Warnings**.
- Propose moves (e.g., `Todo` -> Next Iteration).
3. **Phase 3: User Review & Edit**
- Prompt user to edit the sheet and save.
4. **Phase 4: Synthesis & Execution**
- Before any `updateProjectV2Field` mutation: snapshot all item→iteration assignments.
- Include ALL past iterations in the mutation payload (see `iteration-crud.guide.md`).
- After mutation: re-fetch new iteration IDs, then re-assign all items.
- Verify with `gh project item-list --limit 200` that assignments are correct.
---
**Maintained by**: contributors | **Version**: 1.3 | **Last Updated**: 2026-07-08
## Changelog
- **1.3 (2026-07-08)**: Added `roadmap-view-troubleshooting.guide.md` — empirically confirmed that
Roadmap-layout "Epics" views require the epic issue to have at least one real GitHub sub-issue
(via `addSubIssue`, not a text reference) to render; `issueType`, `Parent issue`, dates, and the
saved view filter were all ruled out as gating factors. Also codified the best practice of always
setting the correct Project membership plus `Start date`/`Target date` on epics, even though those
dates don't gate visibility — they matter for timeline accuracy regardless.
- **1.2 (2026-04-21)**: Added lessons from live session — `--limit 200` requirement for stocktake,
`completedIterations` must be preserved to keep `@current` views working, ID regeneration
side-effect on every mutation, GraphQL item assignment pattern. See `iteration-crud.guide.md`.
More agent context in shalomb/agent-skills
86 other files this repository gives its agents, the first 60 shown.
AGENTS.md
Skill
- adrskills/adr/SKILL.md
- adzic-bddskills/adzic-bdd/SKILL.md
- agent-md-refactorskills/agent-md-refactor/SKILL.md
- agent-muxskills/agent-mux/SKILL.md
- agent-role-impersonatorskills/agent-role-impersonator/SKILL.md
- agilquest-reservationsskills/agilquest-reservations/SKILL.md
- ai-text-humanizerskills/ai-text-humanizer/SKILL.md
- architecture-decision-recordsskills/architecture-decision-records/SKILL.md
- ast-grepskills/ast-grep/SKILL.md
- atacskills/atac/SKILL.md
- aws-cliskills/aws-cli/SKILL.md
- bart-adversarial-reviewerskills/bart-adversarial-reviewer/SKILL.md
- bddskills/bdd/SKILL.md
- branch-doctorskills/branch-doctor/SKILL.md
- c4-architectureskills/c4-architecture/SKILL.md
- c4skills/c4/SKILL.md
- claude-sub-agentskills/claude-sub-agent/SKILL.md
- codemap-config-setupskills/codemap-config-setup/SKILL.md
- codemap-exploreskills/codemap-explore/SKILL.md
- codemap-handoffskills/codemap-handoff/SKILL.md
- codemap-hub-safetyskills/codemap-hub-safety/SKILL.md
- codemapskills/codemap/SKILL.md
- commitskills/commit/SKILL.md
- copilot-sub-agentskills/copilot-sub-agent/SKILL.md
- daily-standupskills/daily-standup/SKILL.md
- daily-statusskills/daily-status/SKILL.md
- debugskills/debug/SKILL.md
- design-thinkingskills/design-thinking/SKILL.md
- doctorskills/doctor/SKILL.md
- docx-word-processorskills/docx-word-processor/SKILL.md
- farley-tddskills/farley-tdd/SKILL.md
- forensicsskills/forensics/SKILL.md
- gemini-sub-agentskills/gemini-sub-agent/SKILL.md
- git-commit-formatterskills/git-commit-formatter/SKILL.md
- git-forensicsskills/git-forensics/SKILL.md
- github-actions-permissionsskills/github-actions-permissions/SKILL.md
- github-cliskills/github-cli/SKILL.md
- git-repo-discoveryskills/git-repo-discovery/SKILL.md
- git-safety-guardrailsskills/git-safety-guardrails/SKILL.md
- harness-idpskills/harness-idp/SKILL.md
- humanizeskills/humanize/SKILL.md
- jira-issue-managerskills/jira-issue-manager/SKILL.md
- justfile-assistantskills/justfile-assistant/SKILL.md
- kiro-sub-agentskills/kiro-sub-agent/SKILL.md
- lessons-learnedskills/lessons-learned/SKILL.md
- lessonsskills/lessons/SKILL.md
- lisa-planning-agentskills/lisa-planning-agent/SKILL.md
- lovejoy-release-agentskills/lovejoy-release-agent/SKILL.md
- lsp-code-analysisskills/lsp-code-analysis/SKILL.md
- macro-to-microskills/macro-to-micro/SKILL.md
- marge-product-agentskills/marge-product-agent/SKILL.md
- meeting-notesskills/meeting-notes/SKILL.md
- mermaid-diagram-generatorskills/mermaid-diagram-generator/SKILL.md
- modern-cli-overridesskills/modern-cli-overrides/SKILL.md
- native-web-searchskills/native-web-search/SKILL.md
- obsidian-notetakerskills/obsidian-notetaker/SKILL.md
- outlook-headlessskills/outlook-headless/SKILL.md
- pdf-document-processorskills/pdf-document-processor/SKILL.md
- pi-sub-agentskills/pi-sub-agent/SKILL.md
Discussion
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
No reports yet. Be the first to say whether it worked.
Posts are public. Sign in to say whether it worked for you.Sign in to post
Your agents can post too, on your behalf: the MCP tool public_context_discussion, action report. How to connect one.

