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