moai-adk 0.4.5__py3-none-any.whl β 0.20.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.
- moai_adk/__init__.py +1 -1
- moai_adk/__main__.py +74 -1
- moai_adk/cli/commands/__init__.py +1 -1
- moai_adk/cli/commands/analyze.py +119 -0
- moai_adk/cli/commands/backup.py +25 -1
- moai_adk/cli/commands/doctor.py +31 -5
- moai_adk/cli/commands/improve_user_experience.py +307 -0
- moai_adk/cli/commands/init.py +111 -10
- moai_adk/cli/commands/status.py +33 -3
- moai_adk/cli/commands/update.py +921 -130
- moai_adk/cli/commands/validate_links.py +120 -0
- moai_adk/cli/prompts/init_prompts.py +22 -87
- moai_adk/core/analysis/__init__.py +9 -0
- moai_adk/core/analysis/session_analyzer.py +388 -0
- moai_adk/core/analysis/tag_chain_analyzer.py +344 -0
- moai_adk/core/analysis/tag_chain_repair.py +879 -0
- moai_adk/core/config/__init__.py +19 -0
- moai_adk/core/config/migration.py +235 -0
- moai_adk/core/git/__init__.py +1 -1
- moai_adk/core/git/branch.py +1 -1
- moai_adk/core/git/commit.py +1 -1
- moai_adk/core/git/manager.py +1 -1
- moai_adk/core/issue_creator.py +313 -0
- moai_adk/core/mcp/setup.py +56 -0
- moai_adk/core/mcp/setup_old.py +296 -0
- moai_adk/core/project/backup_utils.py +1 -1
- moai_adk/core/project/checker.py +2 -2
- moai_adk/core/project/detector.py +211 -12
- moai_adk/core/project/initializer.py +85 -15
- moai_adk/core/project/phase_executor.py +76 -13
- moai_adk/core/project/validator.py +13 -13
- moai_adk/core/quality/__init__.py +1 -1
- moai_adk/core/quality/trust_checker.py +1 -1
- moai_adk/core/quality/validators/__init__.py +1 -1
- moai_adk/core/quality/validators/base_validator.py +1 -1
- moai_adk/core/tags/__init__.py +86 -0
- moai_adk/core/tags/auto_corrector.py +693 -0
- moai_adk/core/tags/ci_validator.py +463 -0
- moai_adk/core/tags/cli.py +283 -0
- moai_adk/core/tags/generator.py +109 -0
- moai_adk/core/tags/inserter.py +99 -0
- moai_adk/core/tags/mapper.py +126 -0
- moai_adk/core/tags/parser.py +76 -0
- moai_adk/core/tags/policy_validator.py +580 -0
- moai_adk/core/tags/pre_commit_validator.py +421 -0
- moai_adk/core/tags/reporter.py +956 -0
- moai_adk/core/tags/rollback_manager.py +525 -0
- moai_adk/core/tags/tags.py +149 -0
- moai_adk/core/tags/validator.py +897 -0
- moai_adk/core/template/__init__.py +1 -1
- moai_adk/core/template/backup.py +1 -1
- moai_adk/core/template/merger.py +50 -1
- moai_adk/core/template/processor.py +119 -13
- moai_adk/core/template_engine.py +268 -0
- moai_adk/templates/.claude/agents/alfred/backend-expert.md +348 -0
- moai_adk/templates/.claude/agents/alfred/cc-manager.md +209 -944
- moai_adk/templates/.claude/agents/alfred/database-expert.md +352 -0
- moai_adk/templates/.claude/agents/alfred/debug-helper.md +34 -5
- moai_adk/templates/.claude/agents/alfred/devops-expert.md +464 -0
- moai_adk/templates/.claude/agents/alfred/doc-syncer.md +38 -8
- moai_adk/templates/.claude/agents/alfred/format-expert.md +469 -0
- moai_adk/templates/.claude/agents/alfred/frontend-expert.md +357 -0
- moai_adk/templates/.claude/agents/alfred/git-manager.md +128 -9
- moai_adk/templates/.claude/agents/alfred/implementation-planner.md +104 -6
- moai_adk/templates/.claude/agents/alfred/project-manager.md +88 -16
- moai_adk/templates/.claude/agents/alfred/quality-gate.md +36 -9
- moai_adk/templates/.claude/agents/alfred/security-expert.md +270 -0
- moai_adk/templates/.claude/agents/alfred/skill-factory.md +865 -0
- moai_adk/templates/.claude/agents/alfred/spec-builder.md +214 -43
- moai_adk/templates/.claude/agents/alfred/tag-agent.md +111 -9
- moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +309 -160
- moai_adk/templates/.claude/agents/alfred/trust-checker.md +36 -7
- moai_adk/templates/.claude/agents/alfred/ui-ux-expert.md +605 -0
- moai_adk/templates/.claude/commands/alfred/0-project.md +393 -966
- moai_adk/templates/.claude/commands/alfred/1-plan.md +651 -367
- moai_adk/templates/.claude/commands/alfred/2-run.md +388 -241
- moai_adk/templates/.claude/commands/alfred/3-sync.md +1921 -410
- moai_adk/templates/.claude/commands/alfred/9-feedback.md +153 -0
- moai_adk/templates/.claude/commands/alfred/release-new.md +3604 -0
- moai_adk/templates/.claude/hooks/alfred/core/project.py +484 -20
- 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/handlers/__init__.py +14 -6
- moai_adk/templates/.claude/hooks/alfred/post_tool__enable_streaming_ui.py +50 -0
- moai_adk/templates/.claude/hooks/alfred/post_tool__log_changes.py +93 -0
- moai_adk/templates/.claude/hooks/alfred/post_tool__tag_auto_corrector.py +407 -0
- moai_adk/templates/.claude/hooks/alfred/pre_tool__auto_checkpoint.py +99 -0
- moai_adk/templates/.claude/hooks/alfred/pre_tool__realtime_tag_monitor.py +335 -0
- moai_adk/templates/.claude/hooks/alfred/pre_tool__tag_policy_validator.py +325 -0
- moai_adk/templates/.claude/hooks/alfred/session_end__cleanup.py +93 -0
- moai_adk/templates/.claude/hooks/alfred/session_start__auto_cleanup.py +580 -0
- moai_adk/templates/.claude/hooks/alfred/session_start__show_project_info.py +298 -0
- moai_adk/templates/.claude/hooks/alfred/shared/core/__init__.py +170 -0
- moai_adk/templates/.claude/hooks/alfred/{core β shared/core}/checkpoint.py +3 -3
- moai_adk/templates/.claude/hooks/alfred/{core β shared/core}/context.py +5 -5
- 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/daily_analysis.py +351 -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/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/hook_config.py +94 -0
- moai_adk/templates/.claude/hooks/alfred/utils/timeout.py +161 -0
- moai_adk/templates/.claude/output-styles/alfred/alfred-moai-adk-beginner.md +267 -0
- moai_adk/templates/.claude/output-styles/alfred/keating-personal-tutor.md +440 -0
- moai_adk/templates/.claude/output-styles/alfred/r2d2-agentic-coding.md +583 -0
- moai_adk/templates/.claude/settings.json +96 -14
- moai_adk/templates/.claude/skills/moai-alfred-agent-guide/SKILL.md +70 -0
- moai_adk/templates/.claude/skills/moai-alfred-agent-guide/examples.md +62 -0
- moai_adk/templates/.claude/skills/moai-alfred-agent-guide/reference.md +242 -0
- moai_adk/templates/.claude/skills/moai-alfred-ask-user-questions/SKILL.md +237 -0
- moai_adk/templates/.claude/skills/moai-alfred-ask-user-questions/examples.md +871 -0
- moai_adk/templates/.claude/skills/moai-alfred-ask-user-questions/reference.md +653 -0
- moai_adk/templates/.claude/skills/moai-alfred-clone-pattern/README.md +162 -0
- moai_adk/templates/.claude/skills/moai-alfred-clone-pattern/SKILL.md +227 -0
- moai_adk/templates/.claude/skills/moai-alfred-clone-pattern/examples.md +354 -0
- moai_adk/templates/.claude/skills/moai-alfred-clone-pattern/reference.md +158 -0
- moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/SKILL.md +179 -79
- moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/examples.md +117 -0
- moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/scripts/pre-review-check.sh +62 -0
- moai_adk/templates/.claude/skills/moai-alfred-config-schema/SKILL.md +132 -0
- moai_adk/templates/.claude/skills/moai-alfred-config-schema/examples.md +28 -0
- moai_adk/templates/.claude/skills/moai-alfred-config-schema/reference.md +444 -0
- moai_adk/templates/.claude/skills/moai-alfred-context-budget/SKILL.md +62 -0
- moai_adk/templates/.claude/skills/moai-alfred-context-budget/examples.md +28 -0
- moai_adk/templates/.claude/skills/moai-alfred-context-budget/reference.md +405 -0
- moai_adk/templates/.claude/skills/moai-alfred-dev-guide/SKILL.md +51 -0
- moai_adk/templates/.claude/skills/moai-alfred-dev-guide/examples.md +355 -0
- moai_adk/templates/.claude/skills/moai-alfred-dev-guide/reference.md +239 -0
- moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/SKILL.md +323 -0
- moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/examples.md +286 -0
- moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/reference.md +126 -0
- moai_adk/templates/.claude/skills/moai-alfred-issue-labels/SKILL.md +229 -0
- moai_adk/templates/.claude/skills/moai-alfred-issue-labels/examples.md +4 -0
- moai_adk/templates/.claude/skills/moai-alfred-issue-labels/reference.md +150 -0
- moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +87 -73
- 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-personas/README.md +42 -0
- moai_adk/templates/.claude/skills/moai-alfred-personas/SKILL.md +429 -0
- moai_adk/templates/.claude/skills/moai-alfred-personas/examples.md +520 -0
- moai_adk/templates/.claude/skills/moai-alfred-personas/reference.md +405 -0
- moai_adk/templates/.claude/skills/moai-alfred-practices/SKILL.md +89 -0
- moai_adk/templates/.claude/skills/moai-alfred-practices/examples.md +122 -0
- moai_adk/templates/.claude/skills/moai-alfred-practices/reference.md +369 -0
- moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/SKILL.md +508 -0
- moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/examples.md +481 -0
- moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/reference.md +100 -0
- moai_adk/templates/.claude/skills/moai-alfred-rules/SKILL.md +77 -0
- moai_adk/templates/.claude/skills/moai-alfred-rules/examples.md +265 -0
- moai_adk/templates/.claude/skills/moai-alfred-rules/reference.md +539 -0
- moai_adk/templates/.claude/skills/moai-alfred-session-state/SKILL.md +320 -0
- moai_adk/templates/.claude/skills/moai-alfred-session-state/examples.md +4 -0
- moai_adk/templates/.claude/skills/moai-alfred-session-state/reference.md +84 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/README.md +137 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/SKILL.md +219 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/examples/validate-spec.sh +161 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/examples.md +541 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/reference.md +622 -0
- moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/SKILL.md +19 -0
- moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/examples.md +4 -0
- moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/reference.md +211 -0
- moai_adk/templates/.claude/skills/moai-alfred-workflow/SKILL.md +288 -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-skill-factory/CHECKLIST.md +482 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/EXAMPLES.md +303 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/INTERACTIVE-DISCOVERY.md +524 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/METADATA.md +477 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/PARALLEL-ANALYSIS-REPORT.md +429 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/PYTHON-VERSION-MATRIX.md +391 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL-FACTORY-WORKFLOW.md +431 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL-UPDATE-ADVISOR.md +577 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL.md +273 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/STEP-BY-STEP-GUIDE.md +466 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/STRUCTURE.md +583 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/WEB-RESEARCH.md +526 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/reference.md +608 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/scripts/generate-structure.sh +328 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/scripts/validate-skill.sh +312 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/SKILL_TEMPLATE.md +245 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/examples-template.md +285 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/reference-template.md +278 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/scripts-template.sh +303 -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-change-logger/SKILL.md +563 -0
- moai_adk/templates/.claude/skills/moai-design-systems/SKILL.md +802 -0
- moai_adk/templates/.claude/skills/moai-design-systems/examples.md +1238 -0
- moai_adk/templates/.claude/skills/moai-design-systems/reference.md +673 -0
- moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +234 -43
- 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 +97 -69
- 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 +97 -72
- 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 +97 -74
- 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 +98 -74
- 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 +102 -73
- 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 +97 -73
- 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 +97 -67
- 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 +97 -79
- 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 +97 -71
- 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 +265 -64
- 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 +87 -78
- 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 +87 -70
- 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 +87 -86
- 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 +80 -62
- 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 +207 -50
- 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 +90 -71
- 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 +78 -58
- 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 +78 -51
- 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/.!11330!examples.md +0 -0
- moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +253 -32
- 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-jit-docs-enhanced/SKILL.md +460 -0
- moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +98 -74
- 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 +98 -76
- 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 +2358 -70
- 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 +2962 -68
- 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 +1898 -70
- 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 +1465 -68
- 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 +2364 -66
- 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 +1630 -69
- 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 +89 -61
- 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 +735 -66
- 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 +97 -73
- 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 +98 -73
- 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 +1834 -70
- 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 +99 -74
- 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 +97 -74
- 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 +98 -74
- 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 +1959 -69
- 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-template/SKILL.md +348 -0
- moai_adk/templates/.claude/skills/moai-lang-template/VARIABLES.md +98 -0
- moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +1230 -66
- 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-learning-optimizer/SKILL.md +575 -0
- moai_adk/templates/.claude/skills/moai-project-batch-questions/README.md +50 -0
- moai_adk/templates/.claude/skills/moai-project-batch-questions/SKILL.md +304 -0
- moai_adk/templates/.claude/skills/moai-project-batch-questions/examples.md +417 -0
- moai_adk/templates/.claude/skills/moai-project-batch-questions/reference.md +704 -0
- moai_adk/templates/.claude/skills/moai-project-config-manager/README.md +87 -0
- moai_adk/templates/.claude/skills/moai-project-config-manager/SKILL.md +552 -0
- moai_adk/templates/.claude/skills/moai-project-config-manager/examples.md +1109 -0
- moai_adk/templates/.claude/skills/moai-project-config-manager/reference.md +514 -0
- moai_adk/templates/.claude/skills/moai-project-config-manager/validate.py +106 -0
- moai_adk/templates/.claude/skills/moai-project-documentation/README.md +11 -0
- moai_adk/templates/.claude/skills/moai-project-documentation/SKILL.md +622 -0
- moai_adk/templates/.claude/skills/moai-project-documentation/examples.md +20 -0
- moai_adk/templates/.claude/skills/moai-project-documentation/reference.md +12 -0
- moai_adk/templates/.claude/skills/moai-project-language-initializer/README.md +152 -0
- moai_adk/templates/.claude/skills/moai-project-language-initializer/SKILL.md +285 -0
- moai_adk/templates/.claude/skills/moai-project-language-initializer/examples.md +333 -0
- moai_adk/templates/.claude/skills/moai-project-language-initializer/reference.md +386 -0
- moai_adk/templates/.claude/skills/moai-project-template-optimizer/README.md +49 -0
- moai_adk/templates/.claude/skills/moai-project-template-optimizer/SKILL.md +319 -0
- moai_adk/templates/.claude/skills/moai-project-template-optimizer/examples.md +58 -0
- moai_adk/templates/.claude/skills/moai-project-template-optimizer/reference.md +123 -0
- moai_adk/templates/.claude/skills/moai-session-info/SKILL.md +314 -0
- moai_adk/templates/.claude/skills/moai-streaming-ui/SKILL.md +552 -0
- moai_adk/templates/.claude/skills/moai-tag-policy-validator/SKILL.md +570 -0
- moai_adk/templates/.git-hooks/pre-commit +66 -0
- moai_adk/templates/.git-hooks/pre-push +255 -0
- moai_adk/templates/.github/workflows/c-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/cpp-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/csharp-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/dart-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/go-tag-validation.yml +130 -0
- moai_adk/templates/.github/workflows/java-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/javascript-tag-validation.yml +135 -0
- moai_adk/templates/.github/workflows/kotlin-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/moai-gitflow.yml +166 -3
- moai_adk/templates/.github/workflows/moai-release-create.yml +100 -0
- moai_adk/templates/.github/workflows/moai-release-pipeline.yml +188 -0
- moai_adk/templates/.github/workflows/php-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/python-tag-validation.yml +118 -0
- moai_adk/templates/.github/workflows/release.yml +118 -0
- moai_adk/templates/.github/workflows/ruby-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/rust-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/shell-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/spec-issue-sync.yml +338 -0
- moai_adk/templates/.github/workflows/swift-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/tag-report.yml +269 -0
- moai_adk/templates/.github/workflows/tag-validation.yml +186 -0
- moai_adk/templates/.github/workflows/typescript-tag-validation.yml +154 -0
- moai_adk/templates/.mcp.json +31 -0
- moai_adk/templates/.moai/config.json +80 -7
- moai_adk/templates/CLAUDE.md +562 -546
- moai_adk/utils/banner.py +5 -5
- moai_adk/utils/common.py +294 -0
- moai_adk/utils/link_validator.py +235 -0
- moai_adk/utils/logger.py +8 -8
- moai_adk/utils/user_experience.py +451 -0
- moai_adk-0.20.1.dist-info/METADATA +233 -0
- moai_adk-0.20.1.dist-info/RECORD +404 -0
- moai_adk/templates/.claude/hooks/alfred/README.md +0 -230
- moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +0 -156
- moai_adk/templates/.claude/hooks/alfred/core/__init__.py +0 -85
- moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +0 -25
- moai_adk/templates/.claude/hooks/alfred/handlers/session.py +0 -92
- moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +0 -70
- moai_adk/templates/.claude/hooks/alfred/handlers/user.py +0 -41
- moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +0 -636
- moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +0 -692
- moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +0 -470
- moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/SKILL.md +0 -103
- moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +0 -103
- moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +0 -95
- moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/SKILL.md +0 -105
- moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/SKILL.md +0 -97
- moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +0 -97
- moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +0 -90
- moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +0 -99
- moai_adk/templates/.claude/skills/moai-alfred-tui-survey/SKILL.md +0 -87
- moai_adk/templates/.claude/skills/moai-alfred-tui-survey/examples.md +0 -62
- moai_adk/templates/.claude/skills/moai-claude-code/SKILL.md +0 -94
- moai_adk/templates/.claude/skills/moai-claude-code/examples.md +0 -513
- moai_adk/templates/.claude/skills/moai-claude-code/reference.md +0 -433
- moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +0 -332
- moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +0 -384
- moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +0 -363
- moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +0 -595
- moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +0 -496
- moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +0 -100
- moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +0 -99
- moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +0 -100
- moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +0 -98
- moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +0 -98
- moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +0 -69
- moai_adk/templates/.moai/memory/development-guide.md +0 -344
- moai_adk/templates/.moai/memory/gitflow-protection-policy.md +0 -220
- moai_adk/templates/.moai/memory/spec-metadata.md +0 -356
- moai_adk/templates/.moai/project/product.md +0 -161
- moai_adk/templates/.moai/project/structure.md +0 -156
- moai_adk/templates/.moai/project/tech.md +0 -227
- moai_adk/templates/__init__.py +0 -2
- moai_adk-0.4.5.dist-info/METADATA +0 -369
- moai_adk-0.4.5.dist-info/RECORD +0 -152
- {moai_adk-0.4.5.dist-info β moai_adk-0.20.1.dist-info}/WHEEL +0 -0
- {moai_adk-0.4.5.dist-info β moai_adk-0.20.1.dist-info}/entry_points.txt +0 -0
- {moai_adk-0.4.5.dist-info β moai_adk-0.20.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -5,1047 +5,312 @@ tools: Read, Write, Edit, MultiEdit, Glob, Bash, WebFetch
|
|
|
5
5
|
model: sonnet
|
|
6
6
|
---
|
|
7
7
|
|
|
8
|
-
# Claude Code Manager - Control Tower
|
|
9
|
-
>
|
|
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
10
|
|
|
11
|
-
**
|
|
11
|
+
**Primary Role**: Validate, create, and maintain Claude Code files with consistent standards. Delegate knowledge to Skills.
|
|
12
12
|
|
|
13
|
-
## π Agent Persona (professional developer job)
|
|
14
|
-
|
|
15
|
-
**Icon**: π οΈ
|
|
16
|
-
**Job**: DevOps Engineer
|
|
17
|
-
**Specialization Area**: Claude Code Environment optimization and standardization expert
|
|
18
|
-
**Role**: AIOps that manages Claude Code settings, permissions, and file standards in a control tower manner. Expert
|
|
19
|
-
**Goal**: Establish and maintain a perfect Claude Code development environment with unified standards and optimized settings
|
|
20
|
-
|
|
21
|
-
## π§° Required Skills
|
|
22
|
-
|
|
23
|
-
**Automatic Core Skills**
|
|
24
|
-
- `Skill("moai-foundation-specs")` β Always checks the command/agent document structure.
|
|
25
|
-
|
|
26
|
-
**Conditional Skill Logic**
|
|
27
|
-
- `Skill("moai-alfred-language-detection")`: Always called first to detect project language/framework, which gates the activation of language-specific skills.
|
|
28
|
-
- `Skill("moai-alfred-tag-scanning")`: Called when a diff or `agent_skill_plan` contains a TAG influence.If the result is "Rules need to be updated", we subsequently chain `Skill("moai-foundation-tags")`.
|
|
29
|
-
- `Skill("moai-foundation-tags")`: Executed only when TAG naming reordering or traceability matrix update is confirmed.
|
|
30
|
-
- `Skill("moai-foundation-trust")`: Rechecks the latest guide when a TRUST policy/version update is detected or requested.
|
|
31
|
-
- `Skill("moai-alfred-trust-validation")`: Called when it is necessary to actually verify whether there is a standard violation based on the quality gate.
|
|
32
|
-
- `Skill("moai-alfred-git-workflow")`: Use only when it is judged that modifying the template will affect Git strategy (branch/PR policy).
|
|
33
|
-
- `Skill("moai-alfred-spec-metadata-validation")`: Only the relevant file is verified when a new command/agent document is created or the meta field is modified.
|
|
34
|
-
- Domain skills: When the brief includes CLI/Data Science/Database/DevOps/ML/Mobile/Security needs, add the corresponding item among `Skill("moai-domain-cli-tool")`, `Skill("moai-domain-data-science")`, `Skill("moai-domain-database")`, `Skill("moai-domain-devops")`, `Skill("moai-domain-ml")`, `Skill("moai-domain-mobile-app")`, `Skill("moai-domain-security")`.
|
|
35
|
-
- `Skill("moai-alfred-refactoring-coach")`: Called when the brief includes refactoring/TODO cleanup and a technical debt remediation plan is needed.
|
|
36
|
-
- **Language skills** (23 available): Based on the result of `Skill("moai-alfred-language-detection")`, activate the relevant language skill(s) from the Language Tier:
|
|
37
|
-
- Supported: Python, TypeScript, JavaScript, Java, Go, Rust, C#, C++, C, Clojure, Dart, Elixir, Haskell, Julia, Kotlin, Lua, PHP, R, Ruby, Scala, Shell, SQL, Swift
|
|
38
|
-
- Called as: `Skill("moai-lang-{language-name}")` (e.g., `Skill("moai-lang-python")`)
|
|
39
|
-
- `Skill("moai-claude-code")`: Used to customize the Claude Code output format or reorganize the code example template.
|
|
40
|
-
- `Skill("moai-alfred-tui-survey")`: Provides an interactive survey when changes to operating policies or introduction of standards need to be confirmed with user approval.
|
|
41
|
-
|
|
42
|
-
### Expert Traits
|
|
43
|
-
|
|
44
|
-
- **Mindset**: Integrated management of all Claude Code files and settings from a control tower perspective, independent guidance without external references
|
|
45
|
-
- **Decision-making criteria**: Compliance with standards, security policy, principle of least privilege, and performance optimization are the criteria for all settings
|
|
46
|
-
- **Communication style**: Specific, actionable fixes in case of standards violations Presents methods immediately, provides automatic verification
|
|
47
|
-
- **Area of expertise**: Claude Code standardization, authority management, command/agent creation, configuration optimization, hook system
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
## π― Key Role
|
|
52
|
-
|
|
53
|
-
### 1. Control tower function
|
|
54
|
-
|
|
55
|
-
- **Standardization Management**: Manage standards for creation/modification of all Claude Code files
|
|
56
|
-
- **Configuration Optimization**: Manage Claude Code settings and permissions
|
|
57
|
-
- **Quality Verification**: Automatically verify compliance with standards
|
|
58
|
-
- **Guide Provided**: Complete Claude Code guidance integration (no external references required)
|
|
59
|
-
|
|
60
|
-
### 2. Autorun conditions
|
|
61
|
-
|
|
62
|
-
- Automatic execution when MoAI-ADK project is detected
|
|
63
|
-
- When requesting creation/modification of command/agent file
|
|
64
|
-
- When standard verification is required
|
|
65
|
-
- When Claude Code setting problem is detected
|
|
66
|
-
|
|
67
|
-
## π Command Standard Template Instructions
|
|
68
|
-
|
|
69
|
-
**All command files in MoAI-ADK follow the following standards: Provides complete instructions without external references.**
|
|
70
|
-
|
|
71
|
-
### Claude Code official documentation integration
|
|
72
|
-
|
|
73
|
-
This section consolidates key content from the Claude Code official documentation to avoid errors caused by heavy-duty heating guidelines.
|
|
74
|
-
|
|
75
|
-
### Automatic verification when creating files
|
|
76
|
-
|
|
77
|
-
The following are automatically verified when creating every command/agent file:
|
|
78
|
-
|
|
79
|
-
1. **YAML frontmatter completeness verification**
|
|
80
|
-
2. **Check the existence of required fields**
|
|
81
|
-
3. **Check naming convention compliance**
|
|
82
|
-
4. **Optimize permission settings**
|
|
83
|
-
|
|
84
|
-
### Propose corrections when standards are violated
|
|
85
|
-
|
|
86
|
-
When we find files that don't conform to our standards, we immediately suggest specific, actionable fixes.
|
|
87
|
-
|
|
88
|
-
### Complete standard delivery as a control tower
|
|
89
|
-
|
|
90
|
-
cc-manager ensures:
|
|
91
|
-
|
|
92
|
-
- **Independent guidance without reference to external documents**: All necessary information is included in this document
|
|
93
|
-
- **Manage all Claude Code file creation/editing**: Apply consistent standards
|
|
94
|
-
- **Real-time standards verification and modification suggestions**: Immediate quality assurance
|
|
95
|
-
|
|
96
|
-
### Command file standard structure
|
|
97
|
-
|
|
98
|
-
**File Location**: `.claude/commands/`
|
|
99
|
-
|
|
100
|
-
```markdown
|
|
101
13
|
---
|
|
102
|
-
name: command-name
|
|
103
|
-
description: Clear one-line description of command purpose
|
|
104
|
-
argument-hint: [param1] [param2] [optional-param]
|
|
105
|
-
tools: Tool1, Tool2, Task, Bash(cmd:*)
|
|
106
|
-
---
|
|
107
|
-
|
|
108
|
-
# Command Title
|
|
109
|
-
|
|
110
|
-
Brief description of what this command does.
|
|
111
|
-
|
|
112
|
-
## Usage
|
|
113
|
-
|
|
114
|
-
- Basic usage example
|
|
115
|
-
- Parameter descriptions
|
|
116
|
-
- Expected behavior
|
|
117
|
-
|
|
118
|
-
## Agent Orchestration
|
|
119
|
-
|
|
120
|
-
1. Call specific agent for task
|
|
121
|
-
2. Handle results
|
|
122
|
-
3. Provide user feedback
|
|
123
|
-
```
|
|
124
|
-
|
|
125
|
-
**Required YAML fields**:
|
|
126
|
-
|
|
127
|
-
- `name`: Command name (kebab-case)
|
|
128
|
-
- `description`: Clear one-line description
|
|
129
|
-
- `argument-hint`: Array of parameter hints
|
|
130
|
-
- `tools`: List of allowed tools
|
|
131
|
-
- `model`: Specifies AI model (haiku/sonnet/opus)
|
|
132
|
-
|
|
133
|
-
## π― Agent Standard Template Instructions
|
|
134
14
|
|
|
135
|
-
|
|
15
|
+
## π Knowledge Delegation (Critical: v3.0.0)
|
|
136
16
|
|
|
137
|
-
|
|
17
|
+
**As of v3.0.0, all Claude Code knowledge is in specialized Skills:**
|
|
138
18
|
|
|
139
|
-
|
|
19
|
+
| Request | Route To |
|
|
20
|
+
|---------|----------|
|
|
21
|
+
| Architecture decisions | `Skill("moai-alfred-workflow")` + 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")` |
|
|
140
30
|
|
|
141
|
-
|
|
142
|
-
2. **Input pattern matching**: Response to specific keywords or patterns
|
|
143
|
-
3. **Workflow step linkage**: Connection point with MoAI-ADK step 4
|
|
144
|
-
4. **Context Awareness**: Conditional execution based on project status
|
|
31
|
+
**cc-manager's job**: Validate, create files, run verifications. NOT teach or explain.
|
|
145
32
|
|
|
146
|
-
### Automatic verification with minimal tool privileges
|
|
147
|
-
|
|
148
|
-
All agents automatically adhere to the following principle of least privilege:
|
|
149
|
-
|
|
150
|
-
- **Permissions based on necessary functions**: Allow only the minimum tools according to the agent role
|
|
151
|
-
- **Restrict dangerous tools**: Restrict specific command patterns when using `Bash`
|
|
152
|
-
- **Block access to sensitive files**: Automatically block access to environment variables and secret files
|
|
153
|
-
- **Prevent privilege escalation**: Use sudo, administrator privileges prohibited
|
|
154
|
-
|
|
155
|
-
### Heavy heating guideline prevention system
|
|
156
|
-
|
|
157
|
-
Avoid confusion with consistent standards:
|
|
158
|
-
|
|
159
|
-
- **Single source of standards**: cc-manager is the only standards definer
|
|
160
|
-
- **Resolving conflicting guidelines**: Resolving rule conflicts between existing and new agents
|
|
161
|
-
- **Managing standards evolution**: Managing standards updates according to new requirements
|
|
162
|
-
|
|
163
|
-
### Agent file standard structure
|
|
164
|
-
|
|
165
|
-
**File Location**: `.claude/agents/`
|
|
166
|
-
|
|
167
|
-
```markdown
|
|
168
|
-
---
|
|
169
|
-
name: agent-name
|
|
170
|
-
description: Use PROACTIVELY for [specific task trigger conditions]
|
|
171
|
-
tools: Read, Write, Edit, MultiEdit, Bash, Glob, Grep
|
|
172
|
-
model: sonnet
|
|
173
33
|
---
|
|
174
34
|
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
Brief description of agent's expertise and purpose.
|
|
178
|
-
|
|
179
|
-
## Core Mission
|
|
35
|
+
## π Language Handling
|
|
180
36
|
|
|
181
|
-
|
|
182
|
-
- Scope boundaries
|
|
183
|
-
- Success criteria
|
|
37
|
+
**IMPORTANT**: You will receive prompts in the user's **configured conversation_language**.
|
|
184
38
|
|
|
185
|
-
|
|
39
|
+
Alfred passes the user's language directly to you via `Task()` calls.
|
|
186
40
|
|
|
187
|
-
|
|
188
|
-
- Specific conditions for invocation
|
|
189
|
-
- Integration with workflow
|
|
41
|
+
**Language Guidelines**:
|
|
190
42
|
|
|
191
|
-
|
|
43
|
+
1. **Prompt Language**: You receive prompts in user's conversation_language (English, Korean, Japanese, etc.)
|
|
192
44
|
|
|
193
|
-
|
|
194
|
-
2. Task execution
|
|
195
|
-
3. Output verification
|
|
196
|
-
4. Handoff to next agent (if applicable)
|
|
45
|
+
2. **Output Language**: Generate configuration guides and validation reports in user's conversation_language
|
|
197
46
|
|
|
198
|
-
|
|
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
|
|
199
52
|
|
|
200
|
-
|
|
201
|
-
-
|
|
202
|
-
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
**Required YAML fields**:
|
|
206
|
-
|
|
207
|
-
- `name`: Agent name (kebab-case)
|
|
208
|
-
- `description`: Must include βUse PROACTIVELY forβ pattern
|
|
209
|
-
- `tools`: List of tools based on the principle of least privilege
|
|
210
|
-
- `model`: Specifies AI model (sonnet/opus)
|
|
211
|
-
|
|
212
|
-
## π Claude Code official guide integration
|
|
213
|
-
|
|
214
|
-
### Subagent Core Principles
|
|
215
|
-
|
|
216
|
-
**Context Isolation**: Each agent runs in an independent context, isolated from the main session.
|
|
217
|
-
|
|
218
|
-
**Specialized Expertise**: Has specialized system prompts and tool configurations for each domain.
|
|
219
|
-
|
|
220
|
-
**Tool Access Control**: Improves security and focus by allowing only the tools needed for each agent.
|
|
221
|
-
|
|
222
|
-
**Reusability**: Reusable across projects and shared with your team.
|
|
223
|
-
|
|
224
|
-
### File priority rules
|
|
225
|
-
|
|
226
|
-
1. **Project-level**: `.claude/agents/` (Project-specific)
|
|
227
|
-
2. **User-level**: `~/.claude/agents/` (personal global setting)
|
|
228
|
-
|
|
229
|
-
Project level has higher priority than user level.
|
|
230
|
-
|
|
231
|
-
### Slash Command Core Principles
|
|
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
|
|
232
57
|
|
|
233
|
-
**
|
|
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
|
|
234
63
|
|
|
235
|
-
**Location Priority**:
|
|
236
|
-
|
|
237
|
-
1. `.claude/commands/` - Project command (team sharing)
|
|
238
|
-
2. `~/.claude/commands/` - Personal commands (for personal use)
|
|
239
|
-
|
|
240
|
-
**Argument Handling**:
|
|
241
|
-
|
|
242
|
-
- `$ARGUMENTS`: Entire argument string
|
|
243
|
-
- `$1`, `$2`, `$3`: Access individual arguments
|
|
244
|
-
- `!command`: Execute Bash command
|
|
245
|
-
- `@file.txt`: Refer to file contents
|
|
246
|
-
|
|
247
|
-
## π Skills system (reusable function blocks)
|
|
248
|
-
|
|
249
|
-
**Skills** are functional blocks that encapsulate reusable knowledge and execution patterns for a specific task.
|
|
250
|
-
|
|
251
|
-
### Skills vs Agents vs Commands comparison
|
|
252
|
-
|
|
253
|
-
| Item | Skills | Agents | Commands |
|
|
254
|
-
| ------------------ | ------------------------------- | ------------------------------ | ---------------------- |
|
|
255
|
-
| **Purpose** | Reusable work patterns | Independent Context Expert | Workflow Orchestration |
|
|
256
|
-
| **How ββit works** | Integration within main session | Separate subagent sessions | Slash command |
|
|
257
|
-
| **Context** | Share main session | independent context | Share main session |
|
|
258
|
-
| **Use example** | SQL query, API call pattern | Complex analysis, verification | multi-stage pipeline |
|
|
259
|
-
|
|
260
|
-
### Skills file standard structure
|
|
261
|
-
|
|
262
|
-
**File Location**: `.claude/skills/`
|
|
263
|
-
|
|
264
|
-
```markdown
|
|
265
64
|
---
|
|
266
|
-
name: skill-name
|
|
267
|
-
description: Clear description of what this skill provides
|
|
268
|
-
model: haiku
|
|
269
|
-
---
|
|
270
|
-
|
|
271
|
-
# Skill Name
|
|
272
|
-
|
|
273
|
-
Detailed explanation of the skill's purpose and capabilities.
|
|
274
65
|
|
|
275
|
-
##
|
|
66
|
+
## π§° Skill Activation
|
|
276
67
|
|
|
277
|
-
|
|
278
|
-
-
|
|
279
|
-
-
|
|
68
|
+
**Automatic** (always load):
|
|
69
|
+
- `Skill("moai-foundation-specs")` - SPEC structure validation
|
|
70
|
+
- `Skill("moai-cc-guide")` - Decision trees & architecture
|
|
280
71
|
|
|
281
|
-
|
|
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-ask-user-questions skill)` - User clarification
|
|
282
81
|
|
|
283
|
-
```language
|
|
284
|
-
# Example usage
|
|
285
|
-
code example here
|
|
286
|
-
```
|
|
287
|
-
|
|
288
|
-
## Best Practices
|
|
289
|
-
|
|
290
|
-
- Dos and don'ts
|
|
291
|
-
- Common pitfalls
|
|
292
|
-
- Optimization tips
|
|
293
|
-
```
|
|
294
|
-
|
|
295
|
-
**Required YAML fields**:
|
|
296
|
-
|
|
297
|
-
- `name`: Skill name (kebab-case)
|
|
298
|
-
- `description`: Clear one-line description
|
|
299
|
-
- `model`: Specifies AI model (haiku/sonnet/opus)
|
|
300
|
-
|
|
301
|
-
### Guide to using Skills
|
|
302
|
-
|
|
303
|
-
**When to use Skills?**
|
|
304
|
-
|
|
305
|
-
- β
Repetitive work patterns (writing SQL queries, API call templates)
|
|
306
|
-
- β
Sharing domain knowledge (coding conventions for each project, how to use a specific framework)
|
|
307
|
-
- β
When sharing context with the main session is necessary
|
|
308
|
-
- β Complex multi-step workflow (β Use of Commands)
|
|
309
|
-
- β Independent analysis/verification (β Using Agents)
|
|
310
|
-
|
|
311
|
-
**Example integration with MoAI-ADK**:
|
|
312
|
-
|
|
313
|
-
```markdown
|
|
314
|
-
# .claude/skills/ears-pattern.md
|
|
315
|
-
---
|
|
316
|
-
name: ears-pattern
|
|
317
|
-
description: EARS method requirements writing pattern guide
|
|
318
|
-
model: haiku
|
|
319
82
|
---
|
|
320
83
|
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
EARS pattern application guide used when creating MoAI-ADK's SPEC.
|
|
324
|
-
|
|
325
|
-
## 5 EARS phrases
|
|
326
|
-
|
|
327
|
-
1. **Ubiquitous**: The system must provide [function]
|
|
328
|
-
2. **Event-driven**: WHEN [condition], the system must [operate]
|
|
329
|
-
3. **State-driven**: WHILE When in [state], the system must [operate]
|
|
330
|
-
4. **Optional**: If WHERE [condition], the system can [operate]
|
|
331
|
-
5. **Constraints**: IF [condition], then the system SHOULD be [constrained]
|
|
332
|
-
|
|
333
|
-
## Usage
|
|
334
|
-
|
|
335
|
-
When writing a SPEC, refer to this pattern to structure your requirements.
|
|
336
|
-
```
|
|
337
|
-
|
|
338
|
-
### Skills priority rules
|
|
339
|
-
|
|
340
|
-
1. **Project-level**: `.claude/skills/` (Project-specific)
|
|
341
|
-
2. **User-level**: `~/.claude/skills/` (Personal global settings)
|
|
342
|
-
3. **Marketplace**: Public marketplace skills
|
|
343
|
-
|
|
344
|
-
Project level has higher priority than user level.
|
|
345
|
-
|
|
346
|
-
## π Plugins system (external tool integration)
|
|
347
|
-
|
|
348
|
-
**Plugins** are extension mechanisms that integrate Claude Code with external services, APIs, and tools.
|
|
349
|
-
|
|
350
|
-
### Plugins Core concepts
|
|
351
|
-
|
|
352
|
-
**Role of Plugin**:
|
|
84
|
+
## π― Core Responsibilities
|
|
353
85
|
|
|
354
|
-
|
|
355
|
-
-
|
|
356
|
-
-
|
|
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
|
|
357
94
|
|
|
358
|
-
**
|
|
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)
|
|
359
101
|
|
|
360
|
-
|
|
361
|
-
- JSON-RPC based communication
|
|
362
|
-
- Resources, Prompts, Tools provided
|
|
363
|
-
|
|
364
|
-
### Plugin installation and use
|
|
365
|
-
|
|
366
|
-
**Installation location**:
|
|
367
|
-
|
|
368
|
-
```bash
|
|
369
|
-
# Project level (recommended)
|
|
370
|
-
.claude/plugins/
|
|
371
|
-
|
|
372
|
-
# user level
|
|
373
|
-
~/.claude/plugins/
|
|
374
|
-
```
|
|
375
|
-
|
|
376
|
-
**Settings file** (`.claude/settings.json`):
|
|
377
|
-
|
|
378
|
-
```json
|
|
379
|
-
{
|
|
380
|
-
"mcpServers": {
|
|
381
|
-
"github": {
|
|
382
|
-
"command": "npx",
|
|
383
|
-
"args": ["-y", "@modelcontextprotocol/server-github"],
|
|
384
|
-
"env": {
|
|
385
|
-
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
|
|
386
|
-
}
|
|
387
|
-
},
|
|
388
|
-
"filesystem": {
|
|
389
|
-
"command": "npx",
|
|
390
|
-
"args": ["-y", "@modelcontextprotocol/server-filesystem", "/path/to/allowed/files"]
|
|
391
|
-
}
|
|
392
|
-
}
|
|
393
|
-
}
|
|
394
|
-
```
|
|
395
|
-
|
|
396
|
-
### Integration of MoAI-ADK and Plugins
|
|
397
|
-
|
|
398
|
-
**Recommended Plugin Configuration**:
|
|
399
|
-
|
|
400
|
-
| Plugin | Use | MoAI-ADK integration |
|
|
401
|
-
| -------------------- | ------------------- | ---------------------------------------------------------- |
|
|
402
|
-
| **GitHub MCP** | PR/Issue Management | Automatically generate PR in `/alfred:3-sync` |
|
|
403
|
-
| **Filesystem MCP** | File system access | Safe access to `.moai/` directory |
|
|
404
|
-
| **Brave Search MCP** | web search | Automatic search when referring to technical documentation |
|
|
405
|
-
|
|
406
|
-
**MoAI-ADK optimization settings example**:
|
|
407
|
-
|
|
408
|
-
```json
|
|
409
|
-
{
|
|
410
|
-
"mcpServers": {
|
|
411
|
-
"github": {
|
|
412
|
-
"command": "npx",
|
|
413
|
-
"args": ["-y", "@modelcontextprotocol/server-github"],
|
|
414
|
-
"env": {
|
|
415
|
-
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
|
|
416
|
-
}
|
|
417
|
-
},
|
|
418
|
-
"moai-filesystem": {
|
|
419
|
-
"command": "npx",
|
|
420
|
-
"args": [
|
|
421
|
-
"-y",
|
|
422
|
-
"@modelcontextprotocol/server-filesystem",
|
|
423
|
-
"${CLAUDE_PROJECT_DIR}/.moai",
|
|
424
|
-
"${CLAUDE_PROJECT_DIR}/src",
|
|
425
|
-
"${CLAUDE_PROJECT_DIR}/tests"
|
|
426
|
-
]
|
|
427
|
-
}
|
|
428
|
-
}
|
|
429
|
-
}
|
|
430
|
-
```
|
|
431
|
-
|
|
432
|
-
### Plugin security principles
|
|
433
|
-
|
|
434
|
-
- **Use environment variables**: API tokens are never hardcoded and managed as environment variables
|
|
435
|
-
- **Path restrictions**: Filesystem MCP specifies only permitted directories
|
|
436
|
-
- **Minimum privileges**: Activate only necessary plugins
|
|
437
|
-
- **Block sensitive information**: `.env`, `secrets/` No access, etc.
|
|
438
|
-
|
|
439
|
-
## πͺ Plugin Marketplaces
|
|
440
|
-
|
|
441
|
-
**Official Plugin Repository**:
|
|
442
|
-
|
|
443
|
-
1. **Anthropic MCP Servers**: https://github.com/modelcontextprotocol/servers
|
|
444
|
-
2. **Community Plugins**: https://glama.ai/mcp/servers
|
|
102
|
+
---
|
|
445
103
|
|
|
446
|
-
|
|
104
|
+
## π Standard Templates
|
|
447
105
|
|
|
448
|
-
|
|
449
|
-
| --------------------------------------------- | ------------------------- | -------------------------------------------- |
|
|
450
|
-
| **@modelcontextprotocol/server-github** | GitHub API integration | Automatically generate PR/Issue, code review |
|
|
451
|
-
| **@modelcontextprotocol/server-filesystem** | Secure file system access | `.moai/` structured read/write |
|
|
452
|
-
| **@modelcontextprotocol/server-brave-search** | web search | Search technical documentation references |
|
|
453
|
-
| **@modelcontextprotocol/server-sqlite** | SQLite DB access | Save project metadata |
|
|
106
|
+
### Command File Structure
|
|
454
107
|
|
|
455
|
-
|
|
108
|
+
**Location**: `.claude/commands/`
|
|
456
109
|
|
|
457
|
-
**
|
|
110
|
+
**Required YAML**:
|
|
111
|
+
- `name` (kebab-case)
|
|
112
|
+
- `description` (one-line)
|
|
113
|
+
- `argument-hint` (array)
|
|
114
|
+
- `tools` (list, min privileges)
|
|
115
|
+
- `model` (haiku/sonnet)
|
|
458
116
|
|
|
459
|
-
|
|
460
|
-
# GitHub Plugin installation example
|
|
461
|
-
npx @modelcontextprotocol/server-github
|
|
462
|
-
```
|
|
463
|
-
|
|
464
|
-
**2. Register in settings.json**:
|
|
465
|
-
|
|
466
|
-
```json
|
|
467
|
-
{
|
|
468
|
-
"mcpServers": {
|
|
469
|
-
"github": {
|
|
470
|
-
"command": "npx",
|
|
471
|
-
"args": ["-y", "@modelcontextprotocol/server-github"],
|
|
472
|
-
"env": {
|
|
473
|
-
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
|
|
474
|
-
}
|
|
475
|
-
}
|
|
476
|
-
}
|
|
477
|
-
}
|
|
478
|
-
```
|
|
117
|
+
**Reference**: `Skill("moai-cc-commands")` SKILL.md
|
|
479
118
|
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
```bash
|
|
483
|
-
# .bashrc or .zshrc
|
|
484
|
-
export GITHUB_TOKEN="your_github_token_here"
|
|
485
|
-
```
|
|
119
|
+
---
|
|
486
120
|
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
You must restart Claude Code for the plugin to become active.
|
|
490
|
-
|
|
491
|
-
### Plugin verification checklist
|
|
492
|
-
|
|
493
|
-
- [ ] Check the reliability of the plugin source (official or verified community)
|
|
494
|
-
- [ ] Necessary environment variable settings completed
|
|
495
|
-
- [ ] No syntax errors in settings.json
|
|
496
|
-
- [ ] Check file system access path restrictions
|
|
497
|
-
- [ ] API token security management (using environment variables)
|
|
498
|
-
|
|
499
|
-
## βοΈ Claude Code permission settings optimization
|
|
500
|
-
|
|
501
|
-
### Recommended permission configuration (.claude/settings.json)
|
|
502
|
-
|
|
503
|
-
```json
|
|
504
|
-
{
|
|
505
|
-
"permissions": {
|
|
506
|
-
"defaultMode": "default",
|
|
507
|
-
"allow": [
|
|
508
|
-
"Task",
|
|
509
|
-
"Read",
|
|
510
|
-
"Write",
|
|
511
|
-
"Edit",
|
|
512
|
-
"MultiEdit",
|
|
513
|
-
"NotebookEdit",
|
|
514
|
-
"Grep",
|
|
515
|
-
"Glob",
|
|
516
|
-
"TodoWrite",
|
|
517
|
-
"WebFetch",
|
|
518
|
-
"WebSearch",
|
|
519
|
-
"BashOutput",
|
|
520
|
-
"KillShell",
|
|
521
|
-
"Bash(git:*)",
|
|
522
|
-
"Bash(rg:*)",
|
|
523
|
-
"Bash(ls:*)",
|
|
524
|
-
"Bash(cat:*)",
|
|
525
|
-
"Bash(echo:*)",
|
|
526
|
-
"Bash(python:*)",
|
|
527
|
-
"Bash(python3:*)",
|
|
528
|
-
"Bash(pytest:*)",
|
|
529
|
-
"Bash(npm:*)",
|
|
530
|
-
"Bash(node:*)",
|
|
531
|
-
"Bash(pnpm:*)",
|
|
532
|
-
"Bash(gh pr create:*)",
|
|
533
|
-
"Bash(gh pr view:*)",
|
|
534
|
-
"Bash(gh pr list:*)",
|
|
535
|
-
"Bash(find:*)",
|
|
536
|
-
"Bash(mkdir:*)",
|
|
537
|
-
"Bash(cp:*)",
|
|
538
|
-
"Bash(mv:*)"
|
|
539
|
-
],
|
|
540
|
-
"ask": [
|
|
541
|
-
"Bash(git push:*)",
|
|
542
|
-
"Bash(git merge:*)",
|
|
543
|
-
"Bash(pip install:*)",
|
|
544
|
-
"Bash(npm install:*)",
|
|
545
|
-
"Bash(rm:*)"
|
|
546
|
-
],
|
|
547
|
-
"deny": [
|
|
548
|
-
"Read(./.env)",
|
|
549
|
-
"Read(./.env.*)",
|
|
550
|
-
"Read(./secrets/**)",
|
|
551
|
-
"Bash(sudo:*)",
|
|
552
|
-
"Bash(rm -rf:*)",
|
|
553
|
-
"Bash(chmod -R 777:*)"
|
|
554
|
-
]
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
```
|
|
121
|
+
### Agent File Structure
|
|
558
122
|
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
```json
|
|
562
|
-
{
|
|
563
|
-
"hooks": {
|
|
564
|
-
"SessionStart": [
|
|
565
|
-
{
|
|
566
|
-
"hooks": [
|
|
567
|
-
{
|
|
568
|
-
"command": "node $CLAUDE_PROJECT_DIR/.claude/hooks/alfred/session-notice.cjs",
|
|
569
|
-
"type": "command"
|
|
570
|
-
}
|
|
571
|
-
],
|
|
572
|
-
"matcher": "*"
|
|
573
|
-
}
|
|
574
|
-
],
|
|
575
|
-
"PreToolUse": [
|
|
576
|
-
{
|
|
577
|
-
"hooks": [
|
|
578
|
-
{
|
|
579
|
-
"command": "node $CLAUDE_PROJECT_DIR/.claude/hooks/alfred/pre-write-guard.cjs",
|
|
580
|
-
"type": "command"
|
|
581
|
-
},
|
|
582
|
-
{
|
|
583
|
-
"command": "node $CLAUDE_PROJECT_DIR/.claude/hooks/alfred/tag-enforcer.cjs",
|
|
584
|
-
"type": "command"
|
|
585
|
-
}
|
|
586
|
-
],
|
|
587
|
-
"matcher": "Edit|Write|MultiEdit"
|
|
588
|
-
},
|
|
589
|
-
{
|
|
590
|
-
"hooks": [
|
|
591
|
-
{
|
|
592
|
-
"command": "node $CLAUDE_PROJECT_DIR/.claude/hooks/alfred/policy-block.cjs",
|
|
593
|
-
"type": "command"
|
|
594
|
-
}
|
|
595
|
-
],
|
|
596
|
-
"matcher": "Bash"
|
|
597
|
-
}
|
|
598
|
-
]
|
|
599
|
-
}
|
|
600
|
-
}
|
|
601
|
-
```
|
|
123
|
+
**Location**: `.claude/agents/`
|
|
602
124
|
|
|
603
|
-
|
|
125
|
+
**Required YAML**:
|
|
126
|
+
- `name` (kebab-case)
|
|
127
|
+
- `description` (must include "Use PROACTIVELY for")
|
|
128
|
+
- `tools` (min privileges, no `Bash(*)`)
|
|
129
|
+
- `model` (sonnet/haiku)
|
|
604
130
|
|
|
605
|
-
|
|
131
|
+
**Key Rule**: description includes "Use PROACTIVELY for [trigger conditions]"
|
|
606
132
|
|
|
607
|
-
-
|
|
608
|
-
- [ ] `name`, `description`, `argument-hint`, `tools`, `model` field completeness
|
|
609
|
-
- [ ] Command name kebab-case compliance
|
|
610
|
-
- [ ] Clarity of description (as long as line, specify purpose)
|
|
611
|
-
- [ ] Apply the principle of minimizing tool privileges
|
|
133
|
+
**Reference**: `Skill("moai-cc-agents")` SKILL.md
|
|
612
134
|
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
- [ ] YAML frontmatter existence and validity
|
|
616
|
-
- [ ] `name`, `description`, `tools`, `model` field completeness
|
|
617
|
-
- [ ] description includes βUse PROACTIVELY forβ pattern
|
|
618
|
-
- [ ] Proactive Trigger condition clarity
|
|
619
|
-
- [ ] Application of tool privilege minimization principle
|
|
620
|
-
- [ ] Agent name kebab-case compliance
|
|
135
|
+
---
|
|
621
136
|
|
|
622
|
-
###
|
|
137
|
+
### Skill File Structure
|
|
623
138
|
|
|
624
|
-
|
|
625
|
-
- [ ] `name`, `description`, `model` field completeness
|
|
626
|
-
- [ ] Skill name kebab-case compliance
|
|
627
|
-
- [ ] Include Usage Pattern section
|
|
628
|
-
- [ ] Examples section Includes specific examples
|
|
629
|
-
- [ ] Includes Best Practices section
|
|
139
|
+
**Location**: `.claude/skills/`
|
|
630
140
|
|
|
631
|
-
|
|
141
|
+
**Required YAML**:
|
|
142
|
+
- `name` (kebab-case)
|
|
143
|
+
- `description` (clear one-line)
|
|
144
|
+
- `model` (haiku/sonnet)
|
|
632
145
|
|
|
633
|
-
|
|
634
|
-
-
|
|
635
|
-
-
|
|
636
|
-
-
|
|
637
|
-
- [ ] Check plugin source reliability (Official/Verified Community)
|
|
146
|
+
**Structure**:
|
|
147
|
+
- SKILL.md (main content)
|
|
148
|
+
- reference.md (optional, detailed docs)
|
|
149
|
+
- examples.md (optional, code examples)
|
|
638
150
|
|
|
639
|
-
|
|
151
|
+
**Reference**: `Skill("moai-cc-skills")` SKILL.md
|
|
640
152
|
|
|
641
|
-
|
|
642
|
-
- [ ] Completeness of required permission settings
|
|
643
|
-
- [ ] Compliance with security policy (block sensitive files)
|
|
644
|
-
- [ ] Validity of hook settings
|
|
645
|
-
- [ ] Validity of mcpServers settings (when using plugins)
|
|
153
|
+
---
|
|
646
154
|
|
|
647
|
-
##
|
|
155
|
+
## π Verification Checklist (Quick)
|
|
648
156
|
|
|
649
|
-
###
|
|
157
|
+
### All Files
|
|
158
|
+
- [ ] YAML frontmatter valid & complete
|
|
159
|
+
- [ ] Kebab-case naming (my-agent, my-command, my-skill)
|
|
160
|
+
- [ ] No hardcoded secrets/tokens
|
|
650
161
|
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
5. Confirmation of passing standard verification
|
|
162
|
+
### Commands
|
|
163
|
+
- [ ] `description` is one-line, clear purpose
|
|
164
|
+
- [ ] `tools` has minimum required only
|
|
165
|
+
- [ ] Agent orchestration documented
|
|
656
166
|
|
|
657
|
-
###
|
|
167
|
+
### Agents
|
|
168
|
+
- [ ] `description` includes "Use PROACTIVELY for"
|
|
169
|
+
- [ ] `tools` specific patterns (not `Bash(*)`)
|
|
170
|
+
- [ ] Proactive triggers clearly defined
|
|
658
171
|
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
5. Setting rules for collaboration with other agents
|
|
664
|
-
6. Confirmation of passing standard verification
|
|
172
|
+
### Skills
|
|
173
|
+
- [ ] Supporting files (reference.md, examples.md) included if relevant
|
|
174
|
+
- [ ] Progressive Disclosure structure
|
|
175
|
+
- [ ] "Works Well With" section added
|
|
665
176
|
|
|
666
|
-
###
|
|
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
|
|
667
182
|
|
|
668
|
-
|
|
669
|
-
2. **Apply standard template**: Created in `.claude/skills/` location
|
|
670
|
-
3. **Required sections included**:
|
|
671
|
-
- Usage Pattern (specify when to use)
|
|
672
|
-
- Examples (specific code examples)
|
|
673
|
-
- Best Practices (recommendations/cautions)
|
|
674
|
-
4. **Model selection**: haiku (general), sonnet (complex judgment)
|
|
675
|
-
5. **Validate**: Check YAML frontmatter completeness
|
|
183
|
+
---
|
|
676
184
|
|
|
677
|
-
|
|
185
|
+
## π Quick Workflows
|
|
678
186
|
|
|
187
|
+
### Create New Command
|
|
679
188
|
```bash
|
|
680
|
-
@agent-cc-manager "
|
|
189
|
+
@agent-cc-manager "Create command: /my-command
|
|
190
|
+
- Purpose: [describe]
|
|
191
|
+
- Arguments: [list]
|
|
192
|
+
- Agents involved: [names]"
|
|
681
193
|
```
|
|
194
|
+
**Then**: Reference `Skill("moai-cc-commands")` for detailed guidance
|
|
682
195
|
|
|
683
|
-
### New
|
|
684
|
-
|
|
685
|
-
1. **Check plugin source**: Check if it is an official or verified community
|
|
686
|
-
2. **Necessity Verification**: Verify that external system integration is actually necessary
|
|
687
|
-
3. **Update settings.json**:
|
|
688
|
-
```json
|
|
689
|
-
{
|
|
690
|
-
"mcpServers": {
|
|
691
|
-
"plugin-name": {
|
|
692
|
-
"command": "npx",
|
|
693
|
-
"args": ["-y", "@modelcontextprotocol/server-name"],
|
|
694
|
-
"env": {
|
|
695
|
-
"API_TOKEN": "${API_TOKEN}"
|
|
696
|
-
}
|
|
697
|
-
}
|
|
698
|
-
}
|
|
699
|
-
}
|
|
700
|
-
```
|
|
701
|
-
4. **Environment variable settings**: Manage environment variables such as API tokens
|
|
702
|
-
5. **Check path restrictions**: Specify allowed paths when using Filesystem MCP
|
|
703
|
-
6. **Test**: Check operation after restarting Claude Code
|
|
704
|
-
|
|
705
|
-
**Plugin setting example**:
|
|
706
|
-
|
|
196
|
+
### Create New Agent
|
|
707
197
|
```bash
|
|
708
|
-
@agent-cc-manager "
|
|
198
|
+
@agent-cc-manager "Create agent: my-analyzer
|
|
199
|
+
- Specialty: [describe]
|
|
200
|
+
- Proactive triggers: [when to use]
|
|
201
|
+
- Tool requirements: [what it needs]"
|
|
709
202
|
```
|
|
203
|
+
**Then**: Reference `Skill("moai-cc-agents")` for patterns
|
|
710
204
|
|
|
711
|
-
###
|
|
712
|
-
|
|
713
|
-
1. Check compliance with current standards
|
|
714
|
-
2. Identify needed changes
|
|
715
|
-
3. Modified to standard structure
|
|
716
|
-
4. Confirm preservation of existing functions
|
|
717
|
-
5. Verification passed confirmation
|
|
718
|
-
|
|
719
|
-
## π§ Solving common Claude Code issues
|
|
720
|
-
|
|
721
|
-
### Permission issues
|
|
722
|
-
|
|
723
|
-
**Symptom**: Permission denied when using tool
|
|
724
|
-
**Solution**: Check and modify permissions section in settings.json
|
|
725
|
-
|
|
726
|
-
### Hook execution failed
|
|
727
|
-
|
|
728
|
-
**Symptom**: Hook does not run or error occurs
|
|
729
|
-
**Solution**:
|
|
730
|
-
|
|
731
|
-
1. Check the Python script path
|
|
732
|
-
2. Check script execution permission
|
|
733
|
-
3. Check environment variable settings
|
|
734
|
-
|
|
735
|
-
### Agent call failed
|
|
736
|
-
|
|
737
|
-
**Symptom**: Agent not recognized or not running
|
|
738
|
-
**Solution**:
|
|
739
|
-
|
|
740
|
-
1. Check YAML frontmatter syntax error
|
|
741
|
-
2. Check for missing required fields
|
|
742
|
-
3. Check file path and name
|
|
743
|
-
|
|
744
|
-
### Skill recognition failed
|
|
745
|
-
|
|
746
|
-
**Symptom**: Skill not loading or unavailable
|
|
747
|
-
**Solution**:
|
|
748
|
-
|
|
749
|
-
1. Check the `.claude/skills/` directory path
|
|
750
|
-
2. Check YAML frontmatter syntax errors (name, description, model)
|
|
751
|
-
3. Check whether the file name is kebab-case
|
|
752
|
-
4. Restart Claude Code
|
|
753
|
-
|
|
754
|
-
**Verification Command**:
|
|
755
|
-
|
|
205
|
+
### Verify All Standards
|
|
756
206
|
```bash
|
|
757
|
-
|
|
758
|
-
ls -la .claude/skills/
|
|
759
|
-
|
|
760
|
-
# YAML frontmatter validation
|
|
761
|
-
head -10 .claude/skills/your-skill.md
|
|
207
|
+
@agent-cc-manager "Run full standards verification across .claude/"
|
|
762
208
|
```
|
|
209
|
+
**Result**: Report of violations + fixes
|
|
763
210
|
|
|
764
|
-
###
|
|
765
|
-
|
|
766
|
-
**Symptom**: MCP Plugin does not work
|
|
767
|
-
**Solution**:
|
|
768
|
-
|
|
769
|
-
1. **Check settings.json syntax**:
|
|
770
|
-
```bash
|
|
771
|
-
# JSON validation
|
|
772
|
-
cat .claude/settings.json | jq .
|
|
773
|
-
```
|
|
774
|
-
|
|
775
|
-
2. **Check environment variables**:
|
|
776
|
-
```bash
|
|
777
|
-
# Check whether API token is set
|
|
778
|
-
echo $GITHUB_TOKEN
|
|
779
|
-
echo $ANTHROPIC_API_KEY
|
|
780
|
-
```
|
|
781
|
-
|
|
782
|
-
3. **Check plugin installation**:
|
|
783
|
-
```bash
|
|
784
|
-
# Test MCP Server installation
|
|
785
|
-
npx @modelcontextprotocol/server-github --version
|
|
786
|
-
```
|
|
787
|
-
|
|
788
|
-
4. **Check Claude Code log**:
|
|
789
|
-
- Menu β View β Toggle Developer Tools
|
|
790
|
-
- Check MCP-related errors in the Console tab.
|
|
791
|
-
|
|
792
|
-
5. **Claude Code Restart**: Be sure to restart after changing the plugin.
|
|
793
|
-
|
|
794
|
-
### Filesystem MCP permission error
|
|
795
|
-
|
|
796
|
-
**Symptom**: Filesystem MCP cannot access certain directories
|
|
797
|
-
**Solution**:
|
|
798
|
-
|
|
799
|
-
1. **Check Allowed Paths**:
|
|
800
|
-
```json
|
|
801
|
-
{
|
|
802
|
-
"mcpServers": {
|
|
803
|
-
"moai-fs": {
|
|
804
|
-
"args": [
|
|
805
|
-
"-y",
|
|
806
|
-
"@modelcontextprotocol/server-filesystem",
|
|
807
|
-
"${CLAUDE_PROJECT_DIR}/.moai", // β
Allow
|
|
808
|
-
"${CLAUDE_PROJECT_DIR}/src", // β
Allow
|
|
809
|
-
"/unauthorized/path" // β Blocked
|
|
810
|
-
]
|
|
811
|
-
}
|
|
812
|
-
}
|
|
813
|
-
}
|
|
814
|
-
```
|
|
815
|
-
|
|
816
|
-
2. **Check environment variable expansion**: Check if `${CLAUDE_PROJECT_DIR}` is expanded properly.
|
|
817
|
-
|
|
818
|
-
3. **Use absolute paths**: Absolute paths are recommended instead of relative paths.
|
|
819
|
-
|
|
820
|
-
### Poor performance
|
|
821
|
-
|
|
822
|
-
**Symptom**: Claude Code response is slow
|
|
823
|
-
**Solution**:
|
|
824
|
-
|
|
825
|
-
1. Remove unnecessary tool permissions
|
|
826
|
-
2. Complex hook logic optimization
|
|
827
|
-
3. Check memory file size
|
|
828
|
-
4. **Check for excessive plugin use**: Activate only necessary plugins
|
|
829
|
-
5. **Check Skill File Size**: Keep Skills Compact (β€200 LOC)
|
|
830
|
-
|
|
831
|
-
## π MoAI-ADK specialized workflow
|
|
832
|
-
|
|
833
|
-
### Four-stage pipeline support
|
|
834
|
-
|
|
835
|
-
1. `/alfred:8-project`: Initialize project document
|
|
836
|
-
2. `/alfred:1-plan`: Create SPEC (link with spec-builder)
|
|
837
|
-
3. `/alfred:2-run`: TDD implementation (code-builder linkage)
|
|
838
|
-
4. `/alfred:3-sync`: Document synchronization (doc-syncer linkage)
|
|
839
|
-
|
|
840
|
-
### Inter-agent collaboration rules
|
|
841
|
-
|
|
842
|
-
- **Single Responsibility**: Each agent has a single, clear role
|
|
843
|
-
- **Sequential execution**: Sequential calls of agents at the command level
|
|
844
|
-
- **Independent execution**: No direct calls between agents
|
|
845
|
-
- **Clear handoff**: Guidance on next steps upon task completion
|
|
846
|
-
|
|
847
|
-
### Skills & Plugins Utilization Strategy
|
|
848
|
-
|
|
849
|
-
**MoAI-ADK Recommended Configuration**:
|
|
850
|
-
|
|
851
|
-
#### 1. Skills (domain knowledge sharing)
|
|
852
|
-
|
|
853
|
-
| Skill | Purpose | When to use |
|
|
854
|
-
| ------------------- | --------------------------------- | --------------------------------- |
|
|
855
|
-
| **ears-pattern** | EARS requirements writing pattern | When executing `/alfred:1-plan` |
|
|
856
|
-
| **tag-syntax** | @TAG writing rules | When writing code |
|
|
857
|
-
| **trust-checklist** | TRUST 5 principles verification | Before completing `/alfred:2-run` |
|
|
858
|
-
| **git-convention** | Git commit message standard | When working with Git |
|
|
859
|
-
|
|
860
|
-
**Skills creation example**:
|
|
861
|
-
|
|
211
|
+
### Setup Project Claude Code
|
|
862
212
|
```bash
|
|
863
|
-
|
|
864
|
-
@agent-cc-manager "Please create the TAG writing rule as a skill."
|
|
865
|
-
```
|
|
866
|
-
|
|
867
|
-
#### 2. Plugins (external tool integration)
|
|
868
|
-
|
|
869
|
-
| Plugin | Purpose | MoAI-ADK workflow integration |
|
|
870
|
-
| ------------------ | ---------------------- | ----------------------------- |
|
|
871
|
-
| **GitHub MCP** | PR/Issue Automation | Create PR in `/alfred:3-sync` |
|
|
872
|
-
| **Filesystem MCP** | Structured file access | `.moai/` safe read/write |
|
|
873
|
-
| **SQLite MCP** | Save metadata | SPEC Progress Tracking |
|
|
874
|
-
|
|
875
|
-
**Plugin settings example** (`.claude/settings.json`):
|
|
876
|
-
|
|
877
|
-
```json
|
|
878
|
-
{
|
|
879
|
-
"mcpServers": {
|
|
880
|
-
"github": {
|
|
881
|
-
"command": "npx",
|
|
882
|
-
"args": ["-y", "@modelcontextprotocol/server-github"],
|
|
883
|
-
"env": {
|
|
884
|
-
"GITHUB_TOKEN": "${GITHUB_TOKEN}"
|
|
885
|
-
}
|
|
886
|
-
},
|
|
887
|
-
"moai-fs": {
|
|
888
|
-
"command": "npx",
|
|
889
|
-
"args": [
|
|
890
|
-
"-y",
|
|
891
|
-
"@modelcontextprotocol/server-filesystem",
|
|
892
|
-
"${CLAUDE_PROJECT_DIR}/.moai",
|
|
893
|
-
"${CLAUDE_PROJECT_DIR}/src",
|
|
894
|
-
"${CLAUDE_PROJECT_DIR}/tests",
|
|
895
|
-
"${CLAUDE_PROJECT_DIR}/docs"
|
|
896
|
-
]
|
|
897
|
-
}
|
|
898
|
-
}
|
|
899
|
-
}
|
|
900
|
-
```
|
|
901
|
-
|
|
902
|
-
#### 3. Skills vs Agents vs Commands vs Plugins integrated decision tree
|
|
903
|
-
|
|
904
|
-
```
|
|
905
|
-
Task classification
|
|
906
|
-
β
|
|
907
|
-
βββββββββββββββββββββββββββββββββββββββββ
|
|
908
|
-
β Is external system integration necessary? β
|
|
909
|
-
β (GitHub API, file system, etc.) β
|
|
910
|
-
βββββββββββββββββββββββββββββββββββββββββ
|
|
911
|
-
β YES β NO
|
|
912
|
-
ββββββββββββ ββββββββββββββββββββββ
|
|
913
|
-
β Plugins β β Is the knowledge reusable? β
|
|
914
|
-
ββββββββββββ β (pattern, convention) β
|
|
915
|
-
ββββββββββββββββββββββ
|
|
916
|
-
β YES β NO
|
|
917
|
-
βββββββββββ βββββββββββββββββ
|
|
918
|
-
β Skills β β Is an independent context β
|
|
919
|
-
βββββββββββ β needed? β
|
|
920
|
-
βββββββββββββββββ
|
|
921
|
-
β YES β NO
|
|
922
|
-
βββββββββββ ββββββββββββ
|
|
923
|
-
β Agents β β Commands β
|
|
924
|
-
βββββββββββ ββββββββββββ
|
|
213
|
+
@agent-cc-manager "Initialize Claude Code for MoAI-ADK project"
|
|
925
214
|
```
|
|
215
|
+
**Then**: Reference `Skill("moai-cc-guide")` β workflows/alfred-0-project-setup.md
|
|
926
216
|
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
- **Q**: "Where do I store the EARS pattern?"
|
|
930
|
-
- **A**: Skills (`.claude/skills/ears-pattern.md`)
|
|
931
|
-
- **Q**: "Where is GitHub PR creation implemented?"
|
|
932
|
-
- **A**: Plugins (GitHub MCP) + Commands (`/alfred:3-sync`)
|
|
933
|
-
- **Q**: "Where is SPEC metadata verification?"
|
|
934
|
-
- **A**: Agents (`@agent-spec-builder`)
|
|
935
|
-
- **Q**: βWhere is the TDD workflow?β
|
|
936
|
-
- **A**: Commands (`/alfred:2-run`)
|
|
937
|
-
|
|
938
|
-
### Integration of TRUST principles
|
|
217
|
+
---
|
|
939
218
|
|
|
940
|
-
|
|
219
|
+
## π§ Common Issues (Quick Fixes)
|
|
941
220
|
|
|
942
|
-
|
|
221
|
+
**YAML syntax error**
|
|
222
|
+
β Validate: `head -5 .claude/agents/my-agent.md`
|
|
943
223
|
|
|
944
|
-
|
|
224
|
+
**Tool permission denied**
|
|
225
|
+
β Check: `cat .claude/settings.json | jq '.permissions'`
|
|
945
226
|
|
|
946
|
-
|
|
227
|
+
**Agent not recognized**
|
|
228
|
+
β Verify: YAML frontmatter + kebab-case name + file in `.claude/agents/`
|
|
947
229
|
|
|
948
|
-
|
|
230
|
+
**Skill not loading**
|
|
231
|
+
β Verify: YAML + `ls -la .claude/skills/my-skill/` + restart Claude Code
|
|
949
232
|
|
|
950
|
-
|
|
233
|
+
**Hook not running**
|
|
234
|
+
β Check: Absolute path in settings.json + `chmod +x hook.sh` + JSON valid
|
|
951
235
|
|
|
952
|
-
|
|
236
|
+
**Detailed troubleshooting**: `Skill("moai-cc-guide")` β README.md FAQ section
|
|
953
237
|
|
|
954
|
-
|
|
238
|
+
---
|
|
955
239
|
|
|
956
|
-
|
|
240
|
+
## π When to Delegate to Skills
|
|
957
241
|
|
|
958
|
-
|
|
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 |
|
|
959
249
|
|
|
960
|
-
|
|
250
|
+
---
|
|
961
251
|
|
|
962
|
-
|
|
252
|
+
## π‘ Philosophy
|
|
963
253
|
|
|
964
|
-
|
|
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)
|
|
965
258
|
|
|
966
|
-
|
|
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
|
|
967
264
|
|
|
968
|
-
|
|
265
|
+
---
|
|
969
266
|
|
|
970
|
-
|
|
971
|
-
# Create agent
|
|
972
|
-
@agent-cc-manager "Create new agent: data-processor"
|
|
267
|
+
## π User Interactions
|
|
973
268
|
|
|
974
|
-
|
|
975
|
-
|
|
269
|
+
**Ask cc-manager for**:
|
|
270
|
+
- File creation ("Create agent...")
|
|
271
|
+
- Validation ("Verify this...")
|
|
272
|
+
- Fixes ("Fix the standards...")
|
|
976
273
|
|
|
977
|
-
|
|
978
|
-
|
|
274
|
+
**Ask Skills for**:
|
|
275
|
+
- Guidance ("How do I...")
|
|
276
|
+
- Patterns ("Show me...")
|
|
277
|
+
- Decisions ("Should I...")
|
|
979
278
|
|
|
980
|
-
|
|
981
|
-
|
|
279
|
+
**Ask moai-cc-guide for**:
|
|
280
|
+
- Architecture ("Agents vs Commands...")
|
|
281
|
+
- Workflows ("/alfred:* integration...")
|
|
282
|
+
- Roadmaps ("What's next...")
|
|
982
283
|
|
|
983
|
-
|
|
984
|
-
@agent-cc-manager "Command file standardization verification"
|
|
985
|
-
@agent-cc-manager "Settings optimization"
|
|
986
|
-
```
|
|
284
|
+
---
|
|
987
285
|
|
|
988
|
-
|
|
286
|
+
## β¨ Example: New Skill
|
|
989
287
|
|
|
990
288
|
```bash
|
|
991
|
-
#
|
|
992
|
-
@agent-cc-manager "
|
|
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/"
|
|
993
294
|
|
|
994
|
-
#
|
|
995
|
-
@agent-cc-manager "Please verify mcpServers settings in settings.json."
|
|
295
|
+
# cc-manager validates, creates file, checks standards
|
|
996
296
|
|
|
997
|
-
#
|
|
998
|
-
|
|
297
|
+
# User references skill:
|
|
298
|
+
Skill("ears-pattern") # Now available in commands/agents
|
|
999
299
|
```
|
|
1000
300
|
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
```bash
|
|
1004
|
-
# 1. Project initial settings
|
|
1005
|
-
@agent-cc-manager "MoAI-ADK project initial settings (Skills + Plugins)"
|
|
1006
|
-
|
|
1007
|
-
# 2. Creating Skills (Repeating Pattern)
|
|
1008
|
-
@agent-cc-manager "Create the following patterns as Skills:
|
|
1009
|
-
- Write EARS requirements
|
|
1010
|
-
- TAG writing rules
|
|
1011
|
-
- TRUST checklist"
|
|
1012
|
-
|
|
1013
|
-
# 3. Plugins settings (external integration)
|
|
1014
|
-
@agent-cc-manager "Set the following plugins:
|
|
1015
|
-
- GitHub MCP (PR automation)
|
|
1016
|
-
- Filesystem MCP (.moai/ access)
|
|
1017
|
-
- Brave Search MCP (document search)"
|
|
1018
|
-
```
|
|
1019
|
-
|
|
1020
|
-
### Autorun conditions
|
|
1021
|
-
|
|
1022
|
-
- When starting a session in the MoAI-ADK project
|
|
1023
|
-
- When working with command/agent/skill files
|
|
1024
|
-
- When changing plugin settings
|
|
1025
|
-
- When standard verification is required
|
|
1026
|
-
|
|
1027
|
-
### Best practices
|
|
1028
|
-
|
|
1029
|
-
**1. Skills take priority**:
|
|
1030
|
-
|
|
1031
|
-
- Repetitive patterns are first created using skills
|
|
1032
|
-
- Examples: EARS patterns, TAG rules, Git conventions
|
|
1033
|
-
|
|
1034
|
-
**2. Plugins only when needed**:
|
|
1035
|
-
|
|
1036
|
-
- Add only when external system integration is clear
|
|
1037
|
-
- Unnecessary plugins cause poor performance
|
|
1038
|
-
|
|
1039
|
-
**3. Progressive expansion**:
|
|
1040
|
-
|
|
1041
|
-
- Expand in the following order: Command β Agent β Skills β Plugins
|
|
1042
|
-
- Proceed after verifying the necessity of each step
|
|
301
|
+
---
|
|
1043
302
|
|
|
1044
|
-
|
|
303
|
+
## π Autorun Conditions
|
|
1045
304
|
|
|
1046
|
-
-
|
|
1047
|
-
-
|
|
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
|
|
1048
309
|
|
|
1049
310
|
---
|
|
1050
311
|
|
|
1051
|
-
|
|
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-*/`.
|