Generate comprehensive technical design translating requirements (WHAT) into architecture (HOW) with discovery process. Use when creating architecture from requirements.
60
71%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Low
Low-risk findings worth noting
Fix and improve this skill with Tessl
tessl review fix ./tools/cc-sdd/templates/agents/claude-code-skills/skills/kiro-spec-design/SKILL.mdReuse steering/spec context already available from conversation; load missing context below. Select skills for the current task even when steering/spec context is already available:
{{KIRO_DIR}}/specs/{feature}/spec.json, requirements.md, design.md (if exists){{KIRO_DIR}}/specs/{feature}/research.md (if exists, contains gap analysis from /kiro-validate-gap)product.md, tech.md, structure.md{{KIRO_DIR}}/settings/templates/specs/design.md for document structurerules/design-principles.md from this skill's directory for design principles{{KIRO_DIR}}/settings/templates/specs/research.md for discovery log structureValidate requirements approval:
Critical: This phase ensures design is based on complete, accurate information.
Classify Feature Type:
Execute Appropriate Discovery Process:
For Complex/New Features:
rules/design-discovery-full.md from this skill's directoryFor Extensions:
rules/design-discovery-light.md from this skill's directoryFor Simple Additions:
The following research areas are independent and can be dispatched as subagents via the Agent tool. The agent should decide the optimal decomposition based on feature complexity — split, merge, add, or skip subagents as needed. Each subagent returns a findings summary (not raw data) to keep the main context clean for synthesis.
Typical research areas (adjust as appropriate):
For simple additions, skip subagent dispatch entirely and do a quick pattern check in main context.
After all findings return, synthesize in main context before proceeding.
Retain Discovery Findings for Step 3:
Persist Findings to Research Log:
{{KIRO_DIR}}/specs/{feature}/research.md using the shared templateresearch.md already exists, briefly record consulted skills and the guidance used in its existing research notes.research.mdApply design synthesis to discovery findings before writing.
rules/design-synthesis.md from this skill's directoryresearch.md_Boundary:_ annotations and implementation Task Briefs — vague file structures produce vague implementations.design.md yetrules/design-review-gate.md from this skill's directorydesign.mdWrite Final Design:
{{KIRO_DIR}}/specs/{feature}/design.md only after the design review gate passesUpdate Metadata in spec.json:
phase: "design-generated"approvals.design.generated: true, approved: falseapprovals.requirements.approved: trueupdated_at timestampany; prefer precise types and generics.Command execution output (separate from design.md content):
Provide brief summary in the language specified in spec.json:
{{KIRO_DIR}}/specs/{feature}/design.mdresearch.md updated with latest decisionsFormat: Concise Markdown (under 200 words) - this is the command output, NOT the design document itself
Note: The actual design document follows {{KIRO_DIR}}/settings/templates/specs/design.md structure.
Requirements Not Approved:
/kiro-spec-design {feature} -y to auto-approve requirements and proceed"Missing Requirements:
{{KIRO_DIR}}/specs/{feature}/requirements.md"/kiro-spec-requirements {feature} to generate requirements first"Template Missing:
{{KIRO_DIR}}/settings/templates/specs/design.md"Steering Context Missing:
Invalid Requirement IDs:
Spec Gap Found During Design Review:
design.mdrequirements.md, then re-run /kiro-spec-design {feature}If Design Approved:
/kiro-validate-design {feature} for interactive quality review/kiro-spec-tasks {feature} to generate implementation tasks/kiro-spec-tasks {feature} -y to auto-approve and proceed directlyIf Modifications Needed:
/kiro-spec-design {feature}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.