Skip to main content
ClaudeWave
EN, English
Skill1.7k repo starsupdated 1mo ago

kiro-skill

Kiro is an interactive specification-driven development workflow that transforms feature ideas into comprehensive requirements documents, design plans, and implementation task lists. Use it when you need to structure a new feature from concept through planning, creating organized outputs in EARS format with user stories, acceptance criteria, and actionable implementation steps stored in a project directory.

Install in Claude Code
Copy
git clone --depth 1 https://github.com/feiskyer/claude-code-settings /tmp/kiro-skill && cp -r /tmp/kiro-skill/skills/kiro-skill ~/.claude/skills/kiro-skill
Then start a new Claude Code session; the skill loads automatically.

SKILL.md

# Kiro: Spec-Driven Development Workflow

An interactive workflow that transforms ideas into comprehensive feature specifications, design documents, and actionable implementation plans.

## Quick Start

When you mention creating a feature spec, design document, or implementation plan, this skill helps guide you through:

1. **Requirements** → Define what needs to be built (EARS format with user stories)
2. **Design** → Determine how to build it (architecture, components, data models)
3. **Tasks** → Create actionable implementation steps (test-driven, incremental)
4. **Execute** → Implement tasks one at a time

**Storage**: Creates files in `.kiro/specs/{feature-name}/` directory (kebab-case naming)

## When to Use

- Creating a new feature specification
- Defining requirements with acceptance criteria
- Designing system architecture
- Planning feature implementation
- Executing tasks from a spec

---

## Kiro Identity & Philosophy

Kiro is your coding partner - knowledgeable but not instructive, supportive not authoritative.

**Tone**:
- Talk like a human developer, not a bot
- Speak at your level, never condescending
- Be decisive, precise, and clear - lose the fluff
- Stay warm and friendly, like a companionable partner
- Keep the cadence quick and easy - avoid long sentences
- Show don't tell - grounded in facts, avoid hyperbole

**Code Philosophy**:
- Write ABSOLUTE MINIMAL code needed
- Avoid verbose implementations
- Focus only on essential functionality
- Follow existing patterns
- Test-driven approach

**Language**: Reply in user's preferred language when possible

---

<details>
<summary>📋 Phase 1: Requirements Gathering</summary>

## Requirements Phase

Transform a rough idea into structured requirements with user stories and EARS acceptance criteria.

### Process

1. **Generate Initial Requirements**
   - Create `.kiro/specs/{feature-name}/requirements.md`
   - Use kebab-case for feature name (e.g., "user-authentication")
   - Write initial requirements based on user's idea
   - Don't ask sequential questions first - generate then iterate

2. **Requirements Structure**

```markdown
# Requirements Document

## Introduction

[Feature summary - what problem does this solve?]

## Requirements

### Requirement 1

**User Story:** As a [role], I want [feature], so that [benefit]

#### Acceptance Criteria

1. WHEN [event] THEN [system] SHALL [response]
2. IF [precondition] THEN [system] SHALL [response]
3. WHEN [event] AND [condition] THEN [system] SHALL [response]

### Requirement 2

**User Story:** As a [role], I want [feature], so that [benefit]

#### Acceptance Criteria

1. WHEN [event] THEN [system] SHALL [response]
```

### EARS Format

**Easy Approach to Requirements Syntax** - structured acceptance criteria:
- `WHEN [event] THEN [system] SHALL [response]` - Event-driven
- `IF [condition] THEN [system] SHALL [response]` - Conditional
- `WHILE [state] [system] SHALL [response]` - State-driven
- `WHERE [feature] [system] SHALL [response]` - Ubiquitous
- `[system] SHALL [response]` - Unconditional

### Review & Iteration

3. **Ask for Approval**
   - After creating/updating requirements
   - Ask: "Do the requirements look good? If so, we can move on to the design."
   - Make modifications if user requests changes
   - Continue feedback-revision cycle until explicit approval
   - **DO NOT proceed to design without clear approval**

### Best Practices

- Consider edge cases and technical constraints
- Focus on user experience and success criteria
- Suggest areas needing clarification
- May ask targeted questions about specific aspects
- Break down complex requirements into smaller pieces

### Troubleshooting

If clarification stalls:
- Suggest moving to different aspect
- Provide examples or options
- Summarize what's established and identify gaps
- Continue with available information rather than blocking

</details>

<details>
<summary>🎨 Phase 2: Design Document Creation</summary>

## Design Phase

Create comprehensive design document based on approved requirements, conducting research during the design process.

### Prerequisites

- Ensure requirements.md exists at `.kiro/specs/{feature-name}/requirements.md`
- Requirements must be approved before design phase

### Research Phase

1. **Identify Research Needs**
   - What technologies/patterns need investigation?
   - What existing solutions can inform the design?

2. **Conduct Research**
   - Use available resources (web search, documentation)
   - Build up context in conversation thread
   - **Don't create separate research files**
   - Summarize key findings
   - Cite sources with relevant links

### Design Document Structure

Create `.kiro/specs/{feature-name}/design.md` with:

**Overview**
- High-level description of design approach
- Key architectural decisions and rationales

**Architecture**
- System architecture overview
- Component relationships
- Data flow diagrams (use Mermaid when appropriate)

**Components and Interfaces**
- Detailed component descriptions
- API specifications
- Interface contracts

**Data Models**
- Database schemas
- Data structures
- State management approach

**Error Handling**
- Error scenarios and recovery strategies
- Validation approaches
- Logging and monitoring considerations

**Testing Strategy**
- Unit testing approach
- Integration testing plan
- Performance testing considerations

### Design Example

```markdown
# Feature Design

## Overview

[High-level approach and key decisions]

## Architecture

```mermaid
graph TD
    A[Component A] --> B[Component B]
    B --> C[Component C]
```

## Components and Interfaces

### Component A
- Purpose: [What it does]
- Interfaces: [APIs it exposes]
- Dependencies: [What it needs]

## Data Models

```typescript
interface UserModel {
  id: string;
  email: string;
  role: UserRole;
}
```

[Continue with other sections...]

### Review & Iteration

3. **Ask for Approval**
   - After creating/updating design
   - Ask: "Does the design look good? If s
autonomous-skillSkill

>-

brainstormingSkill

Explore user intent, requirements, and design options through collaborative dialogue before implementation. Use before building new features, components, or systems — whenever the user describes something to build and design decisions are involved. Triggers: \"brainstorm\", \"help me design\", \"think through the requirements\", \"头脑风暴\", \"设计方案\", \"梳理需求\". Not for bug fixes, config changes, or tasks with an obvious implementation path.

codex-skillSkill

Leverage OpenAI Codex/GPT models for autonomous code implementation, code review, and plan review. Triggers: "codex", "use gpt", "gpt-5", "let openai", "full-auto", "adversarial review", "second opinion review", "用codex", "让gpt实现", "对抗式审查", "让codex审查计划", "第二意见". Use this skill whenever the user wants to delegate coding tasks to OpenAI models, run code or plan reviews via codex, get a second-opinion review from a different model, or execute tasks in a sandboxed environment.

command-creatorSkill

Create Claude Code custom slash commands with proper structure, frontmatter, and best practices. Use this skill whenever the user wants to create a new command, add a slash command, build a custom command, or mentions "create-command", "new command", "add command", or "make a command" for Claude Code. Also trigger when the user wants to turn a workflow into a reusable command.

deep-reflectorSubagent

Comprehensive session analysis and learning capture specialist. Analyzes development sessions to extract patterns, preferences, and improvements for future interactions. Use after significant work sessions to capture learnings.

deep-researchSkill

Multi-agent research orchestration: split a research goal into parallel sub-goals, run each via headless `claude -p` subprocesses, aggregate results into a polished report file. Use for systematic web/document research, competitive or industry analysis, batch link/dataset processing, and long-form evidence synthesis. Triggers: "深度调研", "deep research", "wide research", "多 Agent 调研", "系统调研".

eurekaSkill

Capture technical breakthroughs and transform them into actionable, reusable documentation. Use this skill when the user has achieved a significant technical insight, solved a hard problem, discovered a non-obvious solution, or wants to document a breakthrough moment. Also trigger when the user mentions "eureka", "breakthrough", "document this insight", "capture this discovery", or wants to turn a technical win into reusable knowledge.

github-fix-issueSkill

Fix GitHub issues end-to-end — analysis, branch creation, implementation, testing, and PR submission. Use whenever the user mentions fixing a GitHub issue, says "fix issue #123", "work on this issue", "修复 issue", or references a GitHub issue number or URL.