kiro-spec-requirements

kiro-spec-requirements is a command for Claude Code from gotalab/cc-sdd. It costs 0 tokens per session (995 once invoked), scanned A, original, MIT.

A command that turns a project description into a requirements document. Its acceptance criteria use EARS, a format for writing requirements around specific system conditions and events.

In plain words
What is it for?
Use it to create or update requirements, acceptance criteria, and status metadata for a planned feature or project.
Why use it?
It makes expected behavior clearer and easier to test before implementation begins. It also uses the project’s existing guidance and shared context.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: positional $N argument.

Good fit Use it to create or update requirements, acceptance criteria, and status metadata for a planned feature or project.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gotalab/cc-sdd/kiro-spec-requirements
About the project

cc-sdd is a spec-driven development workflow for coding agents: it turns approved software specifications into requirements, designs, task plans, and extended autonomous implementation. Developers use it across several AI coding agents, with independent review and task-level continuation for long-running work. The catalogue entries provide commands, skills, agents, and instructions for using this workflow.

gotalab/cc-sdd · 3,659 stars · on GitHub

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/gotalab/cc-sdd

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for kiro-spec-requirements

README.md
[![agentmods](https://agentmods.dev/badge/commands/gotalab/cc-sdd/kiro-spec-requirements/github.svg)](https://agentmods.dev/commands/gotalab/cc-sdd/kiro-spec-requirements)
Your own site
<a href="https://agentmods.dev/commands/gotalab/cc-sdd/kiro-spec-requirements"><img src="https://agentmods.dev/badge/commands/gotalab/cc-sdd/kiro-spec-requirements/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for kiro-spec-requirements

Your own site · 80×15
<a href="https://agentmods.dev/commands/gotalab/cc-sdd/kiro-spec-requirements"><img src="https://agentmods.dev/badge/commands/gotalab/cc-sdd/kiro-spec-requirements.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 995 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.00995
Opus 5 $0.00000 $0.00498
Sonnet 5 $0.00000 $0.00199
Haiku 4.5 $0.00000 $0.00100

Measured 10d ago against content hash 8165eadd2c46, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

kiro-spec-requirements scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 10d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

Copies of this mod

4 near-identical copies found in the catalogue:

tools/cc-sdd/templates/agents/codex/commands/kiro-spec-requirements.md · 98 lines

How it starts

The opening of the file, as written. The whole thing — 98 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Requirements Generation

<background_information>

  • Mission: Generate comprehensive, testable requirements in EARS format based on the project description from spec initialization
  • Success Criteria:
    • Create complete requirements document aligned with steering context
    • Follow the project's EARS patterns and constraints for all acceptance criteria
    • Focus on core functionality without implementation details
    • Update metadata to track generation status </background_information>

Execution Steps

  1. Load Context:

    • Read {{KIRO_DIR}}/specs/$1/spec.json for language and metadata
    • Read {{KIRO_DIR}}/specs/$1/requirements.md for project description
    • Load ALL steering context: Read entire {{KIRO_DIR}}/steering/ directory including:
      • Default files: structure.md, tech.md, product.md
      • All custom steering files (regardless of mode settings)
      • This provides complete project memory and context
  2. Read Guidelines:

    • Read {{KIRO_DIR}}/settings/rules/ears-format.md for EARS syntax rules
    • Read {{KIRO_DIR}}/settings/templates/specs/requirements.md for document structure
  3. Generate Requirements:

    • Create initial requirements based on project description
    • Group related functionality into logical requirement areas
    • Apply EARS format to all acceptance criteria
    • Use language specified in spec.json
  4. Update Metadata:

    • Set phase: "requirements-generated"
    • Set approvals.requirements.generated: true
    • Update updated_at timestamp

Important Constraints

  • Focus on WHAT, not HOW (no implementation details)
  • Requirements must be testable and verifiable
  • Choose appropriate subject for EARS statements (system/service name for software)
  • Generate initial version first, then iterate with user feedback (no sequential questions upfront)
  • Requirement headings in requirements.md MUST include a leading numeric ID only (for example: "Requirement 1", "1.", "2 Feature ..."); do not use alphabetic IDs like "Requirement A".

Read the full file on GitHub · 98 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 10d ago First seen · 98 lines · 0 tokens per session scan A 8165eadd2c46

Subscribe to this mod's changes

kiro-spec-requirements is a command published in the GitHub repository gotalab/cc-sdd (3,659 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 995 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other commands, from other repositories

slice-closure

Decide whether the current slice is ready to close, distinguishing slice completion from full task completion, then persist the result in slice notes and TASKSTATE.md as explicit reviewable closure notes. For single-slice tasks may route directly to delivery. Returns no-op when slice memory would not materially…

Mozurok/fhorja.dev · 146 tokens

godot-scene-plan

Plan the Godot scene and node structure for a 2D or 3D game feature before any GDScript is written: the scene tree, node types and responsibilities, autoloads (singletons), signal wiring, the input map, and the resources and sub-scenes to create. Produces GODOTSCENEPLAN.md, a design-time plan an MCP-driven editor or a…

Mozurok/fhorja.dev · 226 tokens

implementation-plan

Define an incremental, reviewable, production-safe implementation plan for the active task and persist it as IMPLEMENTATIONPLAN.md plus a TASKSTATE.md update. Breaks work into the smallest safe slices with objective, exact scope, ordering rationale, key risks, validation approach, exit criteria, and work complexity…

Mozurok/fhorja.dev · 207 tokens

release-plan

Design a pre-deploy release and rollout strategy for a change: pick the rollout pattern (feature flag, canary, blue-green, or full progressive delivery) by risk and infra, then specify the exposure ramp, the promotion metric and threshold that advances each step, and the rollback trigger and mechanism. Produces…

Mozurok/fhorja.dev · 212 tokens

repo-consistency-sweep

Proactive defect-class detection that handles the lower-value half of code review (per Bacchelli and Bird 2013) so human reviewers stay focused on design, intent, and knowledge transfer. Catches convention drift, ordering bugs, type-safety gaps, security and multi-tenant invariants (CWE-grounded), and operability…

Mozurok/fhorja.dev · 200 tokens

task-close

Perform the terminal task lifecycle transition for a finished task: verify the spec done-conditions, set TASKSTATE.md to its final closed state, and move the task folder from active/ to archive/. The symmetric counterpart to task-init and the only official way to close a whole task. Use when every slice is closed, the…

Mozurok/fhorja.dev · 177 tokens