kiro-debug
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) and refines ideas through structured dialogue.
$ npx -y skills add gotalab/cc-sdd --skill kiro-discovery --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/kiro-discoveryContext preview
The summary Claude sees to decide when to auto-load this skill.
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) and refines ideas through structured dialogue.
name: kiro-discovery description: 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) and refines ideas through structured dialogue.
<background_information>
</background_information>
<instructions>
Gather **only metadata** to determine the action path. Do NOT read full file contents yet.
This step should consume minimal context. If `specs/` is empty and no steering exists, note "greenfield project" and move to Step 2.
Based on the user's request and the metadata from Step 1, determine which path applies:
**Path A: Existing spec covers this**
**Path B: No spec needed**
**Path C: New single-scope feature**
**Path D: Multi-scope decomposition needed**
**Path E: Mixed decomposition**
For Path C/D/E, present the determined path (or mixed decomposition) to the user and confirm before proceeding. For Path A/B, recommend the next action and stop.
**Only for Path C, D, and E.** Now load the context needed for discovery.
**In main context** (essential for dialogue with user):
**Delegate to sub-agent** (keeps exploration out of main context):
**Context budget**: Keep total content loaded into main context under ~500 lines. The sub-agent handles the heavy exploration.
Ask clarifying questions **sequentially** (not all at once), prioritizing boundary discovery over feature detail:
1. **Who and why**: Who has the problem? What pain does it cause? 2. **Desired outcome**: What should be true when this is done? 3. **Boundary candidates**: What are the natural responsibility seams in this work? Where could this be split so implementation can proceed independently? 4. **Out of boundary**: What should this spec explicitly NOT own, even if related? 5. **Existing vs new**: Which parts seem like extensions to existing specs, and which parts look like genuinely new boundaries? 6. **Upstream / downstream**: What existing systems, specs, or components does this depend on? What future work is likely to depend on this? 7. **Constraints**: Are there technology, timeline, or compatibility constraints?
Ask only questions whose answers you cannot infer from the context already loaded. Skip questions that steering documents already answer. If the user already provided a clear description, skip to Step 5. The goal is NOT to assign final owners yet. The goal is to discover the cleanest responsibility boundaries that can later become specs, tasks, and review scopes.
Propose **2-3 concrete approaches** with trade-offs:
For each approach:
If technical research is needed (unfamiliar framework, library evaluation), spawn a sub-agent to research and return a concise summary. Ask it to compare options, check latest versions, and note known issues. Raw search results never enter the main context.
Recommend one approach and explain why.
**After the user selects an approach
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…
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 complete specs (requirements, design, tasks) for all features in roadmap.md using parallel sub-agent dispatch by dependency wave.
Create comprehensive technical design for a specification
Initialize a new specification with detailed project description