技能 编程开发 规格说明书状态跟踪

规格说明书状态跟踪

v20260427
kiro-spec-status
该工具用于生成一份规格说明书的综合状态报告。它整合了需求、设计、任务、路线图等多个文件的数据,清晰展示当前阶段进度、任务完成度,并特别关注边界上下文、依赖关系和潜在的重验证需求,帮助项目团队实时了解规格的完整性和开发进展。
获取技能
492 次下载
概览

Specification Status

<background_information>

  • Success Criteria:
    • Show current phase and completion status
    • Identify next actions and blockers
    • Provide clear visibility into progress
    • Surface boundary readiness, upstream/downstream context, and likely revalidation needs when available </background_information>
## Execution Steps

Step 1: Load Spec Context

  • Read {{KIRO_DIR}}/specs/$1/spec.json for metadata and phase status
  • Read {{KIRO_DIR}}/specs/$1/brief.md if it exists
  • Read existing files: requirements.md, design.md, tasks.md (if they exist)
  • Check {{KIRO_DIR}}/specs/$1/ directory for available files
  • Read {{KIRO_DIR}}/steering/roadmap.md if it exists and this spec appears in it

Step 2: Analyze Status

Parse each phase:

  • Requirements: Count requirements and acceptance criteria
  • Design: Check for architecture, components, diagrams, and whether boundary sections are present
  • Tasks: Count completed vs total tasks (parse - [x] vs - [ ])
  • Approvals: Check approval status in spec.json
  • Boundary context:
    • From brief.md: note Boundary Candidates, Upstream / Downstream, and Existing Spec Touchpoints if present
    • From design.md: note Boundary Commitments, Out of Boundary, Allowed Dependencies, and Revalidation Triggers if present
    • From roadmap.md: note upstream dependencies and whether this spec is adjacent to Existing Spec Updates
  • Revalidation watchlist:
    • Identify downstream specs, neighboring existing-spec updates, or rollout-sensitive design notes that may need revalidation if this spec changes
    • Call out when the current spec shape looks too broad and may want roadmap/design splitting instead of more local repair

Step 3: Generate Report

Create report in the language specified in spec.json covering:

  1. Current Phase & Progress: Where the spec is in the workflow
  2. Completion Status: Percentage complete for each phase
  3. Task Breakdown: If tasks exist, show completed/remaining counts
  4. Boundary Context: Upstream/downstream, out-of-boundary, and allowed dependency notes when available
  5. Revalidation Watchlist: Downstream or adjacent work likely affected by changes to this spec
  6. Next Actions: What needs to be done next
  7. Blockers: Any issues preventing progress

Safety & Fallback

Error Scenarios

Spec Not Found:

  • Message: "No spec found for $1. Check available specs in {{KIRO_DIR}}/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_DIR}}/specs/ with their status
信息
Category 编程开发
Name kiro-spec-status
版本 v20260427
大小 2.87KB
更新时间 2026-04-28
语言