Use when you have a written implementation plan to execute in a separate session with review checkpoints
npx skills add MartinRistov/skill-to-kiro
Or install specific skill: npx add-skill https://github.com/MartinRistov/skill-to-kiro
# Description
>
# SKILL.md
name: kiro-steering-porter
description: >
Convert any Claude Skill’s SKILL.md into Amazon Kiro steering files (.kiro/steering/).
Extract goals, stack, structure, guardrails, and procedures; map them to product.md,
tech.md, structure.md, and focused docs using Kiro inclusion modes (always, fileMatch, manual).
Never include secrets; show diffs and ask before overwriting.
Kiro Steering Porter
When to activate
Trigger on requests like: “convert/port Skill to Kiro,” “make Kiro steering from SKILL.md,”
“generate .kiro/steering/ from this Skill.”
Inputs
- Source
SKILL.md(paste or file path). Optional extras: team/product name, tech stack, known file globs.
Outputs
.kiro/steering/product.md(always).kiro/steering/tech.md(always).kiro/steering/structure.md(always).kiro/steering/code-conventions.md(always).kiro/steering/security-policies.md(always)- Optional:
api-standards.md(fileMatch),testing-standards.md(always/fileMatch),
workflow-*.mdorrunbook-*.md(manual),tools-and-integrations.md(manual) - A short summary report of created/updated files, inclusion modes, and TODOs.
Procedure
1) Parse the source SKILL.md (front matter, headings/bullets). Detect sections:
What/Why, Operating Procedure/Steps, Tooling/Integrations, Guardrails/Don’ts,
Examples/Prompts, References.
2) Map Skill → Kiro
- What & Why → product.md
- Stack/Tools/Constraints → tech.md
- Structure/Naming/Architecture → structure.md
- Guardrails/Security/Style → security-policies.md, code-conventions.md (always)
- Procedures/Runbooks → workflow-*.md or runbook-*.md (manual)
- File- or area-specific rules → a file with:
---
inclusion: fileMatch
fileMatchPattern: "<glob>"
---
- Integrations/MCP/tools → tools-and-integrations.md (manual)
3) Generate .kiro/steering/ files. Keep foundational docs concise; add clear TODOs for gaps.
4) Front matter: set inclusion: always for foundations; use fileMatch and manual where appropriate.
5) Safety: redact secrets; show a diff and ask before overwriting existing files; no external commands.
6) Verification: print a checklist of created/updated files + inclusion modes.
Templates (abbreviated)
product.md
(default: inclusion always)
Product Overview
Purpose
Key Outcomes
Stakeholders / Personas
Constraints & Principles
tech.md
Technology Stack
Frameworks & Libraries
Tooling / Services
Constraints / Compatibility
structure.md
Project Structure
Layout
Naming & Imports
Architecture Notes
code-conventions.md (always)
inclusion: always
Code Conventions
# README.md
skill-to-kiro
Convert Claude Skills (SKILL.md format) into Amazon Kiro steering files automatically.
Overview
This Claude Skill transforms any Claude Skill's SKILL.md into a complete set of Amazon Kiro steering files (.kiro/steering/). It intelligently extracts goals, stack, structure, guardrails, and procedures, mapping them to Kiro's format with appropriate inclusion modes (always, fileMatch, manual).
What It Does
Takes this:
---
name: my-skill
description: Build awesome things
---
# My Skill
## Process
1. Do this
2. Do that
And generates this:
.kiro/steering/
├── product.md (inclusion: always)
├── tech.md (inclusion: always)
├── structure.md (inclusion: always)
├── code-conventions.md (inclusion: always)
├── security-policies.md (inclusion: always)
├── testing-standards.md (inclusion: always)
├── python-implementation.md (fileMatch: **/*.py)
├── typescript-implementation.md (fileMatch: **/*.ts)
├── workflow-*.md (inclusion: manual)
└── tools-and-integrations.md (inclusion: manual)
Features
✅ Intelligent Mapping - Automatically categorizes content into appropriate Kiro files
✅ Inclusion Modes - Sets always, fileMatch, and manual based on content type
✅ Security First - Redacts secrets and never includes credentials
✅ Safe Operation - Shows diffs and asks before overwriting existing files
✅ Complete Coverage - Generates all core Kiro steering files
✅ Language Support - Creates language-specific files for Python and TypeScript
Usage
In Claude
Simply say:
Convert this Skill to Kiro steering format
Or:
Port my SKILL.md to .kiro/steering/
Then paste your SKILL.md content or provide the file path.
What You'll Get
The skill generates up to 10 steering files:
Core Files (always included):
- product.md - Purpose, outcomes, stakeholders
- tech.md - Stack, frameworks, constraints
- structure.md - Layout, naming, architecture
- code-conventions.md - Style rules, patterns
- security-policies.md - Security requirements
- testing-standards.md - Testing approach
Language-Specific (fileMatch):
- python-implementation.md - Python patterns
- typescript-implementation.md - TypeScript patterns
On-Demand (manual):
- workflow-*.md - Procedures and runbooks
- tools-and-integrations.md - External integrations
Installation
Option 1: Upload to Claude
- Download the skill zip file
- In Claude, click the 📎 attachment icon
- Upload the zip file
- Claude will automatically load the skill
Option 2: Manual Setup
- Create a skill directory structure:
mkdir -p my-skills/skill-to-kiro
-
Add the
SKILL.mdfile to that directory -
Reference it in Claude when needed
Example Conversion
Input: A skill for building REST APIs
Output:
- product.md - API development goals and principles
- tech.md - Express, FastAPI, database choices
- structure.md - Project layout and routing patterns
- code-conventions.md - REST conventions, error handling
- security-policies.md - Authentication, authorization
- api-standards.md - Endpoint design (fileMatch: api/**/*)
Mapping Logic
| Skill Section | Maps To |
|---|---|
| What/Why/Purpose | product.md |
| Stack/Tools/Dependencies | tech.md |
| Structure/Architecture | structure.md |
| Guardrails/Don'ts/Style | code-conventions.md, security-policies.md |
| Procedures/Steps | workflow-*.md |
| Testing/Validation | testing-standards.md |
| Language-Specific Rules | python-implementation.md, typescript-implementation.md |
Inclusion Modes Explained
always
Loaded in every Kiro context. Use for foundational documents.
---
inclusion: always
---
fileMatch
Loaded when working with specific file patterns.
---
inclusion: fileMatch
fileMatchPattern: "**/*.py"
---
manual
Explicitly invoked when needed. Use for detailed guides.
---
inclusion: manual
---
Best Practices
Input Preparation
- Ensure your SKILL.md has clear section headings
- Include examples and anti-patterns
- Document tooling and dependencies
- Specify security requirements
After Conversion
- Review generated files for completeness
- Add TODOs for any gaps
- Adjust inclusion modes if needed
- Test with Kiro to verify context loading
Limitations
- Does not execute external commands
- Shows diffs but requires manual approval for overwrites
- Cannot access network resources during conversion
- Redacts but doesn't validate all potential secrets
Security
The skill never includes:
- API tokens or credentials
- Private keys or certificates
- Database passwords
- Personal access tokens
- Any string matching common secret patterns
All conversions are done locally with no external API calls.
Contributing
This is a Claude Skill that runs within Claude. To improve it:
- Modify the
SKILL.mdfile - Test with various input skills
- Add more mapping rules as needed
- Enhance the templates section
Example Skills to Convert
Works great with:
- API development skills
- Framework-specific skills (React, FastAPI, etc.)
- DevOps and infrastructure skills
- Testing and QA skills
- Documentation skills
FAQ
Q: What if my skill doesn't fit the standard structure?
A: The converter will do its best to map content logically. Review and adjust the output as needed.
Q: Can I customize the generated files?
A: Yes! The conversion creates a starting point. Edit the files to match your needs.
Q: Will it overwrite existing Kiro files?
A: No. It shows a diff and asks for confirmation before overwriting.
Q: What about secrets in my SKILL.md?
A: The skill automatically redacts common secret patterns. Review before committing.
Q: Can I convert multiple skills at once?
A: One at a time currently. Run the conversion multiple times for different skills.
Author
Martin Ristov
# Supported AI Coding Agents
This skill is compatible with the SKILL.md standard and works with all major AI coding agents:
Learn more about the SKILL.md standard and how to use these skills with your preferred AI coding agent.