npx claudepluginhub softwarecatscom/scc-marketplace --plugin kiro<project-description> [--auto]<background_information>
--auto flag providedIf --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:
--auto: Automatic Mode (execute all 4 phases)--auto flag if present)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:
Generate Feature Name:
Check Uniqueness:
.kiro/specs/*/-2, -3, etc.Create Directory:
mkdir -p .kiro/specs/{feature-name}Initialize Files from Templates:
a. Read templates:
- .kiro/settings/templates/specs/init.json
- .kiro/settings/templates/specs/requirements-init.md
b. Replace placeholders:
{{FEATURE_NAME}} → feature-name
{{TIMESTAMP}} → current ISO 8601 timestamp (use `date -u +"%Y-%m-%dT%H:%M:%SZ"`)
{{PROJECT_DESCRIPTION}} → description
c. Write files using Write tool:
- .kiro/specs/{feature-name}/spec.json
- .kiro/specs/{feature-name}/requirements.md
Update TodoWrite: Mark task 1 as completed, task 2 as in_progress.
Output Progress:
✅ Spec initialized at .kiro/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} -y
Note: -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} -y
Note: -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.
YYYY-MM-DDTHH:MM:SSZ.kiro/specs/*/ for existing feature namesmkdir -p, generate timestamp with date -u.kiro/settings/templates/specs/spec.json and requirements.md in spec directory/kiro:spec-requirements, /kiro:spec-design, /kiro:spec-taskscompleted, next task in_progressInteractive Mode:
🚀 Quick Spec Generation (Interactive Mode)
You will be prompted at each phase.
⚠️ Skips gap analysis and design validation.
Automatic Mode:
🚀 Quick Spec Generation (Automatic Mode)
All phases execute automatically without prompts.
⚠️ Skips all validations and reviews.
After each phase, show brief progress:
✅ Spec initialized at .kiro/specs/{feature}/
✅ Requirements generated → Continuing to design...
✅ Design generated → Continuing to tasks...
Provide output in the language specified in spec.json:
✅ Quick Spec Generation Complete!
## Generated Files:
- .kiro/specs/{feature}/spec.json
- .kiro/specs/{feature}/requirements.md ({X} requirements)
- .kiro/specs/{feature}/design.md ({Y} components, {Z} endpoints)
- .kiro/specs/{feature}/tasks.md ({N} tasks)
⚠️ Quick generation skipped:
- `/kiro:validate-gap` - Gap analysis (integration check)
- `/kiro:validate-design` - Design review (architecture validation)
## Next Steps:
1. Review generated specs (especially design.md)
2. Optional validation:
- `/kiro:validate-gap {feature}` - Check integration with existing codebase
- `/kiro:validate-design {feature}` - Verify architecture quality
3. Start implementation: `/kiro:spec-impl {feature}`
## Note:
For complex features (integrations, security, APIs), use standard workflow:
/kiro:spec-init → /kiro:spec-requirements → /kiro:validate-gap
→ /kiro:spec-design → /kiro:validate-design → /kiro:spec-tasks
$ARGUMENTS to parse (NOT $1, $2)"Multi word description --auto" → extract both parts correctly-2, -3, etc.Template Missing:
.kiro/settings/templates/specs/ existsDirectory Creation Failed:
Phase Execution Failed (Phase 2-4):
/kiro:spec-{next-phase} {feature}"User Cancellation (Interactive Mode):
Use Automatic Mode (--auto) when:
Use Interactive Mode (default) when:
Use Standard Workflow (NOT spec-quick) when: