Claude-skill-registry 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.
git clone https://github.com/majiayu000/claude-skill-registry
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/kiro-integration" ~/.claude/skills/majiayu000-claude-skill-registry-kiro-integration && rm -rf "$T"
skills/data/kiro-integration/SKILL.mdKiro 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
| File | Purpose | Format |
|---|---|---|
| Requirements using EARS patterns | EARS syntax in markdown |
| Technical design and architecture | Markdown with diagrams |
| Executable task checklist | Markdown 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 Field | Canonical Field |
|---|---|
| requirements.md FR-x | |
| EARS text | |
| Priority | |
| AC-x.y | |
| design.md | |
| tasks.md TSK-x | maps to task schema |
Canonical to Kiro
When converting from canonical format to Kiro:
- Split canonical spec into three files
- Format requirements using EARS syntax
- Generate design.md from implementation notes
- 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
- Analyze feature request
- Generate
with EARS patternsrequirements.md - Generate
with architecturedesign.md - Generate
with breakdowntasks.md - Create steering context if needed
Sync Kiro to Canonical
- Read Kiro spec files
- Parse EARS requirements
- Extract acceptance criteria
- Map to canonical schema
- Output canonical YAML/JSON
Sync Canonical to Kiro
- Read canonical specification
- Split into three Kiro files
- Format requirements as EARS
- Structure design document
- Create task checklist
Quick Commands
| Action | Command |
|---|---|
| Generate from feature | |
| Sync to canonical | |
| Update from canonical | |
| Validate Kiro files | |
Integration with Spec Kit
Kiro files map to Spec Kit phases:
| Kiro File | Spec Kit Phase |
|---|---|
| requirements.md | Phase 1: Specify |
| design.md | Phase 2: Plan |
| tasks.md | Phase 3: Tasks |
References
Detailed Documentation:
- Kiro Structure Reference - File organization patterns
- Steering Files Guide - Context configuration
- Hooks Integration - Kiro hooks patterns
Related Skills:
- EARS requirement patternsears-authoring
- GitHub Spec Kit 5-phase workflowspeckit-workflow
- Canonical specification structurecanonical-spec-format
Last Updated: 2025-12-24
Version History
- v1.0.0 (2025-12-26): Initial release