{{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.{{KIRO_DIR}}/specs/ for naming conflicts. If the directory already exists with only brief.md (no spec.json), use that directory (discovery created it).{{KIRO_DIR}}/specs/[feature-name]/ (skip if already exists from discovery){{KIRO_DIR}}/settings/templates/specs/init.json
{{KIRO_DIR}}/settings/templates/specs/requirements-init.md
{{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)spec.json and requirements.md to spec directoryProvide output in the language specified in spec.json with the following structure:
feature-name format with 1-2 sentence rationale/kiro-spec-requirements <feature-name>
Format Requirements:
spec.json.language
{{KIRO_DIR}}/settings/templates/specs/, report error with specific missing file path and suggest checking repository setupfeature-name-2) and notify user of automatic conflict resolution