- New skill: token-budget-report.md with MCP overhead and skill loading estimation model based on known file sizes and static overhead tables - Sprint-plan displays token report after planning complete - Sprint-close displays token report after lessons captured - Visual-output.md updated with token report format - .gitignore exception for token-budget-report.md (not API tokens) Helps identify which phases and components consume the most context budget. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
3.8 KiB
3.8 KiB
description, agent
| description | agent |
|---|---|
| Complete sprint and capture lessons learned to Gitea Wiki | orchestrator |
Close Sprint and Capture Lessons Learned
Skills Required
- skills/mcp-tools-reference.md
- skills/lessons-learned.md
- skills/wiki-conventions.md
- skills/rfc-workflow.md
- skills/progress-tracking.md
- skills/git-workflow.md
- skills/sprint-lifecycle.md
- skills/token-budget-report.md
Purpose
Complete the sprint, capture lessons learned to Gitea Wiki, and update documentation. This is critical for preventing repeated mistakes across sprints.
Invocation
Run /sprint-close when sprint work is complete.
Workflow
Execute the sprint close workflow:
- Check Lifecycle State - Execute
skills/sprint-lifecycle.mdcheck protocol. ExpectSprint/Reviewing. Clear all Sprint/* labels (return to idle) at the END of close workflow, after all other steps. Warn if in wrong state (allow with--force). - Review Sprint Completion - Verify issues closed or moved to backlog
- Capture Lessons Learned - Interview user about challenges and insights
- Tag for Discoverability - Apply technology, component, and pattern tags
- Save to Gitea Wiki - Use
create_lessonwith metadata and implementation link - Update Wiki Implementation Page - Change status to Implemented/Partial/Failed
- Update Wiki Proposal Page - Update overall status if all implementations complete
- Update RFC Status (if applicable) - See RFC Update section below
- New Command Verification - Remind user new commands require session restart
- Update CHANGELOG (MANDATORY) - Add changes to
[Unreleased]section - Version Check - Run
/suggest-versionto recommend version bump - Git Operations - Commit, merge, tag, clean up branches
- Close Milestone - Update milestone state to closed
RFC Status Update (Step 7)
If the sprint was linked to an RFC:
-
Check Sprint Completion Status:
- All issues completed → RFC status = Implemented
- Partial completion → RFC status stays Implementing (note progress)
- Blocked/Failed → RFC status reverts to Draft (with notes)
-
Update RFC Page (if Implemented):
- Change status: Implementing → Implemented
- Add Completion section with date and release version
- Link to lessons learned page
update_wiki_page( page_name="RFC-NNNN:-Title", content="[content with Implemented status and completion details]", repo="org/repo" ) -
Update RFC-Index:
- Remove from "## Implementing" section
- Add to "## Implemented" section with completion date and release
-
Handle Partial Completion:
- Keep RFC in Implementing status
- Add progress notes to Implementation section
- Next sprint can continue the work
Don't skip lessons learned! Future sprints will benefit from captured insights.
Visual Output
╔══════════════════════════════════════════════════════════════════╗
║ 📋 PROJMAN ║
║ 🏁 CLOSING ║
║ [Sprint Name] ║
╚══════════════════════════════════════════════════════════════════╝
Final Step: Token Budget Report
After displaying the closing summary and completing all workflow steps, generate a Token Budget Report per skills/token-budget-report.md.
- Phase: CLOSING
- List all skills that were loaded during this closing session
- Use the orchestrator agent's model (sonnet) for agent overhead
- Display the formatted report