@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.
Files changed (88) hide show
  1. package/dist/index.js +604 -261
  2. package/package.json +1 -1
  3. package/templates/.claude/agents/analyst.md +6 -14
  4. package/templates/.claude/agents/architect.md +6 -14
  5. package/templates/.claude/agents/code-reviewer.md +8 -14
  6. package/templates/.claude/agents/dependency-manager.md +8 -14
  7. package/templates/.claude/agents/deployment-validator.md +8 -14
  8. package/templates/.claude/agents/designer.md +8 -0
  9. package/templates/.claude/agents/document-writer.md +75 -316
  10. package/templates/.claude/agents/explore.md +8 -3
  11. package/templates/.claude/agents/git-operator.md +63 -17
  12. package/templates/.claude/agents/implementation-executor.md +14 -37
  13. package/templates/.claude/agents/ko-to-en-translator.md +8 -13
  14. package/templates/.claude/agents/lint-fixer.md +8 -172
  15. package/templates/.claude/agents/planner.md +6 -14
  16. package/templates/.claude/agents/refactor-advisor.md +8 -14
  17. package/templates/.claude/commands/git-all.md +3 -167
  18. package/templates/.claude/commands/git-session.md +3 -71
  19. package/templates/.claude/commands/lint-fix.md +119 -82
  20. package/templates/.claude/commands/lint-init.md +2 -54
  21. package/templates/.claude/commands/pre-deploy.md +143 -82
  22. package/templates/.claude/commands/version-update.md +171 -66
  23. package/templates/.claude/instructions/agent-patterns/agent-coordination.md +208 -0
  24. package/templates/.claude/instructions/agent-patterns/index.md +264 -0
  25. package/templates/.claude/instructions/agent-patterns/model-routing.md +167 -0
  26. package/templates/.claude/instructions/agent-patterns/parallel-execution.md +91 -0
  27. package/templates/.claude/instructions/agent-patterns/read-parallelization.md +106 -0
  28. package/templates/.claude/instructions/document-templates/ralph-templates.md +71 -0
  29. package/templates/.claude/instructions/index.md +350 -0
  30. package/templates/.claude/instructions/multi-agent/agent-roster.md +811 -0
  31. package/templates/.claude/{PARALLEL_AGENTS.md → instructions/multi-agent/coordination-guide.md} +27 -336
  32. package/templates/.claude/instructions/{parallel-agent-execution.md → multi-agent/execution-patterns.md} +127 -438
  33. package/templates/.claude/instructions/multi-agent/index.md +282 -0
  34. package/templates/.claude/instructions/multi-agent/performance-optimization.md +456 -0
  35. package/templates/.claude/instructions/tech-stack/design-standards.md +282 -0
  36. package/templates/.claude/instructions/tech-stack/index.md +70 -0
  37. package/templates/.claude/instructions/tech-stack/prisma-patterns.md +352 -0
  38. package/templates/.claude/instructions/tech-stack/tanstack-patterns.md +275 -0
  39. package/templates/.claude/instructions/validation/forbidden-patterns.md +281 -0
  40. package/templates/.claude/instructions/validation/index.md +32 -0
  41. package/templates/.claude/instructions/validation/required-behaviors.md +331 -0
  42. package/templates/.claude/instructions/validation/verification-checklist.md +318 -0
  43. package/templates/.claude/instructions/workflow-patterns/index.md +18 -0
  44. package/templates/.claude/instructions/workflow-patterns/phase-based-workflow.md +250 -0
  45. package/templates/.claude/instructions/workflow-patterns/sequential-thinking.md +217 -0
  46. package/templates/.claude/instructions/workflow-patterns/todowrite-pattern.md +215 -0
  47. package/templates/.claude/skills/bug-fix/SKILL.md +972 -0
  48. package/templates/.claude/skills/docs-creator/AGENTS.md +54 -173
  49. package/templates/.claude/skills/docs-creator/SKILL.md +146 -254
  50. package/templates/.claude/skills/docs-refactor/AGENTS.md +61 -187
  51. package/templates/.claude/skills/docs-refactor/SKILL.md +84 -315
  52. package/templates/.claude/skills/execute/SKILL.md +454 -154
  53. package/templates/.claude/skills/figma-to-code/AGENTS.md +4 -1
  54. package/templates/.claude/skills/figma-to-code/SKILL.md +306 -0
  55. package/templates/.claude/skills/global-uiux-design/AGENTS.md +4 -1
  56. package/templates/.claude/skills/global-uiux-design/SKILL.md +455 -125
  57. package/templates/.claude/skills/korea-uiux-design/AGENTS.md +4 -1
  58. package/templates/.claude/skills/korea-uiux-design/SKILL.md +461 -116
  59. package/templates/.claude/skills/nextjs-react-best-practices/SKILL.md +177 -0
  60. package/templates/.claude/skills/plan/SKILL.md +1157 -87
  61. package/templates/.claude/skills/prd/SKILL.md +367 -66
  62. package/templates/.claude/skills/ralph/AGENTS.md +4 -1
  63. package/templates/.claude/skills/ralph/SKILL.md +100 -14
  64. package/templates/.claude/skills/refactor/AGENTS.md +269 -0
  65. package/templates/.claude/skills/refactor/SKILL.md +1572 -0
  66. package/templates/.claude/skills/stitch-design/README.md +34 -0
  67. package/templates/.claude/skills/stitch-design/SKILL.md +213 -0
  68. package/templates/.claude/skills/stitch-design/examples/DESIGN.md +154 -0
  69. package/templates/.claude/skills/stitch-loop/README.md +54 -0
  70. package/templates/.claude/skills/stitch-loop/SKILL.md +316 -0
  71. package/templates/.claude/skills/stitch-loop/examples/SITE.md +73 -0
  72. package/templates/.claude/skills/stitch-loop/examples/next-prompt.md +25 -0
  73. package/templates/.claude/skills/stitch-loop/resources/baton-schema.md +61 -0
  74. package/templates/.claude/skills/stitch-loop/resources/site-template.md +104 -0
  75. package/templates/.claude/skills/stitch-react/README.md +36 -0
  76. package/templates/.claude/skills/stitch-react/SKILL.md +323 -0
  77. package/templates/.claude/skills/stitch-react/examples/gold-standard-card.tsx +88 -0
  78. package/templates/.claude/skills/stitch-react/package-lock.json +231 -0
  79. package/templates/.claude/skills/stitch-react/package.json +16 -0
  80. package/templates/.claude/skills/stitch-react/resources/architecture-checklist.md +15 -0
  81. package/templates/.claude/skills/stitch-react/resources/component-template.tsx +37 -0
  82. package/templates/.claude/skills/stitch-react/resources/stitch-api-reference.md +14 -0
  83. package/templates/.claude/skills/stitch-react/resources/style-guide.json +24 -0
  84. package/templates/.claude/skills/stitch-react/scripts/fetch-stitch.sh +30 -0
  85. package/templates/.claude/skills/stitch-react/scripts/validate.js +77 -0
  86. package/templates/.claude/skills/tanstack-start-react-best-practices/SKILL.md +149 -0
  87. package/templates/.claude/commands/bug-fix.md +0 -510
  88. 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
- 전체 에이전트 조정 가이드: @../../PARALLEL_AGENTS.md
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 | 문서 작성, README, 주석, 기술 문서 |
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
- <coordination_patterns>
31
-
32
- ## 조정 패턴
24
+ <model_routing>
33
25
 
34
- ### 패턴 1: 병렬 문서 작성
26
+ @../../instructions/agent-patterns/model-routing.md
35
27
 
36
- **용도:** 여러 문서를 동시에 작성
28
+ **문서 작성 특화:**
37
29
 
38
- ```typescript
39
- // CLAUDE.md, SKILL.md, README.md 동시 작성
40
- Task(
41
- subagent_type="document-writer",
42
- model="sonnet",
43
- prompt="CLAUDE.md 작성: 프로젝트 규칙 금지/필수 사항"
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
- **효과:** 순차 실행 대비 3배 빠름
37
+ </model_routing>
60
38
 
61
39
  ---
62
40
 
63
- ### 패턴 2: 탐색 → 문서화 파이프라인
41
+ <coordination_patterns>
64
42
 
65
- **용도:** 기존 프로젝트 문서화
43
+ ## 병렬 작성
66
44
 
67
45
  ```typescript
68
- // Step 1: 구조 분석
69
- Task(
70
- subagent_type="explore",
71
- model="haiku",
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
- // Step 1: 문서 작성
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
- subagent_type="document-writer",
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
- prompt="프로젝트 구조 분석")
162
- Task(subagent_type="explore", model="haiku",
163
- prompt="기술 스택 버전 확인")
164
-
165
- // Phase 2: 병렬 문서 작성
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
- // 여러 API 엔드포인트 문서 동시 작성
184
- Task(subagent_type="document-writer", model="haiku",
185
- prompt="docs/api/users.md: User API 문서")
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
- // Step 1: 스킬 분석
198
- Task(subagent_type="analyst", model="sonnet",
199
- prompt="스킬 요구사항 분석구조 도출")
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
- - [ ] 여러 문서를 작성하는가? 병렬 document-writer
221
- - [ ] 기존 프로젝트인가? explore 먼저, 그 후 문서화
222
- - [ ] 복잡한 구조인가? sonnet/opus 모델 사용
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>