Skip to content

Commit 9533826

Browse files
committed
chore: add dual language document generation to workflow commands
Workflow commands generated only Korean documents, causing next-stage agents to misunderstand Korean context - Modified analysis, plan, validate commands to generate both Korean and English versions - Korean version (*.ko.md): For user reference - English version (*.md): For agent consumption in next workflow steps
1 parent a700a8d commit 9533826

File tree

3 files changed

+40
-13
lines changed

3 files changed

+40
-13
lines changed

.claude/commands/workflow:analyze.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,23 @@ You **MUST** consider the user input before proceeding (if not empty).
4040
- Select **maximum 3** unclear items only
4141
- Use reasonable defaults + Assumptions for the rest
4242

43-
7. **Write Document**:
44-
- Create `docs/work/WORK-{task-name}/analysis.md`
45-
- Use template structure below
43+
7. **Write Documents** (Dual Language):
44+
- Create `docs/work/WORK-{task-name}/analysis.ko.md` (Korean - for user reference)
45+
- Create `docs/work/WORK-{task-name}/analysis.md` (English - for agent consumption)
46+
- Use template structure below for both versions
4647

4748
---
4849

4950
## Key Rules
5051

5152
### 📝 Documentation Language
5253

53-
**CRITICAL**: All documents you generate (`analysis.md`) **MUST be written in Korean**.
54+
**CRITICAL**: You must generate **TWO versions** of all documents:
55+
56+
1. **Korean version** (`analysis.ko.md`): For user reference - written in Korean
57+
2. **English version** (`analysis.md`): For agent consumption - written in English
58+
59+
**Both versions must contain identical structure and information**, only the language differs.
5460

5561
### 🎯 Balanced Analysis Principles
5662

@@ -95,7 +101,10 @@ You **MUST** consider the user input before proceeding (if not empty).
95101

96102
## Document Template
97103

98-
File to create: `docs/work/WORK-{task-name}/analysis.md`
104+
Files to create:
105+
106+
- `docs/work/WORK-{task-name}/analysis.ko.md` (Korean version)
107+
- `docs/work/WORK-{task-name}/analysis.md` (English version)
99108

100109
```markdown
101110
# [Task Name] - Analysis Result

.claude/commands/workflow:plan.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,16 +32,22 @@ description: Generate implementation plan with commit-level tasks
3232
6. **Review Principle Violations**:
3333
- Create Complexity Tracking table if Skills principle violations are necessary
3434

35-
7. **Write Document**:
36-
- Create `docs/work/WORK-{name}/plan.md`
35+
7. **Write Documents** (Dual Language):
36+
- Create `docs/work/WORK-{name}/plan.ko.md` (Korean - for user reference)
37+
- Create `docs/work/WORK-{name}/plan.md` (English - for agent consumption)
3738

3839
---
3940

4041
## Key Rules
4142

4243
### 📝 Documentation Language
4344

44-
**CRITICAL**: All documents you generate (`plan.md`) **MUST be written in Korean**.
45+
**CRITICAL**: You must generate **TWO versions** of all documents:
46+
47+
1. **Korean version** (`plan.ko.md`): For user reference - written in Korean
48+
2. **English version** (`plan.md`): For agent consumption - written in English
49+
50+
**Both versions must contain identical structure and information**, only the language differs.
4551

4652
### ✅ Must Do
4753

@@ -89,7 +95,10 @@ description: Generate implementation plan with commit-level tasks
8995

9096
## Document Template
9197

92-
File to create: `docs/work/WORK-{task-name}/plan.md`
98+
Files to create:
99+
100+
- `docs/work/WORK-{task-name}/plan.ko.md` (Korean version)
101+
- `docs/work/WORK-{task-name}/plan.md` (English version)
93102

94103
```markdown
95104
# [Task Name] - Implementation Plan

.claude/commands/workflow:validate.md

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,9 @@ $ARGUMENTS
4949
- Determine status: ✅ Success / ⚠️ Partial Success / ❌ Failure
5050
- Document findings and constraints
5151

52-
7. **Write Document**:
53-
- Create `docs/work/WORK-{name}/validation.md`
52+
7. **Write Documents** (Dual Language):
53+
- Create `docs/work/WORK-{name}/validation.ko.md` (Korean - for user reference)
54+
- Create `docs/work/WORK-{name}/validation.md` (English - for agent consumption)
5455
- Include clear next steps recommendation
5556

5657
---
@@ -59,7 +60,12 @@ $ARGUMENTS
5960

6061
### 📝 Documentation Language
6162

62-
**CRITICAL**: All documents you generate (`validation.md`) **MUST be written in Korean**.
63+
**CRITICAL**: You must generate **TWO versions** of all documents:
64+
65+
1. **Korean version** (`validation.ko.md`): For user reference - written in Korean
66+
2. **English version** (`validation.md`): For agent consumption - written in English
67+
68+
**Both versions must contain identical structure and information**, only the language differs.
6369

6470
### 🎯 Validation Principles
6571

@@ -123,7 +129,10 @@ $ARGUMENTS
123129

124130
## Document Template
125131

126-
File to create: `docs/work/WORK-{task-name}/validation.md`
132+
Files to create:
133+
134+
- `docs/work/WORK-{task-name}/validation.ko.md` (Korean version)
135+
- `docs/work/WORK-{task-name}/validation.md` (English version)
127136

128137
### Template A: AI-Completed Validation
129138

0 commit comments

Comments
 (0)