@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,33 +1,33 @@
1
1
  ---
2
- description: 개발 진행 방법 검토 옵션 제시. ultrathink + sequential thinking 3-7 필수. 코드 수정 없이 계획만.
2
+ description: Review development approach and present 2-3 options with pros/cons. Sequential thinking 3-7 required. Plan only, no code changes.
3
3
  allowed-tools: Read, Glob, Grep, Bash(git:*, ast-grep:*), Task, Write, mcp__sequential-thinking__sequentialthinking
4
- argument-hint: <개발할 기능 또는 해결할 문제>
4
+ argument-hint: <feature to develop or problem to solve>
5
5
  ---
6
6
 
7
7
  # Plan Command
8
8
 
9
- > 개발 진행 방법을 검토하고 2-3 옵션과 장단점을 제시하는 커맨드.
9
+ > Review development approach and present 2-3 options with pros/cons.
10
10
 
11
- **계획 대상**: $ARGUMENTS
11
+ **Planning target**: $ARGUMENTS
12
12
 
13
13
  ---
14
14
 
15
15
  <argument_validation>
16
16
 
17
- ## ARGUMENT 필수 확인
17
+ ## Verify ARGUMENT is provided
18
18
 
19
19
  ```
20
- $ARGUMENTS 없음 즉시 질문:
20
+ No $ARGUMENTS → Ask immediately:
21
21
 
22
- "무엇을 계획해야 하나요? 구체적으로 알려주세요.
22
+ "What should we plan? Please be specific.
23
23
 
24
- 예시:
25
- - 기능 추가
26
- - 버그 수정
27
- - 리팩토링
28
- - 아키텍처 변경"
24
+ Examples:
25
+ - Add new feature
26
+ - Fix bug
27
+ - Refactor
28
+ - Change architecture"
29
29
 
30
- $ARGUMENTS 있음다음 단계 진행
30
+ $ARGUMENTS providedProceed to next step
31
31
  ```
32
32
 
33
33
  </argument_validation>
@@ -36,17 +36,17 @@ $ARGUMENTS 있음 → 다음 단계 진행
36
36
 
37
37
  <workflow>
38
38
 
39
- ## 실행 흐름
39
+ ## Execution Flow
40
40
 
41
- | 단계 | 작업 | 도구 |
41
+ | Step | Task | Tool |
42
42
  |------|------|------|
43
- | 1. 입력 확인 | ARGUMENT 검증, 없으면 질문 | - |
44
- | 2. 복잡도 판단 | Sequential Thinking으로 분석 범위 결정 | sequentialthinking (1단계) |
45
- | 3. 코드베이스 탐색 | 현재 상태 파악, 관련 파일 탐색 | Task (Explore) + Read/Grep |
46
- | 4. 옵션 도출 | 가능한 접근 4-5주요 2-3 선정 | sequentialthinking (2-6단계) |
47
- | 5. 옵션 제시 | 장단점, 영향 범위, 추천안 제시 | - |
48
- | 6. 사용자 선택 | 옵션 선택 대기 | - |
49
- | 7. 문서 작성 | 선택 계획 문서 생성 | Write |
43
+ | 1. Validate input | Verify ARGUMENT, ask if missing | - |
44
+ | 2. Judge complexity | Determine analysis scope with Sequential Thinking | sequentialthinking (step 1) |
45
+ | 3. Explore codebase | Understand current state, explore related files | Task (Explore) + Read/Grep |
46
+ | 4. Derive options | Generate 4-5 possible approaches select 2-3 main | sequentialthinking (steps 2-6) |
47
+ | 5. Present options | Present pros/cons, impact scope, recommendation | - |
48
+ | 6. User selection | Wait for option selection | - |
49
+ | 7. Document generation | Generate plan document when selected | Write |
50
50
 
51
51
  </workflow>
52
52
 
@@ -54,49 +54,49 @@ $ARGUMENTS 있음 → 다음 단계 진행
54
54
 
55
55
  <agent_usage>
56
56
 
57
- ## @refactor-advisor Agent 활용
57
+ ## @refactor-advisor Agent Usage
58
58
 
59
- **언제 사용:**
60
- - 리팩토링 계획 수립
61
- - 코드 품질 개선 필요
62
- - 복잡도 감소, 중복 제거
59
+ **When to use:**
60
+ - Establish refactoring plan
61
+ - Code quality improvement needed
62
+ - Reduce complexity, remove duplication
63
63
 
64
- **호출 방법:**
64
+ **How to call:**
65
65
  ```bash
66
66
  @refactor-advisor
67
- # 또는 자연어
68
- " 코드 리팩토링 계획 세워줘"
69
- "코드 개선점 분석해줘"
67
+ # or natural language
68
+ "Create refactoring plan for this code"
69
+ "Analyze code improvements"
70
70
  ```
71
71
 
72
- **장점:**
73
- - 복잡도, 중복, 패턴 자동 분석
74
- - Sequential Thinking으로 개선점 도출 (3-5단계)
75
- - 우선순위별 리팩토링 계획 (High/Medium/Low)
76
- - 구체적 Before/After 코드 예시
77
- - 점진적 변경 단계 제안
78
-
79
- **분석 영역:**
80
- - 복잡도 (함수 길이, 중첩 깊이)
81
- - 중복 (동일/유사 코드)
82
- - 명명 (변수/함수명)
83
- - 구조 (파일/모듈)
84
- - 패턴 (안티패턴)
85
- - 타입 (any 제거)
86
-
87
- **plan command와의 차이:**
88
- - plan: 기능/아키텍처 변경 계획
89
- - @refactor-advisor: 기존 코드 개선 계획 (기능 변경 없음)
90
-
91
- **리팩토링 실행:**
72
+ **Benefits:**
73
+ - Auto-analyze complexity, duplication, patterns
74
+ - Derive improvements with Sequential Thinking (3-5 steps)
75
+ - Prioritized refactoring plan (High/Medium/Low)
76
+ - Concrete Before/After code examples
77
+ - Propose incremental change stages
78
+
79
+ **Analysis areas:**
80
+ - Complexity (function length, nesting depth)
81
+ - Duplication (identical/similar code)
82
+ - Naming (variable/function names)
83
+ - Structure (files/modules)
84
+ - Patterns (anti-patterns)
85
+ - Types (remove any)
86
+
87
+ **Difference from plan command:**
88
+ - plan: New feature/architecture change planning
89
+ - @refactor-advisor: Existing code improvement planning (no feature change)
90
+
91
+ **After refactoring execution:**
92
92
  ```bash
93
- # 1. 리팩토링 계획
93
+ # 1. Refactoring plan
94
94
  @refactor-advisor
95
95
 
96
- # 2. 계획 승인 구현
96
+ # 2. After plan approval, implement
97
97
  @implementation-executor
98
98
 
99
- # 3. 검증
99
+ # 3. Validation
100
100
  @deployment-validator
101
101
  ```
102
102
 
@@ -106,55 +106,55 @@ $ARGUMENTS 있음 → 다음 단계 진행
106
106
 
107
107
  <thinking_strategy>
108
108
 
109
- ## Sequential Thinking 가이드
109
+ ## Sequential Thinking Guide
110
110
 
111
- ### 복잡도 판단 (thought 1)
111
+ ### Judge complexity (thought 1)
112
112
 
113
113
  ```
114
- thought 1: 복잡도 판단
115
- - 영향 범위: 파일 수, 모듈
116
- - 의존성: 외부 라이브러리, 다른 시스템 연동
117
- - 리스크: 기존 기능 영향, 롤백 가능성
118
- - 기술적 난이도: 새로운 패턴, 미지의 영역
114
+ thought 1: Judge complexity
115
+ - Impact scope: number of files, modules
116
+ - Dependencies: external libraries, system integration
117
+ - Risk: impact on existing features, rollback possibility
118
+ - Technical difficulty: new patterns, unknown areas
119
119
  ```
120
120
 
121
- ### 복잡도별 전략
121
+ ### Strategy by complexity
122
122
 
123
- | 복잡도 | 사고 횟수 | 판단 기준 | 사고 패턴 |
124
- |--------|----------|----------|----------|
125
- | **간단** | 3 | 1-2 파일, 명확한 변경 | 복잡도 판단현재 상태옵션 도출 |
126
- | **보통** | 5 | 3-5 파일, 로직 변경 | 복잡도 판단현재 상태접근 방식 탐색 옵션 비교추천안 |
127
- | **복잡** | 7+ | 다중 모듈, 아키텍처 변경 | 복잡도 판단심층 분석제약사항접근 방식 비교상세 분석추천안 |
123
+ | Complexity | Thoughts | Criteria | Pattern |
124
+ |------------|----------|----------|---------|
125
+ | **Simple** | 3 | 1-2 files, clear changes | Judge complexitycurrent statederive options |
126
+ | **Medium** | 5 | 3-5 files, logic changes | Judge complexitycurrent stateexplore approachescompare optionsrecommendation |
127
+ | **Complex** | 7+ | multiple modules, architecture change | Judge complexitydeep analysisconstraintsapproachescomparedetailed analysisrecommendation |
128
128
 
129
- ### 보통 복잡도 패턴 (5단계)
129
+ ### Medium complexity pattern (5 steps)
130
130
 
131
131
  ```
132
- thought 1: 복잡도 판단 분석 범위 결정
133
- thought 2: 현재 상태 분석 (코드, 아키텍처, 제약)
134
- thought 3: 가능한 접근 방식 열거 (4-5)
135
- thought 4: 주요 옵션 3 선정 장단점 분석
136
- thought 5: 최종 옵션 정리 추천안 도출
132
+ thought 1: Judge complexity and determine analysis scope
133
+ thought 2: Analyze current state (code, architecture, constraints)
134
+ thought 3: Enumerate possible approaches (4-5)
135
+ thought 4: Select 3 main options and analyze pros/cons
136
+ thought 5: Finalize options and derive recommendation
137
137
  ```
138
138
 
139
- ### 복잡한 경우 패턴 (7단계)
139
+ ### Complex case pattern (7 steps)
140
140
 
141
141
  ```
142
- thought 1: 복잡도 판단
143
- thought 2: 현재 상태 심층 분석
144
- thought 3: 기술적 제약 요구사항 정리
145
- thought 4: 가능한 접근 방식 탐색
146
- thought 5: 접근 방식 비교 분석
147
- thought 6: 옵션 3 선정 상세 장단점
148
- thought 7: 추천안 근거
142
+ thought 1: Judge complexity
143
+ thought 2: Deep analysis of current state
144
+ thought 3: Summarize technical constraints and requirements
145
+ thought 4: Explore possible approaches
146
+ thought 5: Comparative analysis of each approach
147
+ thought 6: Select 3 options and detailed pros/cons
148
+ thought 7: Recommendation and rationale
149
149
  ```
150
150
 
151
- ### 핵심 원칙
151
+ ### Key principles
152
152
 
153
153
  ```text
154
- 사고 과정을 출력해야 실제로 생각이 일어남
155
- 복잡도가 불확실하면 높게 책정 (5→7로 확장 가능)
156
- thought에서 구체적 분석 필요 (추상적 설명 금지)
157
- 필요 isRevision으로 이전 사고 수정
154
+ Output thinking process to actually think
155
+ Estimate high if complexity uncertain (can expand 5→7)
156
+ Concrete analysis needed per thought (no abstract descriptions)
157
+ Revise previous thoughts with isRevision if needed
158
158
  ```
159
159
 
160
160
  </thinking_strategy>
@@ -163,63 +163,63 @@ thought 7: 추천안 및 근거
163
163
 
164
164
  <codebase_exploration>
165
165
 
166
- ## Task Subagent 활용
166
+ ## Task Subagent Usage
167
167
 
168
- ### Subagent 선택
168
+ ### Subagent selection
169
169
 
170
- | subagent_type | 용도 | 예시 |
171
- |---------------|------|------|
172
- | **Explore** | 코드베이스 구조 파악, 관련 파일 탐색 | "현재 인증 구조 분석" |
173
- | **Plan** | 구현 전략 수립, 단계별 계획 | "마이그레이션 계획 수립" |
174
- | **general-purpose** | 복잡한 분석, 다중 시스템 연관 | "여러 모듈 의존성 분석" |
170
+ | subagent_type | Purpose | Example |
171
+ |---------------|---------|---------|
172
+ | **Explore** | Understand codebase structure, explore related files | "Analyze current auth structure" |
173
+ | **Plan** | Establish implementation strategy, step-by-step planning | "Create migration plan" |
174
+ | **general-purpose** | Complex analysis, multi-system correlation | "Analyze dependencies between modules" |
175
175
 
176
- ### Task 호출 패턴
176
+ ### Task call patterns
177
177
 
178
- **단일 탐색:**
178
+ **Single exploration:**
179
179
 
180
180
  ```typescript
181
181
  Task({
182
182
  subagent_type: 'Explore',
183
- description: '현재 인증 구조 분석',
183
+ description: 'Analyze current auth structure',
184
184
  prompt: `
185
- 현재 인증 관련 코드 구조 파악.
186
- - 사용 중인 라이브러리
187
- - 세션 관리 방식
188
- - 수정이 필요한 파일 목록
185
+ Understand current authentication-related code structure.
186
+ - Libraries in use
187
+ - Session management approach
188
+ - Files needing modification
189
189
  `
190
190
  })
191
191
  ```
192
192
 
193
- **병렬 탐색 (복잡한 경우):**
193
+ **Parallel exploration (complex cases):**
194
194
 
195
195
  ```typescript
196
- // 단일 메시지에 다중 Task 호출
196
+ // Multiple Task calls in single message
197
197
  Task({
198
198
  subagent_type: 'Explore',
199
- prompt: '프론트엔드 인증 구조 분석'
199
+ prompt: 'Analyze frontend auth structure'
200
200
  })
201
201
 
202
202
  Task({
203
203
  subagent_type: 'Explore',
204
- prompt: '백엔드 API 인증 엔드포인트 분석'
204
+ prompt: 'Analyze backend API auth endpoints'
205
205
  })
206
206
 
207
207
  Task({
208
208
  subagent_type: 'Explore',
209
- prompt: '데이터베이스 세션 스키마 분석'
209
+ prompt: 'Analyze database session schema'
210
210
  })
211
211
 
212
- // → 결과 취합 옵션 정리
212
+ // → Combine results then organize options
213
213
  ```
214
214
 
215
- ### 탐색 체크리스트
215
+ ### Exploration checklist
216
216
 
217
217
  ```text
218
- 현재 구현 방식 파악
219
- 사용 중인 라이브러리/프레임워크 버전
220
- 관련 파일 디렉토리 위치
221
- 의존성 연관 모듈
222
- 기존 제약사항 (보안, 성능, 호환성)
218
+ Understand current implementation approach
219
+ Libraries/framework versions in use
220
+ Related file and directory locations
221
+ Dependencies and related modules
222
+ Existing constraints (security, performance, compatibility)
223
223
  ```
224
224
 
225
225
  </codebase_exploration>
@@ -228,75 +228,75 @@ Task({
228
228
 
229
229
  <option_presentation>
230
230
 
231
- ## 옵션 제시 형식
231
+ ## Option presentation format
232
232
 
233
- ### 옵션 3 제시 (표준)
233
+ ### Present 3 options (standard)
234
234
 
235
235
  ```markdown
236
- ## 분석 결과
236
+ ## Analysis Results
237
237
 
238
- ### 옵션 1: [옵션 이름] (추천)
238
+ ### Option 1: [Option name] (Recommended)
239
239
 
240
- **접근 방식:**
241
- - 설명 1
242
- - 설명 2
240
+ **Approach:**
241
+ - Description 1
242
+ - Description 2
243
243
 
244
- | 장점 | 단점 |
244
+ | Pros | Cons |
245
245
  |------|------|
246
- | 장점 1 | 단점 1 |
247
- | 장점 2 | 단점 2 |
246
+ | Pro 1 | Con 1 |
247
+ | Pro 2 | Con 2 |
248
248
 
249
- **영향 범위:**
250
- - 파일: `src/auth/`, `src/api/`
251
- - 예상 변경 규모: 중간
252
- - 리스크: 낮음
249
+ **Impact scope:**
250
+ - Files: `src/auth/`, `src/api/`
251
+ - Expected change size: Medium
252
+ - Risk: Low
253
253
 
254
254
  ---
255
255
 
256
- ### 옵션 2: [옵션 이름]
256
+ ### Option 2: [Option name]
257
257
 
258
- **접근 방식:**
258
+ **Approach:**
259
259
  ...
260
260
 
261
- | 장점 | 단점 |
261
+ | Pros | Cons |
262
262
  |------|------|
263
263
  | ... | ... |
264
264
 
265
- **영향 범위:**
265
+ **Impact scope:**
266
266
  ...
267
267
 
268
268
  ---
269
269
 
270
- ### 옵션 3: [옵션 이름]
270
+ ### Option 3: [Option name]
271
271
 
272
- **접근 방식:**
272
+ **Approach:**
273
273
  ...
274
274
 
275
275
  ---
276
276
 
277
- ## 추천 근거
277
+ ## Recommendation and rationale
278
278
 
279
- 옵션 1을 추천합니다.
280
- - 근거 1
281
- - 근거 2
279
+ I recommend Option 1.
280
+ - Rationale 1
281
+ - Rationale 2
282
282
 
283
- 어떤 옵션을 선택하시겠습니까? (1/2/3)
283
+ Which option would you choose? (1/2/3)
284
284
  ```
285
285
 
286
- ### 옵션 2 제시 (선택지가 명확한 경우)
286
+ ### Present 2 options (when choices are clear)
287
287
 
288
288
  ```markdown
289
- ## 분석 결과
289
+ ## Analysis Results
290
290
 
291
- 가지 접근 방식이 있습니다:
291
+ There are two approaches:
292
292
 
293
- ### 옵션 A: [옵션 이름]
293
+ ### Option A: [Option name]
294
294
  ...
295
295
 
296
- ### 옵션 B: [옵션 이름]
296
+ ### Option B: [Option name]
297
297
  ...
298
298
 
299
- 어떤 옵션을 선택하시겠습니까? (A/B)
299
+ Which option would you choose? (A/B)
300
300
  ```
301
301
 
302
302
  </option_presentation>
@@ -305,90 +305,90 @@ Task({
305
305
 
306
306
  <document_generation>
307
307
 
308
- ## 문서 작성
308
+ ## Document generation
309
309
 
310
- ### 문서 작성 질문
310
+ ### Document creation question
311
311
 
312
312
  ```
313
- 옵션 [N]을 선택하셨습니다.
313
+ You selected Option [N].
314
314
 
315
- 계획 문서를 작성할까요?
316
- - Y: .claude/plans/[기능명].md 생성
317
- - N: 바로 구현 시작
315
+ Would you like to create a plan document?
316
+ - Y: Create .claude/plans/[feature-name].md
317
+ - N: Start implementation directly
318
318
 
319
- 선택해주세요. (Y/N)
319
+ Please choose. (Y/N)
320
320
  ```
321
321
 
322
- ### 계획 문서 템플릿
322
+ ### Plan document template
323
323
 
324
- **파일 위치:** `.claude/plans/[기능명].md`
324
+ **File location:** `.claude/plans/[feature-name].md`
325
325
 
326
326
  ```markdown
327
- # [기능명] 구현 계획
327
+ # [Feature name] Implementation Plan
328
328
 
329
- ## 개요
329
+ ## Overview
330
330
 
331
- **목표:** [무엇을 달성할 것인가]
332
- **선택된 접근 방식:** [옵션 N]
333
- **예상 영향 범위:** [파일/모듈 목록]
331
+ **Goal:** [What will be achieved]
332
+ **Selected approach:** [Option N]
333
+ **Expected impact scope:** [Files/modules list]
334
334
 
335
- ## 현재 상태
335
+ ## Current state
336
336
 
337
- - 현재 구조 설명
338
- - 관련 코드 위치
339
- - 기존 제약사항
337
+ - Current structure description
338
+ - Related code location
339
+ - Existing constraints
340
340
 
341
- ## 구현 단계
341
+ ## Implementation stages
342
342
 
343
- ### 1단계: [단계 이름]
343
+ ### Stage 1: [Stage name]
344
344
 
345
- **작업:**
346
- - [ ] 작업 1
347
- - [ ] 작업 2
345
+ **Tasks:**
346
+ - [ ] Task 1
347
+ - [ ] Task 2
348
348
 
349
- **변경 파일:**
349
+ **Changed files:**
350
350
  - `src/file1.ts`
351
351
  - `src/file2.ts`
352
352
 
353
- ### 2단계: [단계 이름]
353
+ ### Stage 2: [Stage name]
354
354
 
355
- **작업:**
356
- - [ ] 작업 3
355
+ **Tasks:**
356
+ - [ ] Task 3
357
357
 
358
- **변경 파일:**
358
+ **Changed files:**
359
359
  - `src/file3.ts`
360
360
 
361
- ### 3단계: [단계 이름]
361
+ ### Stage 3: [Stage name]
362
362
  ...
363
363
 
364
- ## 고려사항
364
+ ## Considerations
365
365
 
366
- ### 리스크
366
+ ### Risks
367
367
 
368
- | 리스크 | 완화 방안 |
369
- |--------|----------|
370
- | 리스크 1 | 방안 1 |
371
- | 리스크 2 | 방안 2 |
368
+ | Risk | Mitigation |
369
+ |------|-----------|
370
+ | Risk 1 | Plan 1 |
371
+ | Risk 2 | Plan 2 |
372
372
 
373
- ### 의존성
373
+ ### Dependencies
374
374
 
375
- - 외부 라이브러리: [목록]
376
- - 다른 시스템: [목록]
375
+ - External libraries: [List]
376
+ - Other systems: [List]
377
377
 
378
- ### 롤백 계획
378
+ ### Rollback plan
379
379
 
380
- 문제 발생 롤백 방법.
380
+ How to rollback if issues occur.
381
381
 
382
- ## 검증 방법
382
+ ## Validation methods
383
383
 
384
- - 테스트 항목 1
385
- - 테스트 항목 2
386
- - 통합 테스트
384
+ - Test item 1
385
+ - Test item 2
386
+ - Integration test
387
387
 
388
- ## 참조
388
+ ## References
389
389
 
390
- - 관련 문서 링크
391
- - 참고 자료
390
+ - Related document links
391
+ - Reference materials
392
392
  ```
393
393
 
394
394
  </document_generation>
@@ -397,29 +397,29 @@ Task({
397
397
 
398
398
  <validation>
399
399
 
400
- ## 검증 체크리스트
400
+ ## Validation checklist
401
401
 
402
- 실행 전 확인:
402
+ Before execution:
403
403
 
404
404
  ```text
405
- ✅ ARGUMENT 확인 (없으면 질문)
406
- ✅ Sequential Thinking 최소 3단계
407
- ✅ Task (Explore)로 코드베이스 탐색
408
- 옵션 최소 2개, 권장 3
409
- 옵션에 장단점 명시
410
- 영향 범위 예상 작업량 제시
405
+ Verify ARGUMENT (ask if missing)
406
+ ✅ Sequential Thinking minimum 3 steps
407
+ Explore codebase with Task (Explore)
408
+ Minimum 2 options, recommended 3
409
+ List pros/cons for each option
410
+ Present impact scope and estimated work
411
411
  ```
412
412
 
413
- 절대 금지:
413
+ Absolutely forbidden:
414
414
 
415
415
  ```text
416
- ARGUMENT 없이 분석 시작
417
- ❌ Edit 도구 사용 (코드 수정 금지)
418
- ❌ Sequential Thinking 3단계 미만
419
- 옵션 1개만 제시
420
- 코드 탐색 없이 추측으로 옵션 제시
421
- 사용자 선택 없이 구현 시작
422
- 장단점 없이 옵션만 나열
416
+ Start analysis without ARGUMENT
417
+ Use Edit tool (code modification forbidden)
418
+ ❌ Sequential Thinking less than 3 steps
419
+ Present only 1 option
420
+ Suggest options by guessing without code exploration
421
+ Start implementation without user choice
422
+ List options without pros/cons
423
423
  ```
424
424
 
425
425
  </validation>
@@ -428,88 +428,88 @@ Task({
428
428
 
429
429
  <examples>
430
430
 
431
- ## 실전 예시
431
+ ## Real-world examples
432
432
 
433
- ### 예시 1: 인증 시스템 변경
433
+ ### Example 1: Change auth system
434
434
 
435
435
  ```bash
436
- 사용자: /plan 사용자 인증을 JWT에서 세션 기반으로 변경
436
+ User: /plan Change user authentication from JWT to session-based
437
437
 
438
- 1. Sequential Thinking (7단계):
439
- thought 1: "인증 시스템 변경 - 복잡도 높음, 다중 모듈 영향"
440
- thought 2: "현재 JWT 구현 분석: src/auth/jwt.ts, 토큰 검증 미들웨어"
441
- thought 3: "제약사항: 기존 사용자 세션 유지, Redis/DB 선택"
442
- thought 4: "접근 방식: 점진적 마이그레이션, 완전 대체, 하이브리드"
443
- thought 5: "점진적이 리스크 낮음, 하이브리드는 복잡도 높음"
444
- thought 6: "옵션 3 선정 장단점 분석"
445
- thought 7: "점진적 마이그레이션 추천 - 롤백 용이, 단계적 검증"
438
+ 1. Sequential Thinking (7 steps):
439
+ thought 1: "Auth system change - high complexity, multiple module impact"
440
+ thought 2: "Current JWT implementation analysis: src/auth/jwt.ts, token validation middleware"
441
+ thought 3: "Constraints: maintain existing user sessions, Redis/DB choice"
442
+ thought 4: "Approaches: incremental migration, full replacement, hybrid"
443
+ thought 5: "Incremental has low risk, hybrid high complexity"
444
+ thought 6: "Select 3 options and analyze pros/cons"
445
+ thought 7: "Recommend incremental migration - easy rollback, step-by-step validation"
446
446
 
447
- 2. Task 탐색:
448
- Task (Explore): "현재 JWT 인증 구현 분석"
449
- → src/auth/, src/middleware/, API 엔드포인트 파악
447
+ 2. Task exploration:
448
+ Task (Explore): "Analyze current JWT auth implementation"
449
+ Understand src/auth/, src/middleware/, API endpoints
450
450
 
451
- 3. 옵션 제시:
452
- 옵션 1: 점진적 마이그레이션 (추천)
453
- - 장점: 롤백 용이, 리스크 낮음
454
- - 단점: 구현 시간 길어짐
451
+ 3. Present options:
452
+ Option 1: Incremental migration (Recommended)
453
+ - Pro: Easy rollback, low risk
454
+ - Con: Longer implementation time
455
455
 
456
- 옵션 2: 완전 대체
457
- - 장점: 깔끔한 구조
458
- - 단점: 높은 리스크
456
+ Option 2: Full replacement
457
+ - Pro: Clean structure
458
+ - Con: High risk
459
459
 
460
- 옵션 3: 하이브리드 방식
461
- - 장점: 유연성
462
- - 단점: 복잡도 증가
460
+ Option 3: Hybrid approach
461
+ - Pro: Flexibility
462
+ - Con: Increased complexity
463
463
 
464
- 4. 사용자 선택: 1
464
+ 4. User choice: 1
465
465
 
466
- 5. 문서 작성 질문: Y
466
+ 5. Create document question: Y
467
467
 
468
- 6. .claude/plans/session-auth.md 생성
468
+ 6. Create .claude/plans/session-auth.md
469
469
  ```
470
470
 
471
- ### 예시 2: 실시간 알림 기능
471
+ ### Example 2: Add real-time notifications
472
472
 
473
473
  ```bash
474
- 사용자: /plan 실시간 알림 기능 추가
474
+ User: /plan Add real-time notification feature
475
475
 
476
- 1. Sequential Thinking (5단계):
477
- thought 1: "실시간 알림 - 보통 복잡도, 기능 추가"
478
- thought 2: "현재 통신 구조: REST API, 폴링 없음"
479
- thought 3: "접근 방식: WebSocket, SSE, Long Polling, Firebase"
480
- thought 4: "WebSocket 양방향, SSE 단방향이지만 간단"
481
- thought 5: "WebSocket 추천, 폴링은 비효율적"
476
+ 1. Sequential Thinking (5 steps):
477
+ thought 1: "Real-time notifications - medium complexity, new feature"
478
+ thought 2: "Current communication: REST API, no polling"
479
+ thought 3: "Approaches: WebSocket, SSE, Long Polling, Firebase"
480
+ thought 4: "WebSocket bidirectional, SSE unidirectional but simpler"
481
+ thought 5: "Recommend WebSocket, polling inefficient"
482
482
 
483
- 2. Task 탐색:
484
- Task (Explore): "현재 API 구조 클라이언트 통신 방식"
483
+ 2. Task exploration:
484
+ Task (Explore): "Analyze current API structure and client communication"
485
485
 
486
- 3. 옵션:
487
- 옵션 1: WebSocket (추천)
488
- 옵션 2: Server-Sent Events
489
- 옵션 3: Short Polling
486
+ 3. Options:
487
+ Option 1: WebSocket (Recommended)
488
+ Option 2: Server-Sent Events
489
+ Option 3: Short Polling
490
490
 
491
- 4. 선택 계획 문서 생성
491
+ 4. After selection, create plan document
492
492
  ```
493
493
 
494
- ### 예시 3: 간단한 리팩토링
494
+ ### Example 3: Simple refactoring
495
495
 
496
496
  ```bash
497
- 사용자: /plan utils 함수를 TypeScript로 전환
497
+ User: /plan Convert utils functions to TypeScript
498
498
 
499
- 1. Sequential Thinking (3단계):
500
- thought 1: "단순 리팩토링 - 간단, 1-2 파일"
501
- thought 2: "현재 utils.js 분석 필요"
502
- thought 3: "타입 정의전환테스트 검증"
499
+ 1. Sequential Thinking (3 steps):
500
+ thought 1: "Simple refactoring - simple, 1-2 files"
501
+ thought 2: "Need to analyze current utils.js"
502
+ thought 3: "Type definitionconversiontest validation"
503
503
 
504
- 2. Task 탐색:
504
+ 2. Task exploration:
505
505
  Read: src/utils.js
506
- Grep: utils 사용처 검색
506
+ Grep: search utils usages
507
507
 
508
- 3. 옵션:
509
- 옵션 A: 점진적 전환 (파일별)
510
- 옵션 B: 일괄 전환
508
+ 3. Options:
509
+ Option A: Incremental conversion (per file)
510
+ Option B: Batch conversion
511
511
 
512
- 4. 선택구현 (문서 작성 생략 가능)
512
+ 4. After choice implement (skip document creation if possible)
513
513
  ```
514
514
 
515
515
  </examples>