codingbuddy-rules 2.0.0 → 2.2.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/antigravity.md +83 -3
- package/.ai-rules/adapters/claude-code.md +288 -5
- package/.ai-rules/adapters/codex.md +57 -0
- package/.ai-rules/adapters/cursor.md +172 -94
- package/.ai-rules/adapters/kiro.md +70 -4
- package/.ai-rules/adapters/opencode-skills.md +16 -16
- package/.ai-rules/adapters/opencode.md +107 -16
- package/.ai-rules/adapters/q.md +61 -4
- package/.ai-rules/agents/README.md +56 -0
- 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/code-reviewer.json +70 -0
- package/.ai-rules/agents/data-engineer.json +376 -0
- 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 +52 -33
- package/.ai-rules/agents/frontend-developer.json +1 -1
- package/.ai-rules/agents/i18n-specialist.json +393 -0
- package/.ai-rules/agents/mobile-developer.json +355 -0
- 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 +202 -0
- package/.ai-rules/agents/ui-ux-designer.json +1 -1
- 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/rules/core.md +200 -2
- package/.ai-rules/skills/api-design/SKILL.md +459 -0
- package/package.json +1 -1
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]
|
|
@@ -119,6 +119,63 @@ Combine Q's AWS expertise with project rules:
|
|
|
119
119
|
- Let Q provide AWS-specific security guidance
|
|
120
120
|
- Apply `.ai-rules/agents/devops-engineer.json` for deployment patterns
|
|
121
121
|
|
|
122
|
+
## AUTO Mode
|
|
123
|
+
|
|
124
|
+
AUTO mode enables autonomous PLAN -> ACT -> EVAL cycling until quality criteria are met.
|
|
125
|
+
|
|
126
|
+
### Triggering AUTO Mode
|
|
127
|
+
|
|
128
|
+
Use the `AUTO` keyword (or localized versions) at the start of your message:
|
|
129
|
+
|
|
130
|
+
| Language | Keyword |
|
|
131
|
+
|----------|---------|
|
|
132
|
+
| English | `AUTO` |
|
|
133
|
+
| Korean | `자동` |
|
|
134
|
+
| Japanese | `自動` |
|
|
135
|
+
| Chinese | `自动` |
|
|
136
|
+
| Spanish | `AUTOMATICO` |
|
|
137
|
+
|
|
138
|
+
### Example Usage
|
|
139
|
+
|
|
140
|
+
```
|
|
141
|
+
AUTO 새로운 Lambda 함수 만들어줘
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
### Workflow
|
|
145
|
+
|
|
146
|
+
1. **PLAN Phase**: Creates implementation plan with quality criteria
|
|
147
|
+
2. **ACT Phase**: Executes implementation following TDD workflow
|
|
148
|
+
3. **EVAL Phase**: Evaluates quality against exit criteria
|
|
149
|
+
4. **Loop/Exit**: Continues cycling until:
|
|
150
|
+
- Success: `Critical = 0 AND High = 0`
|
|
151
|
+
- Failure: Max iterations reached (default: 3)
|
|
152
|
+
|
|
153
|
+
### AWS Integration with AUTO Mode
|
|
154
|
+
|
|
155
|
+
Amazon Q's AWS expertise complements AUTO mode:
|
|
156
|
+
- Leverages Q's security scanning during EVAL phase
|
|
157
|
+
- Applies AWS best practices during ACT phase
|
|
158
|
+
- Uses Q's cost optimization suggestions in planning
|
|
159
|
+
|
|
160
|
+
### Configuration
|
|
161
|
+
|
|
162
|
+
Configure in `codingbuddy.config.js`:
|
|
163
|
+
|
|
164
|
+
```javascript
|
|
165
|
+
module.exports = {
|
|
166
|
+
auto: {
|
|
167
|
+
maxIterations: 3
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
```
|
|
171
|
+
|
|
172
|
+
### When to Use
|
|
173
|
+
|
|
174
|
+
- Large feature implementations requiring multiple refinement cycles
|
|
175
|
+
- Complex refactoring with quality verification
|
|
176
|
+
- AWS service integrations needing thorough testing
|
|
177
|
+
- Infrastructure as Code development with validation cycles
|
|
178
|
+
|
|
122
179
|
## Maintenance
|
|
123
180
|
|
|
124
181
|
1. Update `.ai-rules/rules/*.md` for universal changes
|
|
@@ -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
|
|
@@ -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",
|
|
@@ -308,6 +308,7 @@
|
|
|
308
308
|
"🔴 UI/UX Design: Visual hierarchy, UX laws, interaction patterns - Reference: .ai-rules/agents/ui-ux-designer.json modes.evaluation framework for comprehensive UI/UX design assessment",
|
|
309
309
|
"🔴 Documentation Quality: Documentation, cursor rules, and AI prompt quality - Reference: .ai-rules/agents/documentation-specialist.json modes.evaluation framework for clarity, completeness, consistency, actionability, structure, and references assessment",
|
|
310
310
|
"🔴 Impact Radius: Side effects, dependencies, breaking changes - Reference: impact_radius_analysis section for dependency analysis, contract changes, and side effect checklist",
|
|
311
|
+
"🔴 Refactoring Verification: 조건 분기, 데이터 변환, 옵셔널 필드, 의존성, 엣지 케이스 수동 검토 - Reference: refactoring_review section for manual logic verification beyond automated tests",
|
|
311
312
|
"Design Patterns: Latest React/Next.js patterns - See project.md 'Tech Stack' section for versions and .ai-rules/agents/code-quality-specialist.json for design pattern assessment"
|
|
312
313
|
],
|
|
313
314
|
"specialist_agent_integration": {
|
|
@@ -433,6 +434,67 @@
|
|
|
433
434
|
"action": "Verify behavior compatibility through tests"
|
|
434
435
|
}
|
|
435
436
|
}
|
|
437
|
+
},
|
|
438
|
+
|
|
439
|
+
"refactoring_review": {
|
|
440
|
+
"description": "자동화된 테스트 외 필수 수동 로직 검토 - 테스트 통과 ≠ 버그 없음",
|
|
441
|
+
"trigger": "모든 EVAL에서 실행 (스킵 가능)",
|
|
442
|
+
"philosophy": {
|
|
443
|
+
"core_principle": "테스트 통과 ≠ 버그 없음, 리팩토링 ≠ 안전",
|
|
444
|
+
"dangerous_assumptions": [
|
|
445
|
+
"파일 이동만 했으니 로직 변경 없음",
|
|
446
|
+
"테스트 통과했으니 기능 동일함",
|
|
447
|
+
"리팩토링은 정의상 안전함",
|
|
448
|
+
"기존 코드니까 검증된 것임"
|
|
449
|
+
],
|
|
450
|
+
"required_evidence": "위 가정을 하려면 실제 코드 검토 증거 필수"
|
|
451
|
+
},
|
|
452
|
+
"checklist": {
|
|
453
|
+
"conditional_branches": {
|
|
454
|
+
"description": "if/else, 삼항연산자, switch 각 분기 추적",
|
|
455
|
+
"question": "각 분기가 의도대로 동작하는가?",
|
|
456
|
+
"common_bugs": [
|
|
457
|
+
"조건 누락으로 특정 케이스만 처리",
|
|
458
|
+
"else 분기 미구현"
|
|
459
|
+
]
|
|
460
|
+
},
|
|
461
|
+
"data_transformations": {
|
|
462
|
+
"description": "타입 변환 함수의 입출력 필드 매핑 확인",
|
|
463
|
+
"question": "모든 필드가 올바르게 매핑되는가?",
|
|
464
|
+
"common_bugs": ["필드 누락", "잘못된 기본값", "타입 불일치"]
|
|
465
|
+
},
|
|
466
|
+
"optional_handling": {
|
|
467
|
+
"description": "?, ??, || 연산자 의도된 fallback 검증",
|
|
468
|
+
"question": "옵셔널 체이닝이 의도한 fallback을 제공하는가?",
|
|
469
|
+
"common_bugs": ["null vs undefined 혼동", "빈 문자열/0 처리 오류"]
|
|
470
|
+
},
|
|
471
|
+
"dependency_completeness": {
|
|
472
|
+
"description": "DI 주입, import 경로 정확성",
|
|
473
|
+
"question": "이동된 파일의 모든 의존성이 올바르게 주입되었는가?",
|
|
474
|
+
"common_bugs": ["누락된 의존성", "잘못된 import 경로", "순환 참조"]
|
|
475
|
+
},
|
|
476
|
+
"edge_cases": {
|
|
477
|
+
"description": "null, undefined, 빈 배열, 경계값 처리",
|
|
478
|
+
"question": "경계 조건이 올바르게 처리되는가?",
|
|
479
|
+
"common_bugs": [
|
|
480
|
+
"빈 배열 처리 누락",
|
|
481
|
+
"null 참조 에러",
|
|
482
|
+
"경계값 off-by-one"
|
|
483
|
+
]
|
|
484
|
+
}
|
|
485
|
+
},
|
|
486
|
+
"skip_conditions": ["신규 파일만 생성", "문서만 변경", "테스트만 추가"],
|
|
487
|
+
"pass_criteria": {
|
|
488
|
+
"minimum_checks": "변경된 코드에 해당하는 항목은 모두 검토해야 함",
|
|
489
|
+
"evidence_required": "각 항목별로 검토 결과(문제 발견 또는 검증 완료) 명시 필수",
|
|
490
|
+
"skip_justification": "스킵하는 경우 반드시 사유 명시"
|
|
491
|
+
},
|
|
492
|
+
"output_format": {
|
|
493
|
+
"structure": "발견된 문제 우선, 파일:라인 위치 필수",
|
|
494
|
+
"problem_format": "🔴 `file.ts:line` - [항목]: [문제 설명]",
|
|
495
|
+
"verified_format": "✅ [항목]: 검증 완료",
|
|
496
|
+
"skip_format": "*스킵 사유: [사유]*"
|
|
497
|
+
}
|
|
436
498
|
}
|
|
437
499
|
},
|
|
438
500
|
|
|
@@ -485,6 +547,14 @@
|
|
|
485
547
|
"required": true
|
|
486
548
|
},
|
|
487
549
|
|
|
550
|
+
"6.5_refactoring_verification": {
|
|
551
|
+
"title": "## 🔍 리팩토링 검증",
|
|
552
|
+
"format": "**검토 범위**: [변경된 파일 목록]\n\n### 발견된 문제\n- 🔴 `file.ts:line` - [항목]: [문제]\n\n### 검증 완료 (문제 없음)\n- ✅ [항목]\n\n*스킵 사유: [해당시]*",
|
|
553
|
+
"description": "자동화된 테스트 외 필수 수동 검토 - 조건 분기, 데이터 변환, 옵셔널 필드, 의존성, 엣지 케이스",
|
|
554
|
+
"skip_conditions": ["신규 파일만 생성", "문서만 변경", "테스트만 추가"],
|
|
555
|
+
"required": true
|
|
556
|
+
},
|
|
557
|
+
|
|
488
558
|
"7_objective_assessment": {
|
|
489
559
|
"title": "## Objective Assessment",
|
|
490
560
|
"format": "| Criteria | Measured | Target | Status |\n|----------|----------|--------|--------|",
|