Skip to content
cccskills
FreePublished on GitHub

kiro-spec-init

Initialize a new specification with detailed project description

The English summary is being prepared. Showing the original description.

See how to install

Files included (1)

  • SKILL.md3.0 KB

SKILL.md (original)

Review the instructions the agent will receive before you install.

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

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

More skills from this repository

Add or extend coding-agent support in cc-sdd by executing the SOP in docs/cc-sdd/sop-new-agent.md end-to-end. Use when introducing a new agent, adding a subagent-capable variant, or evaluating migration of an existing supported agent to skills-based templates.

The English summary is being prepared. Showing the original description.

gotalab/cc-sdd3.7KUpdated Oct 13, 2026

Investigate implementation failures using root-cause-first debugging. Use when an implementer is blocked, verification fails, or repeated remediation does not converge.

The English summary is being prepared. Showing the original description.

gotalab/cc-sdd3.7KUpdated Oct 13, 2026

Entry point for new work. Determines the best action path or work decomposition (update existing spec, create new spec, mixed decomposition, or no spec needed) and refines ideas through structured dialogue.

The English summary is being prepared. Showing the original description.

gotalab/cc-sdd3.7KUpdated Oct 13, 2026

Implement approved tasks in Cascade using TDD and inline review. Runs all pending tasks or selected tasks in the main context.

The English summary is being prepared. Showing the original description.

gotalab/cc-sdd3.7KUpdated Oct 13, 2026

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

The English summary is being prepared. Showing the original description.

gotalab/cc-sdd3.7KUpdated Oct 13, 2026

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

The English summary is being prepared. Showing the original description.

gotalab/cc-sdd3.7KUpdated Oct 13, 2026

See all skills by gotalab

Report a problem with this skill