codingbuddy-rules 2.0.0 → 2.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/claude-code.md +195 -2
- package/.ai-rules/adapters/cursor.md +120 -98
- package/.ai-rules/agents/README.md +56 -0
- package/.ai-rules/agents/data-engineer.json +376 -0
- package/.ai-rules/agents/i18n-specialist.json +393 -0
- package/.ai-rules/agents/mobile-developer.json +355 -0
- package/.ai-rules/agents/tooling-engineer.json +202 -0
- package/.ai-rules/checklists/accessibility.json +132 -0
- package/.ai-rules/checklists/code-quality.json +97 -0
- package/.ai-rules/checklists/index.json +47 -0
- package/.ai-rules/checklists/performance.json +97 -0
- package/.ai-rules/checklists/security.json +119 -0
- package/.ai-rules/checklists/seo.json +97 -0
- package/.ai-rules/checklists/testing.json +97 -0
- package/.ai-rules/skills/api-design/SKILL.md +459 -0
- package/package.json +1 -1
|
@@ -175,9 +175,11 @@ CodingBuddy uses a layered agent hierarchy for different types of tasks:
|
|
|
175
175
|
| Mode | Agents | Description |
|
|
176
176
|
|------|--------|-------------|
|
|
177
177
|
| **PLAN** | solution-architect, technical-planner | Design and planning tasks |
|
|
178
|
-
| **ACT** | frontend-developer, backend-developer, devops-engineer, agent-architect | Implementation tasks |
|
|
178
|
+
| **ACT** | tooling-engineer, frontend-developer, backend-developer, devops-engineer, agent-architect | Implementation tasks |
|
|
179
179
|
| **EVAL** | code-reviewer | Code review and evaluation |
|
|
180
180
|
|
|
181
|
+
> **Note**: `tooling-engineer` has highest priority for config/build tool tasks (tsconfig, eslint, vite.config, package.json, etc.)
|
|
182
|
+
|
|
181
183
|
### Tier 2: Specialist Agents
|
|
182
184
|
|
|
183
185
|
Specialist agents can be invoked by any Primary Agent as needed:
|
|
@@ -195,9 +197,34 @@ Specialist agents can be invoked by any Primary Agent as needed:
|
|
|
195
197
|
### Agent Resolution
|
|
196
198
|
|
|
197
199
|
1. **PLAN mode**: Always uses `solution-architect` or `technical-planner` based on prompt analysis
|
|
198
|
-
2. **ACT mode**:
|
|
200
|
+
2. **ACT mode**: Resolution priority:
|
|
201
|
+
1. Explicit agent request in prompt (e.g., "backend-developer로 작업해")
|
|
202
|
+
2. `recommended_agent` parameter (from PLAN mode recommendation)
|
|
203
|
+
3. Tooling pattern matching (config files, build tools → `tooling-engineer`)
|
|
204
|
+
4. Project configuration (`primaryAgent` setting)
|
|
205
|
+
5. Context inference (file extension/path)
|
|
206
|
+
6. Default: `frontend-developer`
|
|
199
207
|
3. **EVAL mode**: Always uses `code-reviewer`
|
|
200
208
|
|
|
209
|
+
### Using recommended_agent Parameter
|
|
210
|
+
|
|
211
|
+
When transitioning from PLAN to ACT mode, pass the recommended agent:
|
|
212
|
+
|
|
213
|
+
```typescript
|
|
214
|
+
// After PLAN mode returns recommended_act_agent
|
|
215
|
+
const planResult = await parse_mode({ prompt: "PLAN design auth API" });
|
|
216
|
+
// planResult.recommended_act_agent = { agentName: "backend-developer", ... }
|
|
217
|
+
|
|
218
|
+
// Pass to ACT mode for context preservation
|
|
219
|
+
const actResult = await parse_mode({
|
|
220
|
+
prompt: "ACT implement the API",
|
|
221
|
+
recommended_agent: planResult.recommended_act_agent.agentName
|
|
222
|
+
});
|
|
223
|
+
// actResult.delegates_to = "backend-developer" (uses the recommendation)
|
|
224
|
+
```
|
|
225
|
+
|
|
226
|
+
This enables seamless agent context passing across PLAN → ACT workflow transitions.
|
|
227
|
+
|
|
201
228
|
## Activation Messages
|
|
202
229
|
|
|
203
230
|
When agents or skills are activated, CodingBuddy displays activation messages for transparency:
|
|
@@ -257,3 +284,169 @@ AI assistants should display the `activation_message.formatted` field at the sta
|
|
|
257
284
|
|
|
258
285
|
...
|
|
259
286
|
```
|
|
287
|
+
|
|
288
|
+
## Parallel Specialist Agents Execution
|
|
289
|
+
|
|
290
|
+
CodingBuddy supports parallel execution of multiple specialist agents for comprehensive analysis.
|
|
291
|
+
|
|
292
|
+
### When to Use Parallel Execution
|
|
293
|
+
|
|
294
|
+
Parallel execution is recommended when `parse_mode` returns a `parallelAgentsRecommendation` field:
|
|
295
|
+
|
|
296
|
+
| Mode | Default Specialists | Use Case |
|
|
297
|
+
|------|---------------------|----------|
|
|
298
|
+
| **PLAN** | architecture-specialist, test-strategy-specialist | Validate architecture and test approach |
|
|
299
|
+
| **ACT** | code-quality-specialist, test-strategy-specialist | Verify implementation quality |
|
|
300
|
+
| **EVAL** | security-specialist, accessibility-specialist, performance-specialist, code-quality-specialist | Comprehensive multi-dimensional review |
|
|
301
|
+
|
|
302
|
+
### parallelAgentsRecommendation Response Field
|
|
303
|
+
|
|
304
|
+
The `parse_mode` MCP tool returns this field to recommend parallel specialist execution:
|
|
305
|
+
|
|
306
|
+
```json
|
|
307
|
+
{
|
|
308
|
+
"mode": "EVAL",
|
|
309
|
+
"parallelAgentsRecommendation": {
|
|
310
|
+
"specialists": [
|
|
311
|
+
"security-specialist",
|
|
312
|
+
"accessibility-specialist",
|
|
313
|
+
"performance-specialist",
|
|
314
|
+
"code-quality-specialist"
|
|
315
|
+
],
|
|
316
|
+
"hint": "Use Task tool with subagent_type=\"general-purpose\" and run_in_background=true for each specialist. Call prepare_parallel_agents MCP tool to get ready-to-use prompts."
|
|
317
|
+
}
|
|
318
|
+
}
|
|
319
|
+
```
|
|
320
|
+
|
|
321
|
+
### Parallel Execution Workflow
|
|
322
|
+
|
|
323
|
+
```
|
|
324
|
+
parse_mode 호출
|
|
325
|
+
↓
|
|
326
|
+
parallelAgentsRecommendation 확인
|
|
327
|
+
↓ (있으면)
|
|
328
|
+
사용자에게 시작 메시지 표시
|
|
329
|
+
↓
|
|
330
|
+
prepare_parallel_agents MCP 호출
|
|
331
|
+
↓
|
|
332
|
+
반환된 각 agent.taskPrompt를 Task tool로 병렬 호출:
|
|
333
|
+
- subagent_type: "general-purpose"
|
|
334
|
+
- run_in_background: true
|
|
335
|
+
- prompt: agent.taskPrompt
|
|
336
|
+
↓
|
|
337
|
+
TaskOutput으로 결과 수집
|
|
338
|
+
↓
|
|
339
|
+
사용자에게 결과 종합하여 표시
|
|
340
|
+
```
|
|
341
|
+
|
|
342
|
+
### Code Example
|
|
343
|
+
|
|
344
|
+
```typescript
|
|
345
|
+
// Step 1: Parse mode returns parallelAgentsRecommendation
|
|
346
|
+
const parseModeResult = await parse_mode({ prompt: "EVAL review auth implementation" });
|
|
347
|
+
|
|
348
|
+
if (parseModeResult.parallelAgentsRecommendation) {
|
|
349
|
+
// Step 2: Display start message to user
|
|
350
|
+
console.log("🚀 Dispatching 4 specialist agents in parallel...");
|
|
351
|
+
console.log(" → 🔒 security-specialist");
|
|
352
|
+
console.log(" → ♿ accessibility-specialist");
|
|
353
|
+
console.log(" → ⚡ performance-specialist");
|
|
354
|
+
console.log(" → 📏 code-quality-specialist");
|
|
355
|
+
|
|
356
|
+
// Step 3: Prepare parallel agents
|
|
357
|
+
const preparedAgents = await prepare_parallel_agents({
|
|
358
|
+
mode: "EVAL",
|
|
359
|
+
specialists: parseModeResult.parallelAgentsRecommendation.specialists,
|
|
360
|
+
sharedContext: "Review authentication implementation",
|
|
361
|
+
targetFiles: ["src/auth/login.tsx"]
|
|
362
|
+
});
|
|
363
|
+
|
|
364
|
+
// Step 4: Execute in parallel using Task tool
|
|
365
|
+
const agentTasks = preparedAgents.agents.map(agent =>
|
|
366
|
+
Task({
|
|
367
|
+
subagent_type: "general-purpose",
|
|
368
|
+
prompt: agent.taskPrompt,
|
|
369
|
+
description: agent.description,
|
|
370
|
+
run_in_background: true,
|
|
371
|
+
model: "haiku" // Use haiku for efficiency
|
|
372
|
+
})
|
|
373
|
+
);
|
|
374
|
+
|
|
375
|
+
// Step 5: Collect results
|
|
376
|
+
const results = await Promise.all(agentTasks.map(task => TaskOutput(task.id)));
|
|
377
|
+
|
|
378
|
+
// Step 6: Display summary
|
|
379
|
+
console.log("📊 Specialist Analysis Complete:");
|
|
380
|
+
results.forEach(result => console.log(result.summary));
|
|
381
|
+
}
|
|
382
|
+
```
|
|
383
|
+
|
|
384
|
+
### Visibility Pattern
|
|
385
|
+
|
|
386
|
+
When executing parallel specialists, display clear status messages:
|
|
387
|
+
|
|
388
|
+
**Start Message:**
|
|
389
|
+
```
|
|
390
|
+
🚀 Dispatching N specialist agents in parallel...
|
|
391
|
+
→ 🔒 security-specialist
|
|
392
|
+
→ ♿ accessibility-specialist
|
|
393
|
+
→ ⚡ performance-specialist
|
|
394
|
+
→ 📏 code-quality-specialist
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
**Completion Message:**
|
|
398
|
+
```
|
|
399
|
+
📊 Specialist Analysis Complete:
|
|
400
|
+
|
|
401
|
+
🔒 Security Specialist:
|
|
402
|
+
[findings summary]
|
|
403
|
+
|
|
404
|
+
♿ Accessibility Specialist:
|
|
405
|
+
[findings summary]
|
|
406
|
+
|
|
407
|
+
⚡ Performance Specialist:
|
|
408
|
+
[findings summary]
|
|
409
|
+
|
|
410
|
+
📏 Code Quality Specialist:
|
|
411
|
+
[findings summary]
|
|
412
|
+
```
|
|
413
|
+
|
|
414
|
+
### Specialist Icons
|
|
415
|
+
|
|
416
|
+
| Icon | Specialist |
|
|
417
|
+
|------|------------|
|
|
418
|
+
| 🔒 | security-specialist |
|
|
419
|
+
| ♿ | accessibility-specialist |
|
|
420
|
+
| ⚡ | performance-specialist |
|
|
421
|
+
| 📏 | code-quality-specialist |
|
|
422
|
+
| 🧪 | test-strategy-specialist |
|
|
423
|
+
| 🏛️ | architecture-specialist |
|
|
424
|
+
| 📚 | documentation-specialist |
|
|
425
|
+
| 🔍 | seo-specialist |
|
|
426
|
+
| 🎨 | design-system-specialist |
|
|
427
|
+
|
|
428
|
+
### Handling Failures
|
|
429
|
+
|
|
430
|
+
When `prepare_parallel_agents` returns `failedAgents`:
|
|
431
|
+
|
|
432
|
+
```
|
|
433
|
+
⚠️ Some agents failed to load:
|
|
434
|
+
✗ performance-specialist: Profile not found
|
|
435
|
+
|
|
436
|
+
Continuing with 3/4 agents...
|
|
437
|
+
```
|
|
438
|
+
|
|
439
|
+
**Strategy:**
|
|
440
|
+
- Continue with successfully loaded agents
|
|
441
|
+
- Report failures clearly to user
|
|
442
|
+
- Document which agents couldn't be loaded in final report
|
|
443
|
+
|
|
444
|
+
### Specialist Activation Scope
|
|
445
|
+
|
|
446
|
+
Each workflow mode activates different specialist agents:
|
|
447
|
+
|
|
448
|
+
- **PLAN mode**: Architecture and test strategy specialists validate design
|
|
449
|
+
- **ACT mode**: Code quality and test strategy specialists verify implementation
|
|
450
|
+
- **EVAL mode**: Security, accessibility, performance, and code quality specialists provide comprehensive review
|
|
451
|
+
|
|
452
|
+
**Important:** Specialists from one mode do NOT carry over to the next mode. Each mode has its own recommended specialist set.
|
|
@@ -1,151 +1,173 @@
|
|
|
1
1
|
# Cursor Integration Guide
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Guide for using codingbuddy with Cursor.
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
codingbuddy integrates with Cursor in two ways:
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
1. **AGENTS.md** - Industry standard format compatible with all AI tools
|
|
10
|
+
2. **.cursor/rules/*.mdc** - Cursor-specific optimization (glob-based auto-activation)
|
|
10
11
|
|
|
11
|
-
|
|
12
|
+
## Two Usage Contexts
|
|
12
13
|
|
|
13
|
-
|
|
14
|
+
### End Users (Your Project)
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
End users access rules **only through MCP tools**. No local rule files needed.
|
|
17
|
+
|
|
18
|
+
```json
|
|
19
|
+
// .cursor/mcp.json
|
|
20
|
+
{
|
|
21
|
+
"mcpServers": {
|
|
22
|
+
"codingbuddy": {
|
|
23
|
+
"command": "npx",
|
|
24
|
+
"args": ["-y", "codingbuddy"]
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
```
|
|
29
|
+
|
|
30
|
+
Optional: Create `.cursor/rules/codingbuddy.mdc` for basic integration:
|
|
31
|
+
|
|
32
|
+
```yaml
|
|
16
33
|
---
|
|
17
|
-
description:
|
|
34
|
+
description: codingbuddy integration
|
|
18
35
|
globs:
|
|
19
36
|
alwaysApply: true
|
|
20
37
|
---
|
|
21
38
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
This project uses shared rules from `.ai-rules/` directory for all AI assistants.
|
|
25
|
-
|
|
26
|
-
## 📚 Core Rules
|
|
27
|
-
See [../../.ai-rules/rules/core.md](../../.ai-rules/rules/core.md) for:
|
|
28
|
-
- PLAN/ACT/EVAL workflow modes
|
|
29
|
-
- Agent activation rules
|
|
30
|
-
- Communication guidelines
|
|
31
|
-
|
|
32
|
-
## 🏗️ Project Setup
|
|
33
|
-
See [../../.ai-rules/rules/project.md](../../.ai-rules/rules/project.md) for:
|
|
34
|
-
- Tech stack and dependencies
|
|
35
|
-
- Project structure and architecture
|
|
36
|
-
- Development rules and conventions
|
|
37
|
-
- Domain knowledge and business context
|
|
38
|
-
|
|
39
|
-
## 🎯 Augmented Coding Principles
|
|
40
|
-
See [../../.ai-rules/rules/augmented-coding.md](../../.ai-rules/rules/augmented-coding.md) for:
|
|
41
|
-
- TDD cycle (Red → Green → Refactor)
|
|
42
|
-
- Code quality standards (SOLID, DRY)
|
|
43
|
-
- Testing best practices
|
|
44
|
-
- Commit discipline
|
|
45
|
-
|
|
46
|
-
## 🤖 Specialist Agents
|
|
47
|
-
See [../../.ai-rules/agents/README.md](../../.ai-rules/agents/README.md) for available specialist agents:
|
|
48
|
-
- Frontend Developer, Code Reviewer
|
|
49
|
-
- Architecture, Test Strategy, Performance, Security
|
|
50
|
-
- Accessibility, SEO, Design System, Documentation
|
|
51
|
-
- Code Quality, DevOps Engineer
|
|
39
|
+
When PLAN, ACT, EVAL keywords detected → call `parse_mode` MCP tool
|
|
52
40
|
```
|
|
53
41
|
|
|
54
|
-
###
|
|
42
|
+
### Monorepo Contributors
|
|
55
43
|
|
|
56
|
-
|
|
44
|
+
Contributors to the codingbuddy repository can use direct file references:
|
|
57
45
|
|
|
58
|
-
```
|
|
46
|
+
```
|
|
47
|
+
Project Root/
|
|
48
|
+
├── AGENTS.md # Cross-platform entry point
|
|
49
|
+
├── .cursor/rules/
|
|
50
|
+
│ ├── imports.mdc # Common rules (alwaysApply: true)
|
|
51
|
+
│ ├── auto-agent.mdc # File pattern-based Agent auto-activation
|
|
52
|
+
│ └── custom.mdc # Personal settings (Git ignored)
|
|
53
|
+
└── packages/rules/.ai-rules/ # Single Source of Truth
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## DRY Principle
|
|
57
|
+
|
|
58
|
+
**Single Source of Truth**: `packages/rules/.ai-rules/`
|
|
59
|
+
|
|
60
|
+
- All Agent definitions, rules, skills managed only in `.ai-rules/`
|
|
61
|
+
- AGENTS.md and .mdc files act as **pointers only**
|
|
62
|
+
- No duplication, only references
|
|
63
|
+
|
|
64
|
+
## Configuration Files
|
|
65
|
+
|
|
66
|
+
### imports.mdc (alwaysApply)
|
|
67
|
+
|
|
68
|
+
Core rules automatically applied to all conversations:
|
|
69
|
+
|
|
70
|
+
```yaml
|
|
59
71
|
---
|
|
60
|
-
description:
|
|
72
|
+
description: codingbuddy common rules
|
|
61
73
|
globs:
|
|
62
74
|
alwaysApply: true
|
|
63
75
|
---
|
|
64
76
|
|
|
65
|
-
#
|
|
77
|
+
# Core principles only (details in .ai-rules/)
|
|
78
|
+
```
|
|
66
79
|
|
|
67
|
-
|
|
80
|
+
### auto-agent.mdc (glob-based)
|
|
68
81
|
|
|
69
|
-
|
|
82
|
+
Automatically provides appropriate Agent context based on file patterns:
|
|
70
83
|
|
|
71
|
-
|
|
84
|
+
```yaml
|
|
85
|
+
---
|
|
86
|
+
description: Agent auto-activation
|
|
87
|
+
globs:
|
|
88
|
+
- "**/*.tsx"
|
|
89
|
+
- "**/*.ts"
|
|
90
|
+
- "**/*.go"
|
|
91
|
+
alwaysApply: false
|
|
92
|
+
---
|
|
72
93
|
|
|
73
|
-
|
|
94
|
+
# File pattern → Agent mapping table
|
|
74
95
|
```
|
|
75
96
|
|
|
76
|
-
##
|
|
97
|
+
## Usage
|
|
98
|
+
|
|
99
|
+
### Mode Keywords
|
|
77
100
|
|
|
78
101
|
```
|
|
79
|
-
|
|
80
|
-
├── agents/ # Keep for Cursor compatibility
|
|
81
|
-
├── rules/
|
|
82
|
-
│ ├── core.mdc # Keep existing (can add reference to .ai-rules)
|
|
83
|
-
│ ├── project.mdc # Keep existing (can add reference to .ai-rules)
|
|
84
|
-
│ ├── augmented-coding.mdc # Keep existing
|
|
85
|
-
│ ├── imports.mdc # NEW: References to .ai-rules
|
|
86
|
-
│ └── cursor-specific.mdc # NEW: Cursor-only features
|
|
87
|
-
└── config.json # Cursor configuration
|
|
88
|
-
|
|
89
|
-
.ai-rules/ # Common rules for all AI tools
|
|
90
|
-
├── rules/
|
|
91
|
-
│ ├── core.md
|
|
92
|
-
│ ├── project.md
|
|
93
|
-
│ └── augmented-coding.md
|
|
94
|
-
├── agents/
|
|
95
|
-
│ └── *.json
|
|
96
|
-
└── adapters/
|
|
97
|
-
└── cursor.md (this file)
|
|
102
|
+
PLAN Design user authentication feature
|
|
98
103
|
```
|
|
99
104
|
|
|
100
|
-
|
|
105
|
+
→ `parse_mode` MCP tool is called, loading appropriate Agent and rules
|
|
101
106
|
|
|
102
|
-
###
|
|
107
|
+
### Auto-Activation on File Edit
|
|
103
108
|
|
|
104
|
-
|
|
105
|
-
```
|
|
106
|
-
@.ai-rules/rules/core.md
|
|
107
|
-
@.ai-rules/agents/frontend-developer.json
|
|
109
|
+
Open `.tsx` file → `auto-agent.mdc` auto-applies → frontend-developer Agent recommended
|
|
108
110
|
|
|
109
|
-
|
|
110
|
-
```
|
|
111
|
+
### Specialist Usage
|
|
111
112
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
113
|
+
```
|
|
114
|
+
EVAL Review from security perspective
|
|
115
|
+
```
|
|
115
116
|
|
|
116
|
-
|
|
117
|
+
→ security-specialist activated
|
|
117
118
|
|
|
118
|
-
|
|
119
|
-
- ✅ Access to common rules shared across all AI tools
|
|
120
|
-
- ✅ Cursor-specific features (globs, alwaysApply) still work
|
|
121
|
-
- ✅ Easy to update: change `.ai-rules/` once, all tools benefit
|
|
119
|
+
## MCP Tools
|
|
122
120
|
|
|
123
|
-
|
|
121
|
+
Available codingbuddy MCP tools in Cursor:
|
|
124
122
|
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
123
|
+
| Tool | Purpose |
|
|
124
|
+
|------|---------|
|
|
125
|
+
| `parse_mode` | Parse mode keywords + load Agent/rules |
|
|
126
|
+
| `get_agent_details` | Get specific Agent details |
|
|
127
|
+
| `get_project_config` | Get project configuration |
|
|
128
|
+
| `recommend_skills` | Recommend skills based on prompt |
|
|
129
|
+
| `prepare_parallel_agents` | Prepare parallel Agent execution |
|
|
129
130
|
|
|
130
131
|
## Skills
|
|
131
132
|
|
|
132
133
|
### Using Skills in Cursor
|
|
133
134
|
|
|
134
|
-
|
|
135
|
+
Load skills via file reference (monorepo only):
|
|
135
136
|
|
|
136
137
|
```
|
|
137
|
-
|
|
138
|
+
@packages/rules/.ai-rules/skills/test-driven-development/SKILL.md
|
|
138
139
|
```
|
|
139
140
|
|
|
140
|
-
|
|
141
|
+
For end users, use `recommend_skills` MCP tool instead.
|
|
141
142
|
|
|
142
143
|
### Available Skills
|
|
143
144
|
|
|
144
|
-
-
|
|
145
|
-
-
|
|
146
|
-
-
|
|
147
|
-
-
|
|
148
|
-
-
|
|
149
|
-
-
|
|
150
|
-
-
|
|
151
|
-
-
|
|
145
|
+
- `brainstorming/SKILL.md` - Idea → Design
|
|
146
|
+
- `test-driven-development/SKILL.md` - TDD workflow
|
|
147
|
+
- `systematic-debugging/SKILL.md` - Systematic debugging
|
|
148
|
+
- `writing-plans/SKILL.md` - Implementation plan writing
|
|
149
|
+
- `executing-plans/SKILL.md` - Plan execution
|
|
150
|
+
- `subagent-driven-development/SKILL.md` - Subagent development
|
|
151
|
+
- `dispatching-parallel-agents/SKILL.md` - Parallel Agent dispatch
|
|
152
|
+
- `frontend-design/SKILL.md` - Frontend design
|
|
153
|
+
|
|
154
|
+
## AGENTS.md
|
|
155
|
+
|
|
156
|
+
Industry standard format compatible with all AI tools (Cursor, Claude Code, Codex, etc.):
|
|
157
|
+
|
|
158
|
+
```markdown
|
|
159
|
+
# AGENTS.md
|
|
160
|
+
|
|
161
|
+
This project uses codingbuddy MCP server to manage AI Agents.
|
|
162
|
+
|
|
163
|
+
## Quick Start
|
|
164
|
+
...
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
See `AGENTS.md` in project root for details.
|
|
168
|
+
|
|
169
|
+
## Reference
|
|
170
|
+
|
|
171
|
+
- [AGENTS.md Official Spec](https://agents.md)
|
|
172
|
+
- [Cursor Rules Documentation](https://cursor.com/docs/context/rules)
|
|
173
|
+
- [codingbuddy MCP API](../../docs/api.md)
|
|
@@ -28,6 +28,8 @@ AI Agent definitions for specialized development roles.
|
|
|
28
28
|
| **Implementation Planning** | Technical Planner | `technical-planner.json` |
|
|
29
29
|
| **React/Next.js Development** | Frontend Developer | `frontend-developer.json` |
|
|
30
30
|
| **Backend API Development** | Backend Developer | `backend-developer.json` |
|
|
31
|
+
| **Database/Schema Design** | Data Engineer | `data-engineer.json` |
|
|
32
|
+
| **Mobile App Development** | Mobile Developer | `mobile-developer.json` |
|
|
31
33
|
| **Code Review (EVAL)** | Code Reviewer | `code-reviewer.json` |
|
|
32
34
|
| **Architecture Design** | Architecture Specialist | `architecture-specialist.json` |
|
|
33
35
|
| **Test Strategy** | Test Strategy Specialist | `test-strategy-specialist.json` |
|
|
@@ -36,9 +38,11 @@ AI Agent definitions for specialized development roles.
|
|
|
36
38
|
| **Accessibility Review** | Accessibility Specialist | `accessibility-specialist.json` |
|
|
37
39
|
| **SEO Optimization** | SEO Specialist | `seo-specialist.json` |
|
|
38
40
|
| **UI/UX Design** | UI/UX Designer | `ui-ux-designer.json` |
|
|
41
|
+
| **Internationalization** | i18n Specialist | `i18n-specialist.json` |
|
|
39
42
|
| **Documentation** | Documentation Specialist | `documentation-specialist.json` |
|
|
40
43
|
| **Code Quality** | Code Quality Specialist | `code-quality-specialist.json` |
|
|
41
44
|
| **Infrastructure/Deployment** | DevOps Engineer | `devops-engineer.json` |
|
|
45
|
+
| **Config/Build Tools** | Tooling Engineer | `tooling-engineer.json` |
|
|
42
46
|
| **Agent Management** | Agent Architect | `agent-architect.json` |
|
|
43
47
|
|
|
44
48
|
### Agent Summary
|
|
@@ -49,6 +53,8 @@ AI Agent definitions for specialized development roles.
|
|
|
49
53
|
| Technical Planner | Low-level implementation planning with TDD and bite-sized tasks |
|
|
50
54
|
| Frontend Developer | TDD-based frontend development with React/Next.js |
|
|
51
55
|
| Backend Developer | Multi-stack backend API development (Node, Python, Go, Java, Rust) |
|
|
56
|
+
| Data Engineer | Database schema design, migrations, query optimization, analytics |
|
|
57
|
+
| Mobile Developer | Cross-platform (React Native, Flutter) and native (iOS, Android) development |
|
|
52
58
|
| Code Reviewer | Auto-activated in EVAL mode, multi-dimensional code quality assessment |
|
|
53
59
|
| Architecture Specialist | Layer boundaries, dependency direction, Clean Architecture |
|
|
54
60
|
| Test Strategy Specialist | TDD strategy, test coverage, test quality |
|
|
@@ -57,9 +63,11 @@ AI Agent definitions for specialized development roles.
|
|
|
57
63
|
| Accessibility Specialist | WCAG 2.1 AA, semantic HTML, screen reader support |
|
|
58
64
|
| SEO Specialist | Metadata, JSON-LD, Open Graph |
|
|
59
65
|
| UI/UX Designer | Visual hierarchy, UX laws, interaction patterns |
|
|
66
|
+
| i18n Specialist | Internationalization, translation key structure, RTL support |
|
|
60
67
|
| Documentation Specialist | Code comments, JSDoc, documentation quality assessment |
|
|
61
68
|
| Code Quality Specialist | SOLID, DRY, complexity analysis |
|
|
62
69
|
| DevOps Engineer | Docker, monitoring, deployment optimization |
|
|
70
|
+
| Tooling Engineer | Project configuration, build tools, dev environment setup |
|
|
63
71
|
| Agent Architect | AI agent design, validation, checklist auditing |
|
|
64
72
|
|
|
65
73
|
---
|
|
@@ -108,6 +116,7 @@ as agent-architect, design new agent
|
|
|
108
116
|
|
|
109
117
|
| Agent | role.type | Activation Condition |
|
|
110
118
|
|-------|-----------|---------------------|
|
|
119
|
+
| Tooling Engineer | `primary` | Config files, build tools, package management (highest priority) |
|
|
111
120
|
| Frontend Developer | `primary` | Default for ACT mode, React/Next.js projects |
|
|
112
121
|
| Backend Developer | `primary` | Backend file context (.go, .py, .java, .rs) |
|
|
113
122
|
| Agent Architect | `primary` | Agent-related work requests |
|
|
@@ -143,6 +152,7 @@ Mode Agents (Workflow Orchestrators)
|
|
|
143
152
|
└── eval-mode → delegates to → code-reviewer (always)
|
|
144
153
|
|
|
145
154
|
Primary Agents (Implementation Experts) - role.type: "primary"
|
|
155
|
+
├── tooling-engineer # Config/build tools specialist (highest priority)
|
|
146
156
|
├── frontend-developer # React/Next.js expertise (default)
|
|
147
157
|
├── backend-developer # Multi-language backend expertise
|
|
148
158
|
├── agent-architect # AI agent framework expertise
|
|
@@ -475,6 +485,51 @@ Unified specialist agents organized by domain:
|
|
|
475
485
|
|
|
476
486
|
---
|
|
477
487
|
|
|
488
|
+
### Tooling Engineer (`tooling-engineer.json`)
|
|
489
|
+
|
|
490
|
+
> **Note**: This is a **Primary Agent** for ACT mode, specializing in project configuration and build tools. Has highest priority for config/tooling related tasks.
|
|
491
|
+
|
|
492
|
+
**Expertise:**
|
|
493
|
+
|
|
494
|
+
- Project Configuration (codingbuddy.config.js, .env)
|
|
495
|
+
- TypeScript Configuration (tsconfig.json, paths)
|
|
496
|
+
- Linting & Formatting (ESLint, Prettier, Stylelint)
|
|
497
|
+
- Build Tools (Vite, Webpack, Next.js config, Rollup)
|
|
498
|
+
- Package Management (package.json, yarn workspaces, dependencies)
|
|
499
|
+
- MCP Tools & IDE Integration
|
|
500
|
+
- Development Environment Setup
|
|
501
|
+
|
|
502
|
+
**Development Philosophy:**
|
|
503
|
+
|
|
504
|
+
- **Schema-First**: Configuration changes must maintain valid schema structure
|
|
505
|
+
- **Backward-Compatible**: Changes must not break existing configurations or builds
|
|
506
|
+
- **Documented**: Non-obvious configuration options must have inline comments
|
|
507
|
+
- **Validated**: All changes validated through lint, typecheck, and build
|
|
508
|
+
|
|
509
|
+
**Responsibilities:**
|
|
510
|
+
|
|
511
|
+
- Configure and optimize project settings
|
|
512
|
+
- Set up and maintain build tool configurations
|
|
513
|
+
- Manage linter and formatter rules
|
|
514
|
+
- Handle package dependencies and workspace configuration
|
|
515
|
+
- Configure TypeScript compiler options
|
|
516
|
+
- Set up development environment and IDE settings
|
|
517
|
+
- Integrate MCP tools with development workflow
|
|
518
|
+
|
|
519
|
+
**Workflow:**
|
|
520
|
+
|
|
521
|
+
- **Config Modification**: Incremental change with validation
|
|
522
|
+
- **Tool Setup**: Best practices implementation with project pattern alignment
|
|
523
|
+
- **Dependency Management**: Safe updates with compatibility checking
|
|
524
|
+
|
|
525
|
+
**Activation Patterns:**
|
|
526
|
+
|
|
527
|
+
- Config files: `codingbuddy.config`, `tsconfig`, `eslint`, `prettier`, `vite.config`, `next.config`
|
|
528
|
+
- Korean: "설정 파일", "빌드 설정", "패키지 관리", "린터 설정"
|
|
529
|
+
- English: "config file", "build config", "package management"
|
|
530
|
+
|
|
531
|
+
---
|
|
532
|
+
|
|
478
533
|
### Agent Architect (`agent-architect.json`)
|
|
479
534
|
|
|
480
535
|
> **Note**: This is a **Primary Agent** for managing AI agent configurations, schemas, and validation.
|
|
@@ -853,6 +908,7 @@ All agent files are located directly in `.ai-rules/agents/` directory without su
|
|
|
853
908
|
.ai-rules/agents/
|
|
854
909
|
├── solution-architect.json # Primary Agent for PLAN mode (architecture)
|
|
855
910
|
├── technical-planner.json # Primary Agent for PLAN mode (implementation)
|
|
911
|
+
├── tooling-engineer.json # Primary Agent for ACT mode (config/build tools)
|
|
856
912
|
├── frontend-developer.json # Primary Agent for ACT mode (default)
|
|
857
913
|
├── backend-developer.json # Primary Agent for ACT mode (backend)
|
|
858
914
|
├── agent-architect.json # Primary Agent for agent management
|