@kood/claude-code 0.2.5 → 0.3.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.
Files changed (130) hide show
  1. package/dist/index.js +13 -8
  2. package/package.json +1 -1
  3. package/templates/.claude/agents/code-reviewer.md +371 -19
  4. package/templates/.claude/agents/dependency-manager.md +197 -0
  5. package/templates/.claude/agents/deployment-validator.md +136 -0
  6. package/templates/.claude/agents/git-operator.md +147 -0
  7. package/templates/.claude/agents/implementation-executor.md +202 -0
  8. package/templates/.claude/agents/lint-fixer.md +155 -0
  9. package/templates/.claude/agents/refactor-advisor.md +339 -29
  10. package/templates/.claude/commands/agent-creator.md +355 -0
  11. package/templates/.claude/commands/docs-creator.md +404 -163
  12. package/templates/.claude/commands/docs-refactor.md +400 -113
  13. package/templates/.claude/commands/execute.md +357 -185
  14. package/templates/.claude/commands/git-all.md +65 -71
  15. package/templates/.claude/commands/git-session.md +80 -64
  16. package/templates/.claude/commands/git.md +68 -72
  17. package/templates/.claude/commands/lint-fix.md +224 -109
  18. package/templates/.claude/commands/lint-init.md +142 -168
  19. package/templates/.claude/commands/plan.md +300 -84
  20. package/templates/.claude/commands/prd.md +497 -214
  21. package/templates/.claude/commands/pre-deploy.md +242 -0
  22. package/templates/.claude/commands/subagent-creator.md +118 -0
  23. package/templates/.claude/commands/version-update.md +45 -57
  24. package/templates/hono/CLAUDE.md +99 -54
  25. package/templates/hono/docs/guides/conventions.md +352 -0
  26. package/templates/hono/docs/guides/env-setup.md +347 -0
  27. package/templates/hono/docs/guides/getting-started.md +239 -0
  28. package/templates/hono/docs/library/hono/error-handling.md +20 -29
  29. package/templates/hono/docs/library/hono/index.md +25 -52
  30. package/templates/hono/docs/library/hono/middleware.md +16 -75
  31. package/templates/hono/docs/library/hono/rpc.md +7 -35
  32. package/templates/hono/docs/library/hono/validation.md +25 -45
  33. package/templates/hono/docs/library/t3-env/index.md +374 -0
  34. package/templates/npx/CLAUDE.md +165 -65
  35. package/templates/npx/docs/library/commander/index.md +10 -73
  36. package/templates/npx/docs/library/fs-extra/index.md +21 -113
  37. package/templates/npx/docs/library/prompts/index.md +30 -176
  38. package/templates/npx/docs/references/patterns.md +75 -48
  39. package/templates/tanstack-start/CLAUDE.md +101 -77
  40. package/templates/tanstack-start/docs/architecture.md +427 -0
  41. package/templates/tanstack-start/docs/design.md +558 -0
  42. package/templates/tanstack-start/docs/guides/conventions.md +132 -32
  43. package/templates/tanstack-start/docs/guides/env-setup.md +127 -62
  44. package/templates/tanstack-start/docs/guides/getting-started.md +81 -20
  45. package/templates/tanstack-start/docs/guides/hooks.md +241 -36
  46. package/templates/tanstack-start/docs/guides/routes.md +213 -61
  47. package/templates/tanstack-start/docs/guides/services.md +260 -24
  48. package/templates/tanstack-start/docs/library/better-auth/index.md +469 -16
  49. package/templates/tanstack-start/docs/library/t3-env/index.md +307 -0
  50. package/templates/tanstack-start/docs/library/tanstack-query/index.md +12 -21
  51. package/templates/tanstack-start/docs/library/tanstack-query/invalidation.md +22 -35
  52. package/templates/tanstack-start/docs/library/tanstack-query/optimistic-updates.md +7 -24
  53. package/templates/tanstack-start/docs/library/tanstack-query/use-mutation.md +26 -39
  54. package/templates/tanstack-start/docs/library/tanstack-query/use-query.md +23 -26
  55. package/templates/tanstack-start/docs/library/tanstack-router/error-handling.md +32 -147
  56. package/templates/tanstack-start/docs/library/tanstack-router/hooks.md +25 -167
  57. package/templates/tanstack-start/docs/library/tanstack-router/index.md +39 -74
  58. package/templates/tanstack-start/docs/library/tanstack-router/navigation.md +46 -116
  59. package/templates/tanstack-start/docs/library/tanstack-router/route-context.md +35 -154
  60. package/templates/tanstack-start/docs/library/tanstack-router/search-params.md +32 -171
  61. package/templates/tanstack-start/docs/library/tanstack-start/auth-patterns.md +7 -15
  62. package/templates/tanstack-start/docs/library/tanstack-start/routing.md +16 -23
  63. package/templates/tanstack-start/docs/library/zod/complex-types.md +12 -31
  64. package/templates/tanstack-start/docs/library/zod/index.md +18 -35
  65. package/templates/tanstack-start/docs/library/zod/transforms.md +11 -25
  66. package/templates/tanstack-start/docs/library/zod/validation.md +12 -34
  67. package/templates/.claude/agents/debug-detective.md +0 -37
  68. package/templates/.claude/agents/test-writer.md +0 -41
  69. package/templates/.claude/commands/feedback.md +0 -199
  70. package/templates/.claude/commands/ts-fix.md +0 -176
  71. package/templates/.claude/skills/command-creator/LICENSE.txt +0 -202
  72. package/templates/.claude/skills/command-creator/SKILL.md +0 -245
  73. package/templates/.claude/skills/command-creator/scripts/init_command.py +0 -244
  74. package/templates/.claude/skills/command-creator/scripts/package_command.py +0 -125
  75. package/templates/.claude/skills/command-creator/scripts/quick_validate.py +0 -143
  76. package/templates/.claude/skills/frontend-design/SKILL.md +0 -310
  77. package/templates/.claude/skills/frontend-design/references/animation-patterns.md +0 -446
  78. package/templates/.claude/skills/frontend-design/references/colors-2026.md +0 -244
  79. package/templates/.claude/skills/frontend-design/references/typography-2026.md +0 -302
  80. package/templates/.claude/skills/gemini-review/SKILL.md +0 -118
  81. package/templates/.claude/skills/gemini-review/references/checklists.md +0 -129
  82. package/templates/.claude/skills/gemini-review/references/prompt-templates.md +0 -274
  83. package/templates/.claude/skills/skill-creator/LICENSE.txt +0 -202
  84. package/templates/.claude/skills/skill-creator/SKILL.md +0 -184
  85. package/templates/.claude/skills/skill-creator/scripts/init_skill.py +0 -303
  86. package/templates/.claude/skills/skill-creator/scripts/package_skill.py +0 -110
  87. package/templates/.claude/skills/skill-creator/scripts/quick_validate.py +0 -65
  88. package/templates/hono/docs/library/ai-sdk/index.md +0 -190
  89. package/templates/hono/docs/library/ai-sdk/openrouter.md +0 -111
  90. package/templates/hono/docs/library/ai-sdk/providers.md +0 -102
  91. package/templates/hono/docs/library/ai-sdk/streaming.md +0 -146
  92. package/templates/hono/docs/library/ai-sdk/structured-output.md +0 -161
  93. package/templates/hono/docs/library/ai-sdk/tools.md +0 -144
  94. package/templates/hono/docs/library/drizzle/cloudflare-d1.md +0 -247
  95. package/templates/hono/docs/library/drizzle/config.md +0 -167
  96. package/templates/hono/docs/library/drizzle/index.md +0 -259
  97. package/templates/hono/docs/library/hono/env-setup.md +0 -169
  98. package/templates/hono/docs/library/pino/index.md +0 -146
  99. package/templates/tanstack-start/docs/architecture/architecture.md +0 -243
  100. package/templates/tanstack-start/docs/deployment/cloudflare.md +0 -132
  101. package/templates/tanstack-start/docs/deployment/index.md +0 -163
  102. package/templates/tanstack-start/docs/deployment/nitro.md +0 -110
  103. package/templates/tanstack-start/docs/deployment/railway.md +0 -147
  104. package/templates/tanstack-start/docs/deployment/vercel.md +0 -135
  105. package/templates/tanstack-start/docs/design/components.md +0 -175
  106. package/templates/tanstack-start/docs/design/index.md +0 -151
  107. package/templates/tanstack-start/docs/design/safe-area.md +0 -118
  108. package/templates/tanstack-start/docs/design/tailwind-setup.md +0 -156
  109. package/templates/tanstack-start/docs/library/ai-sdk/hooks.md +0 -472
  110. package/templates/tanstack-start/docs/library/ai-sdk/index.md +0 -264
  111. package/templates/tanstack-start/docs/library/ai-sdk/openrouter.md +0 -371
  112. package/templates/tanstack-start/docs/library/ai-sdk/providers.md +0 -403
  113. package/templates/tanstack-start/docs/library/ai-sdk/streaming.md +0 -320
  114. package/templates/tanstack-start/docs/library/ai-sdk/structured-output.md +0 -454
  115. package/templates/tanstack-start/docs/library/ai-sdk/tools.md +0 -473
  116. package/templates/tanstack-start/docs/library/better-auth/2fa.md +0 -48
  117. package/templates/tanstack-start/docs/library/better-auth/advanced.md +0 -55
  118. package/templates/tanstack-start/docs/library/better-auth/plugins.md +0 -34
  119. package/templates/tanstack-start/docs/library/better-auth/session.md +0 -47
  120. package/templates/tanstack-start/docs/library/better-auth/setup.md +0 -41
  121. package/templates/tanstack-start/docs/library/drizzle/cloudflare-d1.md +0 -147
  122. package/templates/tanstack-start/docs/library/drizzle/config.md +0 -118
  123. package/templates/tanstack-start/docs/library/drizzle/crud.md +0 -205
  124. package/templates/tanstack-start/docs/library/drizzle/index.md +0 -79
  125. package/templates/tanstack-start/docs/library/drizzle/relations.md +0 -202
  126. package/templates/tanstack-start/docs/library/drizzle/schema.md +0 -154
  127. package/templates/tanstack-start/docs/library/drizzle/setup.md +0 -96
  128. package/templates/tanstack-start/docs/library/drizzle/transactions.md +0 -127
  129. package/templates/tanstack-start/docs/library/pino/index.md +0 -320
  130. /package/templates/hono/docs/{architecture/architecture.md → architecture.md} +0 -0
@@ -1,199 +0,0 @@
1
- ---
2
- description: 피드백 기반 코드 위치 탐색 및 수정. ultrathink + sequential thinking 5+ + subagent 필수.
3
- allowed-tools: Read, Edit, Glob, Grep, Bash(git:*, ast-grep:*), Task, mcp__sequential-thinking__sequentialthinking
4
- argument-hint: <피드백 내용>
5
- ---
6
-
7
- # Feedback Command
8
-
9
- 피드백을 분석하여 관련 코드를 찾고 수정하는 커맨드.
10
-
11
- ## CRITICAL: 필수 요구사항
12
-
13
- | 요구사항 | 설명 |
14
- |----------|------|
15
- | **ARGUMENT 필수** | 피드백 내용 없이 실행 시 되물음 |
16
- | **Ultrathink** | 깊은 사고로 피드백 분석 |
17
- | **Sequential Thinking 5+** | 최소 5단계, 복잡도에 따라 충분히 |
18
- | **Subagent (Task)** | 코드 탐색에 Task 도구 활용 |
19
-
20
- ## ARGUMENT 확인
21
-
22
- ```
23
- $ARGUMENTS 없음 → 즉시 질문:
24
- "어떤 피드백을 수정해야 하나요? 구체적으로 알려주세요."
25
-
26
- $ARGUMENTS 있음 → 다음 단계 진행
27
- ```
28
-
29
- **피드백 내용**: $ARGUMENTS
30
-
31
- ## 실행 흐름
32
-
33
- ```
34
- 1. ARGUMENT 확인 (없으면 되물음)
35
- 2. Sequential Thinking 5+로 피드백 분석 (복잡도에 따라 조정)
36
- - 피드백 의도 파악
37
- - 키워드 추출
38
- - 수정 대상 추론
39
- 3. Task subagent로 코드 위치 탐색
40
- 4. 후보 위치 정리
41
- - 확실 → 수정 계획 제시
42
- - 불확실 → 2~3개 후보 제시 → 컨펌 요청
43
- 5. 사용자 컨펌
44
- - Y → 수정 진행
45
- - N → 더 찾기 반복
46
- 6. 수정 완료 → git add <파일> && git commit
47
- ```
48
-
49
- ## Sequential Thinking 가이드
50
-
51
- **복잡도별 사고 횟수:**
52
-
53
- | 복잡도 | 횟수 | 예시 |
54
- |--------|------|------|
55
- | 간단 | 5 | 오타 수정, 단순 UI 조정, 명확한 버그 |
56
- | 보통 | 7-8 | 로직 수정, 컴포넌트 변경 |
57
- | 복잡 | 10+ | 다중 파일 영향, 아키텍처 관련 |
58
-
59
- **기본 사고 흐름 (최소 5단계):**
60
-
61
- ```
62
- thought 1: 피드백 원문 분석 - 무엇을 수정하라는 것인가?
63
- thought 2: 핵심 키워드 추출 (기능명, 변수명, 컴포넌트명 등)
64
- thought 3: 피드백 유형 분류 (버그, UI, 로직, 성능 등)
65
- thought 4: 예상 파일 위치 추론 및 검색 전략 수립
66
- thought 5: 후보 위치 정리 및 수정 방안
67
-
68
- (복잡한 경우 추가)
69
- thought 6: 첫 번째 탐색 결과 분석
70
- thought 7: 추가 탐색 필요 여부 판단
71
- thought 8: 후보 위치 우선순위 재정리
72
- thought 9: 수정 방안 상세화
73
- thought 10: 수정 영향 범위 분석
74
- thought 11+: 필요시 추가 분석
75
- ```
76
-
77
- ## Task Subagent 활용
78
-
79
- **코드 탐색 시 Task 도구 사용:**
80
-
81
- | subagent_type | 용도 |
82
- |---------------|------|
83
- | `Explore` | 코드베이스 전반 탐색, 파일 구조 파악 |
84
- | `general-purpose` | 복잡한 로직 분석, 다중 파일 연관 관계 파악 |
85
-
86
- **Task 호출 예시:**
87
-
88
- ```
89
- Task: "피드백 '[버튼 클릭 시 에러 발생]' 관련 코드 위치 탐색"
90
- subagent_type: Explore
91
- prompt: "버튼 클릭 핸들러, onClick 이벤트, 관련 컴포넌트 탐색.
92
- 에러 발생 가능 위치와 수정 대상 파일 목록 제시."
93
- ```
94
-
95
- **병렬 탐색:**
96
-
97
- ```
98
- 여러 가능성 있을 때:
99
- Task 1: "컴포넌트 레벨 탐색" (Explore)
100
- Task 2: "API 호출 레벨 탐색" (Explore)
101
- Task 3: "상태 관리 레벨 탐색" (Explore)
102
-
103
- → 단일 메시지에 다중 Task 호출
104
- → 결과 취합 후 후보 정리
105
- ```
106
-
107
- ## 후보 제시 및 컨펌
108
-
109
- **확실한 경우 (1개):**
110
-
111
- ```
112
- 수정 대상: src/components/Button.tsx:42
113
-
114
- 수정 계획:
115
- - onClick 핸들러에서 null 체크 추가
116
- - 에러 바운더리 적용
117
-
118
- 이대로 수정할까요? (Y/N)
119
- ```
120
-
121
- **불확실한 경우 (2~3개):**
122
-
123
- ```
124
- 후보 위치를 찾았습니다:
125
-
126
- 1. src/components/Button.tsx:42
127
- - onClick 핸들러 내 API 호출 부분
128
-
129
- 2. src/hooks/useSubmit.ts:28
130
- - submit 함수의 에러 처리 부분
131
-
132
- 3. src/api/client.ts:15
133
- - API 클라이언트 에러 핸들링
134
-
135
- 어느 위치를 수정할까요? (1/2/3/N)
136
- - 숫자: 해당 위치 수정
137
- - N: 다른 위치 더 탐색
138
- ```
139
-
140
- **N 선택 시:**
141
-
142
- ```
143
- → 추가 탐색 시작
144
- → 다른 키워드/패턴으로 재검색
145
- → 새로운 후보 제시
146
- → 반복
147
- ```
148
-
149
- ## Git 커밋 규칙
150
-
151
- **수정 완료 후 커밋:**
152
-
153
- ```bash
154
- # 수정한 파일만 add
155
- git add <수정된 파일>
156
-
157
- # 커밋 (한 줄, prefix 필수, 마침표 없음)
158
- git commit -m "fix: <피드백 요약>"
159
- ```
160
-
161
- **커밋 메시지 예시:**
162
-
163
- ```bash
164
- # ✅ 올바른
165
- git add src/components/Button.tsx
166
- git commit -m "fix: 버튼 클릭 시 null 체크 추가"
167
-
168
- git add src/hooks/useSubmit.ts
169
- git commit -m "fix: submit 에러 핸들링 개선"
170
-
171
- # ❌ 잘못된
172
- git commit -m "fix: 버튼 수정." # 마침표
173
- git commit -m "피드백 반영" # prefix 없음
174
- git commit -m "fix: 여러 파일 수정" # 구체적이지 않음
175
- ```
176
-
177
- **prefix 선택 기준:**
178
-
179
- | 피드백 유형 | prefix |
180
- |-------------|--------|
181
- | 버그 수정 | fix |
182
- | 기능 개선 | feat |
183
- | UI 수정 | style |
184
- | 성능 개선 | perf |
185
- | 코드 정리 | refactor |
186
-
187
- ## CRITICAL: 절대 금지
188
-
189
- | 금지 항목 |
190
- |----------|
191
- | ARGUMENT 없이 수정 시작 |
192
- | Sequential Thinking 5단계 미만 |
193
- | 코드 탐색 없이 추측으로 수정 |
194
- | 사용자 컨펌 없이 수정 |
195
- | "Generated with Claude Code" 포함 |
196
- | "🤖" 또는 AI 관련 이모지 |
197
- | "Co-Authored-By:" 헤더 |
198
- | 여러 줄 커밋 메시지 |
199
- | 커밋 메시지에 마침표(.) |
@@ -1,176 +0,0 @@
1
- ---
2
- description: tsc 타입 오류 검사 및 하나씩 꼼꼼히 수정. ultrathink + sequential thinking 필수 사용.
3
- allowed-tools: Bash(tsc:*, npx:*, yarn:*, npm:*, pnpm:*), Read, Edit, mcp__sequential-thinking__sequentialthinking
4
- argument-hint: [파일/디렉토리 경로...]
5
- ---
6
-
7
- # TypeScript Fix Command
8
-
9
- tsc 타입 오류만 검사하고 하나씩 꼼꼼히 수정하는 커맨드.
10
-
11
- ## CRITICAL: 필수 요구사항
12
-
13
- | 요구사항 | 설명 |
14
- |----------|------|
15
- | **Ultrathink** | 깊은 사고로 오류 분석. 급하게 수정하지 않음 |
16
- | **Sequential Thinking** | `mcp__sequential-thinking__sequentialthinking` 도구 필수 사용 |
17
- | **하나씩 수정** | 한 번에 하나의 오류만 집중. 여러 오류 동시 수정 금지 |
18
-
19
- ## 실행 흐름
20
-
21
- ```
22
- 1. tsc --noEmit 실행 → 타입 오류 수집
23
- 2. 오류 목록 정리 → TodoWrite로 추적
24
- 3. 각 오류마다:
25
- a. Sequential Thinking으로 원인 분석 (최소 3단계)
26
- b. 오류의 근본 원인 파악
27
- c. 안전한 수정 방안 도출
28
- d. 수정 적용
29
- e. 수정 후 해당 파일 재검사
30
- 4. 모든 오류 수정 완료 후 전체 재검사
31
- ```
32
-
33
- ## Sequential Thinking 사용법
34
-
35
- **각 오류마다 반드시 Sequential Thinking 실행:**
36
-
37
- ```
38
- 오류 분석 시:
39
- - thoughtNumber: 1 → 오류 메시지 분석 및 이해
40
- - thoughtNumber: 2 → 관련 코드 컨텍스트 파악
41
- - thoughtNumber: 3 → 근본 원인 식별
42
- - thoughtNumber: 4 → 수정 방안 검토 (여러 옵션 고려)
43
- - thoughtNumber: 5 → 최적 수정 방안 선택 및 적용
44
- ```
45
-
46
- **Sequential Thinking 파라미터:**
47
-
48
- | 파라미터 | 설명 |
49
- |----------|------|
50
- | `thought` | 현재 사고 내용 |
51
- | `nextThoughtNeeded` | 추가 분석 필요 여부 |
52
- | `thoughtNumber` | 현재 단계 번호 |
53
- | `totalThoughts` | 예상 총 단계 (동적 조정 가능) |
54
-
55
- ## 오류 검사 명령어
56
-
57
- ```bash
58
- # npm/yarn/pnpm 프로젝트
59
- npx tsc --noEmit
60
-
61
- # 특정 파일만
62
- npx tsc --noEmit $ARGUMENTS
63
- ```
64
-
65
- ## 수정 원칙
66
-
67
- ### DO
68
-
69
- - 오류 메시지를 정확히 이해
70
- - 관련 코드 전체를 파악
71
- - 타입 정의, 인터페이스 확인
72
- - 제네릭 타입 파라미터 추적
73
- - import된 타입 출처 확인
74
- - 수정 전후 비교 분석
75
- - 수정이 다른 곳에 영향 주는지 확인
76
-
77
- ### DON'T
78
-
79
- - 오류 메시지만 보고 급하게 수정
80
- - `any` 타입으로 회피
81
- - `// @ts-ignore` 추가
82
- - `// @ts-expect-error` 남용
83
- - `as unknown as T` 강제 캐스팅
84
- - 여러 오류 한 번에 수정
85
-
86
- ## 주요 타입 오류 유형
87
-
88
- | 코드 | 설명 | 일반적 원인 |
89
- |------|------|-------------|
90
- | TS2322 | 할당 불가 | 타입 불일치 |
91
- | TS2345 | 인수 타입 오류 | 함수 호출 시 타입 불일치 |
92
- | TS2339 | 속성 없음 | 객체에 해당 속성 미존재 |
93
- | TS2304 | 이름 찾을 수 없음 | import 누락 또는 오타 |
94
- | TS2769 | 오버로드 매칭 실패 | 함수 시그니처 불일치 |
95
- | TS2741 | 필수 속성 누락 | 객체 리터럴에 속성 누락 |
96
- | TS2532 | undefined 가능성 | null/undefined 체크 필요 |
97
-
98
- ## 예시 워크플로우
99
-
100
- ```
101
- 1. "npx tsc --noEmit" 실행
102
- → TS2322: Type 'string' is not assignable to type 'number'
103
-
104
- 2. Sequential Thinking 시작:
105
- thought 1: "TS2322 오류. string을 number에 할당 시도"
106
- thought 2: "해당 파일의 변수 타입과 값 확인 필요"
107
- thought 3: "함수 반환 타입이 number인데 string 반환 중"
108
- thought 4: "수정 옵션: 1) 반환값 수정 2) 타입 수정"
109
- thought 5: "반환값을 올바른 number로 수정하는 것이 적절"
110
-
111
- 3. Edit으로 수정 적용
112
-
113
- 4. 해당 파일 재검사
114
- → 오류 해결 확인
115
-
116
- 5. 다음 오류로 이동
117
- ```
118
-
119
- ## 병렬 처리 전략
120
-
121
- **다수 타입 오류 발견 시 Task 도구로 병렬 분석:**
122
-
123
- ```
124
- 오류가 5개 이상일 때:
125
- 1. 오류 목록 수집 후 독립적인 오류 그룹 식별
126
- 2. Task 도구로 각 파일/오류 그룹을 병렬 분석
127
- 3. 분석 결과 취합 후 순차적으로 수정 적용
128
- ```
129
-
130
- **Task 도구 활용 예시:**
131
-
132
- ```
133
- # 독립적인 파일들의 타입 오류를 병렬로 분석
134
- Task 1: "src/types/user.ts의 TS2322 분석 - 인터페이스 정의와 실제 사용 비교"
135
- Task 2: "src/api/client.ts의 TS2345 분석 - 함수 시그니처와 호출부 타입 확인"
136
- Task 3: "src/utils/format.ts의 TS2339 분석 - 객체 속성 존재 여부 및 타입 확인"
137
-
138
- → 3개 Task 병렬 실행 (단일 메시지에 다중 Task 호출)
139
- → 결과 취합 후 Sequential Thinking으로 수정 순서 결정
140
- → 순차적으로 수정 적용
141
- ```
142
-
143
- **병렬 처리 규칙:**
144
-
145
- | 규칙 | 설명 |
146
- |------|------|
147
- | 독립성 확인 | 같은 타입/인터페이스 참조 오류는 순차 처리 |
148
- | 분석만 병렬 | 수정 적용은 항상 순차적으로 |
149
- | 타입 전파 주의 | 한 타입 수정이 다른 오류에 영향 줄 수 있음 |
150
- | 결과 검증 | 병렬 분석 결과 충돌 시 Sequential Thinking으로 해결 |
151
-
152
- **subagent_type 선택:**
153
-
154
- | 유형 | 용도 |
155
- |------|------|
156
- | `Explore` | 타입 정의 및 사용처 탐색 |
157
- | `general-purpose` | 복잡한 제네릭/조건부 타입 분석 |
158
-
159
- **타입 의존성 그래프 고려:**
160
-
161
- ```
162
- 예시: UserDTO → UserService → UserController
163
-
164
- 하위 타입 오류가 상위에 영향 → 하위부터 수정
165
- → 병렬 분석 시에도 의존 관계 파악 필수
166
- ```
167
-
168
- ## 인수 처리
169
-
170
- | 인수 | 동작 |
171
- |------|------|
172
- | 없음 | 전체 프로젝트 검사 |
173
- | 파일 경로 | 해당 파일만 검사 |
174
- | 디렉토리 | 해당 디렉토리만 검사 |
175
-
176
- **인수**: $ARGUMENTS
@@ -1,202 +0,0 @@
1
-
2
- Apache License
3
- Version 2.0, January 2004
4
- http://www.apache.org/licenses/
5
-
6
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
-
8
- 1. Definitions.
9
-
10
- "License" shall mean the terms and conditions for use, reproduction,
11
- and distribution as defined by Sections 1 through 9 of this document.
12
-
13
- "Licensor" shall mean the copyright owner or entity authorized by
14
- the copyright owner that is granting the License.
15
-
16
- "Legal Entity" shall mean the union of the acting entity and all
17
- other entities that control, are controlled by, or are under common
18
- control with that entity. For the purposes of this definition,
19
- "control" means (i) the power, direct or indirect, to cause the
20
- direction or management of such entity, whether by contract or
21
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
- outstanding shares, or (iii) beneficial ownership of such entity.
23
-
24
- "You" (or "Your") shall mean an individual or Legal Entity
25
- exercising permissions granted by this License.
26
-
27
- "Source" form shall mean the preferred form for making modifications,
28
- including but not limited to software source code, documentation
29
- source, and configuration files.
30
-
31
- "Object" form shall mean any form resulting from mechanical
32
- transformation or translation of a Source form, including but
33
- not limited to compiled object code, generated documentation,
34
- and conversions to other media types.
35
-
36
- "Work" shall mean the work of authorship, whether in Source or
37
- Object form, made available under the License, as indicated by a
38
- copyright notice that is included in or attached to the work
39
- (an example is provided in the Appendix below).
40
-
41
- "Derivative Works" shall mean any work, whether in Source or Object
42
- form, that is based on (or derived from) the Work and for which the
43
- editorial revisions, annotations, elaborations, or other modifications
44
- represent, as a whole, an original work of authorship. For the purposes
45
- of this License, Derivative Works shall not include works that remain
46
- separable from, or merely link (or bind by name) to the interfaces of,
47
- the Work and Derivative Works thereof.
48
-
49
- "Contribution" shall mean any work of authorship, including
50
- the original version of the Work and any modifications or additions
51
- to that Work or Derivative Works thereof, that is intentionally
52
- submitted to Licensor for inclusion in the Work by the copyright owner
53
- or by an individual or Legal Entity authorized to submit on behalf of
54
- the copyright owner. For the purposes of this definition, "submitted"
55
- means any form of electronic, verbal, or written communication sent
56
- to the Licensor or its representatives, including but not limited to
57
- communication on electronic mailing lists, source code control systems,
58
- and issue tracking systems that are managed by, or on behalf of, the
59
- Licensor for the purpose of discussing and improving the Work, but
60
- excluding communication that is conspicuously marked or otherwise
61
- designated in writing by the copyright owner as "Not a Contribution."
62
-
63
- "Contributor" shall mean Licensor and any individual or Legal Entity
64
- on behalf of whom a Contribution has been received by Licensor and
65
- subsequently incorporated within the Work.
66
-
67
- 2. Grant of Copyright License. Subject to the terms and conditions of
68
- this License, each Contributor hereby grants to You a perpetual,
69
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
- copyright license to reproduce, prepare Derivative Works of,
71
- publicly display, publicly perform, sublicense, and distribute the
72
- Work and such Derivative Works in Source or Object form.
73
-
74
- 3. Grant of Patent License. Subject to the terms and conditions of
75
- this License, each Contributor hereby grants to You a perpetual,
76
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
- (except as stated in this section) patent license to make, have made,
78
- use, offer to sell, sell, import, and otherwise transfer the Work,
79
- where such license applies only to those patent claims licensable
80
- by such Contributor that are necessarily infringed by their
81
- Contribution(s) alone or by combination of their Contribution(s)
82
- with the Work to which such Contribution(s) was submitted. If You
83
- institute patent litigation against any entity (including a
84
- cross-claim or counterclaim in a lawsuit) alleging that the Work
85
- or a Contribution incorporated within the Work constitutes direct
86
- or contributory patent infringement, then any patent licenses
87
- granted to You under this License for that Work shall terminate
88
- as of the date such litigation is filed.
89
-
90
- 4. Redistribution. You may reproduce and distribute copies of the
91
- Work or Derivative Works thereof in any medium, with or without
92
- modifications, and in Source or Object form, provided that You
93
- meet the following conditions:
94
-
95
- (a) You must give any other recipients of the Work or
96
- Derivative Works a copy of this License; and
97
-
98
- (b) You must cause any modified files to carry prominent notices
99
- stating that You changed the files; and
100
-
101
- (c) You must retain, in the Source form of any Derivative Works
102
- that You distribute, all copyright, patent, trademark, and
103
- attribution notices from the Source form of the Work,
104
- excluding those notices that do not pertain to any part of
105
- the Derivative Works; and
106
-
107
- (d) If the Work includes a "NOTICE" text file as part of its
108
- distribution, then any Derivative Works that You distribute must
109
- include a readable copy of the attribution notices contained
110
- within such NOTICE file, excluding those notices that do not
111
- pertain to any part of the Derivative Works, in at least one
112
- of the following places: within a NOTICE text file distributed
113
- as part of the Derivative Works; within the Source form or
114
- documentation, if provided along with the Derivative Works; or,
115
- within a display generated by the Derivative Works, if and
116
- wherever such third-party notices normally appear. The contents
117
- of the NOTICE file are for informational purposes only and
118
- do not modify the License. You may add Your own attribution
119
- notices within Derivative Works that You distribute, alongside
120
- or as an addendum to the NOTICE text from the Work, provided
121
- that such additional attribution notices cannot be construed
122
- as modifying the License.
123
-
124
- You may add Your own copyright statement to Your modifications and
125
- may provide additional or different license terms and conditions
126
- for use, reproduction, or distribution of Your modifications, or
127
- for any such Derivative Works as a whole, provided Your use,
128
- reproduction, and distribution of the Work otherwise complies with
129
- the conditions stated in this License.
130
-
131
- 5. Submission of Contributions. Unless You explicitly state otherwise,
132
- any Contribution intentionally submitted for inclusion in the Work
133
- by You to the Licensor shall be under the terms and conditions of
134
- this License, without any additional terms or conditions.
135
- Notwithstanding the above, nothing herein shall supersede or modify
136
- the terms of any separate license agreement you may have executed
137
- with Licensor regarding such Contributions.
138
-
139
- 6. Trademarks. This License does not grant permission to use the trade
140
- names, trademarks, service marks, or product names of the Licensor,
141
- except as required for reasonable and customary use in describing the
142
- origin of the Work and reproducing the content of the NOTICE file.
143
-
144
- 7. Disclaimer of Warranty. Unless required by applicable law or
145
- agreed to in writing, Licensor provides the Work (and each
146
- Contributor provides its Contributions) on an "AS IS" BASIS,
147
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
- implied, including, without limitation, any warranties or conditions
149
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
- PARTICULAR PURPOSE. You are solely responsible for determining the
151
- appropriateness of using or redistributing the Work and assume any
152
- risks associated with Your exercise of permissions under this License.
153
-
154
- 8. Limitation of Liability. In no event and under no legal theory,
155
- whether in tort (including negligence), contract, or otherwise,
156
- unless required by applicable law (such as deliberate and grossly
157
- negligent acts) or agreed to in writing, shall any Contributor be
158
- liable to You for damages, including any direct, indirect, special,
159
- incidental, or consequential damages of any character arising as a
160
- result of this License or out of the use or inability to use the
161
- Work (including but not limited to damages for loss of goodwill,
162
- work stoppage, computer failure or malfunction, or any and all
163
- other commercial damages or losses), even if such Contributor
164
- has been advised of the possibility of such damages.
165
-
166
- 9. Accepting Warranty or Additional Liability. While redistributing
167
- the Work or Derivative Works thereof, You may choose to offer,
168
- and charge a fee for, acceptance of support, warranty, indemnity,
169
- or other liability obligations and/or rights consistent with this
170
- License. However, in accepting such obligations, You may act only
171
- on Your own behalf and on Your sole responsibility, not on behalf
172
- of any other Contributor, and only if You agree to indemnify,
173
- defend, and hold each Contributor harmless for any liability
174
- incurred by, or claims asserted against, such Contributor by reason
175
- of your accepting any such warranty or additional liability.
176
-
177
- END OF TERMS AND CONDITIONS
178
-
179
- APPENDIX: How to apply the Apache License to your work.
180
-
181
- To apply the Apache License to your work, attach the following
182
- boilerplate notice, with the fields enclosed by brackets "[]"
183
- replaced with your own identifying information. (Don't include
184
- the brackets!) The text should be enclosed in the appropriate
185
- comment syntax for the file format. We also recommend that a
186
- file or class name and description of purpose be included on the
187
- same "printed page" as the copyright notice for easier
188
- identification within third-party archives.
189
-
190
- Copyright [yyyy] [name of copyright owner]
191
-
192
- Licensed under the Apache License, Version 2.0 (the "License");
193
- you may not use this file except in compliance with the License.
194
- You may obtain a copy of the License at
195
-
196
- http://www.apache.org/licenses/LICENSE-2.0
197
-
198
- Unless required by applicable law or agreed to in writing, software
199
- distributed under the License is distributed on an "AS IS" BASIS,
200
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
- See the License for the specific language governing permissions and
202
- limitations under the License.