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.

Files changed (125) hide show
  1. moai_adk/__init__.py +1 -8
  2. moai_adk/cli/commands/init.py +10 -5
  3. moai_adk/cli/commands/update.py +274 -118
  4. moai_adk/cli/prompts/init_prompts.py +14 -18
  5. moai_adk/core/diagnostics/slash_commands.py +1 -1
  6. moai_adk/core/project/backup_utils.py +1 -0
  7. moai_adk/core/project/phase_executor.py +3 -1
  8. moai_adk/core/project/validator.py +3 -2
  9. moai_adk/core/template/backup.py +11 -3
  10. moai_adk/core/template/merger.py +16 -3
  11. moai_adk/core/template/processor.py +22 -3
  12. moai_adk/templates/.claude/agents/alfred/cc-manager.md +443 -424
  13. moai_adk/templates/.claude/agents/alfred/debug-helper.md +116 -103
  14. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +130 -116
  15. moai_adk/templates/.claude/agents/alfred/git-manager.md +186 -174
  16. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +227 -213
  17. moai_adk/templates/.claude/agents/alfred/project-manager.md +205 -125
  18. moai_adk/templates/.claude/agents/alfred/quality-gate.md +224 -209
  19. moai_adk/templates/.claude/agents/alfred/spec-builder.md +174 -160
  20. moai_adk/templates/.claude/agents/alfred/tag-agent.md +151 -139
  21. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +209 -196
  22. moai_adk/templates/.claude/agents/alfred/trust-checker.md +247 -233
  23. moai_adk/templates/.claude/commands/alfred/0-project.md +673 -640
  24. moai_adk/templates/.claude/commands/alfred/1-plan.md +342 -333
  25. moai_adk/templates/.claude/commands/alfred/2-run.md +295 -285
  26. moai_adk/templates/.claude/commands/alfred/3-sync.md +366 -356
  27. moai_adk/templates/.claude/hooks/alfred/README.md +52 -52
  28. moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +44 -48
  29. moai_adk/templates/.claude/hooks/alfred/core/__init__.py +17 -17
  30. moai_adk/templates/.claude/hooks/alfred/core/checkpoint.py +59 -59
  31. moai_adk/templates/.claude/hooks/alfred/core/context.py +19 -19
  32. moai_adk/templates/.claude/hooks/alfred/core/project.py +52 -52
  33. moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +1 -1
  34. moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +4 -4
  35. moai_adk/templates/.claude/hooks/alfred/handlers/session.py +27 -27
  36. moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +16 -17
  37. moai_adk/templates/.claude/hooks/alfred/handlers/user.py +11 -11
  38. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +308 -307
  39. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +297 -296
  40. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +191 -190
  41. moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/SKILL.md +112 -0
  42. moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/SKILL.md +103 -0
  43. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +103 -0
  44. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +95 -0
  45. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +99 -0
  46. moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/SKILL.md +105 -0
  47. moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/SKILL.md +97 -0
  48. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +97 -0
  49. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +90 -0
  50. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +99 -0
  51. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/SKILL.md +87 -0
  52. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/examples.md +62 -0
  53. moai_adk/templates/.claude/skills/moai-claude-code/SKILL.md +70 -43
  54. moai_adk/templates/.claude/skills/moai-claude-code/examples.md +141 -141
  55. moai_adk/templates/.claude/skills/moai-claude-code/reference.md +179 -165
  56. moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +78 -78
  57. moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +90 -90
  58. moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +39 -25
  59. moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +117 -74
  60. moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +131 -134
  61. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +43 -12
  62. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +43 -12
  63. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +43 -12
  64. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +43 -12
  65. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +43 -12
  66. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +43 -12
  67. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +43 -11
  68. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +43 -12
  69. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +43 -12
  70. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +43 -12
  71. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +47 -11
  72. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +47 -11
  73. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +51 -14
  74. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +46 -10
  75. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +62 -25
  76. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +44 -17
  77. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +44 -14
  78. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +45 -13
  79. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +46 -14
  80. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +48 -8
  81. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +44 -12
  82. moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +44 -12
  83. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +44 -11
  84. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +44 -11
  85. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +44 -12
  86. moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +44 -11
  87. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +44 -11
  88. moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +44 -11
  89. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +44 -12
  90. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +44 -12
  91. moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +44 -12
  92. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +44 -12
  93. moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +44 -11
  94. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +44 -11
  95. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +44 -12
  96. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +44 -11
  97. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +44 -11
  98. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +44 -12
  99. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +44 -12
  100. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +44 -11
  101. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +44 -12
  102. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +44 -12
  103. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +44 -12
  104. moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +44 -43
  105. moai_adk/templates/.github/workflows/moai-gitflow.yml +36 -35
  106. moai_adk/templates/.moai/config.json +9 -6
  107. moai_adk/templates/.moai/memory/development-guide.md +220 -221
  108. moai_adk/templates/.moai/memory/gitflow-protection-policy.md +85 -85
  109. moai_adk/templates/.moai/memory/spec-metadata.md +149 -150
  110. moai_adk/templates/.moai/project/product.md +90 -90
  111. moai_adk/templates/.moai/project/structure.md +85 -85
  112. moai_adk/templates/.moai/project/tech.md +117 -117
  113. moai_adk/templates/CLAUDE.md +350 -722
  114. moai_adk-0.4.1.dist-info/METADATA +303 -0
  115. moai_adk-0.4.1.dist-info/RECORD +152 -0
  116. moai_adk/templates/.claude/commands/alfred/1-spec.md +0 -31
  117. moai_adk/templates/.claude/commands/alfred/2-build.md +0 -30
  118. moai_adk/templates/.claude/skills/scripts/standardize_skills.py +0 -166
  119. moai_adk/templates/.claude/skills/scripts/verify_standardization.sh +0 -43
  120. moai_adk/templates/.moai/hooks/pre-push.sample +0 -88
  121. moai_adk-0.4.0.dist-info/METADATA +0 -1816
  122. moai_adk-0.4.0.dist-info/RECORD +0 -145
  123. {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/WHEEL +0 -0
  124. {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/entry_points.txt +0 -0
  125. {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,23 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-domain-cli-tool
3
- description: CLI tool development with argument parsing, POSIX compliance, and user-friendly
4
- help messages
4
+ description: CLI tool development with argument parsing, POSIX compliance, and user-friendly help messages. Use when working on command-line tooling scenarios.
5
5
  allowed-tools:
6
- - Read
7
- - Bash
6
+ - Read
7
+ - Bash
8
8
  ---
9
9
 
10
10
  # CLI Tool Expert
11
11
 
12
+ ## Skill Metadata
13
+ | Field | Value |
14
+ | ----- | ----- |
15
+ | Allowed tools | Read (read_file), Bash (terminal) |
16
+ | Auto-load | On demand for CLI design requests |
17
+ | Trigger cues | Command-line UX, packaging, distribution, and automation workflows. |
18
+ | Tier | 4 |
19
+
12
20
  ## What it does
13
21
 
14
22
  Provides expertise in developing command-line interface tools with proper argument parsing, POSIX compliance, intuitive help messages, and standard exit codes.
15
23
 
16
24
  ## When to use
17
25
 
18
- - "CLI 도구 개발", "명령줄 파싱", "POSIX 호환성"
26
+ - Engages when building or enhancing command-line tools.
27
+ - “CLI tool development”, “command line parsing”, “POSIX compatibility”
19
28
  - Automatically invoked when working with CLI projects
20
- - CLI tool SPEC implementation (`/alfred:2-build`)
29
+ - CLI tool SPEC implementation (`/alfred:2-run`)
21
30
 
22
31
  ## How it works
23
32
 
@@ -48,17 +57,39 @@ Provides expertise in developing command-line interface tools with proper argume
48
57
  - **Precedence**: CLI args > env vars > config file > defaults
49
58
 
50
59
  ## Examples
60
+ ```bash
61
+ $ tool --help
62
+ $ tool run --config config.yml
63
+ ```
64
+
65
+ ## Inputs
66
+ - Domain-specific design documents and user requirements.
67
+ - Project technology stack and operational constraints.
68
+
69
+ ## Outputs
70
+ - Domain-specific architecture or implementation guidelines.
71
+ - Recommended list of associated sub-agents/skills.
51
72
 
52
- ### Example 1: CLI tool with subcommands
53
- User: "/alfred:2-build CLI-001"
54
- Claude: (creates RED CLI test, GREEN implementation with click, REFACTOR)
73
+ ## Failure Modes
74
+ - When the domain document does not exist or is ambiguous.
75
+ - When the project strategy is unconfirmed and cannot be specified.
55
76
 
56
- ### Example 2: POSIX compliance check
57
- User: "POSIX 호환성 확인"
58
- Claude: (validates exit codes, option formats, stderr usage)
77
+ ## Dependencies
78
+ - `.moai/project/` document and latest technical briefing are required.
79
+
80
+ ## References
81
+ - Microsoft. "Command Line Interface Guidelines." https://learn.microsoft.com/windows/console/ (accessed 2025-03-29).
82
+ - Python Packaging Authority. "Command-line Interface Guidelines." https://packaging.python.org/en/latest/guides/distributing-packages-using-setuptools/#entry-points (accessed 2025-03-29).
83
+
84
+ ## Changelog
85
+ - 2025-03-29: Codified input/output and failure responses for domain skills.
59
86
 
60
87
  ## Works well with
61
88
 
62
89
  - alfred-trust-validation (CLI testing)
63
90
  - shell-expert (shell integration)
64
91
  - python-expert/typescript-expert (implementation)
92
+
93
+ ## Best Practices
94
+ - Record supporting documentation (version/link) for each domain decision.
95
+ - Review performance, security, and operational requirements simultaneously at an early stage.
@@ -1,23 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-domain-data-science
3
- description: Data analysis, visualization, statistical modeling, and reproducible
4
- research workflows
4
+ description: Data analysis, visualization, statistical modeling, and reproducible research workflows. Use when working on data science workflows scenarios.
5
5
  allowed-tools:
6
- - Read
7
- - Bash
6
+ - Read
7
+ - Bash
8
8
  ---
9
9
 
10
10
  # Data Science Expert
11
11
 
12
+ ## Skill Metadata
13
+ | Field | Value |
14
+ | ----- | ----- |
15
+ | Allowed tools | Read (read_file), Bash (terminal) |
16
+ | Auto-load | On demand for analytics and DS work |
17
+ | Trigger cues | Notebook workflows, data pipelines, feature engineering, experimentation plans. |
18
+ | Tier | 4 |
19
+
12
20
  ## What it does
13
21
 
14
22
  Provides expertise in data analysis workflows, statistical modeling, data visualization, and reproducible research practices using Python (pandas, scikit-learn) or R (tidyverse).
15
23
 
16
24
  ## When to use
17
25
 
18
- - "데이터 분석", "시각화", "통계 모델링", "재현 가능한 연구"
26
+ - Engages when analytics, experimentation, or data science implementation is requested.
27
+ - “Data analysis”, “Visualization”, “Statistical modeling”, “Reproducible research”
19
28
  - Automatically invoked when working with data science projects
20
- - Data science SPEC implementation (`/alfred:2-build`)
29
+ - Data science SPEC implementation (`/alfred:2-run`)
21
30
 
22
31
  ## How it works
23
32
 
@@ -51,17 +60,39 @@ Provides expertise in data analysis workflows, statistical modeling, data visual
51
60
  - **Environment management**: conda, renv
52
61
 
53
62
  ## Examples
63
+ ```markdown
64
+ - Orchestrate data prep → training → evaluation steps.
65
+ - Export metrics (precision/recall) to the Quality Report.
66
+ ```
67
+
68
+ ## Inputs
69
+ - Domain-specific design documents and user requirements.
70
+ - Project technology stack and operational constraints.
71
+
72
+ ## Outputs
73
+ - Domain-specific architecture or implementation guidelines.
74
+ - Recommended list of associated sub-agents/skills.
54
75
 
55
- ### Example 1: Exploratory data analysis
56
- User: "/alfred:2-build ANALYSIS-001"
57
- Claude: (creates RED analysis test, GREEN pandas implementation, REFACTOR with visualizations)
76
+ ## Failure Modes
77
+ - When the domain document does not exist or is ambiguous.
78
+ - When the project strategy is unconfirmed and cannot be specified.
58
79
 
59
- ### Example 2: Statistical modeling
60
- User: "회귀 분석 모델 구축"
61
- Claude: (implements linear regression with hypothesis testing)
80
+ ## Dependencies
81
+ - `.moai/project/` document and latest technical briefing are required.
82
+
83
+ ## References
84
+ - Google. "Rules of Machine Learning." https://developers.google.com/machine-learning/guides/rules-of-ml (accessed 2025-03-29).
85
+ - Netflix. "Metaflow: Human-Centric Framework for Data Science." https://metaflow.org/ (accessed 2025-03-29).
86
+
87
+ ## Changelog
88
+ - 2025-03-29: Codified input/output and failure responses for domain skills.
62
89
 
63
90
  ## Works well with
64
91
 
65
92
  - alfred-trust-validation (analysis testing)
66
93
  - python-expert/r-expert (implementation)
67
94
  - ml-expert (advanced modeling)
95
+
96
+ ## Best Practices
97
+ - Record supporting documentation (version/link) for each domain decision.
98
+ - Review performance, security, and operational requirements simultaneously at an early stage.
@@ -1,23 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-domain-database
3
- description: Database design, schema optimization, indexing strategies, and migration
4
- management
4
+ description: Database design, schema optimization, indexing strategies, and migration management. Use when working on database integration tasks scenarios.
5
5
  allowed-tools:
6
- - Read
7
- - Bash
6
+ - Read
7
+ - Bash
8
8
  ---
9
9
 
10
10
  # Database Expert
11
11
 
12
+ ## Skill Metadata
13
+ | Field | Value |
14
+ | ----- | ----- |
15
+ | Allowed tools | Read (read_file), Bash (terminal) |
16
+ | Auto-load | On demand for data layer design |
17
+ | Trigger cues | Schema modeling, migration planning, query optimization, indexing strategy. |
18
+ | Tier | 4 |
19
+
12
20
  ## What it does
13
21
 
14
22
  Provides expertise in database design, schema normalization, indexing strategies, query optimization, and safe migration management for SQL and NoSQL databases.
15
23
 
16
24
  ## When to use
17
25
 
18
- - "데이터베이스 설계", "스키마 최적화", "인덱스 전략", "마이그레이션"
26
+ - Engages when the conversation focuses on database design or tuning.
27
+ - “Database design”, “Schema optimization”, “Index strategy”, “Migration”
19
28
  - Automatically invoked when working with database projects
20
- - Database SPEC implementation (`/alfred:2-build`)
29
+ - Database SPEC implementation (`/alfred:2-run`)
21
30
 
22
31
  ## How it works
23
32
 
@@ -53,17 +62,39 @@ Provides expertise in database design, schema normalization, indexing strategies
53
62
  - **NewSQL**: CockroachDB, Vitess
54
63
 
55
64
  ## Examples
65
+ ```bash
66
+ $ alembic upgrade head
67
+ $ psql -f audits/verify_constraints.sql
68
+ ```
69
+
70
+ ## Inputs
71
+ - Domain-specific design documents and user requirements.
72
+ - Project technology stack and operational constraints.
73
+
74
+ ## Outputs
75
+ - Domain-specific architecture or implementation guidelines.
76
+ - Recommended list of associated sub-agents/skills.
56
77
 
57
- ### Example 1: Schema design with normalization
58
- User: "/alfred:2-build DB-SCHEMA-001"
59
- Claude: (creates RED schema test, GREEN implementation with constraints, REFACTOR with indices)
78
+ ## Failure Modes
79
+ - When the domain document does not exist or is ambiguous.
80
+ - When the project strategy is unconfirmed and cannot be specified.
60
81
 
61
- ### Example 2: Query optimization
62
- User: "쿼리 성능 개선"
63
- Claude: (analyzes EXPLAIN output and suggests index creation)
82
+ ## Dependencies
83
+ - `.moai/project/` document and latest technical briefing are required.
84
+
85
+ ## References
86
+ - Fowler, Martin. "Evolutionary Database Design." https://martinfowler.com/articles/evodb.html (accessed 2025-03-29).
87
+ - AWS. "Database Tuning Best Practices." https://aws.amazon.com/blogs/database/ (accessed 2025-03-29).
88
+
89
+ ## Changelog
90
+ - 2025-03-29: Codified input/output and failure responses for domain skills.
64
91
 
65
92
  ## Works well with
66
93
 
67
94
  - alfred-trust-validation (migration testing)
68
95
  - sql-expert (SQL implementation)
69
96
  - backend-expert (ORM integration)
97
+
98
+ ## Best Practices
99
+ - Record supporting documentation (version/link) for each domain decision.
100
+ - Review performance, security, and operational requirements simultaneously at an early stage.
@@ -1,23 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-domain-devops
3
- description: CI/CD pipelines, Docker containerization, Kubernetes orchestration, and
4
- infrastructure as code
4
+ description: CI/CD pipelines, Docker containerization, Kubernetes orchestration, and infrastructure as code. Use when working on DevOps automation scenarios.
5
5
  allowed-tools:
6
- - Read
7
- - Bash
6
+ - Read
7
+ - Bash
8
8
  ---
9
9
 
10
10
  # DevOps Expert
11
11
 
12
+ ## Skill Metadata
13
+ | Field | Value |
14
+ | ----- | ----- |
15
+ | Allowed tools | Read (read_file), Bash (terminal) |
16
+ | Auto-load | On demand for platform and CI/CD topics |
17
+ | Trigger cues | Infrastructure as code, pipeline design, release automation, observability setup. |
18
+ | Tier | 4 |
19
+
12
20
  ## What it does
13
21
 
14
22
  Provides expertise in continuous integration/deployment (CI/CD), Docker containerization, Kubernetes orchestration, and infrastructure as code (IaC) for automated deployment workflows.
15
23
 
16
24
  ## When to use
17
25
 
18
- - "CI/CD 파이프라인", "Docker 컨테이너화", "Kubernetes 배포", "인프라 코드"
26
+ - Engages when DevOps, CI/CD, or infrastructure automation is required.
27
+ - “CI/CD pipeline”, “Docker containerization”, “Kubernetes deployment”, “infrastructure code”
19
28
  - Automatically invoked when working with DevOps projects
20
- - DevOps SPEC implementation (`/alfred:2-build`)
29
+ - DevOps SPEC implementation (`/alfred:2-run`)
21
30
 
22
31
  ## How it works
23
32
 
@@ -53,17 +62,39 @@ Provides expertise in continuous integration/deployment (CI/CD), Docker containe
53
62
  - **ELK Stack**: Logging (Elasticsearch, Logstash, Kibana)
54
63
 
55
64
  ## Examples
65
+ ```bash
66
+ $ terraform fmt && terraform validate
67
+ $ ansible-playbook deploy.yml --check
68
+ ```
69
+
70
+ ## Inputs
71
+ - Domain-specific design documents and user requirements.
72
+ - Project technology stack and operational constraints.
73
+
74
+ ## Outputs
75
+ - Domain-specific architecture or implementation guidelines.
76
+ - Recommended list of associated sub-agents/skills.
56
77
 
57
- ### Example 1: GitHub Actions CI/CD
58
- User: "/alfred:2-build CICD-001"
59
- Claude: (creates RED workflow test, GREEN GitHub Actions workflow, REFACTOR)
78
+ ## Failure Modes
79
+ - When the domain document does not exist or is ambiguous.
80
+ - When the project strategy is unconfirmed and cannot be specified.
60
81
 
61
- ### Example 2: Kubernetes deployment
62
- User: "Kubernetes 배포 설정"
63
- Claude: (creates deployment.yaml, service.yaml, ingress.yaml)
82
+ ## Dependencies
83
+ - `.moai/project/` document and latest technical briefing are required.
84
+
85
+ ## References
86
+ - Google SRE. "Site Reliability Engineering." https://sre.google/books/ (accessed 2025-03-29).
87
+ - HashiCorp. "Terraform Best Practices." https://developer.hashicorp.com/terraform/intro (accessed 2025-03-29).
88
+
89
+ ## Changelog
90
+ - 2025-03-29: Codified input/output and failure responses for domain skills.
64
91
 
65
92
  ## Works well with
66
93
 
67
94
  - alfred-trust-validation (deployment validation)
68
95
  - shell-expert (shell scripting for automation)
69
96
  - security-expert (secure deployments)
97
+
98
+ ## Best Practices
99
+ - Record supporting documentation (version/link) for each domain decision.
100
+ - Review performance, security, and operational requirements simultaneously at an early stage.
@@ -1,23 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-domain-frontend
3
- description: React/Vue/Angular development with state management, performance optimization,
4
- and accessibility
4
+ description: React/Vue/Angular development with state management, performance optimization, and accessibility. Use when working on frontend interfaces scenarios.
5
5
  allowed-tools:
6
- - Read
7
- - Bash
6
+ - Read
7
+ - Bash
8
8
  ---
9
9
 
10
10
  # Frontend Expert
11
11
 
12
+ ## Skill Metadata
13
+ | Field | Value |
14
+ | ----- | ----- |
15
+ | Allowed tools | Read (read_file), Bash (terminal) |
16
+ | Auto-load | On demand for frontend delivery |
17
+ | Trigger cues | Component architecture, design systems, accessibility, performance budgets. |
18
+ | Tier | 4 |
19
+
12
20
  ## What it does
13
21
 
14
22
  Provides expertise in modern frontend development using React, Vue, or Angular, including state management patterns, performance optimization techniques, and accessibility (a11y) best practices.
15
23
 
16
24
  ## When to use
17
25
 
18
- - "프론트엔드 개발", "React 컴포넌트", "상태 관리", "성능 최적화"
26
+ - Engages when building or reviewing UI/front-end experiences.
27
+ - “Front-end development”, “React components”, “state management”, “performance optimization”
19
28
  - Automatically invoked when working with frontend projects
20
- - Frontend SPEC implementation (`/alfred:2-build`)
29
+ - Frontend SPEC implementation (`/alfred:2-run`)
21
30
 
22
31
  ## How it works
23
32
 
@@ -52,17 +61,39 @@ Provides expertise in modern frontend development using React, Vue, or Angular,
52
61
  - **Screen reader support**: Alt text, aria-live
53
62
 
54
63
  ## Examples
64
+ ```bash
65
+ $ npm run lint && npm run test
66
+ $ npm run build -- --profiling
67
+ ```
68
+
69
+ ## Inputs
70
+ - Domain-specific design documents and user requirements.
71
+ - Project technology stack and operational constraints.
72
+
73
+ ## Outputs
74
+ - Domain-specific architecture or implementation guidelines.
75
+ - Recommended list of associated sub-agents/skills.
55
76
 
56
- ### Example 1: React component with performance optimization
57
- User: "/alfred:2-build UI-001"
58
- Claude: (creates RED component test, GREEN implementation with React.memo, REFACTOR)
77
+ ## Failure Modes
78
+ - When the domain document does not exist or is ambiguous.
79
+ - When the project strategy is unconfirmed and cannot be specified.
59
80
 
60
- ### Example 2: Accessibility audit
61
- User: "접근성 검사"
62
- Claude: (runs axe-core or Lighthouse and reports issues)
81
+ ## Dependencies
82
+ - `.moai/project/` document and latest technical briefing are required.
83
+
84
+ ## References
85
+ - Google. "Web.dev Performance Guidelines." https://web.dev/fast/ (accessed 2025-03-29).
86
+ - W3C. "Web Content Accessibility Guidelines (WCAG) 2.2." https://www.w3.org/TR/WCAG22/ (accessed 2025-03-29).
87
+
88
+ ## Changelog
89
+ - 2025-03-29: Codified input/output and failure responses for domain skills.
63
90
 
64
91
  ## Works well with
65
92
 
66
93
  - alfred-trust-validation (frontend testing)
67
94
  - typescript-expert (type-safe React/Vue)
68
95
  - alfred-performance-optimizer (performance profiling)
96
+
97
+ ## Best Practices
98
+ - Record supporting documentation (version/link) for each domain decision.
99
+ - Review performance, security, and operational requirements simultaneously at an early stage.
@@ -1,22 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-domain-ml
3
- description: Machine learning model training, evaluation, deployment, and MLOps workflows
4
+ description: Machine learning model training, evaluation, deployment, and MLOps workflows. Use when working on machine learning pipelines scenarios.
4
5
  allowed-tools:
5
- - Read
6
- - Bash
6
+ - Read
7
+ - Bash
7
8
  ---
8
9
 
9
10
  # ML Expert
10
11
 
12
+ ## Skill Metadata
13
+ | Field | Value |
14
+ | ----- | ----- |
15
+ | Allowed tools | Read (read_file), Bash (terminal) |
16
+ | Auto-load | On demand for ML lifecycle |
17
+ | Trigger cues | Model training, evaluation, deployment, MLOps guardrails. |
18
+ | Tier | 4 |
19
+
11
20
  ## What it does
12
21
 
13
22
  Provides expertise in machine learning model development, training, evaluation, hyperparameter tuning, deployment, and MLOps workflows for production ML systems.
14
23
 
15
24
  ## When to use
16
25
 
17
- - "머신러닝 모델 개발", "모델 학습", "모델 배포", "MLOps"
26
+ - Engages when machine learning workflows or model operations are discussed.
27
+ - “Machine learning model development”, “model training”, “model deployment”, “MLOps”
18
28
  - Automatically invoked when working with ML projects
19
- - ML SPEC implementation (`/alfred:2-build`)
29
+ - ML SPEC implementation (`/alfred:2-run`)
20
30
 
21
31
  ## How it works
22
32
 
@@ -51,17 +61,39 @@ Provides expertise in machine learning model development, training, evaluation,
51
61
  - **Monitoring**: Data drift detection, model performance
52
62
 
53
63
  ## Examples
64
+ ```markdown
65
+ - Trigger model training pipeline (e.g., `dvc repro`).
66
+ - Register artifact path in Completion Report.
67
+ ```
68
+
69
+ ## Inputs
70
+ - Domain-specific design documents and user requirements.
71
+ - Project technology stack and operational constraints.
72
+
73
+ ## Outputs
74
+ - Domain-specific architecture or implementation guidelines.
75
+ - Recommended list of associated sub-agents/skills.
54
76
 
55
- ### Example 1: Model training with scikit-learn
56
- User: "/alfred:2-build ML-001"
57
- Claude: (creates RED model test, GREEN training pipeline, REFACTOR with cross-validation)
77
+ ## Failure Modes
78
+ - When the domain document does not exist or is ambiguous.
79
+ - When the project strategy is unconfirmed and cannot be specified.
58
80
 
59
- ### Example 2: Model deployment
60
- User: "모델 API 배포"
61
- Claude: (creates FastAPI endpoint with model serving)
81
+ ## Dependencies
82
+ - `.moai/project/` document and latest technical briefing are required.
83
+
84
+ ## References
85
+ - Google Cloud. "MLOps Continuous Delivery." https://cloud.google.com/architecture/mlops-continuous-delivery-and-automation-pipelines (accessed 2025-03-29).
86
+ - NVIDIA. "MLOps Best Practices." https://developer.nvidia.com/blog/category/ai/ (accessed 2025-03-29).
87
+
88
+ ## Changelog
89
+ - 2025-03-29: Codified input/output and failure responses for domain skills.
62
90
 
63
91
  ## Works well with
64
92
 
65
93
  - alfred-trust-validation (model testing)
66
94
  - python-expert (ML implementation)
67
95
  - data-science-expert (data preparation)
96
+
97
+ ## Best Practices
98
+ - Record supporting documentation (version/link) for each domain decision.
99
+ - Review performance, security, and operational requirements simultaneously at an early stage.
@@ -1,23 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-domain-mobile-app
3
- description: Mobile app development with Flutter and React Native, state management,
4
- and native integration
4
+ description: Mobile app development with Flutter and React Native, state management, and native integration. Use when working on mobile application flows scenarios.
5
5
  allowed-tools:
6
- - Read
7
- - Bash
6
+ - Read
7
+ - Bash
8
8
  ---
9
9
 
10
10
  # Mobile App Expert
11
11
 
12
+ ## Skill Metadata
13
+ | Field | Value |
14
+ | ----- | ----- |
15
+ | Allowed tools | Read (read_file), Bash (terminal) |
16
+ | Auto-load | On demand for mobile flows |
17
+ | Trigger cues | iOS/Android releases, cross-platform tooling, app store compliance, mobile UX. |
18
+ | Tier | 4 |
19
+
12
20
  ## What it does
13
21
 
14
22
  Provides expertise in cross-platform mobile app development using Flutter (Dart) and React Native (TypeScript), including state management patterns and native module integration.
15
23
 
16
24
  ## When to use
17
25
 
18
- - "모바일 개발", "Flutter 위젯", "React Native 컴포넌트", "상태 관리"
26
+ - Engages when mobile application development or release pipelines are in scope.
27
+ - “Mobile app development”, “Flutter widgets”, “React Native components”, “state management”
19
28
  - Automatically invoked when working with mobile app projects
20
- - Mobile app SPEC implementation (`/alfred:2-build`)
29
+ - Mobile app SPEC implementation (`/alfred:2-run`)
21
30
 
22
31
  ## How it works
23
32
 
@@ -46,17 +55,39 @@ Provides expertise in cross-platform mobile app development using Flutter (Dart)
46
55
  - **Push notifications**: FCM, APNs
47
56
 
48
57
  ## Examples
58
+ ```markdown
59
+ - Generate platform-specific builds (`flutter build`, `xcodebuild`).
60
+ - Capture store submission checklist as Todo items.
61
+ ```
62
+
63
+ ## Inputs
64
+ - Domain-specific design documents and user requirements.
65
+ - Project technology stack and operational constraints.
66
+
67
+ ## Outputs
68
+ - Domain-specific architecture or implementation guidelines.
69
+ - Recommended list of associated sub-agents/skills.
49
70
 
50
- ### Example 1: Flutter app with BLoC
51
- User: "/alfred:2-build MOBILE-001"
52
- Claude: (creates RED widget test, GREEN implementation with BLoC, REFACTOR)
71
+ ## Failure Modes
72
+ - When the domain document does not exist or is ambiguous.
73
+ - When the project strategy is unconfirmed and cannot be specified.
53
74
 
54
- ### Example 2: React Native state management
55
- User: "React Native Redux 설정"
56
- Claude: (sets up Redux with TypeScript and async actions)
75
+ ## Dependencies
76
+ - `.moai/project/` document and latest technical briefing are required.
77
+
78
+ ## References
79
+ - Apple. "Human Interface Guidelines." https://developer.apple.com/design/human-interface-guidelines/ (accessed 2025-03-29).
80
+ - Google. "Material Design." https://m3.material.io/ (accessed 2025-03-29).
81
+
82
+ ## Changelog
83
+ - 2025-03-29: Codified input/output and failure responses for domain skills.
57
84
 
58
85
  ## Works well with
59
86
 
60
87
  - alfred-trust-validation (mobile testing)
61
88
  - dart-expert (Flutter development)
62
89
  - typescript-expert (React Native development)
90
+
91
+ ## Best Practices
92
+ - Record supporting documentation (version/link) for each domain decision.
93
+ - Review performance, security, and operational requirements simultaneously at an early stage.