Issue Analysis Command
User Input
$ARGUMENTS
You MUST consider the user input before proceeding (if not empty).
Outline
Parse User Input:
- Extract task description from $ARGUMENTS
- Generate task name (2-4 words, English, hyphen-separated)
Define Problem:
- Identify current situation, problem to solve, and goals
Investigate Solutions:
- Research 2-4 approaches
- Analyze pros/cons of each approach
- Evaluate based on coding principles
Final Selection:
- Choose the most appropriate approach
- Clarify rejection reasons
Generate Questions:
- Select maximum 3 unclear items only
- Use reasonable defaults + Assumptions for the rest
Write Documents (Dual Language):
- Create
docs/work/WORK-{task-name}/analysis.ko.md (Korean - for user reference)
- Create
docs/work/WORK-{task-name}/analysis.md (English - for agent consumption)
Key Rules
📝 Documentation Language
CRITICAL: You must generate TWO versions of all documents:
- Korean version (
analysis.ko.md): For user reference - written in Korean
- English version (
analysis.md): For agent consumption - written in English
Both versions must contain identical structure and information, only the language differs.
🎯 Balanced Analysis Principles
- Problem Definition: Include concrete scenarios rather than abstract descriptions
- Solution Approach: Consider both user perspective and technical feasibility
- Implementation Method: Keep core changes concise, specify new dependencies
- Completion Criteria: Separate feature verification and technical implementation
🎭 Anti-Bias Rules (CRITICAL)
Core Principle: Be honest. Don't hide what exists, don't invent what doesn't.
Analyze First, Conclude Later
- Complete ALL approach analysis BEFORE making any selection
Write What's True
- If A has 5 pros and B has 1, write exactly that (no forced balance)
- If side effects exist, state them; if none, say so (no hiding, no inventing)
- When rejecting an approach, acknowledge what you're giving up
Neutral Language
- Forbidden: "simply", "obviously", "clearly", "just", "merely"
- Use: "may", "could", "potentially"
✅ Must Do
- Conclusion first (Executive Summary)
- Include concrete scenarios (Problem Definition) - 1-4 cases depending on issue
- Explain user impact (Solution Approach) - How will it be used?
- Evaluate technical feasibility (Solution Approach) - Why is it suitable?
- Evaluate solutions based on coding principles
- Concise bullet points
- NEEDS CLARIFICATION maximum 3
- Use reasonable defaults
❌ Must Not Do
- Verbose explanations
- Duplicate content
- Only abstract problem definitions (without concrete examples)
- Excessive technical details (going into implementation level)
- Missing user perspective (talking only about technology)
- Solutions that conflict with coding principles
- Infinite questions
- Listing obvious things (e.g., React state, JSON schema)
Document Template
Files to create:
docs/work/WORK-{task-name}/analysis.ko.md (Korean version)
docs/work/WORK-{task-name}/analysis.md (English version)
# [Task Name] - Analysis Result
## 🎯 Conclusion (TL;DR)
**Selected Approach**: [Approach Name]
**Key Reason**: [Why this approach was chosen - 1-2 sentences]
---
## 📋 Problem Definition
**Concrete Scenarios** (as needed):
- [Case 1: What problem occurs in what situation]
- [Case 2: Another specific situation]
**Current Problem**: [What is inconvenient or impossible]
**Goal**: [What this task aims to achieve]
---
## 📦 Scope
**Included**:
- [Scope Item 1]
- [Scope Item 2]
**Excluded**:
- [What to explicitly exclude]
---
## 🔍 Solution Investigation
### Approach 1: [Name]
**Method**:
- [How to solve - including user impact and technical method]
**Pros**:
- [List ALL genuine pros]
**Cons**:
- [List ALL genuine cons]
**Side Effects/Risks** (if any):
- [What negative consequences may occur]
### Approach 2: [Name]
[Same structure]
---
## ✅ Final Selection
**Adopted**: Approach N
**Trade-offs Accepted** (if any):
- [Benefit from other approaches that won't be available]
**Known Risks** (if any):
- [What could go wrong]
**Selection Reason**:
- [Why this approach is most suitable]
**Rejected Approaches** (include what you're losing):
- Approach X: [Rejection reason] — Would have provided: [lost benefit]
---
## 🛠️ Implementation Method
**Core Changes**:
- [Change Item 1]
- [Change Item 2]
**New Dependencies**: [None / Name]
---
## 🎯 Completion Criteria
**Feature Verification**:
- [ ] [Scenario 1 verification]
- [ ] [Existing feature regression test]
**Technical Implementation**:
- [ ] [Core change implementation]
- [ ] [Unit test writing]
---
## ❓ Needs Confirmation
**Current Assumptions**:
- [Assumption 1]: [Default value]
**If Needed**:
- [Items needing additional confirmation - maximum 3]
---
## 🔍 Objectivity Self-Check
- [ ] Wrote what's true (no hiding, no inventing)
- [ ] Rejected approaches' lost benefits acknowledged
- [ ] Used neutral language ("may/could", not "will/obviously")
Execution
Now start the task according to the guidelines above.
1---2name: workflow-analyze3description: Analyze issue and generate analysis.md with solution approaches. Use when starting a new task or feature to thoroughly analyze the problem and compare solution options.4---5
6# Issue Analysis Command
7
8## User Input
9
10```text
11$ARGUMENTS
12```
13
14You **MUST** consider the user input before proceeding (if not empty).
15
16---
17
18## Outline
19
201. **Parse User Input**:
21 - Extract task description from $ARGUMENTS
22 - Generate task name (2-4 words, English, hyphen-separated)
23
242. **Define Problem**:
25 - Identify current situation, problem to solve, and goals
26
273. **Investigate Solutions**:
28 - Research 2-4 approaches
29 - Analyze pros/cons of each approach
30 - Evaluate based on coding principles
31
324. **Final Selection**:
33 - Choose the most appropriate approach
34 - Clarify rejection reasons
35
365. **Generate Questions**:
37 - Select **maximum 3** unclear items only
38 - Use reasonable defaults + Assumptions for the rest
39
406. **Write Documents** (Dual Language):
41 - Create `docs/work/WORK-{task-name}/analysis.ko.md` (Korean - for user reference)
42 - Create `docs/work/WORK-{task-name}/analysis.md` (English - for agent consumption)
43
44---
45
46## Key Rules
47
48### 📝 Documentation Language
49
50**CRITICAL**: You must generate **TWO versions** of all documents:
51
521. **Korean version** (`analysis.ko.md`): For user reference - written in Korean
532. **English version** (`analysis.md`): For agent consumption - written in English
54
55**Both versions must contain identical structure and information**, only the language differs.
56
57### 🎯 Balanced Analysis Principles
58
591. **Problem Definition**: Include concrete scenarios rather than abstract descriptions
602. **Solution Approach**: Consider both user perspective and technical feasibility
613. **Implementation Method**: Keep core changes concise, specify new dependencies
624. **Completion Criteria**: Separate feature verification and technical implementation
63
64### 🎭 Anti-Bias Rules (CRITICAL)
65
66**Core Principle: Be honest. Don't hide what exists, don't invent what doesn't.**
67
681. **Analyze First, Conclude Later**
69 - Complete ALL approach analysis BEFORE making any selection
70
712. **Write What's True**
72 - If A has 5 pros and B has 1, write exactly that (no forced balance)
73 - If side effects exist, state them; if none, say so (no hiding, no inventing)
74 - When rejecting an approach, acknowledge what you're giving up
75
763. **Neutral Language**
77 - Forbidden: "simply", "obviously", "clearly", "just", "merely"
78 - Use: "may", "could", "potentially"
79
80### ✅ Must Do
81
82- Conclusion first (Executive Summary)
83- **Include concrete scenarios** (Problem Definition) - 1-4 cases depending on issue
84- **Explain user impact** (Solution Approach) - How will it be used?
85- **Evaluate technical feasibility** (Solution Approach) - Why is it suitable?
86- Evaluate solutions based on coding principles
87- Concise bullet points
88- **NEEDS CLARIFICATION maximum 3**
89- Use reasonable defaults
90
91### ❌ Must Not Do
92
93- Verbose explanations
94- Duplicate content
95- **Only abstract problem definitions** (without concrete examples)
96- **Excessive technical details** (going into implementation level)
97- **Missing user perspective** (talking only about technology)
98- Solutions that conflict with coding principles
99- Infinite questions
100- **Listing obvious things** (e.g., React state, JSON schema)
101
102---
103
104## Document Template
105
106Files to create:
107
108- `docs/work/WORK-{task-name}/analysis.ko.md` (Korean version)
109- `docs/work/WORK-{task-name}/analysis.md` (English version)
110
111```markdown
112# [Task Name] - Analysis Result
113
114## 🎯 Conclusion (TL;DR)
115
116**Selected Approach**: [Approach Name]
117**Key Reason**: [Why this approach was chosen - 1-2 sentences]
118
119---
120
121## 📋 Problem Definition
122
123**Concrete Scenarios** (as needed):
124
125- [Case 1: What problem occurs in what situation]
126- [Case 2: Another specific situation]
127
128**Current Problem**: [What is inconvenient or impossible]
129**Goal**: [What this task aims to achieve]
130
131---
132
133## 📦 Scope
134
135**Included**:
136
137- [Scope Item 1]
138- [Scope Item 2]
139
140**Excluded**:
141
142- [What to explicitly exclude]
143
144---
145
146## 🔍 Solution Investigation
147
148### Approach 1: [Name]
149
150**Method**:
151
152- [How to solve - including user impact and technical method]
153
154**Pros**:
155
156- [List ALL genuine pros]
157
158**Cons**:
159
160- [List ALL genuine cons]
161
162**Side Effects/Risks** (if any):
163
164- [What negative consequences may occur]
165
166### Approach 2: [Name]
167
168[Same structure]
169
170---
171
172## ✅ Final Selection
173
174**Adopted**: Approach N
175
176**Trade-offs Accepted** (if any):
177
178- [Benefit from other approaches that won't be available]
179
180**Known Risks** (if any):
181
182- [What could go wrong]
183
184**Selection Reason**:
185
186- [Why this approach is most suitable]
187
188**Rejected Approaches** (include what you're losing):
189
190- Approach X: [Rejection reason] — Would have provided: [lost benefit]
191
192---
193
194## 🛠️ Implementation Method
195
196**Core Changes**:
197
198- [Change Item 1]
199- [Change Item 2]
200
201**New Dependencies**: [None / Name]
202
203---
204
205## 🎯 Completion Criteria
206
207**Feature Verification**:
208
209- [ ] [Scenario 1 verification]
210- [ ] [Existing feature regression test]
211
212**Technical Implementation**:
213
214- [ ] [Core change implementation]
215- [ ] [Unit test writing]
216
217---
218
219## ❓ Needs Confirmation
220
221**Current Assumptions**:
222
223- [Assumption 1]: [Default value]
224
225**If Needed**:
226
227- [Items needing additional confirmation - maximum 3]
228
229---
230
231## 🔍 Objectivity Self-Check
232
233- [ ] Wrote what's true (no hiding, no inventing)
234- [ ] Rejected approaches' lost benefits acknowledged
235- [ ] Used neutral language ("may/could", not "will/obviously")
236```
237
238---
239
240## Execution
241
242Now start the task according to the guidelines above.