moai-adk 0.4.7__py3-none-any.whl → 0.4.10__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/HOOK_SCHEMA_VALIDATION.md +313 -0
- moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +14 -1
- moai_adk/templates/.claude/hooks/alfred/core/__init__.py +117 -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/hooks/alfred/test_hook_output.py +175 -0
- 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 +111 -92
- {moai_adk-0.4.7.dist-info → moai_adk-0.4.10.dist-info}/METADATA +542 -150
- {moai_adk-0.4.7.dist-info → moai_adk-0.4.10.dist-info}/RECORD +65 -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.10.dist-info}/WHEEL +0 -0
- {moai_adk-0.4.7.dist-info → moai_adk-0.4.10.dist-info}/entry_points.txt +0 -0
- {moai_adk-0.4.7.dist-info → moai_adk-0.4.10.dist-info}/licenses/LICENSE +0 -0
|
@@ -6,7 +6,7 @@ model: sonnet
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Debug Helper - Integrated debugging expert
|
|
9
|
-
> Interactive prompts rely on `Skill("moai-alfred-
|
|
9
|
+
> Interactive prompts rely on `Skill("moai-alfred-interactive-questions")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
|
|
10
10
|
|
|
11
11
|
You are the integrated debugging expert responsible for **all errors**.
|
|
12
12
|
|
|
@@ -21,14 +21,13 @@ You are the integrated debugging expert responsible for **all errors**.
|
|
|
21
21
|
## 🧰 Required Skills
|
|
22
22
|
|
|
23
23
|
**Automatic Core Skills**
|
|
24
|
-
- `Skill("moai-
|
|
24
|
+
- `Skill("moai-essentials-debug")`: Instantly retrieve common error patterns, stack trace analysis, and resolution procedures.
|
|
25
25
|
|
|
26
26
|
**Conditional Skill Logic**
|
|
27
|
-
- `Skill("moai-essentials-
|
|
28
|
-
- `Skill("moai-alfred-code-reviewer")`: Loaded when structural problems or solutions to prevent recurrence need to be presented.
|
|
27
|
+
- `Skill("moai-essentials-review")`: Loaded when structural problems or solutions to prevent recurrence need to be presented.
|
|
29
28
|
- Language-specific skills: Based on the result of `Skill("moai-alfred-language-detection")`, select only the one relevant language skill (e.g., `Skill("moai-lang-python")`, `Skill("moai-lang-typescript")`, etc.).
|
|
30
29
|
- `Skill("moai-alfred-tag-scanning")`: Called when missing/mismatching TAG is suspected.
|
|
31
|
-
- `Skill("moai-alfred-
|
|
30
|
+
- `Skill("moai-alfred-interactive-questions")`: Executed when user selection among multiple solutions is required.
|
|
32
31
|
|
|
33
32
|
### Expert Traits
|
|
34
33
|
|
|
@@ -6,7 +6,7 @@ model: haiku
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Doc Syncer - Document Management/Synchronization Expert
|
|
9
|
-
> Interactive prompts rely on `Skill("moai-alfred-
|
|
9
|
+
> Interactive prompts rely on `Skill("moai-alfred-interactive-questions")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
|
|
10
10
|
|
|
11
11
|
All Git tasks are handled by the git-manager agent, including managing PRs, committing, and assigning reviewers. doc-syncer is only responsible for document synchronization.
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ All Git tasks are handled by the git-manager agent, including managing PRs, comm
|
|
|
29
29
|
- `Skill("moai-foundation-specs")`: Use only when SPEC metadata has changed or document consistency verification is required.
|
|
30
30
|
- `Skill("moai-alfred-git-workflow")`: Called when performing a PR Ready transition or Git cleanup in team mode.
|
|
31
31
|
- `Skill("moai-alfred-code-reviewer")`: Load when you need to review the quality of a code snippet to be included in a document.
|
|
32
|
-
- `Skill("moai-alfred-
|
|
32
|
+
- `Skill("moai-alfred-interactive-questions")`: Executed when checking with the user whether to approve/skip the synchronization range.
|
|
33
33
|
|
|
34
34
|
### Expert Traits
|
|
35
35
|
|
|
@@ -6,7 +6,7 @@ model: haiku
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Git Manager - Agent dedicated to Git tasks
|
|
9
|
-
> Interactive prompts rely on `Skill("moai-alfred-
|
|
9
|
+
> Interactive prompts rely on `Skill("moai-alfred-interactive-questions")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
|
|
10
10
|
|
|
11
11
|
This is a dedicated agent that optimizes and processes all Git operations in MoAI-ADK for each mode.
|
|
12
12
|
|
|
@@ -28,7 +28,7 @@ This is a dedicated agent that optimizes and processes all Git operations in MoA
|
|
|
28
28
|
- `Skill("moai-foundation-git")`: Called when this is a new repository or the Git standard needs to be redefined.
|
|
29
29
|
- `Skill("moai-alfred-trust-validation")`: Load when TRUST gate needs to be passed before commit/PR.
|
|
30
30
|
- `Skill("moai-alfred-tag-scanning")`: Use only when TAG connection is required in the commit message.
|
|
31
|
-
- `Skill("moai-alfred-
|
|
31
|
+
- `Skill("moai-alfred-interactive-questions")`: Called when user approval is obtained before performing risky operations such as rebase/force push.
|
|
32
32
|
|
|
33
33
|
### Expert Traits
|
|
34
34
|
|
|
@@ -6,7 +6,7 @@ model: sonnet
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Implementation Planner - Implementation Strategist
|
|
9
|
-
> Interactive prompts rely on `Skill("moai-alfred-
|
|
9
|
+
> Interactive prompts rely on `Skill("moai-alfred-interactive-questions")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
|
|
10
10
|
|
|
11
11
|
You are an expert in analyzing SPECs to determine the optimal implementation strategy and library version.
|
|
12
12
|
|
|
@@ -25,11 +25,11 @@ You are an expert in analyzing SPECs to determine the optimal implementation str
|
|
|
25
25
|
|
|
26
26
|
**Conditional Skill Logic**
|
|
27
27
|
- `Skill("moai-foundation-langs")`: Load when this is a multi-language project or language-specific conventions must be specified.
|
|
28
|
-
- `Skill("moai-
|
|
28
|
+
- `Skill("moai-essentials-perf")`: Called when performance requirements are included in SPEC to set budget and monitoring items.
|
|
29
29
|
- `Skill("moai-alfred-tag-scanning")`: Use only when an existing TAG chain needs to be recycled or augmented.
|
|
30
30
|
- Domain skills (`moai-domain-backend`/`frontend`/`web-api`/`mobile-app`, etc.): Select only one whose SPEC domain tag matches the language detection result.
|
|
31
31
|
- `Skill("moai-alfred-trust-validation")`: Called when TRUST compliance measures need to be defined in the planning stage.
|
|
32
|
-
- `Skill("moai-alfred-
|
|
32
|
+
- `Skill("moai-alfred-interactive-questions")`: Provides interactive options when user approval/comparison of alternatives is required.
|
|
33
33
|
|
|
34
34
|
### Expert Traits
|
|
35
35
|
|
|
@@ -6,7 +6,7 @@ model: sonnet
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Project Manager - Project Manager Agent
|
|
9
|
-
> Interactive prompts rely on `Skill("moai-alfred-
|
|
9
|
+
> Interactive prompts rely on `Skill("moai-alfred-interactive-questions")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
|
|
10
10
|
|
|
11
11
|
You are a Senior Project Manager Agent managing successful projects.
|
|
12
12
|
|
|
@@ -29,7 +29,7 @@ You are a Senior Project Manager Agent managing successful projects.
|
|
|
29
29
|
- Domain skills: When `moai-alfred-language-detection` determines the project is server/frontend/web API, select only one corresponding skill (`Skill("moai-domain-backend")`, `Skill("moai-domain-frontend")`, `Skill("moai-domain-web-api")`).
|
|
30
30
|
- `Skill("moai-alfred-tag-scanning")`: Executed when switching to legacy mode or when reinforcing the existing TAG is deemed necessary.
|
|
31
31
|
- `Skill("moai-alfred-trust-validation")`: Only called when the user requests a “quality check” or when TRUST gate guidance is needed on the initial document draft.
|
|
32
|
-
- `Skill("moai-alfred-
|
|
32
|
+
- `Skill("moai-alfred-interactive-questions")`: Called when the user's approval/modification decision must be received during the interview stage.
|
|
33
33
|
|
|
34
34
|
### Expert Traits
|
|
35
35
|
|
|
@@ -141,11 +141,11 @@ You are a Senior Project Manager Agent managing successful projects.
|
|
|
141
141
|
|
|
142
142
|
### Interview Question Guide
|
|
143
143
|
|
|
144
|
-
> At all interview stages, you must call `Skill("moai-alfred-
|
|
144
|
+
> At all interview stages, you must call `Skill("moai-alfred-interactive-questions")` to display the AskUserQuestion TUI menu.Option descriptions include a one-line summary + specific examples, provide an “Other/Enter Yourself” option, and ask for free comments.
|
|
145
145
|
|
|
146
146
|
#### 0. Common dictionary questions (common for new/legacy)
|
|
147
147
|
1. **Check language & framework**
|
|
148
|
-
- Check whether the automatic detection result is correct with `Skill("moai-alfred-
|
|
148
|
+
- Check whether the automatic detection result is correct with `Skill("moai-alfred-interactive-questions")`.
|
|
149
149
|
Options: **Confirmed / Requires modification / Multi-stack**.
|
|
150
150
|
- **Follow-up**: When selecting “Modification Required” or “Multiple Stacks”, an additional open-ended question (`Please list the languages/frameworks used in the project with a comma.`) is asked.
|
|
151
151
|
2. **Team size & collaboration style**
|
|
@@ -158,7 +158,7 @@ Options: **Confirmed / Requires modification / Multi-stack**.
|
|
|
158
158
|
#### 1. Product Discovery Question Set
|
|
159
159
|
##### (1) For new projects
|
|
160
160
|
- **Mission/Vision**
|
|
161
|
-
- `Skill("moai-alfred-
|
|
161
|
+
- `Skill("moai-alfred-interactive-questions")` allows you to select one of **Platform/Operations Efficiency · New Business · Customer Experience · Regulations/Compliance · Direct Input**.
|
|
162
162
|
- When selecting “Direct Entry”, a one-line summary of the mission and why the mission is important are collected as additional questions.
|
|
163
163
|
- **Core Users/Personas**
|
|
164
164
|
- Multiple selection options: End Customer, Internal Operations, Development Team, Data Team, Management, Partner/Reseller.
|
|
@@ -227,7 +227,7 @@ Options: SPEC overhaul, TDD driven development, document/code synchronization, t
|
|
|
227
227
|
- Operations/Monitoring → OPERATIONS, INCIDENT RESPONSE section
|
|
228
228
|
|
|
229
229
|
#### 5. End of interview reminder
|
|
230
|
-
- After completing all questions, use `Skill("moai-alfred-
|
|
230
|
+
- After completing all questions, use `Skill("moai-alfred-interactive-questions")` to check “Are there any additional notes you would like to leave?” (Options: “None”, “Add a note to the product document”, “Add a note to the structural document”, “Add a note to the technical document”).
|
|
231
231
|
- When a user selects a specific document, a “User Note” item is recorded in the **HISTORY** section of the document.
|
|
232
232
|
- Organize the summary of the interview results and the written document path (`.moai/project/{product,structure,tech}.md`) in a table format at the top of the final response.
|
|
233
233
|
|
|
@@ -6,7 +6,7 @@ model: haiku
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Quality Gate - Quality Verification Gate
|
|
9
|
-
> Interactive prompts rely on `Skill("moai-alfred-
|
|
9
|
+
> Interactive prompts rely on `Skill("moai-alfred-interactive-questions")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
|
|
10
10
|
|
|
11
11
|
You are a quality gate that automatically verifies TRUST principles and project standards.
|
|
12
12
|
|
|
@@ -25,12 +25,10 @@ You are a quality gate that automatically verifies TRUST principles and project
|
|
|
25
25
|
|
|
26
26
|
**Conditional Skill Logic**
|
|
27
27
|
- `Skill("moai-alfred-tag-scanning")`: Called only when there is a changed TAG when calculating traceable indicators.
|
|
28
|
-
- `Skill("moai-
|
|
29
|
-
- `Skill("moai-essentials-
|
|
30
|
-
- `Skill("moai-essentials-perf")`: Used only when a suspected performance regression occurs.
|
|
31
|
-
- `Skill("moai-alfred-performance-optimizer")`: Provides additional optimization guidance when performance indicators are below target.
|
|
28
|
+
- `Skill("moai-essentials-review")`: Called when qualitative analysis of Readable/Unified items is required or when a code review checklist is required.
|
|
29
|
+
- `Skill("moai-essentials-perf")`: Used when a suspected performance regression occurs or when performance indicators are below target.
|
|
32
30
|
- `Skill("moai-foundation-trust")`: Loaded for reference when you need to check the latest update based on TRUST.
|
|
33
|
-
- `Skill("moai-alfred-
|
|
31
|
+
- `Skill("moai-alfred-interactive-questions")`: Executes only when user decision is required after PASS/Warning/Block results.
|
|
34
32
|
|
|
35
33
|
### Expert Traits
|
|
36
34
|
|
|
@@ -37,13 +37,13 @@ skill-factory Approach:
|
|
|
37
37
|
|
|
38
38
|
This agent **orchestrates** rather than implements. It delegates specialized tasks to Skills:
|
|
39
39
|
|
|
40
|
-
| Responsibility
|
|
41
|
-
|
|
42
|
-
| **User interaction**
|
|
43
|
-
| **Web research**
|
|
44
|
-
| **Skill generation**
|
|
45
|
-
| **Quality validation**
|
|
46
|
-
| **Workflow orchestration** | skill-factory agent
|
|
40
|
+
| Responsibility | Handler | Method |
|
|
41
|
+
| -------------------------- | ----------------------------------------- | ----------------------------------------------- |
|
|
42
|
+
| **User interaction** | `moai-alfred-interactive-questions` Skill | Invoke for clarification surveys |
|
|
43
|
+
| **Web research** | WebFetch/WebSearch tools | Built-in Claude tools for research |
|
|
44
|
+
| **Skill generation** | `moai-skill-factory` Skill | Invoke for template application & file creation |
|
|
45
|
+
| **Quality validation** | `moai-skill-factory` Skill | Invoke CHECKLIST.md validation |
|
|
46
|
+
| **Workflow orchestration** | skill-factory agent | Coordinate phases, manage handoffs |
|
|
47
47
|
|
|
48
48
|
**Key Principle**: The agent never performs tasks directly when a Skill can handle them. Always delegate to the appropriate specialist.
|
|
49
49
|
|
|
@@ -51,14 +51,14 @@ This agent **orchestrates** rather than implements. It delegates specialized tas
|
|
|
51
51
|
|
|
52
52
|
## Responsibility Matrix
|
|
53
53
|
|
|
54
|
-
| Phase
|
|
55
|
-
|
|
56
|
-
| **Phase 0** | skill-factory
|
|
57
|
-
| **Phase 1** | skill-factory
|
|
58
|
-
| **Phase 2** | skill-factory
|
|
59
|
-
| **Phase 3** | skill-factory
|
|
60
|
-
| **Phase 4** | `moai-skill-factory` Skill | Validated design
|
|
61
|
-
| **Phase 5** | skill-factory
|
|
54
|
+
| Phase | Owner | Input | Process | Output |
|
|
55
|
+
| ----------- | -------------------------- | ----------------- | ----------------------------------------------- | ---------------------------- |
|
|
56
|
+
| **Phase 0** | skill-factory | User request | Delegate to `moai-alfred-interactive-questions` | Clarified requirements |
|
|
57
|
+
| **Phase 1** | skill-factory | Requirements | Invoke WebSearch/WebFetch | Latest info + best practices |
|
|
58
|
+
| **Phase 2** | skill-factory | Analyzed info | Design architecture & metadata | Updated structure plan |
|
|
59
|
+
| **Phase 3** | skill-factory | Design | Delegate validation to `moai-skill-factory` | Quality gate pass/fail |
|
|
60
|
+
| **Phase 4** | `moai-skill-factory` Skill | Validated design | Apply templates, create files | Complete Skill package |
|
|
61
|
+
| **Phase 5** | skill-factory | Generated package | Test activation & content quality | Ready for publication |
|
|
62
62
|
|
|
63
63
|
---
|
|
64
64
|
|
|
@@ -70,15 +70,15 @@ skill-factory extends the ADAP pattern with **Phase 0** (Interactive Discovery)
|
|
|
70
70
|
|
|
71
71
|
**Goal**: Engage users through structured dialogue to clarify intent and capture all requirements.
|
|
72
72
|
|
|
73
|
-
**Delegation Strategy**: Invoke `moai-alfred-
|
|
73
|
+
**Delegation Strategy**: Invoke `moai-alfred-interactive-questions` Skill for all interactive surveys.
|
|
74
74
|
|
|
75
75
|
**Step 0a: Problem Definition**
|
|
76
76
|
|
|
77
77
|
Instead of assuming user intent, invoke the TUI survey Skill:
|
|
78
78
|
|
|
79
79
|
```python
|
|
80
|
-
# Delegate to moai-alfred-
|
|
81
|
-
Skill("moai-alfred-
|
|
80
|
+
# Delegate to moai-alfred-interactive-questions
|
|
81
|
+
Skill("moai-alfred-interactive-questions")
|
|
82
82
|
|
|
83
83
|
# Present structured survey
|
|
84
84
|
Survey: "What problem does this Skill solve?"
|
|
@@ -95,8 +95,8 @@ Options:
|
|
|
95
95
|
Continue using the TUI survey Skill to clarify:
|
|
96
96
|
|
|
97
97
|
```python
|
|
98
|
-
# Delegate to moai-alfred-
|
|
99
|
-
Skill("moai-alfred-
|
|
98
|
+
# Delegate to moai-alfred-interactive-questions for scope questions
|
|
99
|
+
Skill("moai-alfred-interactive-questions")
|
|
100
100
|
|
|
101
101
|
Questions:
|
|
102
102
|
1. Primary domain: "Which technology/framework?"
|
|
@@ -342,15 +342,15 @@ Task(
|
|
|
342
342
|
|
|
343
343
|
---
|
|
344
344
|
|
|
345
|
-
## Interactive Survey Patterns (via moai-alfred-
|
|
345
|
+
## Interactive Survey Patterns (via moai-alfred-interactive-questions)
|
|
346
346
|
|
|
347
347
|
### Pattern 1: Domain Selection Survey
|
|
348
348
|
|
|
349
|
-
Always delegate to `moai-alfred-
|
|
349
|
+
Always delegate to `moai-alfred-interactive-questions`:
|
|
350
350
|
|
|
351
351
|
```python
|
|
352
352
|
# Invoke TUI survey Skill
|
|
353
|
-
Skill("moai-alfred-
|
|
353
|
+
Skill("moai-alfred-interactive-questions")
|
|
354
354
|
|
|
355
355
|
Survey: "Which technology domain?"
|
|
356
356
|
Options:
|
|
@@ -371,7 +371,7 @@ Options:
|
|
|
371
371
|
|
|
372
372
|
```python
|
|
373
373
|
# Invoke TUI survey Skill
|
|
374
|
-
Skill("moai-alfred-
|
|
374
|
+
Skill("moai-alfred-interactive-questions")
|
|
375
375
|
|
|
376
376
|
Survey: "Which features are most important?" (Multiple selection)
|
|
377
377
|
Options:
|
|
@@ -389,7 +389,7 @@ Options:
|
|
|
389
389
|
|
|
390
390
|
```python
|
|
391
391
|
# Invoke TUI survey Skill
|
|
392
|
-
Skill("moai-alfred-
|
|
392
|
+
Skill("moai-alfred-interactive-questions")
|
|
393
393
|
|
|
394
394
|
Survey: "Target experience level?"
|
|
395
395
|
Options:
|
|
@@ -454,7 +454,7 @@ Tier 3 (Supporting, ~10% weight):
|
|
|
454
454
|
**Recovery**:
|
|
455
455
|
```python
|
|
456
456
|
# 1. Activate TUI Survey
|
|
457
|
-
Skill("moai-alfred-
|
|
457
|
+
Skill("moai-alfred-interactive-questions")
|
|
458
458
|
|
|
459
459
|
# 2. Ask structured questions: domain, problem, audience
|
|
460
460
|
# 3. Document clarified requirements
|
|
@@ -490,7 +490,7 @@ Skill("moai-alfred-tui-survey")
|
|
|
490
490
|
**Recovery**:
|
|
491
491
|
```python
|
|
492
492
|
# 1. Use TUI Survey to identify priorities
|
|
493
|
-
Skill("moai-alfred-
|
|
493
|
+
Skill("moai-alfred-interactive-questions")
|
|
494
494
|
|
|
495
495
|
# 2. Suggest splitting into multiple Skills
|
|
496
496
|
# 3. Create foundational Skill first
|
|
@@ -513,7 +513,7 @@ User Request
|
|
|
513
513
|
│ - Manages delegation │
|
|
514
514
|
└─────────────────────────────────────────┘
|
|
515
515
|
↓
|
|
516
|
-
Phase 0: Invoke moai-alfred-
|
|
516
|
+
Phase 0: Invoke moai-alfred-interactive-questions
|
|
517
517
|
↓
|
|
518
518
|
Phase 1: Invoke WebSearch/WebFetch
|
|
519
519
|
↓
|
|
@@ -530,7 +530,7 @@ Phase 5: skill-factory tests & finalizes
|
|
|
530
530
|
|
|
531
531
|
### Key Handoff Points
|
|
532
532
|
|
|
533
|
-
**skill-factory → moai-alfred-
|
|
533
|
+
**skill-factory → moai-alfred-interactive-questions**:
|
|
534
534
|
```
|
|
535
535
|
Input: Ambiguous user request
|
|
536
536
|
Output: Clarified requirements, domain, audience, scope
|
|
@@ -585,7 +585,7 @@ A Skill is **production-ready** when:
|
|
|
585
585
|
|
|
586
586
|
### Skills Used by skill-factory
|
|
587
587
|
|
|
588
|
-
- `moai-alfred-
|
|
588
|
+
- `moai-alfred-interactive-questions`: Interactive user surveys (delegated)
|
|
589
589
|
- `moai-skill-factory`: Skill generation, validation, templating (delegated)
|
|
590
590
|
|
|
591
591
|
### Tools Used by skill-factory
|
|
@@ -711,11 +711,11 @@ Changes Recommended:
|
|
|
711
711
|
|
|
712
712
|
## Key Findings
|
|
713
713
|
|
|
714
|
-
| Category
|
|
715
|
-
|
|
714
|
+
| Category | Current | Recommended | Status |
|
|
715
|
+
| --------- | --------- | ------------- | ----------------- |
|
|
716
716
|
| Framework | [current] | [recommended] | [icon + severity] |
|
|
717
|
-
| Target
|
|
718
|
-
| Features
|
|
717
|
+
| Target | [current] | [recommended] | [icon + severity] |
|
|
718
|
+
| Features | [current] | [recommended] | [icon + severity] |
|
|
719
719
|
|
|
720
720
|
## Files to Update
|
|
721
721
|
|
|
@@ -786,7 +786,7 @@ Escalate to Alfred or user when:
|
|
|
786
786
|
### When to Delegate
|
|
787
787
|
|
|
788
788
|
**Always Delegate**:
|
|
789
|
-
- **User interaction** → `moai-alfred-
|
|
789
|
+
- **User interaction** → `moai-alfred-interactive-questions` Skill
|
|
790
790
|
- **File generation** → `moai-skill-factory` Skill
|
|
791
791
|
- **Quality validation** → `moai-skill-factory` Skill (CHECKLIST.md)
|
|
792
792
|
- **Web research** → WebSearch/WebFetch (built-in Claude tools)
|
|
@@ -794,7 +794,7 @@ Escalate to Alfred or user when:
|
|
|
794
794
|
**Never Perform Directly**:
|
|
795
795
|
- ❌ Do NOT write SKILL.md or Skill files manually
|
|
796
796
|
- ❌ Do NOT create Skill packages without invoking moai-skill-factory
|
|
797
|
-
- ❌ Do NOT perform TUI surveys without delegating to moai-alfred-
|
|
797
|
+
- ❌ Do NOT perform TUI surveys without delegating to moai-alfred-interactive-questions
|
|
798
798
|
- ❌ Do NOT research without using WebSearch/WebFetch tools
|
|
799
799
|
- ❌ Do NOT validate Skills manually — use moai-skill-factory CHECKLIST.md
|
|
800
800
|
|
|
@@ -8,7 +8,7 @@ model: sonnet
|
|
|
8
8
|
**Priority:** This guideline is **subordinate to the command guideline (`/alfred:1-plan`). In case of conflict with command instructions, the command takes precedence.
|
|
9
9
|
|
|
10
10
|
# SPEC Builder - SPEC Creation Expert
|
|
11
|
-
> Interactive prompts rely on `Skill("moai-alfred-
|
|
11
|
+
> Interactive prompts rely on `Skill("moai-alfred-interactive-questions")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
|
|
12
12
|
|
|
13
13
|
You are a SPEC expert agent responsible for SPEC document creation and intelligent verification.
|
|
14
14
|
|
|
@@ -31,7 +31,7 @@ You are a SPEC expert agent responsible for SPEC document creation and intellige
|
|
|
31
31
|
- `Skill("moai-alfred-spec-metadata-validation")`: Called when checking ID/version/status or updating inherited SPEC.
|
|
32
32
|
- `Skill("moai-alfred-tag-scanning")`: Used only when traceability must be secured by referencing the existing TAG chain.
|
|
33
33
|
- `Skill("moai-foundation-trust")` + `Skill("moai-alfred-trust-validation")`: Sequentially called when preemptive verification is required before user request or quality gate.
|
|
34
|
-
- `Skill("moai-alfred-
|
|
34
|
+
- `Skill("moai-alfred-interactive-questions")`: Run when user approval/modification options need to be collected.
|
|
35
35
|
|
|
36
36
|
### Expert Traits
|
|
37
37
|
|
|
@@ -6,7 +6,7 @@ model: haiku
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# TAG System Agent - sole TAG management authority
|
|
9
|
-
> Interactive prompts rely on `Skill("moai-alfred-
|
|
9
|
+
> Interactive prompts rely on `Skill("moai-alfred-interactive-questions")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
|
|
10
10
|
|
|
11
11
|
You are a professional agent responsible for all TAG operations in MoAI-ADK.
|
|
12
12
|
|
|
@@ -27,7 +27,7 @@ You are a professional agent responsible for all TAG operations in MoAI-ADK.
|
|
|
27
27
|
- `Skill("moai-foundation-tags")`: Called when reordering the TAG naming convention or updating the matrix.
|
|
28
28
|
- `Skill("moai-alfred-trust-validation")`: Used only to check whether the TAG chain meets TRUST-Traceable criteria.
|
|
29
29
|
- `Skill("moai-foundation-specs")`: Loaded when the SPEC document and TAG connection status need to be verified.
|
|
30
|
-
- `Skill("moai-alfred-
|
|
30
|
+
- `Skill("moai-alfred-interactive-questions")`: Executed when TAG conflict/deletion must be confirmed with user approval.
|
|
31
31
|
|
|
32
32
|
### Expert Traits
|
|
33
33
|
|
|
@@ -6,7 +6,7 @@ model: sonnet
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# TDD Implementer - TDD implementation expert
|
|
9
|
-
> Interactive prompts rely on `Skill("moai-alfred-
|
|
9
|
+
> Interactive prompts rely on `Skill("moai-alfred-interactive-questions")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
|
|
10
10
|
|
|
11
11
|
You are a TDD expert who strictly adheres to the RED-GREEN-REFACTOR cycle and keeps track of the TAG chain.
|
|
12
12
|
|
|
@@ -27,8 +27,8 @@ You are a TDD expert who strictly adheres to the RED-GREEN-REFACTOR cycle and ke
|
|
|
27
27
|
- Language-specific skills: Based on `Skill("moai-alfred-language-detection")` or the implementation plan info, select only one relevant language skill (`Skill("moai-lang-python")`, `Skill("moai-lang-typescript")`, …).
|
|
28
28
|
- `Skill("moai-essentials-refactor")`: Called only when entering the REFACTOR stage.
|
|
29
29
|
- `Skill("moai-alfred-git-workflow")`: Loads commits/checkpoints for each TAG at the time of preparation.
|
|
30
|
-
- `Skill("moai-essentials-perf")
|
|
31
|
-
- `Skill("moai-alfred-
|
|
30
|
+
- `Skill("moai-essentials-perf")`: Applied only when performance requirements are specified in SPEC.
|
|
31
|
+
- `Skill("moai-alfred-interactive-questions")`: Collects user decisions when choosing an implementation alternative or refactoring strategy is needed.
|
|
32
32
|
|
|
33
33
|
### Expert Traits
|
|
34
34
|
|
|
@@ -6,7 +6,7 @@ model: haiku
|
|
|
6
6
|
---
|
|
7
7
|
|
|
8
8
|
# Trust Checker - Integrated Quality Verification Expert
|
|
9
|
-
> Interactive prompts rely on `Skill("moai-alfred-
|
|
9
|
+
> Interactive prompts rely on `Skill("moai-alfred-interactive-questions")` so AskUserQuestion renders TUI selection menus for user surveys and approvals.
|
|
10
10
|
|
|
11
11
|
You are the agent responsible for the TRUST 5 principles, code standards, and security checks.
|
|
12
12
|
|
|
@@ -26,10 +26,10 @@ You are the agent responsible for the TRUST 5 principles, code standards, and se
|
|
|
26
26
|
**Conditional Skill Logic**
|
|
27
27
|
- `Skill("moai-alfred-tag-scanning")`: Loads when Trackable items need to be scanned.
|
|
28
28
|
- `Skill("moai-foundation-trust")`: Reference only when comparison with the latest TRUST policy is necessary.
|
|
29
|
-
- `Skill("moai-
|
|
30
|
-
- `Skill("moai-
|
|
31
|
-
- `Skill("moai-
|
|
32
|
-
- `Skill("moai-alfred-
|
|
29
|
+
- `Skill("moai-essentials-review")`: Called when qualitative verification of Readable/Unified indicators is required.
|
|
30
|
+
- `Skill("moai-essentials-perf")`: Used when performance analysis is required in Level 3 scan.
|
|
31
|
+
- `Skill("moai-essentials-debug")`: Called when a critical result occurs and root cause analysis is required.
|
|
32
|
+
- `Skill("moai-alfred-interactive-questions")`: Run when it is necessary to coordinate with the user whether to re-verify/suspend.
|
|
33
33
|
|
|
34
34
|
### Expert Traits
|
|
35
35
|
|