@kood/claude-code 0.6.0 → 0.6.2
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/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/.claude/instructions/agent-patterns/delegation-patterns.md +389 -0
- package/templates/.claude/instructions/context-optimization/phase-based-execution.md +410 -0
- package/templates/.claude/instructions/context-optimization/redundant-exploration-prevention.md +646 -0
- package/templates/.claude/instructions/context-optimization/sub-agent-distribution.md +476 -0
- package/templates/.claude/instructions/glossary.md +48 -0
- package/templates/.claude/instructions/project-context-template.md +453 -0
- package/templates/.claude/instructions/skill-integration.md +90 -0
- package/templates/.claude/instructions/sourcing/reliable-search.md +411 -0
- package/templates/.claude/instructions/validation/forbidden-patterns.md +47 -0
- package/templates/.claude/instructions/validation/required-behaviors.md +120 -0
- package/templates/.claude/instructions/validation/scope-completeness.md +367 -0
- package/templates/.claude/instructions/workflow-patterns/todowrite-pattern.md +2 -0
- package/templates/.claude/skills/brainstorm/SKILL.md +110 -644
- package/templates/.claude/skills/bug-fix/SKILL.md +9 -137
- package/templates/.claude/skills/docs-fetch/CLAUDE.md +3 -0
- package/templates/.claude/skills/docs-fetch/SKILL.md +458 -0
- package/templates/.claude/skills/elon-musk/CLAUDE.md +3 -0
- package/templates/.claude/skills/elon-musk/SKILL.md +367 -0
- package/templates/.claude/skills/execute/SKILL.md +18 -397
- package/templates/.claude/skills/plan/SKILL.md +12 -986
- package/templates/.claude/skills/prd/SKILL.md +225 -586
- package/templates/.claude/skills/prd/references/ai-native-prd.md +116 -0
- package/templates/.claude/skills/prd/references/anti-patterns.md +82 -0
- package/templates/.claude/skills/prd/references/frameworks.md +216 -0
- package/templates/.claude/skills/prd/references/pm-leaders.md +106 -0
- package/templates/.claude/skills/prd/references/trends-2026.md +157 -0
- package/templates/.claude/skills/ralph/SKILL.md +15 -497
- package/templates/.claude/skills/refactor/SKILL.md +11 -655
- package/templates/.claude/skills/research/SKILL.md +257 -0
- package/templates/.claude/skills/research/report-template.md +88 -0
|
@@ -7,6 +7,9 @@ user-invocable: true
|
|
|
7
7
|
@../../instructions/workflow-patterns/sequential-thinking.md
|
|
8
8
|
@../../instructions/agent-patterns/parallel-execution.md
|
|
9
9
|
@../../instructions/agent-patterns/model-routing.md
|
|
10
|
+
@../../instructions/context-optimization/phase-based-execution.md
|
|
11
|
+
@../../instructions/context-optimization/sub-agent-distribution.md
|
|
12
|
+
@../../instructions/validation/scope-completeness.md
|
|
10
13
|
@../../instructions/validation/forbidden-patterns.md
|
|
11
14
|
@../../instructions/validation/required-behaviors.md
|
|
12
15
|
|
|
@@ -31,7 +34,7 @@ user-invocable: true
|
|
|
31
34
|
**핵심 특징:**
|
|
32
35
|
- Sequential Thinking으로 복잡도 자동 판단 (2-5단계)
|
|
33
36
|
- Task(Explore)로 코드베이스 자동 탐색
|
|
34
|
-
-
|
|
37
|
+
- TaskCreate로 진행 상황 실시간 추적
|
|
35
38
|
- 옵션 제시 없이 최적 방법으로 즉시 구현
|
|
36
39
|
|
|
37
40
|
</when_to_use>
|
|
@@ -40,399 +43,17 @@ user-invocable: true
|
|
|
40
43
|
|
|
41
44
|
<parallel_agent_execution>
|
|
42
45
|
|
|
43
|
-
## 병렬
|
|
46
|
+
## 병렬 에이전트 실행
|
|
44
47
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|-------|-------|------|--------|
|
|
49
|
-
| **@implementation-executor** | sonnet | 즉시 구현, 독립 모듈 개발 | MEDIUM-HIGH |
|
|
50
|
-
| **@explore** | haiku/sonnet | 코드베이스 탐색, 구조 파악 | LOW-MEDIUM |
|
|
51
|
-
| **@architect** | sonnet/opus | 아키텍처 분석, 설계 검토 (READ-ONLY) | MEDIUM-HIGH |
|
|
52
|
-
| **@analyst** | sonnet | 요구사항 분석, 기술 조사, 가정 검증 | MEDIUM |
|
|
53
|
-
| **@document-writer** | haiku | 문서 작성 (README, API 문서) | LOW-MEDIUM |
|
|
54
|
-
| **@deep-executor** | opus | 자율적 딥 워커, 복잡한 작업 스스로 완료 | HIGH |
|
|
55
|
-
| **@researcher** | sonnet | 외부 문서/API 조사 | LOW-MEDIUM |
|
|
56
|
-
| **@scientist** | sonnet | Python 데이터 분석, 통계 연구 | MEDIUM |
|
|
57
|
-
| **@vision** | sonnet | 미디어 파일 분석 (이미지, PDF, 다이어그램) | LOW-MEDIUM |
|
|
58
|
-
|
|
59
|
-
---
|
|
60
|
-
|
|
61
|
-
### Parallel Execution Patterns
|
|
62
|
-
|
|
63
|
-
### Read 도구 병렬화
|
|
64
|
-
|
|
65
|
-
**프로젝트 분석 시 파일 병렬 읽기:**
|
|
66
|
-
|
|
67
|
-
```typescript
|
|
68
|
-
// ❌ 순차 읽기 (느림)
|
|
69
|
-
Read({ file_path: "src/file1.ts" })
|
|
70
|
-
// 대기...
|
|
71
|
-
Read({ file_path: "src/file2.ts" })
|
|
72
|
-
|
|
73
|
-
// ✅ 병렬 읽기 (빠름)
|
|
74
|
-
Read({ file_path: "src/file1.ts" })
|
|
75
|
-
Read({ file_path: "src/file2.ts" })
|
|
76
|
-
Read({ file_path: "src/file3.ts" })
|
|
77
|
-
Read({ file_path: "docs/api.md" })
|
|
78
|
-
```
|
|
79
|
-
|
|
80
|
-
**복잡한 탐색은 explore 에이전트 활용:**
|
|
81
|
-
|
|
82
|
-
```typescript
|
|
83
|
-
// 여러 영역 동시 탐색
|
|
84
|
-
Task(subagent_type="explore", model="haiku",
|
|
85
|
-
prompt="영역 1 파일 구조 및 패턴 분석")
|
|
86
|
-
Task(subagent_type="explore", model="haiku",
|
|
87
|
-
prompt="영역 2 의존성 및 관계 분석")
|
|
88
|
-
```
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
**1. 탐색 + 구현 병렬**
|
|
93
|
-
|
|
94
|
-
복잡한 시스템에서 여러 영역을 동시에 구현할 때 사용:
|
|
95
|
-
|
|
96
|
-
```typescript
|
|
97
|
-
// 프론트엔드 + 백엔드 동시 구현
|
|
98
|
-
Task({
|
|
99
|
-
subagent_type: 'implementation-executor',
|
|
100
|
-
model: 'sonnet',
|
|
101
|
-
prompt: '프론트엔드 프로필 편집 UI 구현 (폼, 검증, 에러 처리)'
|
|
102
|
-
})
|
|
103
|
-
|
|
104
|
-
Task({
|
|
105
|
-
subagent_type: 'implementation-executor',
|
|
106
|
-
model: 'sonnet',
|
|
107
|
-
prompt: '백엔드 프로필 업데이트 API 구현 (Server Function, Prisma)'
|
|
108
|
-
})
|
|
109
|
-
|
|
110
|
-
Task({
|
|
111
|
-
subagent_type: 'document-writer',
|
|
112
|
-
model: 'haiku',
|
|
113
|
-
prompt: 'API 문서 및 컴포넌트 가이드 작성'
|
|
114
|
-
})
|
|
115
|
-
```
|
|
116
|
-
|
|
117
|
-
**2. 독립 모듈 병렬 구현**
|
|
118
|
-
|
|
119
|
-
독립적인 모듈/컴포넌트를 각각 구현할 때:
|
|
120
|
-
|
|
121
|
-
```typescript
|
|
122
|
-
// 여러 컴포넌트 동시 구현
|
|
123
|
-
Task({
|
|
124
|
-
subagent_type: 'implementation-executor',
|
|
125
|
-
model: 'sonnet',
|
|
126
|
-
prompt: 'User 프로필 카드 컴포넌트 구현'
|
|
127
|
-
})
|
|
128
|
-
|
|
129
|
-
Task({
|
|
130
|
-
subagent_type: 'implementation-executor',
|
|
131
|
-
model: 'sonnet',
|
|
132
|
-
prompt: 'User 설정 모달 컴포넌트 구현'
|
|
133
|
-
})
|
|
134
|
-
|
|
135
|
-
Task({
|
|
136
|
-
subagent_type: 'implementation-executor',
|
|
137
|
-
model: 'sonnet',
|
|
138
|
-
prompt: 'User 통계 대시보드 컴포넌트 구현'
|
|
139
|
-
})
|
|
140
|
-
```
|
|
141
|
-
|
|
142
|
-
**3. 기능 + 테스트 + 문서 병렬**
|
|
143
|
-
|
|
144
|
-
기능 구현과 테스트, 문서화를 동시에 처리:
|
|
145
|
-
|
|
146
|
-
```typescript
|
|
147
|
-
// 기능, 테스트, 문서 동시 작업
|
|
148
|
-
Task({
|
|
149
|
-
subagent_type: 'implementation-executor',
|
|
150
|
-
model: 'sonnet',
|
|
151
|
-
prompt: '실시간 알림 기능 구현 (WebSocket 서버 + 클라이언트 훅)'
|
|
152
|
-
})
|
|
153
|
-
|
|
154
|
-
Task({
|
|
155
|
-
subagent_type: 'implementation-executor',
|
|
156
|
-
model: 'sonnet',
|
|
157
|
-
prompt: '알림 기능 테스트 작성 (unit + integration)'
|
|
158
|
-
})
|
|
159
|
-
|
|
160
|
-
Task({
|
|
161
|
-
subagent_type: 'document-writer',
|
|
162
|
-
model: 'haiku',
|
|
163
|
-
prompt: '알림 API 문서 및 사용 가이드 작성'
|
|
164
|
-
})
|
|
165
|
-
```
|
|
166
|
-
|
|
167
|
-
**4. 리팩토링 병렬화**
|
|
168
|
-
|
|
169
|
-
독립적인 모듈을 각각 리팩토링:
|
|
170
|
-
|
|
171
|
-
```typescript
|
|
172
|
-
// 여러 모듈 동시 리팩토링
|
|
173
|
-
Task({
|
|
174
|
-
subagent_type: 'implementation-executor',
|
|
175
|
-
model: 'sonnet',
|
|
176
|
-
prompt: 'User 모듈 리팩토링 (타입 안정성, 복잡도 감소)'
|
|
177
|
-
})
|
|
178
|
-
|
|
179
|
-
Task({
|
|
180
|
-
subagent_type: 'implementation-executor',
|
|
181
|
-
model: 'sonnet',
|
|
182
|
-
prompt: 'Payment 모듈 리팩토링 (에러 핸들링 개선)'
|
|
183
|
-
})
|
|
184
|
-
|
|
185
|
-
Task({
|
|
186
|
-
subagent_type: 'implementation-executor',
|
|
187
|
-
model: 'haiku',
|
|
188
|
-
prompt: 'Notification 모듈 리팩토링 (템플릿 구조화)'
|
|
189
|
-
})
|
|
190
|
-
```
|
|
191
|
-
|
|
192
|
-
**5. 탐색 + 분석 병렬**
|
|
193
|
-
|
|
194
|
-
코드베이스를 여러 관점에서 동시 분석:
|
|
195
|
-
|
|
196
|
-
```typescript
|
|
197
|
-
// 여러 영역 동시 탐색 및 분석
|
|
198
|
-
Task({
|
|
199
|
-
subagent_type: 'explore',
|
|
200
|
-
model: 'haiku',
|
|
201
|
-
prompt: '인증 관련 파일 구조 및 패턴 분석'
|
|
202
|
-
})
|
|
203
|
-
|
|
204
|
-
Task({
|
|
205
|
-
subagent_type: 'architect',
|
|
206
|
-
model: 'sonnet',
|
|
207
|
-
prompt: '현재 인증 아키텍처 평가 및 개선점 도출'
|
|
208
|
-
})
|
|
209
|
-
|
|
210
|
-
Task({
|
|
211
|
-
subagent_type: 'analyst',
|
|
212
|
-
model: 'sonnet',
|
|
213
|
-
prompt: '인증 보안 취약점 분석 및 완화 방안'
|
|
214
|
-
})
|
|
215
|
-
```
|
|
216
|
-
|
|
217
|
-
---
|
|
218
|
-
|
|
219
|
-
### Model Routing
|
|
220
|
-
|
|
221
|
-
| 복잡도 | 조건 | 권장 Model | Agent | 예시 |
|
|
222
|
-
|--------|------|-----------|-------|------|
|
|
223
|
-
| **LOW** | 단순 구현, 파일 1-2개 | haiku | implementation-executor | 스타일 변경, 간단한 컴포넌트 |
|
|
224
|
-
| **MEDIUM** | 일반 구현, 파일 3-5개 | sonnet | implementation-executor | 기능 추가, 리팩토링 |
|
|
225
|
-
| **HIGH** | 복잡한 구현, 아키텍처 변경 | opus | implementation-executor | 시스템 재설계, 대규모 변경 |
|
|
226
|
-
|
|
227
|
-
**Model 선택 가이드:**
|
|
228
|
-
|
|
229
|
-
```text
|
|
230
|
-
✅ haiku:
|
|
231
|
-
- 간단한 구현, 1-2 파일 수정
|
|
232
|
-
- 스타일 변경, 설정 업데이트
|
|
233
|
-
- 병렬 실행 시 비용 최적화
|
|
234
|
-
|
|
235
|
-
✅ sonnet:
|
|
236
|
-
- 일반 기능 구현, 3-5 파일
|
|
237
|
-
- 리팩토링, 버그 수정
|
|
238
|
-
- 균형잡힌 품질/비용
|
|
239
|
-
|
|
240
|
-
✅ opus:
|
|
241
|
-
- 복잡한 기능, 아키텍처 변경
|
|
242
|
-
- 대규모 리팩토링
|
|
243
|
-
- 최고 품질 필요 시
|
|
244
|
-
```
|
|
245
|
-
|
|
246
|
-
**Agent별 모델 추천:**
|
|
247
|
-
|
|
248
|
-
| Agent | 기본 모델 | 복잡한 경우 | 이유 |
|
|
249
|
-
|-------|----------|------------|------|
|
|
250
|
-
| **implementation-executor** | sonnet | opus | 일반 구현은 sonnet, 복잡한 경우 opus |
|
|
251
|
-
| **explore** | haiku | sonnet | 탐색은 빠르게, 복잡한 분석은 sonnet |
|
|
252
|
-
| **analyst** | sonnet | opus | 일반 조사는 sonnet, 전략적 결정은 opus |
|
|
253
|
-
| **architect** | sonnet | opus | 일반 분석은 sonnet, 설계는 opus |
|
|
254
|
-
| **document-writer** | haiku | sonnet | 문서는 haiku, 복잡한 기술 문서는 sonnet |
|
|
255
|
-
|
|
256
|
-
---
|
|
257
|
-
|
|
258
|
-
### Practical Examples
|
|
259
|
-
|
|
260
|
-
**예시 1: 프로필 기능 구현 (탐색 + 구현 병렬)**
|
|
261
|
-
|
|
262
|
-
```typescript
|
|
263
|
-
// 1단계: 현재 상태 탐색 (병렬)
|
|
264
|
-
Task({
|
|
265
|
-
subagent_type: 'explore',
|
|
266
|
-
model: 'haiku',
|
|
267
|
-
description: '프로필 UI 분석',
|
|
268
|
-
prompt: '프로필 관련 컴포넌트, 라우트 분석'
|
|
269
|
-
})
|
|
270
|
-
|
|
271
|
-
Task({
|
|
272
|
-
subagent_type: 'explore',
|
|
273
|
-
model: 'haiku',
|
|
274
|
-
description: '프로필 API 분석',
|
|
275
|
-
prompt: 'User 관련 Server Function, DB 스키마 분석'
|
|
276
|
-
})
|
|
277
|
-
|
|
278
|
-
// 2단계: 기능 구현 (병렬)
|
|
279
|
-
Task({
|
|
280
|
-
subagent_type: 'implementation-executor',
|
|
281
|
-
model: 'sonnet',
|
|
282
|
-
description: '프론트엔드 구현',
|
|
283
|
-
prompt: `
|
|
284
|
-
프로필 편집 기능 구현:
|
|
285
|
-
- EditProfileForm 컴포넌트
|
|
286
|
-
- Zod 검증 스키마
|
|
287
|
-
- TanStack Query 훅
|
|
288
|
-
`
|
|
289
|
-
})
|
|
290
|
-
|
|
291
|
-
Task({
|
|
292
|
-
subagent_type: 'implementation-executor',
|
|
293
|
-
model: 'sonnet',
|
|
294
|
-
description: '백엔드 구현',
|
|
295
|
-
prompt: `
|
|
296
|
-
프로필 업데이트 API 구현:
|
|
297
|
-
- updateProfile Server Function
|
|
298
|
-
- Prisma 쿼리
|
|
299
|
-
- 미들웨어 (인증)
|
|
300
|
-
`
|
|
301
|
-
})
|
|
302
|
-
```
|
|
303
|
-
|
|
304
|
-
**예시 2: 실시간 기능 구현 (기능 + 테스트 + 문서 병렬)**
|
|
305
|
-
|
|
306
|
-
```typescript
|
|
307
|
-
// 기능, 테스트, 문서 동시 작업
|
|
308
|
-
Task({
|
|
309
|
-
subagent_type: 'implementation-executor',
|
|
310
|
-
model: 'sonnet',
|
|
311
|
-
description: '실시간 알림 구현',
|
|
312
|
-
prompt: `
|
|
313
|
-
실시간 알림 기능:
|
|
314
|
-
- Socket.io 서버 설정
|
|
315
|
-
- useNotifications 훅
|
|
316
|
-
- NotificationBell 컴포넌트
|
|
317
|
-
`
|
|
318
|
-
})
|
|
319
|
-
|
|
320
|
-
Task({
|
|
321
|
-
subagent_type: 'implementation-executor',
|
|
322
|
-
model: 'sonnet',
|
|
323
|
-
description: '테스트 작성',
|
|
324
|
-
prompt: `
|
|
325
|
-
알림 기능 테스트:
|
|
326
|
-
- WebSocket 연결 테스트
|
|
327
|
-
- 알림 수신 테스트
|
|
328
|
-
- UI 통합 테스트
|
|
329
|
-
`
|
|
330
|
-
})
|
|
331
|
-
|
|
332
|
-
Task({
|
|
333
|
-
subagent_type: 'document-writer',
|
|
334
|
-
model: 'haiku',
|
|
335
|
-
description: 'API 문서 작성',
|
|
336
|
-
prompt: `
|
|
337
|
-
알림 API 문서:
|
|
338
|
-
- WebSocket 이벤트 목록
|
|
339
|
-
- 클라이언트 사용 예시
|
|
340
|
-
- 에러 처리 가이드
|
|
341
|
-
`
|
|
342
|
-
})
|
|
343
|
-
```
|
|
344
|
-
|
|
345
|
-
**예시 3: 대규모 리팩토링 (모듈별 병렬)**
|
|
346
|
-
|
|
347
|
-
```typescript
|
|
348
|
-
// 여러 모듈 동시 리팩토링
|
|
349
|
-
Task({
|
|
350
|
-
subagent_type: 'implementation-executor',
|
|
351
|
-
model: 'sonnet',
|
|
352
|
-
description: 'User 모듈 리팩토링',
|
|
353
|
-
prompt: `
|
|
354
|
-
User 모듈 개선:
|
|
355
|
-
- 복잡도 감소 (함수 분리)
|
|
356
|
-
- 타입 안정성 향상
|
|
357
|
-
- 테스트 커버리지 증대
|
|
358
|
-
`
|
|
359
|
-
})
|
|
360
|
-
|
|
361
|
-
Task({
|
|
362
|
-
subagent_type: 'implementation-executor',
|
|
363
|
-
model: 'sonnet',
|
|
364
|
-
description: 'Payment 모듈 리팩토링',
|
|
365
|
-
prompt: `
|
|
366
|
-
Payment 모듈 개선:
|
|
367
|
-
- 트랜잭션 안정성
|
|
368
|
-
- 에러 핸들링 개선
|
|
369
|
-
- 로깅 강화
|
|
370
|
-
`
|
|
371
|
-
})
|
|
372
|
-
|
|
373
|
-
Task({
|
|
374
|
-
subagent_type: 'implementation-executor',
|
|
375
|
-
model: 'haiku',
|
|
376
|
-
description: 'Notification 모듈 리팩토링',
|
|
377
|
-
prompt: `
|
|
378
|
-
Notification 모듈 개선:
|
|
379
|
-
- 템플릿 구조화
|
|
380
|
-
- 다국어 지원
|
|
381
|
-
- 전송 실패 재시도
|
|
382
|
-
`
|
|
383
|
-
})
|
|
384
|
-
```
|
|
385
|
-
|
|
386
|
-
---
|
|
387
|
-
|
|
388
|
-
### 병렬 실행 시 고려사항
|
|
389
|
-
|
|
390
|
-
```text
|
|
391
|
-
✅ DO:
|
|
392
|
-
- 독립적인 작업만 병렬 실행 (의존성 없는 경우)
|
|
393
|
-
- 결과 통합 후 검증 수행
|
|
394
|
-
- 모델 선택 시 복잡도 고려 (haiku/sonnet/opus)
|
|
395
|
-
- 병렬 실행 수는 3-5개 권장 (너무 많으면 복잡)
|
|
396
|
-
- 각 에이전트에게 명확한 범위 전달
|
|
397
|
-
|
|
398
|
-
❌ DON'T:
|
|
399
|
-
- 순차 의존성이 있는 작업 병렬화 금지
|
|
400
|
-
- 결과 통합 없이 개별 결과만 사용
|
|
401
|
-
- 모든 작업에 opus 사용 (비용/시간 낭비)
|
|
402
|
-
- 병렬 실행 수 너무 많음 (5개 초과)
|
|
403
|
-
- 같은 파일을 여러 에이전트가 동시 수정
|
|
404
|
-
```
|
|
405
|
-
|
|
406
|
-
---
|
|
407
|
-
|
|
408
|
-
### 병렬 에이전트 체크리스트
|
|
409
|
-
|
|
410
|
-
구현 전 확인:
|
|
411
|
-
|
|
412
|
-
```text
|
|
413
|
-
✅ 탐색 단계
|
|
414
|
-
[ ] 여러 영역 동시 탐색 가능? → explore (haiku) 병렬 실행
|
|
415
|
-
[ ] 요구사항 불명확? → analyst (sonnet) 병렬 분석
|
|
416
|
-
|
|
417
|
-
✅ 구현 단계
|
|
418
|
-
[ ] 독립 모듈 구현 가능? → implementation-executor (sonnet) 병렬
|
|
419
|
-
[ ] 프론트엔드 + 백엔드? → 각각 병렬 구현
|
|
420
|
-
[ ] 기능 + 테스트 + 문서? → 동시 작업
|
|
421
|
-
|
|
422
|
-
✅ 리팩토링 단계
|
|
423
|
-
[ ] 여러 모듈 리팩토링? → implementation-executor 병렬
|
|
424
|
-
[ ] 독립적인 개선 작업? → 병렬 실행
|
|
48
|
+
@../../instructions/agent-patterns/delegation-patterns.md
|
|
49
|
+
@../../instructions/agent-patterns/parallel-execution.md
|
|
50
|
+
@../../instructions/agent-patterns/model-routing.md
|
|
425
51
|
|
|
426
|
-
|
|
427
|
-
[ ] 복잡도 LOW → haiku
|
|
428
|
-
[ ] 복잡도 MEDIUM → sonnet
|
|
429
|
-
[ ] 복잡도 HIGH → opus
|
|
52
|
+
### Execute 스킬 고유 패턴
|
|
430
53
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
[ ] 결과 통합 계획
|
|
435
|
-
```
|
|
54
|
+
- **즉시 구현**: Sequential Thinking으로 분석 후 implementation-executor에게 즉시 위임
|
|
55
|
+
- **독립 기능 병렬**: 여러 독립적인 기능을 각각 다른 executor에게 동시 위임
|
|
56
|
+
- **구현 + 문서 동시**: 코드 구현과 문서 작성을 병렬로 진행
|
|
436
57
|
|
|
437
58
|
</parallel_agent_execution>
|
|
438
59
|
|
|
@@ -447,7 +68,7 @@ Task({
|
|
|
447
68
|
| 1. 복잡도 판단 | Sequential Thinking으로 분석 범위 결정 | sequentialthinking (2-5단계) |
|
|
448
69
|
| 2. 코드베이스 탐색 | 현재 상태 파악, 관련 파일 탐색 | Task (Explore) 병렬 + Read/Grep |
|
|
449
70
|
| 3. 최적 접근법 결정 | 가능한 방법 분석 → 최선 선택 (내부적으로) | sequentialthinking |
|
|
450
|
-
| 4. 즉시 구현 |
|
|
71
|
+
| 4. 즉시 구현 | TaskCreate → 단계별 구현 (병렬 가능) → 검증 | Task 병렬 + Edit/Write + TaskCreate |
|
|
451
72
|
|
|
452
73
|
### Agent 선택 기준
|
|
453
74
|
|
|
@@ -487,7 +108,7 @@ thought 2: "LoginButton 컴포넌트 찾기 → 색상 변경"
|
|
|
487
108
|
Glob: **/LoginButton.tsx
|
|
488
109
|
→ src/components/LoginButton.tsx 발견
|
|
489
110
|
|
|
490
|
-
# 구현 (
|
|
111
|
+
# 구현 (TaskCreate 생략)
|
|
491
112
|
- Read: src/components/LoginButton.tsx
|
|
492
113
|
- Edit: className 수정 (bg-gray-500 → bg-blue-500)
|
|
493
114
|
- 시각적 확인
|
|
@@ -511,7 +132,7 @@ thought 4: "단계: 폼 컴포넌트 → 검증 스키마 → Server Function
|
|
|
511
132
|
Task (Explore): "프로필 관련 코드 구조 분석"
|
|
512
133
|
→ src/routes/profile/, src/functions/user.ts 파악
|
|
513
134
|
|
|
514
|
-
#
|
|
135
|
+
# TaskCreate 생성
|
|
515
136
|
- 프로필 편집 폼 컴포넌트
|
|
516
137
|
- Zod 검증 스키마
|
|
517
138
|
- Server Function (updateProfile)
|
|
@@ -554,7 +175,7 @@ thought 5: "단계: Socket.io 설치 → 서버 설정 → 클라이언트 훅
|
|
|
554
175
|
Task (Explore): "현재 서버 구조 및 클라이언트 통신 방식"
|
|
555
176
|
→ server.ts, API 구조 파악
|
|
556
177
|
|
|
557
|
-
#
|
|
178
|
+
# TaskCreate 생성
|
|
558
179
|
- Socket.io 설치
|
|
559
180
|
- WebSocket 서버 설정
|
|
560
181
|
- useNotifications 훅
|
|
@@ -706,7 +327,7 @@ Task({
|
|
|
706
327
|
✅ Sequential Thinking 최소 2단계
|
|
707
328
|
✅ Task (Explore)로 코드베이스 탐색 (필요 시)
|
|
708
329
|
✅ 최적 접근법 내부적으로 결정
|
|
709
|
-
✅
|
|
330
|
+
✅ TaskCreate로 구현 단계 추적 (보통 이상)
|
|
710
331
|
✅ 단계별 구현 및 검증
|
|
711
332
|
✅ 병렬 실행 가능 시 Agent 위임
|
|
712
333
|
✅ 적절한 모델 선택 (haiku/sonnet/opus)
|
|
@@ -719,7 +340,7 @@ Task({
|
|
|
719
340
|
|
|
720
341
|
```text
|
|
721
342
|
❌ 옵션 제시 후 사용자 선택 대기 (바로 실행)
|
|
722
|
-
❌
|
|
343
|
+
❌ TaskCreate 없이 복잡한 작업 수행
|
|
723
344
|
❌ 단계별 검증 없이 일괄 구현
|
|
724
345
|
❌ 순차 의존성이 있는 작업을 병렬 실행
|
|
725
346
|
❌ 같은 파일을 여러 에이전트가 동시 수정
|