moai-adk 0.32.8__py3-none-any.whl → 0.41.2__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/cli/commands/init.py +4 -1
- moai_adk/cli/commands/update.py +31 -26
- moai_adk/cli/worktree/cli.py +54 -43
- moai_adk/cli/worktree/manager.py +17 -14
- moai_adk/cli/worktree/registry.py +313 -19
- moai_adk/core/config/unified.py +237 -63
- moai_adk/core/error_recovery_system.py +22 -4
- moai_adk/core/git/conflict_detector.py +10 -1
- moai_adk/core/git/event_detector.py +16 -5
- moai_adk/core/language_config_resolver.py +96 -3
- moai_adk/core/merge/analyzer.py +509 -324
- moai_adk/core/migration/alfred_to_moai_migrator.py +7 -1
- moai_adk/core/migration/backup_manager.py +54 -4
- moai_adk/core/migration/file_migrator.py +174 -2
- moai_adk/core/migration/interactive_checkbox_ui.py +42 -31
- moai_adk/core/migration/version_detector.py +123 -19
- moai_adk/core/migration/version_migrator.py +44 -9
- moai_adk/core/project/backup_utils.py +9 -1
- moai_adk/core/project/initializer.py +33 -96
- moai_adk/core/project/phase_executor.py +79 -33
- moai_adk/core/quality/trust_checker.py +30 -10
- moai_adk/core/realtime_monitoring_dashboard.py +3 -3
- moai_adk/core/rollback_manager.py +46 -19
- moai_adk/core/template/backup.py +4 -3
- moai_adk/core/template/config.py +33 -9
- moai_adk/core/template/merger.py +34 -8
- moai_adk/core/template/processor.py +144 -9
- moai_adk/core/template_engine.py +10 -1
- moai_adk/core/template_variable_synchronizer.py +16 -2
- moai_adk/core/version_sync.py +54 -6
- moai_adk/project/configuration.py +1 -1
- moai_adk/statusline/config.py +5 -2
- moai_adk/statusline/main.py +58 -0
- moai_adk/statusline/renderer.py +56 -84
- moai_adk/templates/.claude/agents/moai/ai-nano-banana.md +218 -51
- moai_adk/templates/.claude/agents/moai/builder-agent.md +46 -11
- moai_adk/templates/.claude/agents/moai/builder-command.md +88 -26
- moai_adk/templates/.claude/agents/moai/builder-plugin.md +753 -0
- moai_adk/templates/.claude/agents/moai/builder-skill.md +79 -8
- moai_adk/templates/.claude/agents/moai/expert-backend.md +100 -28
- moai_adk/templates/.claude/agents/moai/expert-database.md +20 -12
- moai_adk/templates/.claude/agents/moai/expert-debug.md +19 -8
- moai_adk/templates/.claude/agents/moai/expert-devops.md +36 -25
- moai_adk/templates/.claude/agents/moai/expert-frontend.md +99 -38
- moai_adk/templates/.claude/agents/moai/expert-performance.md +661 -0
- moai_adk/templates/.claude/agents/moai/expert-refactoring.md +218 -0
- moai_adk/templates/.claude/agents/moai/expert-security.md +55 -4
- moai_adk/templates/.claude/agents/moai/expert-testing.md +737 -0
- moai_adk/templates/.claude/agents/moai/expert-uiux.md +20 -11
- moai_adk/templates/.claude/agents/moai/manager-claude-code.md +13 -4
- moai_adk/templates/.claude/agents/moai/manager-docs.md +15 -7
- moai_adk/templates/.claude/agents/moai/manager-git.md +192 -37
- moai_adk/templates/.claude/agents/moai/manager-project.md +13 -7
- moai_adk/templates/.claude/agents/moai/manager-quality.md +48 -6
- moai_adk/templates/.claude/agents/moai/manager-spec.md +110 -8
- moai_adk/templates/.claude/agents/moai/manager-strategy.md +203 -17
- moai_adk/templates/.claude/agents/moai/manager-tdd.md +217 -23
- moai_adk/templates/.claude/agents/moai/mcp-context7.md +102 -7
- moai_adk/templates/.claude/agents/moai/mcp-figma.md +107 -86
- moai_adk/templates/.claude/agents/moai/mcp-notion.md +50 -4
- moai_adk/templates/.claude/agents/moai/mcp-playwright.md +52 -4
- moai_adk/templates/.claude/agents/moai/mcp-sequential-thinking.md +49 -5
- moai_adk/templates/.claude/commands/moai/0-project.md +503 -307
- moai_adk/templates/.claude/commands/moai/1-plan.md +255 -323
- moai_adk/templates/.claude/commands/moai/2-run.md +257 -315
- moai_adk/templates/.claude/commands/moai/3-sync.md +421 -56
- moai_adk/templates/.claude/commands/moai/9-feedback.md +40 -34
- moai_adk/templates/.claude/hooks/moai/__init__.py +0 -0
- moai_adk/templates/.claude/hooks/moai/lib/README.md +143 -0
- moai_adk/templates/.claude/hooks/moai/lib/__init__.py +19 -0
- moai_adk/templates/.claude/hooks/moai/lib/checkpoint.py +4 -1
- moai_adk/templates/.claude/hooks/moai/lib/common.py +35 -5
- moai_adk/templates/.claude/hooks/moai/lib/config_manager.py +12 -14
- moai_adk/templates/.claude/hooks/moai/lib/exceptions.py +171 -0
- moai_adk/templates/.claude/hooks/moai/lib/git_operations_manager.py +1 -1
- moai_adk/templates/.claude/hooks/moai/lib/language_validator.py +104 -14
- moai_adk/templates/.claude/hooks/moai/lib/models.py +9 -7
- moai_adk/templates/.claude/hooks/moai/lib/path_utils.py +204 -13
- moai_adk/templates/.claude/hooks/moai/lib/project.py +23 -14
- moai_adk/templates/.claude/hooks/moai/lib/tool_registry.py +804 -0
- moai_adk/templates/.claude/hooks/moai/lib/unified_timeout_manager.py +14 -2
- moai_adk/templates/.claude/hooks/moai/post_tool__ast_grep_scan.py +256 -0
- moai_adk/templates/.claude/hooks/moai/post_tool__code_formatter.py +253 -0
- moai_adk/templates/.claude/hooks/moai/post_tool__linter.py +307 -0
- moai_adk/templates/.claude/hooks/moai/pre_tool__security_guard.py +231 -0
- moai_adk/templates/.claude/hooks/moai/session_end__auto_cleanup.py +40 -24
- moai_adk/templates/.claude/hooks/moai/session_start__show_project_info.py +248 -32
- moai_adk/templates/.claude/output-styles/moai/r2d2.md +265 -2
- moai_adk/templates/.claude/output-styles/moai/yoda.md +23 -2
- moai_adk/templates/.claude/settings.json +44 -6
- moai_adk/templates/.claude/skills/moai-ai-nano-banana/SKILL.md +303 -0
- moai_adk/templates/.claude/skills/moai-ai-nano-banana/examples.md +431 -0
- moai_adk/templates/.claude/skills/moai-ai-nano-banana/reference.md +139 -0
- moai_adk/templates/.claude/skills/moai-ai-nano-banana/scripts/batch_generate.py +560 -0
- moai_adk/templates/.claude/skills/moai-ai-nano-banana/scripts/generate_image.py +362 -0
- moai_adk/templates/.claude/skills/moai-docs-generation/SKILL.md +252 -196
- moai_adk/templates/.claude/skills/moai-docs-generation/examples.md +252 -0
- moai_adk/templates/.claude/skills/moai-docs-generation/modules/README.md +39 -27
- moai_adk/templates/.claude/skills/moai-docs-generation/modules/api-documentation.md +115 -125
- moai_adk/templates/.claude/skills/moai-docs-generation/modules/code-documentation.md +150 -150
- moai_adk/templates/.claude/skills/moai-docs-generation/modules/multi-format-output.md +182 -175
- moai_adk/templates/.claude/skills/moai-docs-generation/modules/user-guides.md +198 -138
- moai_adk/templates/.claude/skills/moai-docs-generation/reference.md +234 -0
- moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +19 -13
- moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +718 -0
- moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +464 -0
- moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +21 -14
- moai_adk/templates/.claude/skills/moai-domain-database/examples.md +830 -0
- moai_adk/templates/.claude/skills/moai-domain-database/reference.md +545 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +124 -425
- moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +968 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/modules/component-architecture.md +723 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/modules/nextjs16-patterns.md +713 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/modules/performance-optimization.md +694 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/modules/react19-patterns.md +591 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/modules/state-management.md +680 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/modules/vue35-patterns.md +802 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +664 -0
- moai_adk/templates/.claude/skills/moai-domain-uiux/SKILL.md +17 -15
- moai_adk/templates/.claude/skills/moai-formats-data/SKILL.md +105 -315
- moai_adk/templates/.claude/skills/moai-formats-data/examples.md +804 -0
- moai_adk/templates/.claude/skills/moai-formats-data/modules/README.md +299 -70
- moai_adk/templates/.claude/skills/moai-formats-data/modules/toon-encoding.md +6 -6
- moai_adk/templates/.claude/skills/moai-formats-data/reference.md +585 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/SKILL.md +197 -154
- moai_adk/templates/.claude/skills/moai-foundation-claude/examples.md +732 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/advanced-agent-patterns.md +370 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-cli-reference-official.md +420 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-devcontainers-official.md +381 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-discover-plugins-official.md +379 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-headless-official.md +378 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-hooks-official.md +110 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-memory-official.md +2 -2
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-plugin-marketplaces-official.md +308 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-plugins-official.md +432 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-sandboxing-official.md +282 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-skills-official.md +425 -71
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-statusline-official.md +293 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-sub-agents-official.md +325 -143
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference.md +209 -0
- moai_adk/templates/.claude/skills/moai-foundation-context/SKILL.md +12 -1
- moai_adk/templates/.claude/skills/moai-foundation-context/examples.md +1048 -0
- moai_adk/templates/.claude/skills/moai-foundation-context/reference.md +246 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/SKILL.md +33 -134
- moai_adk/templates/.claude/skills/moai-foundation-core/examples.md +358 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/agents-reference.md +31 -18
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/commands-reference.md +30 -30
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/delegation-advanced.md +279 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/delegation-implementation.md +267 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/delegation-patterns.md +121 -650
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/patterns.md +22 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/spec-ears-format.md +200 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/spec-first-tdd.md +37 -730
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/spec-tdd-implementation.md +275 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/trust-5-framework.md +77 -819
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/trust-5-implementation.md +244 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/trust-5-validation.md +219 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/reference.md +478 -0
- moai_adk/templates/.claude/skills/moai-foundation-philosopher/SKILL.md +311 -0
- moai_adk/templates/.claude/skills/moai-foundation-philosopher/examples.md +228 -0
- moai_adk/templates/.claude/skills/moai-foundation-philosopher/modules/assumption-matrix.md +80 -0
- moai_adk/templates/.claude/skills/moai-foundation-philosopher/modules/cognitive-bias.md +199 -0
- moai_adk/templates/.claude/skills/moai-foundation-philosopher/modules/first-principles.md +140 -0
- moai_adk/templates/.claude/skills/moai-foundation-philosopher/modules/trade-off-analysis.md +154 -0
- moai_adk/templates/.claude/skills/moai-foundation-philosopher/reference.md +157 -0
- moai_adk/templates/.claude/skills/moai-foundation-quality/SKILL.md +17 -16
- moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +431 -0
- moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +17 -0
- moai_adk/templates/.claude/skills/moai-lang-cpp/modules/advanced-patterns.md +401 -0
- moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +17 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +194 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +585 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/modules/aspnet-core.md +627 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/modules/blazor-components.md +767 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/modules/cqrs-validation.md +626 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/modules/csharp12-features.md +580 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/modules/efcore-patterns.md +622 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +403 -0
- moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +395 -0
- moai_adk/templates/.claude/skills/moai-lang-elixir/examples.md +17 -0
- moai_adk/templates/.claude/skills/moai-lang-elixir/modules/advanced-patterns.md +531 -0
- moai_adk/templates/.claude/skills/moai-lang-elixir/reference.md +17 -0
- moai_adk/templates/.claude/skills/moai-lang-flutter/SKILL.md +473 -0
- moai_adk/templates/.claude/skills/moai-lang-flutter/examples.md +1090 -0
- moai_adk/templates/.claude/skills/moai-lang-flutter/reference.md +686 -0
- moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +378 -0
- moai_adk/templates/.claude/skills/moai-lang-go/examples.md +919 -0
- moai_adk/templates/.claude/skills/moai-lang-go/reference.md +737 -0
- moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +387 -0
- moai_adk/templates/.claude/skills/moai-lang-java/examples.md +864 -0
- moai_adk/templates/.claude/skills/moai-lang-java/reference.md +291 -0
- moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +419 -0
- moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +973 -0
- moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +1543 -0
- moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +384 -0
- moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +1006 -0
- moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +562 -0
- moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +505 -0
- moai_adk/templates/.claude/skills/moai-lang-php/examples.md +17 -0
- moai_adk/templates/.claude/skills/moai-lang-php/modules/advanced-patterns.md +538 -0
- moai_adk/templates/.claude/skills/moai-lang-php/reference.md +17 -0
- moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +490 -0
- moai_adk/templates/.claude/skills/moai-lang-python/examples.md +977 -0
- moai_adk/templates/.claude/skills/moai-lang-python/reference.md +804 -0
- moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +390 -0
- moai_adk/templates/.claude/skills/moai-lang-r/examples.md +17 -0
- moai_adk/templates/.claude/skills/moai-lang-r/modules/advanced-patterns.md +489 -0
- moai_adk/templates/.claude/skills/moai-lang-r/reference.md +17 -0
- moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +433 -0
- moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +17 -0
- moai_adk/templates/.claude/skills/moai-lang-ruby/modules/advanced-patterns.md +309 -0
- moai_adk/templates/.claude/skills/moai-lang-ruby/modules/testing-patterns.md +306 -0
- moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +17 -0
- moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +378 -0
- moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +659 -0
- moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +504 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +212 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +633 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/modules/akka-actors.md +479 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/modules/cats-effect.md +489 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/modules/functional-programming.md +460 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/modules/spark-data.md +498 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/modules/zio-patterns.md +541 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +423 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +192 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +918 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/modules/combine-reactive.md +256 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/modules/concurrency.md +270 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/modules/swift6-features.md +265 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/modules/swiftui-patterns.md +314 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +672 -0
- moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +365 -0
- moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +1089 -0
- moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +731 -0
- moai_adk/templates/.claude/skills/moai-library-mermaid/SKILL.md +94 -227
- moai_adk/templates/.claude/skills/moai-library-nextra/SKILL.md +26 -6
- moai_adk/templates/.claude/skills/moai-library-nextra/examples.md +592 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/modules/advanced-patterns.md +331 -12
- moai_adk/templates/.claude/skills/moai-library-nextra/modules/configuration.md +330 -37
- moai_adk/templates/.claude/skills/moai-library-nextra/reference.md +379 -0
- moai_adk/templates/.claude/skills/moai-library-shadcn/SKILL.md +17 -13
- moai_adk/templates/.claude/skills/moai-library-shadcn/modules/shadcn-theming.md +1 -1
- moai_adk/templates/.claude/skills/moai-platform-auth0/SKILL.md +284 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/examples.md +2446 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/adaptive-mfa.md +233 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/akamai-integration.md +214 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/application-credentials.md +280 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/attack-protection-log-events.md +224 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/attack-protection-overview.md +140 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/bot-detection.md +144 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/breached-password-detection.md +187 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/brute-force-protection.md +189 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/certifications.md +282 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/compliance-overview.md +263 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/continuous-session-protection.md +307 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/customize-mfa.md +177 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/dpop-implementation.md +283 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/fapi-implementation.md +259 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/gdpr-compliance.md +313 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/guardian-configuration.md +269 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/highly-regulated-identity.md +272 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/jwt-fundamentals.md +248 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/mdl-verification.md +210 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/mfa-api-management.md +278 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/mfa-factors.md +226 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/mfa-overview.md +174 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/mtls-sender-constraining.md +316 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/ropg-flow-mfa.md +216 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/security-center.md +325 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/security-guidance.md +277 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/state-parameters.md +177 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/step-up-authentication.md +251 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/suspicious-ip-throttling.md +240 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/tenant-access-control.md +179 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/modules/webauthn-fido.md +235 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/reference.md +224 -0
- moai_adk/templates/.claude/skills/moai-platform-clerk/SKILL.md +426 -0
- moai_adk/templates/.claude/skills/moai-platform-clerk/modules/advanced-patterns.md +417 -0
- moai_adk/templates/.claude/skills/moai-platform-clerk/reference.md +273 -0
- moai_adk/templates/.claude/skills/moai-platform-convex/SKILL.md +229 -0
- moai_adk/templates/.claude/skills/moai-platform-convex/examples.md +506 -0
- moai_adk/templates/.claude/skills/moai-platform-convex/modules/auth-integration.md +421 -0
- moai_adk/templates/.claude/skills/moai-platform-convex/modules/file-storage.md +474 -0
- moai_adk/templates/.claude/skills/moai-platform-convex/modules/reactive-queries.md +302 -0
- moai_adk/templates/.claude/skills/moai-platform-convex/modules/server-functions.md +452 -0
- moai_adk/templates/.claude/skills/moai-platform-convex/reference.md +385 -0
- moai_adk/templates/.claude/skills/moai-platform-firebase-auth/SKILL.md +250 -0
- moai_adk/templates/.claude/skills/moai-platform-firebase-auth/examples.md +514 -0
- moai_adk/templates/.claude/skills/moai-platform-firebase-auth/modules/custom-claims.md +374 -0
- moai_adk/templates/.claude/skills/moai-platform-firebase-auth/modules/phone-auth.md +372 -0
- moai_adk/templates/.claude/skills/moai-platform-firebase-auth/modules/social-auth.md +339 -0
- moai_adk/templates/.claude/skills/moai-platform-firebase-auth/reference.md +382 -0
- moai_adk/templates/.claude/skills/moai-platform-firestore/SKILL.md +231 -0
- moai_adk/templates/.claude/skills/moai-platform-firestore/examples.md +445 -0
- moai_adk/templates/.claude/skills/moai-platform-firestore/modules/offline-cache.md +392 -0
- moai_adk/templates/.claude/skills/moai-platform-firestore/modules/realtime-listeners.md +441 -0
- moai_adk/templates/.claude/skills/moai-platform-firestore/modules/security-rules.md +352 -0
- moai_adk/templates/.claude/skills/moai-platform-firestore/modules/transactions.md +452 -0
- moai_adk/templates/.claude/skills/moai-platform-firestore/reference.md +322 -0
- moai_adk/templates/.claude/skills/moai-platform-neon/SKILL.md +206 -0
- moai_adk/templates/.claude/skills/moai-platform-neon/examples.md +470 -0
- moai_adk/templates/.claude/skills/moai-platform-neon/modules/auto-scaling.md +349 -0
- moai_adk/templates/.claude/skills/moai-platform-neon/modules/branching-workflows.md +354 -0
- moai_adk/templates/.claude/skills/moai-platform-neon/modules/connection-pooling.md +412 -0
- moai_adk/templates/.claude/skills/moai-platform-neon/modules/pitr-backups.md +458 -0
- moai_adk/templates/.claude/skills/moai-platform-neon/reference.md +272 -0
- moai_adk/templates/.claude/skills/moai-platform-railway/SKILL.md +224 -0
- moai_adk/templates/.claude/skills/moai-platform-railway/examples.md +539 -0
- moai_adk/templates/.claude/skills/moai-platform-railway/modules/docker-deployment.md +261 -0
- moai_adk/templates/.claude/skills/moai-platform-railway/modules/multi-service.md +291 -0
- moai_adk/templates/.claude/skills/moai-platform-railway/modules/networking-domains.md +338 -0
- moai_adk/templates/.claude/skills/moai-platform-railway/modules/volumes-storage.md +353 -0
- moai_adk/templates/.claude/skills/moai-platform-railway/reference.md +374 -0
- moai_adk/templates/.claude/skills/moai-platform-supabase/SKILL.md +207 -0
- moai_adk/templates/.claude/skills/moai-platform-supabase/examples.md +502 -0
- moai_adk/templates/.claude/skills/moai-platform-supabase/modules/auth-integration.md +384 -0
- moai_adk/templates/.claude/skills/moai-platform-supabase/modules/edge-functions.md +371 -0
- moai_adk/templates/.claude/skills/moai-platform-supabase/modules/postgresql-pgvector.md +231 -0
- moai_adk/templates/.claude/skills/moai-platform-supabase/modules/realtime-presence.md +354 -0
- moai_adk/templates/.claude/skills/moai-platform-supabase/modules/row-level-security.md +286 -0
- moai_adk/templates/.claude/skills/moai-platform-supabase/modules/storage-cdn.md +319 -0
- moai_adk/templates/.claude/skills/moai-platform-supabase/modules/typescript-patterns.md +453 -0
- moai_adk/templates/.claude/skills/moai-platform-supabase/reference.md +284 -0
- moai_adk/templates/.claude/skills/moai-platform-vercel/SKILL.md +210 -0
- moai_adk/templates/.claude/skills/moai-platform-vercel/examples.md +502 -0
- moai_adk/templates/.claude/skills/moai-platform-vercel/modules/analytics-speed.md +348 -0
- moai_adk/templates/.claude/skills/moai-platform-vercel/modules/deployment-config.md +344 -0
- moai_adk/templates/.claude/skills/moai-platform-vercel/modules/edge-functions.md +222 -0
- moai_adk/templates/.claude/skills/moai-platform-vercel/modules/isr-caching.md +306 -0
- moai_adk/templates/.claude/skills/moai-platform-vercel/modules/kv-storage.md +399 -0
- moai_adk/templates/.claude/skills/moai-platform-vercel/reference.md +360 -0
- moai_adk/templates/.claude/skills/moai-plugin-builder/SKILL.md +474 -0
- moai_adk/templates/.claude/skills/moai-plugin-builder/examples.md +621 -0
- moai_adk/templates/.claude/skills/moai-plugin-builder/modules/migration.md +341 -0
- moai_adk/templates/.claude/skills/moai-plugin-builder/modules/validation.md +373 -0
- moai_adk/templates/.claude/skills/moai-plugin-builder/reference.md +464 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/SKILL.md +307 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/examples.md +1099 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/modules/language-specific.md +307 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/modules/pattern-syntax.md +237 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/modules/refactoring-patterns.md +260 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/modules/security-rules.md +239 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/reference.md +288 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/languages/go.yml +90 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/languages/python.yml +101 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/languages/typescript.yml +83 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/quality/complexity-check.yml +94 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/quality/deprecated-apis.yml +84 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/security/secrets-detection.yml +89 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/security/sql-injection.yml +45 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/security/xss-prevention.yml +50 -0
- moai_adk/templates/.claude/skills/moai-tool-ast-grep/rules/sgconfig.yml +54 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/SKILL.md +215 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/examples.md +697 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/index.md +96 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/acp.md +115 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/agents.md +241 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/commands.md +197 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/custom-tools.md +197 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/formatters.md +164 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/keybinds.md +150 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/lsp-servers.md +156 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/mcp-servers.md +214 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/models.md +197 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/permissions.md +162 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/rules.md +129 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/skills.md +192 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/themes.md +200 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/configure/tools.md +169 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/config.md +211 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/enterprise.md +68 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/intro.md +127 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/migration-1.0.md +82 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/network.md +72 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/providers.md +310 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/core/troubleshooting.md +124 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/develop/ecosystem.md +75 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/develop/plugins.md +218 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/develop/sdk.md +266 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/develop/server.md +207 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/cli.md +159 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/github.md +181 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/gitlab.md +122 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/ide.md +74 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/share.md +106 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/tui.md +129 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/modules/usage/zen.md +118 -0
- moai_adk/templates/.claude/skills/moai-tool-opencode/reference.md +790 -0
- moai_adk/templates/.claude/skills/moai-workflow-jit-docs/SKILL.md +190 -424
- moai_adk/templates/.claude/skills/moai-workflow-jit-docs/examples.md +544 -0
- moai_adk/templates/.claude/skills/moai-workflow-jit-docs/reference.md +307 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/SKILL.md +188 -314
- moai_adk/templates/.claude/skills/moai-workflow-project/examples.md +547 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/reference.md +275 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/schemas/tab_schema.json +284 -212
- moai_adk/templates/.claude/skills/moai-workflow-project/templates/doc-templates/product-template.md +2 -2
- moai_adk/templates/.claude/skills/moai-workflow-project/templates/doc-templates/structure-template.md +1 -1
- moai_adk/templates/.claude/skills/moai-workflow-project/templates/doc-templates/tech-template.md +22 -1
- moai_adk/templates/.claude/skills/moai-workflow-spec/SKILL.md +337 -0
- moai_adk/templates/.claude/skills/moai-workflow-spec/examples.md +900 -0
- moai_adk/templates/.claude/skills/moai-workflow-spec/modules/advanced-patterns.md +237 -0
- moai_adk/templates/.claude/skills/moai-workflow-spec/reference.md +704 -0
- moai_adk/templates/.claude/skills/moai-workflow-templates/SKILL.md +13 -0
- moai_adk/templates/.claude/skills/moai-workflow-templates/examples.md +552 -0
- moai_adk/templates/.claude/skills/moai-workflow-templates/reference.md +346 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/SKILL.md +222 -367
- moai_adk/templates/.claude/skills/moai-workflow-testing/examples.md +672 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/README.md +52 -3
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/ai-debugging.md +263 -806
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/context7-integration.md +286 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/review-workflows.md +500 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework/relevance-analysis.md +154 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework/safety-analysis.md +148 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework/scoring-algorithms.md +196 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework/timeliness-analysis.md +168 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework/truthfulness-analysis.md +136 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework/usability-analysis.md +153 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review/trust5-framework.md +257 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review.md +191 -1344
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/code-review/analysis-patterns.md +340 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/code-review/core-classes.md +299 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/code-review/tool-integration.md +380 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/debugging/debugging-workflows.md +451 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/debugging/error-analysis.md +442 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance/optimization-patterns.md +473 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance/profiling-techniques.md +481 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance-optimization/ai-optimization.md +241 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance-optimization/bottleneck-detection.md +397 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance-optimization/optimization-plan.md +315 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance-optimization/profiler-core.md +277 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance-optimization/real-time-monitoring.md +187 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance-optimization.md +287 -1194
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/quality-metrics.md +415 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/refactoring/ai-workflows.md +620 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/refactoring/patterns.md +692 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/security-analysis.md +429 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/smart-refactoring.md +262 -1192
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/static-analysis.md +438 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/tdd/core-classes.md +397 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/tdd-context7/advanced-features.md +494 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/tdd-context7/red-green-refactor.md +316 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/tdd-context7/test-generation.md +471 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/tdd-context7/test-patterns.md +371 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/tdd-context7.md +227 -1222
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/trust5-validation.md +428 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/reference.md +440 -0
- moai_adk/templates/.claude/skills/moai-workflow-worktree/SKILL.md +228 -0
- moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/integration-patterns.md +149 -0
- moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/moai-adk-integration.md +245 -0
- moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/parallel-advanced.md +310 -0
- moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/parallel-development.md +202 -0
- moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/parallel-workflows.md +302 -0
- moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/registry-architecture.md +271 -0
- moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/resource-optimization.md +300 -0
- moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/tools-integration.md +280 -0
- moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/troubleshooting.md +397 -0
- moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/worktree-commands.md +296 -0
- moai_adk/templates/.claude/skills/moai-workflow-worktree/modules/worktree-management.md +217 -0
- moai_adk/templates/.git-hooks/pre-push +168 -50
- moai_adk/templates/.gitignore +0 -3
- moai_adk/templates/.lsp.json +152 -0
- moai_adk/templates/.mcp.json +5 -12
- moai_adk/templates/.moai/config/config.yaml +20 -306
- moai_adk/templates/.moai/config/multilingual-triggers.yaml +213 -0
- moai_adk/templates/.moai/config/questions/_schema.yaml +105 -10
- moai_adk/templates/.moai/config/questions/tab0-init.yaml +259 -0
- moai_adk/templates/.moai/config/questions/tab1-user.yaml +4 -5
- moai_adk/templates/.moai/config/questions/tab2-project.yaml +12 -55
- moai_adk/templates/.moai/config/questions/tab3-git.yaml +111 -21
- moai_adk/templates/.moai/config/questions/tab4-quality.yaml +34 -18
- moai_adk/templates/.moai/config/questions/tab5-system.yaml +19 -75
- moai_adk/templates/.moai/config/sections/git-strategy.yaml +83 -7
- moai_adk/templates/.moai/config/sections/language.yaml +7 -7
- moai_adk/templates/.moai/config/sections/project.yaml +1 -1
- moai_adk/templates/.moai/config/sections/quality.yaml +7 -4
- moai_adk/templates/.moai/config/sections/system.yaml +11 -1
- moai_adk/templates/.moai/config/statusline-config.yaml +19 -13
- moai_adk/templates/.moai/scripts/setup-glm.py +4 -4
- moai_adk/templates/CLAUDE.md +578 -154
- moai_adk/utils/common.py +33 -0
- moai_adk/version.py +1 -1
- {moai_adk-0.32.8.dist-info → moai_adk-0.41.2.dist-info}/METADATA +905 -109
- moai_adk-0.41.2.dist-info/RECORD +683 -0
- moai_adk/core/config/auto_spec_config.py +0 -340
- moai_adk/core/hooks/post_tool_auto_spec_completion.py +0 -901
- moai_adk/core/spec/confidence_scoring.py +0 -680
- moai_adk/core/spec/ears_template_engine.py +0 -1247
- moai_adk/core/spec/quality_validator.py +0 -687
- moai_adk/templates/.claude/skills/moai-domain-uiux/modules/design-system-tokens.md +0 -405
- moai_adk/templates/.claude/skills/moai-integration-mcp/SKILL.md +0 -352
- moai_adk/templates/.claude/skills/moai-integration-mcp/modules/README.md +0 -52
- moai_adk/templates/.claude/skills/moai-integration-mcp/modules/error-handling.md +0 -334
- moai_adk/templates/.claude/skills/moai-integration-mcp/modules/integration-patterns.md +0 -310
- moai_adk/templates/.claude/skills/moai-integration-mcp/modules/security-authentication.md +0 -256
- moai_adk/templates/.claude/skills/moai-integration-mcp/modules/server-architecture.md +0 -253
- moai_adk/templates/.claude/skills/moai-lang-unified/README.md +0 -133
- moai_adk/templates/.claude/skills/moai-lang-unified/SKILL.md +0 -296
- moai_adk/templates/.claude/skills/moai-lang-unified/examples.md +0 -1269
- moai_adk/templates/.claude/skills/moai-lang-unified/reference.md +0 -331
- moai_adk/templates/.claude/skills/moai-library-nextra/advanced-patterns.md +0 -336
- moai_adk/templates/.claude/skills/moai-platform-baas/README.md +0 -186
- moai_adk/templates/.claude/skills/moai-platform-baas/SKILL.md +0 -290
- moai_adk/templates/.claude/skills/moai-platform-baas/examples.md +0 -1225
- moai_adk/templates/.claude/skills/moai-platform-baas/reference.md +0 -567
- moai_adk/templates/.claude/skills/moai-platform-baas/scripts/provider-selector.py +0 -323
- moai_adk/templates/.claude/skills/moai-platform-baas/templates/stack-config.yaml +0 -204
- moai_adk/templates/.claude/skills/moai-workflow-project/__init__.py +0 -520
- moai_adk/templates/.claude/skills/moai-workflow-project/complete_workflow_demo_fixed.py +0 -574
- moai_adk/templates/.claude/skills/moai-workflow-project/examples/complete_project_setup.py +0 -317
- moai_adk/templates/.claude/skills/moai-workflow-project/examples/complete_workflow_demo.py +0 -663
- moai_adk/templates/.claude/skills/moai-workflow-project/examples/config-migration-example.json +0 -190
- moai_adk/templates/.claude/skills/moai-workflow-project/examples/question-examples.json +0 -135
- moai_adk/templates/.claude/skills/moai-workflow-project/examples/quick_start.py +0 -196
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/__init__.py +0 -17
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/advanced-patterns.md +0 -158
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/ask_user_integration.py +0 -340
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/batch_questions.py +0 -713
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/config_manager.py +0 -538
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/documentation_manager.py +0 -1336
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/language_initializer.py +0 -730
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/migration_manager.py +0 -608
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/template_optimizer.py +0 -1005
- moai_adk/templates/.claude/skills/moai-workflow-project/test_integration_simple.py +0 -436
- moai_adk/templates/.claude/skills/moai-worktree/SKILL.md +0 -410
- moai_adk/templates/.claude/skills/moai-worktree/modules/integration-patterns.md +0 -982
- moai_adk/templates/.claude/skills/moai-worktree/modules/parallel-development.md +0 -778
- moai_adk/templates/.claude/skills/moai-worktree/modules/worktree-commands.md +0 -646
- moai_adk/templates/.claude/skills/moai-worktree/modules/worktree-management.md +0 -782
- moai_adk/templates/.moai/cache/personalization.json +0 -10
- moai_adk/templates/.moai/config/presets/manual.yaml +0 -28
- moai_adk/templates/.moai/config/presets/personal.yaml +0 -30
- moai_adk/templates/.moai/config/presets/team.yaml +0 -33
- moai_adk-0.32.8.dist-info/RECORD +0 -396
- /moai_adk/templates/.claude/skills/moai-library-mermaid/{advanced-patterns.md → modules/advanced-patterns.md} +0 -0
- /moai_adk/templates/.claude/skills/moai-library-mermaid/{optimization.md → modules/optimization.md} +0 -0
- /moai_adk/templates/.claude/skills/moai-library-nextra/{optimization.md → modules/optimization.md} +0 -0
- /moai_adk/templates/.claude/skills/moai-workflow-jit-docs/{advanced-patterns.md → modules/advanced-patterns.md} +0 -0
- /moai_adk/templates/.claude/skills/moai-workflow-jit-docs/{optimization.md → modules/optimization.md} +0 -0
- /moai_adk/templates/.claude/skills/moai-workflow-testing/{advanced-patterns.md → modules/advanced-patterns.md} +0 -0
- /moai_adk/templates/.claude/skills/moai-workflow-testing/{optimization.md → modules/optimization.md} +0 -0
- /moai_adk/templates/.claude/skills/{moai-worktree → moai-workflow-worktree}/examples.md +0 -0
- /moai_adk/templates/.claude/skills/{moai-worktree → moai-workflow-worktree}/reference.md +0 -0
- {moai_adk-0.32.8.dist-info → moai_adk-0.41.2.dist-info}/WHEEL +0 -0
- {moai_adk-0.32.8.dist-info → moai_adk-0.41.2.dist-info}/entry_points.txt +0 -0
- {moai_adk-0.32.8.dist-info → moai_adk-0.41.2.dist-info}/licenses/LICENSE +0 -0
moai_adk/templates/CLAUDE.md
CHANGED
|
@@ -16,7 +16,6 @@ Core Principle: Alfred delegates all tasks to specialized agents and coordinates
|
|
|
16
16
|
|
|
17
17
|
- [HARD] Language-Aware Responses: Always respond in user's selected language (internal agent instructions remain in English)
|
|
18
18
|
WHY: User comprehension is paramount; English internals ensure consistency
|
|
19
|
-
See "Language-Aware Responses" section for detailed rules
|
|
20
19
|
|
|
21
20
|
---
|
|
22
21
|
|
|
@@ -32,79 +31,28 @@ Formatting Requirements:
|
|
|
32
31
|
- Describe concepts and logic in narrative style
|
|
33
32
|
- Present workflows with clear textual descriptions
|
|
34
33
|
- Organize information using list format
|
|
35
|
-
- Express everything in pure text format
|
|
36
34
|
|
|
37
35
|
### Content Restrictions
|
|
38
36
|
|
|
39
37
|
Restricted Content:
|
|
40
38
|
- Conceptual explanations expressed as code examples
|
|
41
|
-
-
|
|
42
|
-
- Executable code examples in instructions
|
|
43
|
-
- Programming code used to explain concepts
|
|
44
|
-
- Flow control logic expressed as code (if/else, loops, conditions)
|
|
45
|
-
- Branching logic presented as programming syntax
|
|
46
|
-
- Comparison operations written as code expressions
|
|
39
|
+
- Flow control logic expressed as code syntax
|
|
47
40
|
- Decision trees shown as code structures
|
|
48
41
|
- Table format in instructions
|
|
49
|
-
- Emoji
|
|
50
|
-
- Time estimates or duration predictions
|
|
42
|
+
- Emoji characters in instructions
|
|
43
|
+
- Time estimates or duration predictions
|
|
51
44
|
|
|
52
|
-
WHY: Code examples can be misinterpreted as executable commands.
|
|
45
|
+
WHY: Code examples can be misinterpreted as executable commands. Flow control must use narrative text format.
|
|
53
46
|
|
|
54
47
|
### Scope of Application
|
|
55
48
|
|
|
56
49
|
These standards apply to: CLAUDE.md, agent definitions, slash commands, skill definitions, hook definitions, and configuration files.
|
|
57
50
|
|
|
58
|
-
### Correct vs Incorrect Examples
|
|
59
|
-
|
|
60
|
-
Flow Control - INCORRECT (code block):
|
|
61
|
-
|
|
62
|
-
If auto_branch equals False, set ROUTE to USE_CURRENT_BRANCH. Otherwise, set ROUTE to CREATE_BRANCH.
|
|
63
|
-
|
|
64
|
-
Flow Control - CORRECT (text instructions):
|
|
65
|
-
|
|
66
|
-
Check the auto_branch configuration value:
|
|
67
|
-
- If auto_branch equals false: Set ROUTE to USE_CURRENT_BRANCH
|
|
68
|
-
- If auto_branch equals true: Set ROUTE to CREATE_BRANCH
|
|
69
|
-
|
|
70
|
-
Branching Logic - INCORRECT (code):
|
|
71
|
-
|
|
72
|
-
Process each file in the list. For files with .py extension, perform processing. For other files, skip to next.
|
|
73
|
-
|
|
74
|
-
Branching Logic - CORRECT (text):
|
|
75
|
-
|
|
76
|
-
For each file in the file list:
|
|
77
|
-
- Check if the file extension is .py
|
|
78
|
-
- If yes: Process the file
|
|
79
|
-
- If no: Skip to the next file
|
|
80
|
-
|
|
81
|
-
Comparison Operations - INCORRECT (code):
|
|
82
|
-
|
|
83
|
-
Check if the score is greater than or equal to 80, less than 50, or between 50 and 79.
|
|
84
|
-
|
|
85
|
-
Comparison Operations - CORRECT (text):
|
|
86
|
-
|
|
87
|
-
Compare the score against thresholds:
|
|
88
|
-
- If score is 80 or higher: Apply high-priority action
|
|
89
|
-
- If score is below 50: Apply low-priority action
|
|
90
|
-
- If score is between 50 and 79: Apply medium-priority action
|
|
91
|
-
|
|
92
|
-
Decision Trees - INCORRECT (code):
|
|
93
|
-
|
|
94
|
-
Based on user role, determine access level. For admin role, grant full access. For user role, grant read-only access.
|
|
95
|
-
|
|
96
|
-
Decision Trees - CORRECT (text):
|
|
97
|
-
|
|
98
|
-
Determine access level based on user role:
|
|
99
|
-
- Admin role detected: Grant full access to all resources
|
|
100
|
-
- User role detected: Grant read-only access to public resources
|
|
101
|
-
- Guest role detected: Grant limited access to welcome page only
|
|
102
|
-
|
|
103
51
|
---
|
|
104
52
|
|
|
105
|
-
##
|
|
53
|
+
## Agent Invocation Patterns
|
|
106
54
|
|
|
107
|
-
### Explicit
|
|
55
|
+
### Explicit Invocation
|
|
108
56
|
|
|
109
57
|
Invoke agents using clear, direct natural language:
|
|
110
58
|
|
|
@@ -114,6 +62,18 @@ Invoke agents using clear, direct natural language:
|
|
|
114
62
|
|
|
115
63
|
WHY: Explicit invocation patterns ensure consistent agent activation and clear task boundaries.
|
|
116
64
|
|
|
65
|
+
### Agent Management with /agents Command
|
|
66
|
+
|
|
67
|
+
The /agents command provides an interactive interface to:
|
|
68
|
+
|
|
69
|
+
- View all available sub-agents (built-in, user, project)
|
|
70
|
+
- Create new sub-agents with guided setup
|
|
71
|
+
- Edit existing custom sub-agents
|
|
72
|
+
- Manage tool permissions for each agent
|
|
73
|
+
- Delete custom sub-agents
|
|
74
|
+
|
|
75
|
+
To create a new agent: Type /agents, select "Create New Agent", define purpose, select tools, and edit the system prompt.
|
|
76
|
+
|
|
117
77
|
### Agent Chaining Patterns
|
|
118
78
|
|
|
119
79
|
Sequential Chaining:
|
|
@@ -124,10 +84,266 @@ Use the expert-backend subagent to develop the API, simultaneously use the exper
|
|
|
124
84
|
|
|
125
85
|
### Resumable Agents
|
|
126
86
|
|
|
127
|
-
Resume interrupted agent work:
|
|
87
|
+
Resume interrupted agent work using agentId:
|
|
88
|
+
|
|
128
89
|
- Resume agent abc123 and continue the security analysis
|
|
129
90
|
- Continue with the frontend development using the existing context
|
|
130
91
|
|
|
92
|
+
Each sub-agent execution gets a unique agentId stored in agent-{agentId}.jsonl format. Full context is preserved for resumption.
|
|
93
|
+
### Multilingual Agent Routing
|
|
94
|
+
|
|
95
|
+
Alfred automatically routes user requests to specialized agents based on keyword matching in any supported language.
|
|
96
|
+
|
|
97
|
+
#### Supported Languages
|
|
98
|
+
|
|
99
|
+
- EN: English
|
|
100
|
+
- KO: Korean (한국어)
|
|
101
|
+
- JA: Japanese (日本語)
|
|
102
|
+
- ZH: Chinese (中文)
|
|
103
|
+
|
|
104
|
+
#### Intent-to-Agent Mapping
|
|
105
|
+
|
|
106
|
+
[HARD] When user request contains these keywords (in ANY language), Alfred MUST automatically invoke the corresponding agent:
|
|
107
|
+
|
|
108
|
+
Backend Domain (expert-backend):
|
|
109
|
+
- EN: backend, API, server, authentication, database, REST, GraphQL, microservices
|
|
110
|
+
- KO: 백엔드, API, 서버, 인증, 데이터베이스, RESTful, 마이크로서비스
|
|
111
|
+
- JA: バックエンド, API, サーバー, 認証, データベース
|
|
112
|
+
- ZH: 后端, API, 服务器, 认证, 数据库, 微服务
|
|
113
|
+
|
|
114
|
+
Frontend Domain (expert-frontend):
|
|
115
|
+
- EN: frontend, UI, component, React, Vue, Next.js, CSS, state management
|
|
116
|
+
- KO: 프론트엔드, UI, 컴포넌트, 리액트, 뷰, CSS, 상태관리
|
|
117
|
+
- JA: フロントエンド, UI, コンポーネント, リアクト, CSS, 状態管理
|
|
118
|
+
- ZH: 前端, UI, 组件, React, Vue, CSS, 状态管理
|
|
119
|
+
|
|
120
|
+
Database Domain (expert-database):
|
|
121
|
+
- EN: database, SQL, NoSQL, PostgreSQL, MongoDB, Redis, schema, query
|
|
122
|
+
- KO: 데이터베이스, SQL, NoSQL, 스키마, 쿼리, 인덱스
|
|
123
|
+
- JA: データベース, SQL, NoSQL, スキーマ, クエリ
|
|
124
|
+
- ZH: 数据库, SQL, NoSQL, 架构, 查询, 索引
|
|
125
|
+
|
|
126
|
+
Security Domain (expert-security):
|
|
127
|
+
- EN: security, vulnerability, OWASP, injection, XSS, CSRF, audit
|
|
128
|
+
- KO: 보안, 취약점, OWASP, 인젝션, XSS, CSRF, 감사
|
|
129
|
+
- JA: セキュリティ, 脆弱性, OWASP, インジェクション
|
|
130
|
+
- ZH: 安全, 漏洞, OWASP, 注入, XSS, CSRF, 审计
|
|
131
|
+
|
|
132
|
+
TDD Implementation (manager-tdd):
|
|
133
|
+
- EN: TDD, RED-GREEN-REFACTOR, test-driven, unit test, test first
|
|
134
|
+
- KO: TDD, 레드그린리팩터, 테스트주도개발, 유닛테스트
|
|
135
|
+
- JA: TDD, テスト駆動開発, ユニットテスト
|
|
136
|
+
- ZH: TDD, 红绿重构, 测试驱动开发, 单元测试
|
|
137
|
+
|
|
138
|
+
SPEC Creation (manager-spec):
|
|
139
|
+
- EN: SPEC, requirement, specification, EARS, acceptance criteria
|
|
140
|
+
- KO: SPEC, 요구사항, 명세서, EARS, 인수조건
|
|
141
|
+
- JA: SPEC, 要件, 仕様書, EARS, 受入基準
|
|
142
|
+
- ZH: SPEC, 需求, 规格书, EARS, 验收标准
|
|
143
|
+
|
|
144
|
+
DevOps Domain (expert-devops):
|
|
145
|
+
- EN: DevOps, CI/CD, Docker, Kubernetes, deployment, pipeline
|
|
146
|
+
- KO: 데브옵스, CI/CD, 도커, 쿠버네티스, 배포, 파이프라인
|
|
147
|
+
- JA: DevOps, CI/CD, Docker, Kubernetes, デプロイ
|
|
148
|
+
- ZH: DevOps, CI/CD, Docker, Kubernetes, 部署, 流水线
|
|
149
|
+
|
|
150
|
+
Documentation (manager-docs):
|
|
151
|
+
- EN: documentation, README, API docs, technical writing
|
|
152
|
+
- KO: 문서, README, API문서, 기술문서
|
|
153
|
+
- JA: ドキュメント, README, APIドキュメント
|
|
154
|
+
- ZH: 文档, README, API文档, 技术写作
|
|
155
|
+
|
|
156
|
+
Performance (expert-performance):
|
|
157
|
+
- EN: performance, profiling, optimization, benchmark, memory, latency
|
|
158
|
+
- KO: 성능, 프로파일링, 최적화, 벤치마크, 메모리
|
|
159
|
+
- JA: パフォーマンス, プロファイリング, 最適化
|
|
160
|
+
- ZH: 性能, 性能分析, 优化, 基准测试
|
|
161
|
+
|
|
162
|
+
Debug (expert-debug):
|
|
163
|
+
- EN: debug, error, bug, exception, crash, troubleshoot
|
|
164
|
+
- KO: 디버그, 에러, 버그, 예외, 크래시, 문제해결
|
|
165
|
+
- JA: デバッグ, エラー, バグ, 例外, クラッシュ
|
|
166
|
+
- ZH: 调试, 错误, bug, 异常, 崩溃, 故障排除
|
|
167
|
+
|
|
168
|
+
Refactoring (expert-refactoring):
|
|
169
|
+
- EN: refactor, restructure, codemod, transform, migrate API, bulk rename, AST search
|
|
170
|
+
- KO: 리팩토링, 재구조화, 코드모드, 변환, API 마이그레이션, 일괄 변경, AST검색
|
|
171
|
+
- JA: リファクタリング, 再構造化, コードモード, 変換, API移行, 一括変更, AST検索
|
|
172
|
+
- ZH: 重构, 重组, 代码模式, 转换, API迁移, 批量重命名, AST搜索
|
|
173
|
+
|
|
174
|
+
Git Operations (manager-git):
|
|
175
|
+
- EN: git, commit, push, pull, branch, PR, pull request, merge, release, version control, checkout, rebase, stash
|
|
176
|
+
- KO: git, 커밋, 푸시, 풀, 브랜치, PR, 풀리퀘스트, 머지, 릴리즈, 버전관리, 체크아웃, 리베이스
|
|
177
|
+
- JA: git, コミット, プッシュ, プル, ブランチ, PR, プルリクエスト, マージ, リリース
|
|
178
|
+
- ZH: git, 提交, 推送, 拉取, 分支, PR, 拉取请求, 合并, 发布
|
|
179
|
+
|
|
180
|
+
UI/UX Design (expert-uiux):
|
|
181
|
+
- EN: UI/UX, design, accessibility, WCAG, user experience, design system, wireframe, persona, user journey
|
|
182
|
+
- KO: UI/UX, 디자인, 접근성, WCAG, 사용자경험, 디자인시스템, 와이어프레임, 페르소나
|
|
183
|
+
- JA: UI/UX, デザイン, アクセシビリティ, WCAG, ユーザー体験, デザインシステム
|
|
184
|
+
- ZH: UI/UX, 设计, 可访问性, WCAG, 用户体验, 设计系统
|
|
185
|
+
|
|
186
|
+
Quality Gate (manager-quality):
|
|
187
|
+
- EN: quality, TRUST 5, code review, compliance, quality gate, lint, code quality
|
|
188
|
+
- KO: 품질, TRUST 5, 코드리뷰, 준수, 품질게이트, 린트, 코드품질
|
|
189
|
+
- JA: 品質, TRUST 5, コードレビュー, コンプライアンス, 品質ゲート, リント
|
|
190
|
+
- ZH: 质量, TRUST 5, 代码审查, 合规, 质量门, lint
|
|
191
|
+
|
|
192
|
+
Testing Strategy (expert-testing):
|
|
193
|
+
- EN: test strategy, E2E, integration test, load test, test automation, coverage, QA
|
|
194
|
+
- KO: 테스트전략, E2E, 통합테스트, 부하테스트, 테스트자동화, 커버리지, QA
|
|
195
|
+
- JA: テスト戦略, E2E, 統合テスト, 負荷テスト, テスト自動化, カバレッジ, QA
|
|
196
|
+
- ZH: 测试策略, E2E, 集成测试, 负载测试, 测试自动化, 覆盖率, QA
|
|
197
|
+
|
|
198
|
+
Project Setup (manager-project):
|
|
199
|
+
- EN: project setup, initialization, .moai, project configuration, scaffold, new project
|
|
200
|
+
- KO: 프로젝트설정, 초기화, .moai, 프로젝트구성, 스캐폴드, 새프로젝트
|
|
201
|
+
- JA: プロジェクトセットアップ, 初期化, .moai, プロジェクト構成, スキャフォールド
|
|
202
|
+
- ZH: 项目设置, 初始化, .moai, 项目配置, 脚手架
|
|
203
|
+
|
|
204
|
+
Implementation Strategy (manager-strategy):
|
|
205
|
+
- EN: strategy, implementation plan, architecture decision, technology evaluation, planning
|
|
206
|
+
- KO: 전략, 구현계획, 아키텍처결정, 기술평가, 계획
|
|
207
|
+
- JA: 戦略, 実装計画, アーキテクチャ決定, 技術評価
|
|
208
|
+
- ZH: 策略, 实施计划, 架构决策, 技术评估
|
|
209
|
+
|
|
210
|
+
Claude Code Configuration (manager-claude-code):
|
|
211
|
+
- EN: Claude Code, configuration, settings.json, MCP, agent orchestration, claude config
|
|
212
|
+
- KO: Claude Code, 설정, settings.json, MCP, 에이전트오케스트레이션, 클로드설정
|
|
213
|
+
- JA: Claude Code, 設定, settings.json, MCP, エージェントオーケストレーション
|
|
214
|
+
- ZH: Claude Code, 配置, settings.json, MCP, 代理编排
|
|
215
|
+
|
|
216
|
+
Agent Creation (builder-agent):
|
|
217
|
+
- EN: create agent, new agent, agent blueprint, sub-agent, agent definition, custom agent
|
|
218
|
+
- KO: 에이전트생성, 새에이전트, 에이전트블루프린트, 서브에이전트, 에이전트정의, 커스텀에이전트
|
|
219
|
+
- JA: エージェント作成, 新エージェント, エージェントブループリント, サブエージェント
|
|
220
|
+
- ZH: 创建代理, 新代理, 代理蓝图, 子代理, 代理定义
|
|
221
|
+
|
|
222
|
+
Command Creation (builder-command):
|
|
223
|
+
- EN: create command, slash command, custom command, command optimization, new command
|
|
224
|
+
- KO: 커맨드생성, 슬래시커맨드, 커스텀커맨드, 커맨드최적화, 새커맨드
|
|
225
|
+
- JA: コマンド作成, スラッシュコマンド, カスタムコマンド, コマンド最適化
|
|
226
|
+
- ZH: 创建命令, 斜杠命令, 自定义命令, 命令优化
|
|
227
|
+
|
|
228
|
+
Skill Creation (builder-skill):
|
|
229
|
+
- EN: create skill, new skill, skill optimization, knowledge domain, YAML frontmatter
|
|
230
|
+
- KO: 스킬생성, 새스킬, 스킬최적화, 지식도메인, YAML프론트매터
|
|
231
|
+
- JA: スキル作成, 新スキル, スキル最適化, 知識ドメイン, YAMLフロントマター
|
|
232
|
+
- ZH: 创建技能, 新技能, 技能优化, 知识领域, YAML前置信息
|
|
233
|
+
|
|
234
|
+
Plugin Creation (builder-plugin):
|
|
235
|
+
- EN: create plugin, plugin, plugin validation, plugin structure, marketplace, new plugin
|
|
236
|
+
- KO: 플러그인생성, 플러그인, 플러그인검증, 플러그인구조, 마켓플레이스, 새플러그인
|
|
237
|
+
- JA: プラグイン作成, プラグイン, プラグイン検証, プラグイン構造, マーケットプレイス
|
|
238
|
+
- ZH: 创建插件, 插件, 插件验证, 插件结构, 市场
|
|
239
|
+
|
|
240
|
+
Image Generation (ai-nano-banana):
|
|
241
|
+
- EN: image generation, visual content, prompt optimization, Gemini, AI image, image edit
|
|
242
|
+
- KO: 이미지생성, 시각적콘텐츠, 프롬프트최적화, 제미나이, AI이미지, 이미지편집
|
|
243
|
+
- JA: 画像生成, ビジュアルコンテンツ, プロンプト最適化, Gemini, AI画像
|
|
244
|
+
- ZH: 图像生成, 视觉内容, 提示词优化, Gemini, AI图像
|
|
245
|
+
|
|
246
|
+
WHY: Keyword-based routing ensures consistent agent selection regardless of request language.
|
|
247
|
+
|
|
248
|
+
#### Cross-Lingual Thought (XLT) Protocol
|
|
249
|
+
|
|
250
|
+
[HARD] When processing non-English user requests:
|
|
251
|
+
|
|
252
|
+
Step 1 - Internal Translation:
|
|
253
|
+
- Internally identify English equivalents of user intent keywords
|
|
254
|
+
- Example: "백엔드 API 설계해줘" → Internal mapping: "backend API design"
|
|
255
|
+
|
|
256
|
+
Step 2 - Agent Selection:
|
|
257
|
+
- Match translated keywords against agent trigger patterns
|
|
258
|
+
- Select appropriate agent based on keyword matching
|
|
259
|
+
|
|
260
|
+
Step 3 - Delegation:
|
|
261
|
+
- Invoke selected agent with original user request (preserving user's language)
|
|
262
|
+
- Agent responds in user's conversation_language
|
|
263
|
+
|
|
264
|
+
WHY: XLT processing bridges the semantic gap between user's language and English-based agent descriptions.
|
|
265
|
+
|
|
266
|
+
#### Mandatory Delegation Enforcement
|
|
267
|
+
|
|
268
|
+
[HARD] Alfred MUST delegate to specialized agents for ALL implementation tasks.
|
|
269
|
+
|
|
270
|
+
Violation Detection:
|
|
271
|
+
- If Alfred attempts to write code directly → VIOLATION
|
|
272
|
+
- If Alfred attempts to modify files without agent delegation → VIOLATION
|
|
273
|
+
- If Alfred responds to implementation requests without invoking agents → VIOLATION
|
|
274
|
+
|
|
275
|
+
Enforcement Rule:
|
|
276
|
+
- When ANY trigger keyword is detected in user request
|
|
277
|
+
- Alfred MUST invoke corresponding agent BEFORE responding
|
|
278
|
+
- Direct implementation by Alfred is PROHIBITED
|
|
279
|
+
|
|
280
|
+
WHY: Direct implementation bypasses specialized expertise and quality controls.
|
|
281
|
+
|
|
282
|
+
#### Dynamic Skill Loading Triggers
|
|
283
|
+
|
|
284
|
+
[HARD] When user mentions specific technologies, automatically load corresponding skills:
|
|
285
|
+
|
|
286
|
+
Technology-to-Skill Mapping:
|
|
287
|
+
|
|
288
|
+
Python Technologies:
|
|
289
|
+
- Keywords: Python, FastAPI, Django, Flask, pytest, pip, virtualenv
|
|
290
|
+
- Korean: 파이썬, FastAPI, 장고, 플라스크
|
|
291
|
+
- Japanese: パイソン, FastAPI, Django
|
|
292
|
+
- Chinese: Python, FastAPI, Django
|
|
293
|
+
- Skill: moai-lang-python
|
|
294
|
+
|
|
295
|
+
TypeScript/JavaScript Technologies:
|
|
296
|
+
- Keywords: TypeScript, JavaScript, React, Next.js, Vue, Node.js, npm, Express
|
|
297
|
+
- Korean: 타입스크립트, 자바스크립트, 리액트, 넥스트, 뷰, 노드
|
|
298
|
+
- Japanese: TypeScript, JavaScript, リアクト, ビュー, ノード
|
|
299
|
+
- Chinese: TypeScript, JavaScript, React, Vue, Node
|
|
300
|
+
- Skill: moai-lang-typescript, moai-lang-javascript
|
|
301
|
+
|
|
302
|
+
Go Technologies:
|
|
303
|
+
- Keywords: Go, Golang, Gin, Echo, Fiber
|
|
304
|
+
- Korean: 고, 고랭, Gin
|
|
305
|
+
- Japanese: Go, Golang, Gin
|
|
306
|
+
- Chinese: Go, Golang, Gin
|
|
307
|
+
- Skill: moai-lang-go
|
|
308
|
+
|
|
309
|
+
Rust Technologies:
|
|
310
|
+
- Keywords: Rust, Axum, Tokio, Cargo
|
|
311
|
+
- Korean: 러스트, Axum, Tokio
|
|
312
|
+
- Japanese: Rust, Axum, Tokio
|
|
313
|
+
- Chinese: Rust, Axum, Tokio
|
|
314
|
+
- Skill: moai-lang-rust
|
|
315
|
+
|
|
316
|
+
Java/Kotlin Technologies:
|
|
317
|
+
- Keywords: Java, Spring Boot, Kotlin, Gradle, Maven
|
|
318
|
+
- Korean: 자바, 스프링부트, 코틀린
|
|
319
|
+
- Japanese: Java, Spring Boot, Kotlin
|
|
320
|
+
- Chinese: Java, Spring Boot, Kotlin
|
|
321
|
+
- Skill: moai-lang-java, moai-lang-kotlin
|
|
322
|
+
|
|
323
|
+
Database Technologies:
|
|
324
|
+
- Keywords: PostgreSQL, MongoDB, Redis, MySQL, SQLite
|
|
325
|
+
- Korean: PostgreSQL, MongoDB, Redis, MySQL
|
|
326
|
+
- Japanese: PostgreSQL, MongoDB, Redis
|
|
327
|
+
- Chinese: PostgreSQL, MongoDB, Redis
|
|
328
|
+
- Skill: moai-domain-database
|
|
329
|
+
|
|
330
|
+
Frontend Frameworks:
|
|
331
|
+
- Keywords: React, Vue, Next.js, Nuxt, Tailwind, CSS
|
|
332
|
+
- Korean: 리액트, 뷰, 넥스트, 테일윈드
|
|
333
|
+
- Japanese: リアクト, ビュー, Next.js, Tailwind
|
|
334
|
+
- Chinese: React, Vue, Next.js, Tailwind
|
|
335
|
+
- Skill: moai-domain-frontend
|
|
336
|
+
|
|
337
|
+
AST-Grep Technologies:
|
|
338
|
+
- Keywords: ast-grep, sg, structural search, codemod, refactor pattern, AST search
|
|
339
|
+
- Korean: AST검색, 구조적검색, 코드모드, 리팩토링패턴, AST그렙
|
|
340
|
+
- Japanese: AST検索, 構造検索, コードモード, リファクタリングパターン
|
|
341
|
+
- Chinese: AST搜索, 结构搜索, 代码模式, 重构模式
|
|
342
|
+
- Skill: moai-tool-ast-grep
|
|
343
|
+
|
|
344
|
+
WHY: Automatic skill loading ensures relevant framework knowledge is available without manual invocation.
|
|
345
|
+
|
|
346
|
+
|
|
131
347
|
---
|
|
132
348
|
|
|
133
349
|
## Alfred's Three-Step Execution Model
|
|
@@ -143,7 +359,6 @@ Core Execution Skills:
|
|
|
143
359
|
- Skill("moai-foundation-claude") - Alfred orchestration rules
|
|
144
360
|
- Skill("moai-foundation-core") - SPEC system and core workflows
|
|
145
361
|
- Skill("moai-workflow-project") - Project management and documentation
|
|
146
|
-
- Skill("moai-workflow-docs") - Integrated document management
|
|
147
362
|
|
|
148
363
|
### Step 2: Plan
|
|
149
364
|
|
|
@@ -158,7 +373,6 @@ Agent Selection Guide by Task Type:
|
|
|
158
373
|
- Security Review: Use expert-security subagent
|
|
159
374
|
- TDD-Based Development: Use manager-tdd subagent
|
|
160
375
|
- Documentation Generation: Use manager-docs subagent
|
|
161
|
-
- Complex Multi-Step Tasks: Use general-purpose subagent
|
|
162
376
|
- Codebase Analysis: Use Explore subagent
|
|
163
377
|
|
|
164
378
|
### Step 3: Execute
|
|
@@ -170,97 +384,241 @@ Agent Selection Guide by Task Type:
|
|
|
170
384
|
|
|
171
385
|
---
|
|
172
386
|
|
|
173
|
-
## Agent
|
|
387
|
+
## Advanced Agent Patterns
|
|
174
388
|
|
|
175
|
-
###
|
|
389
|
+
### Two-Agent Pattern for Long-Running Tasks
|
|
176
390
|
|
|
177
|
-
|
|
178
|
-
- "Use the expert-backend subagent to implement JWT authentication"
|
|
179
|
-
- "Use the expert-frontend subagent to create reusable button components"
|
|
391
|
+
For complex, multi-session tasks, use a two-agent system:
|
|
180
392
|
|
|
181
|
-
|
|
393
|
+
Initializer Agent (runs once):
|
|
394
|
+
- Sets up project structure and environment
|
|
395
|
+
- Creates feature registry tracking completion status
|
|
396
|
+
- Establishes progress documentation patterns
|
|
397
|
+
- Generates initialization scripts for future sessions
|
|
182
398
|
|
|
183
|
-
|
|
399
|
+
Executor Agent (runs repeatedly):
|
|
400
|
+
- Consumes environment created by initializer
|
|
401
|
+
- Works on single features per session
|
|
402
|
+
- Updates progress documentation
|
|
403
|
+
- Maintains feature registry state
|
|
184
404
|
|
|
185
|
-
|
|
186
|
-
- Specify the target subagent and action clearly
|
|
187
|
-
- Include language directive for user responses
|
|
188
|
-
- List concrete requirements with specific parameters
|
|
189
|
-
- Detail technical stack and security requirements
|
|
190
|
-
- Define expected outputs and deliverables
|
|
405
|
+
### Orchestrator-Worker Architecture
|
|
191
406
|
|
|
192
|
-
|
|
407
|
+
Lead Agent (higher capability model):
|
|
408
|
+
- Analyzes incoming queries
|
|
409
|
+
- Decomposes into parallel subtasks
|
|
410
|
+
- Spawns specialized worker agents
|
|
411
|
+
- Synthesizes results into final output
|
|
193
412
|
|
|
194
|
-
|
|
413
|
+
Worker Agents (cost-effective models):
|
|
414
|
+
- Execute specific, focused tasks
|
|
415
|
+
- Return condensed summaries
|
|
416
|
+
- Operate with isolated context windows
|
|
417
|
+
- Use specialized prompts and tool access
|
|
195
418
|
|
|
196
|
-
|
|
197
|
-
-
|
|
198
|
-
-
|
|
199
|
-
-
|
|
419
|
+
Scaling Rules:
|
|
420
|
+
- Simple queries: Single agent with 3-10 tool calls
|
|
421
|
+
- Complex research: 10+ workers with parallel execution
|
|
422
|
+
- State persistence: Prevent disruption during updates
|
|
200
423
|
|
|
201
|
-
|
|
202
|
-
- Korean user receives Korean responses
|
|
203
|
-
- Japanese user receives Japanese responses
|
|
204
|
-
- English user receives English responses
|
|
424
|
+
### Context Engineering
|
|
205
425
|
|
|
206
|
-
|
|
426
|
+
Core Principle: Find the smallest possible set of high-signal tokens that maximize likelihood of desired outcome.
|
|
207
427
|
|
|
208
|
-
|
|
428
|
+
Information Prioritization:
|
|
429
|
+
- Place critical information at start and end of context
|
|
430
|
+
- Use clear section markers (XML tags or Markdown headers)
|
|
431
|
+
- Remove redundant or low-signal content
|
|
432
|
+
- Summarize when precision not required
|
|
209
433
|
|
|
210
|
-
|
|
211
|
-
-
|
|
212
|
-
-
|
|
213
|
-
-
|
|
434
|
+
Context Compaction for Long-Running Tasks:
|
|
435
|
+
- Summarize conversation history automatically
|
|
436
|
+
- Reinitiate with compressed context
|
|
437
|
+
- Preserve architectural decisions and key findings
|
|
438
|
+
- Maintain external memory files outside context window
|
|
214
439
|
|
|
215
|
-
|
|
440
|
+
For detailed patterns, refer to Skill("moai-foundation-claude") reference documentation.
|
|
216
441
|
|
|
217
|
-
|
|
442
|
+
---
|
|
218
443
|
|
|
219
|
-
|
|
444
|
+
## Plugin Integration
|
|
220
445
|
|
|
221
|
-
|
|
222
|
-
- Subagents receive input once from the main thread at invocation
|
|
223
|
-
- Subagents return output once as a final report when execution completes
|
|
224
|
-
- Subagents cannot pause execution to wait for user responses
|
|
225
|
-
- Subagents cannot use AskUserQuestion tool effectively
|
|
446
|
+
### What are Plugins
|
|
226
447
|
|
|
227
|
-
|
|
448
|
+
Plugins are reusable extensions that bundle Claude Code configurations for distribution across projects. Unlike standalone configurations in .claude/ directories, plugins can be installed via marketplaces and version-controlled independently.
|
|
228
449
|
|
|
229
|
-
|
|
450
|
+
### Plugin vs Standalone Configuration
|
|
230
451
|
|
|
231
|
-
|
|
232
|
-
|
|
452
|
+
Standalone Configuration:
|
|
453
|
+
- Scope: Single project only
|
|
454
|
+
- Sharing: Manual copy or git submodules
|
|
455
|
+
- Best for: Project-specific customizations
|
|
233
456
|
|
|
234
|
-
|
|
235
|
-
|
|
457
|
+
Plugin Configuration:
|
|
458
|
+
- Scope: Reusable across multiple projects
|
|
459
|
+
- Sharing: Installable via marketplaces or git URLs
|
|
460
|
+
- Best for: Team standards, reusable workflows, community tools
|
|
236
461
|
|
|
237
|
-
|
|
238
|
-
WHY: Commands can use agent responses to determine next user questions
|
|
462
|
+
### Plugin Management Commands
|
|
239
463
|
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
Step 4: Subagent returns structured response with results
|
|
245
|
-
Step 5: Command uses AskUserQuestion for next decision based on agent response
|
|
464
|
+
Installation:
|
|
465
|
+
- /plugin install plugin-name - Install from marketplace
|
|
466
|
+
- /plugin install owner/repo - Install from GitHub
|
|
467
|
+
- /plugin install plugin-name --scope project - Install with scope
|
|
246
468
|
|
|
247
|
-
|
|
248
|
-
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
- multiSelect parameter enables multiple choice selection when needed
|
|
469
|
+
Other Commands:
|
|
470
|
+
- /plugin uninstall, enable, disable, update, list, validate
|
|
471
|
+
|
|
472
|
+
For detailed plugin development, refer to Skill("moai-foundation-claude") reference documentation.
|
|
252
473
|
|
|
253
474
|
---
|
|
254
475
|
|
|
255
|
-
##
|
|
476
|
+
## Sandboxing Guidelines
|
|
477
|
+
|
|
478
|
+
### OS-Level Security Isolation
|
|
479
|
+
|
|
480
|
+
Claude Code provides OS-level sandboxing to restrict file system and network access during code execution.
|
|
481
|
+
|
|
482
|
+
Linux: Uses bubblewrap (bwrap) for namespace-based isolation
|
|
483
|
+
macOS: Uses Seatbelt (sandbox-exec) for profile-based restrictions
|
|
484
|
+
|
|
485
|
+
### Default Sandbox Behavior
|
|
486
|
+
|
|
487
|
+
When sandboxing is enabled:
|
|
488
|
+
- File writes are restricted to the current working directory
|
|
489
|
+
- Network access is limited to allowed domains
|
|
490
|
+
- System resources are protected from modification
|
|
491
|
+
|
|
492
|
+
### Auto-Allow Mode
|
|
256
493
|
|
|
257
|
-
|
|
494
|
+
If a command only reads from allowed paths, writes to allowed paths, and accesses allowed network domains, it executes automatically without user confirmation.
|
|
258
495
|
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
496
|
+
### Security Best Practices
|
|
497
|
+
|
|
498
|
+
Start Restrictive: Begin with minimal permissions, monitor for violations, add specific allowances as needed.
|
|
499
|
+
|
|
500
|
+
Combine with IAM: Sandbox provides OS-level isolation, IAM provides Claude-level permissions. Together they create defense-in-depth.
|
|
501
|
+
|
|
502
|
+
For detailed configuration, refer to Skill("moai-foundation-claude") reference documentation.
|
|
503
|
+
|
|
504
|
+
---
|
|
505
|
+
|
|
506
|
+
## Headless Mode for CI/CD
|
|
507
|
+
|
|
508
|
+
### Basic Usage
|
|
509
|
+
|
|
510
|
+
Simple Prompt:
|
|
511
|
+
- claude -p "Your prompt here" - Runs Claude with the given prompt and exits after completion
|
|
512
|
+
|
|
513
|
+
Continue Previous Conversation:
|
|
514
|
+
- claude -c "Follow-up question" - Continues the most recent conversation
|
|
515
|
+
|
|
516
|
+
Resume Specific Session:
|
|
517
|
+
- claude -r session_id "Continue this task" - Resumes a specific session by ID
|
|
518
|
+
|
|
519
|
+
### Output Formats
|
|
520
|
+
|
|
521
|
+
Available formats include text (default), json, and stream-json.
|
|
522
|
+
|
|
523
|
+
### Tool Management
|
|
524
|
+
|
|
525
|
+
Allow Specific Tools:
|
|
526
|
+
- claude -p "Build the project" --allowedTools "Bash,Read,Write" - Auto-approves specified tools
|
|
527
|
+
|
|
528
|
+
Tool Pattern Matching:
|
|
529
|
+
- claude -p "Check git status" --allowedTools "Bash(git:*)" - Allow only specific patterns
|
|
530
|
+
|
|
531
|
+
### Structured Output with JSON Schema
|
|
532
|
+
|
|
533
|
+
Validate output against provided JSON schema for reliable data extraction in automated pipelines.
|
|
534
|
+
|
|
535
|
+
### Best Practices for CI/CD
|
|
536
|
+
|
|
537
|
+
- Use --append-system-prompt to retain Claude Code capabilities
|
|
538
|
+
- Always specify --allowedTools in CI/CD to prevent unintended actions
|
|
539
|
+
- Use --output-format json for reliable parsing
|
|
540
|
+
- Handle errors with exit code checks
|
|
541
|
+
|
|
542
|
+
For complete CLI reference, refer to Skill("moai-foundation-claude") reference documentation.
|
|
543
|
+
|
|
544
|
+
---
|
|
545
|
+
|
|
546
|
+
## Strategic Thinking Framework
|
|
547
|
+
|
|
548
|
+
### When to Activate Deep Analysis
|
|
549
|
+
|
|
550
|
+
Trigger Conditions:
|
|
551
|
+
- Architecture decisions affecting 5+ files
|
|
552
|
+
- Technology selection between multiple options
|
|
553
|
+
- Performance vs maintainability trade-offs
|
|
554
|
+
- Breaking changes consideration
|
|
555
|
+
- Library or framework selection
|
|
556
|
+
|
|
557
|
+
### Five-Phase Thinking Process
|
|
558
|
+
|
|
559
|
+
Phase 1 - Assumption Audit:
|
|
560
|
+
- Surface hidden assumptions using AskUserQuestion
|
|
561
|
+
- Categorize as Technical, Business, Team, or Integration
|
|
562
|
+
- Validate critical assumptions before proceeding
|
|
563
|
+
|
|
564
|
+
Phase 2 - First Principles Decomposition:
|
|
565
|
+
- Apply Five Whys to identify root causes
|
|
566
|
+
- Distinguish hard constraints from soft preferences
|
|
567
|
+
|
|
568
|
+
Phase 3 - Alternative Generation:
|
|
569
|
+
- Generate minimum 2-3 distinct approaches
|
|
570
|
+
- Include conservative, balanced, and aggressive options
|
|
571
|
+
|
|
572
|
+
Phase 4 - Trade-off Analysis:
|
|
573
|
+
- Apply weighted scoring across criteria: Performance, Maintainability, Cost, Risk, Scalability
|
|
574
|
+
|
|
575
|
+
Phase 5 - Cognitive Bias Check:
|
|
576
|
+
- Verify not anchored to first solution
|
|
577
|
+
- Confirm consideration of contrary evidence
|
|
578
|
+
|
|
579
|
+
---
|
|
580
|
+
|
|
581
|
+
## Agent Design Principles
|
|
582
|
+
|
|
583
|
+
### Single Responsibility Design
|
|
584
|
+
|
|
585
|
+
Each agent maintains clear, narrow domain expertise:
|
|
586
|
+
- "Use the expert-backend subagent to implement JWT authentication"
|
|
587
|
+
- "Use the expert-frontend subagent to create reusable button components"
|
|
588
|
+
|
|
589
|
+
WHY: Single responsibility enables deep expertise and reduces context switching overhead.
|
|
590
|
+
|
|
591
|
+
### Tool Access Restrictions
|
|
592
|
+
|
|
593
|
+
Read-Only Agents: Read, Grep, Glob tools only
|
|
594
|
+
- For analysis, exploration, and research tasks
|
|
595
|
+
|
|
596
|
+
Write-Limited Agents: Can create new files, cannot modify existing production code
|
|
597
|
+
- For documentation, test generation, and scaffolding tasks
|
|
598
|
+
|
|
599
|
+
Full-Access Agents: Full access to Read, Write, Edit, Bash tools as needed
|
|
600
|
+
- For implementation, refactoring, and deployment tasks
|
|
601
|
+
|
|
602
|
+
System-Level Agents: Include Bash with elevated permissions
|
|
603
|
+
- For infrastructure, CI/CD, and environment setup tasks
|
|
604
|
+
|
|
605
|
+
WHY: Least-privilege access prevents accidental modifications and enforces role boundaries.
|
|
606
|
+
|
|
607
|
+
### User Interaction Architecture
|
|
608
|
+
|
|
609
|
+
Critical Constraint: Subagents invoked via Task() operate in isolated, stateless contexts and cannot interact with users directly.
|
|
610
|
+
|
|
611
|
+
Correct Workflow Pattern:
|
|
612
|
+
- Step 1: Command uses AskUserQuestion to collect user preferences
|
|
613
|
+
- Step 2: Command invokes Task() with user choices in the prompt
|
|
614
|
+
- Step 3: Subagent executes based on provided parameters without user interaction
|
|
615
|
+
- Step 4: Subagent returns structured response with results
|
|
616
|
+
- Step 5: Command uses AskUserQuestion for next decision based on agent response
|
|
617
|
+
|
|
618
|
+
AskUserQuestion Tool Constraints:
|
|
619
|
+
- Maximum 4 options per question
|
|
620
|
+
- No emoji characters in question text, headers, or option labels
|
|
621
|
+
- Questions must be in user's conversation_language
|
|
264
622
|
|
|
265
623
|
---
|
|
266
624
|
|
|
@@ -305,23 +663,6 @@ SPEC Execution Agent Chain:
|
|
|
305
663
|
|
|
306
664
|
---
|
|
307
665
|
|
|
308
|
-
## MCP Integration and External Services
|
|
309
|
-
|
|
310
|
-
### Context7 Integration
|
|
311
|
-
|
|
312
|
-
Leverage Context7 MCP server for current API documentation and information:
|
|
313
|
-
- Use the mcp-context7 subagent to research latest API documentation
|
|
314
|
-
- Get current framework best practices and patterns
|
|
315
|
-
- Check library version compatibility and migration guides
|
|
316
|
-
|
|
317
|
-
### Sequential-Thinking for Complex Tasks
|
|
318
|
-
|
|
319
|
-
Use Sequential-Thinking MCP for complex analysis and architecture design:
|
|
320
|
-
- For complex tasks (greater than 10 files, architecture changes): First activate the sequential-thinking subagent
|
|
321
|
-
- Then use the appropriate expert-* subagents for implementation
|
|
322
|
-
|
|
323
|
-
---
|
|
324
|
-
|
|
325
666
|
## Token Management and Optimization
|
|
326
667
|
|
|
327
668
|
### Context Optimization
|
|
@@ -354,7 +695,6 @@ Configuration is split into modular section files for token efficiency:
|
|
|
354
695
|
- sections/project.yaml: Project metadata
|
|
355
696
|
- sections/git-strategy.yaml: Git workflow configuration
|
|
356
697
|
- sections/quality.yaml: TDD and quality settings
|
|
357
|
-
- sections/system.yaml: MoAI system settings
|
|
358
698
|
|
|
359
699
|
### Configuration Priority
|
|
360
700
|
|
|
@@ -362,10 +702,59 @@ Configuration is split into modular section files for token efficiency:
|
|
|
362
702
|
2. Section Files: .moai/config/sections/*.yaml
|
|
363
703
|
3. Default Values: English, default greeting
|
|
364
704
|
|
|
365
|
-
|
|
705
|
+
---
|
|
706
|
+
|
|
707
|
+
## Version Management
|
|
708
|
+
|
|
709
|
+
### Single Source of Truth
|
|
710
|
+
|
|
711
|
+
[HARD] pyproject.toml is the ONLY authoritative source for MoAI-ADK version.
|
|
712
|
+
WHY: Prevents version inconsistencies across multiple files.
|
|
713
|
+
|
|
714
|
+
Version Reference:
|
|
715
|
+
- Authoritative Source: pyproject.toml (version = "X.Y.Z")
|
|
716
|
+
- Runtime Access: src/moai_adk/version.py reads from pyproject.toml
|
|
717
|
+
- Config Display: .moai/config/sections/system.yaml (updated by release process)
|
|
718
|
+
|
|
719
|
+
### Files Requiring Version Sync
|
|
720
|
+
|
|
721
|
+
When releasing new version, these files MUST be updated:
|
|
722
|
+
|
|
723
|
+
Documentation Files:
|
|
724
|
+
- README.md (Version line)
|
|
725
|
+
- README.ko.md (Version line)
|
|
726
|
+
- README.ja.md (Version line)
|
|
727
|
+
- README.zh.md (Version line)
|
|
728
|
+
- CHANGELOG.md (New version entry)
|
|
729
|
+
|
|
730
|
+
Configuration Files:
|
|
731
|
+
- pyproject.toml (Single Source - update FIRST)
|
|
732
|
+
- src/moai_adk/version.py (_FALLBACK_VERSION)
|
|
733
|
+
- .moai/config/sections/system.yaml (moai.version)
|
|
734
|
+
- src/moai_adk/templates/.moai/config/config.yaml (moai.version)
|
|
735
|
+
|
|
736
|
+
### Version Sync Process
|
|
737
|
+
|
|
738
|
+
[HARD] Before any release:
|
|
739
|
+
|
|
740
|
+
Step 1: Update pyproject.toml
|
|
741
|
+
- Change version = "X.Y.Z" to new version
|
|
742
|
+
|
|
743
|
+
Step 2: Run Version Sync Script
|
|
744
|
+
- Execute: .github/scripts/sync-versions.sh X.Y.Z
|
|
745
|
+
- Or manually update all files listed above
|
|
746
|
+
|
|
747
|
+
Step 3: Verify Consistency
|
|
748
|
+
- Run: grep -r "X.Y.Z" to confirm all files updated
|
|
749
|
+
- Check: No old version numbers remain in critical files
|
|
750
|
+
|
|
751
|
+
### Prohibited Practices
|
|
366
752
|
|
|
367
|
-
|
|
368
|
-
-
|
|
753
|
+
- [HARD] Never hardcode version in multiple places without sync mechanism
|
|
754
|
+
- [HARD] Never update README version without updating pyproject.toml
|
|
755
|
+
- [HARD] Never release with mismatched versions across files
|
|
756
|
+
|
|
757
|
+
WHY: Version inconsistency causes confusion and breaks tooling expectations.
|
|
369
758
|
|
|
370
759
|
---
|
|
371
760
|
|
|
@@ -381,6 +770,35 @@ Error Handling Process:
|
|
|
381
770
|
|
|
382
771
|
---
|
|
383
772
|
|
|
773
|
+
## Web Search Guidelines
|
|
774
|
+
|
|
775
|
+
### Anti-Hallucination Policy
|
|
776
|
+
|
|
777
|
+
[HARD] URL Verification Mandate: All URLs must be verified before inclusion in responses
|
|
778
|
+
WHY: Prevents dissemination of non-existent or incorrect information
|
|
779
|
+
|
|
780
|
+
[HARD] Uncertainty Disclosure: Unverified information must be clearly marked as uncertain
|
|
781
|
+
|
|
782
|
+
[HARD] Source Attribution: All web search results must include actual search sources
|
|
783
|
+
|
|
784
|
+
### Web Search Execution Protocol
|
|
785
|
+
|
|
786
|
+
Mandatory Verification Steps:
|
|
787
|
+
|
|
788
|
+
1. Initial Search Phase: Use WebSearch tool with specific, targeted queries. Never fabricate URLs.
|
|
789
|
+
|
|
790
|
+
2. URL Validation Phase: Use WebFetch tool to verify each URL before inclusion.
|
|
791
|
+
|
|
792
|
+
3. Response Construction Phase: Only include verified URLs with actual search sources.
|
|
793
|
+
|
|
794
|
+
### Prohibited Practices
|
|
795
|
+
|
|
796
|
+
- Never generate URLs that were not found in WebSearch results
|
|
797
|
+
- Never present information as fact when it is uncertain or speculative
|
|
798
|
+
- Never omit "Sources:" section when WebSearch was used
|
|
799
|
+
|
|
800
|
+
---
|
|
801
|
+
|
|
384
802
|
## Success Metrics and Quality Standards
|
|
385
803
|
|
|
386
804
|
### Alfred Success Metrics
|
|
@@ -390,8 +808,6 @@ Error Handling Process:
|
|
|
390
808
|
|
|
391
809
|
- [SOFT] Appropriate Agent Selection: Accuracy in selecting optimal agent for task
|
|
392
810
|
|
|
393
|
-
- [SOFT] Task Completion Success Rate: Successful completion through agents
|
|
394
|
-
|
|
395
811
|
- [HARD] 0 Direct Tool Usage: Alfred's direct tool usage rate is always zero
|
|
396
812
|
WHY: Tool usage belongs to specialized agents
|
|
397
813
|
|
|
@@ -407,11 +823,10 @@ Error Handling Process:
|
|
|
407
823
|
- /moai:3-sync SPEC-001 - Documentation synchronization
|
|
408
824
|
- /moai:9-feedback "feedback" - Improvement feedback
|
|
409
825
|
- /clear - Context refresh
|
|
826
|
+
- /agents - Sub-agent management interface
|
|
410
827
|
|
|
411
828
|
### Language Response Rules
|
|
412
829
|
|
|
413
|
-
See "Language-Aware Responses" section for complete rules.
|
|
414
|
-
|
|
415
830
|
Summary:
|
|
416
831
|
- User Responses: Always in user's conversation_language
|
|
417
832
|
- Internal Communication: English
|
|
@@ -425,15 +840,14 @@ Summary:
|
|
|
425
840
|
|
|
426
841
|
### Required Skills
|
|
427
842
|
|
|
428
|
-
- Skill("moai-foundation-claude") - Alfred orchestration patterns
|
|
843
|
+
- Skill("moai-foundation-claude") - Alfred orchestration patterns, CLI reference, plugin guide
|
|
429
844
|
- Skill("moai-foundation-core") - SPEC system and core workflows
|
|
430
845
|
- Skill("moai-workflow-project") - Project management and configuration
|
|
431
|
-
- Skill("moai-workflow-docs") - Integrated document management
|
|
432
846
|
|
|
433
847
|
### Agent Selection Decision Tree
|
|
434
848
|
|
|
435
849
|
1. Read-only codebase exploration? Use the Explore subagent
|
|
436
|
-
2. External
|
|
850
|
+
2. External documentation or API research needed? Use WebSearch or WebFetch tools
|
|
437
851
|
3. Domain expertise needed? Use the expert-[domain] subagent
|
|
438
852
|
4. Workflow coordination needed? Use the manager-[workflow] subagent
|
|
439
853
|
5. Complex multi-step tasks? Use the general-purpose subagent
|
|
@@ -460,10 +874,20 @@ XML tags are reserved for internal agent-to-agent data transfer only:
|
|
|
460
874
|
|
|
461
875
|
---
|
|
462
876
|
|
|
463
|
-
Version:
|
|
464
|
-
Last Updated:
|
|
877
|
+
Version: 9.0.0 (Advanced Agent Patterns Integration)
|
|
878
|
+
Last Updated: 2026-01-06
|
|
465
879
|
Core Rule: Alfred is an orchestrator; direct implementation is prohibited
|
|
466
880
|
Language: Dynamic setting (language.conversation_language)
|
|
467
881
|
|
|
468
882
|
Critical: Alfred must delegate all tasks to specialized agents
|
|
469
883
|
Required: All tasks use "Use the [subagent] subagent to..." format for specialized agent delegation
|
|
884
|
+
|
|
885
|
+
Changes from 8.5.0:
|
|
886
|
+
- Added: Advanced Agent Patterns section (Two-Agent, Orchestrator-Worker, Context Engineering)
|
|
887
|
+
- Added: Plugin Integration section with management commands
|
|
888
|
+
- Added: Sandboxing Guidelines section for OS-level security
|
|
889
|
+
- Added: Headless Mode section for CI/CD integration
|
|
890
|
+
- Updated: Agent Invocation Patterns with /agents command and agentId resume
|
|
891
|
+
- Updated: Tool Access Restrictions with expanded categories
|
|
892
|
+
- Optimized: Reduced total lines while maintaining comprehensive coverage
|
|
893
|
+
- Reference: CLI Reference and detailed patterns available in moai-foundation-claude skill
|