Spec-Driven Development
Command
/spec-impl
Execute spec tasks using TDD methodology
$ npx -y skills add gotalab/cc-sdd --agent claude-code
Command definition
spec-impl.mddescription: Execute spec tasks using TDD methodology
allowed-tools: Read, Task
argument-hint: <feature-name> [task-numbers]
Implementation Task Executor
Parse Arguments
- Feature name: `$1`
- Task numbers: `$2` (optional)
- Format: "1.1" (single task) or "1,2,3" (multiple tasks)
- If not provided: Execute all pending tasks
Validate
Check that tasks have been generated:
- Verify `{{KIRO_DIR}}/specs/$1/` exists
- Verify `{{KIRO_DIR}}/specs/$1/tasks.md` exists
If validation fails, inform user to complete tasks generation first.
Task Selection Logic
**Parse task numbers from `$2`** (perform this in Slash Command before invoking Subagent):
- If `$2` provided: Parse task numbers (e.g., "1.1", "1,2,3")
- Otherwise: Read `{{KIRO_DIR}}/specs/$1/tasks.md` and find all unchecked tasks (`- [ ]`)
Invoke Subagent
Delegate TDD implementation to spec-tdd-impl-agent:
Use the Task tool to invoke the Subagent with file path patterns:
Task(
subagent_type="spec-tdd-impl-agent",
description="Execute TDD implementation",
prompt="""
Feature: $1
Spec directory: {{KIRO_DIR}}/specs/$1/
Target tasks: {parsed task numbers or "all pending"}
File patterns to read:
- {{KIRO_DIR}}/specs/$1/*.{json,md}
- {{KIRO_DIR}}/steering/*.md
TDD Mode: strict (test-first)
"""
)Display Result
Show Subagent summary to user, then provide next step guidance:
Task Execution
**Execute specific task(s)**:
- `/kiro:spec-impl $1 1.1` - Single task
- `/kiro:spec-impl $1 1,2,3` - Multiple tasks
**Execute all pending**:
- `/kiro:spec-impl $1` - All unchecked tasks
**Before Starting Implementation**:
- **IMPORTANT**: Clear conversation history and free up context before running `/kiro:spec-impl`
- This applies when starting first task OR switching between tasks
- Fresh context ensures clean state and proper task focus
Read more
description: Execute spec tasks using TDD methodology allowed-tools: Read, Task argument-hint: <feature-name> [task-numbers]
Implementation Task Executor
Parse Arguments
- Feature name: `$1`
- Task numbers: `$2` (optional)
- Format: "1.1" (single task) or "1,2,3" (multiple tasks)
- If not provided: Execute all pending tasks
Validate
Check that tasks have been generated:
- Verify `{{KIRO_DIR}}/specs/$1/` exists
- Verify `{{KIRO_DIR}}/specs/$1/tasks.md` exists
If validation fails, inform user to complete tasks generation first.
Task Selection Logic
**Parse task numbers from `$2`** (perform this in Slash Command before invoking Subagent):
- If `$2` provided: Parse task numbers (e.g., "1.1", "1,2,3")
- Otherwise: Read `{{KIRO_DIR}}/specs/$1/tasks.md` and find all unchecked tasks (`- [ ]`)
Invoke Subagent
Delegate TDD implementation to spec-tdd-impl-agent:
Use the Task tool to invoke the Subagent with file path patterns:
Task(
subagent_type="spec-tdd-impl-agent",
description="Execute TDD implementation",
prompt="""
Feature: $1
Spec directory: {{KIRO_DIR}}/specs/$1/
Target tasks: {parsed task numbers or "all pending"}
File patterns to read:
- {{KIRO_DIR}}/specs/$1/*.{json,md}
- {{KIRO_DIR}}/steering/*.md
TDD Mode: strict (test-first)
"""
)Display Result
Show Subagent summary to user, then provide next step guidance:
Task Execution
**Execute specific task(s)**:
- `/kiro:spec-impl $1 1.1` - Single task
- `/kiro:spec-impl $1 1,2,3` - Multiple tasks
**Execute all pending**:
- `/kiro:spec-impl $1` - All unchecked tasks
**Before Starting Implementation**:
- **IMPORTANT**: Clear conversation history and free up context before running `/kiro:spec-impl`
- This applies when starting first task OR switching between tasks
- Fresh context ensures clean state and proper task focus
Stats
3,762
Stars
287
Forks
Active
Maintenance
TypeScript
Language
MIT
License
Last commit
Created
3.7k17 skills14 agents
Other commands on cc-sdd.
More commands from other plugins.
Auto-invoked
build
CommandPlan-then-execute against SPEC.md. Native Claude Code loop, no sub-agents.
adr-rubber-duck
CommandADR(Architecture Decision Record)の壁打ち相手としてヒアリングを通じて意思決定を整理し、ADRドラフトを作成する
Auto-invoked

