@kood/claude-code 0.6.0 → 0.6.1
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/skills/brainstorm/SKILL.md +72 -9
- package/templates/.claude/skills/docs-fetch/CLAUDE.md +3 -0
- package/templates/.claude/skills/docs-fetch/SKILL.md +626 -0
- package/templates/.claude/skills/elon-musk/CLAUDE.md +3 -0
- package/templates/.claude/skills/elon-musk/SKILL.md +620 -0
- package/templates/.claude/skills/prd/SKILL.md +216 -589
- 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/research/SKILL.md +260 -0
- package/templates/.claude/skills/research/report-template.md +88 -0
package/dist/index.js
CHANGED
|
@@ -846,7 +846,7 @@ var init = async (options) => {
|
|
|
846
846
|
|
|
847
847
|
// src/index.ts
|
|
848
848
|
var program = new Command();
|
|
849
|
-
program.name("claude-code").description("Claude Code documentation installer for projects").version("0.6.
|
|
849
|
+
program.name("claude-code").description("Claude Code documentation installer for projects").version("0.6.1");
|
|
850
850
|
program.option(
|
|
851
851
|
"-t, --template <names>",
|
|
852
852
|
"template names (comma-separated: tanstack-start,hono)"
|
package/package.json
CHANGED
|
@@ -44,7 +44,7 @@ user-invocable: true
|
|
|
44
44
|
|
|
45
45
|
## 결과물
|
|
46
46
|
|
|
47
|
-
- 다각도 자료 수집 (웹, 코드베이스,
|
|
47
|
+
- 다각도 자료 수집 (웹, 코드베이스, 트렌드, Firecrawl/SearXNG)
|
|
48
48
|
- 체계적 아이디어 목록 (카테고리별)
|
|
49
49
|
- 실행 가능성 평가 (노력/영향도 매트릭스)
|
|
50
50
|
- 추천 방향 및 다음 단계
|
|
@@ -75,20 +75,62 @@ $ARGUMENTS 있음 → 다음 단계 진행
|
|
|
75
75
|
|
|
76
76
|
---
|
|
77
77
|
|
|
78
|
+
<sourcing_strategy>
|
|
79
|
+
|
|
80
|
+
## Smart Tier Fallback
|
|
81
|
+
|
|
82
|
+
```
|
|
83
|
+
Tier 1 (MCP, Phase 0에서 ToolSearch로 감지):
|
|
84
|
+
Firecrawl MCP → 페이지→MD, 사이트맵 | SearXNG MCP → 메타검색 (246+ 엔진) | GitHub MCP → 코드/리포
|
|
85
|
+
|
|
86
|
+
Tier 2 (내장, 항상 가용):
|
|
87
|
+
WebSearch → 웹 검색 | WebFetch → 페이지 읽기 | gh CLI → GitHub API (Bash)
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
**MCP는 main agent가 직접 실행** (subagent는 MCP 도구 사용 불가)
|
|
91
|
+
|
|
92
|
+
| MCP 도구 | 브레인스토밍 활용 | 미설치 시 폴백 |
|
|
93
|
+
|----------|-----------------|--------------|
|
|
94
|
+
| `firecrawl_search` | 주제별 심층 검색 (경쟁사, 트렌드) | WebSearch (내장) |
|
|
95
|
+
| `firecrawl_scrape` | 참고 사이트 컨텐츠 추출 | WebFetch (페이지별) |
|
|
96
|
+
| `firecrawl_map` | 경쟁사/참고 사이트 구조 파악 | WebFetch (수동) |
|
|
97
|
+
| `search_repositories/code` | GitHub 관련 프로젝트 검색 | `gh search` (Bash via explore) |
|
|
98
|
+
|
|
99
|
+
</sourcing_strategy>
|
|
100
|
+
|
|
101
|
+
---
|
|
102
|
+
|
|
78
103
|
<workflow>
|
|
79
104
|
|
|
80
105
|
## 실행 흐름
|
|
81
106
|
|
|
82
107
|
| 단계 | 작업 | 도구 |
|
|
83
108
|
|------|------|------|
|
|
109
|
+
| 0. MCP 감지 | Firecrawl/SearXNG/GitHub MCP 가용 여부 확인 | ToolSearch × 3 |
|
|
84
110
|
| 1. 입력 확인 | ARGUMENT 검증 | - |
|
|
85
|
-
| 2. 주제 분석 | 브레인스토밍 범위 결정 | sequentialthinking (1-2단계) |
|
|
86
|
-
| 3. 자료 수집 | 병렬 정보 수집 (웹 +
|
|
111
|
+
| 2. 주제 분석 | 브레인스토밍 범위 결정 + 채널 배분 | sequentialthinking (1-2단계) |
|
|
112
|
+
| 3. 자료 수집 | 병렬 정보 수집 (웹 + MCP + 코드베이스) | Task 병렬 + MCP 직접 실행 |
|
|
87
113
|
| 4. 아이디어 도출 | 수집 자료 기반 아이디어 생성 | sequentialthinking (3-5단계) |
|
|
88
114
|
| 5. 구조화 | 카테고리별 정리 + 실행 가능성 평가 | - |
|
|
89
115
|
| 6. 문서 저장 | `.claude/brainstorms/` 폴더에 결과 저장 | Write |
|
|
90
116
|
| 7. 결과 제시 | 아이디어 목록 + 추천 방향 + 파일 경로 안내 | - |
|
|
91
117
|
|
|
118
|
+
### Phase 0: MCP 환경 감지
|
|
119
|
+
|
|
120
|
+
```
|
|
121
|
+
1. MCP 감지 (병렬): ToolSearch("firecrawl"), ToolSearch("searxng"), ToolSearch("github")
|
|
122
|
+
2. 가용 채널 결정: MCP 있으면 Tier 1, 없으면 Tier 2 폴백
|
|
123
|
+
3. 기존 브레인스토밍: .claude/brainstorms/ 동일 주제 확인
|
|
124
|
+
```
|
|
125
|
+
|
|
126
|
+
### Phase 2: 주제 분석 시 채널 배분
|
|
127
|
+
|
|
128
|
+
```
|
|
129
|
+
Sequential Thinking (2단계):
|
|
130
|
+
thought 1: 주제 유형 확정, 범위 결정, MCP 가용 여부 반영
|
|
131
|
+
thought 2: 에이전트 역할 배분 + main agent MCP 직접 실행 계획
|
|
132
|
+
```
|
|
133
|
+
|
|
92
134
|
### 복잡도별 사고 패턴
|
|
93
135
|
|
|
94
136
|
| 복잡도 | 사고 횟수 | 판단 기준 |
|
|
@@ -177,10 +219,18 @@ Write({
|
|
|
177
219
|
|
|
178
220
|
### 병렬 수집 패턴
|
|
179
221
|
|
|
180
|
-
|
|
222
|
+
**에이전트 도구 제약 (@.claude/agents/ 정의 준수):**
|
|
223
|
+
|
|
224
|
+
| Agent | Model | 도구 | 역할 |
|
|
225
|
+
|-------|-------|------|------|
|
|
226
|
+
| researcher | sonnet | WebSearch, WebFetch, Read | 웹 조사 + 출처 수집 |
|
|
227
|
+
| explore | haiku | Read, Glob, Grep, **Bash** | 코드베이스 + `gh` CLI |
|
|
228
|
+
| main agent | - | MCP 도구들 | Firecrawl/SearXNG/GitHub MCP 직접 실행 |
|
|
229
|
+
|
|
230
|
+
**패턴 1: 다각도 자료 수집 (기본 + MCP)**
|
|
181
231
|
|
|
182
232
|
```typescript
|
|
183
|
-
//
|
|
233
|
+
// 에이전트 병렬 수집 (subagent는 MCP 사용 불가)
|
|
184
234
|
Task({
|
|
185
235
|
subagent_type: 'researcher',
|
|
186
236
|
model: 'sonnet',
|
|
@@ -213,9 +263,15 @@ Task({
|
|
|
213
263
|
- 기술적 제약
|
|
214
264
|
`
|
|
215
265
|
})
|
|
266
|
+
|
|
267
|
+
// ⬆ 위 에이전트들과 동시에, main agent가 MCP 직접 실행:
|
|
268
|
+
// firecrawl_search: 주제 관련 심층 검색
|
|
269
|
+
firecrawl_search({ query: "[주제] 트렌드 사례", limit: 5 })
|
|
270
|
+
// firecrawl_scrape: 핵심 참고 페이지 컨텐츠 추출
|
|
271
|
+
firecrawl_scrape({ url: "경쟁사/참고_URL", formats: ["markdown"], onlyMainContent: true })
|
|
216
272
|
```
|
|
217
273
|
|
|
218
|
-
**효과:** 3방향 동시 조사 → 포괄적 정보 수집
|
|
274
|
+
**효과:** 3방향 에이전트 + MCP 동시 조사 → 포괄적 정보 수집
|
|
219
275
|
|
|
220
276
|
---
|
|
221
277
|
|
|
@@ -246,9 +302,13 @@ Task({
|
|
|
246
302
|
model: 'haiku',
|
|
247
303
|
prompt: '현재 프로젝트 통신 구조 및 요구사항 분석'
|
|
248
304
|
})
|
|
305
|
+
|
|
306
|
+
// main agent MCP 동시 실행 (가용 시):
|
|
307
|
+
firecrawl_search({ query: "WebSocket vs SSE benchmark 2025", limit: 5 })
|
|
308
|
+
// GitHub MCP: search_repositories({ query: "websocket sse comparison", sort: "stars" })
|
|
249
309
|
```
|
|
250
310
|
|
|
251
|
-
**효과:** 기술 옵션 병렬 조사 → 공정한 비교
|
|
311
|
+
**효과:** 기술 옵션 병렬 조사 + MCP 심층 검색 → 공정한 비교
|
|
252
312
|
|
|
253
313
|
---
|
|
254
314
|
|
|
@@ -853,9 +913,11 @@ Why 5: 왜? → 사용자 리서치가 없었다
|
|
|
853
913
|
실행 전 확인:
|
|
854
914
|
|
|
855
915
|
```text
|
|
916
|
+
✅ Phase 0: MCP 감지 (ToolSearch × 3: firecrawl, searxng, github)
|
|
856
917
|
✅ ARGUMENT 확인 (없으면 질문)
|
|
857
918
|
✅ Sequential Thinking 최소 3단계
|
|
858
|
-
✅ 병렬 자료 수집 (researcher + explore + analyst)
|
|
919
|
+
✅ 병렬 자료 수집 (researcher + explore + analyst + MCP 직접 실행)
|
|
920
|
+
✅ MCP 가용 시 main agent가 firecrawl_search/scrape 병렬 실행
|
|
859
921
|
✅ 아이디어 최소 5개 이상
|
|
860
922
|
✅ 노력/영향도 평가
|
|
861
923
|
✅ 우선순위 매트릭스
|
|
@@ -878,10 +940,11 @@ Why 5: 왜? → 사용자 리서치가 없었다
|
|
|
878
940
|
## 병렬 실행 체크리스트
|
|
879
941
|
|
|
880
942
|
```text
|
|
881
|
-
✅ 다각도 수집: 외부 + 내부 + 분석
|
|
943
|
+
✅ 다각도 수집: 외부 + 내부 + 분석 + MCP
|
|
882
944
|
✅ researcher: 트렌드, 사례, 베스트 프랙티스
|
|
883
945
|
✅ explore: 코드베이스, 현재 구조
|
|
884
946
|
✅ analyst/designer: 요구사항, UX
|
|
947
|
+
✅ main agent: MCP 가용 시 firecrawl_search/scrape 직접 실행
|
|
885
948
|
✅ 모델 선택: 조사(sonnet), 탐색(haiku), 아키텍처(opus)
|
|
886
949
|
✅ 병렬 실행 3-5개 권장
|
|
887
950
|
```
|