/spec-design
Create comprehensive technical design for a specification
$ npx -y skills add gotalab/cc-sdd --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/spec-design
Context preview
What this command does when you run it.
Create comprehensive technical design for a specification
Command definition
spec-design.mddescription: Create comprehensive technical design for a specification
allowed-tools: Read, Task
argument-hint: <feature-name> [-y]
Technical Design Generator
Parse Arguments
- Feature name: `$1`
- Auto-approve flag: `$2` (optional, "-y")
Validate
Check that requirements have been completed:
- Verify `{{KIRO_DIR}}/specs/$1/` exists
- Verify `{{KIRO_DIR}}/specs/$1/requirements.md` exists
If validation fails, inform user to complete requirements phase first.
Invoke Subagent
Delegate design generation to spec-design-agent:
Use the Task tool to invoke the Subagent with file path patterns:
Task(
subagent_type="spec-design-agent",
description="Generate technical design and update research log",
prompt="""
Feature: $1
Spec directory: {{KIRO_DIR}}/specs/$1/
Auto-approve: {true if $2 == "-y", else false}
File patterns to read:
- {{KIRO_DIR}}/specs/$1/*.{json,md}
- {{KIRO_DIR}}/steering/*.md
- {{KIRO_DIR}}/settings/rules/design-*.md
- {{KIRO_DIR}}/settings/templates/specs/design.md
- {{KIRO_DIR}}/settings/templates/specs/research.md
Discovery: auto-detect based on requirements
Mode: {generate or merge based on design.md existence}
Language: respect spec.json language for design.md/research.md outputs
"""
)Display Result
Show Subagent summary to user, then provide next step guidance:
Next Phase: Task Generation
**If Design Approved**:
- Review generated design at `{{KIRO_DIR}}/specs/$1/design.md`
- **Optional**: Run `/kiro:validate-design $1` for interactive quality review
- Then `/kiro:spec-tasks $1 -y` to generate implementation tasks
**If Modifications Needed**:
- Provide feedback and re-run `/kiro:spec-design $1`
- Existing design used as reference (merge mode)
**Note**: Design approval is mandatory before proceeding to task generation.
Read more
description: Create comprehensive technical design for a specification allowed-tools: Read, Task argument-hint: <feature-name> [-y]
Technical Design Generator
Parse Arguments
- Feature name: `$1`
- Auto-approve flag: `$2` (optional, "-y")
Validate
Check that requirements have been completed:
- Verify `{{KIRO_DIR}}/specs/$1/` exists
- Verify `{{KIRO_DIR}}/specs/$1/requirements.md` exists
If validation fails, inform user to complete requirements phase first.
Invoke Subagent
Delegate design generation to spec-design-agent:
Use the Task tool to invoke the Subagent with file path patterns:
Task(
subagent_type="spec-design-agent",
description="Generate technical design and update research log",
prompt="""
Feature: $1
Spec directory: {{KIRO_DIR}}/specs/$1/
Auto-approve: {true if $2 == "-y", else false}
File patterns to read:
- {{KIRO_DIR}}/specs/$1/*.{json,md}
- {{KIRO_DIR}}/steering/*.md
- {{KIRO_DIR}}/settings/rules/design-*.md
- {{KIRO_DIR}}/settings/templates/specs/design.md
- {{KIRO_DIR}}/settings/templates/specs/research.md
Discovery: auto-detect based on requirements
Mode: {generate or merge based on design.md existence}
Language: respect spec.json language for design.md/research.md outputs
"""
)Display Result
Show Subagent summary to user, then provide next step guidance:
Next Phase: Task Generation
**If Design Approved**:
- Review generated design at `{{KIRO_DIR}}/specs/$1/design.md`
- **Optional**: Run `/kiro:validate-design $1` for interactive quality review
- Then `/kiro:spec-tasks $1 -y` to generate implementation tasks
**If Modifications Needed**:
- Provide feedback and re-run `/kiro:spec-design $1`
- Existing design used as reference (merge mode)
**Note**: Design approval is mandatory before proceeding to task generation.
Repo: gotalab/cc-sdd
Other commands on cc-sdd.
- /spec-impl
Execute spec tasks using TDD methodology
Open command - /spec-init
Initialize a new specification with detailed project description
Open command - /spec-quick
Quick spec generation with interactive or automatic mode
Open command - /spec-requirements
Generate comprehensive requirements for a specification
Open command - /spec-status
Show specification status and progress
Open command - /spec-tasks
Generate implementation tasks for a specification
Open command

