moai-adk 0.4.0__py3-none-any.whl → 0.4.4__py3-none-any.whl

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.

Potentially problematic release.


This version of moai-adk might be problematic. Click here for more details.

Files changed (130) hide show
  1. moai_adk/__init__.py +2 -3
  2. moai_adk/cli/commands/init.py +10 -5
  3. moai_adk/cli/commands/update.py +274 -118
  4. moai_adk/cli/prompts/init_prompts.py +14 -18
  5. moai_adk/core/diagnostics/slash_commands.py +1 -1
  6. moai_adk/core/project/backup_utils.py +2 -11
  7. moai_adk/core/project/checker.py +2 -2
  8. moai_adk/core/project/phase_executor.py +11 -14
  9. moai_adk/core/project/validator.py +3 -2
  10. moai_adk/core/quality/__init__.py +1 -1
  11. moai_adk/core/quality/trust_checker.py +63 -63
  12. moai_adk/core/quality/validators/__init__.py +1 -1
  13. moai_adk/core/quality/validators/base_validator.py +1 -1
  14. moai_adk/core/template/backup.py +21 -8
  15. moai_adk/core/template/merger.py +14 -4
  16. moai_adk/core/template/processor.py +24 -5
  17. moai_adk/templates/.claude/agents/alfred/cc-manager.md +446 -424
  18. moai_adk/templates/.claude/agents/alfred/debug-helper.md +116 -103
  19. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +130 -116
  20. moai_adk/templates/.claude/agents/alfred/git-manager.md +186 -174
  21. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +227 -213
  22. moai_adk/templates/.claude/agents/alfred/project-manager.md +216 -128
  23. moai_adk/templates/.claude/agents/alfred/quality-gate.md +224 -209
  24. moai_adk/templates/.claude/agents/alfred/spec-builder.md +174 -160
  25. moai_adk/templates/.claude/agents/alfred/tag-agent.md +151 -139
  26. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +209 -196
  27. moai_adk/templates/.claude/agents/alfred/trust-checker.md +247 -233
  28. moai_adk/templates/.claude/commands/alfred/0-project.md +756 -640
  29. moai_adk/templates/.claude/commands/alfred/1-plan.md +343 -333
  30. moai_adk/templates/.claude/commands/alfred/2-run.md +297 -285
  31. moai_adk/templates/.claude/commands/alfred/3-sync.md +387 -356
  32. moai_adk/templates/.claude/hooks/alfred/README.md +52 -52
  33. moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +44 -48
  34. moai_adk/templates/.claude/hooks/alfred/core/__init__.py +17 -17
  35. moai_adk/templates/.claude/hooks/alfred/core/checkpoint.py +59 -59
  36. moai_adk/templates/.claude/hooks/alfred/core/context.py +19 -19
  37. moai_adk/templates/.claude/hooks/alfred/core/project.py +52 -52
  38. moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +1 -1
  39. moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +4 -4
  40. moai_adk/templates/.claude/hooks/alfred/handlers/session.py +27 -27
  41. moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +16 -17
  42. moai_adk/templates/.claude/hooks/alfred/handlers/user.py +11 -11
  43. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +308 -307
  44. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +297 -296
  45. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +191 -190
  46. moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/SKILL.md +112 -0
  47. moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/SKILL.md +103 -0
  48. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +103 -0
  49. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +95 -0
  50. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +99 -0
  51. moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/SKILL.md +105 -0
  52. moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/SKILL.md +97 -0
  53. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +97 -0
  54. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +90 -0
  55. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +99 -0
  56. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/SKILL.md +87 -0
  57. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/examples.md +62 -0
  58. moai_adk/templates/.claude/skills/moai-claude-code/SKILL.md +70 -43
  59. moai_adk/templates/.claude/skills/moai-claude-code/examples.md +141 -141
  60. moai_adk/templates/.claude/skills/moai-claude-code/reference.md +179 -165
  61. moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +78 -78
  62. moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +90 -90
  63. moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +39 -25
  64. moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +117 -74
  65. moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +131 -134
  66. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +43 -12
  67. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +43 -12
  68. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +43 -12
  69. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +43 -12
  70. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +43 -12
  71. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +43 -12
  72. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +43 -11
  73. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +43 -12
  74. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +43 -12
  75. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +43 -12
  76. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +47 -11
  77. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +47 -11
  78. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +51 -14
  79. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +46 -10
  80. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +62 -25
  81. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +44 -17
  82. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +44 -14
  83. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +45 -13
  84. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +46 -14
  85. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +48 -8
  86. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +44 -12
  87. moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +44 -12
  88. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +44 -11
  89. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +44 -11
  90. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +44 -12
  91. moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +44 -11
  92. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +44 -11
  93. moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +44 -11
  94. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +44 -12
  95. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +44 -12
  96. moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +44 -12
  97. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +44 -12
  98. moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +44 -11
  99. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +44 -11
  100. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +44 -12
  101. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +44 -11
  102. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +44 -11
  103. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +44 -12
  104. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +44 -12
  105. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +44 -11
  106. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +44 -12
  107. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +44 -12
  108. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +44 -12
  109. moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +44 -43
  110. moai_adk/templates/.github/workflows/moai-gitflow.yml +36 -35
  111. moai_adk/templates/.moai/config.json +9 -6
  112. moai_adk/templates/.moai/memory/development-guide.md +220 -221
  113. moai_adk/templates/.moai/memory/gitflow-protection-policy.md +85 -85
  114. moai_adk/templates/.moai/memory/spec-metadata.md +229 -150
  115. moai_adk/templates/.moai/project/product.md +90 -90
  116. moai_adk/templates/.moai/project/structure.md +85 -85
  117. moai_adk/templates/.moai/project/tech.md +117 -117
  118. moai_adk/templates/CLAUDE.md +564 -709
  119. moai_adk-0.4.4.dist-info/METADATA +369 -0
  120. moai_adk-0.4.4.dist-info/RECORD +152 -0
  121. moai_adk/templates/.claude/commands/alfred/1-spec.md +0 -31
  122. moai_adk/templates/.claude/commands/alfred/2-build.md +0 -30
  123. moai_adk/templates/.claude/skills/scripts/standardize_skills.py +0 -166
  124. moai_adk/templates/.claude/skills/scripts/verify_standardization.sh +0 -43
  125. moai_adk/templates/.moai/hooks/pre-push.sample +0 -88
  126. moai_adk-0.4.0.dist-info/METADATA +0 -1816
  127. moai_adk-0.4.0.dist-info/RECORD +0 -145
  128. {moai_adk-0.4.0.dist-info → moai_adk-0.4.4.dist-info}/WHEEL +0 -0
  129. {moai_adk-0.4.0.dist-info → moai_adk-0.4.4.dist-info}/entry_points.txt +0 -0
  130. {moai_adk-0.4.0.dist-info → moai_adk-0.4.4.dist-info}/licenses/LICENSE +0 -0
@@ -1,13 +1,10 @@
1
1
  ---
2
2
  name: {skill-name}
3
- description: {Comprehensive description under 200 characters - must clearly indicate when Claude should autonomously invoke this skill}
4
- model: haiku
5
- allowed-tools:
3
+ description: {Capability + trigger phrases (<=1024 chars, aim for <=200)}
4
+ allowed-tools: # optional; remove if full tool access is acceptable
6
5
  - Read
7
- - Write
8
- - Grep
9
- - Glob
10
6
  - Bash
7
+ - Write
11
8
  ---
12
9
 
13
10
  # {Skill Title}
@@ -16,7 +13,7 @@ allowed-tools:
16
13
 
17
14
  ---
18
15
 
19
- ## 🎯 스킬의 목적
16
+ ## 🎯 Purpose of this skill
20
17
 
21
18
  {Comprehensive explanation covering:
22
19
  - Problem statement and context
@@ -24,45 +21,45 @@ allowed-tools:
24
21
  - Unique value proposition
25
22
  - Integration with broader workflows}
26
23
 
27
- **문제**: {Detailed problem description with examples}
28
- **해결**: {Comprehensive solution approach}
29
- **효과**: {Measurable benefits and improvements}
24
+ **Problem**: {Detailed problem description with examples}
25
+ **Solution**: {Comprehensive solution approach}
26
+ **Impact**: {Measurable benefits and improvements}
30
27
 
31
28
  ---
32
29
 
33
- ## 🏗️ MoAI-ADK 통합
30
+ ## 🏗️ MoAI-ADK integration
34
31
 
35
- ### Alfred 자동 선택 조건
32
+ ### Alfred auto-selection conditions
36
33
 
37
- Alfred 다음 조건에서 스킬을 자동으로 활성화합니다:
34
+ Alfred automatically activates this skill under the following conditions:
38
35
 
39
36
  - {Specific automatic trigger condition 1 with context}
40
37
  - {Specific automatic trigger condition 2 with keywords}
41
38
  - {Specific automatic trigger condition 3 with workflow state}
42
39
 
43
- ### 워크플로우 위치
40
+ ### Workflow location
44
41
 
45
42
  ```
46
- /alfred:1-spec → /alfred:2-build → /alfred:3-sync
43
+ /alfred:1-plan → /alfred:2-run → /alfred:3-sync
47
44
 
48
- 스킬 자동 활성화
45
+ Automatically activate this skill
49
46
  ({when activated})
50
47
  ```
51
48
 
52
- **통합 시점**:
49
+ **Integration Point**:
53
50
  - **Phase**: {Which phase of MoAI-ADK workflow}
54
- - **트리거**: {What triggers automatic invocation}
55
- - **역할**: {What this skill contributes to the workflow}
51
+ - **Trigger**: {What triggers automatic invocation}
52
+ - **Role**: {What this skill contributes to the workflow}
56
53
 
57
54
  ---
58
55
 
59
- ## 📋 핵심 기능
56
+ ## 📋 Core features
60
57
 
61
58
  ### 1. {Major Feature 1 Name}
62
59
 
63
60
  {Detailed multi-paragraph description of this feature}
64
61
 
65
- **구현 방법**:
62
+ **How ​​to implement**:
66
63
  ```{language}
67
64
  # {Implementation detail 1}
68
65
  {code-example-1}
@@ -71,12 +68,12 @@ Alfred는 다음 조건에서 이 스킬을 자동으로 활성화합니다:
71
68
  {code-example-2}
72
69
  ```
73
70
 
74
- **산출물**:
71
+ **Output**:
75
72
  - **{Output 1}**: {Detailed description with format}
76
73
  - **{Output 2}**: {Description with validation criteria}
77
74
  - **{Output 3}**: {Description with usage notes}
78
75
 
79
- **검증**:
76
+ **verification**:
80
77
  ```bash
81
78
  # {Verification method}
82
79
  {verification-command}
@@ -88,12 +85,12 @@ Alfred는 다음 조건에서 이 스킬을 자동으로 활성화합니다:
88
85
 
89
86
  {Comprehensive feature description}
90
87
 
91
- **알고리즘**:
88
+ **Algorithm**:
92
89
  1. {Step 1 of algorithm}
93
90
  2. {Step 2 with details}
94
91
  3. {Step 3 and expected outcome}
95
92
 
96
- **구현 예시**:
93
+ **Implementation example**:
97
94
  ```{language}
98
95
  {detailed-code-example}
99
96
  ```
@@ -104,67 +101,67 @@ Alfred는 다음 조건에서 이 스킬을 자동으로 활성화합니다:
104
101
 
105
102
  {Feature description with use cases}
106
103
 
107
- **사용 시나리오**:
104
+ **Use Scenario**:
108
105
  - **{Scenario A}**: {When and why to use}
109
106
  - **{Scenario B}**: {Alternative use case}
110
107
 
111
108
  ---
112
109
 
113
- ## 💡 사용 패턴
110
+ ## 💡 Usage Pattern
114
111
 
115
- ### 패턴 1: 수동 호출
112
+ ### Pattern 1: Manual call
116
113
 
117
- **사용자 요청 예시**:
114
+ **Example User Request**:
118
115
  ```
119
- "{skill-name} 실행해주세요"
116
+ "Please execute {skill-name}"
120
117
  "{natural-language-trigger-phrase}"
121
118
  ```
122
119
 
123
- **Alfred 동작**:
120
+ **Alfred Action**:
124
121
  1. {What Alfred does in step 1}
125
122
  2. {What Alfred does in step 2}
126
123
  3. {Final action and result}
127
124
 
128
125
  ---
129
126
 
130
- ### 패턴 2: 자동 활성화
127
+ ### Pattern 2: Automatic activation
131
128
 
132
- **트리거 조건**: {When automatic activation occurs}
129
+ **Trigger condition**: {When automatic activation occurs}
133
130
 
134
- **Alfred 감지 시나리오**:
131
+ **Alfred detection scenario**:
135
132
  ```
136
- 사용자: "{example-user-request}"
137
- → Alfred 분석: {how Alfred recognizes this needs the skill}
138
- 자동 실행: {what happens automatically}
139
- 결과: {what user receives}
133
+ User: "{example-user-request}"
134
+ → Alfred Analysis: {how Alfred recognizes this needs the skill}
135
+ Autoplay: {what happens automatically}
136
+ Result: {what user receives}
140
137
  ```
141
138
 
142
139
  ---
143
140
 
144
- ### 패턴 3: 커맨드 통합
141
+ ### Pattern 3: Command integration
145
142
 
146
- **연관 커맨드**: `/{command-name}`
143
+ **Related command**: `/{command-name}`
147
144
 
148
- **통합 흐름**:
145
+ **Integrated Flow**:
149
146
  ```
150
- /{command-name} 실행
147
+ Run /{command-name}
151
148
 
152
149
  {When skill is invoked during command}
153
150
 
154
- 스킬 자동 호출
151
+ Automatically call this skill
155
152
 
156
153
  {What skill contributes}
157
154
 
158
- 커맨드 계속 진행
155
+ Continue command
159
156
  ```
160
157
 
161
158
  ---
162
159
 
163
- ## ⚙️ 설정 구성
160
+ ## ⚙️ Settings and configuration
164
161
 
165
- ### 설정 파일 위치
162
+ ### Configuration file location
166
163
 
167
- `.moai/config.json`에서 설정:
164
+ Configure in `.moai/config.json`:
168
165
 
169
166
  ```json
170
167
  {
@@ -179,15 +176,15 @@ Alfred는 다음 조건에서 이 스킬을 자동으로 활성화합니다:
179
176
  }
180
177
  ```
181
178
 
182
- ### 설정 옵션 상세
179
+ ### Setting option details
183
180
 
184
- | 옵션 | 타입 | 기본값 | 필수 | 설명 |
185
- |-----|------|-------|------|------|
186
- | `{option1}` | {type} | `{default}` | ✅/⚠️ | {Comprehensive description} |
187
- | `{option2}` | {type} | `{default}` | ⚠️ | {What this controls} |
188
- | `{option3}` | {type} | `{default}` | ⚠️ | {Usage notes} |
181
+ | Options | Type | default | Required | Description |
182
+ | ----------- | ------ | ----------- | -------- | --------------------------- |
183
+ | `{option1}` | {type} | `{default}` | ✅/⚠️ | {Comprehensive description} |
184
+ | `{option2}` | {type} | `{default}` | ⚠️ | {What this controls} |
185
+ | `{option3}` | {type} | `{default}` | ⚠️ | {Usage notes} |
189
186
 
190
- ### 환경변수 (선택적)
187
+ ### Environment variables (optional)
191
188
 
192
189
  ```bash
193
190
  # {Environment variable 1}
@@ -199,22 +196,22 @@ export {VAR_NAME_2}="{value}"
199
196
 
200
197
  ---
201
198
 
202
- ## 📁 디렉토리 구조
199
+ ## 📁 Directory Structure
203
200
 
204
201
  ```
205
202
  .claude/skills/{skill-name}/
206
- ├── SKILL.md # 메인 스킬 정의 (this file)
207
- ├── reference.md # 상세 참조 문서
208
- ├── examples.md # 실전 예제 모음
209
- ├── scripts/ # 유틸리티 스크립트
203
+ ├── SKILL.md # Main skill definition (this file)
204
+ ├── reference.md # Detailed reference document
205
+ ├── examples.md # Collection of practical examples
206
+ ├── scripts/ # Utility script
210
207
  │ ├── {helper-1}.py
211
208
  │ └── {helper-2}.py
212
- └── templates/ # 템플릿 파일
209
+ └── templates/ # template file
213
210
  ├── {template-1}.txt
214
211
  └── {template-2}.json
215
212
  ```
216
213
 
217
- ### 추가 파일 설명
214
+ ### Additional file descriptions
218
215
 
219
216
  - **reference.md**: {What additional documentation it contains}
220
217
  - **examples.md**: {What examples are provided}
@@ -223,22 +220,22 @@ export {VAR_NAME_2}="{value}"
223
220
 
224
221
  ---
225
222
 
226
- ## ✅ 검증 체크리스트
223
+ ## ✅ Verification Checklist
227
224
 
228
- ### 실행 검증
225
+ ### Validation before execution
229
226
 
230
227
  - [ ] {Pre-execution check 1}
231
228
  - [ ] {Pre-execution check 2}
232
229
  - [ ] {Pre-execution check 3}
233
230
 
234
- ### 실행 검증
231
+ ### Verify after execution
235
232
 
236
233
  - [ ] {Post-execution validation 1 with criteria}
237
234
  - [ ] {Post-execution validation 2 with expected state}
238
235
  - [ ] {Post-execution validation 3 with deliverable}
239
- - [ ] {MoAI-ADK 워크플로우 통합 확인}
236
+ - [ ] {Check MoAI-ADK workflow integration}
240
237
 
241
- ### 검증 명령어
238
+ ### Verification command
242
239
 
243
240
  ```bash
244
241
  # {Validation script 1}
@@ -253,19 +250,19 @@ uv run .claude/skills/{skill-name}/scripts/validate.py
253
250
 
254
251
  ---
255
252
 
256
- ## 🚨 에러 처리
253
+ ## 🚨 Error handling
257
254
 
258
- ### 에러 분류
255
+ ### Error classification
259
256
 
260
257
  #### 1. {Error Category 1}
261
258
 
262
- **증상**: {How this error manifests}
259
+ **Symptom**: {How this error manifests}
263
260
 
264
- **원인**:
261
+ **cause**:
265
262
  - {Possible cause 1}
266
263
  - {Possible cause 2}
267
264
 
268
- **해결 방법**:
265
+ **Solution**:
269
266
  ```bash
270
267
  # {Solution step 1}
271
268
  {command-1}
@@ -278,31 +275,31 @@ uv run .claude/skills/{skill-name}/scripts/validate.py
278
275
 
279
276
  #### 2. {Error Category 2}
280
277
 
281
- **증상**: {Error description}
278
+ **Symptom**: {Error description}
282
279
 
283
- **디버깅**:
280
+ **Debugging**:
284
281
  ```bash
285
282
  # {How to debug}
286
283
  {debug-command}
287
284
  ```
288
285
 
289
- **수정**:
286
+ **correction**:
290
287
  1. {Fix step 1}
291
288
  2. {Fix step 2}
292
289
 
293
290
  ---
294
291
 
295
- ### 로깅 디버깅
292
+ ### Logging and Debugging
296
293
 
297
- **로그 위치**: `{log-file-path}`
294
+ **Log Location**: `{log-file-path}`
298
295
 
299
- **로그 레벨 설정**:
296
+ **Log level settings**:
300
297
  ```bash
301
298
  # {How to enable debug logging}
302
299
  {logging-config-command}
303
300
  ```
304
301
 
305
- **로그 확인**:
302
+ **Check log**:
306
303
  ```bash
307
304
  # {How to view logs}
308
305
  tail -f {log-file-path}
@@ -310,35 +307,35 @@ tail -f {log-file-path}
310
307
 
311
308
  ---
312
309
 
313
- ## 🔗 연관 에이전트/커맨드
310
+ ## 🔗 Related agents/commands
314
311
 
315
- ### 연관 커맨드
312
+ ### Related commands
316
313
 
317
314
  - **/{command-1}** - {How this skill supports the command}
318
315
  - **/{command-2}** - {Integration point}
319
316
 
320
- ### 연관 에이전트
317
+ ### Associated Agent
321
318
 
322
319
  - **@agent-{agent-1}** - {How they work together}
323
320
  - **@agent-{agent-2}** - {Collaboration scenario}
324
321
 
325
- ### 연관 스킬
322
+ ### Related skills
326
323
 
327
324
  - **{skill-1}** - {Complementary functionality}
328
325
  - **{skill-2}** - {When to use together}
329
326
 
330
327
  ---
331
328
 
332
- ## 📊 성능 메트릭
329
+ ## 📊 Performance and Metrics
333
330
 
334
- ### 성능 특성
331
+ ### Performance characteristics
335
332
 
336
- - **실행 시간**: {Typical execution time}
337
- - **메모리 사용**: {Expected memory usage}
338
- - **디스크 I/O**: {File operations count}
339
- - **네트워크**: {External API calls if any}
333
+ - **Execution time**: {Typical execution time}
334
+ - **Memory usage**: {Expected memory usage}
335
+ - **Disk I/O**: {File operations count}
336
+ - **Network**: {External API calls if any}
340
337
 
341
- ### 최적화
338
+ ### Optimization tips
342
339
 
343
340
  1. **{Optimization 1}**: {How to improve performance}
344
341
  2. **{Optimization 2}**: {Configuration tweak}
@@ -346,31 +343,31 @@ tail -f {log-file-path}
346
343
 
347
344
  ---
348
345
 
349
- ## 🎓 베스트 프랙티스
346
+ ## 🎓 Best Practices
350
347
 
351
348
  ### 1. {Practice Category 1}
352
349
 
353
- **권장 사항**:
350
+ **Recommendation**:
354
351
  ```{language}
355
352
  # {Good practice example}
356
353
  {recommended-code}
357
354
  ```
358
355
 
359
- **피해야 사항**:
356
+ **What to avoid**:
360
357
  ```{language}
361
358
  # {Anti-pattern example}
362
359
  {avoid-this-code}
363
360
  ```
364
361
 
365
- **이유**: {Why this is best practice}
362
+ **Reason**: {Why this is best practice}
366
363
 
367
364
  ---
368
365
 
369
366
  ### 2. {Practice Category 2}
370
367
 
371
- **팁**: {Helpful tip}
368
+ **Tip**: {Helpful tip}
372
369
 
373
- **예시**:
370
+ **example**:
374
371
  ```bash
375
372
  {example-of-best-practice}
376
373
  ```
@@ -379,73 +376,73 @@ tail -f {log-file-path}
379
376
 
380
377
  ### 3. {Practice Category 3}
381
378
 
382
- **주의사항**: {Important consideration}
379
+ **Caution**: {Important consideration}
383
380
 
384
381
  ---
385
382
 
386
- ## 📖 실전 예제
383
+ ## 📖 Practical examples
387
384
 
388
- ### 예제 1: {Common Use Case}
385
+ ### Example 1: {Common Use Case}
389
386
 
390
- **목적**: {What this example demonstrates}
387
+ **Purpose**: {What this example demonstrates}
391
388
 
392
- **입력**:
389
+ **input**:
393
390
  ```{format}
394
391
  {example-input}
395
392
  ```
396
393
 
397
- **실행**:
394
+ **execution**:
398
395
  ```bash
399
396
  {commands-to-run}
400
397
  ```
401
398
 
402
- **출력**:
399
+ **output of power**:
403
400
  ```{format}
404
401
  {example-output}
405
402
  ```
406
403
 
407
- **설명**: {What happened and why}
404
+ **Explanation**: {What happened and why}
408
405
 
409
406
  ---
410
407
 
411
- ### 예제 2: {Advanced Use Case}
408
+ ### Example 2: {Advanced Use Case}
412
409
 
413
- **목적**: {Advanced scenario}
410
+ **Purpose**: {Advanced scenario}
414
411
 
415
- **시나리오**: {Detailed scenario description}
412
+ **Scenario**: {Detailed scenario description}
416
413
 
417
- **구현**:
414
+ **avatar**:
418
415
  ```{language}
419
416
  {implementation-code}
420
417
  ```
421
418
 
422
- **결과**: {What you achieve}
419
+ **Result**: {What you achieve}
423
420
 
424
421
  ---
425
422
 
426
- ### 예제 3: {Edge Case}
423
+ ### Example 3: {Edge Case}
427
424
 
428
- **상황**: {Unusual but important scenario}
425
+ **Scenario**: {Unusual but important scenario}
429
426
 
430
- **처리 방법**: {How skill handles this}
427
+ **How ​​to handle**: {How skill handles this}
431
428
 
432
429
  ---
433
430
 
434
- ## 🔧 커스터마이제이션
431
+ ## 🔧 Customization
435
432
 
436
- ### 확장 포인트
433
+ ### Extension points
437
434
 
438
- 스킬을 프로젝트에 맞게 커스터마이즈할 있는 영역:
435
+ Areas where you can customize this skill to fit your project:
439
436
 
440
437
  1. **{Extension Point 1}**
441
- - 파일: `{file-to-modify}`
442
- - 수정 방법: {How to customize}
438
+ - File: `{file-to-modify}`
439
+ - How to modify: {How to customize}
443
440
 
444
441
  2. **{Extension Point 2}**
445
- - 설정: `{config-key}`
446
- - 옵션: {Available options}
442
+ - Settings: `{config-key}`
443
+ - Options: {Available options}
447
444
 
448
- ### 플러그인 시스템 (고급)
445
+ ### Plugin system (advanced)
449
446
 
450
447
  ```python
451
448
  # {How to create plugins for this skill}
@@ -454,23 +451,23 @@ tail -f {log-file-path}
454
451
 
455
452
  ---
456
453
 
457
- ## 📚 참고 자료
454
+ ## 📚 References
458
455
 
459
- ### 공식 문서
456
+ ### Official Documentation
460
457
  - **Claude Code Skills**: https://docs.claude.com/en/docs/claude-code/skills
461
458
  - **{Related Doc}**: {URL}
462
459
 
463
- ### MoAI-ADK 리소스
464
- - **개발 가이드**: `.moai/memory/development-guide.md`
465
- - **SPEC 메타데이터**: `.moai/memory/spec-metadata.md`
460
+ ### MoAI-ADK Resources
461
+ - **Development Guide**: `.moai/memory/development-guide.md`
462
+ - **SPEC Metadata**: `.moai/memory/spec-metadata.md`
466
463
 
467
- ### 커뮤니티
464
+ ### Community
468
465
  - **GitHub Issues**: {Link}
469
- - **디스커션**: {Link}
466
+ - **Discussion**: {Link}
470
467
 
471
468
  ---
472
469
 
473
- ## 🔄 업데이트 로그
470
+ ## 🔄 Update log
474
471
 
475
472
  ### v1.0.0 (Initial)
476
473
  - {Feature 1 introduced}
@@ -482,12 +479,12 @@ tail -f {log-file-path}
482
479
  **Template Level**: Full
483
480
  **Best For**: Production MoAI-ADK integration, enterprise workflows
484
481
  **Features**:
485
- - Alfred 자동 선택
486
- - 워크플로우 통합
487
- - 상세 설정
488
- - 검증 자동화
489
- - 에러 처리
490
- - 성능 최적화
482
+ - Alfred auto-selection
483
+ - Workflow integration
484
+ - Detailed settings
485
+ - Verification automation
486
+ - Error handling
487
+ - Performance optimization
491
488
 
492
489
  **Directory Structure**: Full (SKILL.md + reference.md + examples.md + scripts/ + templates/)
493
490
  **Estimated Setup Time**: 45-60 minutes
@@ -496,4 +493,4 @@ tail -f {log-file-path}
496
493
 
497
494
  ---
498
495
 
499
- 스킬은 {domain}에서 최고 수준의 자동화를 제공합니다.
496
+ This skill provides the highest level of automation in {domain}.
@@ -1,23 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-domain-backend
3
- description: Server architecture, API design, caching strategies, and scalability
4
- patterns
4
+ description: Provides backend architecture and scaling guidance; use when the project targets server-side APIs or infrastructure design decisions.
5
5
  allowed-tools:
6
- - Read
7
- - Bash
6
+ - Read
7
+ - Bash
8
8
  ---
9
9
 
10
10
  # Backend Expert
11
11
 
12
+ ## Skill Metadata
13
+ | Field | Value |
14
+ | ----- | ----- |
15
+ | Allowed tools | Read (read_file), Bash (terminal) |
16
+ | Auto-load | On demand for backend architecture requests |
17
+ | Trigger cues | Service layering, API orchestration, caching, background job design discussions. |
18
+ | Tier | 4 |
19
+
12
20
  ## What it does
13
21
 
14
22
  Provides expertise in backend server architecture, RESTful API design, caching strategies, database optimization, and horizontal/vertical scalability patterns.
15
23
 
16
24
  ## When to use
17
25
 
18
- - "백엔드 아키텍처", "API 설계", "캐싱 전략", "확장성"
26
+ - Engages when backend or service-architecture questions come up.
27
+ - “Backend architecture”, “API design”, “Caching strategy”, “Scalability”
19
28
  - Automatically invoked when working with backend projects
20
- - Backend SPEC implementation (`/alfred:2-build`)
29
+ - Backend SPEC implementation (`/alfred:2-run`)
21
30
 
22
31
  ## How it works
23
32
 
@@ -52,17 +61,39 @@ Provides expertise in backend server architecture, RESTful API design, caching s
52
61
  - **Rate limiting**: API throttling
53
62
 
54
63
  ## Examples
64
+ ```bash
65
+ $ make test-backend
66
+ $ k6 run perf/api-smoke.js
67
+ ```
68
+
69
+ ## Inputs
70
+ - Domain-specific design documents and user requirements.
71
+ - Project technology stack and operational constraints.
72
+
73
+ ## Outputs
74
+ - Domain-specific architecture or implementation guidelines.
75
+ - Recommended list of associated sub-agents/skills.
55
76
 
56
- ### Example 1: Layered architecture implementation
57
- User: "/alfred:2-build BACKEND-001"
58
- Claude: (creates RED API test, GREEN layered implementation, REFACTOR with caching)
77
+ ## Failure Modes
78
+ - When the domain document does not exist or is ambiguous.
79
+ - When the project strategy is unconfirmed and cannot be specified.
59
80
 
60
- ### Example 2: Redis caching integration
61
- User: "Redis 캐싱 추가"
62
- Claude: (implements cache-aside pattern with Redis)
81
+ ## Dependencies
82
+ - `.moai/project/` document and latest technical briefing are required.
83
+
84
+ ## References
85
+ - AWS. "AWS Well-Architected Framework." https://docs.aws.amazon.com/wellarchitected/latest/framework/ (accessed 2025-03-29).
86
+ - Heroku. "The Twelve-Factor App." https://12factor.net/ (accessed 2025-03-29).
87
+
88
+ ## Changelog
89
+ - 2025-03-29: Codified input/output and failure responses for domain skills.
63
90
 
64
91
  ## Works well with
65
92
 
66
93
  - alfred-trust-validation (backend testing)
67
94
  - web-api-expert (API design)
68
95
  - database-expert (database optimization)
96
+
97
+ ## Best Practices
98
+ - Record supporting documentation (version/link) for each domain decision.
99
+ - Review performance, security, and operational requirements simultaneously at an early stage.