@kood/claude-code 0.3.7 → 0.3.9

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 (121) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
  3. package/templates/.claude/agents/code-reviewer.md +138 -123
  4. package/templates/.claude/agents/dependency-manager.md +99 -84
  5. package/templates/.claude/agents/deployment-validator.md +70 -55
  6. package/templates/.claude/agents/git-operator.md +78 -63
  7. package/templates/.claude/agents/implementation-executor.md +109 -94
  8. package/templates/.claude/agents/ko-to-en-translator.md +74 -0
  9. package/templates/.claude/agents/lint-fixer.md +93 -78
  10. package/templates/.claude/agents/refactor-advisor.md +136 -121
  11. package/templates/.claude/commands/agent-creator.md +199 -184
  12. package/templates/.claude/commands/bug-fix.md +207 -192
  13. package/templates/.claude/commands/command-creator.md +69 -53
  14. package/templates/.claude/commands/docs-creator.md +72 -56
  15. package/templates/.claude/commands/docs-refactor.md +41 -25
  16. package/templates/.claude/commands/execute.md +27 -11
  17. package/templates/.claude/commands/git-all.md +46 -31
  18. package/templates/.claude/commands/git-session.md +57 -41
  19. package/templates/.claude/commands/git.md +49 -33
  20. package/templates/.claude/commands/lint-fix.md +153 -137
  21. package/templates/.claude/commands/lint-init.md +76 -60
  22. package/templates/.claude/commands/plan.md +275 -259
  23. package/templates/.claude/commands/prd.md +39 -23
  24. package/templates/.claude/commands/pre-deploy.md +124 -108
  25. package/templates/.claude/commands/refactor.md +162 -146
  26. package/templates/.claude/commands/version-update.md +32 -16
  27. package/templates/hono/CLAUDE.md +28 -27
  28. package/templates/hono/docs/architecture.md +24 -24
  29. package/templates/hono/docs/deployment/cloudflare.md +18 -18
  30. package/templates/hono/docs/deployment/docker.md +13 -13
  31. package/templates/hono/docs/deployment/index.md +19 -19
  32. package/templates/hono/docs/deployment/railway.md +32 -32
  33. package/templates/hono/docs/deployment/vercel.md +29 -29
  34. package/templates/hono/docs/guides/conventions.md +57 -57
  35. package/templates/hono/docs/guides/env-setup.md +47 -47
  36. package/templates/hono/docs/guides/getting-started.md +27 -27
  37. package/templates/hono/docs/library/hono/error-handling.md +11 -11
  38. package/templates/hono/docs/library/hono/index.md +4 -4
  39. package/templates/hono/docs/library/hono/middleware.md +18 -18
  40. package/templates/hono/docs/library/hono/rpc.md +7 -7
  41. package/templates/hono/docs/library/hono/validation.md +6 -6
  42. package/templates/hono/docs/library/prisma/cloudflare-d1.md +29 -29
  43. package/templates/hono/docs/library/prisma/config.md +16 -16
  44. package/templates/hono/docs/library/prisma/index.md +32 -32
  45. package/templates/hono/docs/library/t3-env/index.md +22 -22
  46. package/templates/hono/docs/library/zod/index.md +31 -31
  47. package/templates/nextjs/CLAUDE.md +54 -51
  48. package/templates/nextjs/docs/architecture.md +812 -0
  49. package/templates/nextjs/docs/design.md +183 -183
  50. package/templates/nextjs/docs/guides/conventions.md +86 -86
  51. package/templates/nextjs/docs/guides/getting-started.md +28 -28
  52. package/templates/nextjs/docs/guides/routes.md +32 -32
  53. package/templates/nextjs/docs/library/better-auth/index.md +70 -70
  54. package/templates/nextjs/docs/library/nextjs/app-router.md +43 -43
  55. package/templates/nextjs/docs/library/nextjs/caching.md +73 -73
  56. package/templates/nextjs/docs/library/nextjs/index.md +51 -51
  57. package/templates/nextjs/docs/library/nextjs/middleware.md +41 -41
  58. package/templates/nextjs/docs/library/nextjs/route-handlers.md +31 -31
  59. package/templates/nextjs/docs/library/nextjs/server-actions.md +34 -34
  60. package/templates/nextjs/docs/library/prisma/cloudflare-d1.md +20 -20
  61. package/templates/nextjs/docs/library/prisma/config.md +18 -18
  62. package/templates/nextjs/docs/library/prisma/crud.md +17 -17
  63. package/templates/nextjs/docs/library/prisma/index.md +18 -18
  64. package/templates/nextjs/docs/library/prisma/relations.md +16 -16
  65. package/templates/nextjs/docs/library/prisma/schema.md +23 -23
  66. package/templates/nextjs/docs/library/prisma/setup.md +6 -6
  67. package/templates/nextjs/docs/library/prisma/transactions.md +10 -10
  68. package/templates/nextjs/docs/library/tanstack-query/index.md +6 -6
  69. package/templates/nextjs/docs/library/tanstack-query/invalidation.md +20 -20
  70. package/templates/nextjs/docs/library/tanstack-query/optimistic-updates.md +4 -4
  71. package/templates/nextjs/docs/library/tanstack-query/use-mutation.md +15 -15
  72. package/templates/nextjs/docs/library/tanstack-query/use-query.md +22 -22
  73. package/templates/nextjs/docs/library/zod/complex-types.md +11 -11
  74. package/templates/nextjs/docs/library/zod/index.md +8 -8
  75. package/templates/nextjs/docs/library/zod/transforms.md +11 -11
  76. package/templates/nextjs/docs/library/zod/validation.md +9 -9
  77. package/templates/npx/CLAUDE.md +38 -37
  78. package/templates/npx/docs/library/commander/index.md +12 -12
  79. package/templates/npx/docs/library/fs-extra/index.md +9 -9
  80. package/templates/npx/docs/library/prompts/index.md +3 -3
  81. package/templates/npx/docs/references/patterns.md +12 -12
  82. package/templates/tanstack-start/CLAUDE.md +54 -53
  83. package/templates/tanstack-start/docs/architecture.md +128 -128
  84. package/templates/tanstack-start/docs/design.md +169 -169
  85. package/templates/tanstack-start/docs/guides/conventions.md +43 -43
  86. package/templates/tanstack-start/docs/guides/env-setup.md +35 -35
  87. package/templates/tanstack-start/docs/guides/getting-started.md +19 -19
  88. package/templates/tanstack-start/docs/guides/hooks.md +45 -45
  89. package/templates/tanstack-start/docs/guides/routes.md +54 -54
  90. package/templates/tanstack-start/docs/guides/services.md +45 -45
  91. package/templates/tanstack-start/docs/library/better-auth/index.md +68 -68
  92. package/templates/tanstack-start/docs/library/prisma/cloudflare-d1.md +19 -19
  93. package/templates/tanstack-start/docs/library/prisma/config.md +16 -16
  94. package/templates/tanstack-start/docs/library/prisma/crud.md +17 -17
  95. package/templates/tanstack-start/docs/library/prisma/index.md +17 -17
  96. package/templates/tanstack-start/docs/library/prisma/relations.md +16 -16
  97. package/templates/tanstack-start/docs/library/prisma/schema.md +23 -23
  98. package/templates/tanstack-start/docs/library/prisma/setup.md +6 -6
  99. package/templates/tanstack-start/docs/library/prisma/transactions.md +10 -10
  100. package/templates/tanstack-start/docs/library/t3-env/index.md +21 -160
  101. package/templates/tanstack-start/docs/library/tanstack-query/index.md +6 -6
  102. package/templates/tanstack-start/docs/library/tanstack-query/invalidation.md +19 -19
  103. package/templates/tanstack-start/docs/library/tanstack-query/optimistic-updates.md +4 -4
  104. package/templates/tanstack-start/docs/library/tanstack-query/use-mutation.md +14 -14
  105. package/templates/tanstack-start/docs/library/tanstack-query/use-query.md +21 -21
  106. package/templates/tanstack-start/docs/library/tanstack-router/error-handling.md +9 -9
  107. package/templates/tanstack-start/docs/library/tanstack-router/hooks.md +11 -11
  108. package/templates/tanstack-start/docs/library/tanstack-router/index.md +18 -18
  109. package/templates/tanstack-start/docs/library/tanstack-router/navigation.md +17 -17
  110. package/templates/tanstack-start/docs/library/tanstack-router/route-context.md +5 -5
  111. package/templates/tanstack-start/docs/library/tanstack-router/search-params.md +10 -10
  112. package/templates/tanstack-start/docs/library/tanstack-start/auth-patterns.md +8 -8
  113. package/templates/tanstack-start/docs/library/tanstack-start/index.md +15 -15
  114. package/templates/tanstack-start/docs/library/tanstack-start/middleware.md +9 -9
  115. package/templates/tanstack-start/docs/library/tanstack-start/routing.md +6 -6
  116. package/templates/tanstack-start/docs/library/tanstack-start/server-functions.md +18 -18
  117. package/templates/tanstack-start/docs/library/tanstack-start/setup.md +4 -4
  118. package/templates/tanstack-start/docs/library/zod/complex-types.md +11 -11
  119. package/templates/tanstack-start/docs/library/zod/index.md +8 -8
  120. package/templates/tanstack-start/docs/library/zod/transforms.md +11 -11
  121. package/templates/tanstack-start/docs/library/zod/validation.md +9 -9
@@ -1,68 +1,84 @@
1
1
  ---
2
2
  description: tsc/eslint 오류 검사 및 하나씩 꼼꼼히 수정. @lint-fixer 에이전트 필수 사용.
3
3
  allowed-tools: Task
4
- argument-hint: [파일/디렉토리 경로...]
4
+ argument-hint: [file/directory paths...]
5
5
  ---
6
6
 
7
+ <critical_instruction>
8
+
9
+ **CRITICAL: 사용자와의 모든 커뮤니케이션은 반드시 한국어로 작성하세요.**
10
+
11
+ - 내부 사고와 분석은 영어로 해도 됨
12
+ - 설명, 요약, 보고서, 피드백 등 사용자에게 전달하는 모든 내용은 반드시 한국어
13
+ - 사용자가 영어로 말하더라도 답변은 한국어로
14
+ - 진행 상황 업데이트와 상태 보고는 반드시 한국어
15
+
16
+ 이 규칙은 절대적이며 예외가 없습니다.
17
+
18
+ </critical_instruction>
19
+
20
+ ---
21
+
22
+
7
23
  # Lint Fix Command
8
24
 
9
- > @lint-fixer 에이전트를 사용하여 tsc/eslint 오류를 자동으로 수정.
25
+ > Automatically fix tsc/eslint errors using the @lint-fixer agent.
10
26
 
11
27
  ---
12
28
 
13
29
  <critical_requirements>
14
30
 
15
- ## ⚠️ CRITICAL: 작업 시작 필수 확인
31
+ ## ⚠️ CRITICAL: Required checks before proceeding
16
32
 
17
- **이 커맨드는 반드시 @lint-fixer 에이전트를 사용해야 합니다.**
33
+ **This command must use the @lint-fixer agent.**
18
34
 
19
- ### MANDATORY: Task 도구로 @lint-fixer 호출
35
+ ### MANDATORY: Call @lint-fixer with Task tool
20
36
 
21
37
  ```typescript
22
38
  Task({
23
39
  subagent_type: 'lint-fixer',
24
- description: 'tsc/eslint 오류 수정',
40
+ description: 'Fix tsc/eslint errors',
25
41
  prompt: `
26
- $ARGUMENTS 처리:
27
- ${$ARGUMENTS ? `특정 경로: ${$ARGUMENTS}` : '전체 프로젝트 검사'}
28
-
29
- 수행할 작업:
30
- 1. tsc + eslint 병렬 검사
31
- 2. 오류 분류 (간단/복잡)
32
- 3. TodoWrite로 오류 목록 생성
33
- 4. 간단한 오류: 즉시 수정
34
- 5. 복잡한 오류: Sequential Thinking으로 분석 후 수정
35
- 6. 전체 재검사로 완료 확인
42
+ Handle $ARGUMENTS:
43
+ ${$ARGUMENTS ? `Specific paths: ${$ARGUMENTS}` : 'Check entire project'}
44
+
45
+ Tasks to perform:
46
+ 1. Run tsc + eslint in parallel
47
+ 2. Classify errors (simple/complex)
48
+ 3. Create error list with TodoWrite
49
+ 4. Simple errors: fix immediately
50
+ 5. Complex errors: analyze with Sequential Thinking then fix
51
+ 6. Verify with full recheck
36
52
  `
37
53
  })
38
54
  ```
39
55
 
40
- **❌ 절대 금지:**
41
- - Bash 도구로 tsc/eslint 직접 실행 수동 수정
42
- - @lint-fixer 없이 오류 수정
43
- - 커맨드 내에서 직접 오류 분석/수정
56
+ **❌ Absolutely forbidden:**
57
+ - Execute tsc/eslint directly with Bash tool and manually fix
58
+ - Fix errors without @lint-fixer
59
+ - Analyze/fix errors directly in command
44
60
 
45
- **✅ 필수:**
46
- - Task 도구로 @lint-fixer 에이전트 호출
47
- - 모든 lint 작업을 에이전트에 위임
48
- - 에이전트가 자동으로 간단/복잡 판단 처리
61
+ **✅ Required:**
62
+ - Call @lint-fixer agent with Task tool
63
+ - Delegate all lint work to agent
64
+ - Agent automatically judges simple/complex and handles accordingly
49
65
 
50
- **@lint-fixer 에이전트 장점:**
51
- - 간단한 오류는 즉시 수정 (Sequential Thinking 불필요)
52
- - 복잡한 오류만 Sequential Thinking 사용 (효율적)
53
- - TodoWrite로 진행 상황 자동 추적
54
- - 우선순위 자동 정렬 (타입 오류린트 오류)
66
+ **@lint-fixer agent benefits:**
67
+ - Simple errors fixed immediately (no Sequential Thinking needed)
68
+ - Complex errors analyzed with Sequential Thinking only (efficient)
69
+ - Auto-track progress with TodoWrite
70
+ - Auto-prioritize (type errorslint errors)
55
71
 
56
72
  ---
57
73
 
58
- **진행 자가 점검:**
74
+ **Self-check before proceeding:**
59
75
  ```text
60
- □ Task 도구 사용 준비?
61
- □ @lint-fixer 에이전트로 작업 위임?
62
- Bash로 tsc/eslint 직접 실행 안 함?
76
+ □ Task tool ready to use?
77
+ Delegating work to @lint-fixer agent?
78
+ Not executing tsc/eslint directly with Bash?
63
79
  ```
64
80
 
65
- **⚠️ 체크리스트를 통과하지 않으면 작업을 시작하지 마세요.**
81
+ **⚠️ Do not start if checklist is not complete.**
66
82
 
67
83
  </critical_requirements>
68
84
 
@@ -70,11 +86,11 @@ Task({
70
86
 
71
87
  <forbidden>
72
88
 
73
- | 분류 | 금지 |
74
- |------|------|
75
- | **회피** | `any` 타입, `@ts-ignore`, `eslint-disable` 남발 |
76
- | **전략** | 여러 오류 동시 수정, 오류 메시지만 보고 급하게 수정 |
77
- | **분석** | Sequential Thinking 없이 수정 |
89
+ | Category | Forbidden |
90
+ |----------|-----------|
91
+ | **Avoidance** | Excessive `any` type, `@ts-ignore`, `eslint-disable` |
92
+ | **Strategy** | Fix multiple errors simultaneously, fix hastily based on error message alone |
93
+ | **Analysis** | Fix without Sequential Thinking |
78
94
 
79
95
  </forbidden>
80
96
 
@@ -82,34 +98,34 @@ Task({
82
98
 
83
99
  <agent_usage>
84
100
 
85
- ## @lint-fixer Agent 활용
101
+ ## @lint-fixer Agent Usage
86
102
 
87
- **언제 사용:**
88
- - 10 이상 오류
89
- - 복잡한 타입 오류 다수
90
- - 백그라운드에서 자동 수정 원할
103
+ **When to use:**
104
+ - 10+ errors
105
+ - Multiple complex type errors
106
+ - Want automatic fixing in background
91
107
 
92
- **호출 방법:**
108
+ **How to call:**
93
109
  ```bash
94
110
  @lint-fixer
95
- # 또는 자연어
96
- "lint 오류 자동으로 수정해줘"
111
+ # or natural language
112
+ "Fix lint errors automatically"
97
113
  ```
98
114
 
99
- **장점:**
100
- - 간단한 오류는 즉시 수정 (Sequential Thinking 불필요)
101
- - 복잡한 오류만 Sequential Thinking 사용 (효율적)
102
- - 독립적 context에서 실행 (메인 작업 병렬 가능)
115
+ **Benefits:**
116
+ - Simple errors fixed immediately (no Sequential Thinking needed)
117
+ - Complex errors analyzed with Sequential Thinking only (efficient)
118
+ - Run in independent context (can parallelize with main work)
103
119
 
104
- **직접 수정 vs Agent:**
120
+ **Direct fix vs Agent:**
105
121
 
106
- | 상황 | 권장 방법 |
107
- |------|----------|
108
- | 1-5 오류, 간단 | 직접 수정 (command) |
109
- | 10 이상 오류 | @lint-fixer |
110
- | 복잡한 타입 오류 다수 | @lint-fixer |
111
- | 빠른 수정 필요 | 직접 수정 |
112
- | 백그라운드 실행 | @lint-fixer |
122
+ | Situation | Recommended |
123
+ |-----------|-------------|
124
+ | 1-5 simple errors | Direct fix (command) |
125
+ | 10+ errors | @lint-fixer |
126
+ | Multiple complex type errors | @lint-fixer |
127
+ | Quick fix needed | Direct fix |
128
+ | Background execution | @lint-fixer |
113
129
 
114
130
  </agent_usage>
115
131
 
@@ -117,13 +133,13 @@ Task({
117
133
 
118
134
  <required>
119
135
 
120
- | 분류 | 필수 |
121
- |------|------|
122
- | **Thinking** | Sequential Thinking 3-5단계 (각 오류마다) |
123
- | **Tracking** | TodoWrite로 오류 목록 추적 |
124
- | **Strategy** | 하나씩 수정재검사다음 오류 |
125
- | **Validation** | 파일 수정 해당 파일 재검사 |
126
- | **Parallel** | 5 이상 독립 오류 Task 도구로 병렬 분석 |
136
+ | Category | Required |
137
+ |----------|----------|
138
+ | **Thinking** | Sequential Thinking 3-5 steps per error |
139
+ | **Tracking** | Track error list with TodoWrite |
140
+ | **Strategy** | Fix onerechecknext error |
141
+ | **Validation** | Recheck each file after fixing |
142
+ | **Parallel** | 5+ independent errorsparallel analysis with Task |
127
143
 
128
144
  </required>
129
145
 
@@ -131,22 +147,22 @@ Task({
131
147
 
132
148
  <workflow>
133
149
 
134
- 1. **검사**
150
+ 1. **Check**
135
151
  ```bash
136
152
  npx tsc --noEmit
137
153
  npx eslint .
138
154
  ```
139
155
 
140
- 2. **TodoWrite 생성**
141
- - 오류 목록 정리
156
+ 2. **Create TodoWrite**
157
+ - Organize error list
142
158
 
143
- 3. **순차 수정** ( 오류마다)
144
- - Sequential Thinking 3-5단계
145
- - 수정 적용
146
- - 해당 파일 재검사
147
- - TodoWrite 업데이트 (completed)
159
+ 3. **Sequential fix** (per error)
160
+ - Sequential Thinking 3-5 steps
161
+ - Apply fix
162
+ - Recheck file
163
+ - Update TodoWrite (completed)
148
164
 
149
- 4. **전체 재검사**
165
+ 4. **Full recheck**
150
166
 
151
167
  </workflow>
152
168
 
@@ -154,24 +170,24 @@ Task({
154
170
 
155
171
  <sequential_thinking>
156
172
 
157
- **각 오류마다 필수:**
173
+ **Required for each error:**
158
174
 
159
- | 단계 | 내용 |
160
- |------|------|
161
- | 1 | 오류 메시지 분석 이해 |
162
- | 2 | 관련 코드 컨텍스트 파악 |
163
- | 3 | 근본 원인 식별 |
164
- | 4 | 수정 방안 검토 (여러 옵션 고려) |
165
- | 5 | 최적 수정 방안 선택 적용 |
175
+ | Step | Content |
176
+ |------|---------|
177
+ | 1 | Analyze and understand error message |
178
+ | 2 | Identify relevant code context |
179
+ | 3 | Identify root cause |
180
+ | 4 | Review fix options (consider multiple) |
181
+ | 5 | Select and apply optimal fix |
166
182
 
167
- **파라미터:**
183
+ **Parameters:**
168
184
 
169
185
  ```typescript
170
186
  {
171
- thought: "현재 사고 내용",
187
+ thought: "Current thinking content",
172
188
  nextThoughtNeeded: true | false,
173
- thoughtNumber: 1, // 현재 단계
174
- totalThoughts: 5 // 예상 단계 (동적 조정 가능)
189
+ thoughtNumber: 1, // current step
190
+ totalThoughts: 5 // expected total steps (dynamic)
175
191
  }
176
192
  ```
177
193
 
@@ -181,28 +197,28 @@ Task({
181
197
 
182
198
  <parallel_strategy>
183
199
 
184
- **5 이상 오류 시:**
200
+ **With 5+ errors:**
185
201
 
186
202
  ```
187
- 1. 독립적 오류 그룹 식별
188
- 2. Task 도구로 병렬 분석 (단일 메시지에 다중 Task 호출)
189
- 3. 분석 결과 취합 순차 수정
203
+ 1. Identify independent error groups
204
+ 2. Parallel analysis with Task (multiple Task calls in single message)
205
+ 3. Combine results then sequential fix
190
206
  ```
191
207
 
192
- **규칙:**
208
+ **Rules:**
193
209
 
194
- | 규칙 | 설명 |
195
- |------|------|
196
- | 독립성 확인 | 같은 파일/연관 타입순차 처리 |
197
- | 분석만 병렬 | 수정 적용은 항상 순차 |
198
- | 결과 검증 | 충돌 Sequential Thinking으로 해결 |
210
+ | Rule | Description |
211
+ |------|-------------|
212
+ | Check independence | Same file/related typesequential |
213
+ | Parallel analysis only | Always sequential fix application |
214
+ | Validate results | Conflicts resolve with Sequential Thinking |
199
215
 
200
216
  **subagent_type:**
201
217
 
202
- | 유형 | 용도 |
203
- |------|------|
204
- | `Explore` | 오류 관련 코드 컨텍스트 탐색 |
205
- | `general-purpose` | 복잡한 타입 오류 심층 분석 |
218
+ | Type | Purpose |
219
+ |------|---------|
220
+ | `Explore` | Explore code context related to error |
221
+ | `general-purpose` | Deep analysis of complex type errors |
206
222
 
207
223
  </parallel_strategy>
208
224
 
@@ -210,29 +226,29 @@ Task({
210
226
 
211
227
  <commands>
212
228
 
213
- **검사:**
229
+ **Check:**
214
230
 
215
231
  ```bash
216
- # TypeScript (전체)
232
+ # TypeScript (all)
217
233
  npx tsc --noEmit
218
234
 
219
- # TypeScript (특정 파일)
235
+ # TypeScript (specific file)
220
236
  npx tsc --noEmit $ARGUMENTS
221
237
 
222
- # ESLint (전체)
238
+ # ESLint (all)
223
239
  npx eslint .
224
240
 
225
- # ESLint (특정 파일/디렉토리)
241
+ # ESLint (specific file/directory)
226
242
  npx eslint $ARGUMENTS
227
243
  ```
228
244
 
229
- **인수 처리:**
245
+ **Argument handling:**
230
246
 
231
- | 인수 | 동작 |
232
- |------|------|
233
- | 없음 | 전체 프로젝트 검사 |
234
- | 파일 경로 | 해당 파일만 |
235
- | 디렉토리 | 해당 디렉토리만 |
247
+ | Argument | Action |
248
+ |----------|--------|
249
+ | None | Check entire project |
250
+ | File path | Check that file only |
251
+ | Directory | Check that directory only |
236
252
 
237
253
  </commands>
238
254
 
@@ -240,46 +256,46 @@ npx eslint $ARGUMENTS
240
256
 
241
257
  <examples>
242
258
 
243
- **Example 1: Sequential Thinking 워크플로우**
259
+ **Example 1: Sequential Thinking workflow**
244
260
 
245
261
  ```
246
- 1. npx tsc --noEmit 실행
262
+ 1. Run npx tsc --noEmit
247
263
  → TS2322: Type 'string' is not assignable to type 'number'
248
264
 
249
- 2. Sequential Thinking 시작:
250
- thought 1: "TS2322 오류. string number에 할당 시도"
251
- thought 2: "해당 파일의 변수 타입과 확인 필요"
252
- thought 3: "함수 반환 타입이 number인데 string 반환 "
253
- thought 4: "수정 옵션: 1) 반환값 수정 2) 타입 수정"
254
- thought 5: "반환값을 올바른 number 수정하는 것이 적절"
265
+ 2. Start Sequential Thinking:
266
+ thought 1: "TS2322 error. Assigning string to number"
267
+ thought 2: "Need to check variable type and value in file"
268
+ thought 3: "Function return type is number but returning string"
269
+ thought 4: "Fix options: 1) Fix return value 2) Change type"
270
+ thought 5: "Fixing return value to correct number is appropriate"
255
271
 
256
- 3. Edit으로 수정 적용
272
+ 3. Apply fix with Edit
257
273
 
258
- 4. npx tsc --noEmit $FILE 재검사 해결 확인
274
+ 4. Recheck with npx tsc --noEmit $FILE → confirm resolution
259
275
 
260
- 5. TodoWrite 업데이트 (completed) → 다음 오류
276
+ 5. Update TodoWrite (completed) → next error
261
277
  ```
262
278
 
263
- **Example 2: 병렬 처리 (5 이상 오류)**
279
+ **Example 2: Parallel processing (5+ errors)**
264
280
 
265
281
  ```
266
- 독립적 파일 3개의 오류 발견:
282
+ Found 3 independent file errors:
267
283
 
268
- Task 1: "src/utils/api.ts TS2322 분석 - 타입 불일치 원인과 수정 방안"
269
- Task 2: "src/components/Form.tsx의 ESLint no-unused-vars 분석"
270
- Task 3: "src/hooks/useAuth.ts TS2532 분석 - undefined 체크 위치"
284
+ Task 1: "Analyze TS2322 in src/utils/api.ts - type mismatch cause and fix"
285
+ Task 2: "Analyze ESLint no-unused-vars in src/components/Form.tsx"
286
+ Task 3: "Analyze TS2532 in src/hooks/useAuth.ts - undefined check location"
271
287
 
272
- → 3 Task 병렬 실행 (단일 메시지)
273
- 결과 취합 Sequential Thinking으로 수정 순서 결정
274
- 순차 수정 적용
288
+ Run 3 Tasks in parallel (single message)
289
+ Combine results then use Sequential Thinking to determine fix order
290
+ Apply sequential fixes
275
291
  ```
276
292
 
277
- **Example 3: 우선순위**
293
+ **Example 3: Priority**
278
294
 
279
- | 우선순위 | 유형 | 예시 |
280
- |----------|------|------|
281
- | 1 | 타입 오류 (컴파일 차단) | TS2322, TS2345 |
282
- | 2 | 린트 오류 (error 레벨) | no-unused-vars |
283
- | 3 | 린트 경고 (warning 레벨) | prefer-const |
295
+ | Priority | Type | Example |
296
+ |----------|------|---------|
297
+ | 1 | Type errors (blocks compile) | TS2322, TS2345 |
298
+ | 2 | Lint errors (error level) | no-unused-vars |
299
+ | 3 | Lint warnings (warning level) | prefer-const |
284
300
 
285
301
  </examples>