Skip to content
kiro-integration logo

Kiro Integration

kiro-integration

AWS Kiro specification patterns and synchronization. Use when working with Kiro IDE, syncing requirements.md/design.md/tasks.md files, or configuring steering files for AI agent context.

SKILL.md

Full skill instructions

Kiro Integration

AWS Kiro specification patterns, file structure, and synchronization with canonical model.

When to Use This Skill

Keywords: Kiro, AWS Kiro, requirements.md, design.md, tasks.md, steering files, Kiro IDE, Kiro agent, Kiro sync, spec generation, agentic development, Kiro hooks

Use this skill when:

  • Working with AWS Kiro IDE or Kiro-compatible tools
  • Syncing between Kiro format and canonical specifications
  • Creating or updating Kiro specification files
  • Configuring steering files for agent context
  • Integrating Kiro with existing spec-driven workflows
  • Converting between Kiro and other specification formats

Kiro Overview

Kiro is an agentic IDE developed by AWS that uses specification-driven development. It generates three interconnected files:

.kiro/
├── specs/
│   ├── requirements.md    # EARS-formatted requirements
│   ├── design.md          # Technical implementation design
│   └── tasks.md           # Executable task breakdown
└── steering/
    └── context.md         # Agent steering context

Key Concepts

Specification Files

FilePurposeFormat
requirements.mdRequirements using EARS patternsEARS syntax in markdown
design.mdTechnical design and architectureMarkdown with diagrams
tasks.mdExecutable task checklistMarkdown checkboxes

EARS Integration

Kiro uses EARS (Easy Approach to Requirements Syntax) for requirements. All six patterns are supported:

  • Ubiquitous: The system SHALL...
  • State-Driven: WHILE <condition>, the system SHALL...
  • Event-Driven: WHEN <trigger>, the system SHALL...
  • Unwanted: IF <condition>, THEN the system SHALL...
  • Optional: WHERE <feature>, the system SHALL...
  • Complex: Combinations of the above

Steering Files

Steering files provide context to the Kiro agent:

  • Project-specific knowledge
  • Codebase conventions
  • Domain terminology
  • Architectural constraints

Kiro File Structure

requirements.md

# Requirements: <Feature Name>

## Context

<Problem statement and background>

## Functional Requirements

### FR-1: <Requirement Title>

**Pattern:** Event-Driven
**Priority:** Must

WHEN the user submits a form, the system SHALL validate all required fields.

#### Acceptance Criteria

- [ ] AC-1.1: Given valid input, when submitted, then success message shown
- [ ] AC-1.2: Given invalid input, when submitted, then errors highlighted

### FR-2: ...

## Non-Functional Requirements

### NFR-1: Performance

The system SHALL respond within 200ms for all API requests.

design.md

# Design: <Feature Name>

## Overview

<High-level design approach>

## Architecture

### Component Diagram

<Mermaid or text diagram>

### Components

| Component | Responsibility |
| --- | --- |
| FormValidator | Input validation logic |
| FormHandler | Form submission handling |

## Data Model

### Entities

- **FormSubmission**: Captures form data
  - id: UUID
  - data: JSON
  - status: enum

## API Design

### Endpoints

| Method | Path | Description |
| --- | --- | --- |
| POST | /​api/​forms | Submit form |

## Technical Decisions

### Approach Selected

<Chosen approach with rationale>

### Alternatives Considered

| Alternative | Pros | Cons | Why Not |
| --- | --- | --- | --- |
| ... | ... | ... | ... |

tasks.md

# Tasks: <Feature Name>

## Task List

### Phase 1: Setup

- [ ] **TSK-001**: Create FormValidator component
  - Requirement: FR-1
  - Deliverables: `src/​validators/​FormValidator.ts`
  - Acceptance: Unit tests pass

- [ ] **TSK-002**: Create FormHandler service
  - Requirement: FR-1, FR-2
  - Deliverables: `src/​services/​FormHandler.ts`
  - Acceptance: Integration tests pass

### Phase 2: Integration

- [ ] **TSK-003**: Wire up API endpoint
  - Requirement: FR-1
  - Deliverables: `src/​routes/​forms.ts`
  - Acceptance: E2E tests pass

## Dependency Graph

```text
TSK-001 ─┬─> TSK-003
TSK-002 ─┘
```

## Progress

| Status | Count |
| --- | --- |
| Pending | 3 |
| In Progress | 0 |
| Complete | 0 |

Sync with Canonical Model

Kiro to Canonical

Kiro FieldCanonical Field
requirements.md FR-xrequirements[].id
EARS textrequirements[].text
Priorityrequirements[].priority
AC-x.yrequirements[].acceptance_criteria[]
design.mdimplementation_notes
tasks.md TSK-xmaps to task schema

Canonical to Kiro

When converting from canonical format to Kiro:

  1. Split canonical spec into three files
  2. Format requirements using EARS syntax
  3. Generate design.md from implementation notes
  4. Create tasks.md from task breakdown

Steering File Configuration

context.md Structure

# Project Context

## Overview

<Project description and purpose>

## Technology Stack

- Language: TypeScript
- Framework: Next.js
- Database: PostgreSQL

## Conventions

### Naming

- Use camelCase for variables
- Use PascalCase for components
- Use kebab-case for files

### Architecture

- Follow vertical slice architecture
- Use feature-based folder structure
- Apply CQRS for complex operations

## Domain Glossary

| Term | Definition |
| --- | --- |
| Form | User input collection |
| Submission | Completed form data |

## Constraints

- All APIs must be RESTful
- Response time < 200ms
- Test coverage > 80%

Workflows

Generate Kiro Specs from Feature Request

  1. Analyze feature request
  2. Generate requirements.md with EARS patterns
  3. Generate design.md with architecture
  4. Generate tasks.md with breakdown
  5. Create steering context if needed

Sync Kiro to Canonical

  1. Read Kiro spec files
  2. Parse EARS requirements
  3. Extract acceptance criteria
  4. Map to canonical schema
  5. Output canonical YAML/​JSON

Sync Canonical to Kiro

  1. Read canonical specification
  2. Split into three Kiro files
  3. Format requirements as EARS
  4. Structure design document
  5. Create task checklist

Quick Commands

ActionCommand
Generate from feature/​spec:kiro:sync --from feature
Sync to canonical/​spec:kiro:sync --to canonical
Update from canonical/​spec:kiro:sync --from canonical
Validate Kiro files/​spec:validate .kiro/​specs/

Integration with Spec Kit

Kiro files map to Spec Kit phases:

Kiro FileSpec Kit Phase
requirements.mdPhase 1: Specify
design.mdPhase 2: Plan
tasks.mdPhase 3: Tasks

References

Detailed Documentation:

Related Skills:

  • ears-authoring - EARS requirement patterns
  • speckit-workflow - GitHub Spec Kit 5-phase workflow
  • canonical-spec-format - Canonical specification structure

Last Updated: 2025-12-24

Version History

  • v1.0.0 (2025-12-26): Initial release

More skills from majiayu000

xiaohongshu logo
majiayu000/claude-arsenal

xiaohongshu

xiaohongshu

286 148
View
agent-task-conductor logo
majiayu000/claude-skill-registry

agent-task-conductor

Conduct multi-agent task orchestration and workflow coordination.

663 1
View
conductor-setup logo
majiayu000/claude-skill-registry

conductor-setup

Initialize project with Conductor artifacts (product definition,

663 1
View
animation-designer logo
majiayu000/claude-skill-registry

animation-designer

Expert in web animations, transitions, and motion design using Framer Motion and CSS

663 1
View
diagramming logo
majiayu000/claude-skill-registry

diagramming

Creates Mermaid and ASCII diagrams for flowcharts, architecture, ERDs, state machines, mindmaps, and more. Use when user mentions diagram, flowchart, mermaid, ASCII diagram, text diagram, terminal diagram, visualize, C4, mindmap, architecture diagram, sequence diagram, ERD, or needs visual docume...

663 1
View
h3-pg logo
majiayu000/claude-skill-registry-data

h3-pg

PostgreSQL bindings for H3 hexagonal grid system. Use when working with H3 cells in Postgres, including spatial indexing, geometry/geography integration, and raster analysis.

23 1
View
conductor-development logo
majiayu000/claude-skill-registry

conductor-development

Context-Driven Development skill for projects using Conductor. Use this skill when you detect a `conductor/` directory in the project, when working on tasks defined in a `plan.md` file, or when the user asks about tracks, specs, or plans. Automatically applies TDD workflow, tracks task completion...

663 1
View
conductor-status logo
majiayu000/claude-skill-registry

conductor-status

Display project status, active tracks, and next actions

663 1
View
dockerization logo
majiayu000/claude-skill-registry

dockerization

Official Stakpak application containerization standard operating procedure, a step-by-step guidline to properly dockerize applications. This is a rule book curated by the Stakpak Team.

663 1
View

Popular AI tools

Kaiber logo
Video

Kaiber

Generate, edit, and beat-sync AI video with leading models in one workspace.

Paid
View
Vimcal logo
Productivity

Vimcal

The world's fastest calendar for remote work

Free
View

Transform Your Design with AI Designer by ImgCreator.ai

Freemium
View
Akool AI logo
Content & writing

Akool AI

Revolutionizing Video Production with AI-Powered Creativity

Paid
View

Extend an image past the frame and let AI fill the new aspect ratio.

Freemium
View
StarByFace logo
Security

StarByFace

Discover your celebrity doppelgänger with StarByFace!

Free
View
C

ChainClarity explains 700+ crypto whitepapers in plain English, with layered summaries, comparisons, research tools, alerts, and a $4.99 Pro plan.

Freemium
View
Opus Clip logo
Coding & apps

Opus Clip

Opus.ai: Revolutionize Your Web Experience

Free
View