moai-adk 0.35.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 +10 -0
- moai_adk/__main__.py +199 -0
- moai_adk/cli/__init__.py +6 -0
- moai_adk/cli/commands/__init__.py +17 -0
- moai_adk/cli/commands/analyze.py +116 -0
- moai_adk/cli/commands/doctor.py +272 -0
- moai_adk/cli/commands/init.py +372 -0
- moai_adk/cli/commands/language.py +248 -0
- moai_adk/cli/commands/status.py +104 -0
- moai_adk/cli/commands/update.py +2686 -0
- moai_adk/cli/main.py +13 -0
- moai_adk/cli/prompts/__init__.py +5 -0
- moai_adk/cli/prompts/init_prompts.py +219 -0
- moai_adk/cli/spec_status.py +263 -0
- moai_adk/cli/ui/__init__.py +44 -0
- moai_adk/cli/ui/progress.py +422 -0
- moai_adk/cli/ui/prompts.py +389 -0
- moai_adk/cli/ui/theme.py +129 -0
- moai_adk/cli/worktree/__init__.py +27 -0
- moai_adk/cli/worktree/__main__.py +31 -0
- moai_adk/cli/worktree/cli.py +683 -0
- moai_adk/cli/worktree/exceptions.py +89 -0
- moai_adk/cli/worktree/manager.py +493 -0
- moai_adk/cli/worktree/models.py +65 -0
- moai_adk/cli/worktree/registry.py +422 -0
- moai_adk/core/PHASE2_OPTIMIZATIONS.md +467 -0
- moai_adk/core/__init__.py +1 -0
- moai_adk/core/analysis/__init__.py +9 -0
- moai_adk/core/analysis/session_analyzer.py +400 -0
- moai_adk/core/claude_integration.py +393 -0
- moai_adk/core/command_helpers.py +270 -0
- moai_adk/core/comprehensive_monitoring_system.py +1183 -0
- moai_adk/core/config/__init__.py +19 -0
- moai_adk/core/config/auto_spec_config.py +340 -0
- moai_adk/core/config/migration.py +244 -0
- moai_adk/core/config/unified.py +436 -0
- moai_adk/core/context_manager.py +273 -0
- moai_adk/core/diagnostics/__init__.py +19 -0
- moai_adk/core/diagnostics/slash_commands.py +159 -0
- moai_adk/core/enterprise_features.py +1404 -0
- moai_adk/core/error_recovery_system.py +1902 -0
- moai_adk/core/event_driven_hook_system.py +1371 -0
- moai_adk/core/git/__init__.py +31 -0
- moai_adk/core/git/branch.py +25 -0
- moai_adk/core/git/branch_manager.py +129 -0
- moai_adk/core/git/checkpoint.py +134 -0
- moai_adk/core/git/commit.py +67 -0
- moai_adk/core/git/conflict_detector.py +413 -0
- moai_adk/core/git/event_detector.py +79 -0
- moai_adk/core/git/manager.py +216 -0
- moai_adk/core/hooks/post_tool_auto_spec_completion.py +901 -0
- moai_adk/core/input_validation_middleware.py +1006 -0
- moai_adk/core/integration/__init__.py +22 -0
- moai_adk/core/integration/engine.py +157 -0
- moai_adk/core/integration/integration_tester.py +226 -0
- moai_adk/core/integration/models.py +88 -0
- moai_adk/core/integration/utils.py +211 -0
- moai_adk/core/issue_creator.py +305 -0
- moai_adk/core/jit_context_loader.py +956 -0
- moai_adk/core/jit_enhanced_hook_manager.py +1987 -0
- moai_adk/core/language_config.py +202 -0
- moai_adk/core/language_config_resolver.py +572 -0
- moai_adk/core/language_validator.py +543 -0
- moai_adk/core/mcp/setup.py +116 -0
- moai_adk/core/merge/__init__.py +9 -0
- moai_adk/core/merge/analyzer.py +605 -0
- moai_adk/core/migration/__init__.py +18 -0
- moai_adk/core/migration/alfred_to_moai_migrator.py +383 -0
- moai_adk/core/migration/backup_manager.py +277 -0
- moai_adk/core/migration/custom_element_scanner.py +358 -0
- moai_adk/core/migration/file_migrator.py +209 -0
- moai_adk/core/migration/interactive_checkbox_ui.py +488 -0
- moai_adk/core/migration/selective_restorer.py +470 -0
- moai_adk/core/migration/template_utils.py +74 -0
- moai_adk/core/migration/user_selection_ui.py +338 -0
- moai_adk/core/migration/version_detector.py +139 -0
- moai_adk/core/migration/version_migrator.py +228 -0
- moai_adk/core/performance/__init__.py +6 -0
- moai_adk/core/performance/cache_system.py +316 -0
- moai_adk/core/performance/parallel_processor.py +116 -0
- moai_adk/core/phase_optimized_hook_scheduler.py +879 -0
- moai_adk/core/project/__init__.py +1 -0
- moai_adk/core/project/backup_utils.py +70 -0
- moai_adk/core/project/checker.py +300 -0
- moai_adk/core/project/detector.py +293 -0
- moai_adk/core/project/initializer.py +387 -0
- moai_adk/core/project/phase_executor.py +716 -0
- moai_adk/core/project/validator.py +139 -0
- moai_adk/core/quality/__init__.py +6 -0
- moai_adk/core/quality/trust_checker.py +377 -0
- moai_adk/core/quality/validators/__init__.py +6 -0
- moai_adk/core/quality/validators/base_validator.py +19 -0
- moai_adk/core/realtime_monitoring_dashboard.py +1724 -0
- moai_adk/core/robust_json_parser.py +611 -0
- moai_adk/core/rollback_manager.py +918 -0
- moai_adk/core/session_manager.py +651 -0
- moai_adk/core/skill_loading_system.py +579 -0
- moai_adk/core/spec/confidence_scoring.py +680 -0
- moai_adk/core/spec/ears_template_engine.py +1247 -0
- moai_adk/core/spec/quality_validator.py +687 -0
- moai_adk/core/spec_status_manager.py +478 -0
- moai_adk/core/template/__init__.py +7 -0
- moai_adk/core/template/backup.py +174 -0
- moai_adk/core/template/config.py +191 -0
- moai_adk/core/template/languages.py +43 -0
- moai_adk/core/template/merger.py +233 -0
- moai_adk/core/template/processor.py +1200 -0
- moai_adk/core/template_engine.py +310 -0
- moai_adk/core/template_variable_synchronizer.py +417 -0
- moai_adk/core/unified_permission_manager.py +745 -0
- moai_adk/core/user_behavior_analytics.py +851 -0
- moai_adk/core/version_sync.py +429 -0
- moai_adk/foundation/__init__.py +56 -0
- moai_adk/foundation/backend.py +1027 -0
- moai_adk/foundation/database.py +1115 -0
- moai_adk/foundation/devops.py +1585 -0
- moai_adk/foundation/ears.py +431 -0
- moai_adk/foundation/frontend.py +870 -0
- moai_adk/foundation/git/commit_templates.py +557 -0
- moai_adk/foundation/git.py +376 -0
- moai_adk/foundation/langs.py +484 -0
- moai_adk/foundation/ml_ops.py +1162 -0
- moai_adk/foundation/testing.py +1524 -0
- moai_adk/foundation/trust/trust_principles.py +676 -0
- moai_adk/foundation/trust/validation_checklist.py +1573 -0
- moai_adk/project/__init__.py +0 -0
- moai_adk/project/configuration.py +1084 -0
- moai_adk/project/documentation.py +566 -0
- moai_adk/project/schema.py +447 -0
- moai_adk/statusline/__init__.py +38 -0
- moai_adk/statusline/alfred_detector.py +105 -0
- moai_adk/statusline/config.py +376 -0
- moai_adk/statusline/enhanced_output_style_detector.py +372 -0
- moai_adk/statusline/git_collector.py +190 -0
- moai_adk/statusline/main.py +322 -0
- moai_adk/statusline/metrics_tracker.py +78 -0
- moai_adk/statusline/renderer.py +343 -0
- moai_adk/statusline/update_checker.py +129 -0
- moai_adk/statusline/version_reader.py +741 -0
- moai_adk/templates/.claude/agents/moai/ai-nano-banana.md +714 -0
- moai_adk/templates/.claude/agents/moai/builder-agent.md +474 -0
- moai_adk/templates/.claude/agents/moai/builder-command.md +1172 -0
- moai_adk/templates/.claude/agents/moai/builder-plugin.md +637 -0
- moai_adk/templates/.claude/agents/moai/builder-skill.md +666 -0
- moai_adk/templates/.claude/agents/moai/expert-backend.md +899 -0
- moai_adk/templates/.claude/agents/moai/expert-database.md +777 -0
- moai_adk/templates/.claude/agents/moai/expert-debug.md +401 -0
- moai_adk/templates/.claude/agents/moai/expert-devops.md +720 -0
- moai_adk/templates/.claude/agents/moai/expert-frontend.md +734 -0
- moai_adk/templates/.claude/agents/moai/expert-performance.md +657 -0
- moai_adk/templates/.claude/agents/moai/expert-security.md +513 -0
- moai_adk/templates/.claude/agents/moai/expert-testing.md +733 -0
- moai_adk/templates/.claude/agents/moai/expert-uiux.md +1041 -0
- moai_adk/templates/.claude/agents/moai/manager-claude-code.md +432 -0
- moai_adk/templates/.claude/agents/moai/manager-docs.md +573 -0
- moai_adk/templates/.claude/agents/moai/manager-git.md +1060 -0
- moai_adk/templates/.claude/agents/moai/manager-project.md +891 -0
- moai_adk/templates/.claude/agents/moai/manager-quality.md +624 -0
- moai_adk/templates/.claude/agents/moai/manager-spec.md +809 -0
- moai_adk/templates/.claude/agents/moai/manager-strategy.md +780 -0
- moai_adk/templates/.claude/agents/moai/manager-tdd.md +784 -0
- moai_adk/templates/.claude/agents/moai/mcp-context7.md +458 -0
- moai_adk/templates/.claude/agents/moai/mcp-figma.md +1607 -0
- moai_adk/templates/.claude/agents/moai/mcp-notion.md +789 -0
- moai_adk/templates/.claude/agents/moai/mcp-playwright.md +469 -0
- moai_adk/templates/.claude/agents/moai/mcp-sequential-thinking.md +1032 -0
- moai_adk/templates/.claude/commands/moai/0-project.md +1386 -0
- moai_adk/templates/.claude/commands/moai/1-plan.md +1427 -0
- moai_adk/templates/.claude/commands/moai/2-run.md +943 -0
- moai_adk/templates/.claude/commands/moai/3-sync.md +1324 -0
- moai_adk/templates/.claude/commands/moai/9-feedback.md +314 -0
- moai_adk/templates/.claude/hooks/__init__.py +8 -0
- moai_adk/templates/.claude/hooks/moai/__init__.py +8 -0
- moai_adk/templates/.claude/hooks/moai/lib/__init__.py +85 -0
- moai_adk/templates/.claude/hooks/moai/lib/checkpoint.py +244 -0
- moai_adk/templates/.claude/hooks/moai/lib/common.py +131 -0
- moai_adk/templates/.claude/hooks/moai/lib/config_manager.py +446 -0
- moai_adk/templates/.claude/hooks/moai/lib/config_validator.py +639 -0
- moai_adk/templates/.claude/hooks/moai/lib/example_config.json +104 -0
- moai_adk/templates/.claude/hooks/moai/lib/git_operations_manager.py +590 -0
- moai_adk/templates/.claude/hooks/moai/lib/language_validator.py +317 -0
- moai_adk/templates/.claude/hooks/moai/lib/models.py +102 -0
- moai_adk/templates/.claude/hooks/moai/lib/path_utils.py +28 -0
- moai_adk/templates/.claude/hooks/moai/lib/project.py +768 -0
- moai_adk/templates/.claude/hooks/moai/lib/test_hooks_improvements.py +443 -0
- moai_adk/templates/.claude/hooks/moai/lib/timeout.py +160 -0
- moai_adk/templates/.claude/hooks/moai/lib/unified_timeout_manager.py +530 -0
- moai_adk/templates/.claude/hooks/moai/session_end__auto_cleanup.py +862 -0
- moai_adk/templates/.claude/hooks/moai/session_start__show_project_info.py +1083 -0
- moai_adk/templates/.claude/output-styles/moai/r2d2.md +560 -0
- moai_adk/templates/.claude/output-styles/moai/yoda.md +359 -0
- moai_adk/templates/.claude/settings.json +172 -0
- moai_adk/templates/.claude/skills/moai-ai-nano-banana/SKILL.md +307 -0
- moai_adk/templates/.claude/skills/moai-ai-nano-banana/examples.md +431 -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 +249 -0
- moai_adk/templates/.claude/skills/moai-docs-generation/examples.md +406 -0
- moai_adk/templates/.claude/skills/moai-docs-generation/modules/README.md +44 -0
- moai_adk/templates/.claude/skills/moai-docs-generation/modules/api-documentation.md +130 -0
- moai_adk/templates/.claude/skills/moai-docs-generation/modules/code-documentation.md +152 -0
- moai_adk/templates/.claude/skills/moai-docs-generation/modules/multi-format-output.md +178 -0
- moai_adk/templates/.claude/skills/moai-docs-generation/modules/user-guides.md +147 -0
- moai_adk/templates/.claude/skills/moai-docs-generation/reference.md +328 -0
- moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +320 -0
- 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 +323 -0
- moai_adk/templates/.claude/skills/moai-domain-database/examples.md +830 -0
- moai_adk/templates/.claude/skills/moai-domain-database/modules/README.md +53 -0
- moai_adk/templates/.claude/skills/moai-domain-database/modules/mongodb.md +231 -0
- moai_adk/templates/.claude/skills/moai-domain-database/modules/postgresql.md +169 -0
- moai_adk/templates/.claude/skills/moai-domain-database/modules/redis.md +262 -0
- moai_adk/templates/.claude/skills/moai-domain-database/reference.md +545 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +497 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +968 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +664 -0
- moai_adk/templates/.claude/skills/moai-domain-uiux/SKILL.md +455 -0
- moai_adk/templates/.claude/skills/moai-domain-uiux/examples.md +560 -0
- moai_adk/templates/.claude/skills/moai-domain-uiux/modules/accessibility-wcag.md +260 -0
- moai_adk/templates/.claude/skills/moai-domain-uiux/modules/component-architecture.md +228 -0
- moai_adk/templates/.claude/skills/moai-domain-uiux/modules/icon-libraries.md +401 -0
- moai_adk/templates/.claude/skills/moai-domain-uiux/modules/theming-system.md +373 -0
- moai_adk/templates/.claude/skills/moai-domain-uiux/reference.md +243 -0
- moai_adk/templates/.claude/skills/moai-formats-data/SKILL.md +492 -0
- moai_adk/templates/.claude/skills/moai-formats-data/examples.md +804 -0
- moai_adk/templates/.claude/skills/moai-formats-data/modules/README.md +98 -0
- moai_adk/templates/.claude/skills/moai-formats-data/modules/SKILL-MODULARIZATION-TEMPLATE.md +278 -0
- moai_adk/templates/.claude/skills/moai-formats-data/modules/caching-performance.md +459 -0
- moai_adk/templates/.claude/skills/moai-formats-data/modules/data-validation.md +485 -0
- moai_adk/templates/.claude/skills/moai-formats-data/modules/json-optimization.md +374 -0
- moai_adk/templates/.claude/skills/moai-formats-data/modules/toon-encoding.md +308 -0
- moai_adk/templates/.claude/skills/moai-formats-data/reference.md +585 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/SKILL.md +202 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/examples.md +732 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/best-practices-checklist.md +616 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-custom-slash-commands-official.md +729 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-hooks-official.md +560 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-iam-official.md +635 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-memory-official.md +543 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-settings-official.md +663 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-skills-official.md +113 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/claude-code-sub-agents-official.md +238 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/complete-configuration-guide.md +175 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/skill-examples.md +1674 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/skill-formatting-guide.md +729 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/sub-agents/sub-agent-examples.md +1513 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/sub-agents/sub-agent-formatting-guide.md +1086 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference/sub-agents/sub-agent-integration-patterns.md +1100 -0
- moai_adk/templates/.claude/skills/moai-foundation-claude/reference.md +209 -0
- moai_adk/templates/.claude/skills/moai-foundation-context/SKILL.md +441 -0
- 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 +420 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/examples.md +358 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/README.md +296 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/agents-reference.md +359 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/commands-reference.md +432 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/delegation-patterns.md +757 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/execution-rules.md +687 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/modular-system.md +665 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/progressive-disclosure.md +649 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/spec-first-tdd.md +864 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/token-optimization.md +708 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/modules/trust-5-framework.md +981 -0
- moai_adk/templates/.claude/skills/moai-foundation-core/reference.md +478 -0
- moai_adk/templates/.claude/skills/moai-foundation-philosopher/SKILL.md +315 -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 +364 -0
- moai_adk/templates/.claude/skills/moai-foundation-quality/examples.md +1232 -0
- moai_adk/templates/.claude/skills/moai-foundation-quality/modules/best-practices.md +261 -0
- moai_adk/templates/.claude/skills/moai-foundation-quality/modules/integration-patterns.md +194 -0
- moai_adk/templates/.claude/skills/moai-foundation-quality/modules/proactive-analysis.md +229 -0
- moai_adk/templates/.claude/skills/moai-foundation-quality/modules/trust5-validation.md +169 -0
- moai_adk/templates/.claude/skills/moai-foundation-quality/reference.md +1266 -0
- moai_adk/templates/.claude/skills/moai-foundation-quality/scripts/quality-gate.sh +668 -0
- moai_adk/templates/.claude/skills/moai-foundation-quality/templates/github-actions-quality.yml +481 -0
- moai_adk/templates/.claude/skills/moai-foundation-quality/templates/quality-config.yaml +519 -0
- moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +649 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +478 -0
- moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +612 -0
- moai_adk/templates/.claude/skills/moai-lang-flutter/SKILL.md +477 -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 +376 -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 +385 -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-kotlin/SKILL.md +382 -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 +644 -0
- moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +481 -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 +579 -0
- moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +687 -0
- moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +372 -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 +497 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +633 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +423 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +497 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +918 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +672 -0
- moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +368 -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 +300 -0
- moai_adk/templates/.claude/skills/moai-library-mermaid/advanced-patterns.md +465 -0
- moai_adk/templates/.claude/skills/moai-library-mermaid/examples.md +270 -0
- moai_adk/templates/.claude/skills/moai-library-mermaid/optimization.md +440 -0
- moai_adk/templates/.claude/skills/moai-library-mermaid/reference.md +228 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/SKILL.md +319 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/advanced-patterns.md +336 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/examples.md +592 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/modules/advanced-deployment-patterns.md +182 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/modules/advanced-patterns.md +17 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/modules/configuration.md +57 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/modules/content-architecture-optimization.md +162 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/modules/deployment.md +52 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/modules/framework-core-configuration.md +186 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/modules/i18n-setup.md +55 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/modules/mdx-components.md +52 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/optimization.md +303 -0
- moai_adk/templates/.claude/skills/moai-library-nextra/reference.md +379 -0
- moai_adk/templates/.claude/skills/moai-library-shadcn/SKILL.md +372 -0
- moai_adk/templates/.claude/skills/moai-library-shadcn/examples.md +575 -0
- moai_adk/templates/.claude/skills/moai-library-shadcn/modules/advanced-patterns.md +394 -0
- moai_adk/templates/.claude/skills/moai-library-shadcn/modules/optimization.md +278 -0
- moai_adk/templates/.claude/skills/moai-library-shadcn/modules/shadcn-components.md +457 -0
- moai_adk/templates/.claude/skills/moai-library-shadcn/modules/shadcn-theming.md +373 -0
- moai_adk/templates/.claude/skills/moai-library-shadcn/reference.md +74 -0
- moai_adk/templates/.claude/skills/moai-mcp-figma/SKILL.md +402 -0
- moai_adk/templates/.claude/skills/moai-mcp-figma/advanced-patterns.md +607 -0
- moai_adk/templates/.claude/skills/moai-mcp-notion/SKILL.md +300 -0
- moai_adk/templates/.claude/skills/moai-mcp-notion/advanced-patterns.md +537 -0
- moai_adk/templates/.claude/skills/moai-platform-auth0/SKILL.md +291 -0
- moai_adk/templates/.claude/skills/moai-platform-clerk/SKILL.md +390 -0
- moai_adk/templates/.claude/skills/moai-platform-convex/SKILL.md +398 -0
- moai_adk/templates/.claude/skills/moai-platform-firebase-auth/SKILL.md +379 -0
- moai_adk/templates/.claude/skills/moai-platform-firestore/SKILL.md +358 -0
- moai_adk/templates/.claude/skills/moai-platform-neon/SKILL.md +467 -0
- moai_adk/templates/.claude/skills/moai-platform-railway/SKILL.md +377 -0
- moai_adk/templates/.claude/skills/moai-platform-supabase/SKILL.md +466 -0
- moai_adk/templates/.claude/skills/moai-platform-vercel/SKILL.md +482 -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/migration.md +341 -0
- moai_adk/templates/.claude/skills/moai-plugin-builder/reference.md +463 -0
- moai_adk/templates/.claude/skills/moai-plugin-builder/validation.md +373 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/SKILL.md +275 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/adaptive-mfa.md +233 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/akamai-integration.md +215 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/application-credentials.md +280 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/attack-protection-log-events.md +225 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/attack-protection-overview.md +140 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/bot-detection.md +144 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/breached-password-detection.md +187 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/brute-force-protection.md +189 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/certifications.md +282 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/compliance-overview.md +263 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/continuous-session-protection.md +307 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/customize-mfa.md +178 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/dpop-implementation.md +283 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/fapi-implementation.md +259 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/gdpr-compliance.md +313 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/guardian-configuration.md +269 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/highly-regulated-identity.md +272 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/jwt-fundamentals.md +248 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/mdl-verification.md +211 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/mfa-api-management.md +278 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/mfa-factors.md +226 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/mfa-overview.md +174 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/mtls-sender-constraining.md +316 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/ropg-flow-mfa.md +217 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/security-center.md +325 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/security-guidance.md +277 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/state-parameters.md +178 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/step-up-authentication.md +251 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/suspicious-ip-throttling.md +240 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/tenant-access-control.md +180 -0
- moai_adk/templates/.claude/skills/moai-security-auth0/modules/webauthn-fido.md +235 -0
- moai_adk/templates/.claude/skills/moai-workflow-jit-docs/SKILL.md +449 -0
- moai_adk/templates/.claude/skills/moai-workflow-jit-docs/advanced-patterns.md +379 -0
- moai_adk/templates/.claude/skills/moai-workflow-jit-docs/examples.md +544 -0
- moai_adk/templates/.claude/skills/moai-workflow-jit-docs/optimization.md +286 -0
- moai_adk/templates/.claude/skills/moai-workflow-jit-docs/reference.md +307 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/README.md +190 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/SKILL.md +390 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/__init__.py +520 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/complete_workflow_demo_fixed.py +574 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/examples/complete_project_setup.py +317 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/examples/complete_workflow_demo.py +663 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/examples/config-migration-example.json +190 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/examples/question-examples.json +175 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/examples/quick_start.py +196 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/examples.md +547 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/__init__.py +17 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/advanced-patterns.md +158 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/ask_user_integration.py +340 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/batch_questions.py +713 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/config_manager.py +538 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/documentation_manager.py +1336 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/language_initializer.py +730 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/migration_manager.py +608 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/modules/template_optimizer.py +1005 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/reference.md +275 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/schemas/config-schema.json +316 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/schemas/tab_schema.json +1434 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/templates/config-template.json +71 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/templates/doc-templates/product-template.md +44 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/templates/doc-templates/structure-template.md +48 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/templates/doc-templates/tech-template.md +92 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/templates/question-templates/config-manager-setup.json +109 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/templates/question-templates/language-initializer.json +228 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/templates/question-templates/menu-project-config.json +130 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/templates/question-templates/project-batch-questions.json +97 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/templates/question-templates/spec-workflow-setup.json +150 -0
- moai_adk/templates/.claude/skills/moai-workflow-project/test_integration_simple.py +436 -0
- moai_adk/templates/.claude/skills/moai-workflow-spec/SKILL.md +534 -0
- moai_adk/templates/.claude/skills/moai-workflow-spec/examples.md +900 -0
- moai_adk/templates/.claude/skills/moai-workflow-spec/reference.md +704 -0
- moai_adk/templates/.claude/skills/moai-workflow-templates/SKILL.md +377 -0
- moai_adk/templates/.claude/skills/moai-workflow-templates/examples.md +552 -0
- moai_adk/templates/.claude/skills/moai-workflow-templates/modules/code-templates.md +124 -0
- moai_adk/templates/.claude/skills/moai-workflow-templates/modules/feedback-templates.md +100 -0
- moai_adk/templates/.claude/skills/moai-workflow-templates/modules/template-optimizer.md +138 -0
- moai_adk/templates/.claude/skills/moai-workflow-templates/reference.md +346 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/LICENSE.txt +202 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/SKILL.md +456 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/advanced-patterns.md +576 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/examples/ai-powered-testing.py +294 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/examples/console_logging.py +35 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/examples/element_discovery.py +40 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/examples/static_html_automation.py +34 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/examples.md +672 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/README.md +220 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/ai-debugging.md +845 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/automated-code-review.md +1416 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/performance-optimization.md +1234 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/smart-refactoring.md +1243 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/modules/tdd-context7.md +1260 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/optimization.md +505 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/reference/playwright-best-practices.md +57 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/reference.md +440 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/scripts/with_server.py +218 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/templates/alfred-integration.md +376 -0
- moai_adk/templates/.claude/skills/moai-workflow-testing/workflows/enterprise-testing-workflow.py +571 -0
- moai_adk/templates/.claude/skills/moai-worktree/SKILL.md +411 -0
- moai_adk/templates/.claude/skills/moai-worktree/examples.md +606 -0
- moai_adk/templates/.claude/skills/moai-worktree/modules/integration-patterns.md +982 -0
- moai_adk/templates/.claude/skills/moai-worktree/modules/parallel-development.md +778 -0
- moai_adk/templates/.claude/skills/moai-worktree/modules/worktree-commands.md +646 -0
- moai_adk/templates/.claude/skills/moai-worktree/modules/worktree-management.md +782 -0
- moai_adk/templates/.claude/skills/moai-worktree/reference.md +357 -0
- moai_adk/templates/.git-hooks/pre-commit +128 -0
- moai_adk/templates/.git-hooks/pre-push +365 -0
- moai_adk/templates/.github/workflows/ci-universal.yml +513 -0
- moai_adk/templates/.github/workflows/security-secrets-check.yml +179 -0
- moai_adk/templates/.github/workflows/spec-issue-sync.yml +337 -0
- moai_adk/templates/.gitignore +222 -0
- moai_adk/templates/.mcp.json +13 -0
- moai_adk/templates/.moai/config/config.yaml +58 -0
- moai_adk/templates/.moai/config/questions/_schema.yaml +174 -0
- moai_adk/templates/.moai/config/questions/tab0-init.yaml +251 -0
- moai_adk/templates/.moai/config/questions/tab1-user.yaml +107 -0
- moai_adk/templates/.moai/config/questions/tab2-project.yaml +79 -0
- moai_adk/templates/.moai/config/questions/tab3-git.yaml +632 -0
- moai_adk/templates/.moai/config/questions/tab4-quality.yaml +182 -0
- moai_adk/templates/.moai/config/questions/tab5-system.yaml +96 -0
- moai_adk/templates/.moai/config/sections/git-strategy.yaml +116 -0
- moai_adk/templates/.moai/config/sections/language.yaml +11 -0
- moai_adk/templates/.moai/config/sections/project.yaml +13 -0
- moai_adk/templates/.moai/config/sections/quality.yaml +17 -0
- moai_adk/templates/.moai/config/sections/system.yaml +24 -0
- moai_adk/templates/.moai/config/sections/user.yaml +5 -0
- moai_adk/templates/.moai/config/statusline-config.yaml +92 -0
- moai_adk/templates/.moai/scripts/setup-glm.py +136 -0
- moai_adk/templates/CLAUDE.md +642 -0
- moai_adk/utils/__init__.py +30 -0
- moai_adk/utils/banner.py +38 -0
- moai_adk/utils/common.py +294 -0
- moai_adk/utils/link_validator.py +241 -0
- moai_adk/utils/logger.py +147 -0
- moai_adk/utils/safe_file_reader.py +206 -0
- moai_adk/utils/timeout.py +160 -0
- moai_adk/utils/toon_utils.py +256 -0
- moai_adk/version.py +22 -0
- moai_adk-0.35.1.dist-info/METADATA +3018 -0
- moai_adk-0.35.1.dist-info/RECORD +502 -0
- moai_adk-0.35.1.dist-info/WHEEL +4 -0
- moai_adk-0.35.1.dist-info/entry_points.txt +3 -0
- moai_adk-0.35.1.dist-info/licenses/LICENSE +21 -0
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
# MoAI-ADK Question Schema Definition
|
|
2
|
+
# Version: 1.1.0
|
|
3
|
+
# Language: English only (runtime translation via conversation_language)
|
|
4
|
+
|
|
5
|
+
schema_version: "1.1.0"
|
|
6
|
+
last_updated: "2025-12-22"
|
|
7
|
+
|
|
8
|
+
# AskUserQuestion Constraints (Claude Code)
|
|
9
|
+
constraints:
|
|
10
|
+
max_questions_per_call: 4
|
|
11
|
+
max_options_per_question: 4
|
|
12
|
+
supports_multi_select: true
|
|
13
|
+
auto_includes_other: true
|
|
14
|
+
no_emoji_allowed: true
|
|
15
|
+
|
|
16
|
+
# Question Types
|
|
17
|
+
question_types:
|
|
18
|
+
select_single:
|
|
19
|
+
description: "Single selection from options"
|
|
20
|
+
multi_select: false
|
|
21
|
+
# UX Guidelines:
|
|
22
|
+
# - Provide clear, distinct options (max 4 per question)
|
|
23
|
+
# - Include descriptive text for each option
|
|
24
|
+
# - Use "(recommended)" suffix for default/preferred options
|
|
25
|
+
select_multiple:
|
|
26
|
+
description: "Multiple selection from options"
|
|
27
|
+
multi_select: true
|
|
28
|
+
# UX Guidelines:
|
|
29
|
+
# - Clearly indicate "multiple selections allowed" in question text
|
|
30
|
+
# - Limit to 4 options maximum
|
|
31
|
+
text_input:
|
|
32
|
+
description: "Text input via 'Type something' field (auto-added by AskUserQuestion tool)"
|
|
33
|
+
use_other_for_input: true
|
|
34
|
+
# UX Guidelines for text_input questions:
|
|
35
|
+
# - Only include 'Keep Current Value' option for existing values
|
|
36
|
+
# - DO NOT include 'Change' or 'Other' options - they confuse users
|
|
37
|
+
# - Include guidance in question text: "To change, type in the text field below"
|
|
38
|
+
# - The 'Type something...' input field is automatically added by the tool
|
|
39
|
+
# - Users type directly in this auto-added field for custom values
|
|
40
|
+
# IMPORTANT: Never use {{prompt_user}} - it is DEPRECATED
|
|
41
|
+
number_input:
|
|
42
|
+
description: "Number input via 'Type something' field or predefined numeric values"
|
|
43
|
+
use_other_for_input: true
|
|
44
|
+
# UX Guidelines for number_input questions:
|
|
45
|
+
# - Provide common preset values as options (max 4)
|
|
46
|
+
# - Include guidance in question text: "To enter a custom number, type in the text field below"
|
|
47
|
+
# - DO NOT include 'Other' option with {{prompt_user}} - it is DEPRECATED
|
|
48
|
+
# - Users type custom numbers directly in the auto-added 'Type something...' field
|
|
49
|
+
# - Include valid range in question text if applicable (e.g., "0-100", "1-168")
|
|
50
|
+
# IMPORTANT: Never use {{prompt_user}} - it is DEPRECATED
|
|
51
|
+
|
|
52
|
+
# Conditional Logic Operators
|
|
53
|
+
condition_operators:
|
|
54
|
+
basic:
|
|
55
|
+
- equals
|
|
56
|
+
- not_equals
|
|
57
|
+
- in
|
|
58
|
+
- not_in
|
|
59
|
+
compound:
|
|
60
|
+
- and # All conditions must be true
|
|
61
|
+
- or # At least one condition must be true
|
|
62
|
+
usage_notes:
|
|
63
|
+
simple_condition: "condition: {field: 'git_strategy.mode', operator: 'equals', value: 'personal'}"
|
|
64
|
+
compound_condition: |
|
|
65
|
+
condition:
|
|
66
|
+
operator: and
|
|
67
|
+
conditions:
|
|
68
|
+
- {field: 'git_strategy.mode', operator: 'not_equals', value: 'manual'}
|
|
69
|
+
- {field: 'git_strategy.{mode}.auto_branch', operator: 'equals', value: true}
|
|
70
|
+
|
|
71
|
+
# Special Values
|
|
72
|
+
special_values:
|
|
73
|
+
"{{current}}": "Keep current value from config"
|
|
74
|
+
"{{field_path}}": "Reference another field value"
|
|
75
|
+
# DEPRECATED: "{{prompt_user}}" - DO NOT USE
|
|
76
|
+
# Reason: For text_input, users type directly in 'Type something' field
|
|
77
|
+
# Instead of a 'Change' option, include guidance in the question text
|
|
78
|
+
|
|
79
|
+
# Auto-Update Rules
|
|
80
|
+
auto_update_patterns:
|
|
81
|
+
conversation_language_name:
|
|
82
|
+
trigger_field: "language.conversation_language"
|
|
83
|
+
mapping:
|
|
84
|
+
ko: "Korean"
|
|
85
|
+
en: "English"
|
|
86
|
+
ja: "Japanese"
|
|
87
|
+
es: "Spanish"
|
|
88
|
+
zh: "Chinese"
|
|
89
|
+
fr: "French"
|
|
90
|
+
de: "German"
|
|
91
|
+
project_locale:
|
|
92
|
+
trigger_field: "language.conversation_language"
|
|
93
|
+
mapping:
|
|
94
|
+
ko: "ko_KR"
|
|
95
|
+
en: "en_US"
|
|
96
|
+
ja: "ja_JP"
|
|
97
|
+
es: "es_ES"
|
|
98
|
+
|
|
99
|
+
# Validation Rules
|
|
100
|
+
validation_types:
|
|
101
|
+
enum:
|
|
102
|
+
description: "Value must be in allowed list"
|
|
103
|
+
pattern:
|
|
104
|
+
description: "Value must match regex pattern"
|
|
105
|
+
required:
|
|
106
|
+
description: "Field must have a value"
|
|
107
|
+
type_check:
|
|
108
|
+
description: "Value must match expected type"
|
|
109
|
+
|
|
110
|
+
# Tab Priorities
|
|
111
|
+
priorities:
|
|
112
|
+
REQUIRED: "Must complete before proceeding"
|
|
113
|
+
RECOMMENDED: "Strongly suggested to configure"
|
|
114
|
+
OPTIONAL: "Configure if needed"
|
|
115
|
+
|
|
116
|
+
# Mode Conditions (Tab visibility control)
|
|
117
|
+
mode_conditions:
|
|
118
|
+
INITIALIZATION: "Tab shown only during first-time project setup"
|
|
119
|
+
SETTINGS: "Tab shown only in settings management mode"
|
|
120
|
+
ALL: "Tab shown in all modes (default)"
|
|
121
|
+
|
|
122
|
+
# Tab 0 Special Features (Smart Question System)
|
|
123
|
+
tab0_features:
|
|
124
|
+
trigger_web_search:
|
|
125
|
+
description: "After collecting questions, trigger WebSearch for best practices"
|
|
126
|
+
enabled: true
|
|
127
|
+
generate_proposal:
|
|
128
|
+
description: "Generate smart technology proposal based on web search"
|
|
129
|
+
enabled: true
|
|
130
|
+
complexity_detection:
|
|
131
|
+
description: "Auto-detect project complexity from description keywords"
|
|
132
|
+
levels:
|
|
133
|
+
- simple
|
|
134
|
+
- medium
|
|
135
|
+
- complex
|
|
136
|
+
|
|
137
|
+
# Validation Types (Extended)
|
|
138
|
+
validation_types_extended:
|
|
139
|
+
min_length:
|
|
140
|
+
description: "Minimum string length validation"
|
|
141
|
+
range:
|
|
142
|
+
description: "Numeric value must be within range"
|
|
143
|
+
parameters:
|
|
144
|
+
- min
|
|
145
|
+
- max
|
|
146
|
+
|
|
147
|
+
# Question Properties (Extended for Tab 0)
|
|
148
|
+
question_properties:
|
|
149
|
+
tech_hint:
|
|
150
|
+
description: "Technology hint for project type options"
|
|
151
|
+
validation:
|
|
152
|
+
description: "Field validation rules"
|
|
153
|
+
properties:
|
|
154
|
+
- type
|
|
155
|
+
- pattern
|
|
156
|
+
- min_length
|
|
157
|
+
- error_message
|
|
158
|
+
|
|
159
|
+
# Workflow Properties (Tab 0 specific)
|
|
160
|
+
workflow_properties:
|
|
161
|
+
steps:
|
|
162
|
+
description: "Sequential workflow steps after question collection"
|
|
163
|
+
actions:
|
|
164
|
+
- collect_essential_info
|
|
165
|
+
- web_search
|
|
166
|
+
- generate_proposal
|
|
167
|
+
- user_approval
|
|
168
|
+
- delegate_to_agent
|
|
169
|
+
post_collection:
|
|
170
|
+
description: "Actions to perform after collecting all answers"
|
|
171
|
+
sections:
|
|
172
|
+
- web_search
|
|
173
|
+
- proposal
|
|
174
|
+
- approval
|
|
@@ -0,0 +1,251 @@
|
|
|
1
|
+
# Tab 0: Project Initialization (INITIALIZATION Mode Only)
|
|
2
|
+
# Priority: REQUIRED
|
|
3
|
+
# Questions: 3
|
|
4
|
+
# Mode Condition: INITIALIZATION only (first-time setup)
|
|
5
|
+
|
|
6
|
+
metadata:
|
|
7
|
+
id: tab_0_initialization
|
|
8
|
+
label: "Tab 0: Project Initialization"
|
|
9
|
+
description: "Essential project setup with minimal questions and smart recommendations"
|
|
10
|
+
priority: REQUIRED
|
|
11
|
+
order: 0
|
|
12
|
+
setting_count: 3
|
|
13
|
+
mode_condition: INITIALIZATION
|
|
14
|
+
special_features:
|
|
15
|
+
trigger_web_search: true
|
|
16
|
+
generate_proposal: true
|
|
17
|
+
|
|
18
|
+
# Target files for storing collected data
|
|
19
|
+
target_sections:
|
|
20
|
+
- sections/project.yaml
|
|
21
|
+
|
|
22
|
+
# Smart Question System Workflow
|
|
23
|
+
workflow:
|
|
24
|
+
description: "Collect 3 essential questions, perform web search, generate smart proposal"
|
|
25
|
+
steps:
|
|
26
|
+
- step: 1
|
|
27
|
+
action: collect_essential_info
|
|
28
|
+
description: "Collect project name, type, and description"
|
|
29
|
+
- step: 2
|
|
30
|
+
action: web_search
|
|
31
|
+
description: "Search for best practices based on project type"
|
|
32
|
+
queries:
|
|
33
|
+
- pattern: "{project_type} best practices 2025"
|
|
34
|
+
- pattern: "{project_type} recommended tech stack 2025"
|
|
35
|
+
- pattern: "{project_type} {project_description_keywords} architecture patterns"
|
|
36
|
+
- step: 3
|
|
37
|
+
action: generate_proposal
|
|
38
|
+
description: "Create smart proposal with technology recommendations"
|
|
39
|
+
- step: 4
|
|
40
|
+
action: user_approval
|
|
41
|
+
description: "Present proposal and get user approval"
|
|
42
|
+
- step: 5
|
|
43
|
+
action: delegate_to_agent
|
|
44
|
+
description: "Pass approved configuration to manager-project agent"
|
|
45
|
+
|
|
46
|
+
batches:
|
|
47
|
+
- batch_id: "0.1"
|
|
48
|
+
label: "Essential Project Information"
|
|
49
|
+
conditional: false
|
|
50
|
+
questions:
|
|
51
|
+
# Q1: Project Name
|
|
52
|
+
- id: init_project_name
|
|
53
|
+
question: "Choose a project name. Use only lowercase letters and hyphens (-)."
|
|
54
|
+
header: "Project Name"
|
|
55
|
+
field: "project.name"
|
|
56
|
+
type: text_input
|
|
57
|
+
multi_select: false
|
|
58
|
+
required: true
|
|
59
|
+
options:
|
|
60
|
+
- label: "Example: snake-game"
|
|
61
|
+
description: "A game project"
|
|
62
|
+
value: "snake-game"
|
|
63
|
+
- label: "Example: my-first-app"
|
|
64
|
+
description: "First application"
|
|
65
|
+
value: "my-first-app"
|
|
66
|
+
- label: "Example: todo-list"
|
|
67
|
+
description: "Task management app"
|
|
68
|
+
value: "todo-list"
|
|
69
|
+
target:
|
|
70
|
+
file: "sections/project.yaml"
|
|
71
|
+
path: "project.name"
|
|
72
|
+
validation:
|
|
73
|
+
type: pattern
|
|
74
|
+
pattern: "^[a-z][a-z0-9-]*$"
|
|
75
|
+
error_message: "Project name must be lowercase, start with letter, use only letters, numbers, and hyphens"
|
|
76
|
+
|
|
77
|
+
# Q2: Project Type
|
|
78
|
+
- id: init_project_type
|
|
79
|
+
question: "What kind of project would you like to create?"
|
|
80
|
+
header: "Project Type"
|
|
81
|
+
field: "project.type"
|
|
82
|
+
type: select_single
|
|
83
|
+
multi_select: false
|
|
84
|
+
required: true
|
|
85
|
+
options:
|
|
86
|
+
- label: "Web Browser App"
|
|
87
|
+
description: "Programs that open in Chrome, Safari (games, websites, etc.)"
|
|
88
|
+
value: "web_browser_app"
|
|
89
|
+
tech_hint: "HTML, CSS, JavaScript or React, Vue"
|
|
90
|
+
- label: "Mobile App"
|
|
91
|
+
description: "Apps installed on iPhone or Android"
|
|
92
|
+
value: "mobile_app"
|
|
93
|
+
tech_hint: "React Native, Flutter"
|
|
94
|
+
- label: "Command Line Tool"
|
|
95
|
+
description: "Programs that run in terminal (automation scripts, etc.)"
|
|
96
|
+
value: "cli_tool"
|
|
97
|
+
tech_hint: "Python, Node.js, Go"
|
|
98
|
+
- label: "Backend API"
|
|
99
|
+
description: "Server programs that store and process data"
|
|
100
|
+
value: "backend_api"
|
|
101
|
+
tech_hint: "FastAPI, Express, Django"
|
|
102
|
+
target:
|
|
103
|
+
file: "sections/project.yaml"
|
|
104
|
+
path: "project.type"
|
|
105
|
+
|
|
106
|
+
# Q3: Project Description
|
|
107
|
+
- id: init_project_description
|
|
108
|
+
question: "Describe what you want to build in one sentence."
|
|
109
|
+
header: "Description"
|
|
110
|
+
field: "project.description"
|
|
111
|
+
type: text_input
|
|
112
|
+
multi_select: false
|
|
113
|
+
required: true
|
|
114
|
+
options:
|
|
115
|
+
- label: "Example description"
|
|
116
|
+
description: "A game where you control a snake to eat food"
|
|
117
|
+
value: "{{prompt_user}}"
|
|
118
|
+
target:
|
|
119
|
+
file: "sections/project.yaml"
|
|
120
|
+
path: "project.description"
|
|
121
|
+
validation:
|
|
122
|
+
type: required
|
|
123
|
+
min_length: 10
|
|
124
|
+
error_message: "Please provide a description of at least 10 characters"
|
|
125
|
+
|
|
126
|
+
# Complexity Detection for Smart Proposal
|
|
127
|
+
complexity_detection:
|
|
128
|
+
simple:
|
|
129
|
+
keywords:
|
|
130
|
+
- "game"
|
|
131
|
+
- "simple"
|
|
132
|
+
- "first"
|
|
133
|
+
- "practice"
|
|
134
|
+
- "learning"
|
|
135
|
+
project_types:
|
|
136
|
+
- "Browser games"
|
|
137
|
+
- "Simple utilities"
|
|
138
|
+
- "Learning projects"
|
|
139
|
+
recommended_stack:
|
|
140
|
+
framework: "None - Pure HTML5 + CSS3 + Vanilla JavaScript"
|
|
141
|
+
ui: "CSS only (Canvas for games)"
|
|
142
|
+
testing: "Browser developer tools"
|
|
143
|
+
build: "None - Open files directly in browser"
|
|
144
|
+
rationale: "No framework needed, basic technologies are sufficient for quick development"
|
|
145
|
+
|
|
146
|
+
medium:
|
|
147
|
+
keywords:
|
|
148
|
+
- "blog"
|
|
149
|
+
- "portfolio"
|
|
150
|
+
- "landing"
|
|
151
|
+
- "website"
|
|
152
|
+
recommended_stack:
|
|
153
|
+
framework: "Next.js or Astro with minimal dependencies"
|
|
154
|
+
ui: "Tailwind CSS"
|
|
155
|
+
testing: "Vitest"
|
|
156
|
+
build: "Vite"
|
|
157
|
+
rationale: "Lightweight framework for moderate complexity"
|
|
158
|
+
|
|
159
|
+
complex:
|
|
160
|
+
keywords:
|
|
161
|
+
- "dashboard"
|
|
162
|
+
- "admin"
|
|
163
|
+
- "SaaS"
|
|
164
|
+
- "platform"
|
|
165
|
+
- "enterprise"
|
|
166
|
+
recommended_stack:
|
|
167
|
+
framework: "Full framework with state management"
|
|
168
|
+
ui: "Component library (shadcn/ui, HeroUI)"
|
|
169
|
+
testing: "Vitest + Playwright"
|
|
170
|
+
build: "Vite or Turbopack"
|
|
171
|
+
rationale: "Full framework stack for complex applications"
|
|
172
|
+
|
|
173
|
+
# Post-Collection Actions
|
|
174
|
+
post_collection:
|
|
175
|
+
# Web Search Configuration
|
|
176
|
+
web_search:
|
|
177
|
+
enabled: true
|
|
178
|
+
parallel_queries: 3
|
|
179
|
+
query_templates:
|
|
180
|
+
- template: "{project_type} best practices 2025"
|
|
181
|
+
extract: "Design patterns, architecture recommendations, common pitfalls"
|
|
182
|
+
- template: "{project_type} recommended tech stack 2025"
|
|
183
|
+
extract: "Framework comparisons, library recommendations, version requirements"
|
|
184
|
+
- template: "{project_type} {description_keywords} architecture patterns"
|
|
185
|
+
extract: "Domain-specific patterns, similar project architectures"
|
|
186
|
+
analysis_output:
|
|
187
|
+
- "Recommended Frameworks: Top 2-3 options with pros/cons"
|
|
188
|
+
- "UI Library: Best options for project type"
|
|
189
|
+
- "Testing Framework: Industry standard for project type"
|
|
190
|
+
- "Build Tools: Current best practices"
|
|
191
|
+
- "Deployment Target: Common deployment platforms"
|
|
192
|
+
|
|
193
|
+
# Proposal Generation
|
|
194
|
+
proposal:
|
|
195
|
+
structure:
|
|
196
|
+
- section: "Technology Stack"
|
|
197
|
+
fields:
|
|
198
|
+
- "Framework with rationale"
|
|
199
|
+
- "UI Library with rationale"
|
|
200
|
+
- "Testing framework"
|
|
201
|
+
- "Build tools"
|
|
202
|
+
- section: "Architecture"
|
|
203
|
+
fields:
|
|
204
|
+
- "Directory structure"
|
|
205
|
+
- "Key patterns"
|
|
206
|
+
- "Data flow"
|
|
207
|
+
- section: "Quality Standards"
|
|
208
|
+
fields:
|
|
209
|
+
- "Test coverage target"
|
|
210
|
+
- "TRUST 5 level"
|
|
211
|
+
- "Accessibility level"
|
|
212
|
+
|
|
213
|
+
# User Approval
|
|
214
|
+
approval:
|
|
215
|
+
question: "Do you approve this configuration? You can modify specific parts or request a different approach."
|
|
216
|
+
header: "Approval"
|
|
217
|
+
options:
|
|
218
|
+
- label: "Approve and Continue"
|
|
219
|
+
description: "Create project with these settings"
|
|
220
|
+
value: "approve"
|
|
221
|
+
- label: "Modify Tech Stack"
|
|
222
|
+
description: "Keep architecture, change framework/libraries"
|
|
223
|
+
value: "modify_tech"
|
|
224
|
+
- label: "Modify Architecture"
|
|
225
|
+
description: "Keep tech stack, change structure/patterns"
|
|
226
|
+
value: "modify_arch"
|
|
227
|
+
- label: "Start Over"
|
|
228
|
+
description: "Re-run search with different criteria"
|
|
229
|
+
value: "restart"
|
|
230
|
+
|
|
231
|
+
validation:
|
|
232
|
+
checkpoint: "after_tab_0"
|
|
233
|
+
rules:
|
|
234
|
+
- name: "validate_project_name"
|
|
235
|
+
description: "Project name must be valid directory name"
|
|
236
|
+
field: "project.name"
|
|
237
|
+
validation: "pattern"
|
|
238
|
+
pattern: "^[a-z][a-z0-9-]*$"
|
|
239
|
+
- name: "validate_project_type"
|
|
240
|
+
description: "Project type must be one of allowed values"
|
|
241
|
+
field: "project.type"
|
|
242
|
+
validation: "enum"
|
|
243
|
+
allowed_values:
|
|
244
|
+
- "web_browser_app"
|
|
245
|
+
- "mobile_app"
|
|
246
|
+
- "cli_tool"
|
|
247
|
+
- "backend_api"
|
|
248
|
+
- name: "validate_project_description"
|
|
249
|
+
description: "Project description must not be empty"
|
|
250
|
+
field: "project.description"
|
|
251
|
+
validation: "required"
|
|
@@ -0,0 +1,107 @@
|
|
|
1
|
+
# Tab 1: User & Language Settings
|
|
2
|
+
# Priority: REQUIRED (must complete first)
|
|
3
|
+
# Questions: 3
|
|
4
|
+
|
|
5
|
+
metadata:
|
|
6
|
+
id: tab_1_user_language
|
|
7
|
+
label: "Tab 1: User & Language"
|
|
8
|
+
description: "Configure user name, conversation language, agent prompt language"
|
|
9
|
+
priority: REQUIRED
|
|
10
|
+
order: 1
|
|
11
|
+
setting_count: 3
|
|
12
|
+
|
|
13
|
+
# Target files for CLAUDE.md reference
|
|
14
|
+
target_sections:
|
|
15
|
+
- sections/user.yaml
|
|
16
|
+
- sections/language.yaml
|
|
17
|
+
|
|
18
|
+
batches:
|
|
19
|
+
- batch_id: "1.1"
|
|
20
|
+
label: "Basic Settings"
|
|
21
|
+
conditional: false
|
|
22
|
+
questions:
|
|
23
|
+
# Q1: User Name
|
|
24
|
+
# UX Note: For text_input, only show "Keep Current" option.
|
|
25
|
+
# Users should type directly in "Type something" field to enter new value.
|
|
26
|
+
- id: user_name
|
|
27
|
+
question: "What is your name? To change, type your name in the text field below."
|
|
28
|
+
header: "User Name"
|
|
29
|
+
field: "user.name"
|
|
30
|
+
type: text_input
|
|
31
|
+
multi_select: false
|
|
32
|
+
required: true
|
|
33
|
+
options:
|
|
34
|
+
- label: "Keep Current Value"
|
|
35
|
+
description: "Continue using current name (to change, type in the field below)"
|
|
36
|
+
value: "{{current}}"
|
|
37
|
+
target:
|
|
38
|
+
file: "sections/user.yaml"
|
|
39
|
+
path: "user.name"
|
|
40
|
+
env_sync: "MOAI_USER_NAME"
|
|
41
|
+
|
|
42
|
+
# Q2: Conversation Language
|
|
43
|
+
- id: conversation_language
|
|
44
|
+
question: "What language should Alfred use in conversations?"
|
|
45
|
+
header: "Language"
|
|
46
|
+
field: "language.conversation_language"
|
|
47
|
+
type: select_single
|
|
48
|
+
multi_select: false
|
|
49
|
+
required: true
|
|
50
|
+
options:
|
|
51
|
+
- label: "Korean (ko)"
|
|
52
|
+
description: "All content will be generated in Korean"
|
|
53
|
+
value: "ko"
|
|
54
|
+
- label: "English (en)"
|
|
55
|
+
description: "All content will be generated in English"
|
|
56
|
+
value: "en"
|
|
57
|
+
- label: "Japanese (ja)"
|
|
58
|
+
description: "All content will be generated in Japanese"
|
|
59
|
+
value: "ja"
|
|
60
|
+
- label: "Spanish (es)"
|
|
61
|
+
description: "All content will be generated in Spanish"
|
|
62
|
+
value: "es"
|
|
63
|
+
target:
|
|
64
|
+
file: "sections/language.yaml"
|
|
65
|
+
path: "language.conversation_language"
|
|
66
|
+
env_sync: "MOAI_CONVERSATION_LANG"
|
|
67
|
+
auto_update:
|
|
68
|
+
- field: "language.conversation_language_name"
|
|
69
|
+
mapping:
|
|
70
|
+
ko: "Korean"
|
|
71
|
+
en: "English"
|
|
72
|
+
ja: "Japanese"
|
|
73
|
+
es: "Spanish"
|
|
74
|
+
|
|
75
|
+
# Q3: Agent Prompt Language
|
|
76
|
+
- id: agent_prompt_language
|
|
77
|
+
question: "What language should agent prompts use?"
|
|
78
|
+
header: "Agent Language"
|
|
79
|
+
field: "language.agent_prompt_language"
|
|
80
|
+
type: select_single
|
|
81
|
+
multi_select: false
|
|
82
|
+
required: true
|
|
83
|
+
options:
|
|
84
|
+
- label: "Same as Conversation"
|
|
85
|
+
description: "Use conversation language for agent prompts"
|
|
86
|
+
value: "{{language.conversation_language}}"
|
|
87
|
+
- label: "English"
|
|
88
|
+
description: "Always use English for agent prompts (recommended)"
|
|
89
|
+
value: "en"
|
|
90
|
+
target:
|
|
91
|
+
file: "sections/language.yaml"
|
|
92
|
+
path: "language.agent_prompt_language"
|
|
93
|
+
env_sync: "MOAI_AGENT_PROMPT_LANG"
|
|
94
|
+
|
|
95
|
+
validation:
|
|
96
|
+
checkpoint: "after_tab_1"
|
|
97
|
+
rules:
|
|
98
|
+
- name: "validate_conversation_language"
|
|
99
|
+
description: "Verify conversation_language is valid"
|
|
100
|
+
field: "language.conversation_language"
|
|
101
|
+
validation: "enum"
|
|
102
|
+
allowed_values: ["ko", "en", "ja", "es", "zh", "fr", "de"]
|
|
103
|
+
- name: "validate_agent_prompt_language"
|
|
104
|
+
description: "Verify agent_prompt_language consistency"
|
|
105
|
+
field: "language.agent_prompt_language"
|
|
106
|
+
validation: "enum"
|
|
107
|
+
allowed_values: ["ko", "en", "ja", "es", "zh", "fr", "de"]
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
# Tab 2: Project Settings
|
|
2
|
+
# Priority: RECOMMENDED
|
|
3
|
+
# Questions: 2 + auto-processing
|
|
4
|
+
|
|
5
|
+
metadata:
|
|
6
|
+
id: tab_2_project_info
|
|
7
|
+
label: "Tab 2: Project Basic Information"
|
|
8
|
+
description: "Configure project name (GitHub Profile moved to Tab 3, Project Mode removed)"
|
|
9
|
+
priority: RECOMMENDED
|
|
10
|
+
order: 2
|
|
11
|
+
setting_count: 2
|
|
12
|
+
|
|
13
|
+
target_sections:
|
|
14
|
+
- sections/project.yaml
|
|
15
|
+
|
|
16
|
+
batches:
|
|
17
|
+
- batch_id: "2.1"
|
|
18
|
+
label: "Project Metadata"
|
|
19
|
+
conditional: false
|
|
20
|
+
questions:
|
|
21
|
+
# Q1: Project Name
|
|
22
|
+
# UX Note: For text_input, only show "Keep Current" option.
|
|
23
|
+
# Users should type directly in "Type something" field to enter new value.
|
|
24
|
+
- id: project_name
|
|
25
|
+
question: "What is the project name? To change, type the new name in the text field below."
|
|
26
|
+
header: "Project Name"
|
|
27
|
+
field: "project.name"
|
|
28
|
+
type: text_input
|
|
29
|
+
multi_select: false
|
|
30
|
+
required: true
|
|
31
|
+
options:
|
|
32
|
+
- label: "Keep Current Value"
|
|
33
|
+
description: "Continue using current name (to change, type in the field below)"
|
|
34
|
+
value: "{{current}}"
|
|
35
|
+
target:
|
|
36
|
+
file: "sections/project.yaml"
|
|
37
|
+
path: "project.name"
|
|
38
|
+
|
|
39
|
+
# Q2: Project Description
|
|
40
|
+
# UX Note: For text_input, only show "Keep Current" option.
|
|
41
|
+
# Users should type directly in "Type something" field to enter new value.
|
|
42
|
+
- id: project_description
|
|
43
|
+
question: "What is the project description? To change, type the new description in the text field below."
|
|
44
|
+
header: "Description"
|
|
45
|
+
field: "project.description"
|
|
46
|
+
type: text_input
|
|
47
|
+
multi_select: false
|
|
48
|
+
required: true
|
|
49
|
+
options:
|
|
50
|
+
- label: "Keep Current Value"
|
|
51
|
+
description: "Continue using current description (to change, type in the field below)"
|
|
52
|
+
value: "{{current}}"
|
|
53
|
+
target:
|
|
54
|
+
file: "sections/project.yaml"
|
|
55
|
+
path: "project.description"
|
|
56
|
+
|
|
57
|
+
- batch_id: "2.2"
|
|
58
|
+
label: "Auto-processed Locale Settings"
|
|
59
|
+
conditional: false
|
|
60
|
+
questions: []
|
|
61
|
+
auto_processing:
|
|
62
|
+
enabled: true
|
|
63
|
+
description: "Automatically derived from language.conversation_language"
|
|
64
|
+
fields:
|
|
65
|
+
- field: "project.locale"
|
|
66
|
+
derivation: "auto-map from conversation_language"
|
|
67
|
+
mapping:
|
|
68
|
+
ko: "ko_KR"
|
|
69
|
+
en: "en_US"
|
|
70
|
+
ja: "ja_JP"
|
|
71
|
+
es: "es_ES"
|
|
72
|
+
|
|
73
|
+
validation:
|
|
74
|
+
checkpoint: "after_tab_2"
|
|
75
|
+
rules:
|
|
76
|
+
- name: "validate_project_name"
|
|
77
|
+
description: "Project name must not be empty"
|
|
78
|
+
field: "project.name"
|
|
79
|
+
validation: "required"
|