@kood/claude-code 0.6.1 → 0.6.3

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 (24) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
  3. package/templates/.claude/instructions/agent-patterns/delegation-patterns.md +389 -0
  4. package/templates/.claude/instructions/context-optimization/phase-based-execution.md +410 -0
  5. package/templates/.claude/instructions/context-optimization/redundant-exploration-prevention.md +646 -0
  6. package/templates/.claude/instructions/context-optimization/sub-agent-distribution.md +476 -0
  7. package/templates/.claude/instructions/glossary.md +48 -0
  8. package/templates/.claude/instructions/project-context-template.md +453 -0
  9. package/templates/.claude/instructions/skill-integration.md +90 -0
  10. package/templates/.claude/instructions/sourcing/reliable-search.md +411 -0
  11. package/templates/.claude/instructions/validation/forbidden-patterns.md +47 -0
  12. package/templates/.claude/instructions/validation/required-behaviors.md +120 -0
  13. package/templates/.claude/instructions/validation/scope-completeness.md +367 -0
  14. package/templates/.claude/instructions/workflow-patterns/todowrite-pattern.md +2 -0
  15. package/templates/.claude/skills/brainstorm/SKILL.md +75 -672
  16. package/templates/.claude/skills/bug-fix/SKILL.md +9 -137
  17. package/templates/.claude/skills/docs-fetch/SKILL.md +64 -232
  18. package/templates/.claude/skills/elon-musk/SKILL.md +57 -310
  19. package/templates/.claude/skills/execute/SKILL.md +18 -397
  20. package/templates/.claude/skills/plan/SKILL.md +12 -986
  21. package/templates/.claude/skills/prd/SKILL.md +13 -1
  22. package/templates/.claude/skills/ralph/SKILL.md +15 -497
  23. package/templates/.claude/skills/refactor/SKILL.md +11 -655
  24. package/templates/.claude/skills/research/SKILL.md +20 -23
@@ -7,6 +7,8 @@ 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/sourcing/reliable-search.md
11
+ @../../instructions/context-optimization/redundant-exploration-prevention.md
10
12
  @../../instructions/validation/forbidden-patterns.md
11
13
  @../../instructions/validation/required-behaviors.md
12
14
 
@@ -77,25 +79,15 @@ Phase 0에서 자동 분류 → 채널 조합 결정:
77
79
 
78
80
  <sourcing_strategy>
79
81
 
80
- ## Smart Tier Fallback
82
+ @../../instructions/sourcing/reliable-search.md
81
83
 
82
- ```
83
- Tier 1 (MCP, Phase 0에서 ToolSearch로 감지):
84
- SearXNG MCP → 메타검색 | Firecrawl MCP → 페이지→MD | GitHub MCP → 코드/리포
85
-
86
- Tier 2 (내장, 항상 가용):
87
- WebSearch → 웹 검색 | WebFetch → 페이지 읽기 | gh CLI → GitHub API (Bash)
88
-
89
- Tier 3: Playwright → SPA/JS 필요 시 (crawler skill)
90
- ```
91
-
92
- **MCP는 main agent가 직접 실행** (subagent는 MCP 도구 사용 불가)
84
+ **Research 고유 설정:**
93
85
 
94
- | MCP 도구 | 용도 | 미설치 폴백 |
95
- |----------|------|--------------|
96
- | `firecrawl_map/scrape/crawl` | 사이트 구조/페이지 수집 | WebFetch (페이지별) |
97
- | SearXNG `search` | 246+ 엔진 메타검색 | WebSearch (내장) |
98
- | `search_repositories/code/issues` | GitHub 리포/코드/이슈 | `gh search` (Bash via explore) |
86
+ | 깊이 | 최소 소스 | 출처 등급 S/A 비율 |
87
+ |------|-----------|-------------------|
88
+ | quick | 5개 | 40%+ |
89
+ | standard | 10개 | 50%+ |
90
+ | deep | 20개+ | 60%+ |
99
91
 
100
92
  </sourcing_strategy>
101
93
 
@@ -130,7 +122,9 @@ Tier 3: Playwright → SPA/JS 필요 시 (crawler skill)
130
122
  ```
131
123
  Sequential Thinking (2단계):
132
124
  thought 1: 핵심 질문 3-5개, 주제 유형 확정, 범위 결정 (시간/지역/언어)
133
- thought 2: 다각도 쿼리 생성 (영어+한국어, 연도 포함), 채널별 배분, 에이전트 역할 분배
125
+ thought 2: 다각도 쿼리 생성 (영어+한국어), 채널별 배분, 에이전트 역할 분배
126
+
127
+ **필수**: 모든 검색 쿼리에 현재 연도(2026) 포함. @reliable-search.md 날짜 인식 규칙 적용.
134
128
  ```
135
129
 
136
130
  ### Phase 2: 병렬 수집
@@ -145,9 +139,12 @@ Sequential Thinking (2단계):
145
139
 
146
140
  ```typescript
147
141
  // 기술 비교 (standard: researcher 3 + explore 1 병렬)
148
- Task({ subagent_type: 'researcher', prompt: '기술 A 장단점, 성능. 출처 URL 필수.' })
149
- Task({ subagent_type: 'researcher', prompt: '기술 B 장단점, 성능. 출처 URL 필수.' })
150
- Task({ subagent_type: 'researcher', prompt: 'A vs B 벤치마크, 비교, 후기. 출처 URL 필수.' })
142
+ Task({ subagent_type: 'researcher',
143
+ prompt: '기술 A 장단점, 성능 2026. 검색 쿼리에 현재 연도 포함. 출처: URL + 발행일 + 소스유형(공식/블로그/커뮤니티).' })
144
+ Task({ subagent_type: 'researcher',
145
+ prompt: '기술 B 장단점, 성능 2026. 검색 쿼리에 현재 연도 포함. 출처: URL + 발행일 + 소스유형.' })
146
+ Task({ subagent_type: 'researcher',
147
+ prompt: 'A vs B 벤치마크, 비교, 후기 2026. 검색 쿼리에 현재 연도 포함. 출처: URL + 발행일 + 소스유형.' })
151
148
  Task({ subagent_type: 'explore', model: 'haiku',
152
149
  prompt: 'gh search repos "기술 A/B" --sort stars. 스타, 커밋, 이슈 비교.' })
153
150
  // MCP 가용 시 main agent가 동시에 search_repositories, firecrawl_scrape 등 실행
@@ -251,10 +248,10 @@ gRPC가 처리량/레이턴시 우위(HTTP/2)이나 브라우저 미지원.
251
248
  | 단계 | 체크 |
252
249
  |------|------|
253
250
  | **실행 전** | ARGUMENT, 주제 분류, MCP 감지, 깊이 확인 |
254
- | **수집 후** | 최소 소스 충족 (5/10/20), 출처 URL, 다각도 수집 |
251
+ | **수집 후** | 최소 소스 충족 (5/10/20), 출처 URL, 다각도 수집, **출처 등급 S/A/B/C 분류**, **교차 검증 확인** (핵심 주장 2개+ 소스) |
255
252
  | **리포트** | Exec Summary 250-400자, 출처, 비교 테이블, 권장사항, 참고자료, 메타데이터 |
256
253
  | **저장** | .claude/research/ 저장, 터미널 출력, 경로 안내 |
257
254
 
258
- **절대 금지:** 출처 없는 주장 / 단일 소스 리포트 / Exec Summary 누락 / 권장사항 누락 / 저장 안 함 / 라이브러리 주제 (→ docs-fetch)
255
+ **절대 금지:** 출처 없는 주장 / 단일 소스 리포트 / Exec Summary 누락 / 권장사항 누락 / 저장 안 함 / 라이브러리 주제 (→ docs-fetch) / **연도 없는 검색** / **출처 등급 미표기**
259
256
 
260
257
  </validation>