moai-adk 0.4.0__py3-none-any.whl → 0.4.1__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.
- moai_adk/__init__.py +1 -8
- moai_adk/cli/commands/init.py +10 -5
- moai_adk/cli/commands/update.py +274 -118
- moai_adk/cli/prompts/init_prompts.py +14 -18
- moai_adk/core/diagnostics/slash_commands.py +1 -1
- moai_adk/core/project/backup_utils.py +1 -0
- moai_adk/core/project/phase_executor.py +3 -1
- moai_adk/core/project/validator.py +3 -2
- moai_adk/core/template/backup.py +11 -3
- moai_adk/core/template/merger.py +16 -3
- moai_adk/core/template/processor.py +22 -3
- moai_adk/templates/.claude/agents/alfred/cc-manager.md +443 -424
- moai_adk/templates/.claude/agents/alfred/debug-helper.md +116 -103
- moai_adk/templates/.claude/agents/alfred/doc-syncer.md +130 -116
- moai_adk/templates/.claude/agents/alfred/git-manager.md +186 -174
- moai_adk/templates/.claude/agents/alfred/implementation-planner.md +227 -213
- moai_adk/templates/.claude/agents/alfred/project-manager.md +205 -125
- moai_adk/templates/.claude/agents/alfred/quality-gate.md +224 -209
- moai_adk/templates/.claude/agents/alfred/spec-builder.md +174 -160
- moai_adk/templates/.claude/agents/alfred/tag-agent.md +151 -139
- moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +209 -196
- moai_adk/templates/.claude/agents/alfred/trust-checker.md +247 -233
- moai_adk/templates/.claude/commands/alfred/0-project.md +673 -640
- moai_adk/templates/.claude/commands/alfred/1-plan.md +342 -333
- moai_adk/templates/.claude/commands/alfred/2-run.md +295 -285
- moai_adk/templates/.claude/commands/alfred/3-sync.md +366 -356
- moai_adk/templates/.claude/hooks/alfred/README.md +52 -52
- moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +44 -48
- moai_adk/templates/.claude/hooks/alfred/core/__init__.py +17 -17
- moai_adk/templates/.claude/hooks/alfred/core/checkpoint.py +59 -59
- moai_adk/templates/.claude/hooks/alfred/core/context.py +19 -19
- moai_adk/templates/.claude/hooks/alfred/core/project.py +52 -52
- moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +1 -1
- moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +4 -4
- moai_adk/templates/.claude/hooks/alfred/handlers/session.py +27 -27
- moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +16 -17
- moai_adk/templates/.claude/hooks/alfred/handlers/user.py +11 -11
- moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +308 -307
- moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +297 -296
- moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +191 -190
- moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/SKILL.md +112 -0
- moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/SKILL.md +103 -0
- moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +103 -0
- moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +95 -0
- moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/SKILL.md +105 -0
- moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/SKILL.md +97 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +97 -0
- moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +90 -0
- moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-alfred-tui-survey/SKILL.md +87 -0
- moai_adk/templates/.claude/skills/moai-alfred-tui-survey/examples.md +62 -0
- moai_adk/templates/.claude/skills/moai-claude-code/SKILL.md +70 -43
- moai_adk/templates/.claude/skills/moai-claude-code/examples.md +141 -141
- moai_adk/templates/.claude/skills/moai-claude-code/reference.md +179 -165
- moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +78 -78
- moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +90 -90
- moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +39 -25
- moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +117 -74
- moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +131 -134
- moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +43 -11
- moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +47 -11
- moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +47 -11
- moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +51 -14
- moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +46 -10
- moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +62 -25
- moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +44 -17
- moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +44 -14
- moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +45 -13
- moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +46 -14
- moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +48 -8
- moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +44 -12
- moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +44 -43
- moai_adk/templates/.github/workflows/moai-gitflow.yml +36 -35
- moai_adk/templates/.moai/config.json +9 -6
- moai_adk/templates/.moai/memory/development-guide.md +220 -221
- moai_adk/templates/.moai/memory/gitflow-protection-policy.md +85 -85
- moai_adk/templates/.moai/memory/spec-metadata.md +149 -150
- moai_adk/templates/.moai/project/product.md +90 -90
- moai_adk/templates/.moai/project/structure.md +85 -85
- moai_adk/templates/.moai/project/tech.md +117 -117
- moai_adk/templates/CLAUDE.md +350 -722
- moai_adk-0.4.1.dist-info/METADATA +303 -0
- moai_adk-0.4.1.dist-info/RECORD +152 -0
- moai_adk/templates/.claude/commands/alfred/1-spec.md +0 -31
- moai_adk/templates/.claude/commands/alfred/2-build.md +0 -30
- moai_adk/templates/.claude/skills/scripts/standardize_skills.py +0 -166
- moai_adk/templates/.claude/skills/scripts/verify_standardization.sh +0 -43
- moai_adk/templates/.moai/hooks/pre-push.sample +0 -88
- moai_adk-0.4.0.dist-info/METADATA +0 -1816
- moai_adk-0.4.0.dist-info/RECORD +0 -145
- {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/WHEEL +0 -0
- {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/entry_points.txt +0 -0
- {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
# Claude Code
|
|
1
|
+
# Claude Code collection of practical examples
|
|
2
2
|
|
|
3
|
-
>
|
|
3
|
+
> **Actual working example code**
|
|
4
4
|
>
|
|
5
|
-
>
|
|
5
|
+
> Proven examples that can be copied and used immediately
|
|
6
6
|
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
## 📋
|
|
9
|
+
## 📋 Table of Contents
|
|
10
10
|
|
|
11
|
-
1. [Agent
|
|
12
|
-
2. [Command
|
|
13
|
-
3. [Skill
|
|
14
|
-
4. [Plugin
|
|
15
|
-
5. [Settings
|
|
11
|
+
1. [Agent example](#1-agent-example)
|
|
12
|
+
2. [Command example](#2-command-example)
|
|
13
|
+
3. [Skill example](#3-skill-example)
|
|
14
|
+
4. [Plugin example](#4-plugin-example)
|
|
15
|
+
5. [Settings example](#5-settings-example)
|
|
16
16
|
|
|
17
17
|
---
|
|
18
18
|
|
|
19
|
-
## 1. Agent
|
|
19
|
+
## 1. Agent example
|
|
20
20
|
|
|
21
|
-
###
|
|
21
|
+
### Example 1: spec-builder (MoAI-ADK)
|
|
22
22
|
|
|
23
|
-
|
|
23
|
+
**File**: `.claude/agents/alfred/spec-builder.md`
|
|
24
24
|
|
|
25
25
|
```markdown
|
|
26
26
|
---
|
|
27
27
|
name: spec-builder
|
|
28
|
-
description: "Use when: SPEC
|
|
28
|
+
description: "Use when: When writing SPEC, EARS specification, and requirements analysis are necessary."
|
|
29
29
|
tools: Read, Write, Edit, MultiEdit, Grep, Glob, Bash, TodoWrite
|
|
30
30
|
model: sonnet
|
|
31
31
|
---
|
|
32
32
|
|
|
33
|
-
# SPEC Builder 🏗️ -
|
|
33
|
+
# SPEC Builder 🏗️ - System Architect
|
|
34
34
|
|
|
35
|
-
**MoAI-ADK SPEC
|
|
35
|
+
**MoAI-ADK SPEC writing expert**
|
|
36
36
|
|
|
37
|
-
## 🎭
|
|
37
|
+
## 🎭 Agent Persona
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
**Icon**: 🏗️
|
|
40
|
+
**Job**: System Architect
|
|
41
|
+
**Area of Expertise**: SPEC writing, EARS specification, requirements analysis
|
|
42
|
+
**Role**: Convert business requirements into structured SPECs
|
|
43
|
+
**Goal**: Create clear and testable SPEC documents.
|
|
44
44
|
|
|
45
|
-
## 🎯
|
|
45
|
+
## 🎯 Key Role
|
|
46
46
|
|
|
47
|
-
### 1. SPEC
|
|
48
|
-
- EARS 5
|
|
49
|
-
- YAML Front Matter 7
|
|
50
|
-
- HISTORY
|
|
47
|
+
### 1. Create SPEC document
|
|
48
|
+
- Apply EARS 5 syntax
|
|
49
|
+
- YAML Front Matter 7 required fields
|
|
50
|
+
- HISTORY section management
|
|
51
51
|
|
|
52
|
-
### 2.
|
|
53
|
-
- `/alfred:1-
|
|
54
|
-
-
|
|
55
|
-
-
|
|
52
|
+
### 2. Auto-execution conditions
|
|
53
|
+
- When executing the `/alfred:1-plan` command
|
|
54
|
+
- When a new function requirement occurs
|
|
55
|
+
- When requesting improvement of the existing SPEC
|
|
56
56
|
|
|
57
|
-
## 📐
|
|
57
|
+
## 📐 Workflow
|
|
58
58
|
|
|
59
|
-
### STEP 1:
|
|
59
|
+
### STEP 1: Project document analysis
|
|
60
60
|
\`\`\`bash
|
|
61
|
-
# product.md
|
|
61
|
+
# read product.md
|
|
62
62
|
Read .moai/project/product.md
|
|
63
63
|
|
|
64
|
-
#
|
|
64
|
+
# Check existing SPEC
|
|
65
65
|
ls .moai/specs/SPEC-*/spec.md
|
|
66
66
|
\`\`\`
|
|
67
67
|
|
|
68
|
-
### STEP 2: SPEC
|
|
68
|
+
### STEP 2: Draft SPEC
|
|
69
69
|
\`\`\`bash
|
|
70
70
|
Write .moai/specs/SPEC-{ID}/spec.md
|
|
71
71
|
\`\`\`
|
|
72
72
|
|
|
73
|
-
## 💡
|
|
73
|
+
## 💡 User Guide
|
|
74
74
|
\`\`\`bash
|
|
75
|
-
@agent-spec-builder "
|
|
75
|
+
@agent-spec-builder "Create a user authentication function SPEC"
|
|
76
76
|
\`\`\`
|
|
77
77
|
```
|
|
78
78
|
|
|
79
|
-
###
|
|
79
|
+
### Example 2: code-analyzer (simple analysis agent)
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
**File**: `.claude/agents/code-analyzer.md`
|
|
82
82
|
|
|
83
83
|
```markdown
|
|
84
84
|
---
|
|
@@ -88,59 +88,59 @@ tools: Read, Grep, Bash(rg:*)
|
|
|
88
88
|
model: haiku
|
|
89
89
|
---
|
|
90
90
|
|
|
91
|
-
# Code Analyzer 🔍 -
|
|
91
|
+
# Code Analyzer 🔍 - Quality Manager
|
|
92
92
|
|
|
93
|
-
|
|
93
|
+
Analyze code quality metrics and provide improvement suggestions.
|
|
94
94
|
|
|
95
|
-
## 🎭
|
|
95
|
+
## 🎭 Agent Persona
|
|
96
96
|
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
97
|
+
**Icon**: 🔍
|
|
98
|
+
**Job**: Quality Manager
|
|
99
|
+
**Area of Expertise**: Code quality analysis, linting, test coverage
|
|
100
|
+
**Role**: Measure code quality metrics and suggest improvements
|
|
101
|
+
**Goal**: Maintain high code quality
|
|
102
102
|
|
|
103
|
-
## 🎯
|
|
103
|
+
## 🎯 Key Role
|
|
104
104
|
|
|
105
|
-
### 1.
|
|
106
|
-
-
|
|
107
|
-
-
|
|
108
|
-
-
|
|
105
|
+
### 1. Collect quality indicators
|
|
106
|
+
- Check test coverage
|
|
107
|
+
- Detect linting errors
|
|
108
|
+
- Complexity analysis
|
|
109
109
|
|
|
110
|
-
### 2.
|
|
111
|
-
-
|
|
112
|
-
-
|
|
110
|
+
### 2. Conditions for automatic execution
|
|
111
|
+
- When quality verification is requested before commit
|
|
112
|
+
- Automatic verification before creating PR
|
|
113
113
|
|
|
114
|
-
## 📐
|
|
114
|
+
## 📐 Workflow
|
|
115
115
|
|
|
116
|
-
### STEP 1:
|
|
116
|
+
### STEP 1: Scan code
|
|
117
117
|
\`\`\`bash
|
|
118
118
|
rg "@TEST:" -n tests/
|
|
119
119
|
pytest --cov
|
|
120
120
|
\`\`\`
|
|
121
121
|
|
|
122
|
-
### STEP 2:
|
|
123
|
-
-
|
|
124
|
-
-
|
|
122
|
+
### STEP 2: Generate report
|
|
123
|
+
- Coverage: {percentage}%
|
|
124
|
+
- Linting errors: {count}
|
|
125
125
|
|
|
126
|
-
## 💡
|
|
126
|
+
## 💡 User Guide
|
|
127
127
|
\`\`\`bash
|
|
128
|
-
@agent-code-analyzer "
|
|
128
|
+
@agent-code-analyzer "Analyze current project quality"
|
|
129
129
|
\`\`\`
|
|
130
130
|
```
|
|
131
131
|
|
|
132
132
|
---
|
|
133
133
|
|
|
134
|
-
## 2. Command
|
|
134
|
+
## 2. Command example
|
|
135
135
|
|
|
136
|
-
###
|
|
136
|
+
### Example 1: /alfred:1-plan (MoAI-ADK)
|
|
137
137
|
|
|
138
|
-
|
|
138
|
+
**File**: `.claude/commands/alfred/1-spec.md`
|
|
139
139
|
|
|
140
140
|
```markdown
|
|
141
141
|
---
|
|
142
142
|
name: alfred:1-spec
|
|
143
|
-
description:
|
|
143
|
+
description: Project document analysis and SPEC creation (EARS method)
|
|
144
144
|
argument-hint: [feature-description]
|
|
145
145
|
allowed-tools:
|
|
146
146
|
- Read
|
|
@@ -153,50 +153,50 @@ allowed-tools:
|
|
|
153
153
|
- Bash(git:*)
|
|
154
154
|
---
|
|
155
155
|
|
|
156
|
-
# 📋 MoAI-ADK 1
|
|
156
|
+
# 📋 MoAI-ADK Step 1: Write SPEC
|
|
157
157
|
|
|
158
|
-
## 🎯
|
|
158
|
+
## 🎯 Command Purpose
|
|
159
159
|
|
|
160
|
-
|
|
160
|
+
Analyze project documents, create SPEC documents using the EARS method, and create Git branches.
|
|
161
161
|
|
|
162
|
-
## 💡
|
|
162
|
+
## 💡 Example of use
|
|
163
163
|
\`\`\`bash
|
|
164
|
-
/alfred:1-
|
|
164
|
+
/alfred:1-plan "User authentication function"
|
|
165
165
|
\`\`\`
|
|
166
166
|
|
|
167
|
-
## 📋
|
|
167
|
+
## 📋 Execution flow
|
|
168
168
|
|
|
169
|
-
1. **Phase 1**:
|
|
170
|
-
|
|
171
|
-
|
|
169
|
+
1. **Phase 1**: Analyze project document
|
|
170
|
+
- Read product.md
|
|
171
|
+
- Check existing SPEC
|
|
172
172
|
|
|
173
|
-
2. **Phase 2**: SPEC
|
|
174
|
-
|
|
175
|
-
|
|
173
|
+
2. **Phase 2**: SPEC creation
|
|
174
|
+
- EARS method specification
|
|
175
|
+
- Git branch creation
|
|
176
176
|
|
|
177
|
-
## 🔗
|
|
177
|
+
## 🔗 Associated Agent
|
|
178
178
|
|
|
179
|
-
- **Primary**: spec-builder (🏗️
|
|
180
|
-
- **Secondary**: git-manager (🚀
|
|
179
|
+
- **Primary**: spec-builder (🏗️ System Architect)
|
|
180
|
+
- **Secondary**: git-manager (🚀 Release Engineer)
|
|
181
181
|
|
|
182
|
-
## ⚠️
|
|
182
|
+
## ⚠️ Precautions
|
|
183
183
|
|
|
184
|
-
- SPEC ID
|
|
185
|
-
- EARS 5
|
|
184
|
+
- SPEC ID duplication check required
|
|
185
|
+
- Compliance with EARS 5 phrases
|
|
186
186
|
|
|
187
|
-
## 📋
|
|
187
|
+
## 📋 Next steps
|
|
188
188
|
|
|
189
|
-
- `/alfred:2-
|
|
189
|
+
- `/alfred:2-run SPEC-{ID}` - Start TDD implementation
|
|
190
190
|
```
|
|
191
191
|
|
|
192
|
-
###
|
|
192
|
+
### Example 2: /deploy-api (deploy command)
|
|
193
193
|
|
|
194
|
-
|
|
194
|
+
**File**: `.claude/commands/deploy-api.md`
|
|
195
195
|
|
|
196
196
|
```markdown
|
|
197
197
|
---
|
|
198
198
|
name: deploy-api
|
|
199
|
-
description: API
|
|
199
|
+
description: Deploy API server to production environment
|
|
200
200
|
argument-hint: [environment]
|
|
201
201
|
allowed-tools:
|
|
202
202
|
- Read
|
|
@@ -204,86 +204,86 @@ allowed-tools:
|
|
|
204
204
|
- Bash(npm:*)
|
|
205
205
|
---
|
|
206
206
|
|
|
207
|
-
# 🚀 API
|
|
207
|
+
# 🚀 API deployment command
|
|
208
208
|
|
|
209
|
-
API
|
|
209
|
+
Deploys the API server to the specified environment.
|
|
210
210
|
|
|
211
|
-
## 🎯
|
|
211
|
+
## 🎯 Command Purpose
|
|
212
212
|
|
|
213
|
-
Git
|
|
213
|
+
Automate Git tag creation and deployment by environment
|
|
214
214
|
|
|
215
|
-
## 💡
|
|
215
|
+
## 💡 Example of use
|
|
216
216
|
\`\`\`bash
|
|
217
217
|
/deploy-api production
|
|
218
218
|
/deploy-api staging
|
|
219
219
|
\`\`\`
|
|
220
220
|
|
|
221
|
-
## 📋
|
|
221
|
+
## 📋 Execution flow
|
|
222
222
|
|
|
223
|
-
1. **Phase 1**: Git
|
|
224
|
-
|
|
225
|
-
|
|
223
|
+
1. **Phase 1**: Check Git status
|
|
224
|
+
- Check current branch (main required)
|
|
225
|
+
- Create version tag
|
|
226
226
|
|
|
227
|
-
2. **Phase 2**:
|
|
227
|
+
2. **Phase 2**: Deployment execution
|
|
228
228
|
- npm run build
|
|
229
|
-
|
|
229
|
+
- Execute deployment script for each environment
|
|
230
230
|
|
|
231
|
-
## ⚠️
|
|
231
|
+
## ⚠️ Precautions
|
|
232
232
|
|
|
233
|
-
-
|
|
234
|
-
-
|
|
233
|
+
- Can only be run from the main branch
|
|
234
|
+
- Must pass all tests
|
|
235
235
|
```
|
|
236
236
|
|
|
237
237
|
---
|
|
238
238
|
|
|
239
|
-
## 3. Skill
|
|
239
|
+
## 3. Skill example
|
|
240
240
|
|
|
241
|
-
###
|
|
241
|
+
### Example 1: moai-alfred-tag-scanning
|
|
242
242
|
|
|
243
|
-
|
|
243
|
+
**File**: `.claude/skills/moai-alfred-tag-scanning/SKILL.md`
|
|
244
244
|
|
|
245
245
|
```markdown
|
|
246
246
|
---
|
|
247
247
|
name: moai-alfred-tag-scanning
|
|
248
|
-
description:
|
|
248
|
+
description: Directly scan TAG markers and create inventory (CODE-FIRST principle)
|
|
249
249
|
model: haiku
|
|
250
250
|
allowed-tools:
|
|
251
251
|
- Grep
|
|
252
252
|
- Read
|
|
253
253
|
---
|
|
254
254
|
|
|
255
|
-
# TAG
|
|
255
|
+
# TAG scanner
|
|
256
256
|
|
|
257
|
-
> CODE-FIRST
|
|
257
|
+
> CODE-FIRST principle: scan code directly without intermediate cache
|
|
258
258
|
|
|
259
|
-
## 🎯
|
|
259
|
+
## 🎯 Purpose
|
|
260
260
|
|
|
261
|
-
`@SPEC`, `@TEST`, `@CODE`, `@DOC`
|
|
261
|
+
Scan `@SPEC`, `@TEST`, `@CODE`, and `@DOC` TAGs directly from your code.
|
|
262
262
|
|
|
263
|
-
## 💡
|
|
263
|
+
## 💡 How to use
|
|
264
264
|
|
|
265
|
-
|
|
265
|
+
“Check AUTH domain TAG list”
|
|
266
266
|
|
|
267
|
-
## 📋
|
|
267
|
+
## 📋 How to scan
|
|
268
268
|
|
|
269
269
|
\`\`\`bash
|
|
270
270
|
rg '@(SPEC|TEST|CODE|DOC):' -n .moai/specs/ tests/ src/ docs/
|
|
271
271
|
\`\`\`
|
|
272
272
|
|
|
273
|
-
## ✅
|
|
273
|
+
## ✅ Verification
|
|
274
274
|
|
|
275
|
-
-
|
|
276
|
-
-
|
|
275
|
+
- Does every `@CODE` TAG have a corresponding `@SPEC`?
|
|
276
|
+
- No orphan TAGs
|
|
277
277
|
```
|
|
278
278
|
|
|
279
|
-
###
|
|
279
|
+
### Example 2: moai-alfred-feature-selector
|
|
280
280
|
|
|
281
|
-
|
|
281
|
+
**File**: `.claude/skills/moai-alfred-feature-selector/SKILL.md`
|
|
282
282
|
|
|
283
283
|
```markdown
|
|
284
284
|
---
|
|
285
285
|
name: moai-alfred-feature-selector
|
|
286
|
-
description:
|
|
286
|
+
description: Select optimal functions for each project type (37 skills → automatically filter 3 to 5)
|
|
287
287
|
model: haiku
|
|
288
288
|
allowed-tools:
|
|
289
289
|
- Read
|
|
@@ -291,34 +291,34 @@ allowed-tools:
|
|
|
291
291
|
|
|
292
292
|
# MoAI Alfred Feature Selector
|
|
293
293
|
|
|
294
|
-
>
|
|
294
|
+
> Automatic selection of MoAI-ADK functions suitable for project characteristics
|
|
295
295
|
|
|
296
|
-
## 🎯
|
|
296
|
+
## 🎯 Purpose
|
|
297
297
|
|
|
298
|
-
|
|
298
|
+
Analyze your project type and select only the features you need.
|
|
299
299
|
|
|
300
|
-
## 📋
|
|
300
|
+
## 📋 Project classification
|
|
301
301
|
|
|
302
|
-
###
|
|
302
|
+
### By language
|
|
303
303
|
- **Python**: pytest, mypy, ruff
|
|
304
304
|
- **TypeScript**: Vitest, Biome
|
|
305
305
|
|
|
306
|
-
###
|
|
307
|
-
- **CLI Tool**:
|
|
308
|
-
- **Web API**: REST/GraphQL,
|
|
306
|
+
### Domain-specific
|
|
307
|
+
- **CLI Tool**: Argument parsing, POSIX compliance
|
|
308
|
+
- **Web API**: REST/GraphQL, authentication
|
|
309
309
|
|
|
310
|
-
## 💡
|
|
310
|
+
## 💡 How to use
|
|
311
311
|
|
|
312
|
-
"/alfred:0-project
|
|
312
|
+
"Automatically called when running /alfred:0-project"
|
|
313
313
|
```
|
|
314
314
|
|
|
315
315
|
---
|
|
316
316
|
|
|
317
|
-
## 4. Plugin
|
|
317
|
+
## 4. Plugin example
|
|
318
318
|
|
|
319
|
-
###
|
|
319
|
+
### Example 1: GitHub + Filesystem (default)
|
|
320
320
|
|
|
321
|
-
|
|
321
|
+
**FILE**: `.claude/settings.json` (mcpServers section)
|
|
322
322
|
|
|
323
323
|
```json
|
|
324
324
|
{
|
|
@@ -343,7 +343,7 @@ allowed-tools:
|
|
|
343
343
|
}
|
|
344
344
|
```
|
|
345
345
|
|
|
346
|
-
###
|
|
346
|
+
### Example 2: Fully configured MoAI-ADK
|
|
347
347
|
|
|
348
348
|
```json
|
|
349
349
|
{
|
|
@@ -379,11 +379,11 @@ allowed-tools:
|
|
|
379
379
|
|
|
380
380
|
---
|
|
381
381
|
|
|
382
|
-
## 5. Settings
|
|
382
|
+
## 5. Settings example
|
|
383
383
|
|
|
384
|
-
###
|
|
384
|
+
### Example 1: Python project
|
|
385
385
|
|
|
386
|
-
|
|
386
|
+
**File**: `.claude/settings.json`
|
|
387
387
|
|
|
388
388
|
```json
|
|
389
389
|
{
|
|
@@ -414,7 +414,7 @@ allowed-tools:
|
|
|
414
414
|
}
|
|
415
415
|
```
|
|
416
416
|
|
|
417
|
-
###
|
|
417
|
+
### Example 2: TypeScript project
|
|
418
418
|
|
|
419
419
|
```json
|
|
420
420
|
{
|
|
@@ -446,7 +446,7 @@ allowed-tools:
|
|
|
446
446
|
}
|
|
447
447
|
```
|
|
448
448
|
|
|
449
|
-
###
|
|
449
|
+
### Example 3: MoAI-ADK project (with hooks)
|
|
450
450
|
|
|
451
451
|
```json
|
|
452
452
|
{
|
|
@@ -509,5 +509,5 @@ allowed-tools:
|
|
|
509
509
|
|
|
510
510
|
---
|
|
511
511
|
|
|
512
|
-
|
|
513
|
-
|
|
512
|
+
**Last update**: 2025-10-19
|
|
513
|
+
**Author**: @Alfred
|