Skip to main content

Add your description here

Project description

Claude Kiro: Spec-Driven Development for Claude Code

A unified CLI tool and methodology that brings spec-driven development workflow to Claude Code.

What This Is

Claude Kiro (ck) provides:

  • Automated project setup for spec-driven development
  • Smart hooks that provide spec context while coding
  • Slash commands for structured workflows
  • Output styles that enforce disciplined responses

Prompt → Requirements → Design → Tasks → Implementation

Repository Structure

├── VISION.md                    # Project vision and goals
├── synthesis/                   # Implementation guides
│   ├── kiro-to-claude-mapping.md
│   └── phase1-implementation.md
├── research/                    # Feature research from docs
│   ├── claude-code/             # Claude Code capabilities
│   └── kiro/                    # Kiro methodology
└── resources/                   # Scraped documentation
    └── scraped/
        ├── docs.claude.com/     # 255 pages
        └── kiro.dev/            # 89 pages

Quick Start

# Install Claude Kiro globally
uv tool install claude-kiro

# Initialize your project
cd your-project
ck init

# Verify setup
ck doctor

That's it! Your project is now configured for spec-driven development.

Installation

Install Claude Kiro (Global Tool)

# Install from PyPI
uv tool install claude-kiro

# Or install from source in editable mode
git clone https://github.com/angelsen/claude-kiro.git
cd claude-kiro
uv tool install . --editable

This installs the ck command globally, which provides:

  • ck init - Set up a project for spec-driven development
  • ck doctor - Verify your setup is working
  • ck hook - Manage Claude Code hook integration
  • ck --hook - Hook runner for Claude Code (hidden command)

Initialize Your Project

cd your-project
ck init

This creates:

  • .claude/output-styles/spec-driven.md - Enforces structured responses
  • .claude/commands/spec/ - Slash commands for specs
  • .claude/settings.local.json - Hook configuration
  • .claude/CLAUDE.md - Project context template

What the Hooks Do

The hooks provide intelligent spec context:

  • When editing spec files: Shows which task you're implementing
  • When editing new files: Suggests creating a spec first
  • Smart caching: Shows messages only once per file per session (no spam!)

How It Works

  1. Initialize: ck init sets up your project with all necessary files
  2. Create specs: /spec:create "feature" - Generate requirements, design, and tasks
  3. Implement: /spec:implement task - Execute tasks with full context
  4. Track progress: TodoWrite tracks implementation automatically
  5. Stay aligned: Hooks provide context and maintain spec-driven discipline

CLI Commands Reference

Main Commands

  • ck init [--force] - Initialize a project with spec-driven setup
  • ck doctor - Check your Claude Kiro setup health
  • ck hook list - Show available hooks
  • ck hook status - Display configured hooks
  • ck hook test <name> - Test a hook with sample data
  • ck hook config - Generate settings.json configuration

Claude Code Slash Commands (Created by ck init)

  • /spec:create <feature> - Create a new specification
  • /spec:implement <task> - Implement a spec task
  • /spec:review <spec> - Review an existing spec

Key Features

  • EARS notation for testable requirements: WHEN [condition] THE SYSTEM SHALL [behavior]
  • 3-phase workflow with approval gates between phases
  • TodoWrite integration for native task tracking
  • Smart hook context that tracks what you're working on
  • Zero configuration after running ck init

Documentation Sources

All research extracted from local scraped docs:

  • Claude Code: 255 pages (docs.claude.com)
  • Kiro: 89 pages (kiro.dev)
  • Combined: 10 research docs, 2 synthesis guides

Implementation Status

  • ✅ CLI tool (ck) - Complete with all commands
  • ✅ Hook system - Smart context injection working
  • ✅ Slash commands - /spec:create, /spec:implement, /spec:review
  • ✅ Output styles - Spec-driven responses enforced
  • ✅ Project setup automation - ck init configures everything

Why This Exists

Problem: AI coding is fast but chaotic - implicit assumptions, undocumented requirements, hard to maintain.

Solution: Structured specs before code. Proven by Kiro, implemented in Claude Code.

Result: Production-ready development with AI assistance.


Built for developers who want structure without sacrificing speed.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

claude_kiro-0.1.0.tar.gz (22.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

claude_kiro-0.1.0-py3-none-any.whl (33.1 kB view details)

Uploaded Python 3

File details

Details for the file claude_kiro-0.1.0.tar.gz.

File metadata

  • Download URL: claude_kiro-0.1.0.tar.gz
  • Upload date:
  • Size: 22.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.22

File hashes

Hashes for claude_kiro-0.1.0.tar.gz
Algorithm Hash digest
SHA256 84947dce22ca355a29d5b3dc75cdb7018c6d5ce27ba970ef428da1139f56d5f0
MD5 4457634112dc34f5680c26213310792e
BLAKE2b-256 ec413178f42ec0df293f500a90a7287e77277668e5f979697970a17ea1d4e087

See more details on using hashes here.

File details

Details for the file claude_kiro-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for claude_kiro-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9159ea7446e333d08f529eb18b202b9bd54dec8fbf30e0cacc5fe9f36ec82427
MD5 c3f00e772bb06774036cf397ef0fcb4b
BLAKE2b-256 f5cb2020e953bcc808dc0162fe9255fcf725642952fde5b5147d60b741169f21

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page