Create complete specs (requirements, design, tasks) for all features in roadmap.md using parallel sub-agent dispatch by dependency wave.
<background_information>
## Specs (dependency order) parsing{{KIRO_DIR}}/steering/roadmap.md## Specs (dependency order) section to extract:
[x] = done, [ ] = pending)## Existing Spec Updates## Direct Implementation Candidates
Do not include these in dependency-wave execution; they are awareness-only inputs for sequencing and consistency review.## Specs (dependency order), verify {{KIRO_DIR}}/specs/<feature>/brief.md exists/kiro-discovery to generate briefs first."Group pending features into waves based on dependencies:
[x])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 wavesIf 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.
Before dispatch, resolve ../kiro-spec-init/SKILL.md, ../kiro-spec-requirements/SKILL.md, ../kiro-spec-design/SKILL.md, and ../kiro-spec-tasks/SKILL.md relative to this skill’s installed directory. Pass their absolute paths in the prompt below so the worker does not need the parent’s skill-location context.
For each feature in the wave, spawn a sub-agent with this task:
Create a complete specification for feature "{feature-name}".
Bind the feature argument in each phase to "{feature-name}" (including `$1` or `{feature}` references). This batch uses the existing fast-track mode: supply `-y` to design and tasks before entering their approval checks. Required phase review gates still apply.
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: If spec.json already exists, reuse that spec without reinitializing or renaming it. Otherwise read {spec-init-skill-path}; use the brief as the project description and initialize spec.json and requirements.md in the existing brief directory. Later phases may update their own artifacts.
b. Generate requirements: Read {spec-requirements-skill-path} and execute for feature "{feature-name}"
c. Generate design: Read {spec-design-skill-path} and execute with arguments "{feature-name} -y", including required design review
d. Generate tasks: Read {spec-tasks-skill-path} and execute with arguments "{feature-name} -y", including required task review
4. Let each successful phase record its approvals through its documented fast-track flow. If a phase review fails or needs human input, stop this feature and report the blocker; do not force its approvals to true
5. Report completion with file list and task countIf native subagent tools are unavailable or disabled in the current Antigravity session, execute features in the wave sequentially in the main context and report that no parallel subagents were used.
After all sub-agents in the wave complete:
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:
{{KIRO_DIR}}/specs/*/design.md (primary: contains interfaces, data models, architecture){{KIRO_DIR}}/specs/*/requirements.md (for scope and acceptance criteria){{KIRO_DIR}}/specs/*/tasks.md (for boundary annotations only -- read Boundary: lines, skip task descriptions){{KIRO_DIR}}/steering/roadmap.mdReading 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:
Existing Spec Updates or Direct Implementation Candidates, do the generated new specs avoid absorbing that work by accident?Output: CONSISTENT areas + ISSUES with (which specs, what's inconsistent, suggested fix).
After the review completes:
{{KIRO_DIR}}/specs/*/tasks.md to verify all specs exist[x]Existing Spec Updates or Direct Implementation Candidates, leave them untouched and mention them as remaining follow-up items unless already explicitly completed elsewhereDisplay final summary:
Spec Batch Complete:
✓ app-foundation: X requirements, Y design components, Z tasks
✓ block-editor: ...
✓ page-management: ...
...
Total: N specs created, M tasks generated
Cross-spec review: PASSED / N issues found (M fixed)
Existing spec updates pending: <count or none>
Direct implementation candidates pending: <count or none>
Next: Review generated specs, then start implementation with /kiro-impl <feature>[x] in roadmap.md or existing tasks.md are skipped.## Specs (dependency order) remains authoritative for batch execution: Other roadmap sections are context, not wave inputs.Sub-agent failure:
/kiro-spec-quick <feature> --auto manually for failed features."Circular dependencies:
Roadmap not found:
/kiro-discovery first."All specs already complete:
e2a0c67
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.