spec-design
Create comprehensive technical design for a specification
Quick spec generation with interactive or automatic mode
$ npx -y skills add gotalab/cc-sdd --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
/kiro-spec-quickContext preview
What this command does when you run it.
Quick spec generation with interactive or automatic mode
description: Quick spec generation with interactive or automatic mode
<background_information>
</background_information>
<instructions>
**If `--auto` flag is present in `$ARGUMENTS`, you are in AUTOMATIC MODE.**
In Automatic Mode:
**Progress tracking with TodoWrite**:
---
Execute 4 spec phases sequentially. In automatic mode, execute all phases without stopping. In interactive mode, prompt user for approval between phases.
Parse `$ARGUMENTS`:
Example:
"User profile with avatar upload --auto" → mode=automatic, description="User profile with avatar upload" "User profile feature" → mode=interactive, description="User profile feature"
**Create TodoWrite task list**:
[
{"content": "Initialize spec", "activeForm": "Initializing spec", "status": "pending"},
{"content": "Generate requirements", "activeForm": "Generating requirements", "status": "pending"},
{"content": "Generate design", "activeForm": "Generating design", "status": "pending"},
{"content": "Generate tasks", "activeForm": "Generating tasks", "status": "pending"}
]Display mode banner and proceed to Step 2.
Execute these 4 phases in order:
---
**Update TodoWrite**: Mark task 1 as `in_progress`.
**Core Logic**:
1. **Generate Feature Name**:
2. **Check Uniqueness**:
3. **Create Directory**:
4. **Initialize Files from Templates**:
a. Read templates:
- {{KIRO_DIR}}/settings/templates/specs/init.json
- {{KIRO_DIR}}/settings/templates/specs/requirements-init.mdb. Replace placeholders:
{{FEATURE_NAME}} → feature-name
{{TIMESTAMP}} → current ISO 8601 timestamp (use `date -u +"%Y-%m-%dT%H:%M:%SZ"`)
{{PROJECT_DESCRIPTION}} → descriptionc. Write files using Write tool:
- {{KIRO_DIR}}/specs/{feature-name}/spec.json
- {{KIRO_DIR}}/specs/{feature-name}/requirements.md5. **Update TodoWrite**: Mark task 1 as `completed`, task 2 as `in_progress`.
6. **Output Progress**:
✅ Spec initialized at {{KIRO_DIR}}/specs/{feature-name}/**Automatic Mode**: IMMEDIATELY continue to Phase 2.
**Interactive Mode**: Prompt "Continue to requirements generation? (yes/no)"
---
**Task 2 is already `in_progress` from Phase 1.**
**Execute SlashCommand**:
/kiro-spec-requirements {feature-name}Wait for completion. Subagent will return with "次のステップ" message.
**IMPORTANT**: In Automatic Mode, IGNORE the "次のステップ" message. It is for standalone usage.
**Update TodoWrite**: Mark task 2 as `completed`, task 3 as `in_progress`.
**Output Progress**:
✅ Requirements generated → Continuing to design...
**Automatic Mode**: Task list shows 2/4 complete. IMMEDIATELY continue to Phase 3.
**Interactive Mode**: Prompt "Continue to design generation? (yes/no)"
---
**Task 3 is already `in_progress` from Phase 2.**
**Execute SlashCommand**:
/kiro-spec-design {feature-name} -yNote: `-y` flag auto-approves requirements.
Wait for completion. Subagent will return with "次のステップ" message.
**IMPORTANT**: In Automatic Mode, IGNORE the "次のステップ" message.
**Update TodoWrite**: Mark task 3 as `completed`, task 4 as `in_progress`.
**Output Progress**:
✅ Design generated → Continuing to tasks...
**Automatic Mode**: Task list shows 3/4 complete. IMMEDIATELY continue to Phase 4.
**Interactive Mode**: Prompt "Continue to tasks generation? (yes/no)"
---
**Task 4 is already `in_progress` from Phase 3.**
**Execute SlashCommand**:
/kiro-spec-tasks {feature-name} -yNote: `-y` flag auto-approves design.
Wait for completion.
**Update TodoWrite**: Mark task 4 as `completed`.
**All 4 tasks complete. Loop is DONE.**
Output final completion summary (see Output Description section) and exit.
---
Repo: gotalab/cc-sdd
Create comprehensive technical design for a specification
Execute spec tasks using TDD methodology
Initialize a new specification with detailed project description
Quick spec generation with interactive or automatic mode
Generate comprehensive requirements for a specification
Show specification status and progress