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
|
@@ -1,121 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: moai-claude-code
|
|
3
|
-
version: 2.0.0
|
|
4
|
-
created: 2025-10-22
|
|
5
|
-
updated: 2025-10-22
|
|
6
|
-
status: active
|
|
7
|
-
description: Scaffolds and audits Claude Code agents, commands, skills, plugins, and settings with production templates.
|
|
8
|
-
keywords: ['claude-code', 'agents', 'skills', 'automation']
|
|
9
|
-
allowed-tools:
|
|
10
|
-
- Read
|
|
11
|
-
- Bash
|
|
12
|
-
---
|
|
13
|
-
|
|
14
|
-
# Claude Code Skill
|
|
15
|
-
|
|
16
|
-
## Skill Metadata
|
|
17
|
-
|
|
18
|
-
| Field | Value |
|
|
19
|
-
| ----- | ----- |
|
|
20
|
-
| **Skill Name** | moai-claude-code |
|
|
21
|
-
| **Version** | 2.0.0 (2025-10-22) |
|
|
22
|
-
| **Allowed tools** | Read (read_file), Bash (terminal) |
|
|
23
|
-
| **Auto-load** | On demand when keywords detected |
|
|
24
|
-
| **Tier** | Ops |
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
## What It Does
|
|
29
|
-
|
|
30
|
-
Scaffolds and audits Claude Code agents, commands, skills, plugins, and settings with production templates.
|
|
31
|
-
|
|
32
|
-
**Key capabilities**:
|
|
33
|
-
- ✅ Best practices enforcement for ops domain
|
|
34
|
-
- ✅ TRUST 5 principles integration
|
|
35
|
-
- ✅ Latest tool versions (2025-10-22)
|
|
36
|
-
- ✅ TDD workflow support
|
|
37
|
-
|
|
38
|
-
---
|
|
39
|
-
|
|
40
|
-
## When to Use
|
|
41
|
-
|
|
42
|
-
**Automatic triggers**:
|
|
43
|
-
- Related code discussions and file patterns
|
|
44
|
-
- SPEC implementation (`/alfred:2-run`)
|
|
45
|
-
- Code review requests
|
|
46
|
-
|
|
47
|
-
**Manual invocation**:
|
|
48
|
-
- Review code for TRUST 5 compliance
|
|
49
|
-
- Design new features
|
|
50
|
-
- Troubleshoot issues
|
|
51
|
-
|
|
52
|
-
---
|
|
53
|
-
|
|
54
|
-
## Tool Version Matrix (2025-10-22)
|
|
55
|
-
|
|
56
|
-
| Tool | Version | Purpose | Status |
|
|
57
|
-
|------|---------|---------|--------|
|
|
58
|
-
| **Claude Code** | 0.6.0 | Primary | ✅ Current |
|
|
59
|
-
|
|
60
|
-
---
|
|
61
|
-
|
|
62
|
-
## Inputs
|
|
63
|
-
|
|
64
|
-
- Language-specific source directories
|
|
65
|
-
- Configuration files
|
|
66
|
-
- Test suites and sample data
|
|
67
|
-
|
|
68
|
-
## Outputs
|
|
69
|
-
|
|
70
|
-
- Test/lint execution plan
|
|
71
|
-
- TRUST 5 review checkpoints
|
|
72
|
-
- Migration guidance
|
|
73
|
-
|
|
74
|
-
## Failure Modes
|
|
75
|
-
|
|
76
|
-
- When required tools are not installed
|
|
77
|
-
- When dependencies are missing
|
|
78
|
-
- When test coverage falls below 85%
|
|
79
|
-
|
|
80
|
-
## Dependencies
|
|
81
|
-
|
|
82
|
-
- Access to project files via Read/Bash tools
|
|
83
|
-
- Integration with `moai-foundation-langs` for language detection
|
|
84
|
-
- Integration with `moai-foundation-trust` for quality gates
|
|
85
|
-
|
|
86
|
-
---
|
|
87
|
-
|
|
88
|
-
## References (Latest Documentation)
|
|
89
|
-
|
|
90
|
-
_Documentation links updated 2025-10-22_
|
|
91
|
-
|
|
92
|
-
---
|
|
93
|
-
|
|
94
|
-
## Changelog
|
|
95
|
-
|
|
96
|
-
- **v2.0.0** (2025-10-22): Major update with latest tool versions, comprehensive best practices, TRUST 5 integration
|
|
97
|
-
- **v1.0.0** (2025-03-29): Initial Skill release
|
|
98
|
-
|
|
99
|
-
---
|
|
100
|
-
|
|
101
|
-
## Works Well With
|
|
102
|
-
|
|
103
|
-
- `moai-foundation-trust` (quality gates)
|
|
104
|
-
- `moai-alfred-code-reviewer` (code review)
|
|
105
|
-
- `moai-essentials-debug` (debugging support)
|
|
106
|
-
|
|
107
|
-
---
|
|
108
|
-
|
|
109
|
-
## Best Practices
|
|
110
|
-
|
|
111
|
-
✅ **DO**:
|
|
112
|
-
- Follow ops best practices
|
|
113
|
-
- Use latest stable tool versions
|
|
114
|
-
- Maintain test coverage ≥85%
|
|
115
|
-
- Document all public APIs
|
|
116
|
-
|
|
117
|
-
❌ **DON'T**:
|
|
118
|
-
- Skip quality gates
|
|
119
|
-
- Use deprecated tools
|
|
120
|
-
- Ignore security warnings
|
|
121
|
-
- Mix testing frameworks
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
# moai-claude-code - Working Examples
|
|
2
|
-
|
|
3
|
-
_Last updated: 2025-10-22_
|
|
4
|
-
|
|
5
|
-
## Example 1: Basic Setup
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
# Setup commands
|
|
9
|
-
# ...
|
|
10
|
-
```
|
|
11
|
-
|
|
12
|
-
## Example 2: TDD Workflow
|
|
13
|
-
|
|
14
|
-
```bash
|
|
15
|
-
# RED: Write failing test
|
|
16
|
-
# GREEN: Implement feature
|
|
17
|
-
# REFACTOR: Improve code
|
|
18
|
-
```
|
|
19
|
-
|
|
20
|
-
## Example 3: Quality Gate
|
|
21
|
-
|
|
22
|
-
```bash
|
|
23
|
-
# Run quality checks
|
|
24
|
-
# Verify coverage ≥85%
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
---
|
|
28
|
-
|
|
29
|
-
_For more examples, see SKILL.md reference section_
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# moai-claude-code - CLI Reference
|
|
2
|
-
|
|
3
|
-
_Last updated: 2025-10-22_
|
|
4
|
-
|
|
5
|
-
## Quick Reference
|
|
6
|
-
|
|
7
|
-
### Installation
|
|
8
|
-
|
|
9
|
-
```bash
|
|
10
|
-
# Installation commands
|
|
11
|
-
```
|
|
12
|
-
|
|
13
|
-
### Common Commands
|
|
14
|
-
|
|
15
|
-
```bash
|
|
16
|
-
# Test
|
|
17
|
-
# Lint
|
|
18
|
-
# Format
|
|
19
|
-
# Build
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## Tool Versions (2025-10-22)
|
|
23
|
-
|
|
24
|
-
- **Claude Code**: 0.6.0
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
_For detailed usage, see SKILL.md_
|
|
@@ -1,332 +0,0 @@
|
|
|
1
|
-
---
|
|
2
|
-
name: {agent-name}
|
|
3
|
-
description: "Use when: {detailed-trigger-condition-with-context}"
|
|
4
|
-
tools: Read, Write, Edit, MultiEdit, Grep, Glob, Bash, TodoWrite, WebFetch
|
|
5
|
-
model: sonnet
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
# {Agent Name} - {Specialist Title}
|
|
9
|
-
|
|
10
|
-
**{Comprehensive 2-3 sentence description of agent's role, expertise, and unique value proposition}**
|
|
11
|
-
|
|
12
|
-
## 🎭 Agent Persona (Professional Developer Job)
|
|
13
|
-
|
|
14
|
-
**Icon**: {emoji}
|
|
15
|
-
**Job**: {job-title-kr} ({job-title-en})
|
|
16
|
-
**Expertise**: {detailed-expertise-description}
|
|
17
|
-
**Role**: {comprehensive-role-and-responsibilities}
|
|
18
|
-
**Goals**: {specific-measurable-goals}
|
|
19
|
-
|
|
20
|
-
### Expert Traits
|
|
21
|
-
|
|
22
|
-
- **Thinking style**: {how-this-agent-approaches-problems}
|
|
23
|
-
- **Decision-making criteria**: {what-principles-guide-decisions}
|
|
24
|
-
- **Communication style**: {how-agent-interacts-with-users}
|
|
25
|
-
- **Areas of expertise**: {specific-technical-domains-1}, {domain-2}, {domain-3}
|
|
26
|
-
|
|
27
|
-
## 🎯 Key Role
|
|
28
|
-
|
|
29
|
-
### 1. {Primary Responsibility Area}
|
|
30
|
-
|
|
31
|
-
- **{Sub-responsibility 1}**: {detailed-description-of-what-this-involves}
|
|
32
|
-
- **{Sub-responsibility 2}**: {detailed-description-with-examples}
|
|
33
|
-
- **{Sub-responsibility 3}**: {description-and-expected-outcomes}
|
|
34
|
-
|
|
35
|
-
### 2. Autorun conditions
|
|
36
|
-
|
|
37
|
-
- {Specific trigger situation 1 with context}
|
|
38
|
-
- {Specific trigger situation 2 with context}
|
|
39
|
-
- {Specific trigger situation 3 with context}
|
|
40
|
-
|
|
41
|
-
## 📐 Workflow (detailed)
|
|
42
|
-
|
|
43
|
-
### STEP 1: {First Major Step Title}
|
|
44
|
-
|
|
45
|
-
**Purpose**: {Clear statement of what this step accomplishes}
|
|
46
|
-
|
|
47
|
-
**execution**:
|
|
48
|
-
```bash
|
|
49
|
-
# {Command description}
|
|
50
|
-
{command-1}
|
|
51
|
-
|
|
52
|
-
# {Another command description}
|
|
53
|
-
{command-2}
|
|
54
|
-
|
|
55
|
-
# {Final command in this step}
|
|
56
|
-
{command-3}
|
|
57
|
-
```
|
|
58
|
-
|
|
59
|
-
**Output**:
|
|
60
|
-
- {Detailed output 1 with format/structure}
|
|
61
|
-
- {Detailed output 2 with expected values}
|
|
62
|
-
- {Detailed output 3 with validation criteria}
|
|
63
|
-
|
|
64
|
-
**verification**:
|
|
65
|
-
- [ ] {Validation criterion 1 - what to check}
|
|
66
|
-
- [ ] {Validation criterion 2 - expected result}
|
|
67
|
-
- [ ] {Validation criterion 3 - error conditions}
|
|
68
|
-
|
|
69
|
-
---
|
|
70
|
-
|
|
71
|
-
### STEP 2: {Second Major Step Title}
|
|
72
|
-
|
|
73
|
-
**Purpose**: {Clear statement of purpose}
|
|
74
|
-
|
|
75
|
-
**execution**:
|
|
76
|
-
```bash
|
|
77
|
-
# {Detailed command explanation}
|
|
78
|
-
{command}
|
|
79
|
-
```
|
|
80
|
-
|
|
81
|
-
**Output**:
|
|
82
|
-
```{format}
|
|
83
|
-
{example-output-structure}
|
|
84
|
-
```
|
|
85
|
-
|
|
86
|
-
**verification**:
|
|
87
|
-
- [ ] {Validation 1}
|
|
88
|
-
- [ ] {Validation 2}
|
|
89
|
-
|
|
90
|
-
---
|
|
91
|
-
|
|
92
|
-
### STEP 3: {Third Major Step Title}
|
|
93
|
-
|
|
94
|
-
**Purpose**: {Purpose statement}
|
|
95
|
-
|
|
96
|
-
**execution**:
|
|
97
|
-
```bash
|
|
98
|
-
{commands}
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
**Output**:
|
|
102
|
-
- {Output description}
|
|
103
|
-
|
|
104
|
-
## 🤝 User Interaction
|
|
105
|
-
|
|
106
|
-
### When to use AskUserQuestion
|
|
107
|
-
|
|
108
|
-
{agent-name} uses the **AskUserQuestion tool** in the following situations:
|
|
109
|
-
|
|
110
|
-
#### 1. {Situation 1 Title}
|
|
111
|
-
|
|
112
|
-
**Scenario**: {Detailed description of when this occurs}
|
|
113
|
-
|
|
114
|
-
**Example Questions**:
|
|
115
|
-
```typescript
|
|
116
|
-
AskUserQuestion({
|
|
117
|
-
questions: [{
|
|
118
|
-
question: "{Specific question to ask user}?",
|
|
119
|
-
header: "{Short header text}",
|
|
120
|
-
options: [
|
|
121
|
-
{
|
|
122
|
-
label: "{Option 1}",
|
|
123
|
-
description: "{What happens if user chooses this}"
|
|
124
|
-
},
|
|
125
|
-
{
|
|
126
|
-
label: "{Option 2}",
|
|
127
|
-
description: "{What happens if user chooses this}"
|
|
128
|
-
},
|
|
129
|
-
{
|
|
130
|
-
label: "{Option 3}",
|
|
131
|
-
description: "{Alternative choice explanation}"
|
|
132
|
-
}
|
|
133
|
-
],
|
|
134
|
-
multiSelect: false
|
|
135
|
-
}]
|
|
136
|
-
})
|
|
137
|
-
```
|
|
138
|
-
|
|
139
|
-
**Processing Logic**:
|
|
140
|
-
```typescript
|
|
141
|
-
// Based on user response
|
|
142
|
-
if (answer === "Option 1") {
|
|
143
|
-
// {What agent does for this choice}
|
|
144
|
-
} else if (answer === "Option 2") {
|
|
145
|
-
// {What agent does for this choice}
|
|
146
|
-
}
|
|
147
|
-
```
|
|
148
|
-
|
|
149
|
-
---
|
|
150
|
-
|
|
151
|
-
#### 2. {Situation 2 Title}
|
|
152
|
-
|
|
153
|
-
**Scenario**: {When this interaction is needed}
|
|
154
|
-
|
|
155
|
-
**Example Questions**:
|
|
156
|
-
```typescript
|
|
157
|
-
AskUserQuestion({
|
|
158
|
-
questions: [{
|
|
159
|
-
question: "{Another scenario question}?",
|
|
160
|
-
header: "{Header}",
|
|
161
|
-
options: [
|
|
162
|
-
{ label: "{Choice A}", description: "{Impact of choice A}" },
|
|
163
|
-
{ label: "{Choice B}", description: "{Impact of choice B}" }
|
|
164
|
-
],
|
|
165
|
-
multiSelect: false
|
|
166
|
-
}]
|
|
167
|
-
})
|
|
168
|
-
```
|
|
169
|
-
|
|
170
|
-
## ⚠️ Restrictions
|
|
171
|
-
|
|
172
|
-
### Prohibitions
|
|
173
|
-
|
|
174
|
-
- ❌ {Prohibited action 1 with explanation why}
|
|
175
|
-
- ❌ {Prohibited action 2 with security/safety reason}
|
|
176
|
-
- ❌ {Prohibited action 3 with alternative approach}
|
|
177
|
-
|
|
178
|
-
### Delegation Rules
|
|
179
|
-
|
|
180
|
-
- **{Agent/Tool 1}** → {When to delegate to this agent}
|
|
181
|
-
- **{Agent/Tool 2}** → {When to use this instead}
|
|
182
|
-
- **{Agent/Tool 3}** → {Delegation condition}
|
|
183
|
-
|
|
184
|
-
### Permission restrictions
|
|
185
|
-
|
|
186
|
-
- File access: {List allowed directories/patterns}
|
|
187
|
-
- Command execution: {List allowed bash patterns}
|
|
188
|
-
- External resources: {List allowed external resources}
|
|
189
|
-
|
|
190
|
-
## ✅ Quality Gate
|
|
191
|
-
|
|
192
|
-
### Completion criteria
|
|
193
|
-
|
|
194
|
-
- [ ] {Completion criterion 1 with measurable target}
|
|
195
|
-
- [ ] {Completion criterion 2 with validation method}
|
|
196
|
-
- [ ] {Completion criterion 3 with expected state}
|
|
197
|
-
- [ ] {Completion criterion 4 with deliverable}
|
|
198
|
-
|
|
199
|
-
### Error handling
|
|
200
|
-
|
|
201
|
-
**Common errors and solutions**:
|
|
202
|
-
|
|
203
|
-
| Error Type | Cause | Solution |
|
|
204
|
-
| -------------- | ------------------- | ----------------------- |
|
|
205
|
-
| {Error Type 1} | {Root cause} | {Step-by-step solution} |
|
|
206
|
-
| {Error Type 2} | {What causes it} | {How to fix it} |
|
|
207
|
-
| {Error Type 3} | {Trigger condition} | {Resolution steps} |
|
|
208
|
-
|
|
209
|
-
**Error Recovery Process**:
|
|
210
|
-
1. {First recovery step}
|
|
211
|
-
2. {Second recovery step}
|
|
212
|
-
3. {Fallback procedure}
|
|
213
|
-
|
|
214
|
-
### Performance criteria
|
|
215
|
-
|
|
216
|
-
- **Running time**: {Expected duration}
|
|
217
|
-
- **Memory usage**: {Expected resource usage}
|
|
218
|
-
- **Output size**: {Expected output size}
|
|
219
|
-
|
|
220
|
-
## 💡 User Guide
|
|
221
|
-
|
|
222
|
-
### Direct call
|
|
223
|
-
|
|
224
|
-
```bash
|
|
225
|
-
# Basic usage
|
|
226
|
-
@agent-{agent-name} "{simple task description}"
|
|
227
|
-
|
|
228
|
-
# With specific context
|
|
229
|
-
@agent-{agent-name} "{detailed task with context and constraints}"
|
|
230
|
-
|
|
231
|
-
# With options
|
|
232
|
-
@agent-{agent-name} "{task}" --option1 value1 --option2 value2
|
|
233
|
-
```
|
|
234
|
-
|
|
235
|
-
### Autorun conditions
|
|
236
|
-
|
|
237
|
-
- {Auto-trigger condition 1 with example}
|
|
238
|
-
- {Auto-trigger condition 2 with keyword pattern}
|
|
239
|
-
- {Auto-trigger condition 3 with context requirement}
|
|
240
|
-
|
|
241
|
-
### Best practices
|
|
242
|
-
|
|
243
|
-
1. **{Practice 1 Title}**
|
|
244
|
-
- {Detailed explanation}
|
|
245
|
-
- Example: `{code-or-command-example}`
|
|
246
|
-
|
|
247
|
-
2. **{Practice 2 Title}**
|
|
248
|
-
- {Why this is important}
|
|
249
|
-
- Anti-pattern: ❌ `{what-not-to-do}`
|
|
250
|
-
- Correct: ✅ `{what-to-do-instead}`
|
|
251
|
-
|
|
252
|
-
3. **{Practice 3 Title}**
|
|
253
|
-
- {Best approach}
|
|
254
|
-
- When to apply: {Specific scenarios}
|
|
255
|
-
|
|
256
|
-
## 🔗 Integration and Collaboration
|
|
257
|
-
|
|
258
|
-
### Associated Agent
|
|
259
|
-
|
|
260
|
-
- **{Agent 1}** ({Icon} {Role}): {How they collaborate}
|
|
261
|
-
- **{Agent 2}** ({Icon} {Role}): {Handoff scenarios}
|
|
262
|
-
- **{Agent 3}** ({Icon} {Role}): {Integration points}
|
|
263
|
-
|
|
264
|
-
### Command integration
|
|
265
|
-
|
|
266
|
-
- **{Command 1}** - {When this command invokes this agent}
|
|
267
|
-
- **{Command 2}** - {Integration scenario}
|
|
268
|
-
|
|
269
|
-
### MoAI-ADK workflow location
|
|
270
|
-
|
|
271
|
-
```
|
|
272
|
-
/alfred:1-plan → /alfred:2-run → /alfred:3-sync
|
|
273
|
-
↑ ↑ ↑
|
|
274
|
-
{Where this agent fits in the workflow}
|
|
275
|
-
```
|
|
276
|
-
|
|
277
|
-
## 📊 Example scenario
|
|
278
|
-
|
|
279
|
-
### Scenario 1: {Common Use Case Title}
|
|
280
|
-
|
|
281
|
-
**input**:
|
|
282
|
-
```
|
|
283
|
-
{Example user request}
|
|
284
|
-
```
|
|
285
|
-
|
|
286
|
-
**Running Process**:
|
|
287
|
-
1. {What agent does in step 1}
|
|
288
|
-
2. {What agent does in step 2}
|
|
289
|
-
3. {What agent does in step 3}
|
|
290
|
-
|
|
291
|
-
**output of power**:
|
|
292
|
-
```{format}
|
|
293
|
-
{example-output}
|
|
294
|
-
```
|
|
295
|
-
|
|
296
|
-
**Verification results**:
|
|
297
|
-
- ✅ {Verification 1 passed}
|
|
298
|
-
- ✅ {Verification 2 passed}
|
|
299
|
-
|
|
300
|
-
---
|
|
301
|
-
|
|
302
|
-
### Scenario 2: {Edge Case Title}
|
|
303
|
-
|
|
304
|
-
**input**:
|
|
305
|
-
```
|
|
306
|
-
{Complex user request}
|
|
307
|
-
```
|
|
308
|
-
|
|
309
|
-
**treatment**:
|
|
310
|
-
- {How agent handles complexity}
|
|
311
|
-
- {Special considerations}
|
|
312
|
-
|
|
313
|
-
**output of power**:
|
|
314
|
-
- {Result description}
|
|
315
|
-
|
|
316
|
-
## 📚 References
|
|
317
|
-
|
|
318
|
-
- **Official Documentation**: {Link to relevant documentation}
|
|
319
|
-
- **Related Skills**: {Link to complementary skills}
|
|
320
|
-
- **MoAI-ADK Guide**: {Link to internal guide}
|
|
321
|
-
|
|
322
|
-
---
|
|
323
|
-
|
|
324
|
-
**Template Level**: Full
|
|
325
|
-
**Best For**: Production MoAI-ADK projects, enterprise workflows
|
|
326
|
-
**Features**: Complete feature set, AskUserQuestion, quality gates, error handling
|
|
327
|
-
**Estimated Setup Time**: 30-45 minutes
|
|
328
|
-
**Maintenance**: Regular updates recommended
|
|
329
|
-
|
|
330
|
-
---
|
|
331
|
-
|
|
332
|
-
This {agent-name} provides the highest standards for {expertise-domain}.
|