Skip to content
Spec-Driven Development
Skill

/kiro-spec-init

Initialize a new specification with detailed project description

From plugin
cc-sdd
3.7k17 skills14 agents35 commands

Claude Code

$ npx -y skills add gotalab/cc-sdd --skill kiro-spec-init --agent claude-code

SKILL.md

kiro-spec-init.SKILL.md
name: kiro-spec-init
description: Initialize a new specification with detailed project description

Spec Initialization

<instructions>

Core Task

Generate a unique feature name from the project description ($ARGUMENTS) and initialize the specification structure.

Execution Steps

1. **Check for Brief**: If `{{KIRO_DIR}}/specs/{feature-name}/brief.md` exists (created by `/kiro-discovery`), read it. The brief contains problem, approach, scope, and constraints from the discovery session. Use this to pre-fill the project description and skip clarification questions that the brief already answers. 2. **Clarify Intent**: The Project Description in requirements.md must contain three elements: (a) who has the problem, (b) current situation, (c) what should change. If a brief.md exists and covers these, skip to step 3. Otherwise, ask the user to clarify before proceeding. Ask as many questions as needed; do not fill in gaps with your own assumptions. 3. **Check Uniqueness**: Verify `{{KIRO_DIR}}/specs/` for naming conflicts. If the directory already exists with only `brief.md` (no `spec.json`), use that directory (discovery created it). 4. **Create Directory**: `{{KIRO_DIR}}/specs/[feature-name]/` (skip if already exists from discovery) 5. **Initialize Files Using Templates**:

  • Read `{{KIRO_DIR}}/settings/templates/specs/init.json`
  • Read `{{KIRO_DIR}}/settings/templates/specs/requirements-init.md`
  • Replace placeholders:
  • `{{FEATURE_NAME}}` → generated feature name
  • `{{TIMESTAMP}}` → current ISO 8601 timestamp
  • `{{PROJECT_DESCRIPTION}}` → from brief.md if available, otherwise $ARGUMENTS
  • `{{LANG_CODE}}` → language code (detect from user's input language, default to `en`)
  • Write `spec.json` and `requirements.md` to spec directory

Important Constraints

  • Do NOT generate requirements, design, or tasks. This skill only creates spec.json and requirements.md.

</instructions>

Output Description

Provide output in the language specified in `spec.json` with the following structure:

1. **Generated Feature Name**: `feature-name` format with 1-2 sentence rationale 2. **Project Summary**: Brief summary (1 sentence) 3. **Created Files**: Bullet list with full paths 4. **Next Step**: Command block showing `/kiro-spec-requirements <feature-name>`

**Format Requirements**:

  • Use Markdown headings (##, ###)
  • Wrap commands in code blocks
  • Keep total output concise (under 250 words)
  • Use clear, professional language per `spec.json.language`

Safety & Fallback

  • **Ambiguous Feature Name**: If feature name generation is unclear, propose 2-3 options and ask user to select
  • **Template Missing**: If template files don't exist in `{{KIRO_DIR}}/settings/templates/specs/`, report error with specific missing file path and suggest checking repository setup
  • **Directory Conflict**: If feature name already exists, append numeric suffix (e.g., `feature-name-2`) and notify user of automatic conflict resolution
  • **Write Failure**: Report error with specific path and suggest checking permissions or disk space
Read more
@gotalab
Ships withcc-sdd

Package README: English | 日本語 | 繁體中文

3.7k17 skills14 agents
Get the whole plugin

Stars on GitHub

Momentum

stars in total
3.7k
Star history of gotalab/cc-sdd on GitHub, a chart by star-history.com

Other skills on cc-sdd.

kiro-debug

kiro-debug

Investigate implementation failures using root-cause-first debugging. Use when an implementer is blocked, verification fails, or…

@gotalab@gotalabInstall Skill
kiro-discovery

kiro-discovery

Entry point for new work. Determines the best action path or work decomposition (update existing spec, create new spec, mixed…

@gotalab@gotalabInstall Skill
kiro-impl

kiro-impl

Implement approved tasks using TDD with subagent dispatch. Runs all pending tasks autonomously or selected tasks manually.

@gotalab@gotalabInstall Skill
kiro-review

kiro-review

Review a task implementation against approved specs, task boundaries, and verification evidence. Use after an implementer…

@gotalab@gotalabInstall Skill
kiro-spec-batch

kiro-spec-batch

Create complete specs (requirements, design, tasks) for all features in roadmap.md using parallel sub-agent dispatch by…

@gotalab@gotalabInstall Skill

More skills from other plugins.

improve

improve

Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to…

improve8w9.3k
@shadcn@shadcnInstall Skill
backprop
Auto-invoked

backprop

Bug → spec protocol. When a bug is found or a test fails, trace the cause, decide whether a new §V invariant would catch…

ck2mo1.2k
@juliusbrussee@juliusbrusseeInstall Skill
deep-discuss

deep-discuss

结构化深度讨论 Skill,用于与用户进行多轮问题分析和方案设计。当用户描述一个问题现象、故障表现、 技术困惑、方案选择困难,或明确说"讨论一下"、"帮我分析"、"我遇到一个问题"、"你觉得怎么样"、 "帮我想想"、"我在纠结"时,必须使用本…

Questions about kiro-spec-init.

Which coding agents can use kiro-spec-init?
kiro-spec-init installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.