kiro-kit 0.2.2 → 0.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +7 -4
- package/dist/index.js.map +1 -1
- package/dist/presets/backend/manifest.json +25 -35
- package/dist/presets/backend/skills/kiro/references/autonomy-modes.md +26 -0
- package/dist/presets/backend/skills/kiro/references/best-practices.md +48 -0
- package/dist/presets/backend/skills/kiro/references/commands.md +61 -0
- package/dist/presets/backend/skills/kiro/references/configuration.md +41 -0
- package/dist/presets/backend/skills/kiro/references/getting-started.md +45 -0
- package/dist/presets/backend/skills/kiro/references/hooks.md +99 -0
- package/dist/presets/backend/skills/kiro/references/mcp-integration.md +53 -0
- package/dist/presets/backend/skills/kiro/references/skills.md +55 -0
- package/dist/presets/backend/skills/kiro/references/specs-workflow.md +62 -0
- package/dist/presets/backend/skills/kiro/references/steering-files.md +84 -0
- package/dist/presets/backend/skills/kiro/references/troubleshooting.md +42 -0
- package/dist/presets/backend/skills/kiro/skill.md +194 -0
- package/dist/presets/data-ai/manifest.json +25 -35
- package/dist/presets/data-ai/skills/kiro/references/autonomy-modes.md +26 -0
- package/dist/presets/data-ai/skills/kiro/references/best-practices.md +48 -0
- package/dist/presets/data-ai/skills/kiro/references/commands.md +61 -0
- package/dist/presets/data-ai/skills/kiro/references/configuration.md +41 -0
- package/dist/presets/data-ai/skills/kiro/references/getting-started.md +45 -0
- package/dist/presets/data-ai/skills/kiro/references/hooks.md +99 -0
- package/dist/presets/data-ai/skills/kiro/references/mcp-integration.md +53 -0
- package/dist/presets/data-ai/skills/kiro/references/skills.md +55 -0
- package/dist/presets/data-ai/skills/kiro/references/specs-workflow.md +62 -0
- package/dist/presets/data-ai/skills/kiro/references/steering-files.md +84 -0
- package/dist/presets/data-ai/skills/kiro/references/troubleshooting.md +42 -0
- package/dist/presets/data-ai/skills/kiro/skill.md +194 -0
- package/dist/presets/devops/manifest.json +25 -35
- package/dist/presets/devops/skills/kiro/references/autonomy-modes.md +26 -0
- package/dist/presets/devops/skills/kiro/references/best-practices.md +48 -0
- package/dist/presets/devops/skills/kiro/references/commands.md +61 -0
- package/dist/presets/devops/skills/kiro/references/configuration.md +41 -0
- package/dist/presets/devops/skills/kiro/references/getting-started.md +45 -0
- package/dist/presets/devops/skills/kiro/references/hooks.md +99 -0
- package/dist/presets/devops/skills/kiro/references/mcp-integration.md +53 -0
- package/dist/presets/devops/skills/kiro/references/skills.md +55 -0
- package/dist/presets/devops/skills/kiro/references/specs-workflow.md +62 -0
- package/dist/presets/devops/skills/kiro/references/steering-files.md +84 -0
- package/dist/presets/devops/skills/kiro/references/troubleshooting.md +42 -0
- package/dist/presets/devops/skills/kiro/skill.md +194 -0
- package/dist/presets/frontend/commands/test.md +1 -1
- package/dist/presets/frontend/manifest.json +25 -35
- package/dist/presets/frontend/skills/kiro/references/autonomy-modes.md +26 -0
- package/dist/presets/frontend/skills/kiro/references/best-practices.md +48 -0
- package/dist/presets/frontend/skills/kiro/references/commands.md +61 -0
- package/dist/presets/frontend/skills/kiro/references/configuration.md +41 -0
- package/dist/presets/frontend/skills/kiro/references/getting-started.md +45 -0
- package/dist/presets/frontend/skills/kiro/references/hooks.md +99 -0
- package/dist/presets/frontend/skills/kiro/references/mcp-integration.md +53 -0
- package/dist/presets/frontend/skills/kiro/references/skills.md +55 -0
- package/dist/presets/frontend/skills/kiro/references/specs-workflow.md +62 -0
- package/dist/presets/frontend/skills/kiro/references/steering-files.md +84 -0
- package/dist/presets/frontend/skills/kiro/references/troubleshooting.md +42 -0
- package/dist/presets/frontend/skills/kiro/skill.md +194 -0
- package/dist/presets/fullstack/manifest.json +25 -35
- package/dist/presets/fullstack/skills/kiro/references/autonomy-modes.md +26 -0
- package/dist/presets/fullstack/skills/kiro/references/best-practices.md +48 -0
- package/dist/presets/fullstack/skills/kiro/references/commands.md +61 -0
- package/dist/presets/fullstack/skills/kiro/references/configuration.md +41 -0
- package/dist/presets/fullstack/skills/kiro/references/getting-started.md +45 -0
- package/dist/presets/fullstack/skills/kiro/references/hooks.md +99 -0
- package/dist/presets/fullstack/skills/kiro/references/mcp-integration.md +53 -0
- package/dist/presets/fullstack/skills/kiro/references/skills.md +55 -0
- package/dist/presets/fullstack/skills/kiro/references/specs-workflow.md +62 -0
- package/dist/presets/fullstack/skills/kiro/references/steering-files.md +84 -0
- package/dist/presets/fullstack/skills/kiro/references/troubleshooting.md +42 -0
- package/dist/presets/fullstack/skills/kiro/skill.md +194 -0
- package/dist/presets/mobile/manifest.json +25 -35
- package/dist/presets/mobile/skills/kiro/references/autonomy-modes.md +26 -0
- package/dist/presets/mobile/skills/kiro/references/best-practices.md +48 -0
- package/dist/presets/mobile/skills/kiro/references/commands.md +61 -0
- package/dist/presets/mobile/skills/kiro/references/configuration.md +41 -0
- package/dist/presets/mobile/skills/kiro/references/getting-started.md +45 -0
- package/dist/presets/mobile/skills/kiro/references/hooks.md +99 -0
- package/dist/presets/mobile/skills/kiro/references/mcp-integration.md +53 -0
- package/dist/presets/mobile/skills/kiro/references/skills.md +55 -0
- package/dist/presets/mobile/skills/kiro/references/specs-workflow.md +62 -0
- package/dist/presets/mobile/skills/kiro/references/steering-files.md +84 -0
- package/dist/presets/mobile/skills/kiro/references/troubleshooting.md +42 -0
- package/dist/presets/mobile/skills/kiro/skill.md +194 -0
- package/package.json +1 -1
- package/dist/presets/backend/skills/claude-code/references/advanced-features.md +0 -399
- package/dist/presets/backend/skills/claude-code/references/agent-skills.md +0 -399
- package/dist/presets/backend/skills/claude-code/references/api-reference.md +0 -498
- package/dist/presets/backend/skills/claude-code/references/best-practices.md +0 -447
- package/dist/presets/backend/skills/claude-code/references/cicd-integration.md +0 -428
- package/dist/presets/backend/skills/claude-code/references/configuration.md +0 -480
- package/dist/presets/backend/skills/claude-code/references/enterprise-features.md +0 -472
- package/dist/presets/backend/skills/claude-code/references/getting-started.md +0 -252
- package/dist/presets/backend/skills/claude-code/references/hooks-and-plugins.md +0 -441
- package/dist/presets/backend/skills/claude-code/references/ide-integration.md +0 -316
- package/dist/presets/backend/skills/claude-code/references/mcp-integration.md +0 -386
- package/dist/presets/backend/skills/claude-code/references/slash-commands.md +0 -489
- package/dist/presets/backend/skills/claude-code/references/troubleshooting.md +0 -456
- package/dist/presets/backend/skills/claude-code/skill.md +0 -194
- package/dist/presets/data-ai/skills/claude-code/references/advanced-features.md +0 -399
- package/dist/presets/data-ai/skills/claude-code/references/agent-skills.md +0 -399
- package/dist/presets/data-ai/skills/claude-code/references/api-reference.md +0 -498
- package/dist/presets/data-ai/skills/claude-code/references/best-practices.md +0 -447
- package/dist/presets/data-ai/skills/claude-code/references/cicd-integration.md +0 -428
- package/dist/presets/data-ai/skills/claude-code/references/configuration.md +0 -480
- package/dist/presets/data-ai/skills/claude-code/references/enterprise-features.md +0 -472
- package/dist/presets/data-ai/skills/claude-code/references/getting-started.md +0 -252
- package/dist/presets/data-ai/skills/claude-code/references/hooks-and-plugins.md +0 -441
- package/dist/presets/data-ai/skills/claude-code/references/ide-integration.md +0 -316
- package/dist/presets/data-ai/skills/claude-code/references/mcp-integration.md +0 -386
- package/dist/presets/data-ai/skills/claude-code/references/slash-commands.md +0 -489
- package/dist/presets/data-ai/skills/claude-code/references/troubleshooting.md +0 -456
- package/dist/presets/data-ai/skills/claude-code/skill.md +0 -194
- package/dist/presets/devops/skills/claude-code/references/advanced-features.md +0 -399
- package/dist/presets/devops/skills/claude-code/references/agent-skills.md +0 -399
- package/dist/presets/devops/skills/claude-code/references/api-reference.md +0 -498
- package/dist/presets/devops/skills/claude-code/references/best-practices.md +0 -447
- package/dist/presets/devops/skills/claude-code/references/cicd-integration.md +0 -428
- package/dist/presets/devops/skills/claude-code/references/configuration.md +0 -480
- package/dist/presets/devops/skills/claude-code/references/enterprise-features.md +0 -472
- package/dist/presets/devops/skills/claude-code/references/getting-started.md +0 -252
- package/dist/presets/devops/skills/claude-code/references/hooks-and-plugins.md +0 -441
- package/dist/presets/devops/skills/claude-code/references/ide-integration.md +0 -316
- package/dist/presets/devops/skills/claude-code/references/mcp-integration.md +0 -386
- package/dist/presets/devops/skills/claude-code/references/slash-commands.md +0 -489
- package/dist/presets/devops/skills/claude-code/references/troubleshooting.md +0 -456
- package/dist/presets/devops/skills/claude-code/skill.md +0 -194
- package/dist/presets/frontend/skills/claude-code/references/advanced-features.md +0 -399
- package/dist/presets/frontend/skills/claude-code/references/agent-skills.md +0 -399
- package/dist/presets/frontend/skills/claude-code/references/api-reference.md +0 -498
- package/dist/presets/frontend/skills/claude-code/references/best-practices.md +0 -447
- package/dist/presets/frontend/skills/claude-code/references/cicd-integration.md +0 -428
- package/dist/presets/frontend/skills/claude-code/references/configuration.md +0 -480
- package/dist/presets/frontend/skills/claude-code/references/enterprise-features.md +0 -472
- package/dist/presets/frontend/skills/claude-code/references/getting-started.md +0 -252
- package/dist/presets/frontend/skills/claude-code/references/hooks-and-plugins.md +0 -441
- package/dist/presets/frontend/skills/claude-code/references/ide-integration.md +0 -316
- package/dist/presets/frontend/skills/claude-code/references/mcp-integration.md +0 -386
- package/dist/presets/frontend/skills/claude-code/references/slash-commands.md +0 -489
- package/dist/presets/frontend/skills/claude-code/references/troubleshooting.md +0 -456
- package/dist/presets/frontend/skills/claude-code/skill.md +0 -194
- package/dist/presets/fullstack/skills/claude-code/references/advanced-features.md +0 -399
- package/dist/presets/fullstack/skills/claude-code/references/agent-skills.md +0 -399
- package/dist/presets/fullstack/skills/claude-code/references/api-reference.md +0 -498
- package/dist/presets/fullstack/skills/claude-code/references/best-practices.md +0 -447
- package/dist/presets/fullstack/skills/claude-code/references/cicd-integration.md +0 -428
- package/dist/presets/fullstack/skills/claude-code/references/configuration.md +0 -480
- package/dist/presets/fullstack/skills/claude-code/references/enterprise-features.md +0 -472
- package/dist/presets/fullstack/skills/claude-code/references/getting-started.md +0 -252
- package/dist/presets/fullstack/skills/claude-code/references/hooks-and-plugins.md +0 -441
- package/dist/presets/fullstack/skills/claude-code/references/ide-integration.md +0 -316
- package/dist/presets/fullstack/skills/claude-code/references/mcp-integration.md +0 -386
- package/dist/presets/fullstack/skills/claude-code/references/slash-commands.md +0 -489
- package/dist/presets/fullstack/skills/claude-code/references/troubleshooting.md +0 -456
- package/dist/presets/fullstack/skills/claude-code/skill.md +0 -194
- package/dist/presets/mobile/skills/claude-code/references/advanced-features.md +0 -399
- package/dist/presets/mobile/skills/claude-code/references/agent-skills.md +0 -399
- package/dist/presets/mobile/skills/claude-code/references/api-reference.md +0 -498
- package/dist/presets/mobile/skills/claude-code/references/best-practices.md +0 -447
- package/dist/presets/mobile/skills/claude-code/references/cicd-integration.md +0 -428
- package/dist/presets/mobile/skills/claude-code/references/configuration.md +0 -480
- package/dist/presets/mobile/skills/claude-code/references/enterprise-features.md +0 -472
- package/dist/presets/mobile/skills/claude-code/references/getting-started.md +0 -252
- package/dist/presets/mobile/skills/claude-code/references/hooks-and-plugins.md +0 -441
- package/dist/presets/mobile/skills/claude-code/references/ide-integration.md +0 -316
- package/dist/presets/mobile/skills/claude-code/references/mcp-integration.md +0 -386
- package/dist/presets/mobile/skills/claude-code/references/slash-commands.md +0 -489
- package/dist/presets/mobile/skills/claude-code/references/troubleshooting.md +0 -456
- package/dist/presets/mobile/skills/claude-code/skill.md +0 -194
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# MCP Integration
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Model Context Protocol (MCP) connects external tools and services to Kiro. Servers provide tools that the AI agent can invoke.
|
|
6
|
+
|
|
7
|
+
## Configuration
|
|
8
|
+
|
|
9
|
+
File: `.kiro/settings/mcp.json`
|
|
10
|
+
|
|
11
|
+
```json
|
|
12
|
+
{
|
|
13
|
+
"mcpServers": {
|
|
14
|
+
"server-name": {
|
|
15
|
+
"command": "uvx",
|
|
16
|
+
"args": ["package@latest"],
|
|
17
|
+
"env": {},
|
|
18
|
+
"disabled": false,
|
|
19
|
+
"autoApprove": []
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Common Servers
|
|
26
|
+
|
|
27
|
+
- `awslabs.aws-documentation-mcp-server` - AWS documentation
|
|
28
|
+
- `@anthropic/mcp-server-filesystem` - File system access
|
|
29
|
+
- `@anthropic/mcp-server-github` - GitHub integration
|
|
30
|
+
|
|
31
|
+
## Installation
|
|
32
|
+
|
|
33
|
+
Most MCP servers use `uvx` (from the `uv` Python package manager):
|
|
34
|
+
1. Install `uv`: https://docs.astral.sh/uv/getting-started/installation/
|
|
35
|
+
2. Add server config to mcp.json
|
|
36
|
+
3. Server auto-starts on config change
|
|
37
|
+
|
|
38
|
+
## Auto-Approve
|
|
39
|
+
|
|
40
|
+
List tool names in `autoApprove` to skip confirmation prompts:
|
|
41
|
+
```json
|
|
42
|
+
{
|
|
43
|
+
"autoApprove": ["read_file", "search_files"]
|
|
44
|
+
}
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Troubleshooting
|
|
48
|
+
|
|
49
|
+
- Check server logs in Kiro's MCP Server view
|
|
50
|
+
- Verify `uvx` is installed and accessible
|
|
51
|
+
- Ensure environment variables are set correctly
|
|
52
|
+
- Use command palette: "MCP" to find relevant commands
|
|
53
|
+
- Servers reconnect automatically on config changes
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# Skills
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Skills are modular capabilities that Kiro activates automatically based on context. They provide specialized knowledge and workflows.
|
|
6
|
+
|
|
7
|
+
## Structure
|
|
8
|
+
|
|
9
|
+
```
|
|
10
|
+
.kiro/skills/{skill-name}/
|
|
11
|
+
skill.md # Main skill file (required)
|
|
12
|
+
references/ # Supporting documents (optional)
|
|
13
|
+
guide.md
|
|
14
|
+
examples.md
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## skill.md Format
|
|
18
|
+
|
|
19
|
+
```markdown
|
|
20
|
+
---
|
|
21
|
+
name: my-skill
|
|
22
|
+
description: >-
|
|
23
|
+
When to activate this skill. Include trigger phrases
|
|
24
|
+
and use cases.
|
|
25
|
+
---
|
|
26
|
+
|
|
27
|
+
# Skill Title
|
|
28
|
+
|
|
29
|
+
Content, instructions, and guidance...
|
|
30
|
+
|
|
31
|
+
## References
|
|
32
|
+
|
|
33
|
+
- `references/guide.md` - Detailed guide
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Front-Matter
|
|
37
|
+
|
|
38
|
+
Required fields:
|
|
39
|
+
- `name`: Skill identifier (kebab-case)
|
|
40
|
+
- `description`: Activation description (when should Kiro use this skill)
|
|
41
|
+
|
|
42
|
+
## Activation
|
|
43
|
+
|
|
44
|
+
Skills activate automatically when:
|
|
45
|
+
- User's message matches the description keywords
|
|
46
|
+
- Context suggests the skill is relevant
|
|
47
|
+
- User explicitly references the skill
|
|
48
|
+
|
|
49
|
+
## Best Practices
|
|
50
|
+
|
|
51
|
+
- Keep descriptions specific about when to activate
|
|
52
|
+
- Use references for detailed content (keeps main file focused)
|
|
53
|
+
- One skill per domain/topic
|
|
54
|
+
- Include examples in the skill content
|
|
55
|
+
- Reference external docs when available
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# Specs Workflow
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Specs are a structured way of building and documenting features. A spec formalizes the design and implementation process through requirements, design, and implementation tasks.
|
|
6
|
+
|
|
7
|
+
## Spec Types
|
|
8
|
+
|
|
9
|
+
### Feature Spec
|
|
10
|
+
- Requirements -> Design -> Tasks (requirements-first)
|
|
11
|
+
- Design -> Requirements -> Tasks (design-first)
|
|
12
|
+
|
|
13
|
+
### Bugfix Spec
|
|
14
|
+
- Bug condition methodology
|
|
15
|
+
- Exploration tests to confirm bug exists
|
|
16
|
+
- Fix implementation with property-based testing
|
|
17
|
+
|
|
18
|
+
## File Structure
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
.kiro/specs/{feature-name}/
|
|
22
|
+
requirements.md # User stories and acceptance criteria
|
|
23
|
+
design.md # Technical design document
|
|
24
|
+
tasks.md # Implementation task list
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
## Workflow
|
|
28
|
+
|
|
29
|
+
1. **Start a spec**: Tell Kiro you want to build a feature
|
|
30
|
+
2. **Choose approach**: Requirements-first or Design-first
|
|
31
|
+
3. **Iterate on documents**: Review and refine with Kiro
|
|
32
|
+
4. **Execute tasks**: Kiro implements tasks sequentially
|
|
33
|
+
5. **Validate**: Tests verify correctness
|
|
34
|
+
|
|
35
|
+
## Requirements Document
|
|
36
|
+
|
|
37
|
+
Contains:
|
|
38
|
+
- User stories with acceptance criteria
|
|
39
|
+
- Correctness properties (formal specifications)
|
|
40
|
+
- Constraints and assumptions
|
|
41
|
+
|
|
42
|
+
## Design Document
|
|
43
|
+
|
|
44
|
+
Contains:
|
|
45
|
+
- High-level architecture
|
|
46
|
+
- Data models and schemas
|
|
47
|
+
- API contracts
|
|
48
|
+
- Component interactions
|
|
49
|
+
|
|
50
|
+
## Tasks Document
|
|
51
|
+
|
|
52
|
+
Contains:
|
|
53
|
+
- Ordered implementation tasks
|
|
54
|
+
- Sub-tasks with checkboxes
|
|
55
|
+
- Dependencies between tasks
|
|
56
|
+
|
|
57
|
+
## Property-Based Testing
|
|
58
|
+
|
|
59
|
+
Specs encourage formal correctness properties:
|
|
60
|
+
- Define what "correct" means for your feature
|
|
61
|
+
- Encode properties as executable tests
|
|
62
|
+
- Use property-based testing frameworks (fast-check, hypothesis)
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
# Steering Files
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Steering files provide additional context and instructions to the AI agent. They live in `.kiro/steering/` and influence all interactions.
|
|
6
|
+
|
|
7
|
+
## Inclusion Modes
|
|
8
|
+
|
|
9
|
+
### Always Included (default)
|
|
10
|
+
```markdown
|
|
11
|
+
---
|
|
12
|
+
inclusion: always
|
|
13
|
+
description: Project coding standards
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
Your instructions here...
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
### Conditional (fileMatch)
|
|
20
|
+
Only included when matching files are read into context:
|
|
21
|
+
```markdown
|
|
22
|
+
---
|
|
23
|
+
inclusion: fileMatch
|
|
24
|
+
fileMatchPattern: "*.test.ts"
|
|
25
|
+
description: Testing conventions
|
|
26
|
+
---
|
|
27
|
+
|
|
28
|
+
Your testing instructions here...
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### Manual
|
|
32
|
+
Only included when user explicitly references via `#` in chat:
|
|
33
|
+
```markdown
|
|
34
|
+
---
|
|
35
|
+
inclusion: manual
|
|
36
|
+
description: Database migration guide
|
|
37
|
+
---
|
|
38
|
+
|
|
39
|
+
Your migration guide here...
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## Front-Matter Schema
|
|
43
|
+
|
|
44
|
+
Required fields:
|
|
45
|
+
- `inclusion`: "always" | "fileMatch" | "manual"
|
|
46
|
+
- `description`: Brief description of the steering file
|
|
47
|
+
|
|
48
|
+
Optional fields:
|
|
49
|
+
- `fileMatchPattern`: Glob pattern (required for fileMatch inclusion)
|
|
50
|
+
|
|
51
|
+
## Best Practices
|
|
52
|
+
|
|
53
|
+
- Keep steering files focused on one topic
|
|
54
|
+
- Use "always" sparingly to avoid context bloat
|
|
55
|
+
- Use "fileMatch" for language/framework-specific conventions
|
|
56
|
+
- Use "manual" for reference material not needed every time
|
|
57
|
+
- Include file references with `#[[file:relative/path]]` syntax
|
|
58
|
+
|
|
59
|
+
## Examples
|
|
60
|
+
|
|
61
|
+
### Code Standards
|
|
62
|
+
```markdown
|
|
63
|
+
---
|
|
64
|
+
inclusion: always
|
|
65
|
+
description: TypeScript coding standards
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
- Use strict mode, no `any` types
|
|
69
|
+
- Prefer interfaces for props, types for unions
|
|
70
|
+
- Use Zod for runtime validation
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
### API Conventions (conditional)
|
|
74
|
+
```markdown
|
|
75
|
+
---
|
|
76
|
+
inclusion: fileMatch
|
|
77
|
+
fileMatchPattern: "**/api/**/*.ts"
|
|
78
|
+
description: API route conventions
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
- Use parameterized queries
|
|
82
|
+
- Validate input with Zod
|
|
83
|
+
- Return consistent error format
|
|
84
|
+
```
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# Troubleshooting
|
|
2
|
+
|
|
3
|
+
## Common Issues
|
|
4
|
+
|
|
5
|
+
### MCP Server Not Starting
|
|
6
|
+
- Verify `uvx` is installed: run `uvx --version`
|
|
7
|
+
- Check mcp.json syntax (valid JSON)
|
|
8
|
+
- Ensure environment variables are set
|
|
9
|
+
- Check Kiro's MCP Server view for error logs
|
|
10
|
+
- Try restarting from command palette
|
|
11
|
+
|
|
12
|
+
### Steering Files Not Loading
|
|
13
|
+
- Verify front-matter has correct `inclusion` field
|
|
14
|
+
- Check file is in `.kiro/steering/` directory
|
|
15
|
+
- For fileMatch, verify pattern matches target files
|
|
16
|
+
- Ensure no YAML syntax errors in front-matter
|
|
17
|
+
|
|
18
|
+
### Skills Not Activating
|
|
19
|
+
- Check skill.md has valid front-matter (name, description)
|
|
20
|
+
- Verify skill directory is in `.kiro/skills/`
|
|
21
|
+
- Ensure description contains relevant trigger keywords
|
|
22
|
+
- Try referencing the skill explicitly
|
|
23
|
+
|
|
24
|
+
### Hooks Not Triggering
|
|
25
|
+
- Verify hook JSON schema is valid
|
|
26
|
+
- Check event type matches expected trigger
|
|
27
|
+
- For file events, verify patterns match file paths
|
|
28
|
+
- Check command exists and is executable
|
|
29
|
+
|
|
30
|
+
### Performance Issues
|
|
31
|
+
- Reduce number of "always" steering files
|
|
32
|
+
- Keep skill references focused and concise
|
|
33
|
+
- Disable unused MCP servers
|
|
34
|
+
- Clear workspace cache if needed
|
|
35
|
+
|
|
36
|
+
## Debug Steps
|
|
37
|
+
|
|
38
|
+
1. Check Kiro output panel for errors
|
|
39
|
+
2. Verify `.kiro/` directory structure
|
|
40
|
+
3. Validate JSON/YAML syntax in config files
|
|
41
|
+
4. Try disabling extensions one by one
|
|
42
|
+
5. Restart Kiro if issues persist
|
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: kiro
|
|
3
|
+
description: >-
|
|
4
|
+
Use when users ask about Kiro IDE features, setup, configuration,
|
|
5
|
+
troubleshooting, specs, steering files, MCP servers, hooks, skills,
|
|
6
|
+
commands, or workspace management. Activate for questions like 'How
|
|
7
|
+
do I use Kiro?', 'What are specs?', 'How to set up MCP?', 'Create a
|
|
8
|
+
steering file', 'Fix Kiro issues', or 'Configure my workspace'.
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# Kiro IDE Expert
|
|
12
|
+
|
|
13
|
+
Kiro is an AI-powered development environment that helps developers focus on what matters: designing systems, exploring solutions, and making decisions. It combines autonomous planning, execution, and validation with extensibility through specs, steering files, skills, commands, hooks, and MCP servers.
|
|
14
|
+
|
|
15
|
+
## When to Use This Skill
|
|
16
|
+
|
|
17
|
+
Use when users need help with:
|
|
18
|
+
- Understanding Kiro features and capabilities
|
|
19
|
+
- Installation, setup, and workspace configuration
|
|
20
|
+
- Creating and managing specs (requirements, design, tasks)
|
|
21
|
+
- Writing steering files for project conventions
|
|
22
|
+
- Creating or managing skills
|
|
23
|
+
- Configuring MCP servers for external tool integration
|
|
24
|
+
- Setting up hooks for automation
|
|
25
|
+
- Using commands for development workflows
|
|
26
|
+
- Troubleshooting Kiro issues
|
|
27
|
+
- Multi-workspace and team collaboration
|
|
28
|
+
- Advanced features (autonomy modes, context management)
|
|
29
|
+
|
|
30
|
+
**Activation examples:**
|
|
31
|
+
- "How do I use Kiro?"
|
|
32
|
+
- "What are specs and how do I create one?"
|
|
33
|
+
- "How to set up MCP servers?"
|
|
34
|
+
- "Create a new steering file for X"
|
|
35
|
+
- "Fix Kiro configuration issues"
|
|
36
|
+
- "How do hooks work in Kiro?"
|
|
37
|
+
|
|
38
|
+
## Core Architecture
|
|
39
|
+
|
|
40
|
+
**Specs**: Structured feature development workflow (requirements -> design -> tasks) that guides implementation systematically
|
|
41
|
+
|
|
42
|
+
**Steering Files**: Project-level instructions in `.kiro/steering/` that provide conventions, standards, and context to the AI agent
|
|
43
|
+
|
|
44
|
+
**Skills**: Modular capabilities with instructions and references that Kiro activates automatically based on context
|
|
45
|
+
|
|
46
|
+
**Commands**: User-defined operations in `.kiro/commands/` that expand to prompts for common workflows
|
|
47
|
+
|
|
48
|
+
**Hooks**: Automated actions triggered by IDE events (file changes, tool use, task execution, prompt submission)
|
|
49
|
+
|
|
50
|
+
**MCP Servers**: Model Context Protocol integrations connecting external tools and services via `.kiro/settings/mcp.json`
|
|
51
|
+
|
|
52
|
+
## Quick Reference
|
|
53
|
+
|
|
54
|
+
Load these references when needed for detailed guidance:
|
|
55
|
+
|
|
56
|
+
### Getting Started
|
|
57
|
+
- **Installation & Setup**: `references/getting-started.md`
|
|
58
|
+
- Prerequisites, installation, workspace setup, first run
|
|
59
|
+
|
|
60
|
+
### Spec-Driven Development
|
|
61
|
+
- **Specs Workflow**: `references/specs-workflow.md`
|
|
62
|
+
- Requirements, design, tasks, bugfix specs, property-based testing
|
|
63
|
+
|
|
64
|
+
### Steering & Configuration
|
|
65
|
+
- **Steering Files**: `references/steering-files.md`
|
|
66
|
+
- Always-included, conditional (fileMatch), manual inclusion, front-matter format
|
|
67
|
+
|
|
68
|
+
- **Configuration**: `references/configuration.md`
|
|
69
|
+
- Settings hierarchy, MCP config, workspace vs user settings
|
|
70
|
+
|
|
71
|
+
### Skills & Commands
|
|
72
|
+
- **Skills**: `references/skills.md`
|
|
73
|
+
- Creating skills, skill.md format, references directory, activation patterns
|
|
74
|
+
|
|
75
|
+
- **Commands**: `references/commands.md`
|
|
76
|
+
- Command file format, front-matter, argument hints, workflow patterns
|
|
77
|
+
|
|
78
|
+
### Integration & Extension
|
|
79
|
+
- **MCP Integration**: `references/mcp-integration.md`
|
|
80
|
+
- mcp.json configuration, common servers, auto-approve, troubleshooting
|
|
81
|
+
|
|
82
|
+
- **Hooks**: `references/hooks.md`
|
|
83
|
+
- Event types (fileEdited, preToolUse, postToolUse, promptSubmit, etc.)
|
|
84
|
+
- Actions (askAgent, runCommand), hook schema, examples
|
|
85
|
+
|
|
86
|
+
### Advanced Usage
|
|
87
|
+
- **Autonomy Modes**: `references/autonomy-modes.md`
|
|
88
|
+
- Autopilot vs Supervised mode, when to use each
|
|
89
|
+
|
|
90
|
+
- **Troubleshooting**: `references/troubleshooting.md`
|
|
91
|
+
- Common issues, MCP problems, performance, workspace diagnostics
|
|
92
|
+
|
|
93
|
+
- **Best Practices**: `references/best-practices.md`
|
|
94
|
+
- Project organization, steering conventions, skill design, team workflows
|
|
95
|
+
|
|
96
|
+
## Common Workflows
|
|
97
|
+
|
|
98
|
+
### Spec-Driven Feature Development
|
|
99
|
+
```
|
|
100
|
+
1. Create a spec: Kiro guides you through requirements -> design -> tasks
|
|
101
|
+
2. Execute tasks: Kiro implements each task from the spec sequentially
|
|
102
|
+
3. Validate: Property-based tests verify correctness properties
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
### Steering File Setup
|
|
106
|
+
```
|
|
107
|
+
# .kiro/steering/my-conventions.md
|
|
108
|
+
---
|
|
109
|
+
inclusion: always
|
|
110
|
+
description: Project coding conventions
|
|
111
|
+
---
|
|
112
|
+
|
|
113
|
+
Your conventions here...
|
|
114
|
+
```
|
|
115
|
+
|
|
116
|
+
### Hook Configuration
|
|
117
|
+
```json
|
|
118
|
+
{
|
|
119
|
+
"name": "Lint on Save",
|
|
120
|
+
"version": "1.0.0",
|
|
121
|
+
"when": {
|
|
122
|
+
"type": "fileEdited",
|
|
123
|
+
"patterns": ["*.ts", "*.tsx"]
|
|
124
|
+
},
|
|
125
|
+
"then": {
|
|
126
|
+
"type": "runCommand",
|
|
127
|
+
"command": "npm run lint"
|
|
128
|
+
}
|
|
129
|
+
}
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
### MCP Server Setup
|
|
133
|
+
```json
|
|
134
|
+
{
|
|
135
|
+
"mcpServers": {
|
|
136
|
+
"my-server": {
|
|
137
|
+
"command": "uvx",
|
|
138
|
+
"args": ["my-mcp-server@latest"],
|
|
139
|
+
"env": {},
|
|
140
|
+
"disabled": false,
|
|
141
|
+
"autoApprove": []
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
```
|
|
146
|
+
|
|
147
|
+
### Skill Creation
|
|
148
|
+
```
|
|
149
|
+
.kiro/skills/my-skill/
|
|
150
|
+
skill.md # Main skill file with front-matter
|
|
151
|
+
references/ # Supporting reference documents
|
|
152
|
+
guide.md
|
|
153
|
+
```
|
|
154
|
+
|
|
155
|
+
## Instructions for Kiro
|
|
156
|
+
|
|
157
|
+
When responding to Kiro-related questions:
|
|
158
|
+
|
|
159
|
+
1. **Identify the topic** from the user's question
|
|
160
|
+
2. **Load relevant references** from the Quick Reference section above
|
|
161
|
+
3. **Provide specific guidance** using information from loaded references
|
|
162
|
+
4. **Include examples** when helpful
|
|
163
|
+
|
|
164
|
+
**Loading references:**
|
|
165
|
+
- Read reference files only when needed for the specific question
|
|
166
|
+
- Multiple references can be loaded for complex queries
|
|
167
|
+
|
|
168
|
+
**For setup questions:** Load `references/getting-started.md`
|
|
169
|
+
|
|
170
|
+
**For spec questions:** Load `references/specs-workflow.md`
|
|
171
|
+
|
|
172
|
+
**For steering questions:** Load `references/steering-files.md`
|
|
173
|
+
|
|
174
|
+
**For skill creation:** Load `references/skills.md`
|
|
175
|
+
|
|
176
|
+
**For command questions:** Load `references/commands.md`
|
|
177
|
+
|
|
178
|
+
**For MCP questions:** Load `references/mcp-integration.md`
|
|
179
|
+
|
|
180
|
+
**For hook questions:** Load `references/hooks.md`
|
|
181
|
+
|
|
182
|
+
**For configuration:** Load `references/configuration.md`
|
|
183
|
+
|
|
184
|
+
**For autonomy modes:** Load `references/autonomy-modes.md`
|
|
185
|
+
|
|
186
|
+
**For troubleshooting:** Load `references/troubleshooting.md`
|
|
187
|
+
|
|
188
|
+
**For best practices:** Load `references/best-practices.md`
|
|
189
|
+
|
|
190
|
+
**Documentation links:**
|
|
191
|
+
- Kiro docs: https://kiro.dev/docs/
|
|
192
|
+
- GitHub: https://github.com/aws/kiro
|
|
193
|
+
|
|
194
|
+
Provide accurate, actionable guidance based on the loaded references and official documentation.
|
|
@@ -831,73 +831,63 @@
|
|
|
831
831
|
"type": "skill"
|
|
832
832
|
},
|
|
833
833
|
{
|
|
834
|
-
"source": "skills/
|
|
835
|
-
"target": ".kiro/skills/
|
|
836
|
-
"type": "
|
|
837
|
-
},
|
|
838
|
-
{
|
|
839
|
-
"source": "skills/claude-code/references/agent-skills.md",
|
|
840
|
-
"target": ".kiro/skills/claude-code/references/agent-skills.md",
|
|
841
|
-
"type": "doc"
|
|
842
|
-
},
|
|
843
|
-
{
|
|
844
|
-
"source": "skills/claude-code/references/api-reference.md",
|
|
845
|
-
"target": ".kiro/skills/claude-code/references/api-reference.md",
|
|
846
|
-
"type": "doc"
|
|
834
|
+
"source": "skills/kiro/skill.md",
|
|
835
|
+
"target": ".kiro/skills/kiro/skill.md",
|
|
836
|
+
"type": "skill"
|
|
847
837
|
},
|
|
848
838
|
{
|
|
849
|
-
"source": "skills/
|
|
850
|
-
"target": ".kiro/skills/
|
|
839
|
+
"source": "skills/kiro/references/autonomy-modes.md",
|
|
840
|
+
"target": ".kiro/skills/kiro/references/autonomy-modes.md",
|
|
851
841
|
"type": "doc"
|
|
852
842
|
},
|
|
853
843
|
{
|
|
854
|
-
"source": "skills/
|
|
855
|
-
"target": ".kiro/skills/
|
|
844
|
+
"source": "skills/kiro/references/best-practices.md",
|
|
845
|
+
"target": ".kiro/skills/kiro/references/best-practices.md",
|
|
856
846
|
"type": "doc"
|
|
857
847
|
},
|
|
858
848
|
{
|
|
859
|
-
"source": "skills/
|
|
860
|
-
"target": ".kiro/skills/
|
|
849
|
+
"source": "skills/kiro/references/commands.md",
|
|
850
|
+
"target": ".kiro/skills/kiro/references/commands.md",
|
|
861
851
|
"type": "doc"
|
|
862
852
|
},
|
|
863
853
|
{
|
|
864
|
-
"source": "skills/
|
|
865
|
-
"target": ".kiro/skills/
|
|
854
|
+
"source": "skills/kiro/references/configuration.md",
|
|
855
|
+
"target": ".kiro/skills/kiro/references/configuration.md",
|
|
866
856
|
"type": "doc"
|
|
867
857
|
},
|
|
868
858
|
{
|
|
869
|
-
"source": "skills/
|
|
870
|
-
"target": ".kiro/skills/
|
|
859
|
+
"source": "skills/kiro/references/getting-started.md",
|
|
860
|
+
"target": ".kiro/skills/kiro/references/getting-started.md",
|
|
871
861
|
"type": "doc"
|
|
872
862
|
},
|
|
873
863
|
{
|
|
874
|
-
"source": "skills/
|
|
875
|
-
"target": ".kiro/skills/
|
|
864
|
+
"source": "skills/kiro/references/hooks.md",
|
|
865
|
+
"target": ".kiro/skills/kiro/references/hooks.md",
|
|
876
866
|
"type": "doc"
|
|
877
867
|
},
|
|
878
868
|
{
|
|
879
|
-
"source": "skills/
|
|
880
|
-
"target": ".kiro/skills/
|
|
869
|
+
"source": "skills/kiro/references/mcp-integration.md",
|
|
870
|
+
"target": ".kiro/skills/kiro/references/mcp-integration.md",
|
|
881
871
|
"type": "doc"
|
|
882
872
|
},
|
|
883
873
|
{
|
|
884
|
-
"source": "skills/
|
|
885
|
-
"target": ".kiro/skills/
|
|
874
|
+
"source": "skills/kiro/references/skills.md",
|
|
875
|
+
"target": ".kiro/skills/kiro/references/skills.md",
|
|
886
876
|
"type": "doc"
|
|
887
877
|
},
|
|
888
878
|
{
|
|
889
|
-
"source": "skills/
|
|
890
|
-
"target": ".kiro/skills/
|
|
879
|
+
"source": "skills/kiro/references/specs-workflow.md",
|
|
880
|
+
"target": ".kiro/skills/kiro/references/specs-workflow.md",
|
|
891
881
|
"type": "doc"
|
|
892
882
|
},
|
|
893
883
|
{
|
|
894
|
-
"source": "skills/
|
|
895
|
-
"target": ".kiro/skills/
|
|
884
|
+
"source": "skills/kiro/references/steering-files.md",
|
|
885
|
+
"target": ".kiro/skills/kiro/references/steering-files.md",
|
|
896
886
|
"type": "doc"
|
|
897
887
|
},
|
|
898
888
|
{
|
|
899
|
-
"source": "skills/
|
|
900
|
-
"target": ".kiro/skills/
|
|
889
|
+
"source": "skills/kiro/references/troubleshooting.md",
|
|
890
|
+
"target": ".kiro/skills/kiro/references/troubleshooting.md",
|
|
901
891
|
"type": "doc"
|
|
902
892
|
},
|
|
903
893
|
{
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# Autonomy Modes
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Kiro offers two modes for how the AI agent interacts with your workspace.
|
|
6
|
+
|
|
7
|
+
## Autopilot Mode
|
|
8
|
+
|
|
9
|
+
- Agent modifies files autonomously within the workspace
|
|
10
|
+
- Best for: routine tasks, well-defined changes, trusted workflows
|
|
11
|
+
- Changes are applied immediately
|
|
12
|
+
- Use when you trust the agent's judgment for the task
|
|
13
|
+
|
|
14
|
+
## Supervised Mode
|
|
15
|
+
|
|
16
|
+
- User has opportunity to review and revert changes after application
|
|
17
|
+
- Best for: complex refactors, unfamiliar codebases, learning
|
|
18
|
+
- Changes can be inspected before accepting
|
|
19
|
+
- Use when you want more control over modifications
|
|
20
|
+
|
|
21
|
+
## Choosing a Mode
|
|
22
|
+
|
|
23
|
+
- Start with Supervised for new projects or unfamiliar tasks
|
|
24
|
+
- Switch to Autopilot for repetitive, well-understood operations
|
|
25
|
+
- Use Supervised for security-sensitive changes
|
|
26
|
+
- Autopilot works well for spec task execution
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# Best Practices
|
|
2
|
+
|
|
3
|
+
## Project Organization
|
|
4
|
+
|
|
5
|
+
- Keep `.kiro/` directory in version control
|
|
6
|
+
- Use consistent naming (kebab-case for directories)
|
|
7
|
+
- Document custom skills and commands in project README
|
|
8
|
+
- Share steering files across team via git
|
|
9
|
+
|
|
10
|
+
## Steering Conventions
|
|
11
|
+
|
|
12
|
+
- One topic per steering file
|
|
13
|
+
- Use "always" only for critical, universal rules
|
|
14
|
+
- Use "fileMatch" for language/framework-specific guidance
|
|
15
|
+
- Keep files concise (under 100 lines ideally)
|
|
16
|
+
- Include examples in steering content
|
|
17
|
+
|
|
18
|
+
## Skill Design
|
|
19
|
+
|
|
20
|
+
- Focus each skill on one domain
|
|
21
|
+
- Write clear activation descriptions
|
|
22
|
+
- Use references for detailed content
|
|
23
|
+
- Keep main skill.md as an overview/router
|
|
24
|
+
- Test activation with various phrasings
|
|
25
|
+
|
|
26
|
+
## Hook Patterns
|
|
27
|
+
|
|
28
|
+
- Use file hooks for linting and formatting
|
|
29
|
+
- Use postTaskExecution for test validation
|
|
30
|
+
- Use preToolUse for access control
|
|
31
|
+
- Keep hook commands fast (under 30 seconds)
|
|
32
|
+
- Log hook failures for debugging
|
|
33
|
+
|
|
34
|
+
## Team Workflows
|
|
35
|
+
|
|
36
|
+
- Standardize steering files across projects
|
|
37
|
+
- Share skills via presets or git submodules
|
|
38
|
+
- Document MCP server requirements in README
|
|
39
|
+
- Use specs for all non-trivial features
|
|
40
|
+
- Review spec documents before task execution
|
|
41
|
+
|
|
42
|
+
## Cost Management
|
|
43
|
+
|
|
44
|
+
- Use steering to keep responses focused
|
|
45
|
+
- Avoid overly broad "always" steering
|
|
46
|
+
- Disable unused MCP servers
|
|
47
|
+
- Use Supervised mode for exploratory work
|
|
48
|
+
- Keep skill references concise
|