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,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: alfred:2-run
|
|
3
|
-
description: "
|
|
4
|
-
argument-hint: "SPEC-ID -
|
|
3
|
+
description: "Implement all SPECs with SPEC ID to implement (e.g. SPEC-001) or all - Execute planned work (TDD implementation, prototyping, documentation, etc.)"
|
|
4
|
+
argument-hint: "SPEC-ID - All with SPEC ID to implement (e.g. SPEC-001) or all “SPEC Implementation”
|
|
5
5
|
allowed-tools:
|
|
6
6
|
- Read
|
|
7
7
|
- Write
|
|
@@ -19,442 +19,452 @@ allowed-tools:
|
|
|
19
19
|
- TodoWrite
|
|
20
20
|
---
|
|
21
21
|
|
|
22
|
-
# ⚒️ MoAI-ADK 2
|
|
22
|
+
# ⚒️ MoAI-ADK Phase 2: Run the plan - Flexible implementation strategy
|
|
23
|
+
> Interactive prompts rely on `Skill("moai-alfred-tui-survey")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
|
|
23
24
|
|
|
24
|
-
## 🎯
|
|
25
|
+
## 🎯 Command Purpose
|
|
25
26
|
|
|
26
|
-
SPEC
|
|
27
|
+
Analyze SPEC documents to execute planned tasks. It supports not only TDD implementation but also various execution scenarios such as prototyping and documentation work.
|
|
27
28
|
|
|
28
|
-
|
|
29
|
+
**Run on**: $ARGUMENTS
|
|
29
30
|
|
|
30
|
-
## 💡
|
|
31
|
+
## 💡 Execution philosophy: “Plan → Run → Sync”
|
|
31
32
|
|
|
32
|
-
`/alfred:2-run
|
|
33
|
+
`/alfred:2-run` is a general-purpose command that does not simply "build" code, but **performs** a planned task.
|
|
33
34
|
|
|
34
|
-
### 3
|
|
35
|
+
### 3 main scenarios
|
|
35
36
|
|
|
36
|
-
####
|
|
37
|
+
#### Scenario 1: TDD implementation (main method) ⭐
|
|
37
38
|
```bash
|
|
38
39
|
/alfred:2-run SPEC-AUTH-001
|
|
39
40
|
→ RED → GREEN → REFACTOR
|
|
40
|
-
→
|
|
41
|
+
→ Implement high-quality code through test-driven development
|
|
41
42
|
```
|
|
42
43
|
|
|
43
|
-
####
|
|
44
|
+
#### Scenario 2: Prototyping
|
|
44
45
|
```bash
|
|
45
46
|
/alfred:2-run SPEC-PROTO-001
|
|
46
|
-
→
|
|
47
|
-
→
|
|
47
|
+
→ Prototype implementation for quick verification
|
|
48
|
+
→ Quick feedback with minimal testing
|
|
48
49
|
```
|
|
49
50
|
|
|
50
|
-
####
|
|
51
|
+
#### Scenario 3: Documentation tasks
|
|
51
52
|
```bash
|
|
52
53
|
/alfred:2-run SPEC-DOCS-001
|
|
53
|
-
→
|
|
54
|
-
→ API
|
|
54
|
+
→ Writing documentation and generating sample code
|
|
55
|
+
→ API documentation, tutorials, guides, etc.
|
|
55
56
|
```
|
|
56
57
|
|
|
57
|
-
>
|
|
58
|
+
> **Standard two-step workflow** (see `CLAUDE.md` - "Alfred Command Execution Pattern" for details)
|
|
58
59
|
|
|
59
|
-
## 📋
|
|
60
|
+
## 📋 Execution flow
|
|
60
61
|
|
|
61
|
-
1. **SPEC
|
|
62
|
-
2.
|
|
63
|
-
3.
|
|
64
|
-
4.
|
|
65
|
-
5. **Git
|
|
62
|
+
1. **SPEC Analysis**: Requirements extraction and complexity assessment
|
|
63
|
+
2. **Establishment of implementation strategy**: Determine the optimized approach for each language (TDD, prototype, documentation, etc.)
|
|
64
|
+
3. **User Confirmation**: Review and approve action plan
|
|
65
|
+
4. **Execute work**: Perform work according to the approved plan
|
|
66
|
+
5. **Git Operations**: Creating step-by-step commits with git-manager
|
|
66
67
|
|
|
67
|
-
##
|
|
68
|
+
## 🧠 Skill Loadout Overview
|
|
68
69
|
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
-
|
|
72
|
-
-
|
|
70
|
+
| Agent | Auto core skill | Conditional skills |
|
|
71
|
+
| ----- | ---------------- | ------------------ |
|
|
72
|
+
| implementation-planner | Skill("moai-alfred-language-detection") | Skill("moai-foundation-langs"), Skill("moai-alfred-performance-optimizer"), Skill("moai-alfred-tag-scanning"), Detected domain skill (e.g., Skill("moai-domain-backend")), Skill("moai-alfred-trust-validation"), Skill("moai-alfred-tui-survey") |
|
|
73
|
+
| tdd-implementer | Skill("moai-essentials-debug") | Detected language skill (e.g., Skill("moai-lang-python")), Skill("moai-essentials-refactor"), Skill("moai-alfred-git-workflow"), Skill("moai-essentials-perf"), Skill("moai-alfred-performance-optimizer"), Skill("moai-alfred-tui-survey") |
|
|
74
|
+
| quality-gate | Skill("moai-alfred-trust-validation") | Skill("moai-alfred-tag-scanning"), Skill("moai-alfred-code-reviewer"), Skill("moai-essentials-review"), Skill("moai-essentials-perf"), Skill("moai-alfred-performance-optimizer"), Skill("moai-foundation-trust"), Skill("moai-alfred-tui-survey") |
|
|
75
|
+
| git-manager | Skill("moai-alfred-git-workflow") | Skill("moai-foundation-git"), Skill("moai-alfred-trust-validation"), Skill("moai-alfred-tag-scanning"), Skill("moai-alfred-tui-survey") |
|
|
73
76
|
|
|
74
|
-
##
|
|
77
|
+
## 🔗 Associated Agent
|
|
75
78
|
|
|
76
|
-
|
|
77
|
-
-
|
|
78
|
-
-
|
|
79
|
-
-
|
|
79
|
+
- **Phase 1**: implementation-planner (📋 technical architect) - SPEC analysis and establishment of execution strategy
|
|
80
|
+
- **Phase 2**: tdd-implementer (🔬 senior developer) - Dedicated to execution work
|
|
81
|
+
- **Phase 2.5**: quality-gate (🛡️ Quality Assurance Engineer) - TRUST principle verification (automatically)
|
|
82
|
+
- **Phase 3**: git-manager (🚀 Release Engineer) - Dedicated to Git commits
|
|
80
83
|
|
|
81
|
-
##
|
|
84
|
+
## 💡 Example of use
|
|
82
85
|
|
|
83
|
-
|
|
86
|
+
Users can run commands as follows:
|
|
87
|
+
- `/alfred:2-run SPEC-001` - Run a specific SPEC
|
|
88
|
+
- `/alfred:2-run all` - Run all SPECs in batches
|
|
89
|
+
- `/alfred:2-run SPEC-003 --test` - Run only tests
|
|
84
90
|
|
|
85
|
-
|
|
91
|
+
## 🔍 STEP 1: SPEC analysis and execution plan establishment
|
|
86
92
|
|
|
87
|
-
|
|
93
|
+
First, the specified SPEC is analyzed to establish an action plan and receive user confirmation.
|
|
88
94
|
|
|
89
|
-
|
|
95
|
+
**The implementation-planner agent automatically loads and analyzes the required documents.**
|
|
96
|
+
|
|
97
|
+
### 🔍 Browse the code base (recommended)
|
|
98
|
+
|
|
99
|
+
**If you need to understand existing code structure or find similar patterns** Use the Explore agent first:
|
|
90
100
|
|
|
91
101
|
```
|
|
92
|
-
Task tool
|
|
102
|
+
Invoking the Task tool (Explore agent):
|
|
93
103
|
- subagent_type: "Explore"
|
|
94
|
-
- description: "
|
|
95
|
-
- prompt: "
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
104
|
+
- description: "Explore existing code structures and patterns"
|
|
105
|
+
- prompt: "Please explore existing code related to SPEC-$ARGUMENTS:
|
|
106
|
+
- Similar function implementation code (src/)
|
|
107
|
+
- Test patterns for reference (tests/)
|
|
108
|
+
- Architectural patterns and design patterns
|
|
109
|
+
- Use Current libraries and versions (package.json, requirements.txt)
|
|
110
|
+
thoroughness level: medium"
|
|
101
111
|
```
|
|
102
112
|
|
|
103
|
-
**
|
|
104
|
-
- ✅
|
|
105
|
-
- ✅
|
|
106
|
-
- ✅
|
|
107
|
-
- ✅
|
|
113
|
+
**When to use the Explore Agent**:
|
|
114
|
+
- ✅ When you need to understand the existing code structure/pattern
|
|
115
|
+
- ✅ When you need to refer to how a similar function is implemented
|
|
116
|
+
- ✅ When you need to understand the architectural rules of the project
|
|
117
|
+
- ✅ Check the library and version being used
|
|
108
118
|
|
|
109
|
-
### ⚙️
|
|
119
|
+
### ⚙️ How to call an agent
|
|
110
120
|
|
|
111
|
-
**STEP 1
|
|
121
|
+
**In STEP 1, we call the implementation-planner agent using the Task tool**:
|
|
112
122
|
|
|
113
123
|
```
|
|
114
|
-
Task tool
|
|
124
|
+
Task tool call example:
|
|
115
125
|
- subagent_type: "implementation-planner"
|
|
116
|
-
- description: "SPEC
|
|
117
|
-
- prompt: "$ARGUMENTS
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
3. TAG
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
+
- description: "SPEC analysis and establishment of execution strategy"
|
|
127
|
+
- prompt: "Please analyze the SPEC of $ARGUMENTS and establish an execution plan.
|
|
128
|
+
It must include the following:
|
|
129
|
+
1. SPEC requirements extraction and complexity assessment
|
|
130
|
+
2. Library and tool selection (using WebFetch)
|
|
131
|
+
3. TAG chain design
|
|
132
|
+
4. Step-by-step execution plan
|
|
133
|
+
5. Risks and response plans
|
|
134
|
+
6. Create action plan and use `Skill("moai-alfred-tui-survey")` to confirm the next action with the user
|
|
135
|
+
(Optional) Explore results: $EXPLORE_RESULTS"
|
|
126
136
|
```
|
|
127
137
|
|
|
128
|
-
### SPEC
|
|
129
|
-
|
|
130
|
-
1. **SPEC
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
2.
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
3.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
138
|
+
### SPEC analysis in progress
|
|
139
|
+
|
|
140
|
+
1. **SPEC document analysis**
|
|
141
|
+
- Requirements extraction and complexity assessment
|
|
142
|
+
- Check technical constraints
|
|
143
|
+
- Dependency and impact scope analysis
|
|
144
|
+
- (Optional) Identify existing code structure based on Explore results
|
|
145
|
+
|
|
146
|
+
2. **Establish execution strategy**
|
|
147
|
+
- Detect project language and optimize execution strategy
|
|
148
|
+
- Determine approach (TDD, prototyping, documentation, etc.)
|
|
149
|
+
- Estimate expected work scope and time
|
|
150
|
+
|
|
151
|
+
3. **Check and specify library versions (required)**
|
|
152
|
+
- **Web search**: Check the latest stable versions of all libraries to be used through `WebSearch`
|
|
153
|
+
- **Specify versions**: Specify the exact version for each library in the implementation plan report (e.g. `fastapi>=0.118.3`)
|
|
154
|
+
- **Stability priority**: Exclude beta/alpha versions, select only production stable versions
|
|
155
|
+
- **Check compatibility**: Verify version compatibility between libraries
|
|
156
|
+
- **Search keyword examples**:
|
|
147
157
|
- `"FastAPI latest stable version 2025"`
|
|
148
158
|
- `"SQLAlchemy 2.0 latest stable version 2025"`
|
|
149
159
|
- `"React 18 latest stable version 2025"`
|
|
150
160
|
|
|
151
|
-
4.
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
161
|
+
4. **Report action plan**
|
|
162
|
+
- Present step-by-step action plan
|
|
163
|
+
- Identify potential risk factors
|
|
164
|
+
- Set quality gate checkpoints
|
|
165
|
+
- **Specify library version (required)**
|
|
156
166
|
|
|
157
|
-
###
|
|
167
|
+
### User verification steps
|
|
158
168
|
|
|
159
|
-
|
|
160
|
-
- **"
|
|
161
|
-
- **"
|
|
162
|
-
- **"
|
|
169
|
+
After reviewing the action plan, select one of the following:
|
|
170
|
+
- **"Proceed"** or **"Start"**: Start executing the task as planned
|
|
171
|
+
- **"Modify [Content]"**: Request a plan modification
|
|
172
|
+
- **"Abort"**: Stop the task
|
|
163
173
|
|
|
164
174
|
---
|
|
165
175
|
|
|
166
|
-
## 🚀 STEP 2:
|
|
176
|
+
## 🚀 STEP 2: Execute task (after user approval)
|
|
167
177
|
|
|
168
|
-
|
|
178
|
+
After user approval (gathered through `Skill("moai-alfred-tui-survey")`), **call the tdd-implementer agent using the Task tool**.
|
|
169
179
|
|
|
170
|
-
### ⚙️
|
|
180
|
+
### ⚙️ How to call an agent
|
|
171
181
|
|
|
172
|
-
**STEP 2
|
|
182
|
+
**STEP 2 calls tdd-implementer using the Task tool**:
|
|
173
183
|
|
|
174
184
|
```
|
|
175
|
-
Task tool
|
|
185
|
+
Task tool call example:
|
|
176
186
|
- subagent_type: "tdd-implementer"
|
|
177
|
-
- description: "
|
|
178
|
-
- prompt: "
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
187
|
+
- description: "Execute task"
|
|
188
|
+
- prompt: "Please execute the task according to the plan approved in STEP 1.
|
|
189
|
+
For TDD scenario:
|
|
190
|
+
- Perform RED → GREEN → REFACTOR cycle,
|
|
191
|
+
Perform the following for each TAG:
|
|
192
|
+
1. RED Phase: Write a test that fails with the @TEST:ID tag
|
|
193
|
+
2. GREEN Phase: Minimal implementation with the @CODE:ID tag
|
|
194
|
+
3. REFACTOR Phase: Improve code quality
|
|
195
|
+
4. Verify TAG completion conditions and proceed to the next TAG
|
|
196
|
+
|
|
197
|
+
Execute on: $ARGUMENTS"
|
|
188
198
|
```
|
|
189
199
|
|
|
190
|
-
## 🔗
|
|
200
|
+
## 🔗 TDD optimization for each language
|
|
191
201
|
|
|
192
|
-
###
|
|
202
|
+
### Project language detection and optimal routing
|
|
193
203
|
|
|
194
|
-
`tdd-implementer
|
|
204
|
+
`tdd-implementer` automatically detects the language of your project and selects the optimal TDD tools and workflow:
|
|
195
205
|
|
|
196
|
-
-
|
|
197
|
-
-
|
|
198
|
-
- **TAG
|
|
199
|
-
-
|
|
206
|
+
- **Language detection**: Analyze project files (package.json, pyproject.toml, go.mod, etc.)
|
|
207
|
+
- **Tool selection**: Automatically select the optimal test framework for each language
|
|
208
|
+
- **TAG application**: Write @TAG annotations directly in code files
|
|
209
|
+
- **Run cycle**: RED → GREEN → REFACTOR sequential process
|
|
200
210
|
|
|
201
|
-
### TDD
|
|
211
|
+
### TDD tool mapping
|
|
202
212
|
|
|
203
|
-
####
|
|
213
|
+
#### Backend/System
|
|
204
214
|
|
|
205
|
-
| SPEC
|
|
215
|
+
| SPEC Type | Implementation language | Test Framework | Performance Goals | Coverage Goals |
|
|
206
216
|
|-----------|-----------|-------------------|-----------|---------------|
|
|
207
|
-
| **CLI
|
|
208
|
-
| **API
|
|
209
|
-
|
|
|
210
|
-
|
|
|
211
|
-
| **Python
|
|
217
|
+
| **CLI/System** | TypeScript | jest + ts-node | < 18ms | 95%+ |
|
|
218
|
+
| **API/Backend** | TypeScript | Jest + SuperTest | < 50ms | 90%+ |
|
|
219
|
+
| **Frontend** | TypeScript | Jest + Testing Library | < 100ms | 85%+ |
|
|
220
|
+
| **Data Processing** | TypeScript | Jest + Mock | < 200ms | 85%+ |
|
|
221
|
+
| **Python Project** | Python | pytest + mypy | Custom | 85%+ |
|
|
212
222
|
|
|
213
|
-
####
|
|
223
|
+
#### Mobile Framework
|
|
214
224
|
|
|
215
|
-
| SPEC
|
|
225
|
+
| SPEC Type | Implementation language | Test Framework | Performance Goals | Coverage Goals |
|
|
216
226
|
|-----------|-----------|-------------------|-----------|---------------|
|
|
217
|
-
| **Flutter
|
|
227
|
+
| **Flutter App** | Dart | flutter test + widget test | < 100ms | 85%+ |
|
|
218
228
|
| **React Native** | TypeScript | Jest + RN Testing Library | < 100ms | 85%+ |
|
|
219
|
-
| **iOS
|
|
220
|
-
| **Android
|
|
229
|
+
| **iOS App** | Swift | XCTest + XCUITest | < 150ms | 80%+ |
|
|
230
|
+
| **Android App** | Kotlin | JUnit + Espresso | < 150ms | 80%+ |
|
|
221
231
|
|
|
222
|
-
## 🚀
|
|
232
|
+
## 🚀 Optimized agent collaboration structure
|
|
223
233
|
|
|
224
|
-
- **Phase 1**: `implementation-planner`
|
|
225
|
-
- **Phase 2**: `tdd-implementer`
|
|
226
|
-
- **Phase 2.5**: `quality-gate`
|
|
227
|
-
- **Phase 3**: `git-manager`
|
|
228
|
-
-
|
|
229
|
-
-
|
|
234
|
+
- **Phase 1**: `implementation-planner` agent analyzes SPEC and establishes execution strategy
|
|
235
|
+
- **Phase 2**: `tdd-implementer` agent executes tasks (TDD cycle, prototyping, documentation, etc.)
|
|
236
|
+
- **Phase 2.5**: `quality-gate` agent verifies TRUST principle and quality verification (automatically)
|
|
237
|
+
- **Phase 3**: `git-manager` agent processes all commits at once after task completion
|
|
238
|
+
- **Single responsibility principle**: Each agent is responsible only for its own area of expertise
|
|
239
|
+
- **Inter-agent call prohibited**: Each agent runs independently, sequential calls are made only at the command level
|
|
230
240
|
|
|
231
|
-
## 🔄 2
|
|
241
|
+
## 🔄 Step 2 Workflow Execution Order
|
|
232
242
|
|
|
233
|
-
### Phase 1:
|
|
243
|
+
### Phase 1: Analysis and planning phase
|
|
234
244
|
|
|
235
|
-
`implementation-planner`
|
|
245
|
+
The `implementation-planner` agent does the following:
|
|
236
246
|
|
|
237
|
-
1. **SPEC
|
|
238
|
-
2.
|
|
239
|
-
3. **TAG
|
|
240
|
-
4.
|
|
241
|
-
5.
|
|
247
|
+
1. **SPEC document analysis**: Requirements extraction and complexity assessment of specified SPEC ID
|
|
248
|
+
2. **Library selection**: Check the latest stable version and verify compatibility through WebFetch
|
|
249
|
+
3. **TAG chain design**: Determine TAG order and dependency
|
|
250
|
+
4. **Establishment of implementation strategy**: Step-by-step implementation plan and risk identification
|
|
251
|
+
5. **Create action plan**: Create a structured plan and, via `Skill("moai-alfred-tui-survey")`, collect user approval before proceeding
|
|
242
252
|
|
|
243
|
-
### Phase 2:
|
|
253
|
+
### Phase 2: Task execution phase (after approval)
|
|
244
254
|
|
|
245
|
-
`tdd-implementer`
|
|
255
|
+
The `tdd-implementer` agent performs **TAG-by-TAG** after user approval (based on TDD scenario):
|
|
246
256
|
|
|
247
|
-
1. **RED Phase**:
|
|
248
|
-
2. **GREEN Phase**:
|
|
249
|
-
3. **REFACTOR Phase**:
|
|
250
|
-
4. **TAG
|
|
257
|
+
1. **RED Phase**: Write a failing test (add @TEST:ID tag) and check for failure
|
|
258
|
+
2. **GREEN Phase**: Write minimal code that passes the test (add @CODE:ID tag)
|
|
259
|
+
3. **REFACTOR Phase**: Improve code quality (without changing functionality)
|
|
260
|
+
4. **TAG completion confirmation**: Verify the completion conditions of each TAG and proceed to the next TAG
|
|
251
261
|
|
|
252
|
-
### Phase 2.5:
|
|
262
|
+
### Phase 2.5: Quality verification gate (automatic execution)
|
|
253
263
|
|
|
254
|
-
|
|
264
|
+
After the job execution is complete, the `quality-gate` agent **automatically** performs quality verification.
|
|
255
265
|
|
|
256
|
-
|
|
257
|
-
-
|
|
258
|
-
-
|
|
266
|
+
**Automatic execution conditions**:
|
|
267
|
+
- Automatically invoked upon completion of task execution
|
|
268
|
+
- Manually invoked upon user request
|
|
259
269
|
|
|
260
|
-
|
|
261
|
-
- **TRUST
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
-
|
|
268
|
-
-
|
|
269
|
-
- **TAG
|
|
270
|
-
-
|
|
270
|
+
**Verification items**:
|
|
271
|
+
- **TRUST principle verification**: Trust-checker script execution and result parsing
|
|
272
|
+
- T (Testable): Test coverage ≥ 85%
|
|
273
|
+
- R (Readable): Code readability (file≤300 LOC, function≤50 LOC, Complexity≤10)
|
|
274
|
+
- U (Unified): Architectural integrity
|
|
275
|
+
- S (Secured): No security vulnerabilities
|
|
276
|
+
- T (Traceable): @TAG chain integrity
|
|
277
|
+
- **Code style**: Run and verify linter (ESLint/Pylint)
|
|
278
|
+
- **Test Coverage**: Run language-specific coverage tools and verify goal achievement
|
|
279
|
+
- **TAG chain verification**: Check orphan TAGs, missing TAGs
|
|
280
|
+
- **Dependency verification**: Check security vulnerabilities
|
|
271
281
|
|
|
272
|
-
|
|
282
|
+
**How it works**: When Alfred completes job execution, it automatically calls the quality-gate agent to perform quality verification.
|
|
273
283
|
|
|
274
|
-
|
|
284
|
+
**Handling verification results**:
|
|
275
285
|
|
|
276
|
-
✅ **PASS (
|
|
277
|
-
- Phase 3 (Git
|
|
278
|
-
-
|
|
286
|
+
✅ **PASS (0 Critical, 5 or less Warnings)**:
|
|
287
|
+
- Proceed to Phase 3 (Git work)
|
|
288
|
+
- Create a quality report
|
|
279
289
|
|
|
280
|
-
⚠️ **WARNING (
|
|
281
|
-
-
|
|
282
|
-
-
|
|
290
|
+
⚠️ **WARNING (0 Critical, 6 or more Warnings)**:
|
|
291
|
+
- Display warning
|
|
292
|
+
- User choice: "Continue" or "Re-verify after modification"
|
|
283
293
|
|
|
284
|
-
❌ **CRITICAL (
|
|
285
|
-
- Git
|
|
286
|
-
-
|
|
287
|
-
- tdd-implementer
|
|
294
|
+
❌ **CRITICAL (1 or more Critical)**:
|
|
295
|
+
- Block Git commits
|
|
296
|
+
- Detailed report on items requiring improvement (including file: line information)
|
|
297
|
+
- Recommended tdd-implementer re-invocation
|
|
288
298
|
|
|
289
|
-
|
|
299
|
+
**Skip verification option**: To skip quality verification, use the `--skip-quality-check` option.
|
|
290
300
|
|
|
291
|
-
### Phase 3: Git
|
|
301
|
+
### Phase 3: Git operations (git-manager)
|
|
292
302
|
|
|
293
|
-
`git-manager`
|
|
303
|
+
After the `git-manager` agent completes the task **at once**:
|
|
294
304
|
|
|
295
|
-
1.
|
|
296
|
-
2.
|
|
297
|
-
3.
|
|
305
|
+
1. **Create checkpoint**: Backup point before starting work
|
|
306
|
+
2. **Structured Commit**: Step-by-step commit creation (RED→GREEN→REFACTOR for TDD)
|
|
307
|
+
3. **Final synchronization**: Apply Git strategy for each mode and remote synchronization
|
|
298
308
|
|
|
299
309
|
|
|
300
|
-
## 📋 STEP 1
|
|
310
|
+
## 📋 STEP 1 Execution Guide: SPEC Analysis and Planning
|
|
301
311
|
|
|
302
|
-
### 1. SPEC
|
|
312
|
+
### 1. SPEC document analysis
|
|
303
313
|
|
|
304
|
-
Alfred
|
|
314
|
+
Alfred calls the implementation-planner agent to check the SPEC document and create an execution plan.
|
|
305
315
|
|
|
306
|
-
####
|
|
316
|
+
#### Analysis Checklist
|
|
307
317
|
|
|
308
|
-
- [ ]
|
|
309
|
-
- [ ]
|
|
310
|
-
- [ ]
|
|
311
|
-
- [ ]
|
|
318
|
+
- [ ] **Requirements clarity**: Are the functional requirements in the SPEC specific?
|
|
319
|
+
- [ ] **Technical constraints**: Check performance, compatibility, and security requirements
|
|
320
|
+
- [ ] **Dependency analysis**: Connection points with existing code and scope of impact
|
|
321
|
+
- [ ] **Complexity assessment**: Implementation difficulty and expected workload
|
|
312
322
|
|
|
313
|
-
### 2.
|
|
323
|
+
### 2. Determine implementation strategy
|
|
314
324
|
|
|
315
|
-
#### TypeScript
|
|
325
|
+
#### TypeScript execution criteria
|
|
316
326
|
|
|
317
|
-
| SPEC
|
|
327
|
+
| SPEC characteristics | execution language | Reason |
|
|
318
328
|
|-----------|-----------|------|
|
|
319
|
-
| CLI
|
|
320
|
-
| API
|
|
321
|
-
|
|
|
322
|
-
|
|
|
323
|
-
|
|
|
329
|
+
| CLI/System Tools | TypeScript | High performance (18ms), type safety, SQLite3 integration |
|
|
330
|
+
| API/Backend | TypeScript | Node.js ecosystem, Express/Fastify compatibility |
|
|
331
|
+
| Frontend | TypeScript | React/Vue native support |
|
|
332
|
+
| data processing | TypeScript | High-performance asynchronous processing, type safety |
|
|
333
|
+
| User Python Project | Python tool support | MoAI-ADK provides Python project development tools |
|
|
324
334
|
|
|
325
|
-
####
|
|
335
|
+
#### Approach
|
|
326
336
|
|
|
327
|
-
- **Bottom-up**:
|
|
328
|
-
- **Top-down**: API →
|
|
329
|
-
- **Middle-out**:
|
|
337
|
+
- **Bottom-up**: Utility → Service → API
|
|
338
|
+
- **Top-down**: API → Service → Utility
|
|
339
|
+
- **Middle-out**: Core logic → Bidirectional expansion
|
|
330
340
|
|
|
331
|
-
### 3.
|
|
341
|
+
### 3. Generate action plan report
|
|
332
342
|
|
|
333
|
-
|
|
343
|
+
Present your plan in the following format:
|
|
334
344
|
|
|
335
345
|
```
|
|
336
|
-
##
|
|
346
|
+
## Execution Plan Report: [SPEC-ID]
|
|
337
347
|
|
|
338
|
-
### 📊
|
|
339
|
-
-
|
|
340
|
-
-
|
|
341
|
-
-
|
|
348
|
+
### 📊 Analysis Results
|
|
349
|
+
- **Complexity**: [Low/Medium/High]
|
|
350
|
+
- **Estimated Work Time**: [Time Estimation]
|
|
351
|
+
- **Key Technical Challenges**: [Technical Difficulties]
|
|
342
352
|
|
|
343
|
-
### 🎯
|
|
344
|
-
-
|
|
345
|
-
-
|
|
346
|
-
-
|
|
353
|
+
### 🎯 Execution Strategy
|
|
354
|
+
- **Language of choice**: [Python/TypeScript + Reason]
|
|
355
|
+
- **Approach**: [Bottom-up/Top-down/Middle-out or Prototype/Documentation]
|
|
356
|
+
- **Core module**: [Major work target]
|
|
347
357
|
|
|
348
|
-
### 📦
|
|
349
|
-
|
|
350
|
-
|
|
|
358
|
+
### 📦 Library version (required - based on web search)
|
|
359
|
+
**Backend dependencies** (example):
|
|
360
|
+
| package | Latest stable version | installation command |
|
|
351
361
|
|--------|--------------|----------|
|
|
352
362
|
| FastAPI | 0.118.3 | fastapi>=0.118.3 |
|
|
353
363
|
| SQLAlchemy | 2.0.43 | sqlalchemy>=2.0.43 |
|
|
354
364
|
|
|
355
|
-
|
|
356
|
-
|
|
|
365
|
+
**Frontend dependency** (example):
|
|
366
|
+
| package | Latest stable version | installation command |
|
|
357
367
|
|--------|--------------|----------|
|
|
358
368
|
| React | 18.3.1 | react@^18.3.1 |
|
|
359
369
|
| Vite | 7.1.9 | vite@^7.1.9 |
|
|
360
370
|
|
|
361
|
-
|
|
362
|
-
- [
|
|
363
|
-
- [
|
|
371
|
+
**Important Compatibility Information**:
|
|
372
|
+
- [Specific Version Requirements]
|
|
373
|
+
- [Known Compatibility Issues]
|
|
364
374
|
|
|
365
|
-
### ⚠️
|
|
366
|
-
-
|
|
367
|
-
-
|
|
368
|
-
-
|
|
375
|
+
### ⚠️ Risk Factors
|
|
376
|
+
- **Technical Risk**: [Expected Issues]
|
|
377
|
+
- **Dependency Risk**: [External Dependency Issues]
|
|
378
|
+
- **Schedule Risk**: [Possible Delay]
|
|
369
379
|
|
|
370
|
-
### ✅
|
|
371
|
-
-
|
|
372
|
-
-
|
|
373
|
-
-
|
|
380
|
+
### ✅ Quality Gates
|
|
381
|
+
- **Test Coverage**: [Goal %]
|
|
382
|
+
- **Performance Goals**: [Specific Metrics]
|
|
383
|
+
- **Security Checkpoints**: [Verification Items]
|
|
374
384
|
|
|
375
385
|
---
|
|
376
|
-
|
|
377
|
-
(
|
|
386
|
+
**Approval Request**: Do you want to proceed with the above plan?
|
|
387
|
+
(Choose between “Proceed,” “Modify [Content],” or “Abort”)
|
|
378
388
|
```
|
|
379
389
|
|
|
380
390
|
---
|
|
381
391
|
|
|
382
|
-
## 🚀 STEP 2
|
|
392
|
+
## 🚀 STEP 2 Execution Guide: Execute Task (After Approval)
|
|
383
393
|
|
|
384
|
-
|
|
394
|
+
Only if the user selects **"Proceed"** or **"Start"** will Alfred call the tdd-implementer agent to start the task.
|
|
385
395
|
|
|
386
|
-
### TDD
|
|
396
|
+
### TDD step-by-step guide
|
|
387
397
|
|
|
388
|
-
1. **RED**: Given/When/Then
|
|
389
|
-
2. **GREEN**:
|
|
390
|
-
3. **REFACTOR**:
|
|
398
|
+
1. **RED**: Writing failure tests with Given/When/Then structure. Follow test file rules for each language and simply record failure logs.
|
|
399
|
+
2. **GREEN**: Add only the minimal implementation that makes the tests pass. Optimization is postponed to the REFACTOR stage.
|
|
400
|
+
3. **REFACTOR**: Removal of duplication, explicit naming, structured logging/exception handling enhancements. Split into additional commits if necessary.
|
|
391
401
|
|
|
392
|
-
**TRUST 5
|
|
393
|
-
- **T (Test First)**:
|
|
394
|
-
- **R (Readable)**: REFACTOR
|
|
395
|
-
- **T (Trackable)**:
|
|
402
|
+
**TRUST 5 Principles Linkage** (Details: `development-guide.md` - "TRUST 5 Principles"):
|
|
403
|
+
- **T (Test First)**: Writing SPEC-based tests in the RED stage
|
|
404
|
+
- **R (Readable)**: Readability in the REFACTOR stage Improvement (file≤300 LOC, function≤50 LOC)
|
|
405
|
+
- **T (Trackable)**: Maintain @TAG traceability at all stages.
|
|
396
406
|
|
|
397
|
-
> TRUST 5
|
|
407
|
+
> TRUST 5 principles provide only basic recommendations, so if you need a structure that exceeds `simplicity_threshold`, proceed with the basis in SPEC or ADR.
|
|
398
408
|
|
|
399
|
-
##
|
|
409
|
+
## Agent role separation
|
|
400
410
|
|
|
401
|
-
### implementation-planner
|
|
411
|
+
### implementation-planner dedicated area
|
|
402
412
|
|
|
403
|
-
- SPEC
|
|
404
|
-
-
|
|
405
|
-
- TAG
|
|
406
|
-
-
|
|
407
|
-
-
|
|
413
|
+
- SPEC document analysis and requirements extraction
|
|
414
|
+
- Library selection and version management
|
|
415
|
+
- TAG chain design and sequence decision
|
|
416
|
+
- Establishment of implementation strategy and identification of risks
|
|
417
|
+
- Creation of execution plan
|
|
408
418
|
|
|
409
|
-
### tdd-implementer
|
|
419
|
+
### tdd-implementer dedicated area
|
|
410
420
|
|
|
411
|
-
-
|
|
412
|
-
-
|
|
413
|
-
-
|
|
414
|
-
-
|
|
415
|
-
-
|
|
421
|
+
- Execute tasks (TDD, prototyping, documentation, etc.)
|
|
422
|
+
- Write and run tests (TDD scenarios)
|
|
423
|
+
- Add and manage TAG comments
|
|
424
|
+
- Improve code quality (refactoring)
|
|
425
|
+
- Run language-specific linters/formatters
|
|
416
426
|
|
|
417
|
-
###
|
|
427
|
+
### Quality-gate dedicated area
|
|
418
428
|
|
|
419
|
-
- TRUST
|
|
420
|
-
-
|
|
421
|
-
-
|
|
422
|
-
- TAG
|
|
423
|
-
-
|
|
429
|
+
- TRUST principle verification
|
|
430
|
+
- Code style verification
|
|
431
|
+
- Test coverage verification
|
|
432
|
+
- TAG chain integrity verification
|
|
433
|
+
- Dependency security verification
|
|
424
434
|
|
|
425
|
-
### git-manager
|
|
435
|
+
### git-manager dedicated area
|
|
426
436
|
|
|
427
|
-
-
|
|
428
|
-
-
|
|
429
|
-
-
|
|
430
|
-
-
|
|
431
|
-
-
|
|
437
|
+
- All Git commit operations (add, commit, push)
|
|
438
|
+
- Checkpoint creation for each task stage
|
|
439
|
+
- Apply commit strategy for each mode
|
|
440
|
+
- Git branch/tag management
|
|
441
|
+
- Remote synchronization processing
|
|
432
442
|
|
|
433
|
-
##
|
|
443
|
+
## Quality Gate Checklist
|
|
434
444
|
|
|
435
|
-
-
|
|
436
|
-
-
|
|
437
|
-
-
|
|
438
|
-
- @TAG
|
|
445
|
+
- Test coverage ≥ `.moai/config.json.test_coverage_target` (default 85%)
|
|
446
|
+
- Pass linter/formatter (`ruff`, `eslint --fix`, `gofmt`, etc.)
|
|
447
|
+
- Check presence of structured logging or observation tool call
|
|
448
|
+
- @TAG update needed changes note (used by doc-syncer in next step)
|
|
439
449
|
|
|
440
450
|
---
|
|
441
451
|
|
|
442
|
-
## 🧠 Context Management
|
|
452
|
+
## 🧠 Context Management
|
|
443
453
|
|
|
444
|
-
>
|
|
454
|
+
> For more information: `.moai/memory/development-guide.md` - see section "Context Engineering"
|
|
445
455
|
|
|
446
|
-
###
|
|
456
|
+
### Core strategy of this command
|
|
447
457
|
|
|
448
|
-
|
|
458
|
+
**Load first**: `.moai/specs/SPEC-XXX/spec.md` (implementation target requirement)
|
|
449
459
|
|
|
450
|
-
|
|
460
|
+
**Recommendation**: Job execution completed successfully. You can experience better performance and context management by starting a new chat session with the `/clear` or `/new` command before proceeding to the next step (`/alfred:3-sync`).
|
|
451
461
|
|
|
452
462
|
---
|
|
453
463
|
|
|
454
|
-
##
|
|
464
|
+
## Next steps
|
|
455
465
|
|
|
456
|
-
|
|
466
|
+
**Recommendation**: For better performance and context management, start a new chat session with the `/clear` or `/new` command before proceeding to the next step.
|
|
457
467
|
|
|
458
|
-
-
|
|
459
|
-
-
|
|
460
|
-
-
|
|
468
|
+
- After task execution is complete, document synchronization proceeds with `/alfred:3-sync`
|
|
469
|
+
- All Git operations are dedicated to the git-manager agent to ensure consistency
|
|
470
|
+
- Only command-level orchestration is used without direct calls between agents
|