moai-adk 0.4.7__py3-none-any.whl → 0.4.8__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/templates/.claude/agents/alfred/cc-manager.md +188 -954
- moai_adk/templates/.claude/agents/alfred/debug-helper.md +4 -5
- moai_adk/templates/.claude/agents/alfred/doc-syncer.md +2 -2
- moai_adk/templates/.claude/agents/alfred/git-manager.md +2 -2
- moai_adk/templates/.claude/agents/alfred/implementation-planner.md +3 -3
- moai_adk/templates/.claude/agents/alfred/project-manager.md +6 -6
- moai_adk/templates/.claude/agents/alfred/quality-gate.md +4 -6
- moai_adk/templates/.claude/agents/alfred/skill-factory.md +36 -36
- moai_adk/templates/.claude/agents/alfred/spec-builder.md +2 -2
- moai_adk/templates/.claude/agents/alfred/tag-agent.md +2 -2
- moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +3 -3
- moai_adk/templates/.claude/agents/alfred/trust-checker.md +5 -5
- moai_adk/templates/.claude/commands/alfred/0-project.md +98 -42
- moai_adk/templates/.claude/commands/alfred/1-plan.md +7 -7
- moai_adk/templates/.claude/commands/alfred/2-run.md +36 -36
- moai_adk/templates/.claude/commands/alfred/3-sync.md +10 -10
- moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +14 -1
- moai_adk/templates/.claude/hooks/alfred/core/__init__.py +115 -33
- moai_adk/templates/.claude/hooks/alfred/handlers/session.py +8 -9
- moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +6 -6
- moai_adk/templates/.claude/hooks/alfred/handlers/user.py +5 -4
- moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +1 -1
- moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +1 -1
- moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +1 -1
- moai_adk/templates/.claude/settings.json +42 -2
- moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/SKILL.md +480 -0
- moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/examples.md +257 -0
- moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/reference.md +120 -0
- moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +249 -0
- moai_adk/templates/.claude/skills/moai-cc-agents/templates/agent-template.md +32 -0
- moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +278 -0
- moai_adk/templates/.claude/skills/moai-cc-claude-md/templates/CLAUDE-template.md +26 -0
- moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +287 -0
- moai_adk/templates/.claude/skills/moai-cc-commands/templates/command-template.md +21 -0
- moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +232 -0
- moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/pre-bash-check.sh +19 -0
- moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/preserve-permissions.sh +19 -0
- moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/validate-bash-command.py +24 -0
- moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +179 -0
- moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/templates/settings-mcp-template.json +39 -0
- moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +296 -0
- moai_adk/templates/.claude/skills/moai-cc-memory/templates/session-summary-template.md +18 -0
- moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +243 -0
- moai_adk/templates/.claude/skills/moai-cc-settings/templates/settings-complete-template.json +30 -0
- moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +271 -0
- moai_adk/templates/.claude/skills/moai-cc-skills/templates/SKILL-template.md +15 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/EXAMPLES.md +261 -35
- moai_adk/templates/.claude/skills/moai-skill-factory/INTERACTIVE-DISCOVERY.md +15 -15
- moai_adk/templates/.claude/skills/moai-skill-factory/PARALLEL-ANALYSIS-REPORT.md +429 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/PYTHON-VERSION-MATRIX.md +391 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-FACTORY-WORKFLOW.md +431 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/SKILL.md +33 -33
- moai_adk/templates/.claude/skills/moai-skill-factory/STEP-BY-STEP-GUIDE.md +466 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/reference.md +438 -42
- moai_adk/templates/.claude/skills/moai-spec-authoring/README.md +129 -0
- moai_adk/templates/.claude/skills/moai-spec-authoring/SKILL.md +1300 -0
- moai_adk/templates/.claude/skills/moai-spec-authoring/examples/validate-spec.sh +161 -0
- moai_adk/templates/CLAUDE.md +101 -93
- {moai_adk-0.4.7.dist-info → moai_adk-0.4.8.dist-info}/METADATA +537 -146
- {moai_adk-0.4.7.dist-info → moai_adk-0.4.8.dist-info}/RECORD +63 -73
- moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/SKILL.md +0 -113
- moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/examples.md +0 -29
- moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/reference.md +0 -28
- moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/SKILL.md +0 -113
- moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/examples.md +0 -29
- moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/reference.md +0 -28
- moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/SKILL.md +0 -113
- moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/examples.md +0 -29
- moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/reference.md +0 -28
- moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/SKILL.md +0 -113
- moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/examples.md +0 -29
- moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/reference.md +0 -28
- moai_adk/templates/.claude/skills/moai-alfred-tui-survey/SKILL.md +0 -635
- moai_adk/templates/.claude/skills/moai-alfred-tui-survey/examples.md +0 -992
- moai_adk/templates/.claude/skills/moai-alfred-tui-survey/reference.md +0 -801
- moai_adk/templates/.claude/skills/moai-claude-code/SKILL.md +0 -121
- moai_adk/templates/.claude/skills/moai-claude-code/examples.md +0 -29
- moai_adk/templates/.claude/skills/moai-claude-code/reference.md +0 -28
- moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +0 -332
- moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +0 -384
- moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +0 -363
- moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +0 -595
- moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +0 -496
- moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +0 -123
- moai_adk/templates/.claude/skills/moai-lang-clojure/examples.md +0 -29
- moai_adk/templates/.claude/skills/moai-lang-clojure/reference.md +0 -30
- moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +0 -124
- moai_adk/templates/.claude/skills/moai-lang-elixir/examples.md +0 -29
- moai_adk/templates/.claude/skills/moai-lang-elixir/reference.md +0 -31
- moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +0 -124
- moai_adk/templates/.claude/skills/moai-lang-haskell/examples.md +0 -29
- moai_adk/templates/.claude/skills/moai-lang-haskell/reference.md +0 -31
- moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +0 -123
- moai_adk/templates/.claude/skills/moai-lang-julia/examples.md +0 -29
- moai_adk/templates/.claude/skills/moai-lang-julia/reference.md +0 -30
- moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +0 -123
- moai_adk/templates/.claude/skills/moai-lang-lua/examples.md +0 -29
- moai_adk/templates/.claude/skills/moai-lang-lua/reference.md +0 -30
- {moai_adk-0.4.7.dist-info → moai_adk-0.4.8.dist-info}/WHEEL +0 -0
- {moai_adk-0.4.7.dist-info → moai_adk-0.4.8.dist-info}/entry_points.txt +0 -0
- {moai_adk-0.4.7.dist-info → moai_adk-0.4.8.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
#!/usr/bin/env bash
|
|
2
|
+
# validate-spec.sh - SPEC validation helper for MoAI-ADK
|
|
3
|
+
# Usage: ./validate-spec.sh .moai/specs/SPEC-AUTH-001
|
|
4
|
+
|
|
5
|
+
set -e
|
|
6
|
+
|
|
7
|
+
SPEC_DIR="$1"
|
|
8
|
+
|
|
9
|
+
if [ -z "$SPEC_DIR" ]; then
|
|
10
|
+
echo "Usage: $0 <SPEC_DIR>"
|
|
11
|
+
echo "Example: $0 .moai/specs/SPEC-AUTH-001"
|
|
12
|
+
exit 1
|
|
13
|
+
fi
|
|
14
|
+
|
|
15
|
+
if [ ! -d "$SPEC_DIR" ]; then
|
|
16
|
+
echo "Error: Directory $SPEC_DIR does not exist"
|
|
17
|
+
exit 1
|
|
18
|
+
fi
|
|
19
|
+
|
|
20
|
+
if [ ! -f "$SPEC_DIR/spec.md" ]; then
|
|
21
|
+
echo "Error: spec.md not found in $SPEC_DIR"
|
|
22
|
+
exit 1
|
|
23
|
+
fi
|
|
24
|
+
|
|
25
|
+
echo "=========================================="
|
|
26
|
+
echo "Validating SPEC: $SPEC_DIR"
|
|
27
|
+
echo "=========================================="
|
|
28
|
+
echo ""
|
|
29
|
+
|
|
30
|
+
# Check required fields
|
|
31
|
+
echo -n "Required fields (7)... "
|
|
32
|
+
REQUIRED_COUNT=$(rg "^(id|version|status|created|updated|author|priority):" "$SPEC_DIR/spec.md" | wc -l | tr -d ' ')
|
|
33
|
+
if [ "$REQUIRED_COUNT" -eq 7 ]; then
|
|
34
|
+
echo "✅ ($REQUIRED_COUNT/7)"
|
|
35
|
+
else
|
|
36
|
+
echo "❌ ($REQUIRED_COUNT/7)"
|
|
37
|
+
echo " Missing fields. Expected: id, version, status, created, updated, author, priority"
|
|
38
|
+
fi
|
|
39
|
+
|
|
40
|
+
# Check author format
|
|
41
|
+
echo -n "Author format (@Handle)... "
|
|
42
|
+
if rg "^author: @[A-Z]" "$SPEC_DIR/spec.md" > /dev/null 2>&1; then
|
|
43
|
+
echo "✅"
|
|
44
|
+
else
|
|
45
|
+
echo "❌"
|
|
46
|
+
echo " Expected format: author: @YourHandle"
|
|
47
|
+
fi
|
|
48
|
+
|
|
49
|
+
# Check version format
|
|
50
|
+
echo -n "Version format (0.x.y)... "
|
|
51
|
+
if rg "^version: 0\.\d+\.\d+" "$SPEC_DIR/spec.md" > /dev/null 2>&1; then
|
|
52
|
+
echo "✅"
|
|
53
|
+
else
|
|
54
|
+
echo "❌"
|
|
55
|
+
echo " Expected format: version: 0.x.y (e.g., 0.0.1, 0.1.0)"
|
|
56
|
+
fi
|
|
57
|
+
|
|
58
|
+
# Check HISTORY section
|
|
59
|
+
echo -n "HISTORY section... "
|
|
60
|
+
if rg "^## HISTORY" "$SPEC_DIR/spec.md" > /dev/null 2>&1; then
|
|
61
|
+
echo "✅"
|
|
62
|
+
else
|
|
63
|
+
echo "❌"
|
|
64
|
+
echo " Missing HISTORY section"
|
|
65
|
+
fi
|
|
66
|
+
|
|
67
|
+
# Check TAG block
|
|
68
|
+
echo -n "TAG block (@SPEC:ID)... "
|
|
69
|
+
if rg "^# @SPEC:" "$SPEC_DIR/spec.md" > /dev/null 2>&1; then
|
|
70
|
+
echo "✅"
|
|
71
|
+
else
|
|
72
|
+
echo "❌"
|
|
73
|
+
echo " Expected format: # @SPEC:YOUR-ID: Title"
|
|
74
|
+
fi
|
|
75
|
+
|
|
76
|
+
# Check Environment section
|
|
77
|
+
echo -n "Environment section... "
|
|
78
|
+
if rg "^## Environment" "$SPEC_DIR/spec.md" > /dev/null 2>&1; then
|
|
79
|
+
echo "✅"
|
|
80
|
+
else
|
|
81
|
+
echo "⚠️ (optional but recommended)"
|
|
82
|
+
fi
|
|
83
|
+
|
|
84
|
+
# Check Assumptions section
|
|
85
|
+
echo -n "Assumptions section... "
|
|
86
|
+
if rg "^## Assumptions" "$SPEC_DIR/spec.md" > /dev/null 2>&1; then
|
|
87
|
+
echo "✅"
|
|
88
|
+
else
|
|
89
|
+
echo "⚠️ (optional but recommended)"
|
|
90
|
+
fi
|
|
91
|
+
|
|
92
|
+
# Check Requirements section
|
|
93
|
+
echo -n "Requirements section... "
|
|
94
|
+
if rg "^## Requirements" "$SPEC_DIR/spec.md" > /dev/null 2>&1; then
|
|
95
|
+
echo "✅"
|
|
96
|
+
else
|
|
97
|
+
echo "❌"
|
|
98
|
+
echo " Missing Requirements section"
|
|
99
|
+
fi
|
|
100
|
+
|
|
101
|
+
# Check duplicate IDs
|
|
102
|
+
SPEC_ID=$(basename "$SPEC_DIR" | sed 's/SPEC-//')
|
|
103
|
+
echo -n "Duplicate ID check ($SPEC_ID)... "
|
|
104
|
+
DUPLICATE_COUNT=$(rg "@SPEC:$SPEC_ID" -n .moai/specs/ 2>/dev/null | wc -l | tr -d ' ')
|
|
105
|
+
if [ "$DUPLICATE_COUNT" -eq 1 ]; then
|
|
106
|
+
echo "✅ (1 occurrence)"
|
|
107
|
+
else
|
|
108
|
+
echo "❌ (found $DUPLICATE_COUNT occurrences)"
|
|
109
|
+
if [ "$DUPLICATE_COUNT" -gt 1 ]; then
|
|
110
|
+
echo " Duplicate SPEC IDs detected:"
|
|
111
|
+
rg "@SPEC:$SPEC_ID" -n .moai/specs/
|
|
112
|
+
fi
|
|
113
|
+
fi
|
|
114
|
+
|
|
115
|
+
# Check EARS patterns
|
|
116
|
+
echo ""
|
|
117
|
+
echo "EARS Pattern Usage:"
|
|
118
|
+
echo -n " Ubiquitous (UR-XXX)... "
|
|
119
|
+
if rg "^\*\*UR-\d+" "$SPEC_DIR/spec.md" > /dev/null 2>&1; then
|
|
120
|
+
COUNT=$(rg "^\*\*UR-\d+" "$SPEC_DIR/spec.md" | wc -l | tr -d ' ')
|
|
121
|
+
echo "✅ ($COUNT found)"
|
|
122
|
+
else
|
|
123
|
+
echo "⚠️ (none found)"
|
|
124
|
+
fi
|
|
125
|
+
|
|
126
|
+
echo -n " Event-driven (ER-XXX)... "
|
|
127
|
+
if rg "^\*\*ER-\d+" "$SPEC_DIR/spec.md" > /dev/null 2>&1; then
|
|
128
|
+
COUNT=$(rg "^\*\*ER-\d+" "$SPEC_DIR/spec.md" | wc -l | tr -d ' ')
|
|
129
|
+
echo "✅ ($COUNT found)"
|
|
130
|
+
else
|
|
131
|
+
echo "⚠️ (none found)"
|
|
132
|
+
fi
|
|
133
|
+
|
|
134
|
+
echo -n " State-driven (SR-XXX)... "
|
|
135
|
+
if rg "^\*\*SR-\d+" "$SPEC_DIR/spec.md" > /dev/null 2>&1; then
|
|
136
|
+
COUNT=$(rg "^\*\*SR-\d+" "$SPEC_DIR/spec.md" | wc -l | tr -d ' ')
|
|
137
|
+
echo "✅ ($COUNT found)"
|
|
138
|
+
else
|
|
139
|
+
echo "⚠️ (none found)"
|
|
140
|
+
fi
|
|
141
|
+
|
|
142
|
+
echo -n " Optional Features (OF-XXX)... "
|
|
143
|
+
if rg "^\*\*OF-\d+" "$SPEC_DIR/spec.md" > /dev/null 2>&1; then
|
|
144
|
+
COUNT=$(rg "^\*\*OF-\d+" "$SPEC_DIR/spec.md" | wc -l | tr -d ' ')
|
|
145
|
+
echo "✅ ($COUNT found)"
|
|
146
|
+
else
|
|
147
|
+
echo "⚠️ (none found)"
|
|
148
|
+
fi
|
|
149
|
+
|
|
150
|
+
echo -n " Constraints (C-XXX)... "
|
|
151
|
+
if rg "^\*\*C-\d+" "$SPEC_DIR/spec.md" > /dev/null 2>&1; then
|
|
152
|
+
COUNT=$(rg "^\*\*C-\d+" "$SPEC_DIR/spec.md" | wc -l | tr -d ' ')
|
|
153
|
+
echo "✅ ($COUNT found)"
|
|
154
|
+
else
|
|
155
|
+
echo "⚠️ (none found)"
|
|
156
|
+
fi
|
|
157
|
+
|
|
158
|
+
echo ""
|
|
159
|
+
echo "=========================================="
|
|
160
|
+
echo "Validation complete!"
|
|
161
|
+
echo "=========================================="
|
moai_adk/templates/CLAUDE.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
**SPEC-First TDD Development with Alfred SuperAgent**
|
|
4
4
|
|
|
5
|
+
> **문서 언어 | Document Language**: {{CONVERSATION_LANGUAGE_NAME}} ({{CONVERSATION_LANGUAGE}})
|
|
6
|
+
> **프로젝트 담당자 | Project Owner**: {{USER_NICKNAME}}
|
|
7
|
+
> **설정 파일 | Config**: `.moai/config.json` → `project.conversation_language`
|
|
8
|
+
>
|
|
9
|
+
> 💡 **Alfred와의 모든 상호작용에서 `Skill("moai-alfred-interactive-questions")`를 통해 TUI 메뉴로 응답할 수 있습니다.**
|
|
10
|
+
> All interactions with Alfred can use `Skill("moai-alfred-interactive-questions")` for TUI-based responses.
|
|
11
|
+
|
|
5
12
|
---
|
|
6
13
|
|
|
7
14
|
## ▶◀ Meet Alfred: Your MoAI SuperAgent
|
|
@@ -10,12 +17,12 @@
|
|
|
10
17
|
|
|
11
18
|
### 4-Layer Architecture (v0.4.0)
|
|
12
19
|
|
|
13
|
-
| Layer
|
|
14
|
-
|
|
|
15
|
-
| **Commands**
|
|
16
|
-
| **Sub-agents**
|
|
17
|
-
| **Skills (55)** | Claude Skills
|
|
18
|
-
| **Hooks**
|
|
20
|
+
| Layer | Owner | Purpose | Examples |
|
|
21
|
+
| --------------- | ------------------ | ------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- |
|
|
22
|
+
| **Commands** | User ↔ Alfred | Workflow entry points that establish the Plan → Run → Sync cadence | `/alfred:0-project`, `/alfred:1-plan`, `/alfred:2-run`, `/alfred:3-sync` |
|
|
23
|
+
| **Sub-agents** | Alfred | Deep reasoning and decision making for each phase | project-manager, spec-builder, code-builder pipeline, doc-syncer |
|
|
24
|
+
| **Skills (55)** | Claude Skills | Reusable knowledge capsules loaded just-in-time | Foundation (TRUST/TAG/Git), Essentials (debug/refactor/review), Alfred workflow, Domain & Language packs |
|
|
25
|
+
| **Hooks** | Runtime guardrails | Fast validation + JIT context hints (<100 ms) | SessionStart status card, PreToolUse destructive-command blocker |
|
|
19
26
|
|
|
20
27
|
### Core Sub-agent Roster
|
|
21
28
|
|
|
@@ -23,40 +30,40 @@
|
|
|
23
30
|
>
|
|
24
31
|
> **Note on Counting**: The "code-builder pipeline" is counted as 1 conceptual agent but implemented as 2 physical files (`implementation-planner` + `tdd-implementer`) for sequential RED → GREEN → REFACTOR execution. This maintains the 19-member team concept while acknowledging that 20 distinct agent files exist in `.claude/agents/alfred/`.
|
|
25
32
|
|
|
26
|
-
| Sub-agent
|
|
27
|
-
|
|
|
28
|
-
| **project-manager** 📋
|
|
29
|
-
| **spec-builder** 🏗️
|
|
30
|
-
| **code-builder pipeline** 💎 | Sonnet | Run
|
|
31
|
-
| **doc-syncer** 📖
|
|
32
|
-
| **tag-agent** 🏷️
|
|
33
|
-
| **git-manager** 🚀
|
|
34
|
-
| **debug-helper** 🔍
|
|
35
|
-
| **trust-checker** ✅
|
|
36
|
-
| **quality-gate** 🛡️
|
|
37
|
-
| **cc-manager** 🛠️
|
|
33
|
+
| Sub-agent | Model | Phase | Responsibility | Trigger |
|
|
34
|
+
| --------------------------- | ------ | ----------- | ---------------------------------------------------------------------------------------------- | ---------------------------- |
|
|
35
|
+
| **project-manager** 📋 | Sonnet | Init | Project bootstrap, metadata interview, mode selection | `/alfred:0-project` |
|
|
36
|
+
| **spec-builder** 🏗️ | Sonnet | Plan | Plan board consolidation, EARS-based SPEC authoring | `/alfred:1-plan` |
|
|
37
|
+
| **code-builder pipeline** 💎 | Sonnet | Run | Phase 1 `implementation-planner` → Phase 2 `tdd-implementer` to execute RED → GREEN → REFACTOR | `/alfred:2-run` |
|
|
38
|
+
| **doc-syncer** 📖 | Haiku | Sync | Living documentation, README/CHANGELOG updates | `/alfred:3-sync` |
|
|
39
|
+
| **tag-agent** 🏷️ | Haiku | Sync | TAG inventory, orphan detection, chain repair | `@agent-tag-agent` |
|
|
40
|
+
| **git-manager** 🚀 | Haiku | Plan · Sync | GitFlow automation, Draft→Ready PR, auto-merge policy | `@agent-git-manager` |
|
|
41
|
+
| **debug-helper** 🔍 | Sonnet | Run | Failure diagnosis, fix-forward guidance | `@agent-debug-helper` |
|
|
42
|
+
| **trust-checker** ✅ | Haiku | All phases | TRUST 5 principle enforcement and risk flags | `@agent-trust-checker` |
|
|
43
|
+
| **quality-gate** 🛡️ | Haiku | Sync | Coverage delta review, release gate validation | Auto during `/alfred:3-sync` |
|
|
44
|
+
| **cc-manager** 🛠️ | Sonnet | Ops | Claude Code session tuning, Skill lifecycle management | `@agent-cc-manager` |
|
|
38
45
|
|
|
39
46
|
The **code-builder pipeline** runs two Sonnet specialists in sequence: **implementation-planner** (strategy, libraries, TAG design) followed by **tdd-implementer** (RED → GREEN → REFACTOR execution).
|
|
40
47
|
|
|
41
48
|
### Zero-project Specialists
|
|
42
49
|
|
|
43
|
-
| Sub-agent
|
|
44
|
-
|
|
|
45
|
-
| **language-detector** 🔍
|
|
46
|
-
| **backup-merger** 📦
|
|
47
|
-
| **project-interviewer** 💬 | Sonnet | Requirement interviews, persona capture
|
|
48
|
-
| **document-generator** 📝
|
|
49
|
-
| **feature-selector** 🎯
|
|
50
|
-
| **template-optimizer** ⚙️
|
|
50
|
+
| Sub-agent | Model | Focus | Trigger |
|
|
51
|
+
| ------------------------- | ------ | ----------------------------------------------------------- | ------------------------------- |
|
|
52
|
+
| **language-detector** 🔍 | Haiku | Stack detection, language matrix | Auto during `/alfred:0-project` |
|
|
53
|
+
| **backup-merger** 📦 | Sonnet | Backup restore, checkpoint diff | `@agent-backup-merger` |
|
|
54
|
+
| **project-interviewer** 💬 | Sonnet | Requirement interviews, persona capture | `/alfred:0-project` Q&A |
|
|
55
|
+
| **document-generator** 📝 | Haiku | Project docs seed (`product.md`, `structure.md`, `tech.md`) | `/alfred:0-project` |
|
|
56
|
+
| **feature-selector** 🎯 | Haiku | Skill pack recommendation | `/alfred:0-project` |
|
|
57
|
+
| **template-optimizer** ⚙️ | Haiku | Template cleanup, migration helpers | `/alfred:0-project` |
|
|
51
58
|
|
|
52
59
|
> **Implementation Note**: Zero-project specialists may be embedded within other agents (e.g., functionality within `project-manager`) or implemented as dedicated Skills (e.g., `moai-alfred-language-detection`). For example, `language-detector` functionality is provided by the `moai-alfred-language-detection` Skill during `/alfred:0-project` initialization.
|
|
53
60
|
|
|
54
61
|
### Built-in Claude Agents
|
|
55
62
|
|
|
56
|
-
| Agent
|
|
57
|
-
|
|
|
58
|
-
| **Explore** 🔍
|
|
59
|
-
| **general-purpose** | Sonnet | General assistance
|
|
63
|
+
| Agent | Model | Specialty | Invocation |
|
|
64
|
+
| ------------------- | ------ | --------------------------------------------- | ---------------- |
|
|
65
|
+
| **Explore** 🔍 | Haiku | Repository-wide search & architecture mapping | `@agent-Explore` |
|
|
66
|
+
| **general-purpose** | Sonnet | General assistance | Automatic |
|
|
60
67
|
|
|
61
68
|
#### Explore Agent Guide
|
|
62
69
|
|
|
@@ -117,51 +124,51 @@ Alfred relies on 55 Claude Skills grouped by tier. Skills load via Progressive D
|
|
|
117
124
|
|
|
118
125
|
**Skills Distribution by Tier**:
|
|
119
126
|
|
|
120
|
-
| Tier
|
|
121
|
-
|
|
|
122
|
-
| Foundation
|
|
123
|
-
| Essentials
|
|
124
|
-
| Alfred
|
|
125
|
-
| Domain
|
|
126
|
-
| Language
|
|
127
|
-
| Claude Code Ops | 1
|
|
128
|
-
| **Total**
|
|
127
|
+
| Tier | Count | Purpose |
|
|
128
|
+
| --------------- | ------ | -------------------------------------------- |
|
|
129
|
+
| Foundation | 6 | Core TRUST/TAG/SPEC/Git/EARS/Lang principles |
|
|
130
|
+
| Essentials | 4 | Debug/Perf/Refactor/Review workflows |
|
|
131
|
+
| Alfred | 11 | Internal workflow orchestration |
|
|
132
|
+
| Domain | 10 | Specialized domain expertise |
|
|
133
|
+
| Language | 23 | Language-specific best practices |
|
|
134
|
+
| Claude Code Ops | 1 | Session management |
|
|
135
|
+
| **Total** | **55** | Complete knowledge capsule library |
|
|
129
136
|
|
|
130
137
|
**Foundation Tier (6)**
|
|
131
138
|
|
|
132
|
-
| Skill
|
|
133
|
-
|
|
|
139
|
+
| Skill | Purpose | Auto-load |
|
|
140
|
+
| ----------------------- | --------------------------------------- | ------------------------------ |
|
|
134
141
|
| `moai-foundation-trust` | TRUST checklist, coverage gate policies | SessionStart, `/alfred:3-sync` |
|
|
135
|
-
| `moai-foundation-tags`
|
|
136
|
-
| `moai-foundation-specs` | SPEC metadata policy and versioning
|
|
137
|
-
| `moai-foundation-ears`
|
|
138
|
-
| `moai-foundation-git`
|
|
139
|
-
| `moai-foundation-langs` | Language detection & Skill preload
|
|
142
|
+
| `moai-foundation-tags` | TAG inventory & orphan detection | `/alfred:3-sync` |
|
|
143
|
+
| `moai-foundation-specs` | SPEC metadata policy and versioning | `/alfred:1-plan` |
|
|
144
|
+
| `moai-foundation-ears` | EARS templates and requirement phrasing | `/alfred:1-plan` |
|
|
145
|
+
| `moai-foundation-git` | GitFlow automation & PR policy | Plan/Run/Sync |
|
|
146
|
+
| `moai-foundation-langs` | Language detection & Skill preload | SessionStart, `/alfred:2-run` |
|
|
140
147
|
|
|
141
148
|
**Essentials Tier (4)**
|
|
142
149
|
|
|
143
|
-
| Skill
|
|
144
|
-
|
|
|
145
|
-
| `moai-essentials-debug`
|
|
146
|
-
| `moai-essentials-perf`
|
|
147
|
-
| `moai-essentials-refactor` | Refactoring patterns & code-smell remediation | `/alfred:2-run`
|
|
148
|
-
| `moai-essentials-review`
|
|
150
|
+
| Skill | Purpose | Auto-load |
|
|
151
|
+
| -------------------------- | --------------------------------------------- | ------------------------------------------ |
|
|
152
|
+
| `moai-essentials-debug` | Failure diagnosis & reproduction checklist | Auto when `/alfred:2-run` detects failures |
|
|
153
|
+
| `moai-essentials-perf` | Performance analysis & profiling strategies | On demand |
|
|
154
|
+
| `moai-essentials-refactor` | Refactoring patterns & code-smell remediation | `/alfred:2-run` |
|
|
155
|
+
| `moai-essentials-review` | Code review checklist & quality feedback | `/alfred:3-sync` |
|
|
149
156
|
|
|
150
157
|
**Alfred Tier (11)** — Internal workflow orchestration
|
|
151
158
|
|
|
152
|
-
| Skill
|
|
153
|
-
|
|
|
154
|
-
| `moai-alfred-code-reviewer`
|
|
155
|
-
| `moai-alfred-debugger-pro`
|
|
156
|
-
| `moai-alfred-ears-authoring`
|
|
157
|
-
| `moai-alfred-git-workflow`
|
|
158
|
-
| `moai-alfred-language-detection`
|
|
159
|
-
| `moai-alfred-performance-optimizer`
|
|
160
|
-
| `moai-alfred-refactoring-coach`
|
|
161
|
-
| `moai-alfred-spec-metadata-validation` | SPEC metadata policy enforcement
|
|
162
|
-
| `moai-alfred-tag-scanning`
|
|
163
|
-
| `moai-alfred-trust-validation`
|
|
164
|
-
| `moai-alfred-
|
|
159
|
+
| Skill | Purpose | Auto-load |
|
|
160
|
+
| -------------------------------------- | ------------------------------------ | --------------------------------- |
|
|
161
|
+
| `moai-alfred-code-reviewer` | Automated code quality review | `/alfred:3-sync` |
|
|
162
|
+
| `moai-alfred-debugger-pro` | Advanced debugging strategies | `/alfred:2-run` failures |
|
|
163
|
+
| `moai-alfred-ears-authoring` | EARS syntax validation & templates | `/alfred:1-plan` |
|
|
164
|
+
| `moai-alfred-git-workflow` | GitFlow automation patterns | Plan/Run/Sync |
|
|
165
|
+
| `moai-alfred-language-detection` | Stack detection & Skill preload | SessionStart, `/alfred:0-project` |
|
|
166
|
+
| `moai-alfred-performance-optimizer` | Performance profiling & optimization | On demand |
|
|
167
|
+
| `moai-alfred-refactoring-coach` | Refactoring guidance & patterns | `/alfred:2-run` |
|
|
168
|
+
| `moai-alfred-spec-metadata-validation` | SPEC metadata policy enforcement | `/alfred:1-plan` |
|
|
169
|
+
| `moai-alfred-tag-scanning` | TAG integrity & orphan detection | `/alfred:3-sync` |
|
|
170
|
+
| `moai-alfred-trust-validation` | TRUST 5 principle verification | All phases |
|
|
171
|
+
| `moai-alfred-interactive-questions` | Interactive user surveys & menus | On demand |
|
|
165
172
|
|
|
166
173
|
**Domain Tier (10)** — `moai-domain-backend`, `web-api`, `frontend`, `mobile-app`, `security`, `devops`, `database`, `data-science`, `ml`, `cli-tool`.
|
|
167
174
|
|
|
@@ -181,10 +188,10 @@ Skills keep the core knowledge lightweight while allowing Alfred to assemble the
|
|
|
181
188
|
|
|
182
189
|
### Model Selection Guide
|
|
183
190
|
|
|
184
|
-
| Model
|
|
185
|
-
|
|
|
186
|
-
| **Claude 4.5 Haiku**
|
|
187
|
-
| **Claude 4.5 Sonnet** | Planning, implementation, troubleshooting, session ops
|
|
191
|
+
| Model | Primary use cases | Representative sub-agents | Why it fits |
|
|
192
|
+
| --------------------- | -------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------- |
|
|
193
|
+
| **Claude 4.5 Haiku** | Documentation sync, TAG inventory, Git automation, rule-based checks | doc-syncer, tag-agent, git-manager, trust-checker, quality-gate, Explore | Fast, deterministic output for patterned or string-heavy work |
|
|
194
|
+
| **Claude 4.5 Sonnet** | Planning, implementation, troubleshooting, session ops | Alfred, project-manager, spec-builder, code-builder pipeline, debug-helper, cc-manager | Deep reasoning, multi-step synthesis, creative problem solving |
|
|
188
195
|
|
|
189
196
|
**Guidelines**:
|
|
190
197
|
- Default to **Haiku** when the task is pattern-driven or requires rapid iteration; escalate to **Sonnet** for novel design, architecture, or ambiguous problem solving.
|
|
@@ -342,7 +349,7 @@ Refs: @TAG-ID (if applicable)
|
|
|
342
349
|
|
|
343
350
|
### Solution: Interactive Question Tool + TUI Survey Skill
|
|
344
351
|
|
|
345
|
-
Claude Code now features an **Interactive Question Tool** powered by the `moai-alfred-
|
|
352
|
+
Claude Code now features an **Interactive Question Tool** powered by the `moai-alfred-interactive-questions` Skill that transforms vague requests into precise, contextual specifications through guided clarification. Instead of AI making assumptions, the tool actively:
|
|
346
353
|
|
|
347
354
|
1. **Analyzes** existing code and project context
|
|
348
355
|
2. **Identifies** ambiguity and competing approaches
|
|
@@ -350,11 +357,11 @@ Claude Code now features an **Interactive Question Tool** powered by the `moai-a
|
|
|
350
357
|
4. **Captures** explicit user choices (arrow keys, enter)
|
|
351
358
|
5. **Executes** with certainty based on confirmed intent
|
|
352
359
|
|
|
353
|
-
**Implementation**: The `moai-alfred-
|
|
360
|
+
**Implementation**: The `moai-alfred-interactive-questions` Skill provides interactive survey menus that render as terminal UI elements, allowing users to navigate options with arrow keys and confirm with enter.
|
|
354
361
|
|
|
355
362
|
### How It Works
|
|
356
363
|
|
|
357
|
-
When you provide a high-level request, Alfred may invoke the `moai-alfred-
|
|
364
|
+
When you provide a high-level request, Alfred may invoke the `moai-alfred-interactive-questions` Skill to clarify implementation details through structured TUI menus:
|
|
358
365
|
|
|
359
366
|
```
|
|
360
367
|
User: "Add a completion page for the competition."
|
|
@@ -398,13 +405,13 @@ Execution with confirmed specifications
|
|
|
398
405
|
|
|
399
406
|
### Key Benefits
|
|
400
407
|
|
|
401
|
-
| Benefit
|
|
402
|
-
|
|
|
403
|
-
| **Reduced ambiguity**
|
|
404
|
-
| **Faster iteration**
|
|
405
|
-
| **Higher quality**
|
|
406
|
-
| **Lower communication cost** | Answering 3-5 specific questions beats endless refinement
|
|
407
|
-
| **Active collaboration**
|
|
408
|
+
| Benefit | Impact |
|
|
409
|
+
| ---------------------------- | ------------------------------------------------------------------ |
|
|
410
|
+
| **Reduced ambiguity** | AI asks before acting; eliminates guess work |
|
|
411
|
+
| **Faster iteration** | Choices are presented upfront, not discovered after implementation |
|
|
412
|
+
| **Higher quality** | Implementation matches intent precisely |
|
|
413
|
+
| **Lower communication cost** | Answering 3-5 specific questions beats endless refinement |
|
|
414
|
+
| **Active collaboration** | AI becomes a partner, not just a code generator |
|
|
408
415
|
|
|
409
416
|
### When to Use Interactive Questions
|
|
410
417
|
|
|
@@ -456,7 +463,7 @@ Alfred scans the codebase and detects:
|
|
|
456
463
|
- Existing `/end` page (auth required, shows results)
|
|
457
464
|
- Need for clarification on scope and user behavior
|
|
458
465
|
|
|
459
|
-
**Step 2: Interactive Survey (moai-alfred-
|
|
466
|
+
**Step 2: Interactive Survey (moai-alfred-interactive-questions activated)**
|
|
460
467
|
|
|
461
468
|
```
|
|
462
469
|
────────────────────────────────────────────────────────────────
|
|
@@ -746,22 +753,23 @@ Alfred enforces these quality gates on every change:
|
|
|
746
753
|
|
|
747
754
|
---
|
|
748
755
|
|
|
749
|
-
## Project Information
|
|
756
|
+
## 프로젝트 정보 | Project Information
|
|
750
757
|
|
|
751
|
-
-
|
|
752
|
-
-
|
|
753
|
-
-
|
|
754
|
-
-
|
|
755
|
-
-
|
|
756
|
-
-
|
|
757
|
-
-
|
|
758
|
+
- **이름 | Name**: {{PROJECT_NAME}}
|
|
759
|
+
- **설명 | Description**: {{PROJECT_DESCRIPTION}}
|
|
760
|
+
- **버전 | Version**: {{PROJECT_VERSION}}
|
|
761
|
+
- **모드 | Mode**: {{PROJECT_MODE}}
|
|
762
|
+
- **프로젝트 담당자 | Project Owner**: {{USER_NICKNAME}}
|
|
763
|
+
- **대화 언어 | Conversation Language**: {{CONVERSATION_LANGUAGE_NAME}} ({{CONVERSATION_LANGUAGE}})
|
|
764
|
+
- **코드 언어 | Codebase Language**: {{CODEBASE_LANGUAGE}}
|
|
765
|
+
- **도구 | Toolchain**: 선택된 언어에 최적화된 도구 자동 선택 | Automatically selects the best tools for the chosen language
|
|
758
766
|
|
|
759
|
-
### Language Configuration
|
|
767
|
+
### 언어 설정 | Language Configuration
|
|
760
768
|
|
|
761
|
-
-
|
|
762
|
-
-
|
|
763
|
-
-
|
|
769
|
+
- **대화 언어 | Conversation Language** (`{{CONVERSATION_LANGUAGE}}`): 모든 Alfred 대화, 문서, 프로젝트 인터뷰가 이 언어로 진행됨 | All Alfred dialogs, documentation, and project interviews conducted in this language
|
|
770
|
+
- **코드 언어 | Codebase Language** (`{{CODEBASE_LANGUAGE}}`): 이 프로젝트에서 감지된 주요 프로그래밍 언어 | Primary programming language(s) detected in this project
|
|
771
|
+
- **문서 | Documentation**: 대화 언어로 생성됨 | Generated in the conversation language ({{CONVERSATION_LANGUAGE_NAME}})
|
|
764
772
|
|
|
765
773
|
---
|
|
766
774
|
|
|
767
|
-
|
|
775
|
+
**주의 | Note**: 대화 언어는 `/alfred:0-project` 시작 시점에 선택되며, 모든 후속 프로젝트 초기화 단계에 적용됩니다. 생성되는 모든 문서(product.md, structure.md, tech.md)는 선택된 언어로 생성됩니다 | The conversation language is selected at the beginning of `/alfred:0-project` and applies to all subsequent project initialization steps. All generated documentation (product.md, structure.md, tech.md) will be created in the selected language.
|