@kood/claude-code 0.4.1 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (149) hide show
  1. package/dist/index.js +69 -12
  2. package/package.json +2 -1
  3. package/templates/.claude/PARALLEL_AGENTS.md +737 -0
  4. package/templates/.claude/agents/analyst.md +416 -0
  5. package/templates/.claude/agents/architect.md +569 -0
  6. package/templates/.claude/agents/code-reviewer.md +132 -133
  7. package/templates/.claude/agents/dependency-manager.md +93 -94
  8. package/templates/.claude/agents/deployment-validator.md +64 -65
  9. package/templates/.claude/agents/designer.md +655 -0
  10. package/templates/.claude/agents/document-writer.md +500 -0
  11. package/templates/.claude/agents/explore.md +499 -0
  12. package/templates/.claude/agents/git-operator.md +74 -75
  13. package/templates/.claude/agents/implementation-executor.md +138 -109
  14. package/templates/.claude/agents/ko-to-en-translator.md +18 -22
  15. package/templates/.claude/agents/lint-fixer.md +250 -93
  16. package/templates/.claude/agents/planner.md +356 -0
  17. package/templates/.claude/agents/refactor-advisor.md +135 -136
  18. package/templates/.claude/commands/bug-fix.md +296 -207
  19. package/templates/.claude/commands/git-all.md +199 -46
  20. package/templates/.claude/commands/git-session.md +113 -57
  21. package/templates/.claude/commands/lint-fix.md +219 -153
  22. package/templates/.claude/commands/lint-init.md +113 -76
  23. package/templates/.claude/commands/pre-deploy.md +190 -124
  24. package/templates/.claude/commands/refactor.md +407 -162
  25. package/templates/.claude/commands/version-update.md +138 -37
  26. package/templates/.claude/instructions/context-engineering/ANTHROPIC_CONTEXT_ENGINEERING.md +178 -0
  27. package/templates/.claude/instructions/context-engineering/references/claude-4x.md +215 -0
  28. package/templates/.claude/instructions/context-engineering/references/core-principles.md +137 -0
  29. package/templates/.claude/instructions/context-engineering/references/examples.md +351 -0
  30. package/templates/.claude/instructions/context-engineering/references/techniques.md +162 -0
  31. package/templates/.claude/instructions/parallel-agent-execution.md +874 -0
  32. package/templates/.claude/skills/docs-creator/AGENTS.md +238 -0
  33. package/templates/.claude/{commands/docs-creator.md → skills/docs-creator/SKILL.md} +61 -75
  34. package/templates/.claude/skills/docs-refactor/AGENTS.md +270 -0
  35. package/templates/.claude/{commands/docs-refactor.md → skills/docs-refactor/SKILL.md} +30 -44
  36. package/templates/.claude/skills/execute/SKILL.md +451 -0
  37. package/templates/.claude/skills/figma-to-code/AGENTS.md +287 -0
  38. package/templates/.claude/skills/figma-to-code/SKILL.md +225 -225
  39. package/templates/.claude/skills/figma-to-code/references/design-tokens.md +75 -73
  40. package/templates/.claude/skills/figma-to-code/references/figma-mcp-tools.md +73 -73
  41. package/templates/.claude/skills/figma-to-code/references/layout-mapping.md +104 -104
  42. package/templates/.claude/skills/figma-to-code/references/responsive-design.md +99 -99
  43. package/templates/.claude/skills/figma-to-code/references/verification.md +91 -91
  44. package/templates/.claude/skills/global-uiux-design/AGENTS.md +317 -0
  45. package/templates/.claude/skills/global-uiux-design/SKILL.md +738 -0
  46. package/templates/.claude/skills/global-uiux-design/references/accessibility.md +401 -0
  47. package/templates/.claude/skills/global-uiux-design/references/color-system.md +275 -0
  48. package/templates/.claude/skills/global-uiux-design/references/design-philosophy.md +206 -0
  49. package/templates/.claude/skills/global-uiux-design/references/design-systems.md +446 -0
  50. package/templates/.claude/skills/korea-uiux-design/AGENTS.md +307 -0
  51. package/templates/.claude/skills/korea-uiux-design/SKILL.md +170 -0
  52. package/templates/.claude/skills/nextjs-react-best-practices/AGENTS.md +95 -116
  53. package/templates/.claude/skills/nextjs-react-best-practices/SKILL.md +134 -152
  54. package/templates/.claude/skills/nextjs-react-best-practices/rules/advanced-event-handler-refs.md +6 -6
  55. package/templates/.claude/skills/nextjs-react-best-practices/rules/advanced-use-latest.md +5 -5
  56. package/templates/.claude/skills/nextjs-react-best-practices/rules/async-api-routes.md +5 -5
  57. package/templates/.claude/skills/nextjs-react-best-practices/rules/async-defer-await.md +22 -22
  58. package/templates/.claude/skills/nextjs-react-best-practices/rules/async-dependencies.md +5 -5
  59. package/templates/.claude/skills/nextjs-react-best-practices/rules/async-parallel.md +4 -4
  60. package/templates/.claude/skills/nextjs-react-best-practices/rules/async-suspense-boundaries.md +21 -21
  61. package/templates/.claude/skills/nextjs-react-best-practices/rules/bundle-barrel-imports.md +18 -18
  62. package/templates/.claude/skills/nextjs-react-best-practices/rules/bundle-conditional.md +4 -4
  63. package/templates/.claude/skills/nextjs-react-best-practices/rules/bundle-defer-third-party.md +4 -4
  64. package/templates/.claude/skills/nextjs-react-best-practices/rules/bundle-dynamic-imports.md +4 -4
  65. package/templates/.claude/skills/nextjs-react-best-practices/rules/bundle-preload.md +5 -5
  66. package/templates/.claude/skills/nextjs-react-best-practices/rules/client-event-listeners.md +9 -9
  67. package/templates/.claude/skills/nextjs-react-best-practices/rules/client-swr-dedup.md +7 -7
  68. package/templates/.claude/skills/nextjs-react-best-practices/rules/js-batch-dom-css.md +13 -13
  69. package/templates/.claude/skills/nextjs-react-best-practices/rules/js-cache-function-results.md +14 -14
  70. package/templates/.claude/skills/nextjs-react-best-practices/rules/js-cache-property-access.md +4 -4
  71. package/templates/.claude/skills/nextjs-react-best-practices/rules/js-cache-storage.md +10 -10
  72. package/templates/.claude/skills/nextjs-react-best-practices/rules/js-combine-iterations.md +4 -4
  73. package/templates/.claude/skills/nextjs-react-best-practices/rules/js-early-exit.md +7 -7
  74. package/templates/.claude/skills/nextjs-react-best-practices/rules/js-hoist-regexp.md +6 -6
  75. package/templates/.claude/skills/nextjs-react-best-practices/rules/js-index-maps.md +6 -6
  76. package/templates/.claude/skills/nextjs-react-best-practices/rules/js-length-check-first.md +14 -14
  77. package/templates/.claude/skills/nextjs-react-best-practices/rules/js-min-max-loop.md +16 -16
  78. package/templates/.claude/skills/nextjs-react-best-practices/rules/js-set-map-lookups.md +4 -4
  79. package/templates/.claude/skills/nextjs-react-best-practices/rules/js-tosorted-immutable.md +17 -17
  80. package/templates/.claude/skills/nextjs-react-best-practices/rules/rendering-activity.md +4 -4
  81. package/templates/.claude/skills/nextjs-react-best-practices/rules/rendering-animate-svg-wrapper.md +11 -11
  82. package/templates/.claude/skills/nextjs-react-best-practices/rules/rendering-conditional-render.md +8 -8
  83. package/templates/.claude/skills/nextjs-react-best-practices/rules/rendering-content-visibility.md +4 -4
  84. package/templates/.claude/skills/nextjs-react-best-practices/rules/rendering-hoist-jsx.md +6 -6
  85. package/templates/.claude/skills/nextjs-react-best-practices/rules/rendering-hydration-no-flicker.md +14 -14
  86. package/templates/.claude/skills/nextjs-react-best-practices/rules/rendering-svg-precision.md +5 -5
  87. package/templates/.claude/skills/nextjs-react-best-practices/rules/rerender-defer-reads.md +4 -4
  88. package/templates/.claude/skills/nextjs-react-best-practices/rules/rerender-dependencies.md +7 -7
  89. package/templates/.claude/skills/nextjs-react-best-practices/rules/rerender-derived-state.md +5 -5
  90. package/templates/.claude/skills/nextjs-react-best-practices/rules/rerender-functional-setstate.md +34 -34
  91. package/templates/.claude/skills/nextjs-react-best-practices/rules/rerender-lazy-state-init.md +15 -15
  92. package/templates/.claude/skills/nextjs-react-best-practices/rules/rerender-memo.md +5 -5
  93. package/templates/.claude/skills/nextjs-react-best-practices/rules/rerender-transitions.md +4 -4
  94. package/templates/.claude/skills/nextjs-react-best-practices/rules/server-after-nonblocking.md +24 -24
  95. package/templates/.claude/skills/nextjs-react-best-practices/rules/server-cache-lru.md +10 -10
  96. package/templates/.claude/skills/nextjs-react-best-practices/rules/server-cache-react.md +4 -4
  97. package/templates/.claude/skills/nextjs-react-best-practices/rules/server-parallel-fetching.md +5 -5
  98. package/templates/.claude/skills/nextjs-react-best-practices/rules/server-serialization.md +6 -6
  99. package/templates/.claude/skills/plan/SKILL.md +594 -0
  100. package/templates/.claude/skills/prd/SKILL.md +496 -0
  101. package/templates/.claude/skills/ralph/AGENTS.md +393 -0
  102. package/templates/.claude/skills/ralph/SKILL.md +1035 -0
  103. package/templates/.claude/skills/tanstack-start-react-best-practices/AGENTS.md +100 -121
  104. package/templates/.claude/skills/tanstack-start-react-best-practices/SKILL.md +139 -157
  105. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/async-defer-await.md +22 -22
  106. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/async-dependencies.md +5 -5
  107. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/async-loader.md +7 -7
  108. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/async-parallel.md +4 -4
  109. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/bundle-barrel-imports.md +18 -18
  110. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/bundle-conditional.md +4 -4
  111. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/bundle-defer-third-party.md +4 -4
  112. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/bundle-lazy-routes.md +12 -12
  113. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/bundle-preload.md +5 -5
  114. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/client-event-listeners.md +9 -9
  115. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/client-tanstack-query.md +12 -12
  116. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/js-batch-dom-css.md +13 -13
  117. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/js-cache-function-results.md +14 -14
  118. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/js-cache-property-access.md +4 -4
  119. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/js-cache-storage.md +10 -10
  120. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/js-combine-iterations.md +4 -4
  121. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/js-early-exit.md +7 -7
  122. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/js-hoist-regexp.md +6 -6
  123. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/js-index-maps.md +6 -6
  124. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/js-length-check-first.md +14 -14
  125. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/js-min-max-loop.md +16 -16
  126. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/js-set-map-lookups.md +4 -4
  127. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/js-tosorted-immutable.md +17 -17
  128. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/rendering-animate-svg-wrapper.md +11 -11
  129. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/rendering-conditional-render.md +8 -8
  130. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/rendering-content-visibility.md +4 -4
  131. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/rendering-hoist-jsx.md +6 -6
  132. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/rendering-svg-precision.md +5 -5
  133. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/rerender-defer-reads.md +4 -4
  134. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/rerender-dependencies.md +7 -7
  135. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/rerender-derived-state.md +5 -5
  136. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/rerender-functional-setstate.md +34 -34
  137. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/rerender-lazy-state-init.md +15 -15
  138. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/rerender-memo.md +5 -5
  139. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/rerender-transitions.md +4 -4
  140. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/server-cache-lru.md +12 -12
  141. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/server-deferred-data.md +14 -14
  142. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/server-parallel-fetching.md +9 -9
  143. package/templates/.claude/skills/tanstack-start-react-best-practices/rules/server-serialization.md +6 -6
  144. package/templates/.claude/commands/agent-creator.md +0 -370
  145. package/templates/.claude/commands/command-creator.md +0 -524
  146. package/templates/.claude/commands/execute.md +0 -469
  147. package/templates/.claude/commands/git.md +0 -98
  148. package/templates/.claude/commands/plan.md +0 -526
  149. package/templates/.claude/commands/prd.md +0 -629
@@ -1,84 +1,68 @@
1
1
  ---
2
2
  description: tsc/eslint 오류 검사 및 하나씩 꼼꼼히 수정. @lint-fixer 에이전트 필수 사용.
3
3
  allowed-tools: Task
4
- argument-hint: [file/directory paths...]
4
+ argument-hint: [파일/디렉토리 경로...]
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
-
23
7
  # Lint Fix Command
24
8
 
25
- > Automatically fix tsc/eslint errors using the @lint-fixer agent.
9
+ > @lint-fixer 에이전트를 사용하여 tsc/eslint 오류를 자동으로 수정.
26
10
 
27
11
  ---
28
12
 
29
13
  <critical_requirements>
30
14
 
31
- ## ⚠️ CRITICAL: Required checks before proceeding
15
+ ## ⚠️ CRITICAL: 작업 시작 필수 확인
32
16
 
33
- **This command must use the @lint-fixer agent.**
17
+ **이 커맨드는 반드시 @lint-fixer 에이전트를 사용해야 합니다.**
34
18
 
35
- ### MANDATORY: Call @lint-fixer with Task tool
19
+ ### MANDATORY: Task 도구로 @lint-fixer 호출
36
20
 
37
21
  ```typescript
38
22
  Task({
39
23
  subagent_type: 'lint-fixer',
40
- description: 'Fix tsc/eslint errors',
24
+ description: 'tsc/eslint 오류 수정',
41
25
  prompt: `
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
26
+ $ARGUMENTS 처리:
27
+ ${$ARGUMENTS ? `특정 경로: ${$ARGUMENTS}` : '전체 프로젝트 검사'}
28
+
29
+ 수행할 작업:
30
+ 1. tsc + eslint 병렬 검사
31
+ 2. 오류 분류 (간단/복잡)
32
+ 3. TodoWrite로 오류 목록 생성
33
+ 4. 간단한 오류: 즉시 수정
34
+ 5. 복잡한 오류: Sequential Thinking으로 분석 후 수정
35
+ 6. 전체 재검사로 완료 확인
52
36
  `
53
37
  })
54
38
  ```
55
39
 
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
40
+ **❌ 절대 금지:**
41
+ - Bash 도구로 tsc/eslint 직접 실행 수동 수정
42
+ - @lint-fixer 없이 오류 수정
43
+ - 커맨드 내에서 직접 오류 분석/수정
60
44
 
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
45
+ **✅ 필수:**
46
+ - Task 도구로 @lint-fixer 에이전트 호출
47
+ - 모든 lint 작업을 에이전트에 위임
48
+ - 에이전트가 자동으로 간단/복잡 판단 처리
65
49
 
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)
50
+ **@lint-fixer 에이전트 장점:**
51
+ - 간단한 오류는 즉시 수정 (Sequential Thinking 불필요)
52
+ - 복잡한 오류만 Sequential Thinking 사용 (효율적)
53
+ - TodoWrite로 진행 상황 자동 추적
54
+ - 우선순위 자동 정렬 (타입 오류린트 오류)
71
55
 
72
56
  ---
73
57
 
74
- **Self-check before proceeding:**
58
+ **진행 자가 점검:**
75
59
  ```text
76
- □ Task tool ready to use?
77
- Delegating work to @lint-fixer agent?
78
- Not executing tsc/eslint directly with Bash?
60
+ □ Task 도구 사용 준비?
61
+ □ @lint-fixer 에이전트로 작업 위임?
62
+ Bash로 tsc/eslint 직접 실행 안 함?
79
63
  ```
80
64
 
81
- **⚠️ Do not start if checklist is not complete.**
65
+ **⚠️ 체크리스트를 통과하지 않으면 작업을 시작하지 마세요.**
82
66
 
83
67
  </critical_requirements>
84
68
 
@@ -86,11 +70,11 @@ Task({
86
70
 
87
71
  <forbidden>
88
72
 
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 |
73
+ | 분류 | 금지 |
74
+ |------|------|
75
+ | **회피** | `any` 타입, `@ts-ignore`, `eslint-disable` 남발 |
76
+ | **전략** | 여러 오류 동시 수정, 오류 메시지만 보고 급하게 수정 |
77
+ | **분석** | Sequential Thinking 없이 수정 |
94
78
 
95
79
  </forbidden>
96
80
 
@@ -98,48 +82,130 @@ Task({
98
82
 
99
83
  <agent_usage>
100
84
 
101
- ## @lint-fixer Agent Usage
85
+ ## @lint-fixer Agent 활용
102
86
 
103
- **When to use:**
104
- - 10+ errors
105
- - Multiple complex type errors
106
- - Want automatic fixing in background
87
+ **언제 사용:**
88
+ - 10 이상 오류
89
+ - 복잡한 타입 오류 다수
90
+ - 백그라운드에서 자동 수정 원할
107
91
 
108
- **How to call:**
92
+ **호출 방법:**
109
93
  ```bash
110
94
  @lint-fixer
111
- # or natural language
112
- "Fix lint errors automatically"
95
+ # 또는 자연어
96
+ "lint 오류 자동으로 수정해줘"
113
97
  ```
114
98
 
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)
99
+ **장점:**
100
+ - 간단한 오류는 즉시 수정 (Sequential Thinking 불필요)
101
+ - 복잡한 오류만 Sequential Thinking 사용 (효율적)
102
+ - 독립적 context에서 실행 (메인 작업 병렬 가능)
119
103
 
120
- **Direct fix vs Agent:**
104
+ **직접 수정 vs Agent:**
121
105
 
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 |
106
+ | 상황 | 권장 방법 |
107
+ |------|----------|
108
+ | 1-5 오류, 간단 | 직접 수정 (command) |
109
+ | 10 이상 오류 | @lint-fixer |
110
+ | 복잡한 타입 오류 다수 | @lint-fixer |
111
+ | 빠른 수정 필요 | 직접 수정 |
112
+ | 백그라운드 실행 | @lint-fixer |
129
113
 
130
114
  </agent_usage>
131
115
 
132
116
  ---
133
117
 
118
+ <parallel_agent_execution>
119
+
120
+ ## 병렬 에이전트 실행
121
+
122
+ **Recommended Agents:**
123
+
124
+ | Agent | Model | 용도 |
125
+ |-------|-------|------|
126
+ | @lint-fixer | haiku/sonnet | 오류 수정 |
127
+ | @explore | haiku | 관련 파일 탐색 |
128
+ | @code-reviewer | haiku | 수정 후 검증 |
129
+
130
+ **Parallel Execution Patterns:**
131
+
132
+ 1. **파일별 병렬 수정:** 각 파일마다 별도 lint-fixer
133
+ 2. **오류 타입별 병렬:** 타입 오류와 린트 오류 동시 수정
134
+ 3. **수정 + 검증 병렬:** 여러 파일 동시 수정 후 검증
135
+
136
+ **Model Routing:**
137
+
138
+ | 복잡도 | 오류 범위 | 모델 |
139
+ |--------|----------|------|
140
+ | LOW | 단순 오류 (1-5개) | haiku |
141
+ | MEDIUM | 일반 오류 (6-20개) | sonnet |
142
+ | HIGH | 복잡한 오류 (타입 추론) | sonnet/opus |
143
+
144
+ **Practical Examples:**
145
+
146
+ ```typescript
147
+ // ✅ 파일별 병렬 수정
148
+ Task({
149
+ subagent_type: 'lint-fixer',
150
+ model: 'haiku',
151
+ prompt: 'src/utils/format.ts 린트 오류 수정'
152
+ })
153
+ Task({
154
+ subagent_type: 'lint-fixer',
155
+ model: 'haiku',
156
+ prompt: 'src/components/Button.tsx 린트 오류 수정'
157
+ })
158
+
159
+ // ✅ 타입 + 린트 병렬
160
+ Task({
161
+ subagent_type: 'lint-fixer',
162
+ model: 'sonnet',
163
+ prompt: '타입 오류 수정'
164
+ })
165
+ Task({
166
+ subagent_type: 'lint-fixer',
167
+ model: 'haiku',
168
+ prompt: 'ESLint 오류 수정'
169
+ })
170
+
171
+ // ✅ 수정 + 검증 병렬
172
+ Task({
173
+ subagent_type: 'lint-fixer',
174
+ model: 'haiku',
175
+ prompt: 'src/utils/*.ts 파일들 린트 오류 수정'
176
+ })
177
+ Task({
178
+ subagent_type: 'code-reviewer',
179
+ model: 'haiku',
180
+ prompt: '수정된 파일들 코드 품질 검증'
181
+ })
182
+
183
+ // ✅ 탐색 + 수정 병렬
184
+ Task({
185
+ subagent_type: 'explore',
186
+ model: 'haiku',
187
+ prompt: '타입 정의 파일 위치 탐색'
188
+ })
189
+ Task({
190
+ subagent_type: 'lint-fixer',
191
+ model: 'sonnet',
192
+ prompt: '타입 오류 수정'
193
+ })
194
+ ```
195
+
196
+ </parallel_agent_execution>
197
+
198
+ ---
199
+
134
200
  <required>
135
201
 
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 |
202
+ | 분류 | 필수 |
203
+ |------|------|
204
+ | **Thinking** | Sequential Thinking 3-5단계 (각 오류마다) |
205
+ | **Tracking** | TodoWrite로 오류 목록 추적 |
206
+ | **Strategy** | 하나씩 수정재검사다음 오류 |
207
+ | **Validation** | 파일 수정 해당 파일 재검사 |
208
+ | **Parallel** | 5 이상 독립 오류 Task 도구로 병렬 분석 |
143
209
 
144
210
  </required>
145
211
 
@@ -147,22 +213,22 @@ Task({
147
213
 
148
214
  <workflow>
149
215
 
150
- 1. **Check**
216
+ 1. **검사**
151
217
  ```bash
152
218
  npx tsc --noEmit
153
219
  npx eslint .
154
220
  ```
155
221
 
156
- 2. **Create TodoWrite**
157
- - Organize error list
222
+ 2. **TodoWrite 생성**
223
+ - 오류 목록 정리
158
224
 
159
- 3. **Sequential fix** (per error)
160
- - Sequential Thinking 3-5 steps
161
- - Apply fix
162
- - Recheck file
163
- - Update TodoWrite (completed)
225
+ 3. **순차 수정** ( 오류마다)
226
+ - Sequential Thinking 3-5단계
227
+ - 수정 적용
228
+ - 해당 파일 재검사
229
+ - TodoWrite 업데이트 (completed)
164
230
 
165
- 4. **Full recheck**
231
+ 4. **전체 재검사**
166
232
 
167
233
  </workflow>
168
234
 
@@ -170,24 +236,24 @@ Task({
170
236
 
171
237
  <sequential_thinking>
172
238
 
173
- **Required for each error:**
239
+ **각 오류마다 필수:**
174
240
 
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 |
241
+ | 단계 | 내용 |
242
+ |------|------|
243
+ | 1 | 오류 메시지 분석 이해 |
244
+ | 2 | 관련 코드 컨텍스트 파악 |
245
+ | 3 | 근본 원인 식별 |
246
+ | 4 | 수정 방안 검토 (여러 옵션 고려) |
247
+ | 5 | 최적 수정 방안 선택 적용 |
182
248
 
183
- **Parameters:**
249
+ **파라미터:**
184
250
 
185
251
  ```typescript
186
252
  {
187
- thought: "Current thinking content",
253
+ thought: "현재 사고 내용",
188
254
  nextThoughtNeeded: true | false,
189
- thoughtNumber: 1, // current step
190
- totalThoughts: 5 // expected total steps (dynamic)
255
+ thoughtNumber: 1, // 현재 단계
256
+ totalThoughts: 5 // 예상 단계 (동적 조정 가능)
191
257
  }
192
258
  ```
193
259
 
@@ -197,28 +263,28 @@ Task({
197
263
 
198
264
  <parallel_strategy>
199
265
 
200
- **With 5+ errors:**
266
+ **5 이상 오류 시:**
201
267
 
202
268
  ```
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
269
+ 1. 독립적 오류 그룹 식별
270
+ 2. Task 도구로 병렬 분석 (단일 메시지에 다중 Task 호출)
271
+ 3. 분석 결과 취합 순차 수정
206
272
  ```
207
273
 
208
- **Rules:**
274
+ **규칙:**
209
275
 
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 |
276
+ | 규칙 | 설명 |
277
+ |------|------|
278
+ | 독립성 확인 | 같은 파일/연관 타입순차 처리 |
279
+ | 분석만 병렬 | 수정 적용은 항상 순차 |
280
+ | 결과 검증 | 충돌 Sequential Thinking으로 해결 |
215
281
 
216
282
  **subagent_type:**
217
283
 
218
- | Type | Purpose |
219
- |------|---------|
220
- | `Explore` | Explore code context related to error |
221
- | `general-purpose` | Deep analysis of complex type errors |
284
+ | 유형 | 용도 |
285
+ |------|------|
286
+ | `Explore` | 오류 관련 코드 컨텍스트 탐색 |
287
+ | `general-purpose` | 복잡한 타입 오류 심층 분석 |
222
288
 
223
289
  </parallel_strategy>
224
290
 
@@ -226,29 +292,29 @@ Task({
226
292
 
227
293
  <commands>
228
294
 
229
- **Check:**
295
+ **검사:**
230
296
 
231
297
  ```bash
232
- # TypeScript (all)
298
+ # TypeScript (전체)
233
299
  npx tsc --noEmit
234
300
 
235
- # TypeScript (specific file)
301
+ # TypeScript (특정 파일)
236
302
  npx tsc --noEmit $ARGUMENTS
237
303
 
238
- # ESLint (all)
304
+ # ESLint (전체)
239
305
  npx eslint .
240
306
 
241
- # ESLint (specific file/directory)
307
+ # ESLint (특정 파일/디렉토리)
242
308
  npx eslint $ARGUMENTS
243
309
  ```
244
310
 
245
- **Argument handling:**
311
+ **인수 처리:**
246
312
 
247
- | Argument | Action |
248
- |----------|--------|
249
- | None | Check entire project |
250
- | File path | Check that file only |
251
- | Directory | Check that directory only |
313
+ | 인수 | 동작 |
314
+ |------|------|
315
+ | 없음 | 전체 프로젝트 검사 |
316
+ | 파일 경로 | 해당 파일만 |
317
+ | 디렉토리 | 해당 디렉토리만 |
252
318
 
253
319
  </commands>
254
320
 
@@ -256,46 +322,46 @@ npx eslint $ARGUMENTS
256
322
 
257
323
  <examples>
258
324
 
259
- **Example 1: Sequential Thinking workflow**
325
+ **Example 1: Sequential Thinking 워크플로우**
260
326
 
261
327
  ```
262
- 1. Run npx tsc --noEmit
328
+ 1. npx tsc --noEmit 실행
263
329
  → TS2322: Type 'string' is not assignable to type 'number'
264
330
 
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"
331
+ 2. Sequential Thinking 시작:
332
+ thought 1: "TS2322 오류. string number에 할당 시도"
333
+ thought 2: "해당 파일의 변수 타입과 확인 필요"
334
+ thought 3: "함수 반환 타입이 number인데 string 반환 "
335
+ thought 4: "수정 옵션: 1) 반환값 수정 2) 타입 수정"
336
+ thought 5: "반환값을 올바른 number로 수정하는 것이 적절"
271
337
 
272
- 3. Apply fix with Edit
338
+ 3. Edit으로 수정 적용
273
339
 
274
- 4. Recheck with npx tsc --noEmit $FILE → confirm resolution
340
+ 4. npx tsc --noEmit $FILE 재검사 해결 확인
275
341
 
276
- 5. Update TodoWrite (completed) → next error
342
+ 5. TodoWrite 업데이트 (completed) → 다음 오류
277
343
  ```
278
344
 
279
- **Example 2: Parallel processing (5+ errors)**
345
+ **Example 2: 병렬 처리 (5 이상 오류)**
280
346
 
281
347
  ```
282
- Found 3 independent file errors:
348
+ 독립적 파일 3개의 오류 발견:
283
349
 
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"
350
+ Task 1: "src/utils/api.ts TS2322 분석 - 타입 불일치 원인과 수정 방안"
351
+ Task 2: "src/components/Form.tsx의 ESLint no-unused-vars 분석"
352
+ Task 3: "src/hooks/useAuth.ts TS2532 분석 - undefined 체크 위치"
287
353
 
288
- Run 3 Tasks in parallel (single message)
289
- Combine results then use Sequential Thinking to determine fix order
290
- Apply sequential fixes
354
+ → 3 Task 병렬 실행 (단일 메시지)
355
+ 결과 취합 Sequential Thinking으로 수정 순서 결정
356
+ 순차 수정 적용
291
357
  ```
292
358
 
293
- **Example 3: Priority**
359
+ **Example 3: 우선순위**
294
360
 
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 |
361
+ | 우선순위 | 유형 | 예시 |
362
+ |----------|------|------|
363
+ | 1 | 타입 오류 (컴파일 차단) | TS2322, TS2345 |
364
+ | 2 | 린트 오류 (error 레벨) | no-unused-vars |
365
+ | 3 | 린트 경고 (warning 레벨) | prefer-const |
300
366
 
301
367
  </examples>