codingbuddy-rules 4.5.0 → 5.1.0
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/.ai-rules/adapters/aider.md +374 -0
- package/.ai-rules/adapters/antigravity.md +6 -6
- package/.ai-rules/adapters/claude-code.md +68 -4
- package/.ai-rules/adapters/codex.md +5 -5
- package/.ai-rules/adapters/cursor.md +2 -2
- package/.ai-rules/adapters/kiro.md +8 -8
- package/.ai-rules/adapters/opencode.md +7 -7
- package/.ai-rules/adapters/q.md +2 -2
- package/.ai-rules/adapters/windsurf.md +395 -0
- package/.ai-rules/agents/README.md +66 -16
- package/.ai-rules/agents/accessibility-specialist.json +8 -1
- package/.ai-rules/agents/act-mode.json +8 -1
- package/.ai-rules/agents/agent-architect.json +14 -7
- package/.ai-rules/agents/ai-ml-engineer.json +7 -0
- package/.ai-rules/agents/architecture-specialist.json +7 -0
- package/.ai-rules/agents/auto-mode.json +10 -2
- package/.ai-rules/agents/backend-developer.json +7 -0
- package/.ai-rules/agents/code-quality-specialist.json +7 -0
- package/.ai-rules/agents/code-reviewer.json +86 -64
- package/.ai-rules/agents/data-engineer.json +14 -7
- package/.ai-rules/agents/data-scientist.json +16 -9
- package/.ai-rules/agents/devops-engineer.json +7 -0
- package/.ai-rules/agents/documentation-specialist.json +7 -0
- package/.ai-rules/agents/eval-mode.json +30 -19
- package/.ai-rules/agents/event-architecture-specialist.json +7 -0
- package/.ai-rules/agents/frontend-developer.json +7 -0
- package/.ai-rules/agents/i18n-specialist.json +8 -1
- package/.ai-rules/agents/integration-specialist.json +7 -0
- package/.ai-rules/agents/migration-specialist.json +7 -0
- package/.ai-rules/agents/mobile-developer.json +8 -10
- package/.ai-rules/agents/observability-specialist.json +7 -0
- package/.ai-rules/agents/parallel-orchestrator.json +352 -0
- package/.ai-rules/agents/performance-specialist.json +7 -0
- package/.ai-rules/agents/plan-mode.json +9 -1
- package/.ai-rules/agents/plan-reviewer.json +211 -0
- package/.ai-rules/agents/platform-engineer.json +7 -0
- package/.ai-rules/agents/security-engineer.json +15 -8
- package/.ai-rules/agents/security-specialist.json +8 -1
- package/.ai-rules/agents/seo-specialist.json +7 -0
- package/.ai-rules/agents/software-engineer.json +7 -0
- package/.ai-rules/agents/solution-architect.json +17 -10
- package/.ai-rules/agents/systems-developer.json +15 -8
- package/.ai-rules/agents/technical-planner.json +17 -10
- package/.ai-rules/agents/test-engineer.json +13 -6
- package/.ai-rules/agents/test-strategy-specialist.json +7 -0
- package/.ai-rules/agents/tooling-engineer.json +10 -3
- package/.ai-rules/agents/ui-ux-designer.json +7 -0
- package/.ai-rules/keyword-modes.json +4 -4
- package/.ai-rules/rules/clarification-guide.md +14 -14
- package/.ai-rules/rules/core.md +73 -0
- package/.ai-rules/rules/parallel-execution.md +217 -0
- package/.ai-rules/schemas/agent.schema.json +38 -0
- package/.ai-rules/skills/README.md +29 -1
- package/.ai-rules/skills/agent-design/SKILL.md +5 -0
- package/.ai-rules/skills/agent-design/examples/agent-template.json +55 -0
- package/.ai-rules/skills/agent-design/references/expertise-guidelines.md +112 -0
- package/.ai-rules/skills/agent-discussion/SKILL.md +199 -0
- package/.ai-rules/skills/agent-discussion-panel/SKILL.md +448 -0
- package/.ai-rules/skills/api-design/SKILL.md +5 -0
- package/.ai-rules/skills/api-design/examples/error-response.json +159 -0
- package/.ai-rules/skills/api-design/examples/openapi-template.yaml +393 -0
- package/.ai-rules/skills/build-fix/SKILL.md +234 -0
- package/.ai-rules/skills/code-explanation/SKILL.md +4 -0
- package/.ai-rules/skills/context-management/SKILL.md +1 -0
- package/.ai-rules/skills/cost-budget/SKILL.md +348 -0
- package/.ai-rules/skills/cross-repo-issues/SKILL.md +257 -0
- package/.ai-rules/skills/database-migration/SKILL.md +1 -0
- package/.ai-rules/skills/deepsearch/SKILL.md +214 -0
- package/.ai-rules/skills/deployment-checklist/SKILL.md +1 -0
- package/.ai-rules/skills/error-analysis/SKILL.md +1 -0
- package/.ai-rules/skills/finishing-a-development-branch/SKILL.md +281 -0
- package/.ai-rules/skills/frontend-design/SKILL.md +5 -0
- package/.ai-rules/skills/frontend-design/examples/component-template.tsx +203 -0
- package/.ai-rules/skills/frontend-design/references/css-patterns.md +243 -0
- package/.ai-rules/skills/git-master/SKILL.md +358 -0
- package/.ai-rules/skills/incident-response/SKILL.md +1 -0
- package/.ai-rules/skills/legacy-modernization/SKILL.md +1 -0
- package/.ai-rules/skills/mcp-builder/SKILL.md +7 -0
- package/.ai-rules/skills/mcp-builder/examples/resource-example.ts +233 -0
- package/.ai-rules/skills/mcp-builder/examples/tool-example.ts +198 -0
- package/.ai-rules/skills/mcp-builder/references/protocol-spec.md +215 -0
- package/.ai-rules/skills/onboard/SKILL.md +150 -0
- package/.ai-rules/skills/performance-optimization/SKILL.md +3 -0
- package/.ai-rules/skills/plan-and-review/SKILL.md +115 -0
- package/.ai-rules/skills/plan-to-issues/SKILL.md +318 -0
- package/.ai-rules/skills/pr-all-in-one/SKILL.md +15 -13
- package/.ai-rules/skills/pr-all-in-one/configuration-guide.md +7 -7
- package/.ai-rules/skills/pr-all-in-one/pr-templates.md +10 -10
- package/.ai-rules/skills/pr-review/SKILL.md +4 -0
- package/.ai-rules/skills/receiving-code-review/SKILL.md +347 -0
- package/.ai-rules/skills/refactoring/SKILL.md +1 -0
- package/.ai-rules/skills/requesting-code-review/SKILL.md +348 -0
- package/.ai-rules/skills/retrospective/SKILL.md +192 -0
- package/.ai-rules/skills/rule-authoring/SKILL.md +5 -0
- package/.ai-rules/skills/rule-authoring/examples/rule-template.md +142 -0
- package/.ai-rules/skills/rule-authoring/examples/trigger-patterns.md +126 -0
- package/.ai-rules/skills/security-audit/SKILL.md +4 -0
- package/.ai-rules/skills/ship/SKILL.md +242 -0
- package/.ai-rules/skills/skill-creator/SKILL.md +461 -0
- package/.ai-rules/skills/skill-creator/agents/analyzer.md +206 -0
- package/.ai-rules/skills/skill-creator/agents/comparator.md +167 -0
- package/.ai-rules/skills/skill-creator/agents/grader.md +152 -0
- package/.ai-rules/skills/skill-creator/assets/eval_review.html +568 -0
- package/.ai-rules/skills/skill-creator/assets/skill-template.md +43 -0
- package/.ai-rules/skills/skill-creator/eval-viewer/generate_review.py +496 -0
- package/.ai-rules/skills/skill-creator/references/frontmatter-guide.md +632 -0
- package/.ai-rules/skills/skill-creator/references/multi-tool-compat.md +480 -0
- package/.ai-rules/skills/skill-creator/references/schemas.md +784 -0
- package/.ai-rules/skills/skill-creator/scripts/aggregate_benchmark.py +302 -0
- package/.ai-rules/skills/skill-creator/scripts/init_skill.sh +196 -0
- package/.ai-rules/skills/skill-creator/scripts/run_loop.py +327 -0
- package/.ai-rules/skills/systematic-debugging/SKILL.md +1 -0
- package/.ai-rules/skills/tech-debt/SKILL.md +1 -0
- package/.ai-rules/skills/test-coverage-gate/SKILL.md +303 -0
- package/.ai-rules/skills/tmux-master/SKILL.md +491 -0
- package/.ai-rules/skills/using-git-worktrees/SKILL.md +368 -0
- package/.ai-rules/skills/verification-before-completion/SKILL.md +234 -0
- package/.ai-rules/skills/widget-slot-architecture/SKILL.md +6 -0
- package/.ai-rules/skills/widget-slot-architecture/examples/parallel-route-setup.tsx +206 -0
- package/.ai-rules/skills/widget-slot-architecture/examples/widget-component.tsx +250 -0
- package/.ai-rules/skills/writing-plans/SKILL.md +78 -0
- package/bin/cli.js +170 -0
- package/lib/init/detect-stack.js +162 -0
- package/lib/init/generate-config.js +31 -0
- package/lib/init/index.js +86 -0
- package/lib/init/prompt.js +60 -0
- package/lib/init/scaffold.js +67 -0
- package/lib/init/suggest-agent.js +57 -0
- package/package.json +10 -2
|
@@ -0,0 +1,480 @@
|
|
|
1
|
+
# Multi-Tool Compatibility Matrix
|
|
2
|
+
|
|
3
|
+
Skill compatibility matrix across 6 AI tools, loading method comparison, and MCP server integration guide.
|
|
4
|
+
|
|
5
|
+
## Table of Contents
|
|
6
|
+
|
|
7
|
+
- [Compatibility Matrix](#compatibility-matrix)
|
|
8
|
+
- [Skill Loading Feature Support](#skill-loading-feature-support)
|
|
9
|
+
- [Frontmatter Field Support](#frontmatter-field-support)
|
|
10
|
+
- [Skill Loading Methods](#skill-loading-methods)
|
|
11
|
+
- [Loading Flow by Tool](#loading-flow-by-tool)
|
|
12
|
+
- [Slash Command Mapping](#slash-command-mapping)
|
|
13
|
+
- [Auto-Recommendation](#auto-recommendation)
|
|
14
|
+
- [codingbuddy MCP Server Integration](#codingbuddy-mcp-server-integration)
|
|
15
|
+
- [MCP Configuration by Tool](#mcp-configuration-by-tool)
|
|
16
|
+
- [Core MCP Tools](#core-mcp-tools)
|
|
17
|
+
- [Specialist Agent Execution](#specialist-agent-execution)
|
|
18
|
+
- [Context Document Management](#context-document-management)
|
|
19
|
+
- [Per-Tool Guide](#per-tool-guide)
|
|
20
|
+
- [Tool-Specific Limitations](#tool-specific-limitations)
|
|
21
|
+
- [Cross-Tool Skill Writing Guide](#cross-tool-skill-writing-guide)
|
|
22
|
+
|
|
23
|
+
---
|
|
24
|
+
|
|
25
|
+
## Compatibility Matrix
|
|
26
|
+
|
|
27
|
+
### Skill Loading Feature Support
|
|
28
|
+
|
|
29
|
+
Feature support status for skill loading across each tool:
|
|
30
|
+
|
|
31
|
+
| Feature | Claude Code | Cursor | Codex | Amazon Q | Kiro | Antigravity |
|
|
32
|
+
|---------|:-----------:|:------:|:-----:|:--------:|:----:|:-----------:|
|
|
33
|
+
| SKILL.md auto-discovery | ✅ `.claude/skills/` | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
34
|
+
| Frontmatter parsing | ✅ Full | ⚠️ name/description | ❌ | ❌ | ⚠️ | ❌ |
|
|
35
|
+
| `disable-model-invocation` | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
36
|
+
| `context: fork` | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
37
|
+
| `allowed-tools` | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
38
|
+
| Reference file access | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
39
|
+
| MCP-based loading (`get_skill`) | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
40
|
+
|
|
41
|
+
**Legend:** ✅ Supported | ⚠️ Partial support | ❌ Not supported
|
|
42
|
+
|
|
43
|
+
**Key differences:**
|
|
44
|
+
- Only **Claude Code** supports native SKILL.md parsing (including frontmatter and reference files)
|
|
45
|
+
- The **other 5 tools** load skills through the codingbuddy MCP server's `get_skill` tool
|
|
46
|
+
- MCP-based loading works identically across all tools
|
|
47
|
+
|
|
48
|
+
### Frontmatter Field Support
|
|
49
|
+
|
|
50
|
+
Auto-application status of each frontmatter field by tool:
|
|
51
|
+
|
|
52
|
+
| Field | Claude Code | Cursor | Codex | Amazon Q | Kiro | Antigravity |
|
|
53
|
+
|-------|:-----------:|:------:|:-----:|:--------:|:----:|:-----------:|
|
|
54
|
+
| `name` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
55
|
+
| `description` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
56
|
+
| `argument-hint` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
57
|
+
| `allowed-tools` | ✅ | ⚠️ | ⚠️ | ❌ | ⚠️ | ⚠️ |
|
|
58
|
+
| `model` | ✅ | ⚠️ | ⚠️ | ❌ | ❌ | ❌ |
|
|
59
|
+
| `effort` | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
60
|
+
| `context` | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
61
|
+
| `agent` | ✅ | ❌ | ❌ | ❌ | ❌ | ❌ |
|
|
62
|
+
| `disable-model-invocation` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
63
|
+
| `user-invocable` | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
|
|
64
|
+
| `hooks` | ✅ | ⚠️ | ❌ | ❌ | ✅ | ❌ |
|
|
65
|
+
|
|
66
|
+
**⚠️ Partial support details:**
|
|
67
|
+
- **Cursor `allowed-tools`**: Recognizes tool names but does not support Bash filters (`Bash(git:*)`)
|
|
68
|
+
- **Cursor `model`**: Can switch models but not auto-applied from frontmatter
|
|
69
|
+
- **Cursor `hooks`**: Similar functionality achievable via `.mdc` rule glob patterns
|
|
70
|
+
- **Codex `allowed-tools`/`model`**: Can reference from system prompt but auto-application not supported
|
|
71
|
+
- **Kiro `allowed-tools`**: Recognizes tool restrictions but does not support Bash filters
|
|
72
|
+
- **Kiro `hooks`**: Supports event-based hooks (`onFileChange`, `onSave`)
|
|
73
|
+
- **Antigravity `allowed-tools`**: Recognizes tool names but auto-application not supported
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Skill Loading Methods
|
|
78
|
+
|
|
79
|
+
### Loading Flow by Tool
|
|
80
|
+
|
|
81
|
+
#### Claude Code
|
|
82
|
+
|
|
83
|
+
```
|
|
84
|
+
User: /skill-name [args]
|
|
85
|
+
│
|
|
86
|
+
├─ (1) Native Skill tool direct invocation (priority)
|
|
87
|
+
│ └─ Load SKILL.md → Parse frontmatter → Access reference files → Execute
|
|
88
|
+
│
|
|
89
|
+
└─ (2) MCP chain (fallback path)
|
|
90
|
+
└─ recommend_skills → get_skill → Return content
|
|
91
|
+
```
|
|
92
|
+
|
|
93
|
+
**Characteristics:**
|
|
94
|
+
- Native Skill tool takes highest priority
|
|
95
|
+
- Automatically creates sub-agent when `context: fork`
|
|
96
|
+
- `allowed-tools` auto-applied
|
|
97
|
+
- `model`/`effort` auto-switched
|
|
98
|
+
- Direct access to reference files (`references/` directory)
|
|
99
|
+
|
|
100
|
+
#### Cursor
|
|
101
|
+
|
|
102
|
+
```
|
|
103
|
+
User: /skill-name [args]
|
|
104
|
+
│
|
|
105
|
+
└─ MCP chain
|
|
106
|
+
└─ recommend_skills({ prompt }) → get_skill(name) → Display content
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
**Characteristics:**
|
|
110
|
+
- MCP call guide included in `.mdc` rules
|
|
111
|
+
- Glob-based auto-activation (`.cursor/rules/auto-agent.mdc`)
|
|
112
|
+
- No parallel execution → Sequential execution only
|
|
113
|
+
|
|
114
|
+
#### Codex
|
|
115
|
+
|
|
116
|
+
```
|
|
117
|
+
User: /skill-name [args]
|
|
118
|
+
│
|
|
119
|
+
└─ MCP chain
|
|
120
|
+
└─ recommend_skills({ prompt }) → get_skill(name) → Include in system prompt
|
|
121
|
+
```
|
|
122
|
+
|
|
123
|
+
**Characteristics:**
|
|
124
|
+
- Keyword rules included in system prompt (`.codex/rules/system-prompt.md`)
|
|
125
|
+
- Sequential execution only
|
|
126
|
+
- Korean/English dual language support
|
|
127
|
+
|
|
128
|
+
#### Amazon Q
|
|
129
|
+
|
|
130
|
+
```
|
|
131
|
+
User: skill request
|
|
132
|
+
│
|
|
133
|
+
├─ MCP chain (when configured)
|
|
134
|
+
│ └─ recommend_skills → get_skill → Reference content
|
|
135
|
+
│
|
|
136
|
+
└─ Direct reference (fallback)
|
|
137
|
+
└─ Read .ai-rules/ directory directly
|
|
138
|
+
```
|
|
139
|
+
|
|
140
|
+
**Characteristics:**
|
|
141
|
+
- MCP configuration is optional
|
|
142
|
+
- Can reference directly from `.q/rules/customizations.md`
|
|
143
|
+
- AWS service-specific features
|
|
144
|
+
|
|
145
|
+
#### Kiro
|
|
146
|
+
|
|
147
|
+
```
|
|
148
|
+
User: /skill-name [args]
|
|
149
|
+
│
|
|
150
|
+
└─ MCP chain
|
|
151
|
+
└─ recommend_skills → get_skill → Return content
|
|
152
|
+
```
|
|
153
|
+
|
|
154
|
+
**Characteristics:**
|
|
155
|
+
- MCP server configured in `.kiro/settings/mcp.json`
|
|
156
|
+
- Event-based hooks (`onFileChange`, `onSave`) supported
|
|
157
|
+
- Steering (specs, design docs) integration
|
|
158
|
+
|
|
159
|
+
#### Antigravity
|
|
160
|
+
|
|
161
|
+
```
|
|
162
|
+
User: /skill-name [args]
|
|
163
|
+
│
|
|
164
|
+
└─ MCP chain
|
|
165
|
+
└─ recommend_skills → get_skill → Return content
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
**Characteristics:**
|
|
169
|
+
- Progress tracking via `task_boundary` tool
|
|
170
|
+
- Artifact management capabilities
|
|
171
|
+
- Sequential execution (no parallel support)
|
|
172
|
+
|
|
173
|
+
### Slash Command Mapping
|
|
174
|
+
|
|
175
|
+
Skills can be invoked using the `/skill-name` format across all tools:
|
|
176
|
+
|
|
177
|
+
| Tool | Native slash command | MCP-routed slash command |
|
|
178
|
+
|------|---------------------|------------------------|
|
|
179
|
+
| Claude Code | ✅ (Skill tool) | ✅ (fallback) |
|
|
180
|
+
| Cursor | ❌ | ✅ (MCP chain) |
|
|
181
|
+
| Codex | ❌ | ✅ (MCP chain) |
|
|
182
|
+
| Amazon Q | ❌ | ✅ (MCP chain) |
|
|
183
|
+
| Kiro | ❌ | ✅ (MCP chain) |
|
|
184
|
+
| Antigravity | ❌ | ✅ (MCP chain) |
|
|
185
|
+
|
|
186
|
+
### Auto-Recommendation
|
|
187
|
+
|
|
188
|
+
Auto-recommendation via `included_skills` in the `parse_mode` response:
|
|
189
|
+
|
|
190
|
+
```
|
|
191
|
+
User: "PLAN implement auth feature"
|
|
192
|
+
│
|
|
193
|
+
└─ parse_mode({ prompt: "PLAN implement auth feature" })
|
|
194
|
+
└─ Response includes included_skills[]
|
|
195
|
+
├─ security-audit (confidence: high)
|
|
196
|
+
├─ test-driven-development (confidence: medium)
|
|
197
|
+
└─ api-design (confidence: medium)
|
|
198
|
+
```
|
|
199
|
+
|
|
200
|
+
This feature works identically across all 6 tools.
|
|
201
|
+
|
|
202
|
+
---
|
|
203
|
+
|
|
204
|
+
## codingbuddy MCP Server Integration
|
|
205
|
+
|
|
206
|
+
### MCP Configuration by Tool
|
|
207
|
+
|
|
208
|
+
#### Claude Code
|
|
209
|
+
|
|
210
|
+
```json
|
|
211
|
+
// .claude/config.json (IDE-level configuration)
|
|
212
|
+
{
|
|
213
|
+
"mcpServers": {
|
|
214
|
+
"codingbuddy": {
|
|
215
|
+
"command": "npx",
|
|
216
|
+
"args": ["-y", "codingbuddy-rules"],
|
|
217
|
+
"env": {
|
|
218
|
+
"CODINGBUDDY_PROJECT_ROOT": "/path/to/project"
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
#### Cursor
|
|
226
|
+
|
|
227
|
+
```json
|
|
228
|
+
// .cursor/mcp.json
|
|
229
|
+
{
|
|
230
|
+
"mcpServers": {
|
|
231
|
+
"codingbuddy": {
|
|
232
|
+
"command": "npx",
|
|
233
|
+
"args": ["-y", "codingbuddy-rules"],
|
|
234
|
+
"env": {
|
|
235
|
+
"CODINGBUDDY_PROJECT_ROOT": "${workspaceFolder}"
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
```
|
|
241
|
+
|
|
242
|
+
#### Codex
|
|
243
|
+
|
|
244
|
+
```json
|
|
245
|
+
// GitHub Copilot MCP configuration
|
|
246
|
+
{
|
|
247
|
+
"mcpServers": {
|
|
248
|
+
"codingbuddy": {
|
|
249
|
+
"command": "npx",
|
|
250
|
+
"args": ["-y", "codingbuddy-rules"],
|
|
251
|
+
"env": {
|
|
252
|
+
"CODINGBUDDY_PROJECT_ROOT": "/path/to/project"
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
#### Amazon Q
|
|
260
|
+
|
|
261
|
+
```json
|
|
262
|
+
// AWS Q MCP configuration
|
|
263
|
+
{
|
|
264
|
+
"mcpServers": {
|
|
265
|
+
"codingbuddy": {
|
|
266
|
+
"command": "npx",
|
|
267
|
+
"args": ["-y", "codingbuddy-rules"],
|
|
268
|
+
"env": {
|
|
269
|
+
"CODINGBUDDY_PROJECT_ROOT": "/path/to/project"
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
```
|
|
275
|
+
|
|
276
|
+
#### Kiro
|
|
277
|
+
|
|
278
|
+
```json
|
|
279
|
+
// .kiro/settings/mcp.json
|
|
280
|
+
{
|
|
281
|
+
"mcpServers": {
|
|
282
|
+
"codingbuddy": {
|
|
283
|
+
"command": "npx",
|
|
284
|
+
"args": ["-y", "codingbuddy-rules"],
|
|
285
|
+
"env": {
|
|
286
|
+
"CODINGBUDDY_PROJECT_ROOT": "${workspaceFolder}"
|
|
287
|
+
}
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
}
|
|
291
|
+
```
|
|
292
|
+
|
|
293
|
+
#### Antigravity
|
|
294
|
+
|
|
295
|
+
```json
|
|
296
|
+
// .antigravity/config.json
|
|
297
|
+
{
|
|
298
|
+
"mcpServers": {
|
|
299
|
+
"codingbuddy": {
|
|
300
|
+
"command": "npx",
|
|
301
|
+
"args": ["-y", "codingbuddy-rules"],
|
|
302
|
+
"env": {
|
|
303
|
+
"CODINGBUDDY_PROJECT_ROOT": "/path/to/project"
|
|
304
|
+
}
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
**Project root resolution priority:**
|
|
311
|
+
1. `CODINGBUDDY_PROJECT_ROOT` environment variable (highest priority)
|
|
312
|
+
2. `roots/list` MCP capability (supported by some tools)
|
|
313
|
+
3. `findProjectRoot()` auto-detection (fallback)
|
|
314
|
+
|
|
315
|
+
### Core MCP Tools
|
|
316
|
+
|
|
317
|
+
codingbuddy MCP tools available across all tools:
|
|
318
|
+
|
|
319
|
+
| Tool | Purpose | When to use |
|
|
320
|
+
|------|---------|-------------|
|
|
321
|
+
| `parse_mode` | Workflow mode parsing (PLAN/ACT/EVAL/AUTO) | Immediately upon keyword detection |
|
|
322
|
+
| `recommend_skills` | Prompt-based skill recommendation | When searching for skills |
|
|
323
|
+
| `get_skill` | Load full skill content | After reviewing recommendation results |
|
|
324
|
+
| `list_skills` | Query full skill list | When exploring skills |
|
|
325
|
+
| `search_rules` | Search rules | When checking relevant rules |
|
|
326
|
+
| `get_agent_details` | Query agent profile | When agent information is needed |
|
|
327
|
+
| `get_project_config` | Query project configuration | When checking tech stack/language |
|
|
328
|
+
| `update_context` | Update context document | When completing each mode |
|
|
329
|
+
| `dispatch_agents` | Agent dispatch parameters | For parallel/sequential execution |
|
|
330
|
+
| `prepare_parallel_agents` | Prepare parallel agent prompts | For sequential execution |
|
|
331
|
+
| `generate_checklist` | Generate domain-specific checklists | For quality verification |
|
|
332
|
+
| `analyze_task` | Pre-analysis and risk assessment | When starting PLAN |
|
|
333
|
+
|
|
334
|
+
### Specialist Agent Execution
|
|
335
|
+
|
|
336
|
+
Specialist agent execution patterns by tool:
|
|
337
|
+
|
|
338
|
+
| Tool | Execution method | Dispatch source |
|
|
339
|
+
|------|-----------------|-----------------|
|
|
340
|
+
| Claude Code | **Parallel** (Task tool + `run_in_background`) | `dispatchReady.dispatchParams` |
|
|
341
|
+
| Cursor | **Sequential** (one at a time) | `prepare_parallel_agents` prompts |
|
|
342
|
+
| Codex | **Sequential** (one at a time) | `dispatchReady.dispatchParams.prompt` |
|
|
343
|
+
| Amazon Q | **Sequential** (one at a time) | `prepare_parallel_agents` prompts |
|
|
344
|
+
| Kiro | **Sequential** (one at a time) | `dispatchReady.dispatchParams.prompt` |
|
|
345
|
+
| Antigravity | **Sequential** (one at a time) | `dispatchReady.dispatchParams.prompt` |
|
|
346
|
+
|
|
347
|
+
**Claude Code (parallel):**
|
|
348
|
+
```
|
|
349
|
+
parse_mode → dispatchReady
|
|
350
|
+
├─ primaryAgent.dispatchParams → Task tool
|
|
351
|
+
├─ parallelAgents[0].dispatchParams → Task tool (background)
|
|
352
|
+
├─ parallelAgents[1].dispatchParams → Task tool (background)
|
|
353
|
+
└─ Collect results with TaskOutput
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
**Other tools (sequential):**
|
|
357
|
+
```
|
|
358
|
+
parse_mode → dispatchReady
|
|
359
|
+
├─ primaryAgent.dispatchParams.prompt → Direct execution
|
|
360
|
+
├─ parallelAgents[0].dispatchParams.prompt → Sequential execution
|
|
361
|
+
└─ parallelAgents[1].dispatchParams.prompt → Sequential execution
|
|
362
|
+
```
|
|
363
|
+
|
|
364
|
+
### Context Document Management
|
|
365
|
+
|
|
366
|
+
Cross-mode context management via `docs/codingbuddy/context.md`:
|
|
367
|
+
|
|
368
|
+
| Tool | Auto context management | Enforcement | update_context call |
|
|
369
|
+
|------|------------------------|-------------|---------------------|
|
|
370
|
+
| Claude Code | ✅ (`parse_mode` auto) | ✅ (enforced via hooks) | Required |
|
|
371
|
+
| Cursor | ✅ (`parse_mode` auto) | ❌ (voluntary) | Recommended |
|
|
372
|
+
| Codex | ✅ (`parse_mode` auto) | ❌ (voluntary) | Recommended |
|
|
373
|
+
| Amazon Q | ✅ (`parse_mode` auto) | ❌ (voluntary) | Recommended |
|
|
374
|
+
| Kiro | ✅ (`parse_mode` auto) | ❌ (voluntary) | Recommended |
|
|
375
|
+
| Antigravity | ✅ (`parse_mode` auto) | ❌ (voluntary) | Required (before `task_boundary`) |
|
|
376
|
+
|
|
377
|
+
---
|
|
378
|
+
|
|
379
|
+
## Per-Tool Guide
|
|
380
|
+
|
|
381
|
+
How to use skill-creator with each tool:
|
|
382
|
+
|
|
383
|
+
### Claude Code
|
|
384
|
+
|
|
385
|
+
```bash
|
|
386
|
+
# Direct invocation (native)
|
|
387
|
+
/skill-creator create my-skill
|
|
388
|
+
|
|
389
|
+
# MCP-routed
|
|
390
|
+
# recommend_skills → get_skill auto chain
|
|
391
|
+
```
|
|
392
|
+
|
|
393
|
+
- All frontmatter fields auto-applied
|
|
394
|
+
- Direct access to reference files (`references/` directory)
|
|
395
|
+
- Isolated execution possible with `context: fork`
|
|
396
|
+
|
|
397
|
+
### Cursor, Codex, Amazon Q, Kiro, Antigravity
|
|
398
|
+
|
|
399
|
+
```
|
|
400
|
+
# Load skill via MCP chain
|
|
401
|
+
1. recommend_skills({ prompt: "create a new skill" })
|
|
402
|
+
2. get_skill("skill-creator") → Returns SKILL.md body
|
|
403
|
+
3. Follow the returned instructions to write the skill
|
|
404
|
+
```
|
|
405
|
+
|
|
406
|
+
- Only SKILL.md body is returned (reference files require separate `get_skill` requests)
|
|
407
|
+
- Frontmatter is referenced as a guide (not auto-applied)
|
|
408
|
+
- Sequential execution only
|
|
409
|
+
|
|
410
|
+
---
|
|
411
|
+
|
|
412
|
+
## Tool-Specific Limitations
|
|
413
|
+
|
|
414
|
+
### Claude Code
|
|
415
|
+
- **Strengths**: Only tool with native SKILL.md parsing, parallel agents, hook enforcement, full frontmatter support
|
|
416
|
+
- **Limitations**: None (all features supported)
|
|
417
|
+
|
|
418
|
+
### Cursor
|
|
419
|
+
- **Strengths**: Glob-based rule auto-activation, `.mdc` rule system
|
|
420
|
+
- **Limitations**: No parallel execution, `context`/`agent`/`effort` not supported, Bash filters not supported
|
|
421
|
+
|
|
422
|
+
### Codex
|
|
423
|
+
- **Strengths**: Deep integration via system prompt, Korean/English dual language support
|
|
424
|
+
- **Limitations**: No parallel execution, session hooks not supported, frontmatter auto-application not available
|
|
425
|
+
|
|
426
|
+
### Amazon Q
|
|
427
|
+
- **Strengths**: Native AWS service integration
|
|
428
|
+
- **Limitations**: MCP configuration is optional, frontmatter auto-application not supported
|
|
429
|
+
|
|
430
|
+
### Kiro
|
|
431
|
+
- **Strengths**: Event-based hooks, steering integration, `${workspaceFolder}` variable support
|
|
432
|
+
- **Limitations**: No parallel execution, `context`/`agent`/`effort` not supported
|
|
433
|
+
|
|
434
|
+
### Antigravity
|
|
435
|
+
- **Strengths**: `task_boundary` progress tracking, artifact management
|
|
436
|
+
- **Limitations**: No parallel execution, hooks not supported, frontmatter auto-application not supported
|
|
437
|
+
|
|
438
|
+
---
|
|
439
|
+
|
|
440
|
+
## Cross-Tool Skill Writing Guide
|
|
441
|
+
|
|
442
|
+
Guidelines for writing skills compatible across all 6 tools.
|
|
443
|
+
|
|
444
|
+
### Required Rules
|
|
445
|
+
|
|
446
|
+
1. **Always include `name` and `description`** — Required by all tools
|
|
447
|
+
2. **Use standard markdown syntax** — Do not use tool-specific extended syntax
|
|
448
|
+
3. **Do not reference tool-specific APIs** — Do not use Claude Code-specific terms like `Task tool`, `Agent tool` in skill body
|
|
449
|
+
|
|
450
|
+
### Recommended Rules
|
|
451
|
+
|
|
452
|
+
1. **Use only basic tool names for `allowed-tools`** — Bash filters (`Bash(git:*)`) are Claude Code-specific
|
|
453
|
+
2. **Treat `context`/`agent` as Claude Code bonuses** — Design to work without them
|
|
454
|
+
3. **Treat `hooks` as optional enhancements** — Ignored in unsupported tools
|
|
455
|
+
4. **Treat `model`/`effort` as hints** — Not auto-applied in most tools
|
|
456
|
+
|
|
457
|
+
### Compatibility Checklist
|
|
458
|
+
|
|
459
|
+
```
|
|
460
|
+
- [ ] Is the skill's purpose clear from name and description alone?
|
|
461
|
+
- [ ] Can the skill content be understood without MCP tools?
|
|
462
|
+
- [ ] Does it avoid depending on tool-specific features?
|
|
463
|
+
- [ ] Does it work in sequential execution? (no parallel assumptions)
|
|
464
|
+
- [ ] Is security maintained without Bash filters?
|
|
465
|
+
- [ ] Is the description written in third-person narration?
|
|
466
|
+
```
|
|
467
|
+
|
|
468
|
+
### Frontmatter Compatibility Tiers
|
|
469
|
+
|
|
470
|
+
| Tier | Fields | Number of tools with auto-application |
|
|
471
|
+
|------|--------|--------------------------------------|
|
|
472
|
+
| **Universal** | `name`, `description`, `disable-model-invocation`, `user-invocable` | 6/6 |
|
|
473
|
+
| **Broad** | `argument-hint` | 6/6 (UI display only) |
|
|
474
|
+
| **Moderate** | `allowed-tools` (basic), `model`, `hooks` | 1-3/6 |
|
|
475
|
+
| **Claude Code Only** | `context`, `agent`, `effort`, `allowed-tools` (Bash filters) | 1/6 |
|
|
476
|
+
|
|
477
|
+
**Recommended strategy when writing skills:**
|
|
478
|
+
- **Ensure core behavior with Universal tier fields**
|
|
479
|
+
- **Add higher-tier fields as optional enhancements**
|
|
480
|
+
- **Use Claude Code Only fields for UX optimization in that tool**
|