moai-adk 0.4.0__py3-none-any.whl → 0.4.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of moai-adk might be problematic. Click here for more details.
- moai_adk/__init__.py +1 -8
- moai_adk/cli/commands/init.py +10 -5
- moai_adk/cli/commands/update.py +274 -118
- moai_adk/cli/prompts/init_prompts.py +14 -18
- moai_adk/core/diagnostics/slash_commands.py +1 -1
- moai_adk/core/project/backup_utils.py +1 -0
- moai_adk/core/project/phase_executor.py +3 -1
- moai_adk/core/project/validator.py +3 -2
- moai_adk/core/template/backup.py +11 -3
- moai_adk/core/template/merger.py +16 -3
- moai_adk/core/template/processor.py +22 -3
- moai_adk/templates/.claude/agents/alfred/cc-manager.md +443 -424
- moai_adk/templates/.claude/agents/alfred/debug-helper.md +116 -103
- moai_adk/templates/.claude/agents/alfred/doc-syncer.md +130 -116
- moai_adk/templates/.claude/agents/alfred/git-manager.md +186 -174
- moai_adk/templates/.claude/agents/alfred/implementation-planner.md +227 -213
- moai_adk/templates/.claude/agents/alfred/project-manager.md +205 -125
- moai_adk/templates/.claude/agents/alfred/quality-gate.md +224 -209
- moai_adk/templates/.claude/agents/alfred/spec-builder.md +174 -160
- moai_adk/templates/.claude/agents/alfred/tag-agent.md +151 -139
- moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +209 -196
- moai_adk/templates/.claude/agents/alfred/trust-checker.md +247 -233
- moai_adk/templates/.claude/commands/alfred/0-project.md +673 -640
- moai_adk/templates/.claude/commands/alfred/1-plan.md +342 -333
- moai_adk/templates/.claude/commands/alfred/2-run.md +295 -285
- moai_adk/templates/.claude/commands/alfred/3-sync.md +366 -356
- moai_adk/templates/.claude/hooks/alfred/README.md +52 -52
- moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +44 -48
- moai_adk/templates/.claude/hooks/alfred/core/__init__.py +17 -17
- moai_adk/templates/.claude/hooks/alfred/core/checkpoint.py +59 -59
- moai_adk/templates/.claude/hooks/alfred/core/context.py +19 -19
- moai_adk/templates/.claude/hooks/alfred/core/project.py +52 -52
- moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +1 -1
- moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +4 -4
- moai_adk/templates/.claude/hooks/alfred/handlers/session.py +27 -27
- moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +16 -17
- moai_adk/templates/.claude/hooks/alfred/handlers/user.py +11 -11
- moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +308 -307
- moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +297 -296
- moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +191 -190
- moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/SKILL.md +112 -0
- moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/SKILL.md +103 -0
- moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +103 -0
- moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +95 -0
- moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/SKILL.md +105 -0
- moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/SKILL.md +97 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +97 -0
- moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +90 -0
- moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +99 -0
- moai_adk/templates/.claude/skills/moai-alfred-tui-survey/SKILL.md +87 -0
- moai_adk/templates/.claude/skills/moai-alfred-tui-survey/examples.md +62 -0
- moai_adk/templates/.claude/skills/moai-claude-code/SKILL.md +70 -43
- moai_adk/templates/.claude/skills/moai-claude-code/examples.md +141 -141
- moai_adk/templates/.claude/skills/moai-claude-code/reference.md +179 -165
- moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +78 -78
- moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +90 -90
- moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +39 -25
- moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +117 -74
- moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +131 -134
- moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +43 -11
- moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +43 -12
- moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +47 -11
- moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +47 -11
- moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +51 -14
- moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +46 -10
- moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +62 -25
- moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +44 -17
- moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +44 -14
- moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +45 -13
- moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +46 -14
- moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +48 -8
- moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +44 -11
- moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +44 -12
- moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +44 -12
- moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +44 -43
- moai_adk/templates/.github/workflows/moai-gitflow.yml +36 -35
- moai_adk/templates/.moai/config.json +9 -6
- moai_adk/templates/.moai/memory/development-guide.md +220 -221
- moai_adk/templates/.moai/memory/gitflow-protection-policy.md +85 -85
- moai_adk/templates/.moai/memory/spec-metadata.md +149 -150
- moai_adk/templates/.moai/project/product.md +90 -90
- moai_adk/templates/.moai/project/structure.md +85 -85
- moai_adk/templates/.moai/project/tech.md +117 -117
- moai_adk/templates/CLAUDE.md +350 -722
- moai_adk-0.4.1.dist-info/METADATA +303 -0
- moai_adk-0.4.1.dist-info/RECORD +152 -0
- moai_adk/templates/.claude/commands/alfred/1-spec.md +0 -31
- moai_adk/templates/.claude/commands/alfred/2-build.md +0 -30
- moai_adk/templates/.claude/skills/scripts/standardize_skills.py +0 -166
- moai_adk/templates/.claude/skills/scripts/verify_standardization.sh +0 -43
- moai_adk/templates/.moai/hooks/pre-push.sample +0 -88
- moai_adk-0.4.0.dist-info/METADATA +0 -1816
- moai_adk-0.4.0.dist-info/RECORD +0 -145
- {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/WHEEL +0 -0
- {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/entry_points.txt +0 -0
- {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-lang-cpp
|
|
3
|
-
description: C++ best practices with Google Test, clang-format, and modern C++ (C++17/20)
|
|
4
|
+
description: C++ best practices with Google Test, clang-format, and modern C++ (C++17/20). Use when writing or reviewing C++ code in project workflows.
|
|
4
5
|
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
7
8
|
---
|
|
8
9
|
|
|
9
10
|
# C++ Expert
|
|
10
11
|
|
|
12
|
+
## Skill Metadata
|
|
13
|
+
| Field | Value |
|
|
14
|
+
| ----- | ----- |
|
|
15
|
+
| Allowed tools | Read (read_file), Bash (terminal) |
|
|
16
|
+
| Auto-load | On demand when language keywords are detected |
|
|
17
|
+
| Trigger cues | C++ code discussions, framework guidance, or file extensions such as .cpp/.hpp. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
11
20
|
## What it does
|
|
12
21
|
|
|
13
22
|
Provides C++-specific expertise for TDD development, including Google Test framework, clang-format formatting, and modern C++ (C++17/20) features.
|
|
14
23
|
|
|
15
24
|
## When to use
|
|
16
25
|
|
|
17
|
-
-
|
|
26
|
+
- Engages when the conversation references C++ work, frameworks, or files like .cpp/.hpp.
|
|
27
|
+
- "Writing C++ tests", "How to use Google Test", "Modern C++"
|
|
18
28
|
- Automatically invoked when working with C++ projects
|
|
19
|
-
- C++ SPEC implementation (`/alfred:2-
|
|
29
|
+
- C++ SPEC implementation (`/alfred:2-run`)
|
|
20
30
|
|
|
21
31
|
## How it works
|
|
22
32
|
|
|
@@ -53,17 +63,40 @@ Provides C++-specific expertise for TDD development, including Google Test frame
|
|
|
53
63
|
- Const correctness
|
|
54
64
|
|
|
55
65
|
## Examples
|
|
66
|
+
```bash
|
|
67
|
+
cmake --build build --target test && clang-tidy src/*.cpp
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Inputs
|
|
71
|
+
- Language-specific source directories (e.g. `src/`, `app/`).
|
|
72
|
+
- Language-specific build/test configuration files (e.g. `package.json`, `pyproject.toml`, `go.mod`).
|
|
73
|
+
- Relevant test suites and sample data.
|
|
74
|
+
|
|
75
|
+
## Outputs
|
|
76
|
+
- Test/lint execution plan tailored to the selected language.
|
|
77
|
+
- List of key language idioms and review checkpoints.
|
|
56
78
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
79
|
+
## Failure Modes
|
|
80
|
+
- When the language runtime or package manager is not installed.
|
|
81
|
+
- When the main language cannot be determined in a multilingual project.
|
|
60
82
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
83
|
+
## Dependencies
|
|
84
|
+
- Access to the project file is required using the Read/Grep tool.
|
|
85
|
+
- When used with `Skill("moai-foundation-langs")`, it is easy to share cross-language conventions.
|
|
86
|
+
|
|
87
|
+
## References
|
|
88
|
+
- ISO. "ISO/IEC 14882:2020(E) Programming Language C++." (accessed 2025-03-29).
|
|
89
|
+
- LLVM Project. "clang-tidy Documentation." https://clang.llvm.org/extra/clang-tidy/ (accessed 2025-03-29).
|
|
90
|
+
|
|
91
|
+
## Changelog
|
|
92
|
+
- 2025-03-29: Input/output/failure response/reference information for each language has been specified.
|
|
64
93
|
|
|
65
94
|
## Works well with
|
|
66
95
|
|
|
67
96
|
- alfred-trust-validation (coverage verification)
|
|
68
97
|
- alfred-code-reviewer (C++-specific review)
|
|
69
98
|
- alfred-performance-optimizer (C++ profiling)
|
|
99
|
+
|
|
100
|
+
## Best Practices
|
|
101
|
+
- Enable automatic validation by matching your linter with the language's official style guide.
|
|
102
|
+
- Fix test/build pipelines with reproducible commands in CI.
|
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-lang-csharp
|
|
3
|
-
description: C# best practices with xUnit, .NET tooling, LINQ, and async/await patterns
|
|
4
|
+
description: C# best practices with xUnit, .NET tooling, LINQ, and async/await patterns. Use when writing or reviewing C# code in project workflows.
|
|
4
5
|
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
7
8
|
---
|
|
8
9
|
|
|
9
10
|
# C# Expert
|
|
10
11
|
|
|
12
|
+
## Skill Metadata
|
|
13
|
+
| Field | Value |
|
|
14
|
+
| ----- | ----- |
|
|
15
|
+
| Allowed tools | Read (read_file), Bash (terminal) |
|
|
16
|
+
| Auto-load | On demand when language keywords are detected |
|
|
17
|
+
| Trigger cues | C# code discussions, framework guidance, or file extensions such as .cs. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
11
20
|
## What it does
|
|
12
21
|
|
|
13
22
|
Provides C#-specific expertise for TDD development, including xUnit testing, .NET CLI tooling, LINQ query expressions, and async/await patterns.
|
|
14
23
|
|
|
15
24
|
## When to use
|
|
16
25
|
|
|
17
|
-
-
|
|
26
|
+
- Engages when the conversation references C# work, frameworks, or files like .cs.
|
|
27
|
+
- "Writing C# tests", "How to use xUnit", "LINQ queries"
|
|
18
28
|
- Automatically invoked when working with .NET projects
|
|
19
|
-
- C# SPEC implementation (`/alfred:2-
|
|
29
|
+
- C# SPEC implementation (`/alfred:2-run`)
|
|
20
30
|
|
|
21
31
|
## How it works
|
|
22
32
|
|
|
@@ -51,17 +61,40 @@ Provides C#-specific expertise for TDD development, including xUnit testing, .NE
|
|
|
51
61
|
- Use string interpolation ($"") over concatenation
|
|
52
62
|
|
|
53
63
|
## Examples
|
|
64
|
+
```bash
|
|
65
|
+
dotnet test && dotnet format --verify-no-changes
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Inputs
|
|
69
|
+
- Language-specific source directories (e.g. `src/`, `app/`).
|
|
70
|
+
- Language-specific build/test configuration files (e.g. `package.json`, `pyproject.toml`, `go.mod`).
|
|
71
|
+
- Relevant test suites and sample data.
|
|
72
|
+
|
|
73
|
+
## Outputs
|
|
74
|
+
- Test/lint execution plan tailored to the selected language.
|
|
75
|
+
- List of key language idioms and review checkpoints.
|
|
54
76
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
77
|
+
## Failure Modes
|
|
78
|
+
- When the language runtime or package manager is not installed.
|
|
79
|
+
- When the main language cannot be determined in a multilingual project.
|
|
58
80
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
81
|
+
## Dependencies
|
|
82
|
+
- Access to the project file is required using the Read/Grep tool.
|
|
83
|
+
- When used with `Skill("moai-foundation-langs")`, it is easy to share cross-language conventions.
|
|
84
|
+
|
|
85
|
+
## References
|
|
86
|
+
- Microsoft. "C# Programming Guide." https://learn.microsoft.com/dotnet/csharp/ (accessed 2025-03-29).
|
|
87
|
+
- Microsoft. ".NET Testing with dotnet test." https://learn.microsoft.com/dotnet/core/testing/ (accessed 2025-03-29).
|
|
88
|
+
|
|
89
|
+
## Changelog
|
|
90
|
+
- 2025-03-29: Input/output/failure response/reference information for each language has been specified.
|
|
62
91
|
|
|
63
92
|
## Works well with
|
|
64
93
|
|
|
65
94
|
- alfred-trust-validation (coverage verification)
|
|
66
95
|
- alfred-code-reviewer (C#-specific review)
|
|
67
96
|
- web-api-expert (ASP.NET Core API development)
|
|
97
|
+
|
|
98
|
+
## Best Practices
|
|
99
|
+
- Enable automatic validation by matching your linter with the language's official style guide.
|
|
100
|
+
- Fix test/build pipelines with reproducible commands in CI.
|
|
@@ -1,23 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-lang-dart
|
|
3
|
-
description: Dart best practices with flutter test, dart analyze, and Flutter widget
|
|
4
|
-
patterns
|
|
4
|
+
description: Dart best practices with flutter test, dart analyze, and Flutter widget patterns. Use when writing or reviewing Dart/Flutter code in project workflows.
|
|
5
5
|
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# Dart Expert
|
|
11
11
|
|
|
12
|
+
## Skill Metadata
|
|
13
|
+
| Field | Value |
|
|
14
|
+
| ----- | ----- |
|
|
15
|
+
| Allowed tools | Read (read_file), Bash (terminal) |
|
|
16
|
+
| Auto-load | On demand when language keywords are detected |
|
|
17
|
+
| Trigger cues | Dart code discussions, framework guidance, or file extensions such as .dart. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
12
20
|
## What it does
|
|
13
21
|
|
|
14
22
|
Provides Dart-specific expertise for TDD development, including flutter test framework, dart analyze linting, and Flutter widget patterns for cross-platform app development.
|
|
15
23
|
|
|
16
24
|
## When to use
|
|
17
25
|
|
|
18
|
-
-
|
|
26
|
+
- Engages when the conversation references Dart work, frameworks, or files like .dart.
|
|
27
|
+
- “Writing Dart tests”, “Flutter widget patterns”, “How to use flutter tests”
|
|
19
28
|
- Automatically invoked when working with Dart/Flutter projects
|
|
20
|
-
- Dart SPEC implementation (`/alfred:2-
|
|
29
|
+
- Dart SPEC implementation (`/alfred:2-run`)
|
|
21
30
|
|
|
22
31
|
## How it works
|
|
23
32
|
|
|
@@ -50,17 +59,40 @@ Provides Dart-specific expertise for TDD development, including flutter test fra
|
|
|
50
59
|
- Widget composition over inheritance
|
|
51
60
|
|
|
52
61
|
## Examples
|
|
62
|
+
```bash
|
|
63
|
+
dart test && dart analyze
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Inputs
|
|
67
|
+
- Language-specific source directories (e.g. `src/`, `app/`).
|
|
68
|
+
- Language-specific build/test configuration files (e.g. `package.json`, `pyproject.toml`, `go.mod`).
|
|
69
|
+
- Relevant test suites and sample data.
|
|
70
|
+
|
|
71
|
+
## Outputs
|
|
72
|
+
- Test/lint execution plan tailored to the selected language.
|
|
73
|
+
- List of key language idioms and review checkpoints.
|
|
53
74
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
75
|
+
## Failure Modes
|
|
76
|
+
- When the language runtime or package manager is not installed.
|
|
77
|
+
- When the main language cannot be determined in a multilingual project.
|
|
57
78
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
79
|
+
## Dependencies
|
|
80
|
+
- Access to the project file is required using the Read/Grep tool.
|
|
81
|
+
- When used with `Skill("moai-foundation-langs")`, it is easy to share cross-language conventions.
|
|
82
|
+
|
|
83
|
+
## References
|
|
84
|
+
- Google. "Dart Language Tour." https://dart.dev/guides/language/language-tour (accessed 2025-03-29).
|
|
85
|
+
- Flutter. "Testing." https://docs.flutter.dev/testing (accessed 2025-03-29).
|
|
86
|
+
|
|
87
|
+
## Changelog
|
|
88
|
+
- 2025-03-29: Input/output/failure response/reference information for each language has been specified.
|
|
61
89
|
|
|
62
90
|
## Works well with
|
|
63
91
|
|
|
64
92
|
- alfred-trust-validation (coverage verification)
|
|
65
93
|
- alfred-code-reviewer (Dart-specific review)
|
|
66
94
|
- mobile-app-expert (Flutter app development)
|
|
95
|
+
|
|
96
|
+
## Best Practices
|
|
97
|
+
- Enable automatic validation by matching your linter with the language's official style guide.
|
|
98
|
+
- Fix test/build pipelines with reproducible commands in CI.
|
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-lang-elixir
|
|
3
|
-
description: Elixir best practices with ExUnit, Mix, and OTP patterns
|
|
4
|
+
description: Elixir best practices with ExUnit, Mix, and OTP patterns. Use when writing or reviewing Elixir code in project workflows.
|
|
4
5
|
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
7
8
|
---
|
|
8
9
|
|
|
9
10
|
# Elixir Expert
|
|
10
11
|
|
|
12
|
+
## Skill Metadata
|
|
13
|
+
| Field | Value |
|
|
14
|
+
| ----- | ----- |
|
|
15
|
+
| Allowed tools | Read (read_file), Bash (terminal) |
|
|
16
|
+
| Auto-load | On demand when language keywords are detected |
|
|
17
|
+
| Trigger cues | Elixir code discussions, framework guidance, or file extensions such as .ex/.exs. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
11
20
|
## What it does
|
|
12
21
|
|
|
13
22
|
Provides Elixir-specific expertise for TDD development, including ExUnit testing, Mix build tool, and OTP (Open Telecom Platform) patterns for concurrent systems.
|
|
14
23
|
|
|
15
24
|
## When to use
|
|
16
25
|
|
|
17
|
-
-
|
|
26
|
+
- Engages when the conversation references Elixir work, frameworks, or files like .ex/.exs.
|
|
27
|
+
- "Writing Elixir tests", "How to use ExUnit", "OTP patterns"
|
|
18
28
|
- Automatically invoked when working with Elixir/Phoenix projects
|
|
19
|
-
- Elixir SPEC implementation (`/alfred:2-
|
|
29
|
+
- Elixir SPEC implementation (`/alfred:2-run`)
|
|
20
30
|
|
|
21
31
|
## How it works
|
|
22
32
|
|
|
@@ -50,17 +60,40 @@ Provides Elixir-specific expertise for TDD development, including ExUnit testing
|
|
|
50
60
|
- "Let it crash" philosophy with supervisors
|
|
51
61
|
|
|
52
62
|
## Examples
|
|
63
|
+
```bash
|
|
64
|
+
mix test && mix credo --strict
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Inputs
|
|
68
|
+
- Language-specific source directories (e.g. `src/`, `app/`).
|
|
69
|
+
- Language-specific build/test configuration files (e.g. `package.json`, `pyproject.toml`, `go.mod`).
|
|
70
|
+
- Relevant test suites and sample data.
|
|
71
|
+
|
|
72
|
+
## Outputs
|
|
73
|
+
- Test/lint execution plan tailored to the selected language.
|
|
74
|
+
- List of key language idioms and review checkpoints.
|
|
53
75
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
76
|
+
## Failure Modes
|
|
77
|
+
- When the language runtime or package manager is not installed.
|
|
78
|
+
- When the main language cannot be determined in a multilingual project.
|
|
57
79
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
80
|
+
## Dependencies
|
|
81
|
+
- Access to the project file is required using the Read/Grep tool.
|
|
82
|
+
- When used with `Skill("moai-foundation-langs")`, it is easy to share cross-language conventions.
|
|
83
|
+
|
|
84
|
+
## References
|
|
85
|
+
- Elixir Lang. "Getting Started." https://elixir-lang.org/getting-started/introduction.html (accessed 2025-03-29).
|
|
86
|
+
- Credo. "Credo — The Elixir Linter." https://hexdocs.pm/credo/ (accessed 2025-03-29).
|
|
87
|
+
|
|
88
|
+
## Changelog
|
|
89
|
+
- 2025-03-29: Input/output/failure response/reference information for each language has been specified.
|
|
61
90
|
|
|
62
91
|
## Works well with
|
|
63
92
|
|
|
64
93
|
- alfred-trust-validation (coverage verification)
|
|
65
94
|
- alfred-code-reviewer (Elixir-specific review)
|
|
66
95
|
- web-api-expert (Phoenix API development)
|
|
96
|
+
|
|
97
|
+
## Best Practices
|
|
98
|
+
- Enable automatic validation by matching your linter with the language's official style guide.
|
|
99
|
+
- Fix test/build pipelines with reproducible commands in CI.
|
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-lang-go
|
|
3
|
-
description: Go best practices with go test, golint, gofmt, and standard library utilization
|
|
4
|
+
description: Go best practices with go test, golint, gofmt, and standard library utilization. Use when writing or reviewing Go code in project workflows.
|
|
4
5
|
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
7
8
|
---
|
|
8
9
|
|
|
9
10
|
# Go Expert
|
|
10
11
|
|
|
12
|
+
## Skill Metadata
|
|
13
|
+
| Field | Value |
|
|
14
|
+
| ----- | ----- |
|
|
15
|
+
| Allowed tools | Read (read_file), Bash (terminal) |
|
|
16
|
+
| Auto-load | On demand when language keywords are detected |
|
|
17
|
+
| Trigger cues | Go code discussions, framework guidance, or file extensions such as .go. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
11
20
|
## What it does
|
|
12
21
|
|
|
13
22
|
Provides Go-specific expertise for TDD development, including go test framework, golint/staticcheck, gofmt formatting, and effective standard library usage.
|
|
14
23
|
|
|
15
24
|
## When to use
|
|
16
25
|
|
|
17
|
-
-
|
|
26
|
+
- Engages when the conversation references Go work, frameworks, or files like .go.
|
|
27
|
+
- “Writing Go tests”, “How to use go tests”, “Go standard library”
|
|
18
28
|
- Automatically invoked when working with Go projects
|
|
19
|
-
- Go SPEC implementation (`/alfred:2-
|
|
29
|
+
- Go SPEC implementation (`/alfred:2-run`)
|
|
20
30
|
|
|
21
31
|
## How it works
|
|
22
32
|
|
|
@@ -51,17 +61,40 @@ Provides Go-specific expertise for TDD development, including go test framework,
|
|
|
51
61
|
- Avoid naked returns in large functions
|
|
52
62
|
|
|
53
63
|
## Examples
|
|
64
|
+
```bash
|
|
65
|
+
go test ./... && golangci-lint run
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Inputs
|
|
69
|
+
- Language-specific source directories (e.g. `src/`, `app/`).
|
|
70
|
+
- Language-specific build/test configuration files (e.g. `package.json`, `pyproject.toml`, `go.mod`).
|
|
71
|
+
- Relevant test suites and sample data.
|
|
72
|
+
|
|
73
|
+
## Outputs
|
|
74
|
+
- Test/lint execution plan tailored to the selected language.
|
|
75
|
+
- List of key language idioms and review checkpoints.
|
|
54
76
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
77
|
+
## Failure Modes
|
|
78
|
+
- When the language runtime or package manager is not installed.
|
|
79
|
+
- When the main language cannot be determined in a multilingual project.
|
|
58
80
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
81
|
+
## Dependencies
|
|
82
|
+
- Access to the project file is required using the Read/Grep tool.
|
|
83
|
+
- When used with `Skill("moai-foundation-langs")`, it is easy to share cross-language conventions.
|
|
84
|
+
|
|
85
|
+
## References
|
|
86
|
+
- The Go Authors. "Effective Go." https://go.dev/doc/effective_go (accessed 2025-03-29).
|
|
87
|
+
- GolangCI. "golangci-lint Documentation." https://golangci-lint.run/usage/quick-start/ (accessed 2025-03-29).
|
|
88
|
+
|
|
89
|
+
## Changelog
|
|
90
|
+
- 2025-03-29: Input/output/failure response/reference information for each language has been specified.
|
|
62
91
|
|
|
63
92
|
## Works well with
|
|
64
93
|
|
|
65
94
|
- alfred-trust-validation (coverage verification)
|
|
66
95
|
- alfred-code-reviewer (Go-specific review)
|
|
67
96
|
- alfred-performance-optimizer (Go profiling)
|
|
97
|
+
|
|
98
|
+
## Best Practices
|
|
99
|
+
- Enable automatic validation by matching your linter with the language's official style guide.
|
|
100
|
+
- Fix test/build pipelines with reproducible commands in CI.
|
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-lang-haskell
|
|
3
|
-
description: Haskell best practices with HUnit, Stack/Cabal, and pure functional programming
|
|
4
|
+
description: Haskell best practices with HUnit, Stack/Cabal, and pure functional programming. Use when writing or reviewing Haskell code in project workflows.
|
|
4
5
|
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
7
8
|
---
|
|
8
9
|
|
|
9
10
|
# Haskell Expert
|
|
10
11
|
|
|
12
|
+
## Skill Metadata
|
|
13
|
+
| Field | Value |
|
|
14
|
+
| ----- | ----- |
|
|
15
|
+
| Allowed tools | Read (read_file), Bash (terminal) |
|
|
16
|
+
| Auto-load | On demand when language keywords are detected |
|
|
17
|
+
| Trigger cues | Haskell code discussions, framework guidance, or file extensions such as .hs. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
11
20
|
## What it does
|
|
12
21
|
|
|
13
22
|
Provides Haskell-specific expertise for TDD development, including HUnit testing, Stack/Cabal build tools, and pure functional programming with strong type safety.
|
|
14
23
|
|
|
15
24
|
## When to use
|
|
16
25
|
|
|
17
|
-
-
|
|
26
|
+
- Engages when the conversation references Haskell work, frameworks, or files like .hs.
|
|
27
|
+
- “Writing Haskell tests”, “How to use HUnit”, “Pure functional programming”
|
|
18
28
|
- Automatically invoked when working with Haskell projects
|
|
19
|
-
- Haskell SPEC implementation (`/alfred:2-
|
|
29
|
+
- Haskell SPEC implementation (`/alfred:2-run`)
|
|
20
30
|
|
|
21
31
|
## How it works
|
|
22
32
|
|
|
@@ -51,17 +61,40 @@ Provides Haskell-specific expertise for TDD development, including HUnit testing
|
|
|
51
61
|
- Avoid do-notation overuse
|
|
52
62
|
|
|
53
63
|
## Examples
|
|
64
|
+
```bash
|
|
65
|
+
cabal test && hlint src
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
## Inputs
|
|
69
|
+
- Language-specific source directories (e.g. `src/`, `app/`).
|
|
70
|
+
- Language-specific build/test configuration files (e.g. `package.json`, `pyproject.toml`, `go.mod`).
|
|
71
|
+
- Relevant test suites and sample data.
|
|
72
|
+
|
|
73
|
+
## Outputs
|
|
74
|
+
- Test/lint execution plan tailored to the selected language.
|
|
75
|
+
- List of key language idioms and review checkpoints.
|
|
54
76
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
77
|
+
## Failure Modes
|
|
78
|
+
- When the language runtime or package manager is not installed.
|
|
79
|
+
- When the main language cannot be determined in a multilingual project.
|
|
58
80
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
81
|
+
## Dependencies
|
|
82
|
+
- Access to the project file is required using the Read/Grep tool.
|
|
83
|
+
- When used with `Skill("moai-foundation-langs")`, it is easy to share cross-language conventions.
|
|
84
|
+
|
|
85
|
+
## References
|
|
86
|
+
- Haskell.org. "Haskell Language Documentation." https://www.haskell.org/documentation/ (accessed 2025-03-29).
|
|
87
|
+
- GitHub. "HLint." https://github.com/ndmitchell/hlint (accessed 2025-03-29).
|
|
88
|
+
|
|
89
|
+
## Changelog
|
|
90
|
+
- 2025-03-29: Input/output/failure response/reference information for each language has been specified.
|
|
62
91
|
|
|
63
92
|
## Works well with
|
|
64
93
|
|
|
65
94
|
- alfred-trust-validation (coverage verification)
|
|
66
95
|
- alfred-code-reviewer (Haskell-specific review)
|
|
67
96
|
- alfred-refactoring-coach (functional refactoring)
|
|
97
|
+
|
|
98
|
+
## Best Practices
|
|
99
|
+
- Enable automatic validation by matching your linter with the language's official style guide.
|
|
100
|
+
- Fix test/build pipelines with reproducible commands in CI.
|
|
@@ -1,23 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-lang-java
|
|
3
|
-
description: Java best practices with JUnit, Maven/Gradle, Checkstyle, and Spring
|
|
4
|
-
Boot patterns
|
|
4
|
+
description: Java best practices with JUnit, Maven/Gradle, Checkstyle, and Spring Boot patterns. Use when writing or reviewing Java code in project workflows.
|
|
5
5
|
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# Java Expert
|
|
11
11
|
|
|
12
|
+
## Skill Metadata
|
|
13
|
+
| Field | Value |
|
|
14
|
+
| ----- | ----- |
|
|
15
|
+
| Allowed tools | Read (read_file), Bash (terminal) |
|
|
16
|
+
| Auto-load | On demand when language keywords are detected |
|
|
17
|
+
| Trigger cues | Java code discussions, framework guidance, or file extensions such as .java. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
12
20
|
## What it does
|
|
13
21
|
|
|
14
22
|
Provides Java-specific expertise for TDD development, including JUnit testing, Maven/Gradle build tools, Checkstyle linting, and Spring Boot patterns.
|
|
15
23
|
|
|
16
24
|
## When to use
|
|
17
25
|
|
|
18
|
-
-
|
|
26
|
+
- Engages when the conversation references Java work, frameworks, or files like .java.
|
|
27
|
+
- “Writing Java tests”, “How to use JUnit”, “Spring Boot patterns”
|
|
19
28
|
- Automatically invoked when working with Java projects
|
|
20
|
-
- Java SPEC implementation (`/alfred:2-
|
|
29
|
+
- Java SPEC implementation (`/alfred:2-run`)
|
|
21
30
|
|
|
22
31
|
## How it works
|
|
23
32
|
|
|
@@ -50,17 +59,40 @@ Provides Java-specific expertise for TDD development, including JUnit testing, M
|
|
|
50
59
|
- Exception handling with custom exceptions
|
|
51
60
|
|
|
52
61
|
## Examples
|
|
62
|
+
```bash
|
|
63
|
+
./mvnw test && ./mvnw checkstyle:check
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Inputs
|
|
67
|
+
- Language-specific source directories (e.g. `src/`, `app/`).
|
|
68
|
+
- Language-specific build/test configuration files (e.g. `package.json`, `pyproject.toml`, `go.mod`).
|
|
69
|
+
- Relevant test suites and sample data.
|
|
70
|
+
|
|
71
|
+
## Outputs
|
|
72
|
+
- Test/lint execution plan tailored to the selected language.
|
|
73
|
+
- List of key language idioms and review checkpoints.
|
|
53
74
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
75
|
+
## Failure Modes
|
|
76
|
+
- When the language runtime or package manager is not installed.
|
|
77
|
+
- When the main language cannot be determined in a multilingual project.
|
|
57
78
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
79
|
+
## Dependencies
|
|
80
|
+
- Access to the project file is required using the Read/Grep tool.
|
|
81
|
+
- When used with `Skill("moai-foundation-langs")`, it is easy to share cross-language conventions.
|
|
82
|
+
|
|
83
|
+
## References
|
|
84
|
+
- Oracle. "Java Language Specification." https://docs.oracle.com/javase/specs/ (accessed 2025-03-29).
|
|
85
|
+
- JUnit. "JUnit 5 User Guide." https://junit.org/junit5/docs/current/user-guide/ (accessed 2025-03-29).
|
|
86
|
+
|
|
87
|
+
## Changelog
|
|
88
|
+
- 2025-03-29: Input/output/failure response/reference information for each language has been specified.
|
|
61
89
|
|
|
62
90
|
## Works well with
|
|
63
91
|
|
|
64
92
|
- alfred-trust-validation (coverage verification)
|
|
65
93
|
- alfred-code-reviewer (Java-specific review)
|
|
66
94
|
- database-expert (JPA/Hibernate patterns)
|
|
95
|
+
|
|
96
|
+
## Best Practices
|
|
97
|
+
- Enable automatic validation by matching your linter with the language's official style guide.
|
|
98
|
+
- Fix test/build pipelines with reproducible commands in CI.
|