kiro-debug
Investigate implementation failures using root-cause-first debugging. Use when an implementer is blocked, verification fails, or repeated remediation does not…
Create complete specs (requirements, design, tasks) for all features in roadmap.md using parallel sub-agent dispatch by dependency wave.
$ npx -y skills add gotalab/cc-sdd --skill kiro-spec-batch --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/kiro-spec-batchContext preview
The summary Claude sees to decide when to auto-load this skill.
Create complete specs (requirements, design, tasks) for all features in roadmap.md using parallel sub-agent dispatch by dependency wave.
name: kiro-spec-batch description: Create complete specs (requirements, design, tasks) for all features in roadmap.md using parallel sub-agent dispatch by dependency wave.
<background_information>
</background_information>
<instructions>
1. Read `{{KIRO_DIR}}/steering/roadmap.md` 2. Parse the `## Specs (dependency order)` section to extract:
3. If present, also read for context:
Do not include these in dependency-wave execution; they are awareness-only inputs for sequencing and consistency review. 4. For each pending feature in `## Specs (dependency order)`, verify `{{KIRO_DIR}}/specs/<feature>/brief.md` exists 5. If any brief.md is missing, stop and report: "Missing brief.md for: [list]. Run `/kiro-discovery` to generate briefs first."
Group pending features into waves based on dependencies:
Display the execution plan:
Spec Batch Plan: Wave 1 (parallel): app-foundation Wave 2 (parallel): block-editor, page-management Wave 3 (parallel): sidebar-navigation, database-views Wave 4 (parallel): cli-integration Total: 6 specs across 4 waves
If roadmap contains `## Existing Spec Updates` or `## Direct Implementation Candidates`, mention them separately as non-batch items so the user can see the whole decomposition.
For each wave, dispatch all features in the wave as **parallel sub-agents**.
**For each feature in the wave**, spawn a sub-agent with this task:
Create a complete specification for feature "{feature-name}".
1. Read the brief at {{KIRO_DIR}}/specs/{feature-name}/brief.md for feature context
2. Read the roadmap at {{KIRO_DIR}}/steering/roadmap.md for project context
3. Execute the full spec pipeline. For each phase, read the corresponding skill's SKILL.md for complete instructions (templates, rules, review gates):
a. Initialize: Read .agent/skills/kiro-spec-init/SKILL.md, then create spec.json and requirements.md
b. Generate requirements: Read .agent/skills/kiro-spec-requirements/SKILL.md, then follow its steps
c. Generate design: Read .agent/skills/kiro-spec-design/SKILL.md, then follow its steps
d. Generate tasks: Read .agent/skills/kiro-spec-tasks/SKILL.md, then follow its steps
4. Set all approvals to true in spec.json (auto-approve mode, equivalent of -y flag)
5. Report completion with file list and task countAntigravity does not support programmatic sub-agent dispatch. Execute features in the wave sequentially in the main context.
**After all sub-agents in the wave complete**: 1. Verify each feature has: spec.json, requirements.md, design.md, tasks.md 2. If any feature failed, report the error and continue with features that succeeded 3. Display wave completion: "Wave N complete: [features]. Files verified." 4. Proceed to next wave
After all waves complete, perform a cross-spec consistency review. This is the highest-value quality gate -- it catches issues that per-spec review gates cannot.
Read ALL generated specs and check for consistency across the entire project:
Reading priority: Focus on design.md files (they contain interfaces, data models, architecture). For requirements.md, focus on section headings and acceptance criteria. For tasks.md, focus on _Boundary:_ annotations.
Check: 1. **Data model consistency**: Same entities defined consistently across specs (field names, types, relationships) 2. **Interface alignment**: Where spec A outputs what spec B consumes, do contracts match exactly? 3. **No duplicate functionality**: Any capability specified in more than one spec? 4. **Dependency completeness**: Every design.md references correct upstream specs? Implicit dependencies not in roadmap? 5. **Naming conventions**: Component names, file paths, API routes, table names consistent across specs? 6. **Shared infrastructure**: Shared concerns (auth, error handling, logging) handled in one spec and correctly referenced? 7. **Task boundary alignment**: Task _Boundary:_ annotations partition codebase cleanly? No files claimed by multiple specs? 8. **Roadmap boundary continuity**: If roadmap includes `Existing Spec Updates` or `Direct Implementation Candidates`, do the generated new specs avoid absorbing that work by accident? 9. **Architecture boundary integrity**: Do the specs preserve clean responsibility seams, avoid shared ownership, keep dependency direction coherent, and include enough revalidation triggers to catch downstream impact? 10. **Change-friendly decomposition**: Has any spec absorbed multiple independent seams that should probably be split instead of kept together?
Output: CONSISTENT areas
Repo: gotalab/cc-sdd
Investigate implementation failures using root-cause-first debugging. Use when an implementer is blocked, verification fails, or repeated remediation does not…
Entry point for new work. Determines the best action path or work decomposition (update existing spec, create new spec, mixed decomposition, or no spec needed)…
Implement approved tasks using TDD with subagent dispatch. Runs all pending tasks autonomously or selected tasks manually.
Review a task implementation against approved specs, task boundaries, and verification evidence. Use after an implementer finishes a task, after remediation,…
Create comprehensive technical design for a specification
Initialize a new specification with detailed project description