codingbuddy-rules 0.0.0-canary.20260107051915.g26b1d48 → 0.0.0-canary.20260107062625.g7d1cfe9
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/antigravity.md +4 -4
- package/.ai-rules/adapters/claude-code.md +12 -12
- package/.ai-rules/adapters/kiro.md +3 -3
- package/.ai-rules/adapters/opencode-skills.md +16 -16
- package/.ai-rules/adapters/opencode.md +17 -17
- package/.ai-rules/adapters/q.md +4 -4
- package/.ai-rules/agents/accessibility-specialist.json +1 -1
- package/.ai-rules/agents/act-mode.json +34 -34
- package/.ai-rules/agents/agent-architect.json +2 -2
- package/.ai-rules/agents/architecture-specialist.json +1 -1
- package/.ai-rules/agents/backend-developer.json +1 -1
- package/.ai-rules/agents/code-quality-specialist.json +1 -1
- package/.ai-rules/agents/data-engineer.json +1 -1
- package/.ai-rules/agents/devops-engineer.json +6 -6
- package/.ai-rules/agents/documentation-specialist.json +1 -1
- package/.ai-rules/agents/eval-mode.json +33 -33
- package/.ai-rules/agents/frontend-developer.json +1 -1
- package/.ai-rules/agents/i18n-specialist.json +1 -1
- package/.ai-rules/agents/mobile-developer.json +1 -1
- package/.ai-rules/agents/performance-specialist.json +1 -1
- package/.ai-rules/agents/plan-mode.json +25 -25
- package/.ai-rules/agents/security-specialist.json +1 -1
- package/.ai-rules/agents/seo-specialist.json +1 -1
- package/.ai-rules/agents/solution-architect.json +2 -2
- package/.ai-rules/agents/technical-planner.json +2 -2
- package/.ai-rules/agents/test-strategy-specialist.json +1 -1
- package/.ai-rules/agents/tooling-engineer.json +1 -1
- package/.ai-rules/agents/ui-ux-designer.json +1 -1
- package/package.json +1 -1
|
@@ -50,7 +50,7 @@ See full workflow details in `.ai-rules/rules/core.md`
|
|
|
50
50
|
|
|
51
51
|
#### Tech Stack
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
See project `package.json`.
|
|
54
54
|
|
|
55
55
|
#### Project Structure
|
|
56
56
|
```
|
|
@@ -126,7 +126,7 @@ Antigravity uses artifact files for:
|
|
|
126
126
|
|
|
127
127
|
### Communication
|
|
128
128
|
|
|
129
|
-
- **
|
|
129
|
+
- **Follow project's configured language setting**
|
|
130
130
|
- Use structured markdown formatting
|
|
131
131
|
- Provide clear, actionable feedback
|
|
132
132
|
|
|
@@ -161,7 +161,7 @@ When working with Antigravity, it automatically has access to:
|
|
|
161
161
|
### Workflow Example
|
|
162
162
|
|
|
163
163
|
```
|
|
164
|
-
User:
|
|
164
|
+
User: Build a new newsletter feature
|
|
165
165
|
|
|
166
166
|
AI: # Mode: PLAN
|
|
167
167
|
## 📋 Plan Overview
|
|
@@ -206,7 +206,7 @@ Use the `AUTO` keyword (or localized versions) at the start of your message:
|
|
|
206
206
|
### Example Usage
|
|
207
207
|
|
|
208
208
|
```
|
|
209
|
-
User: AUTO
|
|
209
|
+
User: AUTO Build a new payment system feature
|
|
210
210
|
|
|
211
211
|
AI: # Mode: AUTO (Iteration 1/3)
|
|
212
212
|
## Phase: PLAN
|
|
@@ -27,7 +27,7 @@ See `.ai-rules/rules/core.md` for:
|
|
|
27
27
|
|
|
28
28
|
### Project Context
|
|
29
29
|
See `.ai-rules/rules/project.md` for:
|
|
30
|
-
- Tech stack (
|
|
30
|
+
- Tech stack (see project package.json)
|
|
31
31
|
- Project structure (app → widgets → features → entities → shared)
|
|
32
32
|
- Development rules and file naming conventions
|
|
33
33
|
- Domain knowledge
|
|
@@ -44,7 +44,7 @@ See `.ai-rules/agents/README.md` for available specialist agents and their exper
|
|
|
44
44
|
|
|
45
45
|
## Claude Code Specific
|
|
46
46
|
|
|
47
|
-
-
|
|
47
|
+
- Follow project's configured language setting
|
|
48
48
|
- Use structured markdown formatting
|
|
49
49
|
- Provide clear, actionable feedback
|
|
50
50
|
- Reference project context from `.ai-rules/rules/project.md`
|
|
@@ -85,7 +85,7 @@ See `.ai-rules/agents/README.md` for available specialist agents and their exper
|
|
|
85
85
|
### In Claude Chat
|
|
86
86
|
|
|
87
87
|
```
|
|
88
|
-
User:
|
|
88
|
+
User: Build a new feature
|
|
89
89
|
|
|
90
90
|
Claude: # Mode: PLAN
|
|
91
91
|
[Following .ai-rules/rules/core.md workflow]
|
|
@@ -198,7 +198,7 @@ Specialist agents can be invoked by any Primary Agent as needed:
|
|
|
198
198
|
|
|
199
199
|
1. **PLAN mode**: Always uses `solution-architect` or `technical-planner` based on prompt analysis
|
|
200
200
|
2. **ACT mode**: Resolution priority:
|
|
201
|
-
1. Explicit agent request in prompt (e.g., "backend-developer
|
|
201
|
+
1. Explicit agent request in prompt (e.g., "work with backend-developer")
|
|
202
202
|
2. `recommended_agent` parameter (from PLAN mode recommendation)
|
|
203
203
|
3. Tooling pattern matching (config files, build tools → `tooling-engineer`)
|
|
204
204
|
4. Project configuration (`primaryAgent` setting)
|
|
@@ -321,22 +321,22 @@ The `parse_mode` MCP tool returns this field to recommend parallel specialist ex
|
|
|
321
321
|
### Parallel Execution Workflow
|
|
322
322
|
|
|
323
323
|
```
|
|
324
|
-
parse_mode
|
|
324
|
+
Call parse_mode
|
|
325
325
|
↓
|
|
326
|
-
parallelAgentsRecommendation
|
|
327
|
-
↓ (
|
|
328
|
-
|
|
326
|
+
Check parallelAgentsRecommendation
|
|
327
|
+
↓ (if exists)
|
|
328
|
+
Display start message to user
|
|
329
329
|
↓
|
|
330
|
-
prepare_parallel_agents MCP
|
|
330
|
+
Call prepare_parallel_agents MCP
|
|
331
331
|
↓
|
|
332
|
-
|
|
332
|
+
Call each agent.taskPrompt via Task tool in parallel:
|
|
333
333
|
- subagent_type: "general-purpose"
|
|
334
334
|
- run_in_background: true
|
|
335
335
|
- prompt: agent.taskPrompt
|
|
336
336
|
↓
|
|
337
|
-
|
|
337
|
+
Collect results with TaskOutput
|
|
338
338
|
↓
|
|
339
|
-
|
|
339
|
+
Display consolidated results to user
|
|
340
340
|
```
|
|
341
341
|
|
|
342
342
|
### Code Example
|
|
@@ -29,7 +29,7 @@ See `.ai-rules/rules/core.md` for:
|
|
|
29
29
|
### Project Context
|
|
30
30
|
|
|
31
31
|
See `.ai-rules/rules/project.md` for:
|
|
32
|
-
- **Tech Stack**:
|
|
32
|
+
- **Tech Stack**: See project package.json
|
|
33
33
|
- **Architecture**: Layered structure (app → widgets → features → entities → shared)
|
|
34
34
|
- **Conventions**: File naming, import/export rules, pure/impure function separation
|
|
35
35
|
|
|
@@ -56,7 +56,7 @@ See `.ai-rules/agents/` for domain expertise:
|
|
|
56
56
|
[Add Kiro-specific customizations here]
|
|
57
57
|
|
|
58
58
|
### Communication
|
|
59
|
-
-
|
|
59
|
+
- Follow project's configured language setting
|
|
60
60
|
- Use clear, structured markdown formatting
|
|
61
61
|
- Provide actionable, specific feedback
|
|
62
62
|
```
|
|
@@ -85,7 +85,7 @@ See `.ai-rules/agents/` for domain expertise:
|
|
|
85
85
|
### In Kiro Session
|
|
86
86
|
|
|
87
87
|
```
|
|
88
|
-
User:
|
|
88
|
+
User: Build a new component
|
|
89
89
|
|
|
90
90
|
Kiro: # Mode: PLAN
|
|
91
91
|
[Follows .ai-rules/rules/core.md workflow]
|
|
@@ -50,24 +50,24 @@ OpenCode/Crush supports Agent Skills standard for structured AI capabilities. Th
|
|
|
50
50
|
### 1. Direct Skill Invocation
|
|
51
51
|
```bash
|
|
52
52
|
# In OpenCode CLI
|
|
53
|
-
/skill brainstorming "
|
|
54
|
-
/skill tdd "
|
|
55
|
-
/skill debug "
|
|
53
|
+
/skill brainstorming "new feature ideas"
|
|
54
|
+
/skill tdd "user authentication implementation"
|
|
55
|
+
/skill debug "fix login bug"
|
|
56
56
|
```
|
|
57
57
|
|
|
58
58
|
### 2. Agent + Skill Combination
|
|
59
59
|
```bash
|
|
60
60
|
# Planning with brainstorming skill
|
|
61
61
|
/agent plan
|
|
62
|
-
/skill brainstorming "
|
|
62
|
+
/skill brainstorming "improve dashboard UI"
|
|
63
63
|
|
|
64
|
-
# Implementation with TDD skill
|
|
64
|
+
# Implementation with TDD skill
|
|
65
65
|
/agent build
|
|
66
|
-
/skill tdd "API
|
|
66
|
+
/skill tdd "implement API integration"
|
|
67
67
|
|
|
68
68
|
# Review with debugging skill
|
|
69
69
|
/agent reviewer
|
|
70
|
-
/skill debug "
|
|
70
|
+
/skill debug "analyze performance issues"
|
|
71
71
|
```
|
|
72
72
|
|
|
73
73
|
### 3. Automatic Skill Recommendation
|
|
@@ -76,9 +76,9 @@ OpenCode can automatically recommend skills based on prompts using the `recommen
|
|
|
76
76
|
|
|
77
77
|
```typescript
|
|
78
78
|
// Auto-triggered when user enters certain keywords
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"UI
|
|
79
|
+
"there's a bug" → recommends: systematic-debugging
|
|
80
|
+
"create a plan" → recommends: writing-plans
|
|
81
|
+
"build the UI" → recommends: frontend-design
|
|
82
82
|
```
|
|
83
83
|
|
|
84
84
|
## Skill Conversion Process
|
|
@@ -201,20 +201,20 @@ The MCP server handles Korean→English skill name mapping automatically.
|
|
|
201
201
|
/agent plan
|
|
202
202
|
|
|
203
203
|
# Use brainstorming skill
|
|
204
|
-
/skill brainstorming "
|
|
204
|
+
/skill brainstorming "improve user dashboard"
|
|
205
205
|
|
|
206
206
|
# Generate implementation plan
|
|
207
|
-
|
|
207
|
+
Create a plan for me
|
|
208
208
|
```
|
|
209
209
|
|
|
210
210
|
### Implementing with TDD
|
|
211
211
|
|
|
212
|
-
```bash
|
|
212
|
+
```bash
|
|
213
213
|
# Switch to build agent
|
|
214
214
|
/agent build
|
|
215
215
|
|
|
216
216
|
# Load TDD skill
|
|
217
|
-
/skill test-driven-development "
|
|
217
|
+
/skill test-driven-development "implement login API"
|
|
218
218
|
|
|
219
219
|
# Start TDD cycle
|
|
220
220
|
ACT
|
|
@@ -224,10 +224,10 @@ ACT
|
|
|
224
224
|
|
|
225
225
|
```bash
|
|
226
226
|
# Use systematic debugging
|
|
227
|
-
/skill systematic-debugging "
|
|
227
|
+
/skill systematic-debugging "screen not showing after login"
|
|
228
228
|
|
|
229
229
|
# Apply debugging methodology
|
|
230
|
-
|
|
230
|
+
Debug this for me
|
|
231
231
|
```
|
|
232
232
|
|
|
233
233
|
## Benefits
|
|
@@ -220,16 +220,16 @@ The `parse_mode` tool now returns additional Mode Agent information and dynamic
|
|
|
220
220
|
```json
|
|
221
221
|
{
|
|
222
222
|
"mode": "PLAN",
|
|
223
|
-
"originalPrompt": "
|
|
224
|
-
"instructions": "
|
|
223
|
+
"originalPrompt": "Build a new user registration feature",
|
|
224
|
+
"instructions": "Design-first approach. From TDD perspective...",
|
|
225
225
|
"rules": [...],
|
|
226
|
-
"language": "
|
|
227
|
-
"languageInstruction": "Always respond in
|
|
226
|
+
"language": "en",
|
|
227
|
+
"languageInstruction": "Always respond in English.",
|
|
228
228
|
"agent": "plan-mode",
|
|
229
|
-
"delegates_to": "frontend-developer",
|
|
229
|
+
"delegates_to": "frontend-developer",
|
|
230
230
|
"delegate_agent_info": {
|
|
231
231
|
"name": "Frontend Developer",
|
|
232
|
-
"description": "React/Next.js
|
|
232
|
+
"description": "React/Next.js expert, TDD and design system experience",
|
|
233
233
|
"expertise": ["React", "Next.js", "TDD", "TypeScript"]
|
|
234
234
|
}
|
|
235
235
|
}
|
|
@@ -255,11 +255,11 @@ The `parse_mode` tool now returns additional Mode Agent information and dynamic
|
|
|
255
255
|
/agent plan-mode
|
|
256
256
|
|
|
257
257
|
# Then in chat
|
|
258
|
-
|
|
258
|
+
Build a new user registration feature
|
|
259
259
|
```
|
|
260
260
|
|
|
261
261
|
**Plan-mode agent will:**
|
|
262
|
-
- Analyze requirements
|
|
262
|
+
- Analyze requirements
|
|
263
263
|
- Create structured implementation plan
|
|
264
264
|
- Generate todo list using todo_write tool
|
|
265
265
|
- Reference .ai-rules for consistent standards
|
|
@@ -477,7 +477,7 @@ npx codingbuddy@latest mcp
|
|
|
477
477
|
```bash
|
|
478
478
|
# Terminal 1: Planning
|
|
479
479
|
opencode --agent plan-mode
|
|
480
|
-
|
|
480
|
+
Create a plan for me
|
|
481
481
|
|
|
482
482
|
# Terminal 2: Implementation
|
|
483
483
|
opencode --agent act-mode
|
|
@@ -514,10 +514,10 @@ EVAL
|
|
|
514
514
|
```bash
|
|
515
515
|
# 1. Start planning
|
|
516
516
|
/agent plan-mode
|
|
517
|
-
React
|
|
517
|
+
Build a React component library
|
|
518
518
|
|
|
519
519
|
# 2. Implement
|
|
520
|
-
/agent act-mode
|
|
520
|
+
/agent act-mode
|
|
521
521
|
ACT
|
|
522
522
|
|
|
523
523
|
# 3. Review
|
|
@@ -526,7 +526,7 @@ EVAL
|
|
|
526
526
|
|
|
527
527
|
# 4. Optimize
|
|
528
528
|
/agent performance
|
|
529
|
-
|
|
529
|
+
Suggest performance optimizations
|
|
530
530
|
```
|
|
531
531
|
|
|
532
532
|
### Full-Stack Development
|
|
@@ -534,15 +534,15 @@ EVAL
|
|
|
534
534
|
```bash
|
|
535
535
|
# Frontend work
|
|
536
536
|
/agent plan-mode
|
|
537
|
-
|
|
537
|
+
Plan user dashboard UI
|
|
538
538
|
|
|
539
|
-
# Backend work
|
|
539
|
+
# Backend work
|
|
540
540
|
/agent backend
|
|
541
|
-
API
|
|
541
|
+
Implement API endpoint
|
|
542
542
|
|
|
543
543
|
# Security review
|
|
544
544
|
/agent security
|
|
545
|
-
|
|
545
|
+
Check security vulnerabilities
|
|
546
546
|
```
|
|
547
547
|
|
|
548
548
|
## AUTO Mode
|
|
@@ -566,7 +566,7 @@ Use the `AUTO` keyword (or localized versions) at the start of your message:
|
|
|
566
566
|
```bash
|
|
567
567
|
# Start AUTO mode
|
|
568
568
|
/agent plan-mode
|
|
569
|
-
AUTO
|
|
569
|
+
AUTO Build a new user authentication feature
|
|
570
570
|
```
|
|
571
571
|
|
|
572
572
|
### Workflow
|
package/.ai-rules/adapters/q.md
CHANGED
|
@@ -29,7 +29,7 @@ Refer to `.ai-rules/rules/core.md` for:
|
|
|
29
29
|
### Project Setup
|
|
30
30
|
|
|
31
31
|
Refer to `.ai-rules/rules/project.md` for:
|
|
32
|
-
- **Tech Stack**:
|
|
32
|
+
- **Tech Stack**: See project package.json
|
|
33
33
|
- **Architecture**: Layered structure (app → widgets → features → entities → shared)
|
|
34
34
|
- **Development Rules**: File naming, import/export conventions
|
|
35
35
|
|
|
@@ -56,8 +56,8 @@ Refer to `.ai-rules/agents/*.json` for domain-specific knowledge:
|
|
|
56
56
|
- Apply Q's cost optimization suggestions
|
|
57
57
|
|
|
58
58
|
### Language Support
|
|
59
|
-
-
|
|
60
|
-
- Use technical
|
|
59
|
+
- Follow project's configured language setting
|
|
60
|
+
- Use appropriate technical terminology
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
## Directory Structure
|
|
@@ -84,7 +84,7 @@ Refer to `.ai-rules/agents/*.json` for domain-specific knowledge:
|
|
|
84
84
|
### In Amazon Q Chat
|
|
85
85
|
|
|
86
86
|
```
|
|
87
|
-
You:
|
|
87
|
+
You: Build a new API endpoint
|
|
88
88
|
|
|
89
89
|
Q: [Follows .ai-rules/rules/core.md workflow]
|
|
90
90
|
[Applies .ai-rules/rules/augmented-coding.md TDD]
|
|
@@ -494,7 +494,7 @@
|
|
|
494
494
|
}
|
|
495
495
|
},
|
|
496
496
|
"communication": {
|
|
497
|
-
"language": "
|
|
497
|
+
"language": "en",
|
|
498
498
|
"approach": [
|
|
499
499
|
"Start by understanding accessibility context (planning/implementation/evaluation)",
|
|
500
500
|
"Plan/verify WCAG 2.1 AA compliance",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Act Mode Agent",
|
|
3
|
-
"description": "ACT
|
|
3
|
+
"description": "ACT mode agent - specialized for actual implementation execution",
|
|
4
4
|
|
|
5
5
|
"model": {
|
|
6
6
|
"preferred": "claude-sonnet-4-20250514",
|
|
@@ -12,23 +12,23 @@
|
|
|
12
12
|
"mode": "ACT",
|
|
13
13
|
"purpose": "Mode Agent - delegates to Primary Developer Agent",
|
|
14
14
|
"expertise": [
|
|
15
|
-
"TDD
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
15
|
+
"TDD cycle execution (Red → Green → Refactor)",
|
|
16
|
+
"Code quality standards compliance",
|
|
17
|
+
"Type safety assurance",
|
|
18
|
+
"Achieve 90%+ test coverage",
|
|
19
|
+
"Real-time quality verification"
|
|
20
20
|
],
|
|
21
21
|
"delegates_to": "frontend-developer",
|
|
22
22
|
"responsibilities": [
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"SOLID
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
23
|
+
"Execute plans defined in PLAN mode",
|
|
24
|
+
"Strictly follow TDD cycle (Red → Green → Refactor)",
|
|
25
|
+
"Core logic: Test-First, UI components: Test-After approach",
|
|
26
|
+
"Maintain type safety (TypeScript strict mode, no any)",
|
|
27
|
+
"Achieve 90%+ test coverage goal",
|
|
28
|
+
"Maintain SOLID principles and code quality standards",
|
|
29
|
+
"Follow framework-specific component patterns",
|
|
30
|
+
"Prioritize design system usage",
|
|
31
|
+
"Apply accessibility and performance optimizations"
|
|
32
32
|
]
|
|
33
33
|
},
|
|
34
34
|
|
|
@@ -94,8 +94,8 @@
|
|
|
94
94
|
|
|
95
95
|
"delegate_agent": {
|
|
96
96
|
"primary": "frontend-developer",
|
|
97
|
-
"description": "
|
|
98
|
-
"integration": "Frontend Developer Agent
|
|
97
|
+
"description": "This Mode Agent utilizes the Frontend Developer Agent's implementation workflow",
|
|
98
|
+
"integration": "Applies Frontend Developer Agent's TDD cycle and code quality checklist"
|
|
99
99
|
},
|
|
100
100
|
|
|
101
101
|
"tdd_cycle": {
|
|
@@ -135,29 +135,29 @@
|
|
|
135
135
|
},
|
|
136
136
|
|
|
137
137
|
"communication": {
|
|
138
|
-
"language": "
|
|
139
|
-
"style": "
|
|
140
|
-
"format": "
|
|
138
|
+
"language": "en",
|
|
139
|
+
"style": "Execution-focused step-by-step progress reporting",
|
|
140
|
+
"format": "Clearly display implementation progress and quality verification results"
|
|
141
141
|
},
|
|
142
142
|
|
|
143
143
|
"verification_guide": {
|
|
144
144
|
"mode_compliance": [
|
|
145
|
-
"✅ '# Mode: ACT'
|
|
146
|
-
"✅ '## Agent : Frontend Developer' (
|
|
147
|
-
"✅
|
|
148
|
-
"✅ TDD
|
|
149
|
-
"✅
|
|
150
|
-
"✅
|
|
151
|
-
"✅
|
|
152
|
-
"✅
|
|
153
|
-
"✅ Delegate Agent
|
|
145
|
+
"✅ Verify '# Mode: ACT' is displayed",
|
|
146
|
+
"✅ Verify '## Agent : Frontend Developer' (or appropriate delegate) is displayed",
|
|
147
|
+
"✅ Verify response in configured language",
|
|
148
|
+
"✅ Verify TDD cycle compliance (Red → Green → Refactor)",
|
|
149
|
+
"✅ Verify type safety (no any)",
|
|
150
|
+
"✅ Verify 90%+ test coverage",
|
|
151
|
+
"✅ Verify todo items updated to completed",
|
|
152
|
+
"✅ Verify automatic return to PLAN mode after ACT completes",
|
|
153
|
+
"✅ Verify Delegate Agent's implementation workflow is applied"
|
|
154
154
|
],
|
|
155
155
|
"implementation_verification": [
|
|
156
|
-
"✅
|
|
157
|
-
"✅
|
|
158
|
-
"✅
|
|
159
|
-
"✅
|
|
160
|
-
"✅
|
|
156
|
+
"✅ Actual implementation completed (files created/modified)",
|
|
157
|
+
"✅ Tests written and passing",
|
|
158
|
+
"✅ Type definitions completed",
|
|
159
|
+
"✅ Linting errors resolved",
|
|
160
|
+
"✅ Design system components utilized"
|
|
161
161
|
]
|
|
162
162
|
}
|
|
163
163
|
}
|
|
@@ -182,8 +182,8 @@
|
|
|
182
182
|
],
|
|
183
183
|
|
|
184
184
|
"communication": {
|
|
185
|
-
"language": "
|
|
186
|
-
"style": "
|
|
185
|
+
"language": "en",
|
|
186
|
+
"style": "Systematic and clear approach, schema-driven design",
|
|
187
187
|
"approach": [
|
|
188
188
|
"Start by understanding agent requirements",
|
|
189
189
|
"Reference existing agents for patterns",
|
|
@@ -481,7 +481,7 @@
|
|
|
481
481
|
}
|
|
482
482
|
},
|
|
483
483
|
"communication": {
|
|
484
|
-
"language": "
|
|
484
|
+
"language": "en",
|
|
485
485
|
"approach": [
|
|
486
486
|
"Start by understanding architecture context (planning/implementation/evaluation)",
|
|
487
487
|
"Plan/verify layer placement for all files",
|
|
@@ -690,7 +690,7 @@
|
|
|
690
690
|
}
|
|
691
691
|
},
|
|
692
692
|
"communication": {
|
|
693
|
-
"language": "
|
|
693
|
+
"language": "en",
|
|
694
694
|
"approach": [
|
|
695
695
|
"Start by understanding code quality context (planning/implementation/evaluation)",
|
|
696
696
|
"Plan/verify SOLID principles application",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"infrastructure": {
|
|
32
32
|
"containerization": {
|
|
33
33
|
"docker": {
|
|
34
|
-
"base_image": "node:lts-alpine (
|
|
34
|
+
"base_image": "node:lts-alpine (match project version)",
|
|
35
35
|
"build_strategy": "Multi-stage (builder + runner)",
|
|
36
36
|
"current_setup": {
|
|
37
37
|
"builder_stage": "Build and compile Next.js application",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
]
|
|
53
53
|
},
|
|
54
54
|
"nodejs": {
|
|
55
|
-
"version": "
|
|
56
|
-
"package_manager": "
|
|
55
|
+
"version": "Reference project package.json engines",
|
|
56
|
+
"package_manager": "Match project configuration",
|
|
57
57
|
"memory": {
|
|
58
58
|
"heap_size": "4GB (--max-old-space-size=4096)",
|
|
59
59
|
"reason": "Prevents out-of-memory during Next.js builds",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
|
|
70
70
|
"monitoring": {
|
|
71
71
|
"datadog": {
|
|
72
|
-
"service_name": "
|
|
72
|
+
"service_name": "Match project configuration",
|
|
73
73
|
"components": {
|
|
74
74
|
"apm": {
|
|
75
75
|
"description": "Application Performance Monitoring for backend tracing",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
}
|
|
110
110
|
},
|
|
111
111
|
"environment_variables": {
|
|
112
|
-
"DD_SERVICE": "
|
|
112
|
+
"DD_SERVICE": "Project name - Service name identifier",
|
|
113
113
|
"DD_VERSION": "APP_VERSION - Deployment version tracking",
|
|
114
114
|
"DD_APM_ENABLED": "true - Enable APM tracing",
|
|
115
115
|
"DD_LOGS_INJECTION": "true - Inject trace info in logs",
|
|
@@ -257,7 +257,7 @@
|
|
|
257
257
|
],
|
|
258
258
|
|
|
259
259
|
"communication": {
|
|
260
|
-
"language": "
|
|
260
|
+
"language": "en",
|
|
261
261
|
"approach": [
|
|
262
262
|
"Analyze current infrastructure state first",
|
|
263
263
|
"Explain optimization opportunities clearly",
|
|
@@ -523,7 +523,7 @@
|
|
|
523
523
|
}
|
|
524
524
|
},
|
|
525
525
|
"communication": {
|
|
526
|
-
"language": "
|
|
526
|
+
"language": "en",
|
|
527
527
|
"approach": [
|
|
528
528
|
"Start by understanding documentation context (planning/implementation/evaluation)",
|
|
529
529
|
"Plan/review code comments for complex logic",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Eval Mode Agent",
|
|
3
|
-
"description": "EVAL
|
|
3
|
+
"description": "EVAL mode agent - specialized for code quality evaluation and improvement suggestions",
|
|
4
4
|
|
|
5
5
|
"model": {
|
|
6
6
|
"preferred": "claude-opus-4-20250514",
|
|
@@ -12,22 +12,22 @@
|
|
|
12
12
|
"mode": "EVAL",
|
|
13
13
|
"purpose": "Mode Agent - delegates to Code Reviewer Agent",
|
|
14
14
|
"expertise": [
|
|
15
|
-
"
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
15
|
+
"Multi-dimensional code quality evaluation",
|
|
16
|
+
"Evidence-based analysis (web search verification)",
|
|
17
|
+
"Risk assessment and prioritization",
|
|
18
|
+
"Improvement proposal",
|
|
19
|
+
"Production readiness review"
|
|
20
20
|
],
|
|
21
21
|
"delegates_to": "code-reviewer",
|
|
22
22
|
"responsibilities": [
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"Critical/High/Medium/Low
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"Anti-Sycophancy
|
|
23
|
+
"Comprehensive quality evaluation of code implemented in ACT mode",
|
|
24
|
+
"Multi-dimensional analysis: code quality, architecture, performance, security, accessibility",
|
|
25
|
+
"Provide evidence-based recommendations through web search",
|
|
26
|
+
"Classify risks by Critical/High/Medium/Low priority",
|
|
27
|
+
"Present specific and actionable improvement plans",
|
|
28
|
+
"Create todo list (using todo_write tool)",
|
|
29
|
+
"Identify production deployment blockers",
|
|
30
|
+
"Apply Anti-Sycophancy principles (objective evaluation, problem-first identification)"
|
|
31
31
|
]
|
|
32
32
|
},
|
|
33
33
|
|
|
@@ -99,8 +99,8 @@
|
|
|
99
99
|
|
|
100
100
|
"delegate_agent": {
|
|
101
101
|
"primary": "code-reviewer",
|
|
102
|
-
"description": "
|
|
103
|
-
"integration": "Code Reviewer Agent
|
|
102
|
+
"description": "This Mode Agent utilizes the Code Reviewer Agent's evaluation workflow",
|
|
103
|
+
"integration": "Applies Code Reviewer Agent's multi-dimensional evaluation and anti-sycophancy framework"
|
|
104
104
|
},
|
|
105
105
|
|
|
106
106
|
"evaluation_structure": {
|
|
@@ -152,29 +152,29 @@
|
|
|
152
152
|
},
|
|
153
153
|
|
|
154
154
|
"communication": {
|
|
155
|
-
"language": "
|
|
156
|
-
"style": "
|
|
157
|
-
"format": "
|
|
155
|
+
"language": "en",
|
|
156
|
+
"style": "Objective and evidence-based analytical evaluation",
|
|
157
|
+
"format": "Structured evaluation report format, improvements presented first"
|
|
158
158
|
},
|
|
159
159
|
|
|
160
160
|
"verification_guide": {
|
|
161
161
|
"mode_compliance": [
|
|
162
|
-
"✅ '# Mode: EVAL'
|
|
163
|
-
"✅ '## Agent : Code Reviewer'
|
|
164
|
-
"✅
|
|
165
|
-
"✅ Code Reviewer Agent
|
|
166
|
-
"✅ Anti-Sycophancy
|
|
167
|
-
"✅
|
|
168
|
-
"✅
|
|
169
|
-
"✅
|
|
162
|
+
"✅ Verify '# Mode: EVAL' is displayed",
|
|
163
|
+
"✅ Verify '## Agent : Code Reviewer' is displayed",
|
|
164
|
+
"✅ Verify response in configured language",
|
|
165
|
+
"✅ Verify Code Reviewer Agent's evaluation workflow is applied",
|
|
166
|
+
"✅ Verify Anti-Sycophancy principles applied (no prohibited phrases used)",
|
|
167
|
+
"✅ Verify at least 3 improvement areas identified",
|
|
168
|
+
"✅ Verify web search evidence included",
|
|
169
|
+
"✅ Verify improvement todo list created with todo_write tool"
|
|
170
170
|
],
|
|
171
171
|
"evaluation_quality": [
|
|
172
|
-
"✅ Critical Findings
|
|
173
|
-
"✅ Devil's Advocate Analysis (
|
|
174
|
-
"✅ Impact Radius Analysis (
|
|
175
|
-
"✅ Objective Assessment
|
|
176
|
-
"✅
|
|
177
|
-
"✅
|
|
172
|
+
"✅ Critical Findings table (with objective metrics)",
|
|
173
|
+
"✅ Devil's Advocate Analysis (failure scenarios, wrong assumptions)",
|
|
174
|
+
"✅ Impact Radius Analysis (dependencies, contract changes, side effects)",
|
|
175
|
+
"✅ Objective Assessment table (measured vs target)",
|
|
176
|
+
"✅ Improvement opportunities by priority (Critical/High/Medium/Low)",
|
|
177
|
+
"✅ Evidence-based recommendations (web search links/references)"
|
|
178
178
|
]
|
|
179
179
|
}
|
|
180
180
|
}
|
|
@@ -509,7 +509,7 @@
|
|
|
509
509
|
}
|
|
510
510
|
},
|
|
511
511
|
"communication": {
|
|
512
|
-
"language": "
|
|
512
|
+
"language": "en",
|
|
513
513
|
"approach": [
|
|
514
514
|
"Start by understanding performance context (planning/implementation/evaluation)",
|
|
515
515
|
"Plan/analyze bundle size and rendering",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Plan Mode Agent",
|
|
3
|
-
"description": "PLAN
|
|
3
|
+
"description": "PLAN mode agent - specialized for work planning and design",
|
|
4
4
|
|
|
5
5
|
"model": {
|
|
6
6
|
"preferred": "claude-opus-4-20250514",
|
|
@@ -12,21 +12,21 @@
|
|
|
12
12
|
"mode": "PLAN",
|
|
13
13
|
"purpose": "Mode Agent - delegates to Primary Developer Agent",
|
|
14
14
|
"expertise": [
|
|
15
|
-
"
|
|
16
|
-
"TDD
|
|
17
|
-
"
|
|
18
|
-
"Todo
|
|
19
|
-
"
|
|
15
|
+
"Work planning",
|
|
16
|
+
"TDD-oriented design",
|
|
17
|
+
"Architecture review",
|
|
18
|
+
"Todo list creation",
|
|
19
|
+
"Requirements analysis"
|
|
20
20
|
],
|
|
21
21
|
"delegates_to": "frontend-developer",
|
|
22
22
|
"responsibilities": [
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
23
|
+
"Analyze and clarify user requirements",
|
|
24
|
+
"Prioritize test case definition from TDD perspective",
|
|
25
|
+
"Review architecture and design before implementation",
|
|
26
|
+
"Establish systematic implementation plans",
|
|
27
|
+
"Create todo list (using todo_write tool)",
|
|
28
|
+
"Plan quality standards and test strategy",
|
|
29
|
+
"Plan file structure and naming conventions"
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
32
|
|
|
@@ -84,25 +84,25 @@
|
|
|
84
84
|
|
|
85
85
|
"delegate_agent": {
|
|
86
86
|
"primary": "frontend-developer",
|
|
87
|
-
"description": "
|
|
88
|
-
"integration": "Frontend Developer Agent
|
|
87
|
+
"description": "This Mode Agent utilizes the Frontend Developer Agent's planning workflow",
|
|
88
|
+
"integration": "Applies Frontend Developer Agent's planning section and mandatory checklist"
|
|
89
89
|
},
|
|
90
90
|
|
|
91
91
|
"communication": {
|
|
92
|
-
"language": "
|
|
93
|
-
"style": "
|
|
94
|
-
"format": "
|
|
92
|
+
"language": "en",
|
|
93
|
+
"style": "Systematic approach focused on planning",
|
|
94
|
+
"format": "Clear section separation in structured markdown format"
|
|
95
95
|
},
|
|
96
96
|
|
|
97
97
|
"verification_guide": {
|
|
98
98
|
"mode_compliance": [
|
|
99
|
-
"✅ '# Mode: PLAN'
|
|
100
|
-
"✅ '## Agent : Frontend Developer' (
|
|
101
|
-
"✅
|
|
102
|
-
"✅
|
|
103
|
-
"✅
|
|
104
|
-
"✅ Delegate Agent
|
|
105
|
-
"✅
|
|
99
|
+
"✅ Verify '# Mode: PLAN' is displayed",
|
|
100
|
+
"✅ Verify '## Agent : Frontend Developer' (or appropriate delegate) is displayed",
|
|
101
|
+
"✅ Verify response in configured language",
|
|
102
|
+
"✅ Verify todo list created with todo_write tool",
|
|
103
|
+
"✅ Verify all todo items created in pending status",
|
|
104
|
+
"✅ Verify Delegate Agent's planning workflow is applied",
|
|
105
|
+
"✅ Verify structured plan (Plan Overview, Implementation Steps, Quality Checklist, etc.)"
|
|
106
106
|
]
|
|
107
107
|
}
|
|
108
108
|
}
|
|
@@ -446,7 +446,7 @@
|
|
|
446
446
|
}
|
|
447
447
|
},
|
|
448
448
|
"communication": {
|
|
449
|
-
"language": "
|
|
449
|
+
"language": "en",
|
|
450
450
|
"approach": [
|
|
451
451
|
"Start by understanding security context (planning/implementation/evaluation)",
|
|
452
452
|
"Plan/verify authentication implementation",
|
|
@@ -162,8 +162,8 @@
|
|
|
162
162
|
},
|
|
163
163
|
|
|
164
164
|
"communication": {
|
|
165
|
-
"language": "
|
|
166
|
-
"style": "
|
|
165
|
+
"language": "en",
|
|
166
|
+
"style": "Systematic and clear approach, option-oriented design",
|
|
167
167
|
"approach": [
|
|
168
168
|
"Start with brainstorming skill",
|
|
169
169
|
"Ask one question at a time",
|
|
@@ -198,8 +198,8 @@
|
|
|
198
198
|
},
|
|
199
199
|
|
|
200
200
|
"communication": {
|
|
201
|
-
"language": "
|
|
202
|
-
"style": "
|
|
201
|
+
"language": "en",
|
|
202
|
+
"style": "Detailed and actionable plans, TDD-focused",
|
|
203
203
|
"approach": [
|
|
204
204
|
"Start with writing-plans skill",
|
|
205
205
|
"Provide complete code (no placeholders)",
|
package/package.json
CHANGED