oh-my-customcode 0.9.2 → 0.9.4
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.
- package/README.md +25 -30
- package/dist/cli/index.js +1315 -568
- package/dist/index.js +234 -17
- package/package.json +1 -1
- package/templates/.claude/agents/arch-documenter.md +7 -71
- package/templates/.claude/agents/arch-speckit-agent.md +21 -108
- package/templates/.claude/agents/be-express-expert.md +8 -58
- package/templates/.claude/agents/be-nestjs-expert.md +6 -38
- package/templates/.claude/agents/be-springboot-expert.md +11 -56
- package/templates/.claude/agents/db-postgres-expert.md +10 -80
- package/templates/.claude/agents/db-redis-expert.md +10 -75
- package/templates/.claude/agents/db-supabase-expert.md +12 -48
- package/templates/.claude/agents/de-airflow-expert.md +8 -45
- package/templates/.claude/agents/de-dbt-expert.md +8 -46
- package/templates/.claude/agents/de-kafka-expert.md +10 -10
- package/templates/.claude/agents/de-pipeline-expert.md +9 -69
- package/templates/.claude/agents/de-snowflake-expert.md +9 -62
- package/templates/.claude/agents/de-spark-expert.md +10 -54
- package/templates/.claude/agents/fe-svelte-agent.md +5 -41
- package/templates/.claude/agents/fe-vercel-agent.md +9 -41
- package/templates/.claude/agents/fe-vuejs-agent.md +7 -42
- package/templates/.claude/agents/lang-java21-expert.md +11 -37
- package/templates/.claude/agents/mgr-claude-code-bible.md +22 -207
- package/templates/.claude/agents/mgr-creator.md +7 -88
- package/templates/.claude/agents/mgr-gitnerd.md +8 -76
- package/templates/.claude/agents/mgr-sauron.md +27 -20
- package/templates/.claude/agents/mgr-supplier.md +11 -96
- package/templates/.claude/agents/mgr-sync-checker.md +9 -70
- package/templates/.claude/agents/mgr-updater.md +9 -79
- package/templates/.claude/agents/qa-engineer.md +8 -72
- package/templates/.claude/agents/qa-planner.md +2 -3
- package/templates/.claude/agents/qa-writer.md +6 -76
- package/templates/.claude/agents/sys-memory-keeper.md +13 -87
- package/templates/.claude/agents/sys-naggy.md +9 -62
- package/templates/.claude/agents/tool-bun-expert.md +7 -52
- package/templates/.claude/agents/tool-npm-expert.md +6 -64
- package/templates/.claude/agents/tool-optimizer.md +7 -60
- package/templates/.claude/rules/MAY-optimization.md +16 -80
- package/templates/.claude/rules/MUST-agent-design.md +29 -134
- package/templates/.claude/rules/MUST-agent-identification.md +9 -88
- package/templates/.claude/rules/MUST-continuous-improvement.md +10 -117
- package/templates/.claude/rules/MUST-intent-transparency.md +14 -171
- package/templates/.claude/rules/MUST-language-policy.md +11 -46
- package/templates/.claude/rules/MUST-orchestrator-coordination.md +82 -425
- package/templates/.claude/rules/MUST-parallel-execution.md +33 -405
- package/templates/.claude/rules/MUST-permissions.md +14 -68
- package/templates/.claude/rules/MUST-safety.md +11 -57
- package/templates/.claude/rules/MUST-sync-verification.md +49 -205
- package/templates/.claude/rules/MUST-tool-identification.md +21 -134
- package/templates/.claude/rules/SHOULD-agent-teams.md +22 -166
- package/templates/.claude/rules/SHOULD-ecomode.md +15 -123
- package/templates/.claude/rules/SHOULD-error-handling.md +19 -88
- package/templates/.claude/rules/SHOULD-hud-statusline.md +9 -89
- package/templates/.claude/rules/SHOULD-interaction.md +18 -87
- package/templates/.claude/rules/SHOULD-memory-integration.md +25 -118
- package/templates/.claude/skills/dev-lead-routing/SKILL.md +70 -243
- package/templates/.claude/skills/springboot-best-practices/SKILL.md +180 -319
- package/templates/.codex/agents/arch-documenter.md +7 -71
- package/templates/.codex/agents/arch-speckit-agent.md +21 -108
- package/templates/.codex/agents/be-express-expert.md +8 -58
- package/templates/.codex/agents/be-nestjs-expert.md +6 -38
- package/templates/.codex/agents/be-springboot-expert.md +11 -56
- package/templates/.codex/agents/db-postgres-expert.md +10 -80
- package/templates/.codex/agents/db-redis-expert.md +10 -75
- package/templates/.codex/agents/db-supabase-expert.md +12 -48
- package/templates/.codex/agents/de-airflow-expert.md +8 -45
- package/templates/.codex/agents/de-dbt-expert.md +8 -46
- package/templates/.codex/agents/de-kafka-expert.md +10 -10
- package/templates/.codex/agents/de-pipeline-expert.md +9 -69
- package/templates/.codex/agents/de-snowflake-expert.md +9 -62
- package/templates/.codex/agents/de-spark-expert.md +10 -54
- package/templates/.codex/agents/fe-svelte-agent.md +5 -41
- package/templates/.codex/agents/fe-vercel-agent.md +9 -41
- package/templates/.codex/agents/fe-vuejs-agent.md +7 -42
- package/templates/.codex/agents/infra-aws-expert.md +1 -1
- package/templates/.codex/agents/infra-docker-expert.md +1 -1
- package/templates/.codex/agents/lang-java21-expert.md +11 -37
- package/templates/.codex/agents/mgr-claude-code-bible.md +25 -210
- package/templates/.codex/agents/mgr-creator.md +7 -88
- package/templates/.codex/agents/mgr-gitnerd.md +8 -76
- package/templates/.codex/agents/mgr-sauron.md +30 -23
- package/templates/.codex/agents/mgr-supplier.md +11 -96
- package/templates/.codex/agents/mgr-sync-checker.md +12 -73
- package/templates/.codex/agents/mgr-updater.md +9 -79
- package/templates/.codex/agents/qa-engineer.md +8 -72
- package/templates/.codex/agents/qa-planner.md +2 -3
- package/templates/.codex/agents/qa-writer.md +6 -76
- package/templates/.codex/agents/sys-memory-keeper.md +13 -87
- package/templates/.codex/agents/sys-naggy.md +9 -62
- package/templates/.codex/agents/tool-bun-expert.md +7 -52
- package/templates/.codex/agents/tool-npm-expert.md +6 -64
- package/templates/.codex/agents/tool-optimizer.md +7 -60
- package/templates/.codex/rules/MAY-optimization.md +16 -80
- package/templates/.codex/rules/MUST-agent-design.md +29 -134
- package/templates/.codex/rules/MUST-agent-identification.md +9 -88
- package/templates/.codex/rules/MUST-continuous-improvement.md +10 -117
- package/templates/.codex/rules/MUST-intent-transparency.md +14 -171
- package/templates/.codex/rules/MUST-language-policy.md +11 -46
- package/templates/.codex/rules/MUST-orchestrator-coordination.md +82 -425
- package/templates/.codex/rules/MUST-parallel-execution.md +33 -405
- package/templates/.codex/rules/MUST-permissions.md +14 -68
- package/templates/.codex/rules/MUST-safety.md +11 -57
- package/templates/.codex/rules/MUST-sync-verification.md +58 -214
- package/templates/.codex/rules/MUST-tool-identification.md +22 -135
- package/templates/.codex/rules/SHOULD-agent-teams.md +22 -166
- package/templates/.codex/rules/SHOULD-ecomode.md +15 -123
- package/templates/.codex/rules/SHOULD-error-handling.md +19 -88
- package/templates/.codex/rules/SHOULD-hud-statusline.md +9 -89
- package/templates/.codex/rules/SHOULD-interaction.md +18 -87
- package/templates/.codex/rules/SHOULD-memory-integration.md +25 -118
- package/templates/.codex/skills/dev-lead-routing/SKILL.md +70 -243
- package/templates/.codex/skills/springboot-best-practices/SKILL.md +180 -319
|
@@ -1,132 +1,25 @@
|
|
|
1
1
|
# [MUST] Continuous Improvement Rules
|
|
2
2
|
|
|
3
|
-
> **Priority**: MUST
|
|
4
|
-
> **ID**: R016
|
|
5
|
-
> **Trigger**: User points out rule violation
|
|
3
|
+
> **Priority**: MUST | **ID**: R016 | **Trigger**: User points out rule violation
|
|
6
4
|
|
|
7
|
-
##
|
|
5
|
+
## Core Rule
|
|
8
6
|
|
|
9
|
-
|
|
7
|
+
When user points out a violation: STOP → UPDATE the relevant rule → COMMIT → THEN continue original task.
|
|
10
8
|
|
|
11
|
-
|
|
12
|
-
╔══════════════════════════════════════════════════════════════════╗
|
|
13
|
-
║ WHEN USER POINTS OUT A VIOLATION: ║
|
|
14
|
-
║ ║
|
|
15
|
-
║ 1. STOP current task immediately ║
|
|
16
|
-
║ 2. UPDATE the relevant rule to be clearer/stronger ║
|
|
17
|
-
║ 3. COMMIT the rule update ║
|
|
18
|
-
║ 4. THEN continue with the original task ║
|
|
19
|
-
║ ║
|
|
20
|
-
║ DO NOT just apologize and continue. ║
|
|
21
|
-
║ DO NOT promise to do better next time. ║
|
|
22
|
-
║ ACTUALLY UPDATE THE RULES. ║
|
|
23
|
-
╚══════════════════════════════════════════════════════════════════╝
|
|
24
|
-
```
|
|
9
|
+
Do NOT just apologize. ACTUALLY UPDATE THE RULES.
|
|
25
10
|
|
|
26
11
|
## Workflow
|
|
27
12
|
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
│ 1. Acknowledge violation │
|
|
34
|
-
└───────────┬─────────────┘
|
|
35
|
-
│
|
|
36
|
-
▼
|
|
37
|
-
┌─────────────────────────┐
|
|
38
|
-
│ 2. Identify root cause │
|
|
39
|
-
│ - Which rule was weak?│
|
|
40
|
-
│ - What was unclear? │
|
|
41
|
-
└───────────┬─────────────┘
|
|
42
|
-
│
|
|
43
|
-
▼
|
|
44
|
-
┌─────────────────────────┐
|
|
45
|
-
│ 3. Update the rule │
|
|
46
|
-
│ - Add clarity │
|
|
47
|
-
│ - Add examples │
|
|
48
|
-
│ - Add self-checks │
|
|
49
|
-
└───────────┬─────────────┘
|
|
50
|
-
│
|
|
51
|
-
▼
|
|
52
|
-
┌─────────────────────────┐
|
|
53
|
-
│ 4. Commit the change │
|
|
54
|
-
└───────────┬─────────────┘
|
|
55
|
-
│
|
|
56
|
-
▼
|
|
57
|
-
┌─────────────────────────┐
|
|
58
|
-
│ 5. Continue original task│
|
|
59
|
-
│ (now following rules) │
|
|
60
|
-
└─────────────────────────┘
|
|
61
|
-
```
|
|
13
|
+
1. Acknowledge violation
|
|
14
|
+
2. Identify root cause (which rule was weak/unclear?)
|
|
15
|
+
3. Update the rule (add clarity, examples, self-checks)
|
|
16
|
+
4. Commit the change
|
|
17
|
+
5. Continue original task following updated rules
|
|
62
18
|
|
|
63
|
-
##
|
|
64
|
-
|
|
65
|
-
### Example 1: Parallel Execution Violation
|
|
66
|
-
|
|
67
|
-
```
|
|
68
|
-
User: "병렬 실행을 안 지킨거 아닌가?"
|
|
69
|
-
|
|
70
|
-
WRONG Response:
|
|
71
|
-
"맞습니다, 죄송합니다. 다음부터 잘 지키겠습니다."
|
|
72
|
-
[continues task without updating rules]
|
|
73
|
-
|
|
74
|
-
CORRECT Response:
|
|
75
|
-
1. "맞습니다. R009 위반입니다."
|
|
76
|
-
2. [Updates MUST-parallel-execution.md with clearer guidance]
|
|
77
|
-
3. [Commits the update]
|
|
78
|
-
4. [Continues task with proper parallel execution]
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
### Example 2: Wrong Agent Used
|
|
82
|
-
|
|
83
|
-
```
|
|
84
|
-
User: "mgr-creator 에이전트를 써야 하는거 아닌가?"
|
|
85
|
-
|
|
86
|
-
WRONG Response:
|
|
87
|
-
"맞습니다. mgr-creator를 사용하겠습니다."
|
|
88
|
-
[continues without updating rules]
|
|
89
|
-
|
|
90
|
-
CORRECT Response:
|
|
91
|
-
1. "맞습니다. R010 위반입니다."
|
|
92
|
-
2. [Updates relevant rules to clarify agent delegation]
|
|
93
|
-
3. [Commits the update]
|
|
94
|
-
4. [Continues with proper agent delegation]
|
|
95
|
-
```
|
|
96
|
-
|
|
97
|
-
## Why This Matters
|
|
98
|
-
|
|
99
|
-
```
|
|
100
|
-
Without rule updates:
|
|
101
|
-
Violation → Apology → Same mistake later → Apology → ...
|
|
102
|
-
|
|
103
|
-
With rule updates:
|
|
104
|
-
Violation → Rule improvement → Better behavior → Learning preserved
|
|
105
|
-
```
|
|
106
|
-
|
|
107
|
-
1. **Institutional Memory**: Rules capture learnings permanently
|
|
108
|
-
2. **Prevents Recurrence**: Clearer rules = fewer future violations
|
|
109
|
-
3. **Continuous Improvement**: System gets better over time
|
|
110
|
-
4. **Accountability**: Actions, not just words
|
|
111
|
-
|
|
112
|
-
## Integration with Other Rules
|
|
113
|
-
|
|
114
|
-
This rule takes precedence when violations are pointed out:
|
|
19
|
+
## Integration
|
|
115
20
|
|
|
116
21
|
| Situation | Action |
|
|
117
22
|
|-----------|--------|
|
|
118
23
|
| User points out violation | STOP → Update rule → Continue |
|
|
119
24
|
| Self-detected violation | Fix immediately, consider rule update |
|
|
120
25
|
| Ambiguous situation | Ask user, then update if needed |
|
|
121
|
-
|
|
122
|
-
## Enforcement
|
|
123
|
-
|
|
124
|
-
```
|
|
125
|
-
Violation of this rule = Ignoring user feedback = Unacceptable
|
|
126
|
-
|
|
127
|
-
When caught violating this rule:
|
|
128
|
-
1. Stop immediately
|
|
129
|
-
2. Update THIS rule to be even clearer
|
|
130
|
-
3. Update the ORIGINAL violated rule
|
|
131
|
-
4. Continue with proper behavior
|
|
132
|
-
```
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
# [MUST] Intent Transparency Rules
|
|
2
2
|
|
|
3
|
-
> **Priority**: MUST
|
|
4
|
-
> **ID**: R015
|
|
3
|
+
> **Priority**: MUST | **ID**: R015
|
|
5
4
|
|
|
6
|
-
##
|
|
5
|
+
## Core Rule
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
Display reasoning when routing to agents. Users must always know which agent was selected, why, and how to override.
|
|
9
8
|
|
|
10
|
-
##
|
|
11
|
-
|
|
12
|
-
When intent is detected, display the reasoning:
|
|
9
|
+
## Display Format
|
|
13
10
|
|
|
14
11
|
```
|
|
15
12
|
[Intent Detected]
|
|
@@ -24,176 +21,22 @@ When intent is detected, display the reasoning:
|
|
|
24
21
|
| Confidence | Action |
|
|
25
22
|
|------------|--------|
|
|
26
23
|
| >= 90% | Auto-execute with display |
|
|
27
|
-
| 70-89% | Request confirmation |
|
|
24
|
+
| 70-89% | Request confirmation, show alternatives |
|
|
28
25
|
| < 70% | List options for user to choose |
|
|
29
26
|
|
|
30
27
|
## Detection Factors
|
|
31
28
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
description: Language-specific keywords in input
|
|
39
|
-
example: "Go", "Python", "리뷰", "생성"
|
|
40
|
-
|
|
41
|
-
file_patterns:
|
|
42
|
-
weight: 30
|
|
43
|
-
description: File extensions mentioned or in context
|
|
44
|
-
example: "*.go", "main.py"
|
|
45
|
-
|
|
46
|
-
action_verbs:
|
|
47
|
-
weight: 20
|
|
48
|
-
description: Action words in user input
|
|
49
|
-
example: "review", "create", "fix", "리뷰", "생성"
|
|
50
|
-
|
|
51
|
-
context:
|
|
52
|
-
weight: 10
|
|
53
|
-
description: Recent conversation context
|
|
54
|
-
example: Previous agent used, current working directory
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
## High Confidence Display (>= 90%)
|
|
58
|
-
|
|
59
|
-
```
|
|
60
|
-
[Intent Detected]
|
|
61
|
-
├── Input: "Go 코드 리뷰해줘"
|
|
62
|
-
├── Agent: lang-golang-expert
|
|
63
|
-
├── Confidence: 95%
|
|
64
|
-
└── Reason: "Go" keyword (40%) + "리뷰" action verb (55%)
|
|
65
|
-
|
|
66
|
-
Executing...
|
|
67
|
-
```
|
|
68
|
-
|
|
69
|
-
## Medium Confidence Display (70-89%)
|
|
70
|
-
|
|
71
|
-
```
|
|
72
|
-
[Intent Detected]
|
|
73
|
-
├── Input: "백엔드 코드 체크해줘"
|
|
74
|
-
├── Agent: be-go-backend-expert (?)
|
|
75
|
-
├── Confidence: 75%
|
|
76
|
-
└── Reason: "백엔드" keyword (40%) + "체크" action (35%)
|
|
77
|
-
|
|
78
|
-
Possible alternatives:
|
|
79
|
-
1. be-go-backend-expert (75%)
|
|
80
|
-
2. be-fastapi-expert (65%)
|
|
81
|
-
3. be-springboot-expert (60%)
|
|
82
|
-
|
|
83
|
-
Proceed with be-go-backend-expert? [Y/n/1-3]
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
## Low Confidence Display (< 70%)
|
|
87
|
-
|
|
88
|
-
```
|
|
89
|
-
[Intent Unclear]
|
|
90
|
-
├── Input: "이 코드 좀 봐줘"
|
|
91
|
-
├── Confidence: < 70%
|
|
92
|
-
└── Need more context
|
|
93
|
-
|
|
94
|
-
Available agents for code review:
|
|
95
|
-
1. lang-golang-expert (Go files)
|
|
96
|
-
2. lang-python-expert (Python files)
|
|
97
|
-
3. lang-typescript-expert (TypeScript files)
|
|
98
|
-
4. lang-rust-expert (Rust files)
|
|
99
|
-
|
|
100
|
-
Which agent should review the code? [1-4]
|
|
101
|
-
```
|
|
102
|
-
|
|
103
|
-
## Override Syntax
|
|
29
|
+
| Factor | Weight | Examples |
|
|
30
|
+
|--------|--------|---------|
|
|
31
|
+
| Keywords | 40% | "Go", "Python", "리뷰" |
|
|
32
|
+
| File patterns | 30% | "*.go", "main.py" |
|
|
33
|
+
| Action verbs | 20% | "review", "create", "fix" |
|
|
34
|
+
| Context | 10% | Previous agent, working directory |
|
|
104
35
|
|
|
105
|
-
|
|
36
|
+
## Override
|
|
106
37
|
|
|
107
|
-
|
|
108
|
-
@{agent-name} {command}
|
|
109
|
-
```
|
|
110
|
-
|
|
111
|
-
Examples:
|
|
112
|
-
```
|
|
113
|
-
@lang-golang-expert review this code
|
|
114
|
-
@lang-python-expert src/main.py 분석해줘
|
|
115
|
-
@secretary create a new agent
|
|
116
|
-
```
|
|
117
|
-
|
|
118
|
-
Override bypasses intent detection:
|
|
119
|
-
|
|
120
|
-
```
|
|
121
|
-
[Override] Agent explicitly specified: lang-python-expert
|
|
122
|
-
Executing...
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
## Implementation
|
|
126
|
-
|
|
127
|
-
### Secretary Workflow
|
|
128
|
-
|
|
129
|
-
```
|
|
130
|
-
1. Receive user input
|
|
131
|
-
2. Check for explicit override (@agent)
|
|
132
|
-
3. If no override:
|
|
133
|
-
a. Extract keywords, file patterns, action verbs
|
|
134
|
-
b. Match against agent triggers
|
|
135
|
-
c. Calculate confidence score
|
|
136
|
-
d. Display detection reasoning
|
|
137
|
-
e. Execute or request confirmation based on threshold
|
|
138
|
-
4. Route to selected agent
|
|
139
|
-
```
|
|
140
|
-
|
|
141
|
-
### Detection Log
|
|
142
|
-
|
|
143
|
-
For debugging and transparency:
|
|
144
|
-
|
|
145
|
-
```yaml
|
|
146
|
-
detection_log:
|
|
147
|
-
input: "Go 코드 리뷰해줘"
|
|
148
|
-
extracted:
|
|
149
|
-
keywords: ["Go"]
|
|
150
|
-
file_patterns: []
|
|
151
|
-
action_verbs: ["리뷰"]
|
|
152
|
-
matches:
|
|
153
|
-
- agent: lang-golang-expert
|
|
154
|
-
score: 95
|
|
155
|
-
breakdown:
|
|
156
|
-
keyword_go: 40
|
|
157
|
-
action_review: 40
|
|
158
|
-
context: 15
|
|
159
|
-
selected: lang-golang-expert
|
|
160
|
-
confidence: 95%
|
|
161
|
-
```
|
|
38
|
+
Users can specify agent directly with `@{agent-name} {command}`. Override bypasses detection.
|
|
162
39
|
|
|
163
40
|
## Agent Triggers
|
|
164
41
|
|
|
165
|
-
Each agent has
|
|
166
|
-
`.claude/skills/intent-detection/patterns/agent-triggers.yaml`
|
|
167
|
-
|
|
168
|
-
```yaml
|
|
169
|
-
agents:
|
|
170
|
-
lang-golang-expert:
|
|
171
|
-
keywords: [go, golang, "go 언어"]
|
|
172
|
-
file_patterns: ["*.go", "go.mod", "go.sum"]
|
|
173
|
-
actions: [review, analyze, fix, optimize]
|
|
174
|
-
base_confidence: 40
|
|
175
|
-
|
|
176
|
-
lang-python-expert:
|
|
177
|
-
keywords: [python, py, "파이썬"]
|
|
178
|
-
file_patterns: ["*.py", "requirements.txt", "pyproject.toml"]
|
|
179
|
-
actions: [review, analyze, fix, optimize]
|
|
180
|
-
base_confidence: 40
|
|
181
|
-
```
|
|
182
|
-
|
|
183
|
-
## Benefits
|
|
184
|
-
|
|
185
|
-
1. **Transparency**: Users understand agent selection
|
|
186
|
-
2. **Control**: Users can override or choose alternatives
|
|
187
|
-
3. **Trust**: Clear reasoning builds user confidence
|
|
188
|
-
4. **Learning**: Users learn which agents handle what
|
|
189
|
-
5. **Debugging**: Clear logs for troubleshooting
|
|
190
|
-
|
|
191
|
-
## Violations
|
|
192
|
-
|
|
193
|
-
Proceeding without displaying intent reasoning = Rule violation
|
|
194
|
-
|
|
195
|
-
The user must always know:
|
|
196
|
-
- Which agent was selected
|
|
197
|
-
- Why it was selected
|
|
198
|
-
- What confidence level
|
|
199
|
-
- How to override if needed
|
|
42
|
+
Defined in `.claude/skills/intent-detection/patterns/agent-triggers.yaml`. Each agent has keywords, file patterns, actions, and base confidence.
|
|
@@ -1,55 +1,21 @@
|
|
|
1
1
|
# [MUST] Language & Delegation Policy
|
|
2
2
|
|
|
3
|
-
> **Priority**: MUST
|
|
4
|
-
> **ID**: R000
|
|
3
|
+
> **Priority**: MUST | **ID**: R000
|
|
5
4
|
|
|
6
|
-
##
|
|
5
|
+
## Output Language
|
|
7
6
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
User
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
### 2. Output Language
|
|
15
|
-
|
|
16
|
-
| Context | Language | Example |
|
|
17
|
-
|---------|----------|---------|
|
|
18
|
-
| User communication | Korean | 상태 보고, 질문, 설명 |
|
|
19
|
-
| Code | English | variables, functions, comments |
|
|
20
|
-
| File contents | English | .md, .yaml, configs |
|
|
21
|
-
| Commit messages | English | git commits |
|
|
22
|
-
| Error messages to user | Korean | 에러 설명, 해결 방안 |
|
|
7
|
+
| Context | Language |
|
|
8
|
+
|---------|----------|
|
|
9
|
+
| User communication | Korean |
|
|
10
|
+
| Code, file contents, commits | English |
|
|
11
|
+
| Error messages to user | Korean |
|
|
23
12
|
|
|
24
|
-
|
|
25
|
-
```
|
|
26
|
-
User does NOT directly edit files.
|
|
27
|
-
User delegates ALL file operations to AI agent.
|
|
28
|
-
|
|
29
|
-
User → (Korean prompt) → Agent → (file operations)
|
|
30
|
-
```
|
|
13
|
+
## Delegation Model
|
|
31
14
|
|
|
32
|
-
|
|
33
|
-
```
|
|
34
|
-
All file contents in English for:
|
|
35
|
-
- Token efficiency
|
|
36
|
-
- Consistent parsing
|
|
37
|
-
- Universal compatibility
|
|
38
|
-
```
|
|
39
|
-
|
|
40
|
-
## Examples
|
|
41
|
-
|
|
42
|
-
### Correct
|
|
43
|
-
```
|
|
44
|
-
User: "새로운 에이전트를 만들어줘"
|
|
45
|
-
Agent: "에이전트를 생성하겠습니다." (Korean to user)
|
|
46
|
-
Agent writes AGENT.md in English
|
|
47
|
-
```
|
|
15
|
+
User delegates ALL file operations to AI agent. User does NOT directly edit files.
|
|
48
16
|
|
|
49
|
-
### Incorrect
|
|
50
17
|
```
|
|
51
|
-
|
|
52
|
-
Agent writes: "# Agent Name" in file ← Correct
|
|
18
|
+
User -> (Korean prompt) -> Agent -> (file operations in English)
|
|
53
19
|
```
|
|
54
20
|
|
|
55
21
|
## File Naming
|
|
@@ -57,6 +23,5 @@ Agent writes: "# Agent Name" in file ← Correct
|
|
|
57
23
|
| Type | Convention | Example |
|
|
58
24
|
|------|------------|---------|
|
|
59
25
|
| Rules | `{PRIORITY}-{name}.md` | `MUST-safety.md` |
|
|
60
|
-
| Agents | `
|
|
26
|
+
| Agents | `{name}.md` (kebab-case) | `lang-golang-expert.md` |
|
|
61
27
|
| Skills | `SKILL.md` | - |
|
|
62
|
-
| Index | `index.yaml` | - |
|