@kood/claude-code 0.5.1 → 0.5.4
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 +604 -261
- package/package.json +1 -1
- package/templates/.claude/agents/analyst.md +6 -14
- package/templates/.claude/agents/architect.md +6 -14
- package/templates/.claude/agents/code-reviewer.md +8 -14
- package/templates/.claude/agents/dependency-manager.md +8 -14
- package/templates/.claude/agents/deployment-validator.md +8 -14
- package/templates/.claude/agents/designer.md +8 -0
- package/templates/.claude/agents/document-writer.md +75 -316
- package/templates/.claude/agents/explore.md +8 -3
- package/templates/.claude/agents/git-operator.md +63 -17
- package/templates/.claude/agents/implementation-executor.md +14 -37
- package/templates/.claude/agents/ko-to-en-translator.md +8 -13
- package/templates/.claude/agents/lint-fixer.md +8 -172
- package/templates/.claude/agents/planner.md +6 -14
- package/templates/.claude/agents/refactor-advisor.md +8 -14
- package/templates/.claude/commands/git-all.md +3 -167
- package/templates/.claude/commands/git-session.md +3 -71
- package/templates/.claude/commands/lint-fix.md +119 -82
- package/templates/.claude/commands/lint-init.md +2 -54
- package/templates/.claude/commands/pre-deploy.md +143 -82
- package/templates/.claude/commands/version-update.md +171 -66
- package/templates/.claude/instructions/agent-patterns/agent-coordination.md +208 -0
- package/templates/.claude/instructions/agent-patterns/index.md +264 -0
- package/templates/.claude/instructions/agent-patterns/model-routing.md +167 -0
- package/templates/.claude/instructions/agent-patterns/parallel-execution.md +91 -0
- package/templates/.claude/instructions/agent-patterns/read-parallelization.md +106 -0
- package/templates/.claude/instructions/document-templates/ralph-templates.md +71 -0
- package/templates/.claude/instructions/index.md +350 -0
- package/templates/.claude/instructions/multi-agent/agent-roster.md +811 -0
- package/templates/.claude/{PARALLEL_AGENTS.md → instructions/multi-agent/coordination-guide.md} +27 -336
- package/templates/.claude/instructions/{parallel-agent-execution.md → multi-agent/execution-patterns.md} +127 -438
- package/templates/.claude/instructions/multi-agent/index.md +282 -0
- package/templates/.claude/instructions/multi-agent/performance-optimization.md +456 -0
- package/templates/.claude/instructions/tech-stack/design-standards.md +282 -0
- package/templates/.claude/instructions/tech-stack/index.md +70 -0
- package/templates/.claude/instructions/tech-stack/prisma-patterns.md +352 -0
- package/templates/.claude/instructions/tech-stack/tanstack-patterns.md +275 -0
- package/templates/.claude/instructions/validation/forbidden-patterns.md +281 -0
- package/templates/.claude/instructions/validation/index.md +32 -0
- package/templates/.claude/instructions/validation/required-behaviors.md +331 -0
- package/templates/.claude/instructions/validation/verification-checklist.md +318 -0
- package/templates/.claude/instructions/workflow-patterns/index.md +18 -0
- package/templates/.claude/instructions/workflow-patterns/phase-based-workflow.md +250 -0
- package/templates/.claude/instructions/workflow-patterns/sequential-thinking.md +217 -0
- package/templates/.claude/instructions/workflow-patterns/todowrite-pattern.md +215 -0
- package/templates/.claude/skills/bug-fix/SKILL.md +972 -0
- package/templates/.claude/skills/docs-creator/AGENTS.md +54 -173
- package/templates/.claude/skills/docs-creator/SKILL.md +146 -254
- package/templates/.claude/skills/docs-refactor/AGENTS.md +61 -187
- package/templates/.claude/skills/docs-refactor/SKILL.md +84 -315
- package/templates/.claude/skills/execute/SKILL.md +454 -154
- package/templates/.claude/skills/figma-to-code/AGENTS.md +4 -1
- package/templates/.claude/skills/figma-to-code/SKILL.md +306 -0
- package/templates/.claude/skills/global-uiux-design/AGENTS.md +4 -1
- package/templates/.claude/skills/global-uiux-design/SKILL.md +455 -125
- package/templates/.claude/skills/korea-uiux-design/AGENTS.md +4 -1
- package/templates/.claude/skills/korea-uiux-design/SKILL.md +461 -116
- package/templates/.claude/skills/nextjs-react-best-practices/SKILL.md +177 -0
- package/templates/.claude/skills/plan/SKILL.md +1157 -87
- package/templates/.claude/skills/prd/SKILL.md +367 -66
- package/templates/.claude/skills/ralph/AGENTS.md +4 -1
- package/templates/.claude/skills/ralph/SKILL.md +100 -14
- package/templates/.claude/skills/refactor/AGENTS.md +269 -0
- package/templates/.claude/skills/refactor/SKILL.md +1572 -0
- package/templates/.claude/skills/stitch-design/README.md +34 -0
- package/templates/.claude/skills/stitch-design/SKILL.md +213 -0
- package/templates/.claude/skills/stitch-design/examples/DESIGN.md +154 -0
- package/templates/.claude/skills/stitch-loop/README.md +54 -0
- package/templates/.claude/skills/stitch-loop/SKILL.md +316 -0
- package/templates/.claude/skills/stitch-loop/examples/SITE.md +73 -0
- package/templates/.claude/skills/stitch-loop/examples/next-prompt.md +25 -0
- package/templates/.claude/skills/stitch-loop/resources/baton-schema.md +61 -0
- package/templates/.claude/skills/stitch-loop/resources/site-template.md +104 -0
- package/templates/.claude/skills/stitch-react/README.md +36 -0
- package/templates/.claude/skills/stitch-react/SKILL.md +323 -0
- package/templates/.claude/skills/stitch-react/examples/gold-standard-card.tsx +88 -0
- package/templates/.claude/skills/stitch-react/package-lock.json +231 -0
- package/templates/.claude/skills/stitch-react/package.json +16 -0
- package/templates/.claude/skills/stitch-react/resources/architecture-checklist.md +15 -0
- package/templates/.claude/skills/stitch-react/resources/component-template.tsx +37 -0
- package/templates/.claude/skills/stitch-react/resources/stitch-api-reference.md +14 -0
- package/templates/.claude/skills/stitch-react/resources/style-guide.json +24 -0
- package/templates/.claude/skills/stitch-react/scripts/fetch-stitch.sh +30 -0
- package/templates/.claude/skills/stitch-react/scripts/validate.js +77 -0
- package/templates/.claude/skills/tanstack-start-react-best-practices/SKILL.md +149 -0
- package/templates/.claude/commands/bug-fix.md +0 -510
- package/templates/.claude/commands/refactor.md +0 -788
|
@@ -1,210 +1,104 @@
|
|
|
1
1
|
# Docs Creator - Agent Coordination
|
|
2
2
|
|
|
3
|
-
문서 작성 스킬에서 에이전트 활용 가이드.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
3
|
<agents_reference>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
4
|
+
@../../instructions/multi-agent/agent-roster.md
|
|
5
|
+
@../../instructions/multi-agent/coordination-guide.md
|
|
6
|
+
@../../instructions/multi-agent/execution-patterns.md
|
|
11
7
|
</agents_reference>
|
|
12
8
|
|
|
13
9
|
---
|
|
14
10
|
|
|
15
11
|
<recommended_agents>
|
|
16
12
|
|
|
17
|
-
## 추천 에이전트
|
|
18
|
-
|
|
19
13
|
| 에이전트 | 모델 | 용도 |
|
|
20
14
|
|---------|------|------|
|
|
21
|
-
| **document-writer** | haiku/sonnet | 문서
|
|
22
|
-
| **explore** | haiku |
|
|
23
|
-
| **analyst** | sonnet |
|
|
24
|
-
| **code-reviewer** | opus |
|
|
15
|
+
| **document-writer** | haiku/sonnet | 문서 작성 |
|
|
16
|
+
| **explore** | haiku | 구조 파악, 패턴 분석 |
|
|
17
|
+
| **analyst** | sonnet | 요구사항 분석 |
|
|
18
|
+
| **code-reviewer** | opus | 품질 검증 |
|
|
25
19
|
|
|
26
20
|
</recommended_agents>
|
|
27
21
|
|
|
28
22
|
---
|
|
29
23
|
|
|
30
|
-
<
|
|
31
|
-
|
|
32
|
-
## 조정 패턴
|
|
24
|
+
<model_routing>
|
|
33
25
|
|
|
34
|
-
|
|
26
|
+
@../../instructions/agent-patterns/model-routing.md
|
|
35
27
|
|
|
36
|
-
|
|
28
|
+
**문서 작성 특화:**
|
|
37
29
|
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
)
|
|
45
|
-
|
|
46
|
-
Task(
|
|
47
|
-
subagent_type="document-writer",
|
|
48
|
-
model="haiku",
|
|
49
|
-
prompt="README.md 작성: 설치 및 빠른 시작 가이드"
|
|
50
|
-
)
|
|
51
|
-
|
|
52
|
-
Task(
|
|
53
|
-
subagent_type="document-writer",
|
|
54
|
-
model="haiku",
|
|
55
|
-
prompt="CONTRIBUTING.md 작성: 기여 가이드"
|
|
56
|
-
)
|
|
57
|
-
```
|
|
30
|
+
| 작업 | 모델 | 이유 |
|
|
31
|
+
|------|------|------|
|
|
32
|
+
| README, 설치 | haiku | 간단 구조, 빠름 |
|
|
33
|
+
| CLAUDE.md, SKILL.md | sonnet | XML 태그, 복잡 구조 |
|
|
34
|
+
| 아키텍처 | opus | 깊은 분석 |
|
|
35
|
+
| 품질 검증 | opus | 정확성 검토 |
|
|
58
36
|
|
|
59
|
-
|
|
37
|
+
</model_routing>
|
|
60
38
|
|
|
61
39
|
---
|
|
62
40
|
|
|
63
|
-
|
|
41
|
+
<coordination_patterns>
|
|
64
42
|
|
|
65
|
-
|
|
43
|
+
## 병렬 작성
|
|
66
44
|
|
|
67
45
|
```typescript
|
|
68
|
-
//
|
|
69
|
-
Task(
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
prompt="프로젝트 구조, 기술 스택, 주요 패턴 분석"
|
|
73
|
-
)
|
|
74
|
-
|
|
75
|
-
// Step 2: 분석 결과 바탕 문서 작성
|
|
76
|
-
Task(
|
|
77
|
-
subagent_type="document-writer",
|
|
78
|
-
model="sonnet",
|
|
79
|
-
prompt="분석 결과 기반 CLAUDE.md 작성"
|
|
80
|
-
)
|
|
46
|
+
// 독립 문서 동시 작성
|
|
47
|
+
Task(subagent_type="document-writer", model="sonnet", prompt="CLAUDE.md 작성")
|
|
48
|
+
Task(subagent_type="document-writer", model="haiku", prompt="README.md 작성")
|
|
49
|
+
Task(subagent_type="document-writer", model="haiku", prompt="CONTRIBUTING.md 작성")
|
|
81
50
|
```
|
|
82
51
|
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
### 패턴 3: 작성 → 검증 → 개선
|
|
86
|
-
|
|
87
|
-
**용도:** 고품질 문서 생성
|
|
52
|
+
## 탐색 → 문서화
|
|
88
53
|
|
|
89
54
|
```typescript
|
|
90
|
-
|
|
91
|
-
Task(
|
|
92
|
-
subagent_type="document-writer",
|
|
93
|
-
model="sonnet",
|
|
94
|
-
prompt="SKILL.md 작성: workflow, examples 포함"
|
|
95
|
-
)
|
|
96
|
-
|
|
97
|
-
// Step 2: 품질 검증
|
|
98
|
-
Task(
|
|
99
|
-
subagent_type="code-reviewer",
|
|
100
|
-
model="opus",
|
|
101
|
-
prompt="SKILL.md 검증: 명확성, 실행 가능성, 예시 품질"
|
|
102
|
-
)
|
|
103
|
-
|
|
104
|
-
// Step 3: 피드백 반영 개선
|
|
105
|
-
Task(
|
|
106
|
-
subagent_type="document-writer",
|
|
107
|
-
model="sonnet",
|
|
108
|
-
prompt="code-reviewer 피드백 반영하여 SKILL.md 개선"
|
|
109
|
-
)
|
|
55
|
+
Task(subagent_type="explore", model="haiku", prompt="프로젝트 구조, 기술 스택 분석")
|
|
56
|
+
Task(subagent_type="document-writer", model="sonnet", prompt="분석 기반 CLAUDE.md 작성")
|
|
110
57
|
```
|
|
111
58
|
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
### 패턴 4: 다국어 문서 병렬 작성
|
|
115
|
-
|
|
116
|
-
**용도:** 한/영 동시 문서화
|
|
59
|
+
## 작성 → 검증 → 개선
|
|
117
60
|
|
|
118
61
|
```typescript
|
|
119
|
-
|
|
120
|
-
Task(
|
|
121
|
-
|
|
122
|
-
model="sonnet",
|
|
123
|
-
prompt="한국어 문서 작성: docs/ko/guide.md"
|
|
124
|
-
)
|
|
125
|
-
|
|
126
|
-
Task(
|
|
127
|
-
subagent_type="document-writer",
|
|
128
|
-
model="sonnet",
|
|
129
|
-
prompt="영어 문서 작성: docs/en/guide.md"
|
|
130
|
-
)
|
|
62
|
+
Task(subagent_type="document-writer", model="sonnet", prompt="SKILL.md 작성")
|
|
63
|
+
Task(subagent_type="code-reviewer", model="opus", prompt="SKILL.md 검증")
|
|
64
|
+
Task(subagent_type="document-writer", model="sonnet", prompt="피드백 반영")
|
|
131
65
|
```
|
|
132
66
|
|
|
133
67
|
</coordination_patterns>
|
|
134
68
|
|
|
135
69
|
---
|
|
136
70
|
|
|
137
|
-
<model_routing>
|
|
138
|
-
|
|
139
|
-
## 모델 라우팅
|
|
140
|
-
|
|
141
|
-
| 작업 | 모델 | 이유 |
|
|
142
|
-
|------|------|------|
|
|
143
|
-
| **README, 설치 가이드** | haiku | 간단한 구조, 빠른 작성 |
|
|
144
|
-
| **CLAUDE.md, SKILL.md** | sonnet | 복잡한 구조, XML 태그 필요 |
|
|
145
|
-
| **아키텍처 문서** | opus | 깊은 분석, 설계 패턴 설명 |
|
|
146
|
-
| **문서 품질 검증** | opus | 정확성, 일관성 검토 |
|
|
147
|
-
|
|
148
|
-
</model_routing>
|
|
149
|
-
|
|
150
|
-
---
|
|
151
|
-
|
|
152
71
|
<practical_examples>
|
|
153
72
|
|
|
154
|
-
##
|
|
155
|
-
|
|
156
|
-
### 예시 1: 새 프로젝트 문서화
|
|
73
|
+
## 새 프로젝트
|
|
157
74
|
|
|
158
75
|
```typescript
|
|
159
76
|
// Phase 1: 병렬 탐색
|
|
160
|
-
Task(subagent_type="explore", model="haiku",
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
Task(subagent_type="document-writer", model="sonnet",
|
|
167
|
-
prompt="CLAUDE.md: 프로젝트 규칙, 금지/필수 사항")
|
|
168
|
-
Task(subagent_type="document-writer", model="haiku",
|
|
169
|
-
prompt="README.md: 빠른 시작, 설치 가이드")
|
|
170
|
-
Task(subagent_type="document-writer", model="haiku",
|
|
171
|
-
prompt="CONTRIBUTING.md: 기여 방법")
|
|
77
|
+
Task(subagent_type="explore", model="haiku", prompt="구조 분석")
|
|
78
|
+
Task(subagent_type="explore", model="haiku", prompt="기술 스택 확인")
|
|
79
|
+
|
|
80
|
+
// Phase 2: 병렬 작성
|
|
81
|
+
Task(subagent_type="document-writer", model="sonnet", prompt="CLAUDE.md")
|
|
82
|
+
Task(subagent_type="document-writer", model="haiku", prompt="README.md")
|
|
172
83
|
|
|
173
84
|
// Phase 3: 검증
|
|
174
|
-
Task(subagent_type="code-reviewer", model="opus",
|
|
175
|
-
prompt="문서 품질 검증: 명확성, 실행 가능성")
|
|
85
|
+
Task(subagent_type="code-reviewer", model="opus", prompt="품질 검증")
|
|
176
86
|
```
|
|
177
87
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
### 예시 2: API 문서 작성
|
|
88
|
+
## API 문서
|
|
181
89
|
|
|
182
90
|
```typescript
|
|
183
|
-
//
|
|
184
|
-
Task(subagent_type="document-writer", model="haiku",
|
|
185
|
-
|
|
186
|
-
Task(subagent_type="document-writer", model="haiku",
|
|
187
|
-
prompt="docs/api/posts.md: Post API 문서")
|
|
188
|
-
Task(subagent_type="document-writer", model="haiku",
|
|
189
|
-
prompt="docs/api/comments.md: Comment API 문서")
|
|
91
|
+
// 병렬 작성
|
|
92
|
+
Task(subagent_type="document-writer", model="haiku", prompt="docs/api/users.md")
|
|
93
|
+
Task(subagent_type="document-writer", model="haiku", prompt="docs/api/posts.md")
|
|
190
94
|
```
|
|
191
95
|
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
### 예시 3: 스킬 문서 작성
|
|
96
|
+
## 스킬 문서
|
|
195
97
|
|
|
196
98
|
```typescript
|
|
197
|
-
|
|
198
|
-
Task(subagent_type="
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
// Step 2: 문서 작성
|
|
202
|
-
Task(subagent_type="document-writer", model="sonnet",
|
|
203
|
-
prompt="SKILL.md 작성: trigger, workflow, examples")
|
|
204
|
-
|
|
205
|
-
// Step 3: 검증 및 개선
|
|
206
|
-
Task(subagent_type="code-reviewer", model="opus",
|
|
207
|
-
prompt="SKILL.md 검증 및 개선사항 제안")
|
|
99
|
+
Task(subagent_type="analyst", model="sonnet", prompt="요구사항 분석")
|
|
100
|
+
Task(subagent_type="document-writer", model="sonnet", prompt="SKILL.md 작성")
|
|
101
|
+
Task(subagent_type="code-reviewer", model="opus", prompt="검증 및 개선")
|
|
208
102
|
```
|
|
209
103
|
|
|
210
104
|
</practical_examples>
|
|
@@ -213,26 +107,13 @@ Task(subagent_type="code-reviewer", model="opus",
|
|
|
213
107
|
|
|
214
108
|
<best_practices>
|
|
215
109
|
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
### 에이전트 활용 원칙
|
|
226
|
-
|
|
227
|
-
**DO:**
|
|
228
|
-
- 독립 문서 → 병렬 작성
|
|
229
|
-
- 복잡한 문서 → sonnet/opus
|
|
230
|
-
- 품질 중요 → code-reviewer 검증
|
|
231
|
-
- 대량 문서 → haiku로 빠르게
|
|
232
|
-
|
|
233
|
-
**DON'T:**
|
|
234
|
-
- 간단한 문서에 opus 사용
|
|
235
|
-
- 순차 작성 (병렬 가능한 경우)
|
|
236
|
-
- 검증 없이 완료
|
|
110
|
+
| 체크리스트 | 패턴 | 모델 |
|
|
111
|
+
|----------|------|------|
|
|
112
|
+
| 여러 독립 문서 | 병렬 작성 | haiku |
|
|
113
|
+
| 기존 프로젝트 | explore → 문서화 | haiku → sonnet |
|
|
114
|
+
| 복잡한 구조 (XML, 다층) | 순차 작성 | sonnet/opus |
|
|
115
|
+
| 다국어 | 병렬 작성 | sonnet |
|
|
116
|
+
| 품질 중요 | 검증 추가 | opus |
|
|
117
|
+
| 대량 문서 (10개+) | 병렬 작성 | haiku |
|
|
237
118
|
|
|
238
119
|
</best_practices>
|