kiro-kit 0.2.1 → 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 +30 -12
- 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,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.
|
|
@@ -939,73 +939,63 @@
|
|
|
939
939
|
"type": "other"
|
|
940
940
|
},
|
|
941
941
|
{
|
|
942
|
-
"source": "skills/
|
|
943
|
-
"target": ".kiro/skills/
|
|
944
|
-
"type": "
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
"source": "skills/claude-code/references/agent-skills.md",
|
|
948
|
-
"target": ".kiro/skills/claude-code/references/agent-skills.md",
|
|
949
|
-
"type": "doc"
|
|
950
|
-
},
|
|
951
|
-
{
|
|
952
|
-
"source": "skills/claude-code/references/api-reference.md",
|
|
953
|
-
"target": ".kiro/skills/claude-code/references/api-reference.md",
|
|
954
|
-
"type": "doc"
|
|
942
|
+
"source": "skills/kiro/skill.md",
|
|
943
|
+
"target": ".kiro/skills/kiro/skill.md",
|
|
944
|
+
"type": "skill"
|
|
955
945
|
},
|
|
956
946
|
{
|
|
957
|
-
"source": "skills/
|
|
958
|
-
"target": ".kiro/skills/
|
|
947
|
+
"source": "skills/kiro/references/autonomy-modes.md",
|
|
948
|
+
"target": ".kiro/skills/kiro/references/autonomy-modes.md",
|
|
959
949
|
"type": "doc"
|
|
960
950
|
},
|
|
961
951
|
{
|
|
962
|
-
"source": "skills/
|
|
963
|
-
"target": ".kiro/skills/
|
|
952
|
+
"source": "skills/kiro/references/best-practices.md",
|
|
953
|
+
"target": ".kiro/skills/kiro/references/best-practices.md",
|
|
964
954
|
"type": "doc"
|
|
965
955
|
},
|
|
966
956
|
{
|
|
967
|
-
"source": "skills/
|
|
968
|
-
"target": ".kiro/skills/
|
|
957
|
+
"source": "skills/kiro/references/commands.md",
|
|
958
|
+
"target": ".kiro/skills/kiro/references/commands.md",
|
|
969
959
|
"type": "doc"
|
|
970
960
|
},
|
|
971
961
|
{
|
|
972
|
-
"source": "skills/
|
|
973
|
-
"target": ".kiro/skills/
|
|
962
|
+
"source": "skills/kiro/references/configuration.md",
|
|
963
|
+
"target": ".kiro/skills/kiro/references/configuration.md",
|
|
974
964
|
"type": "doc"
|
|
975
965
|
},
|
|
976
966
|
{
|
|
977
|
-
"source": "skills/
|
|
978
|
-
"target": ".kiro/skills/
|
|
967
|
+
"source": "skills/kiro/references/getting-started.md",
|
|
968
|
+
"target": ".kiro/skills/kiro/references/getting-started.md",
|
|
979
969
|
"type": "doc"
|
|
980
970
|
},
|
|
981
971
|
{
|
|
982
|
-
"source": "skills/
|
|
983
|
-
"target": ".kiro/skills/
|
|
972
|
+
"source": "skills/kiro/references/hooks.md",
|
|
973
|
+
"target": ".kiro/skills/kiro/references/hooks.md",
|
|
984
974
|
"type": "doc"
|
|
985
975
|
},
|
|
986
976
|
{
|
|
987
|
-
"source": "skills/
|
|
988
|
-
"target": ".kiro/skills/
|
|
977
|
+
"source": "skills/kiro/references/mcp-integration.md",
|
|
978
|
+
"target": ".kiro/skills/kiro/references/mcp-integration.md",
|
|
989
979
|
"type": "doc"
|
|
990
980
|
},
|
|
991
981
|
{
|
|
992
|
-
"source": "skills/
|
|
993
|
-
"target": ".kiro/skills/
|
|
982
|
+
"source": "skills/kiro/references/skills.md",
|
|
983
|
+
"target": ".kiro/skills/kiro/references/skills.md",
|
|
994
984
|
"type": "doc"
|
|
995
985
|
},
|
|
996
986
|
{
|
|
997
|
-
"source": "skills/
|
|
998
|
-
"target": ".kiro/skills/
|
|
987
|
+
"source": "skills/kiro/references/specs-workflow.md",
|
|
988
|
+
"target": ".kiro/skills/kiro/references/specs-workflow.md",
|
|
999
989
|
"type": "doc"
|
|
1000
990
|
},
|
|
1001
991
|
{
|
|
1002
|
-
"source": "skills/
|
|
1003
|
-
"target": ".kiro/skills/
|
|
992
|
+
"source": "skills/kiro/references/steering-files.md",
|
|
993
|
+
"target": ".kiro/skills/kiro/references/steering-files.md",
|
|
1004
994
|
"type": "doc"
|
|
1005
995
|
},
|
|
1006
996
|
{
|
|
1007
|
-
"source": "skills/
|
|
1008
|
-
"target": ".kiro/skills/
|
|
997
|
+
"source": "skills/kiro/references/troubleshooting.md",
|
|
998
|
+
"target": ".kiro/skills/kiro/references/troubleshooting.md",
|
|
1009
999
|
"type": "doc"
|
|
1010
1000
|
},
|
|
1011
1001
|
{
|
|
@@ -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
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Commands
|
|
2
|
+
|
|
3
|
+
## Overview
|
|
4
|
+
|
|
5
|
+
Commands are user-defined operations in `.kiro/commands/` that expand to prompts. They provide shortcuts for common workflows.
|
|
6
|
+
|
|
7
|
+
## File Format
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
---
|
|
11
|
+
description: Brief description of what this command does
|
|
12
|
+
inclusion: manual
|
|
13
|
+
argument-hint: "[pattern]"
|
|
14
|
+
---
|
|
15
|
+
|
|
16
|
+
## Arguments
|
|
17
|
+
PATTERN: $1 (default: all)
|
|
18
|
+
|
|
19
|
+
## Workflow
|
|
20
|
+
1. Step one
|
|
21
|
+
2. Step two
|
|
22
|
+
3. Step three
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Front-Matter
|
|
26
|
+
|
|
27
|
+
Required fields:
|
|
28
|
+
- `description`: What the command does
|
|
29
|
+
|
|
30
|
+
Optional fields:
|
|
31
|
+
- `inclusion`: "manual" (default)
|
|
32
|
+
- `argument-hint`: Hint for arguments shown to user
|
|
33
|
+
|
|
34
|
+
## Arguments
|
|
35
|
+
|
|
36
|
+
Use `$1`, `$2`, etc. for positional arguments passed by the user.
|
|
37
|
+
|
|
38
|
+
## Nested Commands
|
|
39
|
+
|
|
40
|
+
Commands can be organized in subdirectories:
|
|
41
|
+
```
|
|
42
|
+
.kiro/commands/
|
|
43
|
+
test.md
|
|
44
|
+
fix/
|
|
45
|
+
types.md
|
|
46
|
+
test.md
|
|
47
|
+
fast.md
|
|
48
|
+
git/
|
|
49
|
+
cm.md
|
|
50
|
+
cp.md
|
|
51
|
+
pr.md
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
Access nested commands with colon notation: `/fix:types`, `/git:cm`
|
|
55
|
+
|
|
56
|
+
## Best Practices
|
|
57
|
+
|
|
58
|
+
- Keep commands focused on one workflow
|
|
59
|
+
- Include clear step-by-step instructions
|
|
60
|
+
- Use argument hints to guide users
|
|
61
|
+
- Document default behavior when no arguments provided
|