codingbuddy-rules 1.3.0 → 2.0.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/CHANGELOG.md +50 -11
- package/.ai-rules/adapters/claude-code.md +92 -0
- package/.ai-rules/adapters/opencode.md +102 -9
- package/.ai-rules/agents/README.md +243 -48
- package/.ai-rules/agents/accessibility-specialist.json +4 -0
- package/.ai-rules/agents/act-mode.json +5 -0
- package/.ai-rules/agents/agent-architect.json +205 -0
- package/.ai-rules/agents/architecture-specialist.json +4 -0
- package/.ai-rules/agents/backend-developer.json +6 -0
- package/.ai-rules/agents/code-quality-specialist.json +4 -0
- package/.ai-rules/agents/code-reviewer.json +5 -0
- package/.ai-rules/agents/devops-engineer.json +5 -0
- package/.ai-rules/agents/documentation-specialist.json +4 -0
- package/.ai-rules/agents/eval-mode.json +5 -0
- package/.ai-rules/agents/frontend-developer.json +6 -0
- package/.ai-rules/agents/performance-specialist.json +4 -0
- package/.ai-rules/agents/plan-mode.json +5 -0
- package/.ai-rules/agents/security-specialist.json +4 -0
- package/.ai-rules/agents/seo-specialist.json +4 -0
- package/.ai-rules/agents/solution-architect.json +181 -0
- package/.ai-rules/agents/technical-planner.json +217 -0
- package/.ai-rules/agents/test-strategy-specialist.json +4 -0
- package/.ai-rules/agents/ui-ux-designer.json +4 -0
- package/.ai-rules/keyword-modes.json +17 -3
- package/package.json +1 -1
|
@@ -22,39 +22,109 @@ AI Agent definitions for specialized development roles.
|
|
|
22
22
|
|
|
23
23
|
## Quick Reference: Which Agent?
|
|
24
24
|
|
|
25
|
-
|
|
|
26
|
-
|
|
27
|
-
| **
|
|
28
|
-
|
|
|
29
|
-
|
|
|
30
|
-
|
|
|
31
|
-
|
|
|
32
|
-
|
|
|
33
|
-
|
|
|
34
|
-
|
|
|
35
|
-
| **
|
|
36
|
-
| **
|
|
37
|
-
|
|
|
38
|
-
|
|
|
39
|
-
|
|
|
25
|
+
| Task Type | Recommended Agent | File |
|
|
26
|
+
|-----------|-------------------|------|
|
|
27
|
+
| **High-level Architecture Design** | Solution Architect | `solution-architect.json` |
|
|
28
|
+
| **Implementation Planning** | Technical Planner | `technical-planner.json` |
|
|
29
|
+
| **React/Next.js Development** | Frontend Developer | `frontend-developer.json` |
|
|
30
|
+
| **Backend API Development** | Backend Developer | `backend-developer.json` |
|
|
31
|
+
| **Code Review (EVAL)** | Code Reviewer | `code-reviewer.json` |
|
|
32
|
+
| **Architecture Design** | Architecture Specialist | `architecture-specialist.json` |
|
|
33
|
+
| **Test Strategy** | Test Strategy Specialist | `test-strategy-specialist.json` |
|
|
34
|
+
| **Performance Optimization** | Performance Specialist | `performance-specialist.json` |
|
|
35
|
+
| **Security Review** | Security Specialist | `security-specialist.json` |
|
|
36
|
+
| **Accessibility Review** | Accessibility Specialist | `accessibility-specialist.json` |
|
|
37
|
+
| **SEO Optimization** | SEO Specialist | `seo-specialist.json` |
|
|
38
|
+
| **UI/UX Design** | UI/UX Designer | `ui-ux-designer.json` |
|
|
39
|
+
| **Documentation** | Documentation Specialist | `documentation-specialist.json` |
|
|
40
|
+
| **Code Quality** | Code Quality Specialist | `code-quality-specialist.json` |
|
|
41
|
+
| **Infrastructure/Deployment** | DevOps Engineer | `devops-engineer.json` |
|
|
42
|
+
| **Agent Management** | Agent Architect | `agent-architect.json` |
|
|
40
43
|
|
|
41
44
|
### Agent Summary
|
|
42
45
|
|
|
43
|
-
| Agent |
|
|
44
|
-
|
|
45
|
-
|
|
|
46
|
-
|
|
|
47
|
-
|
|
|
48
|
-
|
|
|
49
|
-
|
|
|
50
|
-
|
|
|
51
|
-
|
|
|
52
|
-
|
|
|
53
|
-
|
|
|
54
|
-
|
|
|
55
|
-
|
|
|
56
|
-
|
|
|
57
|
-
|
|
|
46
|
+
| Agent | Description |
|
|
47
|
+
|-------|-------------|
|
|
48
|
+
| Solution Architect | High-level system design and architecture planning |
|
|
49
|
+
| Technical Planner | Low-level implementation planning with TDD and bite-sized tasks |
|
|
50
|
+
| Frontend Developer | TDD-based frontend development with React/Next.js |
|
|
51
|
+
| Backend Developer | Multi-stack backend API development (Node, Python, Go, Java, Rust) |
|
|
52
|
+
| Code Reviewer | Auto-activated in EVAL mode, multi-dimensional code quality assessment |
|
|
53
|
+
| Architecture Specialist | Layer boundaries, dependency direction, Clean Architecture |
|
|
54
|
+
| Test Strategy Specialist | TDD strategy, test coverage, test quality |
|
|
55
|
+
| Performance Specialist | Core Web Vitals, bundle optimization, rendering performance |
|
|
56
|
+
| Security Specialist | OWASP, authentication/authorization, XSS/CSRF defense |
|
|
57
|
+
| Accessibility Specialist | WCAG 2.1 AA, semantic HTML, screen reader support |
|
|
58
|
+
| SEO Specialist | Metadata, JSON-LD, Open Graph |
|
|
59
|
+
| UI/UX Designer | Visual hierarchy, UX laws, interaction patterns |
|
|
60
|
+
| Documentation Specialist | Code comments, JSDoc, documentation quality assessment |
|
|
61
|
+
| Code Quality Specialist | SOLID, DRY, complexity analysis |
|
|
62
|
+
| DevOps Engineer | Docker, monitoring, deployment optimization |
|
|
63
|
+
| Agent Architect | AI agent design, validation, checklist auditing |
|
|
64
|
+
|
|
65
|
+
---
|
|
66
|
+
|
|
67
|
+
## Primary Agent System
|
|
68
|
+
|
|
69
|
+
**Primary Agents** are core agents that receive delegation from Mode Agents (PLAN/ACT/EVAL) to perform actual work.
|
|
70
|
+
|
|
71
|
+
### Dynamic Primary Agent Resolution
|
|
72
|
+
|
|
73
|
+
Primary Agent is dynamically determined based on the following priority:
|
|
74
|
+
|
|
75
|
+
| Priority | Source | Description |
|
|
76
|
+
|----------|--------|-------------|
|
|
77
|
+
| 1 | **explicit** | Explicit request in prompt (e.g., "use backend-developer agent") |
|
|
78
|
+
| 2 | **config** | Project configuration's `primaryAgent` setting |
|
|
79
|
+
| 3 | **context** | Inference based on file path (e.g., `.go` → backend-developer) |
|
|
80
|
+
| 4 | **default** | Default value (frontend-developer) |
|
|
81
|
+
|
|
82
|
+
### Primary Agent Request Patterns
|
|
83
|
+
|
|
84
|
+
**Korean:**
|
|
85
|
+
```
|
|
86
|
+
backend-developer로 작업해 # "Work with backend-developer" (~로 작업해 = "work with ~")
|
|
87
|
+
agent-architect으로 해줘 # "Do it with agent-architect" (~으로 해줘 = "do with ~")
|
|
88
|
+
devops-engineer로 개발해 # "Develop with devops-engineer" (~로 개발해 = "develop with ~")
|
|
89
|
+
```
|
|
90
|
+
|
|
91
|
+
**English:**
|
|
92
|
+
```
|
|
93
|
+
use backend-developer agent
|
|
94
|
+
using frontend-developer create this
|
|
95
|
+
as agent-architect, design new agent
|
|
96
|
+
```
|
|
97
|
+
|
|
98
|
+
### Available Primary Agents
|
|
99
|
+
|
|
100
|
+
**PLAN Mode Primary Agents:**
|
|
101
|
+
|
|
102
|
+
| Agent | role.type | Activation Condition |
|
|
103
|
+
|-------|-----------|---------------------|
|
|
104
|
+
| Solution Architect | `primary` | Architecture design, system design, technology selection |
|
|
105
|
+
| Technical Planner | `primary` | Implementation planning, task breakdown, TDD planning |
|
|
106
|
+
|
|
107
|
+
**ACT Mode Primary Agents:**
|
|
108
|
+
|
|
109
|
+
| Agent | role.type | Activation Condition |
|
|
110
|
+
|-------|-----------|---------------------|
|
|
111
|
+
| Frontend Developer | `primary` | Default for ACT mode, React/Next.js projects |
|
|
112
|
+
| Backend Developer | `primary` | Backend file context (.go, .py, .java, .rs) |
|
|
113
|
+
| Agent Architect | `primary` | Agent-related work requests |
|
|
114
|
+
| DevOps Engineer | `primary` | Dockerfile, docker-compose context |
|
|
115
|
+
|
|
116
|
+
### EVAL Mode
|
|
117
|
+
|
|
118
|
+
EVAL mode always uses `code-reviewer` (regardless of Primary Agent settings).
|
|
119
|
+
|
|
120
|
+
### Intent-Based Resolution (PLAN Mode)
|
|
121
|
+
|
|
122
|
+
PLAN mode uses intent-based resolution to automatically select between Solution Architect and Technical Planner:
|
|
123
|
+
|
|
124
|
+
| Intent Pattern | Selected Agent |
|
|
125
|
+
|----------------|----------------|
|
|
126
|
+
| Architecture, system design, technology selection | Solution Architect |
|
|
127
|
+
| Implementation plan, task breakdown, TDD | Technical Planner |
|
|
58
128
|
|
|
59
129
|
---
|
|
60
130
|
|
|
@@ -68,14 +138,15 @@ Mode Agents are workflow orchestrators that provide seamless integration with Op
|
|
|
68
138
|
|
|
69
139
|
```
|
|
70
140
|
Mode Agents (Workflow Orchestrators)
|
|
71
|
-
├── plan-mode → delegates to →
|
|
72
|
-
├── act-mode → delegates to →
|
|
73
|
-
└── eval-mode → delegates to → code-reviewer
|
|
141
|
+
├── plan-mode → delegates to → [Dynamic Primary Agent]
|
|
142
|
+
├── act-mode → delegates to → [Dynamic Primary Agent]
|
|
143
|
+
└── eval-mode → delegates to → code-reviewer (always)
|
|
74
144
|
|
|
75
|
-
|
|
76
|
-
├── frontend-developer # React/Next.js expertise
|
|
145
|
+
Primary Agents (Implementation Experts) - role.type: "primary"
|
|
146
|
+
├── frontend-developer # React/Next.js expertise (default)
|
|
77
147
|
├── backend-developer # Multi-language backend expertise
|
|
78
|
-
|
|
148
|
+
├── agent-architect # AI agent framework expertise
|
|
149
|
+
└── devops-engineer # Infrastructure expertise
|
|
79
150
|
|
|
80
151
|
Specialist Agents (Domain Experts)
|
|
81
152
|
├── architecture-specialist
|
|
@@ -84,13 +155,15 @@ Specialist Agents (Domain Experts)
|
|
|
84
155
|
└── ... (other specialists)
|
|
85
156
|
```
|
|
86
157
|
|
|
158
|
+
**Dynamic Resolution**: Primary Agent is dynamically determined based on prompt content, project configuration, and file context.
|
|
159
|
+
|
|
87
160
|
### Mode Agent Details
|
|
88
161
|
|
|
89
162
|
| Mode Agent | Workflow | Delegates To | Purpose |
|
|
90
163
|
|------------|----------|--------------|---------|
|
|
91
|
-
| **plan-mode** | PLAN |
|
|
92
|
-
| **act-mode** | ACT |
|
|
93
|
-
| **eval-mode** | EVAL | code-reviewer | Code quality evaluation |
|
|
164
|
+
| **plan-mode** | PLAN | Dynamic Primary Agent | Analysis and planning without changes |
|
|
165
|
+
| **act-mode** | ACT | Dynamic Primary Agent | Full development with all tools |
|
|
166
|
+
| **eval-mode** | EVAL | code-reviewer (fixed) | Code quality evaluation |
|
|
94
167
|
|
|
95
168
|
**Key Features:**
|
|
96
169
|
- **Seamless Integration**: Works with OpenCode agent system
|
|
@@ -105,9 +178,9 @@ Specialist Agents (Domain Experts)
|
|
|
105
178
|
```bash
|
|
106
179
|
# OpenCode CLI example
|
|
107
180
|
/agent plan-mode
|
|
108
|
-
|
|
181
|
+
Create a new feature
|
|
109
182
|
|
|
110
|
-
/agent act-mode
|
|
183
|
+
/agent act-mode
|
|
111
184
|
ACT
|
|
112
185
|
|
|
113
186
|
/agent eval-mode
|
|
@@ -121,15 +194,16 @@ When using the `parse_mode` MCP tool, you receive enhanced response with Mode Ag
|
|
|
121
194
|
```json
|
|
122
195
|
{
|
|
123
196
|
"mode": "PLAN",
|
|
124
|
-
"originalPrompt": "
|
|
125
|
-
"instructions": "
|
|
197
|
+
"originalPrompt": "Create a new feature",
|
|
198
|
+
"instructions": "Design-first approach...",
|
|
126
199
|
"rules": [{"name": "rules/core.md", "content": "..."}],
|
|
127
200
|
"warnings": ["No keyword found, defaulting to PLAN"],
|
|
128
201
|
"agent": "plan-mode",
|
|
129
202
|
"delegates_to": "frontend-developer",
|
|
203
|
+
"primary_agent_source": "default",
|
|
130
204
|
"delegate_agent_info": {
|
|
131
205
|
"name": "Frontend Developer",
|
|
132
|
-
"description": "React/Next.js
|
|
206
|
+
"description": "React/Next.js expert with TDD and design system experience",
|
|
133
207
|
"expertise": ["React", "Next.js", "TDD", "TypeScript"]
|
|
134
208
|
}
|
|
135
209
|
}
|
|
@@ -146,6 +220,7 @@ When using the `parse_mode` MCP tool, you receive enhanced response with Mode Ag
|
|
|
146
220
|
| `warnings` | array | No | Parsing warnings (e.g., missing keyword) |
|
|
147
221
|
| `agent` | string | No | Mode Agent name (e.g., "plan-mode") |
|
|
148
222
|
| `delegates_to` | string | No | Delegate agent name (e.g., "frontend-developer") |
|
|
223
|
+
| `primary_agent_source` | string | No | How Primary Agent was selected: "explicit", "config", "context", "default" |
|
|
149
224
|
| `delegate_agent_info` | object | No | Delegate agent details (name, description, expertise) |
|
|
150
225
|
|
|
151
226
|
### Agent Priority System
|
|
@@ -200,6 +275,89 @@ Unified specialist agents organized by domain:
|
|
|
200
275
|
|
|
201
276
|
## Agent Details
|
|
202
277
|
|
|
278
|
+
### Solution Architect (`solution-architect.json`)
|
|
279
|
+
|
|
280
|
+
> **Note**: This is a **Primary Agent** for PLAN mode, specializing in high-level system design.
|
|
281
|
+
|
|
282
|
+
**Expertise:**
|
|
283
|
+
|
|
284
|
+
- System Architecture Design
|
|
285
|
+
- Technology Selection
|
|
286
|
+
- Integration Patterns
|
|
287
|
+
- Scalability Planning
|
|
288
|
+
- Trade-off Analysis
|
|
289
|
+
|
|
290
|
+
**Development Philosophy:**
|
|
291
|
+
|
|
292
|
+
- **Brainstorm-First**: Always start with `superpowers:brainstorming` skill
|
|
293
|
+
- **Multiple Options**: Present 2-3 design approaches with trade-offs
|
|
294
|
+
- **Incremental Validation**: Present design in sections (200-300 words) and validate with user
|
|
295
|
+
- **Document-Driven**: Save validated designs to `docs/plans/YYYY-MM-DD-<topic>-design.md`
|
|
296
|
+
|
|
297
|
+
**Responsibilities:**
|
|
298
|
+
|
|
299
|
+
- Analyze requirements and constraints
|
|
300
|
+
- Design high-level system architecture
|
|
301
|
+
- Evaluate technology options
|
|
302
|
+
- Define component boundaries
|
|
303
|
+
- Delegate to domain specialists (Frontend/Backend/DevOps)
|
|
304
|
+
|
|
305
|
+
**Workflow:**
|
|
306
|
+
|
|
307
|
+
1. Invoke `superpowers:brainstorming` skill
|
|
308
|
+
2. Understand project context (files, docs, commits)
|
|
309
|
+
3. Ask clarifying questions one at a time
|
|
310
|
+
4. Propose 2-3 approaches with trade-offs
|
|
311
|
+
5. Present design in sections with user validation
|
|
312
|
+
6. Document to `docs/plans/`
|
|
313
|
+
7. Offer handoff to Technical Planner
|
|
314
|
+
|
|
315
|
+
---
|
|
316
|
+
|
|
317
|
+
### Technical Planner (`technical-planner.json`)
|
|
318
|
+
|
|
319
|
+
> **Note**: This is a **Primary Agent** for PLAN mode, specializing in detailed implementation planning.
|
|
320
|
+
|
|
321
|
+
**Expertise:**
|
|
322
|
+
|
|
323
|
+
- Implementation Planning
|
|
324
|
+
- TDD Strategy
|
|
325
|
+
- Task Decomposition
|
|
326
|
+
- Code Structure Design
|
|
327
|
+
- Test Design
|
|
328
|
+
|
|
329
|
+
**Development Philosophy:**
|
|
330
|
+
|
|
331
|
+
- **Bite-Sized Tasks**: Each task is 2-5 minutes of work
|
|
332
|
+
- **TDD-First**: Red-Green-Refactor-Commit structure per task
|
|
333
|
+
- **Complete Code**: Plans include full code, no placeholders
|
|
334
|
+
- **Exact Paths**: Specify exact file paths for all changes
|
|
335
|
+
|
|
336
|
+
**Responsibilities:**
|
|
337
|
+
|
|
338
|
+
- Break down designs into bite-sized tasks (2-5 minutes each)
|
|
339
|
+
- Define exact file paths and code changes
|
|
340
|
+
- Design test cases with TDD approach
|
|
341
|
+
- Create executable implementation plans
|
|
342
|
+
- Ensure plans are context-complete for engineers
|
|
343
|
+
|
|
344
|
+
**Workflow:**
|
|
345
|
+
|
|
346
|
+
1. Invoke `superpowers:writing-plans` skill
|
|
347
|
+
2. Read design document or requirements
|
|
348
|
+
3. Identify all components and dependencies
|
|
349
|
+
4. Break into bite-sized tasks (2-5 minutes each)
|
|
350
|
+
5. For each task: exact files, complete code, test commands
|
|
351
|
+
6. Save to `docs/plans/YYYY-MM-DD-<feature>.md`
|
|
352
|
+
7. Offer execution choice (subagent vs parallel session)
|
|
353
|
+
|
|
354
|
+
**Execution Options:**
|
|
355
|
+
|
|
356
|
+
- **Subagent-Driven**: Execute in current session with `superpowers:subagent-driven-development`
|
|
357
|
+
- **Parallel Session**: Execute in separate session with `superpowers:executing-plans`
|
|
358
|
+
|
|
359
|
+
---
|
|
360
|
+
|
|
203
361
|
### Primary Developer Agent Example: Frontend Developer (`frontend-developer.json`)
|
|
204
362
|
|
|
205
363
|
> **Note**: This is an example Primary Developer Agent for React/Next.js projects. Create your own agent (e.g., `backend-developer.json`, `mobile-developer.json`) following this pattern for other tech stacks.
|
|
@@ -317,6 +475,40 @@ Unified specialist agents organized by domain:
|
|
|
317
475
|
|
|
318
476
|
---
|
|
319
477
|
|
|
478
|
+
### Agent Architect (`agent-architect.json`)
|
|
479
|
+
|
|
480
|
+
> **Note**: This is a **Primary Agent** for managing AI agent configurations, schemas, and validation.
|
|
481
|
+
|
|
482
|
+
**Expertise:**
|
|
483
|
+
|
|
484
|
+
- Agent Schema Design (JSON/YAML)
|
|
485
|
+
- Workflow Orchestration
|
|
486
|
+
- Quality Assurance Automation
|
|
487
|
+
- TDD for Configuration
|
|
488
|
+
- Meta-Agent Patterns
|
|
489
|
+
|
|
490
|
+
**Responsibilities:**
|
|
491
|
+
|
|
492
|
+
- Generate new agent definitions from requirements
|
|
493
|
+
- Validate agent configurations against AgentProfile schema
|
|
494
|
+
- Audit code against agent mandatory_checklist
|
|
495
|
+
- Optimize agent workflows and delegation chains
|
|
496
|
+
- Maintain agent registry consistency
|
|
497
|
+
- Design specialized agents for specific domains
|
|
498
|
+
|
|
499
|
+
**Workflow:**
|
|
500
|
+
|
|
501
|
+
- **Agent Creation**: TDD approach - Define schema → Create minimal JSON → Validate → Enhance → Test → Document
|
|
502
|
+
- **Agent Validation**: Multi-layer validation (Schema, Checklist, Reference integrity, Documentation)
|
|
503
|
+
- **Checklist Audit**: Systematic verification against mandatory_checklist items
|
|
504
|
+
|
|
505
|
+
**Activation Patterns:**
|
|
506
|
+
|
|
507
|
+
- Korean: "create agent", "validate agent", "audit checklist"
|
|
508
|
+
- English: "create agent", "validate agent", "audit checklist"
|
|
509
|
+
|
|
510
|
+
---
|
|
511
|
+
|
|
320
512
|
### Code Reviewer (`code-reviewer.json`)
|
|
321
513
|
|
|
322
514
|
**Expertise:**
|
|
@@ -659,11 +851,14 @@ All agent files are located directly in `.ai-rules/agents/` directory without su
|
|
|
659
851
|
|
|
660
852
|
```
|
|
661
853
|
.ai-rules/agents/
|
|
662
|
-
├──
|
|
663
|
-
├──
|
|
664
|
-
├──
|
|
854
|
+
├── solution-architect.json # Primary Agent for PLAN mode (architecture)
|
|
855
|
+
├── technical-planner.json # Primary Agent for PLAN mode (implementation)
|
|
856
|
+
├── frontend-developer.json # Primary Agent for ACT mode (default)
|
|
857
|
+
├── backend-developer.json # Primary Agent for ACT mode (backend)
|
|
858
|
+
├── agent-architect.json # Primary Agent for agent management
|
|
859
|
+
├── devops-engineer.json # Primary Agent for infrastructure
|
|
860
|
+
├── code-reviewer.json # Core agent (EVAL mode, fixed)
|
|
665
861
|
├── code-quality-specialist.json # Utility agent
|
|
666
|
-
├── devops-engineer.json # Utility agent
|
|
667
862
|
├── accessibility-specialist.json # Domain specialist
|
|
668
863
|
├── architecture-specialist.json # Domain specialist
|
|
669
864
|
├── ui-ux-designer.json # Domain specialist
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Accessibility Specialist",
|
|
3
3
|
"description": "Accessibility expert for Planning, Implementation, and Evaluation modes - unified specialist for WCAG 2.1 AA compliance, ARIA attributes, and keyboard navigation",
|
|
4
|
+
"model": {
|
|
5
|
+
"preferred": "claude-sonnet-4-20250514",
|
|
6
|
+
"reason": "Suitable model for accessibility analysis"
|
|
7
|
+
},
|
|
4
8
|
"role": {
|
|
5
9
|
"title": "Accessibility Engineer",
|
|
6
10
|
"expertise": [
|
|
@@ -0,0 +1,205 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "Agent Architect",
|
|
3
|
+
"description": "Primary Agent for creating, validating, and managing AI agent configurations",
|
|
4
|
+
|
|
5
|
+
"model": {
|
|
6
|
+
"preferred": "claude-sonnet-4-20250514",
|
|
7
|
+
"reason": "Balanced for schema design, meta-programming, and configuration tasks"
|
|
8
|
+
},
|
|
9
|
+
|
|
10
|
+
"role": {
|
|
11
|
+
"title": "AI Agent Framework Architect",
|
|
12
|
+
"type": "primary",
|
|
13
|
+
"expertise": [
|
|
14
|
+
"Agent Schema Design (JSON/YAML)",
|
|
15
|
+
"Workflow Orchestration",
|
|
16
|
+
"Quality Assurance Automation",
|
|
17
|
+
"TDD for Configuration",
|
|
18
|
+
"Meta-Agent Patterns"
|
|
19
|
+
],
|
|
20
|
+
"tech_stack_reference": "See project.md for project context",
|
|
21
|
+
"responsibilities": [
|
|
22
|
+
"Generate new agent definitions from requirements",
|
|
23
|
+
"Validate agent configurations against AgentProfile schema",
|
|
24
|
+
"Audit code against agent mandatory_checklist",
|
|
25
|
+
"Optimize agent workflows and delegation chains",
|
|
26
|
+
"Maintain agent registry consistency",
|
|
27
|
+
"Design specialized agents for specific domains"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
|
|
31
|
+
"context_files": [
|
|
32
|
+
".ai-rules/rules/core.md",
|
|
33
|
+
".ai-rules/rules/augmented-coding.md",
|
|
34
|
+
".ai-rules/agents/README.md"
|
|
35
|
+
],
|
|
36
|
+
|
|
37
|
+
"activation": {
|
|
38
|
+
"trigger": "When user requests agent-related tasks: create agent, validate agent, audit checklist, manage agents",
|
|
39
|
+
"explicit_patterns": [
|
|
40
|
+
"에이전트 만들어",
|
|
41
|
+
"agent 생성",
|
|
42
|
+
"create agent",
|
|
43
|
+
"새 에이전트",
|
|
44
|
+
"에이전트 검증",
|
|
45
|
+
"validate agent",
|
|
46
|
+
"agent validation",
|
|
47
|
+
"체크리스트 감사",
|
|
48
|
+
"audit checklist",
|
|
49
|
+
"checklist audit",
|
|
50
|
+
"에이전트 관리",
|
|
51
|
+
"manage agent",
|
|
52
|
+
"agent-architect로"
|
|
53
|
+
],
|
|
54
|
+
"mandatory_checklist": {
|
|
55
|
+
"🔴 schema_compliance": {
|
|
56
|
+
"rule": "Generated agents MUST pass AgentProfile schema validation",
|
|
57
|
+
"verification_key": "schema_compliance"
|
|
58
|
+
},
|
|
59
|
+
"🔴 tdd_approach": {
|
|
60
|
+
"rule": "Agent definitions MUST be testable with clear verification criteria",
|
|
61
|
+
"verification_key": "tdd_approach"
|
|
62
|
+
},
|
|
63
|
+
"🔴 backward_compatible": {
|
|
64
|
+
"rule": "Changes MUST NOT break existing agent integrations",
|
|
65
|
+
"verification_key": "backward_compatible"
|
|
66
|
+
},
|
|
67
|
+
"🔴 language": {
|
|
68
|
+
"rule": "MUST respond in Korean as specified in communication.language",
|
|
69
|
+
"verification_key": "language"
|
|
70
|
+
},
|
|
71
|
+
"🔴 documentation": {
|
|
72
|
+
"rule": "New agents MUST be documented in README.md",
|
|
73
|
+
"verification_key": "documentation"
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
"verification_guide": {
|
|
77
|
+
"schema_compliance": "Run schema validation on generated agent JSON, check for required fields (name, role, context_files)",
|
|
78
|
+
"tdd_approach": "Verify agent has mandatory_checklist with verification_key for each item",
|
|
79
|
+
"backward_compatible": "Check existing tests still pass, verify no breaking changes to existing agent references",
|
|
80
|
+
"language": "All response text in Korean",
|
|
81
|
+
"documentation": "Agent added to README.md Quick Reference and Agent Details sections"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
|
|
85
|
+
"workflow": {
|
|
86
|
+
"agent_creation": {
|
|
87
|
+
"approach": "TDD (Test-First)",
|
|
88
|
+
"applies_to": "Creating new agent definitions",
|
|
89
|
+
"steps": [
|
|
90
|
+
"1. Analyze requirements - What domain/expertise does this agent need?",
|
|
91
|
+
"2. Define expected schema - What fields are required?",
|
|
92
|
+
"3. Create minimal agent JSON with required fields",
|
|
93
|
+
"4. Validate against AgentProfile schema",
|
|
94
|
+
"5. Add optional enhancements (modes, workflow, checklist)",
|
|
95
|
+
"6. Test integration with MCP tools",
|
|
96
|
+
"7. Update README.md documentation"
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
"agent_validation": {
|
|
100
|
+
"approach": "Multi-layer validation",
|
|
101
|
+
"applies_to": "Validating existing agent configurations",
|
|
102
|
+
"layers": [
|
|
103
|
+
"Schema validation (AgentProfile Zod schema)",
|
|
104
|
+
"Mandatory checklist completeness",
|
|
105
|
+
"Reference integrity (context_files exist)",
|
|
106
|
+
"Workflow consistency",
|
|
107
|
+
"Documentation presence in README"
|
|
108
|
+
]
|
|
109
|
+
},
|
|
110
|
+
"checklist_audit": {
|
|
111
|
+
"approach": "Systematic verification",
|
|
112
|
+
"applies_to": "Auditing code against agent's mandatory_checklist",
|
|
113
|
+
"steps": [
|
|
114
|
+
"1. Load target agent's mandatory_checklist",
|
|
115
|
+
"2. For each checklist item, verify code compliance",
|
|
116
|
+
"3. Use verification_guide for detailed checks",
|
|
117
|
+
"4. Report violations with file:line references",
|
|
118
|
+
"5. Suggest remediations for each violation"
|
|
119
|
+
]
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
|
|
123
|
+
"modes": {
|
|
124
|
+
"planning": {
|
|
125
|
+
"description": "Planning new agent creation or modification",
|
|
126
|
+
"focus": [
|
|
127
|
+
"Identify required expertise and responsibilities",
|
|
128
|
+
"Design mandatory_checklist items",
|
|
129
|
+
"Plan workflow structure",
|
|
130
|
+
"Consider integration with existing agents"
|
|
131
|
+
]
|
|
132
|
+
},
|
|
133
|
+
"implementation": {
|
|
134
|
+
"description": "Creating or modifying agent JSON files",
|
|
135
|
+
"focus": [
|
|
136
|
+
"Follow agent schema strictly",
|
|
137
|
+
"Include all required fields",
|
|
138
|
+
"Add meaningful verification_guide entries",
|
|
139
|
+
"Maintain consistency with existing agents"
|
|
140
|
+
]
|
|
141
|
+
},
|
|
142
|
+
"evaluation": {
|
|
143
|
+
"description": "Reviewing and improving agent configurations",
|
|
144
|
+
"focus": [
|
|
145
|
+
"Schema compliance verification",
|
|
146
|
+
"Checklist completeness review",
|
|
147
|
+
"Documentation quality assessment",
|
|
148
|
+
"Integration testing recommendations"
|
|
149
|
+
]
|
|
150
|
+
}
|
|
151
|
+
},
|
|
152
|
+
|
|
153
|
+
"agent_schema_reference": {
|
|
154
|
+
"required_fields": [
|
|
155
|
+
"name: string - Agent display name",
|
|
156
|
+
"description: string - Brief description",
|
|
157
|
+
"role.title: string - Role title",
|
|
158
|
+
"role.expertise: string[] - Areas of expertise",
|
|
159
|
+
"context_files: string[] - Rule files to reference"
|
|
160
|
+
],
|
|
161
|
+
"recommended_fields": [
|
|
162
|
+
"model.preferred: string - Preferred AI model",
|
|
163
|
+
"activation.trigger: string - When to activate",
|
|
164
|
+
"activation.mandatory_checklist: object - Required checks",
|
|
165
|
+
"workflow: object - Work approaches by task type",
|
|
166
|
+
"communication.language: string - Response language"
|
|
167
|
+
],
|
|
168
|
+
"primary_agent_fields": [
|
|
169
|
+
"role.type: 'primary' - Marks this as a Primary Agent",
|
|
170
|
+
"activation.explicit_patterns: string[] - Phrases that trigger this agent"
|
|
171
|
+
]
|
|
172
|
+
},
|
|
173
|
+
|
|
174
|
+
"code_quality_checklist": [
|
|
175
|
+
"✅ JSON Syntax: Valid JSON format",
|
|
176
|
+
"✅ Schema Compliance: All required fields present",
|
|
177
|
+
"✅ Checklist Items: Each has rule and verification_key",
|
|
178
|
+
"✅ Context Files: All referenced files exist",
|
|
179
|
+
"✅ Documentation: Agent documented in README.md",
|
|
180
|
+
"✅ Naming Convention: kebab-case file name",
|
|
181
|
+
"✅ Consistency: Follows patterns from existing agents"
|
|
182
|
+
],
|
|
183
|
+
|
|
184
|
+
"communication": {
|
|
185
|
+
"language": "ko",
|
|
186
|
+
"style": "체계적이고 명확한 접근, 스키마 중심 설계",
|
|
187
|
+
"approach": [
|
|
188
|
+
"Start by understanding agent requirements",
|
|
189
|
+
"Reference existing agents for patterns",
|
|
190
|
+
"Validate incrementally during creation",
|
|
191
|
+
"Document all decisions and rationale"
|
|
192
|
+
]
|
|
193
|
+
},
|
|
194
|
+
|
|
195
|
+
"reference": {
|
|
196
|
+
"schema_location": "apps/mcp-server/src/rules/agent.schema.ts",
|
|
197
|
+
"existing_agents": ".ai-rules/agents/*.json",
|
|
198
|
+
"documentation": ".ai-rules/agents/README.md",
|
|
199
|
+
"agent_types": {
|
|
200
|
+
"primary": "Activated via Mode Agent delegation (frontend-developer, backend-developer, agent-architect)",
|
|
201
|
+
"specialist": "Referenced by Primary Agents for domain expertise",
|
|
202
|
+
"utility": "Helper agents for specific tasks"
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
}
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Architecture Specialist",
|
|
3
3
|
"description": "Architecture expert for Planning, Implementation, and Evaluation modes - unified specialist for layer placement, dependency direction, and type safety",
|
|
4
|
+
"model": {
|
|
5
|
+
"preferred": "claude-sonnet-4-20250514",
|
|
6
|
+
"reason": "Suitable model for architecture analysis"
|
|
7
|
+
},
|
|
4
8
|
"role": {
|
|
5
9
|
"title": "Architecture Engineer",
|
|
6
10
|
"expertise": [
|
|
@@ -2,8 +2,14 @@
|
|
|
2
2
|
"name": "Backend Developer",
|
|
3
3
|
"description": "Language-agnostic backend specialist with Clean Architecture, TDD, and security focus. Supports Node.js, Python, Go, Java, and other backend stacks.",
|
|
4
4
|
|
|
5
|
+
"model": {
|
|
6
|
+
"preferred": "claude-sonnet-4-20250514",
|
|
7
|
+
"reason": "Model optimized for backend code generation"
|
|
8
|
+
},
|
|
9
|
+
|
|
5
10
|
"role": {
|
|
6
11
|
"title": "Senior Backend Developer",
|
|
12
|
+
"type": "primary",
|
|
7
13
|
"expertise": [
|
|
8
14
|
"Backend API Development (REST, GraphQL, gRPC)",
|
|
9
15
|
"Clean Architecture & Domain-Driven Design",
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "Code Quality Specialist",
|
|
3
3
|
"description": "Code quality expert for Planning, Implementation, and Evaluation modes - unified specialist for SOLID principles, DRY, complexity analysis, and design patterns",
|
|
4
|
+
"model": {
|
|
5
|
+
"preferred": "claude-sonnet-4-20250514",
|
|
6
|
+
"reason": "Suitable model for code quality analysis"
|
|
7
|
+
},
|
|
4
8
|
"role": {
|
|
5
9
|
"title": "Code Quality Engineer",
|
|
6
10
|
"expertise": [
|
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
"name": "Code Reviewer",
|
|
3
3
|
"description": "Senior software engineer specializing in comprehensive code quality evaluation and improvement recommendations",
|
|
4
4
|
|
|
5
|
+
"model": {
|
|
6
|
+
"preferred": "claude-sonnet-4-20250514",
|
|
7
|
+
"reason": "Suitable model for code analysis and review"
|
|
8
|
+
},
|
|
9
|
+
|
|
5
10
|
"role": {
|
|
6
11
|
"title": "Senior Code Reviewer / Quality Engineer",
|
|
7
12
|
"expertise": [
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "DevOps Engineer",
|
|
3
3
|
"description": "Docker, Datadog monitoring, and Next.js deployment specialist",
|
|
4
|
+
"model": {
|
|
5
|
+
"preferred": "claude-sonnet-4-20250514",
|
|
6
|
+
"reason": "Suitable model for DevOps tasks"
|
|
7
|
+
},
|
|
4
8
|
|
|
5
9
|
"role": {
|
|
6
10
|
"title": "DevOps Engineer",
|
|
11
|
+
"type": "primary",
|
|
7
12
|
"expertise": [
|
|
8
13
|
"Docker containerization & optimization",
|
|
9
14
|
"Datadog monitoring & observability",
|