moai-adk 0.4.0__py3-none-any.whl → 0.4.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of moai-adk might be problematic. Click here for more details.

Files changed (125) hide show
  1. moai_adk/__init__.py +1 -8
  2. moai_adk/cli/commands/init.py +10 -5
  3. moai_adk/cli/commands/update.py +274 -118
  4. moai_adk/cli/prompts/init_prompts.py +14 -18
  5. moai_adk/core/diagnostics/slash_commands.py +1 -1
  6. moai_adk/core/project/backup_utils.py +1 -0
  7. moai_adk/core/project/phase_executor.py +3 -1
  8. moai_adk/core/project/validator.py +3 -2
  9. moai_adk/core/template/backup.py +11 -3
  10. moai_adk/core/template/merger.py +16 -3
  11. moai_adk/core/template/processor.py +22 -3
  12. moai_adk/templates/.claude/agents/alfred/cc-manager.md +443 -424
  13. moai_adk/templates/.claude/agents/alfred/debug-helper.md +116 -103
  14. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +130 -116
  15. moai_adk/templates/.claude/agents/alfred/git-manager.md +186 -174
  16. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +227 -213
  17. moai_adk/templates/.claude/agents/alfred/project-manager.md +205 -125
  18. moai_adk/templates/.claude/agents/alfred/quality-gate.md +224 -209
  19. moai_adk/templates/.claude/agents/alfred/spec-builder.md +174 -160
  20. moai_adk/templates/.claude/agents/alfred/tag-agent.md +151 -139
  21. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +209 -196
  22. moai_adk/templates/.claude/agents/alfred/trust-checker.md +247 -233
  23. moai_adk/templates/.claude/commands/alfred/0-project.md +673 -640
  24. moai_adk/templates/.claude/commands/alfred/1-plan.md +342 -333
  25. moai_adk/templates/.claude/commands/alfred/2-run.md +295 -285
  26. moai_adk/templates/.claude/commands/alfred/3-sync.md +366 -356
  27. moai_adk/templates/.claude/hooks/alfred/README.md +52 -52
  28. moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +44 -48
  29. moai_adk/templates/.claude/hooks/alfred/core/__init__.py +17 -17
  30. moai_adk/templates/.claude/hooks/alfred/core/checkpoint.py +59 -59
  31. moai_adk/templates/.claude/hooks/alfred/core/context.py +19 -19
  32. moai_adk/templates/.claude/hooks/alfred/core/project.py +52 -52
  33. moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +1 -1
  34. moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +4 -4
  35. moai_adk/templates/.claude/hooks/alfred/handlers/session.py +27 -27
  36. moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +16 -17
  37. moai_adk/templates/.claude/hooks/alfred/handlers/user.py +11 -11
  38. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +308 -307
  39. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +297 -296
  40. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +191 -190
  41. moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/SKILL.md +112 -0
  42. moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/SKILL.md +103 -0
  43. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +103 -0
  44. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +95 -0
  45. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +99 -0
  46. moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/SKILL.md +105 -0
  47. moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/SKILL.md +97 -0
  48. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +97 -0
  49. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +90 -0
  50. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +99 -0
  51. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/SKILL.md +87 -0
  52. moai_adk/templates/.claude/skills/moai-alfred-tui-survey/examples.md +62 -0
  53. moai_adk/templates/.claude/skills/moai-claude-code/SKILL.md +70 -43
  54. moai_adk/templates/.claude/skills/moai-claude-code/examples.md +141 -141
  55. moai_adk/templates/.claude/skills/moai-claude-code/reference.md +179 -165
  56. moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +78 -78
  57. moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +90 -90
  58. moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +39 -25
  59. moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +117 -74
  60. moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +131 -134
  61. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +43 -12
  62. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +43 -12
  63. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +43 -12
  64. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +43 -12
  65. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +43 -12
  66. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +43 -12
  67. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +43 -11
  68. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +43 -12
  69. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +43 -12
  70. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +43 -12
  71. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +47 -11
  72. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +47 -11
  73. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +51 -14
  74. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +46 -10
  75. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +62 -25
  76. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +44 -17
  77. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +44 -14
  78. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +45 -13
  79. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +46 -14
  80. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +48 -8
  81. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +44 -12
  82. moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +44 -12
  83. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +44 -11
  84. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +44 -11
  85. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +44 -12
  86. moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +44 -11
  87. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +44 -11
  88. moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +44 -11
  89. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +44 -12
  90. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +44 -12
  91. moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +44 -12
  92. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +44 -12
  93. moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +44 -11
  94. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +44 -11
  95. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +44 -12
  96. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +44 -11
  97. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +44 -11
  98. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +44 -12
  99. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +44 -12
  100. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +44 -11
  101. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +44 -12
  102. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +44 -12
  103. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +44 -12
  104. moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +44 -43
  105. moai_adk/templates/.github/workflows/moai-gitflow.yml +36 -35
  106. moai_adk/templates/.moai/config.json +9 -6
  107. moai_adk/templates/.moai/memory/development-guide.md +220 -221
  108. moai_adk/templates/.moai/memory/gitflow-protection-policy.md +85 -85
  109. moai_adk/templates/.moai/memory/spec-metadata.md +149 -150
  110. moai_adk/templates/.moai/project/product.md +90 -90
  111. moai_adk/templates/.moai/project/structure.md +85 -85
  112. moai_adk/templates/.moai/project/tech.md +117 -117
  113. moai_adk/templates/CLAUDE.md +350 -722
  114. moai_adk-0.4.1.dist-info/METADATA +303 -0
  115. moai_adk-0.4.1.dist-info/RECORD +152 -0
  116. moai_adk/templates/.claude/commands/alfred/1-spec.md +0 -31
  117. moai_adk/templates/.claude/commands/alfred/2-build.md +0 -30
  118. moai_adk/templates/.claude/skills/scripts/standardize_skills.py +0 -166
  119. moai_adk/templates/.claude/skills/scripts/verify_standardization.sh +0 -43
  120. moai_adk/templates/.moai/hooks/pre-push.sample +0 -88
  121. moai_adk-0.4.0.dist-info/METADATA +0 -1816
  122. moai_adk-0.4.0.dist-info/RECORD +0 -145
  123. {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/WHEEL +0 -0
  124. {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/entry_points.txt +0 -0
  125. {moai_adk-0.4.0.dist-info → moai_adk-0.4.1.dist-info}/licenses/LICENSE +0 -0
@@ -1,23 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-lang-javascript
3
- description: JavaScript best practices with Jest, ESLint, Prettier, and npm package
4
- management
4
+ description: JavaScript best practices with Jest, ESLint, Prettier, and npm package management. Use when writing or reviewing JavaScript code in project workflows.
5
5
  allowed-tools:
6
- - Read
7
- - Bash
6
+ - Read
7
+ - Bash
8
8
  ---
9
9
 
10
10
  # JavaScript 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 | JavaScript code discussions, framework guidance, or file extensions such as .js. |
18
+ | Tier | 3 |
19
+
12
20
  ## What it does
13
21
 
14
22
  Provides JavaScript-specific expertise for TDD development, including Jest testing, ESLint linting, Prettier formatting, and npm package management.
15
23
 
16
24
  ## When to use
17
25
 
18
- - "JavaScript 테스트 작성", "Jest 사용법", "ES6+ 문법"
26
+ - Engages when the conversation references JavaScript work, frameworks, or files like .js.
27
+ - "Writing JavaScript tests", "How to use Jest", "ES6+ grammar"
19
28
  - Automatically invoked when working with JavaScript projects
20
- - JavaScript SPEC implementation (`/alfred:2-build`)
29
+ - JavaScript SPEC implementation (`/alfred:2-run`)
21
30
 
22
31
  ## How it works
23
32
 
@@ -48,17 +57,40 @@ Provides JavaScript-specific expertise for TDD development, including Jest testi
48
57
  - Meaningful names, avoid abbreviations
49
58
 
50
59
  ## Examples
60
+ ```bash
61
+ npm run test && npm run lint
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
- ### Example 1: TDD with Jest
53
- User: "/alfred:2-build API-001"
54
- Claude: (creates RED test with Jest, GREEN implementation, REFACTOR with JSDoc)
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
- ### Example 2: Linting
57
- User: "ESLint 실행"
58
- Claude: (runs eslint . and reports linting errors)
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
+ - MDN Web Docs. "JavaScript Guide." https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide (accessed 2025-03-29).
83
+ - Jest. "Getting Started." https://jestjs.io/docs/getting-started (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 (JavaScript-specific review)
64
92
  - alfred-debugger-pro (JavaScript debugging)
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.
@@ -1,23 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-lang-julia
3
- description: Julia best practices with Test stdlib, Pkg manager, and scientific computing
4
- patterns
4
+ description: Julia best practices with Test stdlib, Pkg manager, and scientific computing patterns. Use when writing or reviewing Julia code in project workflows.
5
5
  allowed-tools:
6
- - Read
7
- - Bash
6
+ - Read
7
+ - Bash
8
8
  ---
9
9
 
10
10
  # Julia 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 | Julia code discussions, framework guidance, or file extensions such as .jl. |
18
+ | Tier | 3 |
19
+
12
20
  ## What it does
13
21
 
14
22
  Provides Julia-specific expertise for TDD development, including Test standard library, Pkg package manager, and high-performance scientific computing patterns.
15
23
 
16
24
  ## When to use
17
25
 
18
- - "Julia 테스트 작성", "Test stdlib 사용법", "과학 컴퓨팅"
26
+ - Engages when the conversation references Julia work, frameworks, or files like .jl.
27
+ - "Writing Julia tests", "How to use Test stdlib", "Scientific computing"
19
28
  - Automatically invoked when working with Julia projects
20
- - Julia SPEC implementation (`/alfred:2-build`)
29
+ - Julia SPEC implementation (`/alfred:2-run`)
21
30
 
22
31
  ## How it works
23
32
 
@@ -50,17 +59,40 @@ Provides Julia-specific expertise for TDD development, including Test standard l
50
59
  - Profile before optimizing
51
60
 
52
61
  ## Examples
62
+ ```bash
63
+ julia --project -e 'using Pkg; Pkg.test()'
64
+ ```
65
+
66
+ ## Inputs
67
+ - Language-specific source directories (e.g. `src/`, `app/`).
68
+ - Language-specific build/test configuration files (e.g. `package.json`, `pyproject.toml`, `go.mod`).
69
+ - Relevant test suites and sample data.
70
+
71
+ ## Outputs
72
+ - Test/lint execution plan tailored to the selected language.
73
+ - List of key language idioms and review checkpoints.
53
74
 
54
- ### Example 1: TDD with Test stdlib
55
- User: "/alfred:2-build COMPUTE-001"
56
- Claude: (creates RED test with @testset, GREEN implementation with type stability, REFACTOR)
75
+ ## Failure Modes
76
+ - When the language runtime or package manager is not installed.
77
+ - When the main language cannot be determined in a multilingual project.
57
78
 
58
- ### Example 2: Performance optimization
59
- User: "Julia 성능 최적화"
60
- Claude: (profiles code and suggests type-stable refactoring)
79
+ ## Dependencies
80
+ - Access to the project file is required using the Read/Grep tool.
81
+ - When used with `Skill("moai-foundation-langs")`, it is easy to share cross-language conventions.
82
+
83
+ ## References
84
+ - Julia Language. "Documentation." https://docs.julialang.org/en/v1/ (accessed 2025-03-29).
85
+ - JuliaFormatter.jl. "JuliaFormatter Documentation." https://domluna.github.io/JuliaFormatter.jl/stable/ (accessed 2025-03-29).
86
+
87
+ ## Changelog
88
+ - 2025-03-29: Input/output/failure response/reference information for each language has been specified.
61
89
 
62
90
  ## Works well with
63
91
 
64
92
  - alfred-trust-validation (coverage verification)
65
93
  - alfred-code-reviewer (Julia-specific review)
66
94
  - alfred-performance-optimizer (Julia profiling)
95
+
96
+ ## Best Practices
97
+ - Enable automatic validation by matching your linter with the language's official style guide.
98
+ - Fix test/build pipelines with reproducible commands in CI.
@@ -1,23 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-lang-kotlin
3
- description: Kotlin best practices with JUnit, Gradle, ktlint, coroutines, and extension
4
- functions
4
+ description: Kotlin best practices with JUnit, Gradle, ktlint, coroutines, and extension functions. Use when writing or reviewing Kotlin code in project workflows.
5
5
  allowed-tools:
6
- - Read
7
- - Bash
6
+ - Read
7
+ - Bash
8
8
  ---
9
9
 
10
10
  # Kotlin 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 | Kotlin code discussions, framework guidance, or file extensions such as .kt/.kts. |
18
+ | Tier | 3 |
19
+
12
20
  ## What it does
13
21
 
14
22
  Provides Kotlin-specific expertise for TDD development, including JUnit testing, Gradle build system, ktlint linting, coroutines for concurrency, and extension functions.
15
23
 
16
24
  ## When to use
17
25
 
18
- - "Kotlin 테스트 작성", "코루틴 사용법", "Android 패턴"
26
+ - Engages when the conversation references Kotlin work, frameworks, or files like .kt/.kts.
27
+ - “Writing Kotlin tests”, “How to use coroutines”, “Android patterns”
19
28
  - Automatically invoked when working with Kotlin/Android projects
20
- - Kotlin SPEC implementation (`/alfred:2-build`)
29
+ - Kotlin SPEC implementation (`/alfred:2-run`)
21
30
 
22
31
  ## How it works
23
32
 
@@ -51,17 +60,40 @@ Provides Kotlin-specific expertise for TDD development, including JUnit testing,
51
60
  - **Retrofit**: Network requests
52
61
 
53
62
  ## Examples
63
+ ```bash
64
+ ./gradlew test && ./gradlew ktlintCheck
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
- ### Example 1: TDD with coroutines
56
- User: "/alfred:2-build API-001"
57
- Claude: (creates RED test with runTest, GREEN implementation with suspend functions, REFACTOR)
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
- ### Example 2: ktlint check
60
- User: "ktlint 실행"
61
- Claude: (runs ktlint and reports style violations)
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
+ - JetBrains. "Kotlin Language Documentation." https://kotlinlang.org/docs/home.html (accessed 2025-03-29).
86
+ - Pinterest. "ktlint." https://pinterest.github.io/ktlint/ (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 (Kotlin-specific review)
67
95
  - mobile-app-expert (Android 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,22 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-lang-lua
3
- description: Lua best practices with busted, luacheck, and embedded scripting patterns
4
+ description: Lua best practices with busted, luacheck, and embedded scripting patterns. Use when writing or reviewing Lua code in project workflows.
4
5
  allowed-tools:
5
- - Read
6
- - Bash
6
+ - Read
7
+ - Bash
7
8
  ---
8
9
 
9
10
  # Lua 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 | Lua code discussions, framework guidance, or file extensions such as .lua. |
18
+ | Tier | 3 |
19
+
11
20
  ## What it does
12
21
 
13
22
  Provides Lua-specific expertise for TDD development, including busted testing framework, luacheck linting, and embedded scripting patterns for game development and system configuration.
14
23
 
15
24
  ## When to use
16
25
 
17
- - "Lua 테스트 작성", "busted 사용법", "임베디드 스크립팅"
26
+ - Engages when the conversation references Lua work, frameworks, or files like .lua.
27
+ - "Writing Lua tests", "How to use busted", "Embedded scripting"
18
28
  - Automatically invoked when working with Lua projects
19
- - Lua SPEC implementation (`/alfred:2-build`)
29
+ - Lua SPEC implementation (`/alfred:2-run`)
20
30
 
21
31
  ## How it works
22
32
 
@@ -49,17 +59,40 @@ Provides Lua-specific expertise for TDD development, including busted testing fr
49
59
  - Avoid global variables
50
60
 
51
61
  ## Examples
62
+ ```bash
63
+ luacheck src && busted
64
+ ```
65
+
66
+ ## Inputs
67
+ - Language-specific source directories (e.g. `src/`, `app/`).
68
+ - Language-specific build/test configuration files (e.g. `package.json`, `pyproject.toml`, `go.mod`).
69
+ - Relevant test suites and sample data.
70
+
71
+ ## Outputs
72
+ - Test/lint execution plan tailored to the selected language.
73
+ - List of key language idioms and review checkpoints.
52
74
 
53
- ### Example 1: TDD with busted
54
- User: "/alfred:2-build CONFIG-001"
55
- Claude: (creates RED test with busted, GREEN implementation, REFACTOR with metatables)
75
+ ## Failure Modes
76
+ - When the language runtime or package manager is not installed.
77
+ - When the main language cannot be determined in a multilingual project.
56
78
 
57
- ### Example 2: Linting check
58
- User: "luacheck 실행"
59
- Claude: (runs luacheck and reports style violations)
79
+ ## Dependencies
80
+ - Access to the project file is required using the Read/Grep tool.
81
+ - When used with `Skill("moai-foundation-langs")`, it is easy to share cross-language conventions.
82
+
83
+ ## References
84
+ - Lua.org. "Programming in Lua." https://www.lua.org/pil/contents.html (accessed 2025-03-29).
85
+ - Olivine Labs. "busted." https://olivinelabs.com/busted/ (accessed 2025-03-29).
86
+
87
+ ## Changelog
88
+ - 2025-03-29: Input/output/failure response/reference information for each language has been specified.
60
89
 
61
90
  ## Works well with
62
91
 
63
92
  - alfred-trust-validation (coverage verification)
64
93
  - alfred-code-reviewer (Lua-specific review)
65
94
  - cli-tool-expert (Lua scripting utilities)
95
+
96
+ ## Best Practices
97
+ - Enable automatic validation by matching your linter with the language's official style guide.
98
+ - Fix test/build pipelines with reproducible commands in CI.
@@ -1,22 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-lang-php
3
- description: PHP best practices with PHPUnit, Composer, and PSR standards
4
+ description: PHP best practices with PHPUnit, Composer, and PSR standards. Use when writing or reviewing PHP code in project workflows.
4
5
  allowed-tools:
5
- - Read
6
- - Bash
6
+ - Read
7
+ - Bash
7
8
  ---
8
9
 
9
10
  # PHP 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 | PHP code discussions, framework guidance, or file extensions such as .php. |
18
+ | Tier | 3 |
19
+
11
20
  ## What it does
12
21
 
13
22
  Provides PHP-specific expertise for TDD development, including PHPUnit testing, Composer package management, and PSR (PHP Standards Recommendations) compliance.
14
23
 
15
24
  ## When to use
16
25
 
17
- - "PHP 테스트 작성", "PHPUnit 사용법", "PSR 표준"
26
+ - Engages when the conversation references PHP work, frameworks, or files like .php.
27
+ - "Writing PHP tests", "How to use PHPUnit", "PSR standard"
18
28
  - Automatically invoked when working with PHP projects
19
- - PHP SPEC implementation (`/alfred:2-build`)
29
+ - PHP SPEC implementation (`/alfred:2-run`)
20
30
 
21
31
  ## How it works
22
32
 
@@ -49,17 +59,40 @@ Provides PHP-specific expertise for TDD development, including PHPUnit testing,
49
59
  - Dependency injection over global state
50
60
 
51
61
  ## Examples
62
+ ```bash
63
+ vendor/bin/phpunit && vendor/bin/phpstan analyse
64
+ ```
65
+
66
+ ## Inputs
67
+ - Language-specific source directories (e.g. `src/`, `app/`).
68
+ - Language-specific build/test configuration files (e.g. `package.json`, `pyproject.toml`, `go.mod`).
69
+ - Relevant test suites and sample data.
70
+
71
+ ## Outputs
72
+ - Test/lint execution plan tailored to the selected language.
73
+ - List of key language idioms and review checkpoints.
52
74
 
53
- ### Example 1: TDD with PHPUnit
54
- User: "/alfred:2-build SERVICE-001"
55
- Claude: (creates RED test with PHPUnit, GREEN implementation, REFACTOR with types)
75
+ ## Failure Modes
76
+ - When the language runtime or package manager is not installed.
77
+ - When the main language cannot be determined in a multilingual project.
56
78
 
57
- ### Example 2: PSR compliance
58
- User: "PSR 표준 확인"
59
- Claude: (runs phpcs --standard=PSR12 and reports violations)
79
+ ## Dependencies
80
+ - Access to the project file is required using the Read/Grep tool.
81
+ - When used with `Skill("moai-foundation-langs")`, it is easy to share cross-language conventions.
82
+
83
+ ## References
84
+ - PHP Manual. "PHP Documentation." https://www.php.net/manual/en/ (accessed 2025-03-29).
85
+ - PHPUnit. "PHPUnit Manual." https://phpunit.de/documentation.html (accessed 2025-03-29).
86
+
87
+ ## Changelog
88
+ - 2025-03-29: Input/output/failure response/reference information for each language has been specified.
60
89
 
61
90
  ## Works well with
62
91
 
63
92
  - alfred-trust-validation (coverage verification)
64
93
  - alfred-code-reviewer (PHP-specific review)
65
94
  - web-api-expert (Laravel/Symfony API development)
95
+
96
+ ## Best Practices
97
+ - Enable automatic validation by matching your linter with the language's official style guide.
98
+ - Fix test/build pipelines with reproducible commands in CI.
@@ -1,23 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-lang-python
3
- description: Python best practices with pytest, mypy, ruff, black, and uv package
4
- management
4
+ description: Python best practices with pytest, mypy, ruff, black, and uv package management. Use when writing or reviewing Python code in project workflows.
5
5
  allowed-tools:
6
- - Read
7
- - Bash
6
+ - Read
7
+ - Bash
8
8
  ---
9
9
 
10
10
  # Python 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 | Python code discussions, framework guidance, or file extensions such as .py. |
18
+ | Tier | 3 |
19
+
12
20
  ## What it does
13
21
 
14
22
  Provides Python-specific expertise for TDD development, including pytest testing, mypy type checking, ruff linting, black formatting, and modern uv package management.
15
23
 
16
24
  ## When to use
17
25
 
18
- - "Python 테스트 작성", "pytest 사용법", "Python 타입 힌트"
26
+ - Engages when the conversation references Python work, frameworks, or files like .py.
27
+ - “Writing Python tests”, “How to use pytest”, “Python type hints”
19
28
  - Automatically invoked when working with Python projects
20
- - Python SPEC implementation (`/alfred:2-build`)
29
+ - Python SPEC implementation (`/alfred:2-run`)
21
30
 
22
31
  ## How it works
23
32
 
@@ -48,17 +57,40 @@ Provides Python-specific expertise for TDD development, including pytest testing
48
57
  - Docstrings for public APIs
49
58
 
50
59
  ## Examples
60
+ ```bash
61
+ python -m pytest && ruff check . && black --check .
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
- ### Example 1: TDD with pytest
53
- User: "/alfred:2-build AUTH-001"
54
- Claude: (creates RED test with pytest, GREEN implementation, REFACTOR with type hints)
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
- ### Example 2: Type checking validation
57
- User: "mypy 타입 체크 실행"
58
- Claude: (runs mypy --strict and reports type errors)
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
+ - Python Software Foundation. "Python Developer's Guide." https://docs.python.org/3/ (accessed 2025-03-29).
83
+ - Pytest. "pytest Documentation." https://docs.pytest.org/en/stable/ (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 (Python-specific review)
64
92
  - alfred-debugger-pro (Python debugging)
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.
@@ -1,22 +1,32 @@
1
1
  ---
2
+
2
3
  name: moai-lang-r
3
- description: R best practices with testthat, lintr, and data analysis patterns
4
+ description: R best practices with testthat, lintr, and data analysis patterns. Use when writing or reviewing R code in project workflows.
4
5
  allowed-tools:
5
- - Read
6
- - Bash
6
+ - Read
7
+ - Bash
7
8
  ---
8
9
 
9
10
  # R 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 | R code discussions, framework guidance, or file extensions such as .r. |
18
+ | Tier | 3 |
19
+
11
20
  ## What it does
12
21
 
13
22
  Provides R-specific expertise for TDD development, including testthat testing framework, lintr code linting, and statistical data analysis patterns.
14
23
 
15
24
  ## When to use
16
25
 
17
- - "R 테스트 작성", "testthat 사용법", "데이터 분석 패턴"
26
+ - Engages when the conversation references R work, frameworks, or files like .r.
27
+ - “Writing R tests”, “How to use testthat”, “Data analysis patterns”
18
28
  - Automatically invoked when working with R projects
19
- - R SPEC implementation (`/alfred:2-build`)
29
+ - R SPEC implementation (`/alfred:2-run`)
20
30
 
21
31
  ## How it works
22
32
 
@@ -50,17 +60,40 @@ Provides R-specific expertise for TDD development, including testthat testing fr
50
60
  - Prefer functional programming
51
61
 
52
62
  ## Examples
63
+ ```bash
64
+ Rscript -e 'devtools::test()'
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
- ### Example 1: TDD with testthat
55
- User: "/alfred:2-build ANALYSIS-001"
56
- Claude: (creates RED test with testthat, GREEN implementation, REFACTOR with tidyverse)
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
- ### Example 2: Linting check
59
- User: "lintr 실행"
60
- Claude: (runs lintr::lint_package() and reports style issues)
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
+ - R Core Team. "R Language Definition." https://cran.r-project.org/manuals.html (accessed 2025-03-29).
86
+ - RStudio. "testthat Reference." https://testthat.r-lib.org/ (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 (R-specific review)
66
95
  - data-science-expert (statistical analysis)
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.