2.7 KiB
2.7 KiB
| description | allowed-tools | argument-hint |
|---|---|---|
| Show specification status and progress | Bash, Read, Glob, Write, Edit, MultiEdit, Update | <feature-name> |
Specification Status
<background_information>
- Mission: Display comprehensive status and progress for a specification
- Success Criteria:
- Show current phase and completion status
- Identify next actions and blockers
- Provide clear visibility into progress </background_information>
Execution Steps
Step 1: Load Spec Context
- Read
.kiro/specs/$1/spec.jsonfor metadata and phase status - Read existing files:
requirements.md,design.md,tasks.md(if they exist) - Check
.kiro/specs/$1/directory for available files
Step 2: Analyze Status
Parse each phase:
- Requirements: Count requirements and acceptance criteria
- Design: Check for architecture, components, diagrams
- Tasks: Count completed vs total tasks (parse
- [x]vs- [ ]) - Approvals: Check approval status in spec.json
Step 3: Generate Report
Create report in the language specified in spec.json covering:
- Current Phase & Progress: Where the spec is in the workflow
- Completion Status: Percentage complete for each phase
- Task Breakdown: If tasks exist, show completed/remaining counts
- Next Actions: What needs to be done next
- Blockers: Any issues preventing progress
Critical Constraints
- Use language from spec.json
- Calculate accurate completion percentages
- Identify specific next action commands
Tool Guidance
- Read: Load spec.json first, then other spec files as needed
- Parse carefully: Extract completion data from tasks.md checkboxes
- Use Glob to check which spec files exist
Output Description
Provide status report in the language specified in spec.json:
Report Structure:
- Feature Overview: Name, phase, last updated
- Phase Status: Requirements, Design, Tasks with completion %
- Task Progress: If tasks exist, show X/Y completed
- Next Action: Specific command to run next
- Issues: Any blockers or missing elements
Format: Clear, scannable format with emojis (✅/⏳/❌) for status
Safety & Fallback
Error Scenarios
Spec Not Found:
- Message: "No spec found for
$1. Check available specs in.kiro/specs/" - Action: List available spec directories
Incomplete Spec:
- Warning: Identify which files are missing
- Suggested Action: Point to next phase command
List All Specs
To see all available specs:
- Run with no argument or use wildcard
- Shows all specs in
.kiro/specs/with their status