moai-adk 0.11.0__py3-none-any.whl → 0.12.0__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/core/issue_creator.py +2 -2
- moai_adk/core/project/detector.py +195 -12
- moai_adk/core/tags/ci_validator.py +1 -1
- moai_adk/core/tags/pre_commit_validator.py +1 -1
- moai_adk/core/tags/validator.py +1 -1
- moai_adk/templates/.claude/agents/alfred/cc-manager.md +316 -0
- moai_adk/templates/.claude/agents/alfred/debug-helper.md +208 -0
- moai_adk/templates/.claude/agents/alfred/doc-syncer.md +214 -0
- moai_adk/templates/.claude/agents/alfred/git-manager.md +406 -0
- moai_adk/templates/.claude/agents/alfred/implementation-planner.md +350 -0
- moai_adk/templates/.claude/agents/alfred/project-manager.md +273 -0
- moai_adk/templates/.claude/agents/alfred/quality-gate.md +343 -0
- moai_adk/templates/.claude/agents/alfred/skill-factory.md +865 -0
- moai_adk/templates/.claude/agents/alfred/spec-builder.md +287 -0
- moai_adk/templates/.claude/agents/alfred/tag-agent.md +287 -0
- moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +326 -0
- moai_adk/templates/.claude/agents/alfred/trust-checker.md +375 -0
- moai_adk/templates/.claude/commands/alfred/0-project.md +1275 -0
- moai_adk/templates/.claude/commands/alfred/1-plan.md +734 -0
- moai_adk/templates/.claude/commands/alfred/2-run.md +551 -0
- moai_adk/templates/.claude/commands/alfred/3-sync.md +689 -0
- moai_adk/templates/.claude/commands/alfred/9-feedback.md +149 -0
- moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +206 -0
- moai_adk/templates/.claude/hooks/alfred/core/project.py +742 -0
- moai_adk/templates/.claude/hooks/alfred/core/timeout.py +136 -0
- moai_adk/templates/.claude/hooks/alfred/core/ttl_cache.py +108 -0
- moai_adk/templates/.claude/hooks/alfred/core/version_cache.py +198 -0
- moai_adk/templates/.claude/hooks/alfred/notification__handle_events.py +95 -0
- moai_adk/templates/.claude/hooks/alfred/post_tool__log_changes.py +95 -0
- moai_adk/templates/.claude/hooks/alfred/pre_tool__auto_checkpoint.py +101 -0
- moai_adk/templates/.claude/hooks/alfred/session_end__cleanup.py +95 -0
- moai_adk/templates/.claude/hooks/alfred/session_start__show_project_info.py +97 -0
- moai_adk/templates/.claude/hooks/alfred/shared/core/__init__.py +170 -0
- moai_adk/templates/.claude/hooks/alfred/shared/core/checkpoint.py +271 -0
- moai_adk/templates/.claude/hooks/alfred/shared/core/context.py +67 -0
- moai_adk/templates/.claude/hooks/alfred/shared/core/project.py +749 -0
- moai_adk/templates/.claude/hooks/alfred/shared/core/tags.py +230 -0
- moai_adk/templates/.claude/hooks/alfred/shared/core/version_cache.py +198 -0
- moai_adk/templates/.claude/hooks/alfred/shared/handlers/__init__.py +21 -0
- moai_adk/templates/.claude/hooks/alfred/shared/handlers/notification.py +154 -0
- moai_adk/templates/.claude/hooks/alfred/shared/handlers/session.py +174 -0
- moai_adk/templates/.claude/hooks/alfred/shared/handlers/tool.py +87 -0
- moai_adk/templates/.claude/hooks/alfred/shared/handlers/user.py +61 -0
- moai_adk/templates/.claude/hooks/alfred/stop__handle_interrupt.py +95 -0
- moai_adk/templates/.claude/hooks/alfred/subagent_stop__handle_subagent_end.py +95 -0
- moai_adk/templates/.claude/hooks/alfred/user_prompt__jit_load_docs.py +111 -0
- moai_adk/templates/.claude/hooks/alfred/utils/__init__.py +1 -0
- moai_adk/templates/.claude/hooks/alfred/utils/timeout.py +136 -0
- moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +640 -0
- moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +696 -0
- moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +474 -0
- moai_adk/templates/.claude/settings.json +144 -0
- moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +113 -0
- moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +122 -0
- moai_adk/templates/.claude/skills/moai-alfred-git-workflow/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-alfred-git-workflow/reference.md +29 -0
- moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/SKILL.md +237 -0
- moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/examples.md +615 -0
- moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/reference.md +653 -0
- moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +113 -0
- moai_adk/templates/.claude/skills/moai-alfred-language-detection/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-alfred-language-detection/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +113 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +113 -0
- moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +113 -0
- moai_adk/templates/.claude/skills/moai-alfred-trust-validation/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-alfred-trust-validation/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +269 -0
- moai_adk/templates/.claude/skills/moai-cc-agents/templates/agent-template.md +32 -0
- moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +298 -0
- moai_adk/templates/.claude/skills/moai-cc-claude-md/templates/CLAUDE-template.md +26 -0
- moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +307 -0
- moai_adk/templates/.claude/skills/moai-cc-commands/templates/command-template.md +21 -0
- moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +252 -0
- moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/pre-bash-check.sh +19 -0
- moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/preserve-permissions.sh +19 -0
- moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/validate-bash-command.py +24 -0
- moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +199 -0
- moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/templates/settings-mcp-template.json +39 -0
- moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +316 -0
- moai_adk/templates/.claude/skills/moai-cc-memory/templates/session-summary-template.md +18 -0
- moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +263 -0
- moai_adk/templates/.claude/skills/moai-cc-settings/templates/settings-complete-template.json +30 -0
- moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +291 -0
- moai_adk/templates/.claude/skills/moai-cc-skills/templates/SKILL-template.md +15 -0
- moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +290 -0
- moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +1633 -0
- moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +660 -0
- moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-domain-cli-tool/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-cli-tool/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-domain-data-science/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-data-science/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-domain-database/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-database/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +124 -0
- moai_adk/templates/.claude/skills/moai-domain-devops/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-devops/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +124 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-domain-ml/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-ml/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-domain-mobile-app/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-mobile-app/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-domain-security/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-security/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-domain-web-api/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-web-api/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +303 -0
- moai_adk/templates/.claude/skills/moai-essentials-debug/examples.md +1064 -0
- moai_adk/templates/.claude/skills/moai-essentials-debug/reference.md +1047 -0
- moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +113 -0
- moai_adk/templates/.claude/skills/moai-essentials-perf/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-essentials-perf/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +113 -0
- moai_adk/templates/.claude/skills/moai-essentials-refactor/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-essentials-refactor/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +113 -0
- moai_adk/templates/.claude/skills/moai-essentials-review/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-essentials-review/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +116 -0
- moai_adk/templates/.claude/skills/moai-foundation-ears/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-foundation-ears/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +122 -0
- moai_adk/templates/.claude/skills/moai-foundation-git/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-foundation-git/reference.md +29 -0
- moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +113 -0
- moai_adk/templates/.claude/skills/moai-foundation-langs/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-foundation-langs/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +113 -0
- moai_adk/templates/.claude/skills/moai-foundation-specs/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-foundation-specs/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +113 -0
- moai_adk/templates/.claude/skills/moai-foundation-tags/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-foundation-tags/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +307 -0
- moai_adk/templates/.claude/skills/moai-foundation-trust/examples.md +0 -0
- moai_adk/templates/.claude/skills/moai-foundation-trust/reference.md +1099 -0
- moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +124 -0
- moai_adk/templates/.claude/skills/moai-lang-c/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-c/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +124 -0
- moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-lang-dart/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-dart/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +124 -0
- moai_adk/templates/.claude/skills/moai-lang-go/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-go/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +124 -0
- moai_adk/templates/.claude/skills/moai-lang-java/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-java/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +125 -0
- moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +32 -0
- moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +124 -0
- moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-lang-php/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-php/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +431 -0
- moai_adk/templates/.claude/skills/moai-lang-python/examples.md +624 -0
- moai_adk/templates/.claude/skills/moai-lang-python/reference.md +316 -0
- moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-lang-r/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-r/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +124 -0
- moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +124 -0
- moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-lang-shell/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-shell/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +124 -0
- moai_adk/templates/.claude/skills/moai-lang-sql/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-sql/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +123 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +127 -0
- moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +34 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/CHECKLIST.md +482 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/EXAMPLES.md +278 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/INTERACTIVE-DISCOVERY.md +524 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/METADATA.md +477 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/PARALLEL-ANALYSIS-REPORT.md +429 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/PYTHON-VERSION-MATRIX.md +391 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-FACTORY-WORKFLOW.md +431 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-UPDATE-ADVISOR.md +577 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/SKILL.md +271 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/STEP-BY-STEP-GUIDE.md +466 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/STRUCTURE.md +583 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/WEB-RESEARCH.md +526 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/reference.md +465 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/scripts/generate-structure.sh +328 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/scripts/validate-skill.sh +312 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/templates/SKILL_TEMPLATE.md +245 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/templates/examples-template.md +285 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/templates/reference-template.md +278 -0
- moai_adk/templates/.claude/skills/moai-skill-factory/templates/scripts-template.sh +303 -0
- moai_adk/templates/.claude/skills/moai-spec-authoring/README.md +137 -0
- moai_adk/templates/.claude/skills/moai-spec-authoring/SKILL.md +219 -0
- moai_adk/templates/.claude/skills/moai-spec-authoring/examples/validate-spec.sh +161 -0
- moai_adk/templates/.claude/skills/moai-spec-authoring/examples.md +541 -0
- moai_adk/templates/.claude/skills/moai-spec-authoring/reference.md +622 -0
- moai_adk/templates/.github/workflows/c-tag-validation.yml +83 -0
- moai_adk/templates/.github/workflows/cpp-tag-validation.yml +79 -0
- moai_adk/templates/.github/workflows/csharp-tag-validation.yml +65 -0
- moai_adk/templates/.github/workflows/dart-tag-validation.yml +82 -0
- moai_adk/templates/.github/workflows/java-tag-validation.yml +75 -0
- moai_adk/templates/.github/workflows/kotlin-tag-validation.yml +67 -0
- moai_adk/templates/.github/workflows/php-tag-validation.yml +56 -0
- moai_adk/templates/.github/workflows/ruby-tag-validation.yml +68 -0
- moai_adk/templates/.github/workflows/rust-tag-validation.yml +73 -0
- moai_adk/templates/.github/workflows/shell-tag-validation.yml +65 -0
- moai_adk/templates/.github/workflows/swift-tag-validation.yml +79 -0
- moai_adk/templates/.moai/config.json +113 -0
- moai_adk/templates/.moai/memory/CLAUDE-AGENTS-GUIDE.md +208 -0
- moai_adk/templates/.moai/memory/CLAUDE-PRACTICES.md +369 -0
- moai_adk/templates/.moai/memory/CLAUDE-RULES.md +539 -0
- moai_adk/templates/.moai/memory/DEVELOPMENT-GUIDE.md +344 -0
- moai_adk/templates/.moai/memory/GITFLOW-PROTECTION-POLICY.md +330 -0
- moai_adk/templates/.moai/memory/ISSUE-LABEL-MAPPING.md +150 -0
- moai_adk/templates/.moai/memory/SKILLS-DESCRIPTION-POLICY.md +218 -0
- moai_adk/templates/.moai/memory/SPEC-METADATA.md +356 -0
- moai_adk/templates/.moai/memory/gitflow-protection-policy.md +330 -0
- moai_adk/templates/.moai/memory/spec-metadata.md +356 -0
- moai_adk/templates/.moai/project/product.md +161 -0
- moai_adk/templates/.moai/project/structure.md +156 -0
- moai_adk/templates/.moai/project/tech.md +227 -0
- moai_adk/templates/CLAUDE.md +90 -10
- moai_adk/templates/workflows/go-tag-validation.yml +130 -0
- moai_adk/templates/workflows/javascript-tag-validation.yml +135 -0
- moai_adk/templates/workflows/python-tag-validation.yml +118 -0
- moai_adk/templates/workflows/typescript-tag-validation.yml +154 -0
- {moai_adk-0.11.0.dist-info → moai_adk-0.12.0.dist-info}/METADATA +43 -1
- moai_adk-0.12.0.dist-info/RECORD +330 -0
- moai_adk-0.11.0.dist-info/RECORD +0 -77
- /moai_adk/templates/.github/workflows/{release.yml → moai-adk-release.yml} +0 -0
- /moai_adk/templates/.github/workflows/{spec-issue-sync.yml → moai-adk-spec-issue-sync.yml} +0 -0
- /moai_adk/templates/.github/workflows/{tag-validation.yml → moai-adk-tag-validation.yml} +0 -0
- {moai_adk-0.11.0.dist-info → moai_adk-0.12.0.dist-info}/WHEEL +0 -0
- {moai_adk-0.11.0.dist-info → moai_adk-0.12.0.dist-info}/entry_points.txt +0 -0
- {moai_adk-0.11.0.dist-info → moai_adk-0.12.0.dist-info}/licenses/LICENSE +0 -0
moai_adk/core/issue_creator.py
CHANGED
|
@@ -59,7 +59,7 @@ class GitHubIssueCreator:
|
|
|
59
59
|
IssueType.BUG: ["bug", "reported"],
|
|
60
60
|
IssueType.FEATURE: ["feature-request", "enhancement"],
|
|
61
61
|
IssueType.IMPROVEMENT: ["improvement", "enhancement"],
|
|
62
|
-
IssueType.QUESTION: ["question", "help
|
|
62
|
+
IssueType.QUESTION: ["question", "help wanted"], # Fixed: "help-wanted" → "help wanted" (GitHub standard)
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
# Priority emoji
|
|
@@ -145,7 +145,7 @@ class GitHubIssueCreator:
|
|
|
145
145
|
# Collect labels
|
|
146
146
|
labels = self.LABEL_MAP.get(config.issue_type, []).copy()
|
|
147
147
|
if config.priority:
|
|
148
|
-
labels.append(
|
|
148
|
+
labels.append(config.priority.value) # Fixed: removed "priority-" prefix (use direct label names)
|
|
149
149
|
if config.category:
|
|
150
150
|
labels.append(f"category-{config.category.lower().replace(' ', '-')}")
|
|
151
151
|
if config.custom_labels:
|
|
@@ -16,7 +16,18 @@ class LanguageDetector:
|
|
|
16
16
|
"""
|
|
17
17
|
|
|
18
18
|
LANGUAGE_PATTERNS = {
|
|
19
|
-
#
|
|
19
|
+
# @CODE:LDE-PRIORITY-001 | SPEC: SPEC-LANGUAGE-DETECTION-EXTENDED-001/spec.md
|
|
20
|
+
# Priority order (highest to lowest):
|
|
21
|
+
# 1. Rust, 2. Dart, 3. Swift, 4. Kotlin, 5. C#, 6. Java, 7. Ruby, 8. PHP
|
|
22
|
+
# 9. Go, 10. Python, 11. TypeScript, 12. JavaScript, 13. C++, 14. C, 15. Shell
|
|
23
|
+
|
|
24
|
+
"rust": ["*.rs", "Cargo.toml"],
|
|
25
|
+
"dart": ["*.dart", "pubspec.yaml"],
|
|
26
|
+
"swift": ["*.swift", "Package.swift"],
|
|
27
|
+
"kotlin": ["*.kt", "build.gradle.kts"],
|
|
28
|
+
"csharp": ["*.cs", "*.csproj"],
|
|
29
|
+
"java": ["*.java", "pom.xml", "build.gradle"],
|
|
30
|
+
# Ruby moved for priority (Rails detection)
|
|
20
31
|
# @CODE:LANG-DETECT-RUBY-001 | SPEC: Issue #51 Language Detection Fix
|
|
21
32
|
"ruby": [
|
|
22
33
|
"*.rb",
|
|
@@ -26,7 +37,7 @@ class LanguageDetector:
|
|
|
26
37
|
"app/controllers/", # Rails: controller directory
|
|
27
38
|
"Rakefile" # Rails/Ruby: task file
|
|
28
39
|
],
|
|
29
|
-
# PHP
|
|
40
|
+
# PHP after Ruby (Laravel detection)
|
|
30
41
|
"php": [
|
|
31
42
|
"*.php",
|
|
32
43
|
"composer.json",
|
|
@@ -34,23 +45,18 @@ class LanguageDetector:
|
|
|
34
45
|
"app/", # Laravel: application directory
|
|
35
46
|
"bootstrap/laravel.php" # Laravel: bootstrap file
|
|
36
47
|
],
|
|
48
|
+
"go": ["*.go", "go.mod"],
|
|
37
49
|
"python": ["*.py", "pyproject.toml", "requirements.txt", "setup.py"],
|
|
38
50
|
"typescript": ["*.ts", "tsconfig.json"],
|
|
39
51
|
"javascript": ["*.js", "package.json"],
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
|
|
44
|
-
"swift": ["*.swift", "Package.swift"],
|
|
45
|
-
"kotlin": ["*.kt", "build.gradle.kts"],
|
|
46
|
-
"csharp": ["*.cs", "*.csproj"],
|
|
52
|
+
"cpp": ["*.cpp", "CMakeLists.txt"],
|
|
53
|
+
"c": ["*.c", "Makefile"],
|
|
54
|
+
"shell": ["*.sh", "*.bash"],
|
|
55
|
+
# Additional languages (lower priority)
|
|
47
56
|
"elixir": ["*.ex", "mix.exs"],
|
|
48
57
|
"scala": ["*.scala", "build.sbt"],
|
|
49
58
|
"clojure": ["*.clj", "project.clj"],
|
|
50
59
|
"haskell": ["*.hs", "*.cabal"],
|
|
51
|
-
"c": ["*.c", "Makefile"],
|
|
52
|
-
"cpp": ["*.cpp", "CMakeLists.txt"],
|
|
53
|
-
"shell": ["*.sh", "*.bash"],
|
|
54
60
|
"lua": ["*.lua"],
|
|
55
61
|
}
|
|
56
62
|
|
|
@@ -112,6 +118,183 @@ class LanguageDetector:
|
|
|
112
118
|
|
|
113
119
|
return False
|
|
114
120
|
|
|
121
|
+
def get_workflow_template_path(self, language: str) -> str:
|
|
122
|
+
"""Get the GitHub Actions workflow template path for a language.
|
|
123
|
+
|
|
124
|
+
@CODE:LDE-WORKFLOW-PATH-001 | SPEC: SPEC-LANGUAGE-DETECTION-EXTENDED-001/spec.md
|
|
125
|
+
|
|
126
|
+
Args:
|
|
127
|
+
language: Programming language name (lowercase).
|
|
128
|
+
|
|
129
|
+
Returns:
|
|
130
|
+
Workflow template file path relative to templates directory.
|
|
131
|
+
|
|
132
|
+
Raises:
|
|
133
|
+
ValueError: If language is not supported for workflows.
|
|
134
|
+
"""
|
|
135
|
+
workflow_mapping = {
|
|
136
|
+
"python": ".github/workflows/python-tag-validation.yml",
|
|
137
|
+
"javascript": ".github/workflows/javascript-tag-validation.yml",
|
|
138
|
+
"typescript": ".github/workflows/typescript-tag-validation.yml",
|
|
139
|
+
"go": ".github/workflows/go-tag-validation.yml",
|
|
140
|
+
"ruby": ".github/workflows/ruby-tag-validation.yml",
|
|
141
|
+
"php": ".github/workflows/php-tag-validation.yml",
|
|
142
|
+
"java": ".github/workflows/java-tag-validation.yml",
|
|
143
|
+
"rust": ".github/workflows/rust-tag-validation.yml",
|
|
144
|
+
"dart": ".github/workflows/dart-tag-validation.yml",
|
|
145
|
+
"swift": ".github/workflows/swift-tag-validation.yml",
|
|
146
|
+
"kotlin": ".github/workflows/kotlin-tag-validation.yml",
|
|
147
|
+
"csharp": ".github/workflows/csharp-tag-validation.yml",
|
|
148
|
+
"c": ".github/workflows/c-tag-validation.yml",
|
|
149
|
+
"cpp": ".github/workflows/cpp-tag-validation.yml",
|
|
150
|
+
"shell": ".github/workflows/shell-tag-validation.yml",
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
if language.lower() not in workflow_mapping:
|
|
154
|
+
raise ValueError(
|
|
155
|
+
f"No workflow template available for language: {language}. "
|
|
156
|
+
f"Supported languages: {', '.join(workflow_mapping.keys())}"
|
|
157
|
+
)
|
|
158
|
+
|
|
159
|
+
return workflow_mapping[language.lower()]
|
|
160
|
+
|
|
161
|
+
def detect_package_manager(self, path: str | Path = ".") -> str | None:
|
|
162
|
+
"""Detect the package manager for the detected language.
|
|
163
|
+
|
|
164
|
+
@CODE:LDE-PKG-MGR-001 | SPEC: SPEC-LANGUAGE-DETECTION-EXTENDED-001/spec.md
|
|
165
|
+
|
|
166
|
+
Args:
|
|
167
|
+
path: Directory to inspect.
|
|
168
|
+
|
|
169
|
+
Returns:
|
|
170
|
+
Package manager name or None if not detected.
|
|
171
|
+
"""
|
|
172
|
+
path = Path(path)
|
|
173
|
+
|
|
174
|
+
# Ruby
|
|
175
|
+
if (path / "Gemfile").exists():
|
|
176
|
+
return "bundle"
|
|
177
|
+
|
|
178
|
+
# PHP
|
|
179
|
+
if (path / "composer.json").exists():
|
|
180
|
+
return "composer"
|
|
181
|
+
|
|
182
|
+
# Java/Kotlin
|
|
183
|
+
if (path / "pom.xml").exists():
|
|
184
|
+
return "maven"
|
|
185
|
+
if (path / "build.gradle").exists() or (path / "build.gradle.kts").exists():
|
|
186
|
+
return "gradle"
|
|
187
|
+
|
|
188
|
+
# Rust
|
|
189
|
+
if (path / "Cargo.toml").exists():
|
|
190
|
+
return "cargo"
|
|
191
|
+
|
|
192
|
+
# Dart/Flutter
|
|
193
|
+
if (path / "pubspec.yaml").exists():
|
|
194
|
+
return "dart_pub"
|
|
195
|
+
|
|
196
|
+
# Swift
|
|
197
|
+
if (path / "Package.swift").exists():
|
|
198
|
+
return "spm"
|
|
199
|
+
|
|
200
|
+
# C#
|
|
201
|
+
if list(path.glob("*.csproj")) or list(path.glob("*.sln")):
|
|
202
|
+
return "dotnet"
|
|
203
|
+
|
|
204
|
+
# Python
|
|
205
|
+
if (path / "pyproject.toml").exists():
|
|
206
|
+
return "pip"
|
|
207
|
+
|
|
208
|
+
# JavaScript/TypeScript (check in priority order)
|
|
209
|
+
if (path / "package.json").exists():
|
|
210
|
+
# Check for package managers in priority order
|
|
211
|
+
if (path / "bun.lockb").exists():
|
|
212
|
+
return "bun"
|
|
213
|
+
elif (path / "pnpm-lock.yaml").exists():
|
|
214
|
+
return "pnpm"
|
|
215
|
+
elif (path / "yarn.lock").exists():
|
|
216
|
+
return "yarn"
|
|
217
|
+
elif (path / "package-lock.json").exists():
|
|
218
|
+
return "npm"
|
|
219
|
+
else:
|
|
220
|
+
# Default to npm for package.json without lock files
|
|
221
|
+
return "npm"
|
|
222
|
+
|
|
223
|
+
# Go
|
|
224
|
+
if (path / "go.mod").exists():
|
|
225
|
+
return "go_modules"
|
|
226
|
+
|
|
227
|
+
return None
|
|
228
|
+
|
|
229
|
+
def detect_build_tool(self, path: str | Path = ".", language: str | None = None) -> str | None:
|
|
230
|
+
"""Detect the build tool for the detected language.
|
|
231
|
+
|
|
232
|
+
@CODE:LDE-BUILD-TOOL-001 | SPEC: SPEC-LANGUAGE-DETECTION-EXTENDED-001/spec.md
|
|
233
|
+
|
|
234
|
+
Args:
|
|
235
|
+
path: Directory to inspect.
|
|
236
|
+
language: Optional language hint for disambiguation.
|
|
237
|
+
|
|
238
|
+
Returns:
|
|
239
|
+
Build tool name or None if not detected.
|
|
240
|
+
"""
|
|
241
|
+
path = Path(path)
|
|
242
|
+
|
|
243
|
+
# C/C++
|
|
244
|
+
if (path / "CMakeLists.txt").exists():
|
|
245
|
+
return "cmake"
|
|
246
|
+
if (path / "Makefile").exists():
|
|
247
|
+
return "make"
|
|
248
|
+
|
|
249
|
+
# Java/Kotlin
|
|
250
|
+
if language in ["java", "kotlin"]:
|
|
251
|
+
if (path / "pom.xml").exists():
|
|
252
|
+
return "maven"
|
|
253
|
+
if (path / "build.gradle").exists() or (path / "build.gradle.kts").exists():
|
|
254
|
+
return "gradle"
|
|
255
|
+
|
|
256
|
+
# Rust
|
|
257
|
+
if (path / "Cargo.toml").exists():
|
|
258
|
+
return "cargo"
|
|
259
|
+
|
|
260
|
+
# Swift
|
|
261
|
+
if (path / "Package.swift").exists():
|
|
262
|
+
return "spm"
|
|
263
|
+
if list(path.glob("*.xcodeproj")) or list(path.glob("*.xcworkspace")):
|
|
264
|
+
return "xcode"
|
|
265
|
+
|
|
266
|
+
# C#
|
|
267
|
+
if list(path.glob("*.csproj")) or list(path.glob("*.sln")):
|
|
268
|
+
return "dotnet"
|
|
269
|
+
|
|
270
|
+
return None
|
|
271
|
+
|
|
272
|
+
def get_supported_languages_for_workflows(self) -> list[str]:
|
|
273
|
+
"""Get the list of languages with dedicated CI/CD workflow support.
|
|
274
|
+
|
|
275
|
+
@CODE:LDE-SUPPORTED-LANGS-001 | SPEC: SPEC-LANGUAGE-DETECTION-EXTENDED-001/spec.md
|
|
276
|
+
|
|
277
|
+
Returns:
|
|
278
|
+
List of supported language names (15 total).
|
|
279
|
+
"""
|
|
280
|
+
return [
|
|
281
|
+
"python",
|
|
282
|
+
"javascript",
|
|
283
|
+
"typescript",
|
|
284
|
+
"go",
|
|
285
|
+
"ruby",
|
|
286
|
+
"php",
|
|
287
|
+
"java",
|
|
288
|
+
"rust",
|
|
289
|
+
"dart",
|
|
290
|
+
"swift",
|
|
291
|
+
"kotlin",
|
|
292
|
+
"csharp",
|
|
293
|
+
"c",
|
|
294
|
+
"cpp",
|
|
295
|
+
"shell",
|
|
296
|
+
]
|
|
297
|
+
|
|
115
298
|
|
|
116
299
|
def detect_project_language(path: str | Path = ".") -> str | None:
|
|
117
300
|
"""Detect the project language (helper).
|
|
@@ -290,7 +290,7 @@ class CIValidator(PreCommitValidator):
|
|
|
290
290
|
tag = error.tag
|
|
291
291
|
message = error.message
|
|
292
292
|
locations = ', '.join([
|
|
293
|
-
f"`{f}:{
|
|
293
|
+
f"`{f}:{line}`" for f, line in error.locations[:3]
|
|
294
294
|
])
|
|
295
295
|
if len(error.locations) > 3:
|
|
296
296
|
locations += f" (+{len(error.locations) - 3} more)"
|
|
@@ -26,7 +26,7 @@ class ValidationError:
|
|
|
26
26
|
locations: List[Tuple[str, int]] = field(default_factory=list)
|
|
27
27
|
|
|
28
28
|
def __str__(self) -> str:
|
|
29
|
-
loc_str = ", ".join([f"{f}:{
|
|
29
|
+
loc_str = ", ".join([f"{f}:{line}" for f, line in self.locations])
|
|
30
30
|
return f"{self.message}: {self.tag} at {loc_str}"
|
|
31
31
|
|
|
32
32
|
|
moai_adk/core/tags/validator.py
CHANGED
|
@@ -0,0 +1,316 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: cc-manager
|
|
3
|
+
description: "Use when: When you need to create and optimize Claude Code command/agent/configuration files"
|
|
4
|
+
tools: Read, Write, Edit, MultiEdit, Glob, Bash, WebFetch
|
|
5
|
+
model: sonnet
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
# Claude Code Manager - Control Tower (v3.0.0)
|
|
9
|
+
> Operational orchestration agent for Claude Code standardization. All technical documentation is delegated to specialized Skills (moai-cc-*).
|
|
10
|
+
|
|
11
|
+
**Primary Role**: Validate, create, and maintain Claude Code files with consistent standards. Delegate knowledge to Skills.
|
|
12
|
+
|
|
13
|
+
---
|
|
14
|
+
|
|
15
|
+
## 🔗 Knowledge Delegation (Critical: v3.0.0)
|
|
16
|
+
|
|
17
|
+
**As of v3.0.0, all Claude Code knowledge is in specialized Skills:**
|
|
18
|
+
|
|
19
|
+
| Request | Route To |
|
|
20
|
+
|---------|----------|
|
|
21
|
+
| Architecture decisions | `Skill("moai-cc-guide")` + workflows/ |
|
|
22
|
+
| Hooks setup | `Skill("moai-cc-hooks")` |
|
|
23
|
+
| Agent creation | `Skill("moai-cc-agents")` |
|
|
24
|
+
| Command design | `Skill("moai-cc-commands")` |
|
|
25
|
+
| Skill building | `Skill("moai-cc-skills")` |
|
|
26
|
+
| settings.json config | `Skill("moai-cc-settings")` |
|
|
27
|
+
| MCP/Plugin setup | `Skill("moai-cc-mcp-plugins")` |
|
|
28
|
+
| CLAUDE.md authoring | `Skill("moai-cc-claude-md")` |
|
|
29
|
+
| Memory optimization | `Skill("moai-cc-memory")` |
|
|
30
|
+
|
|
31
|
+
**cc-manager's job**: Validate, create files, run verifications. NOT teach or explain.
|
|
32
|
+
|
|
33
|
+
---
|
|
34
|
+
|
|
35
|
+
## 🌍 Language Handling
|
|
36
|
+
|
|
37
|
+
**IMPORTANT**: You will receive prompts in the user's **configured conversation_language**.
|
|
38
|
+
|
|
39
|
+
Alfred passes the user's language directly to you via `Task()` calls.
|
|
40
|
+
|
|
41
|
+
**Language Guidelines**:
|
|
42
|
+
|
|
43
|
+
1. **Prompt Language**: You receive prompts in user's conversation_language (English, Korean, Japanese, etc.)
|
|
44
|
+
|
|
45
|
+
2. **Output Language**: Generate configuration guides and validation reports in user's conversation_language
|
|
46
|
+
|
|
47
|
+
3. **Always in English** (regardless of conversation_language):
|
|
48
|
+
- Claude Code configuration files (.md, .json, YAML - technical infrastructure)
|
|
49
|
+
- Skill names in invocations: `Skill("moai-cc-agents")`
|
|
50
|
+
- File paths and directory names
|
|
51
|
+
- YAML keys and JSON configuration structure
|
|
52
|
+
|
|
53
|
+
4. **Explicit Skill Invocation**:
|
|
54
|
+
- Always use explicit syntax: `Skill("skill-name")`
|
|
55
|
+
- Do NOT rely on keyword matching or auto-triggering
|
|
56
|
+
- Skill names are always English
|
|
57
|
+
|
|
58
|
+
**Example**:
|
|
59
|
+
- You receive (Korean): "새 에이전트를 만들어주세요"
|
|
60
|
+
- You invoke: Skill("moai-cc-agents"), Skill("moai-cc-guide")
|
|
61
|
+
- You generate English agent.md file (technical infrastructure)
|
|
62
|
+
- You provide Korean guidance and validation reports to user
|
|
63
|
+
|
|
64
|
+
---
|
|
65
|
+
|
|
66
|
+
## 🧰 Skill Activation
|
|
67
|
+
|
|
68
|
+
**Automatic** (always load):
|
|
69
|
+
- `Skill("moai-foundation-specs")` - SPEC structure validation
|
|
70
|
+
- `Skill("moai-cc-guide")` - Decision trees & architecture
|
|
71
|
+
|
|
72
|
+
**Conditional** (based on request):
|
|
73
|
+
- `Skill("moai-alfred-language-detection")` - Detect project language
|
|
74
|
+
- `Skill("moai-alfred-tag-scanning")` - Validate TAG chains
|
|
75
|
+
- `Skill("moai-foundation-tags")` - TAG policy
|
|
76
|
+
- `Skill("moai-foundation-trust")` - TRUST 5 validation
|
|
77
|
+
- `Skill("moai-alfred-git-workflow")` - Git strategy impact
|
|
78
|
+
- Domain skills (CLI/Data Science/Database/etc) - When relevant
|
|
79
|
+
- Language skills (23 available) - Based on detected language
|
|
80
|
+
- `AskUserQuestion tool (documented in moai-alfred-interactive-questions skill)` - User clarification
|
|
81
|
+
|
|
82
|
+
---
|
|
83
|
+
|
|
84
|
+
## 🎯 Core Responsibilities
|
|
85
|
+
|
|
86
|
+
✅ **cc-manager DOES**:
|
|
87
|
+
- Validate YAML frontmatter & file structure
|
|
88
|
+
- Check naming conventions (kebab-case, ID patterns)
|
|
89
|
+
- Enforce minimum permissions (principle of least privilege)
|
|
90
|
+
- Create files from templates
|
|
91
|
+
- Run batch verification across `.claude/` directory
|
|
92
|
+
- Suggest specific, actionable fixes
|
|
93
|
+
- Maintain version tracking & standards documentation
|
|
94
|
+
|
|
95
|
+
❌ **cc-manager DOES NOT**:
|
|
96
|
+
- Explain Hooks/Agents/Commands syntax (→ Skills)
|
|
97
|
+
- Teach Claude Code best practices (→ Skills)
|
|
98
|
+
- Make architecture decisions (→ moai-cc-guide Skill)
|
|
99
|
+
- Provide troubleshooting guides (→ Skills)
|
|
100
|
+
- Document MCP configuration (→ moai-cc-mcp-plugins Skill)
|
|
101
|
+
|
|
102
|
+
---
|
|
103
|
+
|
|
104
|
+
## 📋 Standard Templates
|
|
105
|
+
|
|
106
|
+
### Command File Structure
|
|
107
|
+
|
|
108
|
+
**Location**: `.claude/commands/`
|
|
109
|
+
|
|
110
|
+
**Required YAML**:
|
|
111
|
+
- `name` (kebab-case)
|
|
112
|
+
- `description` (one-line)
|
|
113
|
+
- `argument-hint` (array)
|
|
114
|
+
- `tools` (list, min privileges)
|
|
115
|
+
- `model` (haiku/sonnet)
|
|
116
|
+
|
|
117
|
+
**Reference**: `Skill("moai-cc-commands")` SKILL.md
|
|
118
|
+
|
|
119
|
+
---
|
|
120
|
+
|
|
121
|
+
### Agent File Structure
|
|
122
|
+
|
|
123
|
+
**Location**: `.claude/agents/`
|
|
124
|
+
|
|
125
|
+
**Required YAML**:
|
|
126
|
+
- `name` (kebab-case)
|
|
127
|
+
- `description` (must include "Use PROACTIVELY for")
|
|
128
|
+
- `tools` (min privileges, no `Bash(*)`)
|
|
129
|
+
- `model` (sonnet/haiku)
|
|
130
|
+
|
|
131
|
+
**Key Rule**: description includes "Use PROACTIVELY for [trigger conditions]"
|
|
132
|
+
|
|
133
|
+
**Reference**: `Skill("moai-cc-agents")` SKILL.md
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
137
|
+
### Skill File Structure
|
|
138
|
+
|
|
139
|
+
**Location**: `.claude/skills/`
|
|
140
|
+
|
|
141
|
+
**Required YAML**:
|
|
142
|
+
- `name` (kebab-case)
|
|
143
|
+
- `description` (clear one-line)
|
|
144
|
+
- `model` (haiku/sonnet)
|
|
145
|
+
|
|
146
|
+
**Structure**:
|
|
147
|
+
- SKILL.md (main content)
|
|
148
|
+
- reference.md (optional, detailed docs)
|
|
149
|
+
- examples.md (optional, code examples)
|
|
150
|
+
|
|
151
|
+
**Reference**: `Skill("moai-cc-skills")` SKILL.md
|
|
152
|
+
|
|
153
|
+
---
|
|
154
|
+
|
|
155
|
+
## 🔍 Verification Checklist (Quick)
|
|
156
|
+
|
|
157
|
+
### All Files
|
|
158
|
+
- [ ] YAML frontmatter valid & complete
|
|
159
|
+
- [ ] Kebab-case naming (my-agent, my-command, my-skill)
|
|
160
|
+
- [ ] No hardcoded secrets/tokens
|
|
161
|
+
|
|
162
|
+
### Commands
|
|
163
|
+
- [ ] `description` is one-line, clear purpose
|
|
164
|
+
- [ ] `tools` has minimum required only
|
|
165
|
+
- [ ] Agent orchestration documented
|
|
166
|
+
|
|
167
|
+
### Agents
|
|
168
|
+
- [ ] `description` includes "Use PROACTIVELY for"
|
|
169
|
+
- [ ] `tools` specific patterns (not `Bash(*)`)
|
|
170
|
+
- [ ] Proactive triggers clearly defined
|
|
171
|
+
|
|
172
|
+
### Skills
|
|
173
|
+
- [ ] Supporting files (reference.md, examples.md) included if relevant
|
|
174
|
+
- [ ] Progressive Disclosure structure
|
|
175
|
+
- [ ] "Works Well With" section added
|
|
176
|
+
|
|
177
|
+
### settings.json
|
|
178
|
+
- [ ] No syntax errors: `cat .claude/settings.json | jq .`
|
|
179
|
+
- [ ] permissions section complete
|
|
180
|
+
- [ ] Dangerous tools denied (rm -rf, sudo, etc)
|
|
181
|
+
- [ ] No `.env` readable
|
|
182
|
+
|
|
183
|
+
---
|
|
184
|
+
|
|
185
|
+
## 🚀 Quick Workflows
|
|
186
|
+
|
|
187
|
+
### Create New Command
|
|
188
|
+
```bash
|
|
189
|
+
@agent-cc-manager "Create command: /my-command
|
|
190
|
+
- Purpose: [describe]
|
|
191
|
+
- Arguments: [list]
|
|
192
|
+
- Agents involved: [names]"
|
|
193
|
+
```
|
|
194
|
+
**Then**: Reference `Skill("moai-cc-commands")` for detailed guidance
|
|
195
|
+
|
|
196
|
+
### Create New Agent
|
|
197
|
+
```bash
|
|
198
|
+
@agent-cc-manager "Create agent: my-analyzer
|
|
199
|
+
- Specialty: [describe]
|
|
200
|
+
- Proactive triggers: [when to use]
|
|
201
|
+
- Tool requirements: [what it needs]"
|
|
202
|
+
```
|
|
203
|
+
**Then**: Reference `Skill("moai-cc-agents")` for patterns
|
|
204
|
+
|
|
205
|
+
### Verify All Standards
|
|
206
|
+
```bash
|
|
207
|
+
@agent-cc-manager "Run full standards verification across .claude/"
|
|
208
|
+
```
|
|
209
|
+
**Result**: Report of violations + fixes
|
|
210
|
+
|
|
211
|
+
### Setup Project Claude Code
|
|
212
|
+
```bash
|
|
213
|
+
@agent-cc-manager "Initialize Claude Code for MoAI-ADK project"
|
|
214
|
+
```
|
|
215
|
+
**Then**: Reference `Skill("moai-cc-guide")` → workflows/alfred-0-project-setup.md
|
|
216
|
+
|
|
217
|
+
---
|
|
218
|
+
|
|
219
|
+
## 🔧 Common Issues (Quick Fixes)
|
|
220
|
+
|
|
221
|
+
**YAML syntax error**
|
|
222
|
+
→ Validate: `head -5 .claude/agents/my-agent.md`
|
|
223
|
+
|
|
224
|
+
**Tool permission denied**
|
|
225
|
+
→ Check: `cat .claude/settings.json | jq '.permissions'`
|
|
226
|
+
|
|
227
|
+
**Agent not recognized**
|
|
228
|
+
→ Verify: YAML frontmatter + kebab-case name + file in `.claude/agents/`
|
|
229
|
+
|
|
230
|
+
**Skill not loading**
|
|
231
|
+
→ Verify: YAML + `ls -la .claude/skills/my-skill/` + restart Claude Code
|
|
232
|
+
|
|
233
|
+
**Hook not running**
|
|
234
|
+
→ Check: Absolute path in settings.json + `chmod +x hook.sh` + JSON valid
|
|
235
|
+
|
|
236
|
+
**Detailed troubleshooting**: `Skill("moai-cc-guide")` → README.md FAQ section
|
|
237
|
+
|
|
238
|
+
---
|
|
239
|
+
|
|
240
|
+
## 📖 When to Delegate to Skills
|
|
241
|
+
|
|
242
|
+
| Scenario | Skill | Why |
|
|
243
|
+
|----------|-------|-----|
|
|
244
|
+
| "How do I...?" | moai-cc-* (specific) | All how-to guidance in Skills |
|
|
245
|
+
| "What's the pattern?" | moai-cc-* (specific) | All patterns in Skills |
|
|
246
|
+
| "Is this valid?" | Relevant cc-manager skill | Cc-manager validates |
|
|
247
|
+
| "Fix this error" | moai-cc-* (specific) | Skills provide solutions |
|
|
248
|
+
| "Choose architecture" | moai-cc-guide | Only guide has decision tree |
|
|
249
|
+
|
|
250
|
+
---
|
|
251
|
+
|
|
252
|
+
## 💡 Philosophy
|
|
253
|
+
|
|
254
|
+
**v3.0.0 Design**: Separation of concerns
|
|
255
|
+
- **Skills** = Pure knowledge (HOW to use Claude Code)
|
|
256
|
+
- **cc-manager** = Operational orchestration (Apply standards)
|
|
257
|
+
- **moai-cc-guide** = Architecture decisions (WHAT to use)
|
|
258
|
+
|
|
259
|
+
**Result**:
|
|
260
|
+
- ✅ DRY - No duplicate knowledge
|
|
261
|
+
- ✅ Maintainable - Each component has one job
|
|
262
|
+
- ✅ Scalable - New Skills don't bloat cc-manager
|
|
263
|
+
- ✅ Progressive Disclosure - Load only what you need
|
|
264
|
+
|
|
265
|
+
---
|
|
266
|
+
|
|
267
|
+
## 📞 User Interactions
|
|
268
|
+
|
|
269
|
+
**Ask cc-manager for**:
|
|
270
|
+
- File creation ("Create agent...")
|
|
271
|
+
- Validation ("Verify this...")
|
|
272
|
+
- Fixes ("Fix the standards...")
|
|
273
|
+
|
|
274
|
+
**Ask Skills for**:
|
|
275
|
+
- Guidance ("How do I...")
|
|
276
|
+
- Patterns ("Show me...")
|
|
277
|
+
- Decisions ("Should I...")
|
|
278
|
+
|
|
279
|
+
**Ask moai-cc-guide for**:
|
|
280
|
+
- Architecture ("Agents vs Commands...")
|
|
281
|
+
- Workflows ("/alfred:* integration...")
|
|
282
|
+
- Roadmaps ("What's next...")
|
|
283
|
+
|
|
284
|
+
---
|
|
285
|
+
|
|
286
|
+
## ✨ Example: New Skill
|
|
287
|
+
|
|
288
|
+
```bash
|
|
289
|
+
# Request to cc-manager
|
|
290
|
+
@agent-cc-manager "Create skill: ears-pattern
|
|
291
|
+
- Purpose: EARS syntax teaching
|
|
292
|
+
- Model: haiku
|
|
293
|
+
- Location: .claude/skills/ears-pattern/"
|
|
294
|
+
|
|
295
|
+
# cc-manager validates, creates file, checks standards
|
|
296
|
+
|
|
297
|
+
# User references skill:
|
|
298
|
+
Skill("ears-pattern") # Now available in commands/agents
|
|
299
|
+
```
|
|
300
|
+
|
|
301
|
+
---
|
|
302
|
+
|
|
303
|
+
## 🔄 Autorun Conditions
|
|
304
|
+
|
|
305
|
+
- **SessionStart**: Detect project + offer initial setup
|
|
306
|
+
- **File creation**: Validate YAML + check standards
|
|
307
|
+
- **Verification request**: Batch-check all `.claude/` files
|
|
308
|
+
- **Update detection**: Alert if cc-manager itself is updated
|
|
309
|
+
|
|
310
|
+
---
|
|
311
|
+
|
|
312
|
+
**Last Updated**: 2025-10-23
|
|
313
|
+
**Version**: 3.0.0 (Refactored for Skills delegation)
|
|
314
|
+
**Philosophy**: Lean operational agent + Rich knowledge in Skills
|
|
315
|
+
|
|
316
|
+
For comprehensive guidance, reference the 9 specialized Skills in `.claude/skills/moai-cc-*/`.
|