moai-adk 0.4.0__py3-none-any.whl → 0.4.4__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 +2 -3
- 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 +2 -11
- moai_adk/core/project/checker.py +2 -2
- moai_adk/core/project/phase_executor.py +11 -14
- moai_adk/core/project/validator.py +3 -2
- moai_adk/core/quality/__init__.py +1 -1
- moai_adk/core/quality/trust_checker.py +63 -63
- moai_adk/core/quality/validators/__init__.py +1 -1
- moai_adk/core/quality/validators/base_validator.py +1 -1
- moai_adk/core/template/backup.py +21 -8
- moai_adk/core/template/merger.py +14 -4
- moai_adk/core/template/processor.py +24 -5
- moai_adk/templates/.claude/agents/alfred/cc-manager.md +446 -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 +216 -128
- 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 +756 -640
- moai_adk/templates/.claude/commands/alfred/1-plan.md +343 -333
- moai_adk/templates/.claude/commands/alfred/2-run.md +297 -285
- moai_adk/templates/.claude/commands/alfred/3-sync.md +387 -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 +229 -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 +564 -709
- moai_adk-0.4.4.dist-info/METADATA +369 -0
- moai_adk-0.4.4.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.4.dist-info}/WHEEL +0 -0
- {moai_adk-0.4.0.dist-info → moai_adk-0.4.4.dist-info}/entry_points.txt +0 -0
- {moai_adk-0.4.0.dist-info → moai_adk-0.4.4.dist-info}/licenses/LICENSE +0 -0
|
@@ -1,22 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-lang-ruby
|
|
3
|
-
description: Ruby best practices with RSpec, RuboCop, Bundler, and Rails patterns
|
|
4
|
+
description: Ruby best practices with RSpec, RuboCop, Bundler, and Rails patterns. Use when writing or reviewing Ruby code in project workflows.
|
|
4
5
|
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
7
8
|
---
|
|
8
9
|
|
|
9
10
|
# Ruby 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 | Ruby code discussions, framework guidance, or file extensions such as .rb. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
11
20
|
## What it does
|
|
12
21
|
|
|
13
22
|
Provides Ruby-specific expertise for TDD development, including RSpec BDD testing, RuboCop linting, Bundler package management, and Rails framework patterns.
|
|
14
23
|
|
|
15
24
|
## When to use
|
|
16
25
|
|
|
17
|
-
-
|
|
26
|
+
- Engages when the conversation references Ruby work, frameworks, or files like .rb.
|
|
27
|
+
- “Writing Ruby tests”, “How to use RSpec”, “Rails patterns”
|
|
18
28
|
- Automatically invoked when working with Ruby/Rails projects
|
|
19
|
-
- Ruby SPEC implementation (`/alfred:2-
|
|
29
|
+
- Ruby SPEC implementation (`/alfred:2-run`)
|
|
20
30
|
|
|
21
31
|
## How it works
|
|
22
32
|
|
|
@@ -50,17 +60,40 @@ Provides Ruby-specific expertise for TDD development, including RSpec BDD testin
|
|
|
50
60
|
- Duck typing over explicit type checking
|
|
51
61
|
|
|
52
62
|
## Examples
|
|
63
|
+
```bash
|
|
64
|
+
bundle exec rubocop && bundle exec rspec
|
|
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
|
+
- Ruby Lang. "Ruby Programming Language." https://www.ruby-lang.org/en/documentation/ (accessed 2025-03-29).
|
|
86
|
+
- RuboCop. "RuboCop Documentation." https://docs.rubocop.org/rubocop/ (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 (Ruby-specific review)
|
|
66
95
|
- web-api-expert (Rails 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,23 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-lang-rust
|
|
3
|
-
description: Rust best practices with cargo test, clippy, rustfmt, and ownership/borrow
|
|
4
|
-
checker mastery
|
|
4
|
+
description: Rust best practices with cargo test, clippy, rustfmt, and ownership/borrow checker mastery. Use when writing or reviewing Rust code in project workflows.
|
|
5
5
|
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# Rust 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 | Rust code discussions, framework guidance, or file extensions such as .rs. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
12
20
|
## What it does
|
|
13
21
|
|
|
14
22
|
Provides Rust-specific expertise for TDD development, including cargo test, clippy linting, rustfmt formatting, and ownership/borrow checker compliance.
|
|
15
23
|
|
|
16
24
|
## When to use
|
|
17
25
|
|
|
18
|
-
-
|
|
26
|
+
- Engages when the conversation references Rust work, frameworks, or files like .rs.
|
|
27
|
+
- “Writing Rust tests”, “How to use cargo tests”, “Ownership rules”
|
|
19
28
|
- Automatically invoked when working with Rust projects
|
|
20
|
-
- Rust SPEC implementation (`/alfred:2-
|
|
29
|
+
- Rust SPEC implementation (`/alfred:2-run`)
|
|
21
30
|
|
|
22
31
|
## How it works
|
|
23
32
|
|
|
@@ -52,17 +61,40 @@ Provides Rust-specific expertise for TDD development, including cargo test, clip
|
|
|
52
61
|
- Avoid `unwrap()` in production code, use proper error handling
|
|
53
62
|
|
|
54
63
|
## Examples
|
|
64
|
+
```bash
|
|
65
|
+
cargo test && cargo clippy -- -D warnings
|
|
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.
|
|
55
76
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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.
|
|
59
80
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
+
- Rust Project Developers. "The Rust Programming Language." https://doc.rust-lang.org/book/ (accessed 2025-03-29).
|
|
87
|
+
- Rust Project Developers. "Clippy." https://doc.rust-lang.org/clippy/ (accessed 2025-03-29).
|
|
88
|
+
|
|
89
|
+
## Changelog
|
|
90
|
+
- 2025-03-29: Input/output/failure response/reference information for each language has been specified.
|
|
63
91
|
|
|
64
92
|
## Works well with
|
|
65
93
|
|
|
66
94
|
- alfred-trust-validation (coverage verification)
|
|
67
95
|
- alfred-code-reviewer (Rust-specific review)
|
|
68
96
|
- alfred-performance-optimizer (Rust benchmarking)
|
|
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-scala
|
|
3
|
-
description: Scala best practices with ScalaTest, sbt, and functional programming
|
|
4
|
-
patterns
|
|
4
|
+
description: Scala best practices with ScalaTest, sbt, and functional programming patterns. Use when writing or reviewing Scala code in project workflows.
|
|
5
5
|
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# Scala 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 | Scala code discussions, framework guidance, or file extensions such as .scala. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
12
20
|
## What it does
|
|
13
21
|
|
|
14
22
|
Provides Scala-specific expertise for TDD development, including ScalaTest framework, sbt build tool, and functional programming patterns.
|
|
15
23
|
|
|
16
24
|
## When to use
|
|
17
25
|
|
|
18
|
-
-
|
|
26
|
+
- Engages when the conversation references Scala work, frameworks, or files like .scala.
|
|
27
|
+
- “Writing Scala tests”, “How to use ScalaTest”, “Functional programming”
|
|
19
28
|
- Automatically invoked when working with Scala projects
|
|
20
|
-
- Scala SPEC implementation (`/alfred:2-
|
|
29
|
+
- Scala SPEC implementation (`/alfred:2-run`)
|
|
21
30
|
|
|
22
31
|
## How it works
|
|
23
32
|
|
|
@@ -52,17 +61,40 @@ Provides Scala-specific expertise for TDD development, including ScalaTest frame
|
|
|
52
61
|
- Avoid null, use Option
|
|
53
62
|
|
|
54
63
|
## Examples
|
|
64
|
+
```bash
|
|
65
|
+
sbt test && sbt scalafmtCheck
|
|
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.
|
|
55
76
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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.
|
|
59
80
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
+
- Lightbend. "Scala Documentation." https://docs.scala-lang.org/ (accessed 2025-03-29).
|
|
87
|
+
- Scalameta. "scalafmt." https://scalameta.org/scalafmt/ (accessed 2025-03-29).
|
|
88
|
+
|
|
89
|
+
## Changelog
|
|
90
|
+
- 2025-03-29: Input/output/failure response/reference information for each language has been specified.
|
|
63
91
|
|
|
64
92
|
## Works well with
|
|
65
93
|
|
|
66
94
|
- alfred-trust-validation (coverage verification)
|
|
67
95
|
- alfred-code-reviewer (Scala-specific review)
|
|
68
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,22 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-lang-shell
|
|
3
|
-
description: Shell scripting best practices with bats, shellcheck, and POSIX compliance
|
|
4
|
+
description: Shell scripting best practices with bats, shellcheck, and POSIX compliance. Use when writing or reviewing Shell scripts code in project workflows.
|
|
4
5
|
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
7
8
|
---
|
|
8
9
|
|
|
9
10
|
# Shell 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 | Shell code discussions, framework guidance, or file extensions such as .sh/.bash. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
11
20
|
## What it does
|
|
12
21
|
|
|
13
22
|
Provides shell scripting expertise for TDD development, including bats testing framework, shellcheck linting, and POSIX compliance for portable scripts.
|
|
14
23
|
|
|
15
24
|
## When to use
|
|
16
25
|
|
|
17
|
-
-
|
|
26
|
+
- Engages when the conversation references Shell work, frameworks, or files like .sh/.bash.
|
|
27
|
+
- "Writing shell scripts", "bats testing", "POSIX compatibility"
|
|
18
28
|
- Automatically invoked when working with shell script projects
|
|
19
|
-
- Shell SPEC implementation (`/alfred:2-
|
|
29
|
+
- Shell SPEC implementation (`/alfred:2-run`)
|
|
20
30
|
|
|
21
31
|
## How it works
|
|
22
32
|
|
|
@@ -51,17 +61,40 @@ Provides shell scripting expertise for TDD development, including bats testing f
|
|
|
51
61
|
- Validate input arguments
|
|
52
62
|
|
|
53
63
|
## Examples
|
|
64
|
+
```bash
|
|
65
|
+
bats tests && shellcheck scripts/*.sh
|
|
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
|
+
- GNU. "Bash Reference Manual." https://www.gnu.org/software/bash/manual/bash.html (accessed 2025-03-29).
|
|
87
|
+
- koalaman. "ShellCheck." https://www.shellcheck.net/ (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 (Shell-specific review)
|
|
67
96
|
- devops-expert (Deployment scripts)
|
|
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-sql
|
|
3
|
-
description: SQL best practices with testing frameworks, query optimization, and migration
|
|
4
|
-
management
|
|
4
|
+
description: SQL best practices with testing frameworks, query optimization, and migration management. Use when writing or reviewing SQL code in project workflows.
|
|
5
5
|
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# SQL 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 | SQL code discussions, framework guidance, or file extensions such as .sql. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
12
20
|
## What it does
|
|
13
21
|
|
|
14
22
|
Provides SQL-specific expertise for database development, including SQL testing strategies, query optimization techniques, and migration management best practices.
|
|
15
23
|
|
|
16
24
|
## When to use
|
|
17
25
|
|
|
18
|
-
-
|
|
26
|
+
- Engages when the conversation references SQL work, frameworks, or files like .sql.
|
|
27
|
+
- “Writing SQL tests”, “Query optimization”, “Migration management”
|
|
19
28
|
- Automatically invoked when working with database projects
|
|
20
|
-
- SQL SPEC implementation (`/alfred:2-
|
|
29
|
+
- SQL SPEC implementation (`/alfred:2-run`)
|
|
21
30
|
|
|
22
31
|
## How it works
|
|
23
32
|
|
|
@@ -52,17 +61,40 @@ Provides SQL-specific expertise for database development, including SQL testing
|
|
|
52
61
|
- Use parameterized queries
|
|
53
62
|
|
|
54
63
|
## Examples
|
|
64
|
+
```bash
|
|
65
|
+
sqlfluff lint sql/ && sqlfluff fix sql/
|
|
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.
|
|
55
76
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
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.
|
|
59
80
|
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
+
- PostgreSQL Global Development Group. "PostgreSQL Documentation." https://www.postgresql.org/docs/ (accessed 2025-03-29).
|
|
87
|
+
- SQLFluff. "SQLFluff Documentation." https://docs.sqlfluff.com/en/stable/ (accessed 2025-03-29).
|
|
88
|
+
|
|
89
|
+
## Changelog
|
|
90
|
+
- 2025-03-29: Input/output/failure response/reference information for each language has been specified.
|
|
63
91
|
|
|
64
92
|
## Works well with
|
|
65
93
|
|
|
66
94
|
- alfred-trust-validation (migration validation)
|
|
67
95
|
- alfred-code-reviewer (SQL review)
|
|
68
96
|
- database-expert (database design)
|
|
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-swift
|
|
3
|
-
description: Swift best practices with XCTest, SwiftLint, and iOS/macOS development
|
|
4
|
-
patterns
|
|
4
|
+
description: Swift best practices with XCTest, SwiftLint, and iOS/macOS development patterns. Use when writing or reviewing Swift code in project workflows.
|
|
5
5
|
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# Swift 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 | Swift code discussions, framework guidance, or file extensions such as .swift. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
12
20
|
## What it does
|
|
13
21
|
|
|
14
22
|
Provides Swift-specific expertise for TDD development, including XCTest framework, SwiftLint linting, Swift Package Manager, and iOS/macOS platform patterns.
|
|
15
23
|
|
|
16
24
|
## When to use
|
|
17
25
|
|
|
18
|
-
-
|
|
26
|
+
- Engages when the conversation references Swift work, frameworks, or files like .swift.
|
|
27
|
+
- “Writing Swift tests”, “How to use XCTest”, “iOS patterns”
|
|
19
28
|
- Automatically invoked when working with Swift/iOS projects
|
|
20
|
-
- Swift SPEC implementation (`/alfred:2-
|
|
29
|
+
- Swift SPEC implementation (`/alfred:2-run`)
|
|
21
30
|
|
|
22
31
|
## How it works
|
|
23
32
|
|
|
@@ -51,17 +60,40 @@ Provides Swift-specific expertise for TDD development, including XCTest framewor
|
|
|
51
60
|
- **MVVM/MVC**: Architecture patterns
|
|
52
61
|
|
|
53
62
|
## Examples
|
|
63
|
+
```bash
|
|
64
|
+
swift test && swift-format --lint --recursive Sources
|
|
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.
|
|
54
75
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
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.
|
|
58
79
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
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
|
+
- Apple. "Swift Programming Language Guide." https://docs.swift.org/swift-book/ (accessed 2025-03-29).
|
|
86
|
+
- Apple. "Swift Package Manager." https://developer.apple.com/documentation/swift_packages (accessed 2025-03-29).
|
|
87
|
+
|
|
88
|
+
## Changelog
|
|
89
|
+
- 2025-03-29: Input/output/failure response/reference information for each language has been specified.
|
|
62
90
|
|
|
63
91
|
## Works well with
|
|
64
92
|
|
|
65
93
|
- alfred-trust-validation (coverage verification)
|
|
66
94
|
- alfred-code-reviewer (Swift-specific review)
|
|
67
95
|
- mobile-app-expert (iOS app 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,23 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-lang-typescript
|
|
3
|
-
description: TypeScript best practices with Vitest, Biome, strict typing, and npm/pnpm
|
|
4
|
-
package management
|
|
4
|
+
description: TypeScript best practices with Vitest, Biome, strict typing, and npm/pnpm package management. Use when writing or reviewing TypeScript code in project workflows.
|
|
5
5
|
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# TypeScript 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 | TypeScript code discussions, framework guidance, or file extensions such as .ts/.tsx. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
12
20
|
## What it does
|
|
13
21
|
|
|
14
22
|
Provides TypeScript-specific expertise for TDD development, including Vitest testing, Biome linting/formatting, strict type checking, and modern npm/pnpm package management.
|
|
15
23
|
|
|
16
24
|
## When to use
|
|
17
25
|
|
|
18
|
-
-
|
|
26
|
+
- Engages when the conversation references TypeScript work, frameworks, or files like .ts/.tsx.
|
|
27
|
+
- "Writing TypeScript tests", "How to use Vitest", "Type safety"
|
|
19
28
|
- Automatically invoked when working with TypeScript projects
|
|
20
|
-
- TypeScript SPEC implementation (`/alfred:2-
|
|
29
|
+
- TypeScript SPEC implementation (`/alfred:2-run`)
|
|
21
30
|
|
|
22
31
|
## How it works
|
|
23
32
|
|
|
@@ -48,17 +57,40 @@ Provides TypeScript-specific expertise for TDD development, including Vitest tes
|
|
|
48
57
|
- Avoid `any`, prefer `unknown` or proper types
|
|
49
58
|
|
|
50
59
|
## Examples
|
|
60
|
+
```bash
|
|
61
|
+
npm run lint && npm test
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Inputs
|
|
65
|
+
- Language-specific source directories (e.g. `src/`, `app/`).
|
|
66
|
+
- Language-specific build/test configuration files (e.g. `package.json`, `pyproject.toml`, `go.mod`).
|
|
67
|
+
- Relevant test suites and sample data.
|
|
68
|
+
|
|
69
|
+
## Outputs
|
|
70
|
+
- Test/lint execution plan tailored to the selected language.
|
|
71
|
+
- List of key language idioms and review checkpoints.
|
|
51
72
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
73
|
+
## Failure Modes
|
|
74
|
+
- When the language runtime or package manager is not installed.
|
|
75
|
+
- When the main language cannot be determined in a multilingual project.
|
|
55
76
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
77
|
+
## Dependencies
|
|
78
|
+
- Access to the project file is required using the Read/Grep tool.
|
|
79
|
+
- When used with `Skill("moai-foundation-langs")`, it is easy to share cross-language conventions.
|
|
80
|
+
|
|
81
|
+
## References
|
|
82
|
+
- Microsoft. "TypeScript Handbook." https://www.typescriptlang.org/docs/ (accessed 2025-03-29).
|
|
83
|
+
- OpenJS Foundation. "ESLint User Guide." https://eslint.org/docs/latest/ (accessed 2025-03-29).
|
|
84
|
+
|
|
85
|
+
## Changelog
|
|
86
|
+
- 2025-03-29: Input/output/failure response/reference information for each language has been specified.
|
|
59
87
|
|
|
60
88
|
## Works well with
|
|
61
89
|
|
|
62
90
|
- alfred-trust-validation (coverage verification)
|
|
63
91
|
- alfred-code-reviewer (TypeScript-specific review)
|
|
64
92
|
- alfred-refactoring-coach (type-safe refactoring)
|
|
93
|
+
|
|
94
|
+
## Best Practices
|
|
95
|
+
- Enable automatic validation by matching your linter with the language's official style guide.
|
|
96
|
+
- Fix test/build pipelines with reproducible commands in CI.
|