@kood/claude-code 0.3.6 → 0.3.8

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 (120) hide show
  1. package/dist/index.js +1 -1
  2. package/package.json +1 -1
  3. package/templates/.claude/agents/code-reviewer.md +124 -124
  4. package/templates/.claude/agents/dependency-manager.md +85 -85
  5. package/templates/.claude/agents/deployment-validator.md +56 -56
  6. package/templates/.claude/agents/git-operator.md +64 -64
  7. package/templates/.claude/agents/implementation-executor.md +95 -95
  8. package/templates/.claude/agents/ko-to-en-translator.md +74 -0
  9. package/templates/.claude/agents/lint-fixer.md +78 -78
  10. package/templates/.claude/agents/refactor-advisor.md +122 -122
  11. package/templates/.claude/commands/agent-creator.md +185 -185
  12. package/templates/.claude/commands/bug-fix.md +193 -193
  13. package/templates/.claude/commands/command-creator.md +54 -54
  14. package/templates/.claude/commands/docs-creator.md +57 -57
  15. package/templates/.claude/commands/docs-refactor.md +26 -26
  16. package/templates/.claude/commands/execute.md +12 -12
  17. package/templates/.claude/commands/git-all.md +32 -32
  18. package/templates/.claude/commands/git-session.md +42 -42
  19. package/templates/.claude/commands/git.md +34 -34
  20. package/templates/.claude/commands/lint-fix.md +138 -138
  21. package/templates/.claude/commands/lint-init.md +61 -61
  22. package/templates/.claude/commands/plan.md +260 -260
  23. package/templates/.claude/commands/prd.md +24 -24
  24. package/templates/.claude/commands/pre-deploy.md +109 -109
  25. package/templates/.claude/commands/refactor.md +147 -147
  26. package/templates/.claude/commands/version-update.md +17 -17
  27. package/templates/hono/CLAUDE.md +27 -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 +228 -0
  48. package/templates/nextjs/docs/design.md +558 -0
  49. package/templates/nextjs/docs/guides/conventions.md +343 -0
  50. package/templates/nextjs/docs/guides/getting-started.md +367 -0
  51. package/templates/nextjs/docs/guides/routes.md +342 -0
  52. package/templates/nextjs/docs/library/better-auth/index.md +541 -0
  53. package/templates/nextjs/docs/library/nextjs/app-router.md +269 -0
  54. package/templates/nextjs/docs/library/nextjs/caching.md +351 -0
  55. package/templates/nextjs/docs/library/nextjs/index.md +291 -0
  56. package/templates/nextjs/docs/library/nextjs/middleware.md +391 -0
  57. package/templates/nextjs/docs/library/nextjs/route-handlers.md +382 -0
  58. package/templates/nextjs/docs/library/nextjs/server-actions.md +366 -0
  59. package/templates/nextjs/docs/library/prisma/cloudflare-d1.md +76 -0
  60. package/templates/nextjs/docs/library/prisma/config.md +77 -0
  61. package/templates/nextjs/docs/library/prisma/crud.md +90 -0
  62. package/templates/nextjs/docs/library/prisma/index.md +73 -0
  63. package/templates/nextjs/docs/library/prisma/relations.md +69 -0
  64. package/templates/nextjs/docs/library/prisma/schema.md +98 -0
  65. package/templates/nextjs/docs/library/prisma/setup.md +49 -0
  66. package/templates/nextjs/docs/library/prisma/transactions.md +50 -0
  67. package/templates/nextjs/docs/library/tanstack-query/index.md +66 -0
  68. package/templates/nextjs/docs/library/tanstack-query/invalidation.md +54 -0
  69. package/templates/nextjs/docs/library/tanstack-query/optimistic-updates.md +77 -0
  70. package/templates/nextjs/docs/library/tanstack-query/use-mutation.md +63 -0
  71. package/templates/nextjs/docs/library/tanstack-query/use-query.md +70 -0
  72. package/templates/nextjs/docs/library/zod/complex-types.md +61 -0
  73. package/templates/nextjs/docs/library/zod/index.md +56 -0
  74. package/templates/nextjs/docs/library/zod/transforms.md +51 -0
  75. package/templates/nextjs/docs/library/zod/validation.md +70 -0
  76. package/templates/npx/CLAUDE.md +37 -37
  77. package/templates/npx/docs/library/commander/index.md +12 -12
  78. package/templates/npx/docs/library/fs-extra/index.md +9 -9
  79. package/templates/npx/docs/library/prompts/index.md +3 -3
  80. package/templates/npx/docs/references/patterns.md +12 -12
  81. package/templates/tanstack-start/CLAUDE.md +53 -49
  82. package/templates/tanstack-start/docs/architecture.md +128 -128
  83. package/templates/tanstack-start/docs/design.md +169 -169
  84. package/templates/tanstack-start/docs/guides/conventions.md +43 -43
  85. package/templates/tanstack-start/docs/guides/env-setup.md +35 -35
  86. package/templates/tanstack-start/docs/guides/getting-started.md +19 -19
  87. package/templates/tanstack-start/docs/guides/hooks.md +63 -35
  88. package/templates/tanstack-start/docs/guides/routes.md +61 -42
  89. package/templates/tanstack-start/docs/guides/services.md +45 -45
  90. package/templates/tanstack-start/docs/library/better-auth/index.md +68 -68
  91. package/templates/tanstack-start/docs/library/prisma/cloudflare-d1.md +19 -19
  92. package/templates/tanstack-start/docs/library/prisma/config.md +16 -16
  93. package/templates/tanstack-start/docs/library/prisma/crud.md +17 -17
  94. package/templates/tanstack-start/docs/library/prisma/index.md +17 -17
  95. package/templates/tanstack-start/docs/library/prisma/relations.md +16 -16
  96. package/templates/tanstack-start/docs/library/prisma/schema.md +23 -23
  97. package/templates/tanstack-start/docs/library/prisma/setup.md +6 -6
  98. package/templates/tanstack-start/docs/library/prisma/transactions.md +10 -10
  99. package/templates/tanstack-start/docs/library/t3-env/index.md +21 -160
  100. package/templates/tanstack-start/docs/library/tanstack-query/index.md +6 -6
  101. package/templates/tanstack-start/docs/library/tanstack-query/invalidation.md +19 -19
  102. package/templates/tanstack-start/docs/library/tanstack-query/optimistic-updates.md +4 -4
  103. package/templates/tanstack-start/docs/library/tanstack-query/use-mutation.md +14 -14
  104. package/templates/tanstack-start/docs/library/tanstack-query/use-query.md +21 -21
  105. package/templates/tanstack-start/docs/library/tanstack-router/error-handling.md +9 -9
  106. package/templates/tanstack-start/docs/library/tanstack-router/hooks.md +11 -11
  107. package/templates/tanstack-start/docs/library/tanstack-router/index.md +18 -18
  108. package/templates/tanstack-start/docs/library/tanstack-router/navigation.md +17 -17
  109. package/templates/tanstack-start/docs/library/tanstack-router/route-context.md +5 -5
  110. package/templates/tanstack-start/docs/library/tanstack-router/search-params.md +10 -10
  111. package/templates/tanstack-start/docs/library/tanstack-start/auth-patterns.md +8 -8
  112. package/templates/tanstack-start/docs/library/tanstack-start/index.md +15 -15
  113. package/templates/tanstack-start/docs/library/tanstack-start/middleware.md +9 -9
  114. package/templates/tanstack-start/docs/library/tanstack-start/routing.md +6 -6
  115. package/templates/tanstack-start/docs/library/tanstack-start/server-functions.md +18 -18
  116. package/templates/tanstack-start/docs/library/tanstack-start/setup.md +4 -4
  117. package/templates/tanstack-start/docs/library/zod/complex-types.md +11 -11
  118. package/templates/tanstack-start/docs/library/zod/index.md +8 -8
  119. package/templates/tanstack-start/docs/library/zod/transforms.md +11 -11
  120. package/templates/tanstack-start/docs/library/zod/validation.md +9 -9
@@ -1,30 +1,30 @@
1
1
  ---
2
- description: PRD(Product Requirements Document) 생성
2
+ description: Generate PRD (Product Requirements Document)
3
3
  allowed-tools: Read, Write, Glob, Grep, Task, mcp__sequential-thinking__sequentialthinking
4
- argument-hint: <기능/제품 설명>
4
+ argument-hint: <feature/product description>
5
5
  ---
6
6
 
7
7
  @../instructions/sequential-thinking-guide.md
8
8
 
9
9
  # PRD Command
10
10
 
11
- 기능/제품의 요구사항 문서(PRD) 작성.
11
+ Write Product Requirements Document (PRD) for feature/product.
12
12
 
13
- **대상**: $ARGUMENTS
13
+ **Target**: $ARGUMENTS
14
14
 
15
15
  ---
16
16
 
17
17
  <workflow>
18
18
 
19
- ## 실행 흐름
19
+ ## Execution Flow
20
20
 
21
- | 단계 | 작업 | 도구 |
21
+ | Step | Task | Tool |
22
22
  |------|------|------|
23
- | 1. 입력 확인 | ARGUMENT 검증, 없으면 질문 | - |
24
- | 2. Sequential Thinking | 3-5단계로 PRD 구조 분석 | sequentialthinking |
25
- | 3. 코드베이스 확인 | 관련 코드/문서 탐색 (필요시) | Task (Explore) |
26
- | 4. PRD 작성 | 15개 섹션 구조로 작성 | Write |
27
- | 5. 저장 | `.claude/plans/` 또는 `docs/prd/` | - |
23
+ | 1. Validate input | Verify ARGUMENT, ask if missing | - |
24
+ | 2. Sequential Thinking | Analyze PRD structure in 3-5 steps | sequentialthinking |
25
+ | 3. Check codebase | Explore related code/documents (if needed) | Task (Explore) |
26
+ | 4. Write PRD | Write in 15-section structure | Write |
27
+ | 5. Save | Save to `.claude/plans/` or `docs/prd/` | - |
28
28
 
29
29
  </workflow>
30
30
 
@@ -32,12 +32,12 @@ argument-hint: <기능/제품 설명>
32
32
 
33
33
  <forbidden>
34
34
 
35
- | 분류 | 금지 |
36
- |------|------|
37
- | **문제 정의** | 솔루션/기능 목록 포함 |
38
- | **범위** | In/Out 구분 없이 나열 |
39
- | **표현** | 모호한 표현 ("좋은 UX", "빠르게") |
40
- | **스타일** | 마케팅 문구, 과도한 수식어 |
35
+ | Category | Forbidden |
36
+ |----------|-----------|
37
+ | **Problem definition** | Include solutions/feature list |
38
+ | **Scope** | List without In/Out distinction |
39
+ | **Expression** | Vague expressions ("good UX", "fast") |
40
+ | **Style** | Marketing language, excessive adjectives |
41
41
 
42
42
  </forbidden>
43
43
 
@@ -45,13 +45,13 @@ argument-hint: <기능/제품 설명>
45
45
 
46
46
  <required>
47
47
 
48
- | 분류 | 필수 |
49
- |------|------|
50
- | **구조** | 15 섹션 (메타데이터~템플릿) |
51
- | **기능 요구사항** | User Stories + Functional + Non-functional |
52
- | **지표** | 현재값목표값 형태 |
53
- | **가정/리스크** | 별도 섹션으로 명시 |
54
- | **스타일** | 짧고 명확한 문장, 구체적 예시 |
48
+ | Category | Required |
49
+ |----------|----------|
50
+ | **Structure** | 15 sections (metadata ~ template) |
51
+ | **Feature requirements** | User Stories + Functional + Non-functional |
52
+ | **Metrics** | Current value target value format |
53
+ | **Assumptions/Risks** | Specify in separate section |
54
+ | **Style** | Short clear sentences, concrete examples |
55
55
 
56
56
  </required>
57
57
 
@@ -1,22 +1,22 @@
1
1
  ---
2
- description: 배포 typecheck/lint/build 검증 수정. ultrathink + sequential thinking 필수 사용.
2
+ description: Verify and fix typecheck/lint/build before deployment. Sequential thinking required.
3
3
  allowed-tools: Bash(tsc:*, npx:*, yarn:*, npm:*, pnpm:*), Read, Edit, mcp__sequential-thinking__sequentialthinking
4
- argument-hint: [파일/디렉토리 경로...]
4
+ argument-hint: [file/directory paths...]
5
5
  ---
6
6
 
7
7
  # Pre-Deploy Command
8
8
 
9
- > 배포 typecheck/lint/build Sequential Thinking으로 검증하고 수정
9
+ > Verify and fix typecheck/lint/build before deployment with Sequential Thinking
10
10
 
11
11
  ---
12
12
 
13
13
  <forbidden>
14
14
 
15
- | 분류 | 금지 |
16
- |------|------|
17
- | **회피** | 오류 무시하고 배포, `any` 타입, `@ts-ignore`, `eslint-disable` 남발 |
18
- | **전략** | 여러 오류 동시 수정, build 생략, 오류 메시지만 보고 급하게 수정 |
19
- | **분석** | Sequential Thinking 없이 수정 |
15
+ | Category | Forbidden |
16
+ |----------|-----------|
17
+ | **Avoidance** | Deploy with errors, excessive `any` type, `@ts-ignore`, `eslint-disable` |
18
+ | **Strategy** | Fix multiple errors simultaneously, skip build, fix hastily based on error message |
19
+ | **Analysis** | Fix without Sequential Thinking |
20
20
 
21
21
  </forbidden>
22
22
 
@@ -24,36 +24,36 @@ argument-hint: [파일/디렉토리 경로...]
24
24
 
25
25
  <agent_usage>
26
26
 
27
- ## @deployment-validator Agent 활용
27
+ ## @deployment-validator Agent Usage
28
28
 
29
- **언제 사용:**
30
- - PR 생성 전체 검증
31
- - 배포 품질 보증
32
- - CI/CD 전 로컬 검증
29
+ **When to use:**
30
+ - Full validation before PR creation
31
+ - Quality assurance before deployment
32
+ - Local validation before CI/CD
33
33
 
34
- **호출 방법:**
34
+ **How to call:**
35
35
  ```bash
36
36
  @deployment-validator
37
- # 또는 자연어
38
- "배포 준비 완료 체크해줘"
39
- "pre-deploy 검증해줘"
37
+ # or natural language
38
+ "Check if ready to deploy"
39
+ "Validate pre-deploy"
40
40
  ```
41
41
 
42
- **장점:**
43
- - typecheck + lint + build 전체 자동화
44
- - Build 실패 Sequential Thinking으로 원인 자동 분석
45
- - 배포 가능 여부 최종 판단
46
- - 독립적 context에서 실행 (메인 작업 병렬 가능)
42
+ **Benefits:**
43
+ - Full automation of typecheck + lint + build
44
+ - Auto-analyze cause of build failure with Sequential Thinking
45
+ - Final judgment on deployment readiness
46
+ - Run in independent context (can parallelize with main work)
47
47
 
48
- **직접 검증 vs Agent:**
48
+ **Direct validation vs Agent:**
49
49
 
50
- | 상황 | 권장 방법 |
51
- |------|----------|
52
- | 빠른 개발 | 직접 검증 (command) |
53
- | PR 생성 | @deployment-validator |
54
- | 배포 최종 확인 | @deployment-validator |
55
- | CI/CD 전 로컬 확인 | @deployment-validator |
56
- | 자동화된 검증 | @deployment-validator |
50
+ | Situation | Recommended |
51
+ |-----------|-------------|
52
+ | During rapid development | Direct validation (command) |
53
+ | Before PR creation | @deployment-validator |
54
+ | Final check before deployment | @deployment-validator |
55
+ | Local check before CI/CD | @deployment-validator |
56
+ | Automated validation | @deployment-validator |
57
57
 
58
58
  </agent_usage>
59
59
 
@@ -61,13 +61,13 @@ argument-hint: [파일/디렉토리 경로...]
61
61
 
62
62
  <required>
63
63
 
64
- | 분류 | 필수 |
65
- |------|------|
66
- | **Thinking** | Sequential Thinking 3-5단계 (각 오류마다) |
67
- | **Tracking** | TodoWrite로 오류 목록 추적 |
68
- | **Strategy** | typecheck + lint 병렬 실행순차 수정 → build |
69
- | **Validation** | 파일 수정 해당 파일 재검사 |
70
- | **Build** | 모든 오류 해결 build 실행 성공 확인 |
64
+ | Category | Required |
65
+ |----------|----------|
66
+ | **Thinking** | Sequential Thinking 3-5 steps per error |
67
+ | **Tracking** | Track error list with TodoWrite |
68
+ | **Strategy** | Run typecheck + lint in parallelsequential fix → build |
69
+ | **Validation** | Recheck each file after fixing |
70
+ | **Build** | Run build after all errors resolved and verify success |
71
71
 
72
72
  </required>
73
73
 
@@ -75,32 +75,32 @@ argument-hint: [파일/디렉토리 경로...]
75
75
 
76
76
  <workflow>
77
77
 
78
- 1. **병렬 검사**
78
+ 1. **Parallel check**
79
79
  ```bash
80
80
  npx tsc --noEmit
81
81
  npx eslint .
82
82
  ```
83
83
 
84
- 2. **TodoWrite 생성**
85
- - typecheck 오류 목록
86
- - lint 오류 목록
87
- - 우선순위: 타입 오류린트 오류린트 경고
84
+ 2. **Create TodoWrite**
85
+ - List typecheck errors
86
+ - List lint errors
87
+ - Priority: type errorslint errorslint warnings
88
88
 
89
- 3. **순차 수정** ( 오류마다)
90
- - Sequential Thinking 3-5단계
91
- - 수정 적용
92
- - 해당 파일 재검사
93
- - TodoWrite 업데이트 (completed)
89
+ 3. **Sequential fix** (per error)
90
+ - Sequential Thinking 3-5 steps
91
+ - Apply fix
92
+ - Recheck file
93
+ - Update TodoWrite (completed)
94
94
 
95
- 4. **Build 실행**
95
+ 4. **Run build**
96
96
  ```bash
97
- # package.json scripts 확인 후 실행
97
+ # Verify package.json scripts then run
98
98
  npm run build # or yarn build, pnpm build
99
99
  ```
100
100
 
101
- 5. **Build 성공 확인**
102
- - 오류 발생 Sequential Thinking으로 분석 수정
103
- - 성공 배포 준비 완료
101
+ 5. **Verify build success**
102
+ - If errors occur, analyze and fix with Sequential Thinking
103
+ - If successful, ready for deployment
104
104
 
105
105
  </workflow>
106
106
 
@@ -108,24 +108,24 @@ argument-hint: [파일/디렉토리 경로...]
108
108
 
109
109
  <sequential_thinking>
110
110
 
111
- **각 오류마다 필수:**
111
+ **Required for each error:**
112
112
 
113
- | 단계 | 내용 |
114
- |------|------|
115
- | 1 | 오류 메시지 분석 이해 |
116
- | 2 | 관련 코드 컨텍스트 파악 |
117
- | 3 | 근본 원인 식별 |
118
- | 4 | 수정 방안 검토 (여러 옵션 고려) |
119
- | 5 | 최적 수정 방안 선택 적용 |
113
+ | Step | Content |
114
+ |------|---------|
115
+ | 1 | Analyze and understand error message |
116
+ | 2 | Identify relevant code context |
117
+ | 3 | Identify root cause |
118
+ | 4 | Review fix options (consider multiple) |
119
+ | 5 | Select and apply optimal fix |
120
120
 
121
- **파라미터:**
121
+ **Parameters:**
122
122
 
123
123
  ```typescript
124
124
  {
125
- thought: "현재 사고 내용",
125
+ thought: "Current thinking content",
126
126
  nextThoughtNeeded: true | false,
127
- thoughtNumber: 1, // 현재 단계
128
- totalThoughts: 5 // 예상 단계 (동적 조정 가능)
127
+ thoughtNumber: 1, // current step
128
+ totalThoughts: 5 // expected total steps (dynamic)
129
129
  }
130
130
  ```
131
131
 
@@ -135,34 +135,34 @@ argument-hint: [파일/디렉토리 경로...]
135
135
 
136
136
  <commands>
137
137
 
138
- **검사:**
138
+ **Check:**
139
139
 
140
140
  ```bash
141
- # TypeScript (전체)
141
+ # TypeScript (all)
142
142
  npx tsc --noEmit
143
143
 
144
- # TypeScript (특정 파일)
144
+ # TypeScript (specific file)
145
145
  npx tsc --noEmit $ARGUMENTS
146
146
 
147
- # ESLint (전체)
147
+ # ESLint (all)
148
148
  npx eslint .
149
149
 
150
- # ESLint (특정 파일/디렉토리)
150
+ # ESLint (specific file/directory)
151
151
  npx eslint $ARGUMENTS
152
152
 
153
- # Build (package.json 확인 필요)
153
+ # Build (requires package.json check)
154
154
  npm run build
155
155
  yarn build
156
156
  pnpm build
157
157
  ```
158
158
 
159
- **인수 처리:**
159
+ **Argument handling:**
160
160
 
161
- | 인수 | 동작 |
162
- |------|------|
163
- | 없음 | 전체 프로젝트 검사 + build |
164
- | 파일 경로 | 해당 파일만 검사 (build 생략) |
165
- | 디렉토리 | 해당 디렉토리만 검사 (build 생략) |
161
+ | Argument | Action |
162
+ |----------|--------|
163
+ | None | Check entire project + build |
164
+ | File path | Check that file only (skip build) |
165
+ | Directory | Check that directory only (skip build) |
166
166
 
167
167
  </commands>
168
168
 
@@ -170,73 +170,73 @@ pnpm build
170
170
 
171
171
  <examples>
172
172
 
173
- **Example 1: 전체 워크플로우**
173
+ **Example 1: Full workflow**
174
174
 
175
175
  ```
176
- 1. 병렬 검사 실행
176
+ 1. Run parallel check
177
177
  npx tsc --noEmit
178
178
  → TS2322: Type 'string' is not assignable to type 'number'
179
179
 
180
180
  npx eslint .
181
181
  → error: 'user' is assigned a value but never used (no-unused-vars)
182
182
 
183
- 2. TodoWrite 생성
184
- - TS2322 오류 수정 (src/utils/calc.ts:15)
185
- - no-unused-vars 수정 (src/components/Form.tsx:8)
183
+ 2. Create TodoWrite
184
+ - Fix TS2322 error (src/utils/calc.ts:15)
185
+ - Fix no-unused-vars (src/components/Form.tsx:8)
186
186
 
187
187
  3. Sequential Thinking (TS2322)
188
- thought 1: "TS2322 오류. string number에 할당 시도"
189
- thought 2: "calc.ts:15의 반환값 타입과 실제 반환값 확인"
190
- thought 3: "함수가 parseInt 결과를 반환해야 하는데 toString() 호출 중"
191
- thought 4: "수정 옵션: 1) toString() 제거 2) 반환 타입 변경"
192
- thought 5: "parseInt number 반환하므로 toString() 제거가 적절"
188
+ thought 1: "TS2322 error. Assigning string to number"
189
+ thought 2: "Check return value type and actual return in calc.ts:15"
190
+ thought 3: "Function should return parseInt result but calling toString()"
191
+ thought 4: "Fix options: 1) Remove toString() 2) Change return type"
192
+ thought 5: "parseInt returns number so removing toString() is appropriate"
193
193
 
194
- 4. Edit으로 수정 → npx tsc --noEmit src/utils/calc.ts 재검사 해결
194
+ 4. Fix with Edit → recheck with npx tsc --noEmit src/utils/calc.ts → resolved
195
195
 
196
- 5. TodoWrite 업데이트 (completed) → 다음 오류
196
+ 5. Update TodoWrite (completed) → next error
197
197
 
198
- 6. 모든 오류 해결 build 실행
198
+ 6. After all errors resolved, run build
199
199
  npm run build → ✅ Build successful
200
200
 
201
- 7. 배포 준비 완료
201
+ 7. Ready for deployment
202
202
  ```
203
203
 
204
- **Example 2: 우선순위**
204
+ **Example 2: Priority**
205
205
 
206
- | 우선순위 | 유형 | 예시 |
207
- |----------|------|------|
208
- | 1 | 타입 오류 (컴파일 차단) | TS2322, TS2345, TS2339 |
209
- | 2 | 린트 오류 (error 레벨) | no-unused-vars, no-undef |
210
- | 3 | 린트 경고 (warning 레벨) | prefer-const, no-console |
206
+ | Priority | Type | Example |
207
+ |----------|------|---------|
208
+ | 1 | Type errors (blocks compile) | TS2322, TS2345, TS2339 |
209
+ | 2 | Lint errors (error level) | no-unused-vars, no-undef |
210
+ | 3 | Lint warnings (warning level) | prefer-const, no-console |
211
211
 
212
- **Example 3: Build 실패 시나리오**
212
+ **Example 3: Build failure scenario**
213
213
 
214
214
  ```
215
- 1. typecheck + lint 통과
215
+ 1. typecheck + lint pass
216
216
 
217
- 2. npm run build 실행
217
+ 2. Run npm run build
218
218
  → Error: Cannot find module '@/utils/helper'
219
219
 
220
220
  3. Sequential Thinking
221
- thought 1: "Build import 오류 발생"
222
- thought 2: "helper 모듈이 존재하지 않거나 경로 오류"
223
- thought 3: "Read로 파일 확인 필요"
224
- thought 4: "helper.ts 아닌 helpers.ts로 존재"
225
- thought 5: "import 경로를 '@/utils/helpers'로 수정"
221
+ thought 1: "Import error during build"
222
+ thought 2: "helper module doesn't exist or path error"
223
+ thought 3: "Need to check file with Read"
224
+ thought 4: "helper.ts doesn't exist, only helpers.ts"
225
+ thought 5: "Fix import path to '@/utils/helpers'"
226
226
 
227
- 4. Edit으로 수정 → npm run build 재실행 → ✅ 성공
227
+ 4. Fix with Edit → rerun npm run build → ✅ success
228
228
  ```
229
229
 
230
- **Example 4: 부분 검사 (인수 제공)**
230
+ **Example 4: Partial check (with arguments)**
231
231
 
232
232
  ```bash
233
- # 특정 파일만 검사 (build 생략)
233
+ # Check only specific file (skip build)
234
234
  /pre-deploy src/utils/calc.ts
235
235
 
236
236
  → npx tsc --noEmit src/utils/calc.ts
237
237
  → npx eslint src/utils/calc.ts
238
- 오류 수정
239
- build는 실행하지 않음
238
+ Fix errors
239
+ Don't run build
240
240
  ```
241
241
 
242
242
  </examples>