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.

Files changed (130) hide show
  1. moai_adk/__init__.py +2 -3
  2. moai_adk/cli/commands/init.py +10 -5
  3. moai_adk/cli/commands/update.py +274 -118
  4. moai_adk/cli/prompts/init_prompts.py +14 -18
  5. moai_adk/core/diagnostics/slash_commands.py +1 -1
  6. moai_adk/core/project/backup_utils.py +2 -11
  7. moai_adk/core/project/checker.py +2 -2
  8. moai_adk/core/project/phase_executor.py +11 -14
  9. moai_adk/core/project/validator.py +3 -2
  10. moai_adk/core/quality/__init__.py +1 -1
  11. moai_adk/core/quality/trust_checker.py +63 -63
  12. moai_adk/core/quality/validators/__init__.py +1 -1
  13. moai_adk/core/quality/validators/base_validator.py +1 -1
  14. moai_adk/core/template/backup.py +21 -8
  15. moai_adk/core/template/merger.py +14 -4
  16. moai_adk/core/template/processor.py +24 -5
  17. moai_adk/templates/.claude/agents/alfred/cc-manager.md +446 -424
  18. moai_adk/templates/.claude/agents/alfred/debug-helper.md +116 -103
  19. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +130 -116
  20. moai_adk/templates/.claude/agents/alfred/git-manager.md +186 -174
  21. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +227 -213
  22. moai_adk/templates/.claude/agents/alfred/project-manager.md +216 -128
  23. moai_adk/templates/.claude/agents/alfred/quality-gate.md +224 -209
  24. moai_adk/templates/.claude/agents/alfred/spec-builder.md +174 -160
  25. moai_adk/templates/.claude/agents/alfred/tag-agent.md +151 -139
  26. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +209 -196
  27. moai_adk/templates/.claude/agents/alfred/trust-checker.md +247 -233
  28. moai_adk/templates/.claude/commands/alfred/0-project.md +756 -640
  29. moai_adk/templates/.claude/commands/alfred/1-plan.md +343 -333
  30. moai_adk/templates/.claude/commands/alfred/2-run.md +297 -285
  31. moai_adk/templates/.claude/commands/alfred/3-sync.md +387 -356
  32. moai_adk/templates/.claude/hooks/alfred/README.md +52 -52
  33. moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +44 -48
  34. moai_adk/templates/.claude/hooks/alfred/core/__init__.py +17 -17
  35. moai_adk/templates/.claude/hooks/alfred/core/checkpoint.py +59 -59
  36. moai_adk/templates/.claude/hooks/alfred/core/context.py +19 -19
  37. moai_adk/templates/.claude/hooks/alfred/core/project.py +52 -52
  38. moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +1 -1
  39. moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +4 -4
  40. moai_adk/templates/.claude/hooks/alfred/handlers/session.py +27 -27
  41. moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +16 -17
  42. moai_adk/templates/.claude/hooks/alfred/handlers/user.py +11 -11
  43. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +308 -307
  44. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +297 -296
  45. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +191 -190
  46. moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/SKILL.md +112 -0
  47. moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/SKILL.md +103 -0
  48. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +103 -0
  49. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +95 -0
  50. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +99 -0
  51. moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/SKILL.md +105 -0
  52. moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/SKILL.md +97 -0
  53. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +97 -0
  54. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +90 -0
  55. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +99 -0
  56. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/SKILL.md +87 -0
  57. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/examples.md +62 -0
  58. moai_adk/templates/.claude/skills/moai-claude-code/SKILL.md +70 -43
  59. moai_adk/templates/.claude/skills/moai-claude-code/examples.md +141 -141
  60. moai_adk/templates/.claude/skills/moai-claude-code/reference.md +179 -165
  61. moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +78 -78
  62. moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +90 -90
  63. moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +39 -25
  64. moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +117 -74
  65. moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +131 -134
  66. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +43 -12
  67. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +43 -12
  68. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +43 -12
  69. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +43 -12
  70. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +43 -12
  71. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +43 -12
  72. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +43 -11
  73. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +43 -12
  74. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +43 -12
  75. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +43 -12
  76. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +47 -11
  77. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +47 -11
  78. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +51 -14
  79. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +46 -10
  80. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +62 -25
  81. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +44 -17
  82. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +44 -14
  83. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +45 -13
  84. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +46 -14
  85. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +48 -8
  86. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +44 -12
  87. moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +44 -12
  88. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +44 -11
  89. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +44 -11
  90. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +44 -12
  91. moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +44 -11
  92. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +44 -11
  93. moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +44 -11
  94. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +44 -12
  95. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +44 -12
  96. moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +44 -12
  97. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +44 -12
  98. moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +44 -11
  99. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +44 -11
  100. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +44 -12
  101. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +44 -11
  102. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +44 -11
  103. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +44 -12
  104. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +44 -12
  105. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +44 -11
  106. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +44 -12
  107. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +44 -12
  108. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +44 -12
  109. moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +44 -43
  110. moai_adk/templates/.github/workflows/moai-gitflow.yml +36 -35
  111. moai_adk/templates/.moai/config.json +9 -6
  112. moai_adk/templates/.moai/memory/development-guide.md +220 -221
  113. moai_adk/templates/.moai/memory/gitflow-protection-policy.md +85 -85
  114. moai_adk/templates/.moai/memory/spec-metadata.md +229 -150
  115. moai_adk/templates/.moai/project/product.md +90 -90
  116. moai_adk/templates/.moai/project/structure.md +85 -85
  117. moai_adk/templates/.moai/project/tech.md +117 -117
  118. moai_adk/templates/CLAUDE.md +564 -709
  119. moai_adk-0.4.4.dist-info/METADATA +369 -0
  120. moai_adk-0.4.4.dist-info/RECORD +152 -0
  121. moai_adk/templates/.claude/commands/alfred/1-spec.md +0 -31
  122. moai_adk/templates/.claude/commands/alfred/2-build.md +0 -30
  123. moai_adk/templates/.claude/skills/scripts/standardize_skills.py +0 -166
  124. moai_adk/templates/.claude/skills/scripts/verify_standardization.sh +0 -43
  125. moai_adk/templates/.moai/hooks/pre-push.sample +0 -88
  126. moai_adk-0.4.0.dist-info/METADATA +0 -1816
  127. moai_adk-0.4.0.dist-info/RECORD +0 -145
  128. {moai_adk-0.4.0.dist-info → moai_adk-0.4.4.dist-info}/WHEEL +0 -0
  129. {moai_adk-0.4.0.dist-info → moai_adk-0.4.4.dist-info}/entry_points.txt +0 -0
  130. {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
- - "브랜치 생성", "PR 만들어줘", "커밋 생성"
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
- ### Example 1: Create feature branch
54
- User: "/alfred:1-plan JWT 인증"
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
- ### Example 2: TDD commit
58
- User: "/alfred:2-run AUTH-001"
59
- Claude: (commits with locale-specific format: 🔴 RED, 🟢 GREEN, ♻️ REFACTOR)
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
- ### Example 3: Finalize PR
62
- User: "/alfred:3-sync"
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
- ### Example 1: Auto-detect project language
59
- User: "/alfred:0-project"
60
- Claude: (scans config files, detects Python, recommends pytest + ruff + black)
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
- ### Example 2: Manual detection
63
- User: "이 프로젝트는 무슨 언어?"
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
- - "SPEC 검증", "메타데이터 확인", "SPEC 구조 체크"
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
- ### Example 1: Validate SPEC structure
52
- User: "SPEC-AUTH-001 메타데이터 확인해줘"
53
- Claude: (validates YAML frontmatter and HISTORY section, reports issues)
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
- - "TAG 스캔", "TAG 목록", "TAG 인벤토리"
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
- - "고아 TAG 찾아줘", "TAG 체인 확인"
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
- ### Example 1: Full TAG scan
45
- User: "TAG 전체 스캔해줘"
46
- Claude: (scans all files and generates TAG inventory report)
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
- - "TRUST 원칙 확인", "품질 검증", "코드 품질 체크"
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
- - "C 테스트 작성", "Unity 테스트 프레임워크", "임베디드 C"
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-build`)
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
- ### Example 1: TDD with Unity
57
- User: "/alfred:2-build DRIVER-001"
58
- Claude: (creates RED test with Unity, GREEN implementation, REFACTOR with error handling)
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
- ### Example 2: Memory leak check
61
- User: "Valgrind 메모리 체크"
62
- Claude: (runs valgrind --leak-check=full and reports leaks)
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
- - "Clojure 테스트 작성", "clojure.test 사용법", "불변 데이터 구조"
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-build`)
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
- ### Example 1: TDD with clojure.test
57
- User: "/alfred:2-build TRANSFORM-001"
58
- Claude: (creates RED test with clojure.test, GREEN implementation with threading macros, REFACTOR)
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
- ### Example 2: Property testing
61
- User: "test.check 속성 테스트"
62
- Claude: (creates generative tests with test.check)
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.