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,23 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-foundation-git
|
|
3
|
-
description: Git workflow automation (branching, TDD commits, PR management)
|
|
4
|
+
description: Git workflow automation (branching, TDD commits, PR management). Use when standardizing Git practices across the project.
|
|
4
5
|
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Bash
|
|
7
|
-
- Write
|
|
8
|
-
- Edit
|
|
9
|
-
- TodoWrite
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Write
|
|
9
|
+
- Edit
|
|
10
|
+
- TodoWrite
|
|
10
11
|
---
|
|
11
12
|
|
|
12
13
|
# Alfred Git Workflow
|
|
13
14
|
|
|
15
|
+
## Skill Metadata
|
|
16
|
+
| Field | Value |
|
|
17
|
+
| ----- | ----- |
|
|
18
|
+
| Allowed tools | Read (read_file), Write (write_file), Edit (edit_file), Bash (terminal), TodoWrite (todo_write) |
|
|
19
|
+
| Auto-load | SessionStart (foundation bootstrap) |
|
|
20
|
+
| Trigger cues | Branch creation, commit convention, PR readiness, and release gating requests. |
|
|
21
|
+
|
|
14
22
|
## What it does
|
|
15
23
|
|
|
16
24
|
Automates Git operations following MoAI-ADK conventions: branch creation, locale-based TDD commits, Draft PR creation, and PR Ready transition.
|
|
17
25
|
|
|
18
26
|
## When to use
|
|
19
27
|
|
|
20
|
-
-
|
|
28
|
+
- Activates when Git workflow automation is needed for branching, commits, or PR promotion.
|
|
29
|
+
- “Create branch”, “Create PR”, “Create commit”
|
|
21
30
|
- Automatically invoked by `/alfred:1-plan`, `/alfred:2-run`, `/alfred:3-sync`
|
|
22
31
|
- Git workflow automation needed
|
|
23
32
|
|
|
@@ -30,7 +39,7 @@ git checkout -b feature/SPEC-AUTH-001
|
|
|
30
39
|
```
|
|
31
40
|
|
|
32
41
|
**2. Locale-based TDD Commits**:
|
|
33
|
-
- **Korean (ko)**: 🔴 RED: [
|
|
42
|
+
- **Korean (ko)**: 🔴 RED: [Test Description]
|
|
34
43
|
- **English (en)**: 🔴 RED: [Test description]
|
|
35
44
|
- **Japanese (ja)**: 🔴 RED: [テスト説明]
|
|
36
45
|
- **Chinese (zh)**: 🔴 RED: [测试说明]
|
|
@@ -49,15 +58,33 @@ Creates Draft PR with SPEC reference and test checklist.
|
|
|
49
58
|
- Verifies TRUST 5-principles
|
|
50
59
|
|
|
51
60
|
## Examples
|
|
61
|
+
```markdown
|
|
62
|
+
- Scan standard documents and report missing sections.
|
|
63
|
+
- Changed regulations are reflected in CLAUDE.md.
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## Best Practices
|
|
67
|
+
- When changing standards, the reason for change and supporting documents are recorded.
|
|
68
|
+
- Follow the single source principle and avoid modifying the same item in multiple places.
|
|
69
|
+
|
|
70
|
+
## Inputs
|
|
71
|
+
- Project standard documents (e.g. `CLAUDE.md`, `.moai/config.json`).
|
|
72
|
+
- Latest printouts from relevant sub-agents.
|
|
73
|
+
|
|
74
|
+
## Outputs
|
|
75
|
+
- Templates or policy summaries conforming to the MoAI-ADK standard.
|
|
76
|
+
- Reusable rules/checklists.
|
|
77
|
+
|
|
78
|
+
## Failure Modes
|
|
79
|
+
- When required standard files are missing or have limited access rights.
|
|
80
|
+
- When conflicting policies are detected and coordination is required.
|
|
52
81
|
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
Claude: (creates `feature/SPEC-AUTH-001` branch and Draft PR)
|
|
82
|
+
## Dependencies
|
|
83
|
+
- There is great synergy when called together with cc-manager.
|
|
56
84
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
85
|
+
## References
|
|
86
|
+
- Vincent Driessen. "A successful Git branching model." https://nvie.com/posts/a-successful-git-branching-model/ (accessed 2025-03-29).
|
|
87
|
+
- GitHub Docs. "GitHub Flow." https://docs.github.com/en/get-started/using-github/github-flow (accessed 2025-03-29).
|
|
60
88
|
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
Claude: (transitions PR to Ready state with quality report)
|
|
89
|
+
## Changelog
|
|
90
|
+
- 2025-03-29: Foundation skill templates have been enhanced to align with best practice structures.
|
|
@@ -1,24 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-foundation-langs
|
|
3
|
-
description: Auto-detects project language and framework (package.json, pyproject.toml,
|
|
4
|
-
etc)
|
|
4
|
+
description: Auto-detects project language and framework (package.json, pyproject.toml, etc). Use when referencing multi-language conventions.
|
|
5
5
|
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
8
|
-
- Write
|
|
9
|
-
- Edit
|
|
10
|
-
- TodoWrite
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Write
|
|
9
|
+
- Edit
|
|
10
|
+
- TodoWrite
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
# Alfred Language Detection
|
|
14
14
|
|
|
15
|
+
## Skill Metadata
|
|
16
|
+
| Field | Value |
|
|
17
|
+
| ----- | ----- |
|
|
18
|
+
| Allowed tools | Read (read_file), Write (write_file), Edit (edit_file), Bash (terminal), TodoWrite (todo_write) |
|
|
19
|
+
| Auto-load | SessionStart (foundation bootstrap) |
|
|
20
|
+
| Trigger cues | Project language detection, toolchain hints, multi-language repository setup questions. |
|
|
21
|
+
|
|
15
22
|
## What it does
|
|
16
23
|
|
|
17
24
|
Automatically detects project's primary language and framework by scanning configuration files, then recommends appropriate testing tools and linters.
|
|
18
25
|
|
|
19
26
|
## When to use
|
|
20
27
|
|
|
21
|
-
-
|
|
28
|
+
- Activates when the conversation needs to detect project languages or recommend toolchains.
|
|
29
|
+
- "Detect language", "Check project language", "Recommend testing tools"
|
|
22
30
|
- Automatically invoked by `/alfred:0-project`, `/alfred:2-run`
|
|
23
31
|
- Setting up new project
|
|
24
32
|
|
|
@@ -54,11 +62,33 @@ Automatically detects project's primary language and framework by scanning confi
|
|
|
54
62
|
**Supported Languages**: Python, TypeScript, Java, Go, Rust, Ruby, Dart, Swift, Kotlin, PHP, C#, C++, Elixir, Scala, Clojure (20+ languages)
|
|
55
63
|
|
|
56
64
|
## Examples
|
|
65
|
+
```markdown
|
|
66
|
+
- Scan standard documents and report missing sections.
|
|
67
|
+
- Changed regulations are reflected in CLAUDE.md.
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
## Best Practices
|
|
71
|
+
- When changing standards, the reason for change and supporting documents are recorded.
|
|
72
|
+
- Follow the single source principle and avoid modifying the same item in multiple places.
|
|
73
|
+
|
|
74
|
+
## Inputs
|
|
75
|
+
- Project standard documents (e.g. `CLAUDE.md`, `.moai/config.json`).
|
|
76
|
+
- Latest printouts from relevant sub-agents.
|
|
77
|
+
|
|
78
|
+
## Outputs
|
|
79
|
+
- Templates or policy summaries conforming to the MoAI-ADK standard.
|
|
80
|
+
- Reusable rules/checklists.
|
|
81
|
+
|
|
82
|
+
## Failure Modes
|
|
83
|
+
- When required standard files are missing or have limited access rights.
|
|
84
|
+
- When conflicting policies are detected and coordination is required.
|
|
85
|
+
|
|
86
|
+
## Dependencies
|
|
87
|
+
- There is great synergy when called together with cc-manager.
|
|
57
88
|
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
89
|
+
## References
|
|
90
|
+
- JetBrains. "Multi-language project organization." https://www.jetbrains.com/help/idea/project-tool-window.html (accessed 2025-03-29).
|
|
91
|
+
- Stack Overflow. "Multi-language repository patterns." https://stackoverflow.blog/2020/04/20/the-developer's-guide-to-multi-language-repos/ (accessed 2025-03-29).
|
|
61
92
|
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
Claude: (analyzes config files and reports language + framework)
|
|
93
|
+
## Changelog
|
|
94
|
+
- 2025-03-29: Foundation skill templates have been enhanced to align with best practice structures.
|
|
@@ -1,23 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-foundation-specs
|
|
3
|
-
description: Validates SPEC YAML frontmatter (7 required fields) and HISTORY section
|
|
4
|
+
description: Validates SPEC YAML frontmatter (7 required fields) and HISTORY section. Use when enforcing SPEC documentation standards.
|
|
4
5
|
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Bash
|
|
7
|
-
- Write
|
|
8
|
-
- Edit
|
|
9
|
-
- TodoWrite
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Write
|
|
9
|
+
- Edit
|
|
10
|
+
- TodoWrite
|
|
10
11
|
---
|
|
11
12
|
|
|
12
13
|
# Alfred SPEC Metadata Validation
|
|
13
14
|
|
|
15
|
+
## Skill Metadata
|
|
16
|
+
| Field | Value |
|
|
17
|
+
| ----- | ----- |
|
|
18
|
+
| Allowed tools | Read (read_file), Write (write_file), Edit (edit_file), Bash (terminal), TodoWrite (todo_write) |
|
|
19
|
+
| Auto-load | SessionStart (foundation bootstrap) |
|
|
20
|
+
| Trigger cues | SPEC metadata validation, frontmatter completeness, specification readiness checks. |
|
|
21
|
+
|
|
14
22
|
## What it does
|
|
15
23
|
|
|
16
24
|
Validates SPEC document structure including YAML frontmatter (7 required fields) and HISTORY section compliance.
|
|
17
25
|
|
|
18
26
|
## When to use
|
|
19
27
|
|
|
20
|
-
-
|
|
28
|
+
- Activates when verifying SPEC frontmatter or preparing new specification templates.
|
|
29
|
+
- "SPEC verification", "Metadata check", "SPEC structure check"
|
|
21
30
|
- Automatically invoked by `/alfred:1-plan`
|
|
22
31
|
- Before creating SPEC document
|
|
23
32
|
|
|
@@ -47,15 +56,38 @@ rg "^## HISTORY" .moai/specs/SPEC-*/spec.md
|
|
|
47
56
|
```
|
|
48
57
|
|
|
49
58
|
## Examples
|
|
59
|
+
```markdown
|
|
60
|
+
- Scan standard documents and report missing sections.
|
|
61
|
+
- Changed regulations are reflected in CLAUDE.md.
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## Inputs
|
|
65
|
+
- Project standard documents (e.g. `CLAUDE.md`, `.moai/config.json`).
|
|
66
|
+
- Latest printouts from relevant sub-agents.
|
|
67
|
+
|
|
68
|
+
## Outputs
|
|
69
|
+
- Templates or policy summaries conforming to the MoAI-ADK standard.
|
|
70
|
+
- Reusable rules/checklists.
|
|
50
71
|
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
72
|
+
## Failure Modes
|
|
73
|
+
- When required standard files are missing or have limited access rights.
|
|
74
|
+
- When conflicting policies are detected and coordination is required.
|
|
75
|
+
|
|
76
|
+
## Dependencies
|
|
77
|
+
- There is great synergy when called together with cc-manager.
|
|
78
|
+
|
|
79
|
+
## References
|
|
80
|
+
- INCOSE. "Guide for Writing Requirements." INCOSE-TP-2010-006-02 (accessed 2025-03-29).
|
|
81
|
+
- IEEE. "Software Requirements Specification Standard." IEEE 830-1998.
|
|
82
|
+
|
|
83
|
+
## Changelog
|
|
84
|
+
- 2025-03-29: Foundation skill templates have been enhanced to align with best practice structures.
|
|
54
85
|
|
|
55
|
-
### Example 2: Batch validation
|
|
56
|
-
User: "모든 SPEC 메타데이터 검증"
|
|
57
|
-
Claude: (validates all SPEC documents and generates report)
|
|
58
86
|
## Works well with
|
|
59
87
|
|
|
60
88
|
- moai-foundation-ears
|
|
61
89
|
- moai-foundation-tags
|
|
90
|
+
|
|
91
|
+
## Best Practices
|
|
92
|
+
- When changing standards, the reason for change and supporting documents are recorded.
|
|
93
|
+
- Follow the single source principle and avoid modifying the same item in multiple places.
|
|
@@ -1,25 +1,34 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-foundation-tags
|
|
3
|
-
description: Scans @TAG markers directly from code and generates inventory (CODE-FIRST)
|
|
4
|
+
description: Scans @TAG markers directly from code and generates inventory (CODE-FIRST). Use when establishing or auditing TAG conventions.
|
|
4
5
|
allowed-tools:
|
|
5
|
-
- Read
|
|
6
|
-
- Bash
|
|
7
|
-
- Write
|
|
8
|
-
- Edit
|
|
9
|
-
- TodoWrite
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
|
+
- Write
|
|
9
|
+
- Edit
|
|
10
|
+
- TodoWrite
|
|
10
11
|
---
|
|
11
12
|
|
|
12
13
|
# Alfred TAG Scanning
|
|
13
14
|
|
|
15
|
+
## Skill Metadata
|
|
16
|
+
| Field | Value |
|
|
17
|
+
| ----- | ----- |
|
|
18
|
+
| Allowed tools | Read (read_file), Write (write_file), Edit (edit_file), Bash (terminal), TodoWrite (todo_write) |
|
|
19
|
+
| Auto-load | SessionStart (foundation bootstrap) |
|
|
20
|
+
| Trigger cues | TAG scanning, traceability audits, orphan TAG remediation requests. |
|
|
21
|
+
|
|
14
22
|
## What it does
|
|
15
23
|
|
|
16
24
|
Scans all @TAG markers (SPEC/TEST/CODE/DOC) directly from codebase and generates TAG inventory without intermediate caching (CODE-FIRST principle).
|
|
17
25
|
|
|
18
26
|
## When to use
|
|
19
27
|
|
|
20
|
-
-
|
|
28
|
+
- Activates when scanning or auditing TAG chains or locating orphaned tags.
|
|
29
|
+
- "TAG Scan", "TAG List", "TAG Inventory"
|
|
21
30
|
- Automatically invoked by `/alfred:3-sync`
|
|
22
|
-
-
|
|
31
|
+
- “Find orphan TAG”, “Check TAG chain”
|
|
23
32
|
|
|
24
33
|
## How it works
|
|
25
34
|
|
|
@@ -40,15 +49,38 @@ rg '@(SPEC|TEST|CODE|DOC):' -n .moai/specs/ tests/ src/ docs/
|
|
|
40
49
|
- Ensures traceability across all artifacts
|
|
41
50
|
|
|
42
51
|
## Examples
|
|
52
|
+
```markdown
|
|
53
|
+
- Scan standard documents and report missing sections.
|
|
54
|
+
- Changed regulations are reflected in CLAUDE.md.
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
## Inputs
|
|
58
|
+
- Project standard documents (e.g. `CLAUDE.md`, `.moai/config.json`).
|
|
59
|
+
- Latest printouts from relevant sub-agents.
|
|
60
|
+
|
|
61
|
+
## Outputs
|
|
62
|
+
- Templates or policy summaries conforming to the MoAI-ADK standard.
|
|
63
|
+
- Reusable rules/checklists.
|
|
43
64
|
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
65
|
+
## Failure Modes
|
|
66
|
+
- When required standard files are missing or have limited access rights.
|
|
67
|
+
- When conflicting policies are detected and coordination is required.
|
|
68
|
+
|
|
69
|
+
## Dependencies
|
|
70
|
+
- There is great synergy when called together with cc-manager.
|
|
71
|
+
|
|
72
|
+
## References
|
|
73
|
+
- BurntSushi. "ripgrep User Guide." https://github.com/BurntSushi/ripgrep/blob/master/GUIDE.md (accessed 2025-03-29).
|
|
74
|
+
- ReqView. "Requirements Traceability Matrix Guide." https://www.reqview.com/doc/requirements-traceability-matrix/ (accessed 2025-03-29).
|
|
75
|
+
|
|
76
|
+
## Changelog
|
|
77
|
+
- 2025-03-29: Foundation skill templates have been enhanced to align with best practice structures.
|
|
47
78
|
|
|
48
|
-
### Example 2: Find orphaned TAGs
|
|
49
|
-
User: "고아 TAG 찾아줘"
|
|
50
|
-
Claude: (identifies TAGs without complete chain)
|
|
51
79
|
## Works well with
|
|
52
80
|
|
|
53
81
|
- moai-foundation-trust
|
|
54
82
|
- moai-foundation-specs
|
|
83
|
+
|
|
84
|
+
## Best Practices
|
|
85
|
+
- When changing standards, the reason for change and supporting documents are recorded.
|
|
86
|
+
- Follow the single source principle and avoid modifying the same item in multiple places.
|
|
@@ -1,24 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-foundation-trust
|
|
3
|
-
description: Validates TRUST 5-principles (Test 85%+, Readable, Unified, Secured,
|
|
4
|
-
Trackable)
|
|
4
|
+
description: Validates TRUST 5-principles (Test 85%+, Readable, Unified, Secured, Trackable). Use when aligning with TRUST governance.
|
|
5
5
|
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Write
|
|
8
|
-
- Edit
|
|
9
|
-
- Bash
|
|
10
|
-
- TodoWrite
|
|
6
|
+
- Read
|
|
7
|
+
- Write
|
|
8
|
+
- Edit
|
|
9
|
+
- Bash
|
|
10
|
+
- TodoWrite
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
# Foundation: TRUST Validation
|
|
14
14
|
|
|
15
|
+
## Skill Metadata
|
|
16
|
+
| Field | Value |
|
|
17
|
+
| ----- | ----- |
|
|
18
|
+
| Allowed tools | Read (read_file), Write (write_file), Edit (edit_file), Bash (terminal), TodoWrite (todo_write) |
|
|
19
|
+
| Auto-load | SessionStart (foundation bootstrap) |
|
|
20
|
+
| Trigger cues | TRUST compliance checks, release readiness reviews, quality gate enforcement. |
|
|
21
|
+
|
|
15
22
|
## What it does
|
|
16
23
|
|
|
17
24
|
Validates MoAI-ADK's TRUST 5-principles compliance to ensure code quality, testability, security, and traceability.
|
|
18
25
|
|
|
19
26
|
## When to use
|
|
20
27
|
|
|
21
|
-
-
|
|
28
|
+
- Activates when TRUST compliance or release readiness needs to be evaluated.
|
|
29
|
+
- "Check the TRUST principle", "Quality verification", "Check code quality"
|
|
22
30
|
- Automatically invoked by `/alfred:3-sync`
|
|
23
31
|
- Before merging PR or releasing
|
|
24
32
|
|
|
@@ -40,7 +48,39 @@ Validates MoAI-ADK's TRUST 5-principles compliance to ensure code quality, testa
|
|
|
40
48
|
**T - Trackable**:
|
|
41
49
|
- TAG chain integrity (@SPEC → @TEST → @CODE → @DOC)
|
|
42
50
|
|
|
51
|
+
## Inputs
|
|
52
|
+
- Project standard documents (e.g. `CLAUDE.md`, `.moai/config.json`).
|
|
53
|
+
- Latest printouts from relevant sub-agents.
|
|
54
|
+
|
|
55
|
+
## Outputs
|
|
56
|
+
- Templates or policy summaries conforming to the MoAI-ADK standard.
|
|
57
|
+
- Reusable rules/checklists.
|
|
58
|
+
|
|
59
|
+
## Failure Modes
|
|
60
|
+
- When required standard files are missing or have limited access rights.
|
|
61
|
+
- When conflicting policies are detected and coordination is required.
|
|
62
|
+
|
|
63
|
+
## Dependencies
|
|
64
|
+
- There is great synergy when called together with cc-manager.
|
|
65
|
+
|
|
66
|
+
## References
|
|
67
|
+
- SonarSource. "Quality Gate: Developer's Guide." https://www.sonarsource.com/company/newsroom/white-papers/quality-gate/ (accessed 2025-03-29).
|
|
68
|
+
- ISO/IEC 25010. "Systems and software quality models." (accessed 2025-03-29).
|
|
69
|
+
|
|
70
|
+
## Changelog
|
|
71
|
+
- 2025-03-29: Foundation skill templates have been enhanced to align with best practice structures.
|
|
72
|
+
|
|
43
73
|
## Works well with
|
|
44
74
|
|
|
45
75
|
- moai-foundation-tags (TAG traceability)
|
|
46
76
|
- moai-foundation-specs (SPEC validation)
|
|
77
|
+
|
|
78
|
+
## Examples
|
|
79
|
+
```markdown
|
|
80
|
+
- Scan standard documents and report missing sections.
|
|
81
|
+
- Changed regulations are reflected in CLAUDE.md.
|
|
82
|
+
```
|
|
83
|
+
|
|
84
|
+
## Best Practices
|
|
85
|
+
- When changing standards, the reason for change and supporting documents are recorded.
|
|
86
|
+
- Follow the single source principle and avoid modifying the same item in multiple places.
|
|
@@ -1,23 +1,32 @@
|
|
|
1
1
|
---
|
|
2
|
+
|
|
2
3
|
name: moai-lang-c
|
|
3
|
-
description: C best practices with Unity test framework, cppcheck, and Make build
|
|
4
|
-
system
|
|
4
|
+
description: C best practices with Unity test framework, cppcheck, and Make build system. Use when writing or reviewing C code in project workflows.
|
|
5
5
|
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# C 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 | C code discussions, framework guidance, or file extensions such as .c/.h. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
12
20
|
## What it does
|
|
13
21
|
|
|
14
22
|
Provides C-specific expertise for TDD development, including Unity test framework, cppcheck static analysis, and Make build system for system programming.
|
|
15
23
|
|
|
16
24
|
## When to use
|
|
17
25
|
|
|
18
|
-
-
|
|
26
|
+
- Engages when the conversation references C work, frameworks, or files like .c/.h.
|
|
27
|
+
- "Writing C tests", "Unity test framework", "Embedded C"
|
|
19
28
|
- Automatically invoked when working with C projects
|
|
20
|
-
- C SPEC implementation (`/alfred:2-
|
|
29
|
+
- C SPEC implementation (`/alfred:2-run`)
|
|
21
30
|
|
|
22
31
|
## How it works
|
|
23
32
|
|
|
@@ -52,17 +61,40 @@ Provides C-specific expertise for TDD development, including Unity test framewor
|
|
|
52
61
|
- Initialize all variables
|
|
53
62
|
|
|
54
63
|
## Examples
|
|
64
|
+
```bash
|
|
65
|
+
make test && cppcheck 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.
|
|
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
|
+
- ISO. "ISO/IEC 9899:2018 Programming Languages — C." (accessed 2025-03-29).
|
|
87
|
+
- Cppcheck. "Cppcheck Manual." http://cppcheck.sourceforge.net/manual.pdf (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 (C-specific review)
|
|
68
96
|
- alfred-debugger-pro (C debugging)
|
|
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-clojure
|
|
3
|
-
description: Clojure best practices with clojure.test, Leiningen, and immutable data
|
|
4
|
-
structures
|
|
4
|
+
description: Clojure best practices with clojure.test, Leiningen, and immutable data structures. Use when writing or reviewing Clojure code in project workflows.
|
|
5
5
|
allowed-tools:
|
|
6
|
-
- Read
|
|
7
|
-
- Bash
|
|
6
|
+
- Read
|
|
7
|
+
- Bash
|
|
8
8
|
---
|
|
9
9
|
|
|
10
10
|
# Clojure 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 | Clojure code discussions, framework guidance, or file extensions such as .clj/.cljc. |
|
|
18
|
+
| Tier | 3 |
|
|
19
|
+
|
|
12
20
|
## What it does
|
|
13
21
|
|
|
14
22
|
Provides Clojure-specific expertise for TDD development, including clojure.test framework, Leiningen build tool, and immutable data structures with functional programming.
|
|
15
23
|
|
|
16
24
|
## When to use
|
|
17
25
|
|
|
18
|
-
-
|
|
26
|
+
- Engages when the conversation references Clojure work, frameworks, or files like .clj/.cljc.
|
|
27
|
+
- "Writing Clojure tests", "How to use clojure.test", "Immutable data structures"
|
|
19
28
|
- Automatically invoked when working with Clojure projects
|
|
20
|
-
- Clojure SPEC implementation (`/alfred:2-
|
|
29
|
+
- Clojure SPEC implementation (`/alfred:2-run`)
|
|
21
30
|
|
|
22
31
|
## How it works
|
|
23
32
|
|
|
@@ -52,17 +61,40 @@ Provides Clojure-specific expertise for TDD development, including clojure.test
|
|
|
52
61
|
- Avoid mutable state
|
|
53
62
|
|
|
54
63
|
## Examples
|
|
64
|
+
```bash
|
|
65
|
+
lein test && clj-kondo --lint 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.
|
|
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
|
+
- Clojure.org. "Clojure Documentation." https://clojure.org/guides/getting_started (accessed 2025-03-29).
|
|
87
|
+
- clj-kondo. "User Guide." https://github.com/clj-kondo/clj-kondo/blob/master/doc/usage.md (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 (Clojure-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.
|