Add token budget reporting option to sprint-status command: - Update description to mention token budget report - Add token-budget-report.md to skills list - Add --tokens invocation option - Add workflow section for generating token report Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
91 lines
3.2 KiB
Markdown
91 lines
3.2 KiB
Markdown
---
|
|
description: Check current sprint progress, identify blockers, optionally generate dependency diagram or token budget report
|
|
---
|
|
|
|
# Sprint Status
|
|
|
|
## Skills Required
|
|
|
|
- skills/mcp-tools-reference.md
|
|
- skills/progress-tracking.md
|
|
- skills/dependency-management.md
|
|
- skills/sprint-lifecycle.md
|
|
- skills/token-budget-report.md
|
|
|
|
## Purpose
|
|
|
|
Check current sprint progress, identify blockers, and show execution status. Optionally generate a visual dependency diagram.
|
|
|
|
## Invocation
|
|
|
|
```
|
|
/sprint-status # Text-based status report
|
|
/sprint-status --diagram # Include Mermaid dependency diagram
|
|
/sprint-status --tokens # Show token budget estimation report
|
|
```
|
|
|
|
## Workflow
|
|
|
|
0. **Display Lifecycle State** - Read current Sprint/* state from milestone description per `skills/sprint-lifecycle.md` and display in output header.
|
|
1. **Fetch Sprint Issues** - Get all issues for current milestone
|
|
2. **Calculate Progress** - Count completed vs total issues
|
|
3. **Identify Active Tasks** - Find issues with `Status/In-Progress`
|
|
4. **Identify Blockers** - Find issues with `Status/Blocked`
|
|
5. **Show Dependency Status** - Which tasks are now unblocked
|
|
6. **Parse Progress Comments** - Extract real-time status from structured comments
|
|
|
|
### If --diagram flag:
|
|
|
|
7. **Fetch Dependencies** - Use `list_issue_dependencies` for each issue
|
|
8. **Get Execution Order** - Use `get_execution_order` for batch grouping
|
|
9. **Generate Mermaid Syntax** - Create flowchart with status colors
|
|
|
|
### If --tokens flag:
|
|
|
|
10. **Generate Token Budget Report** - Execute `skills/token-budget-report.md` estimation model
|
|
- Phase: STATUS (read-only snapshot, not a workflow boundary)
|
|
- List MCP servers from `.mcp.json` with static overhead estimates
|
|
- Show current session cost estimate based on skills loaded so far
|
|
- Display formatted report per the skill's Display Format section
|
|
|
|
## Output Format
|
|
|
|
See `skills/progress-tracking.md` for the progress display format.
|
|
|
|
### Diagram Format (--diagram)
|
|
|
|
```mermaid
|
|
flowchart TD
|
|
subgraph batch1["Batch 1 - No Dependencies"]
|
|
241["#241: sprint-diagram"]
|
|
242["#242: confidence threshold"]
|
|
end
|
|
|
|
classDef completed fill:#90EE90,stroke:#228B22
|
|
classDef inProgress fill:#FFD700,stroke:#DAA520
|
|
classDef open fill:#ADD8E6,stroke:#4682B4
|
|
classDef blocked fill:#FFB6C1,stroke:#CD5C5C
|
|
|
|
class 241 completed
|
|
class 242 inProgress
|
|
```
|
|
|
|
### Status Colors
|
|
|
|
| Status | Color | Hex |
|
|
|--------|-------|-----|
|
|
| Completed | Green | #90EE90 |
|
|
| In Progress | Yellow | #FFD700 |
|
|
| Open | Blue | #ADD8E6 |
|
|
| Blocked | Red | #FFB6C1 |
|
|
|
|
## Visual Output
|
|
|
|
```
|
|
╔══════════════════════════════════════════════════════════════════╗
|
|
║ 📋 PROJMAN ║
|
|
║ 📊 STATUS ║
|
|
║ [Sprint Name] ║
|
|
╚══════════════════════════════════════════════════════════════════╝
|
|
```
|