moai-adk 0.4.5__py3-none-any.whl โ 0.20.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of moai-adk might be problematic. Click here for more details.
- moai_adk/__init__.py +1 -1
- moai_adk/__main__.py +74 -1
- moai_adk/cli/commands/__init__.py +1 -1
- moai_adk/cli/commands/analyze.py +119 -0
- moai_adk/cli/commands/backup.py +25 -1
- moai_adk/cli/commands/doctor.py +31 -5
- moai_adk/cli/commands/improve_user_experience.py +307 -0
- moai_adk/cli/commands/init.py +111 -10
- moai_adk/cli/commands/status.py +33 -3
- moai_adk/cli/commands/update.py +921 -130
- moai_adk/cli/commands/validate_links.py +120 -0
- moai_adk/cli/prompts/init_prompts.py +22 -87
- moai_adk/core/analysis/__init__.py +9 -0
- moai_adk/core/analysis/session_analyzer.py +388 -0
- moai_adk/core/analysis/tag_chain_analyzer.py +344 -0
- moai_adk/core/analysis/tag_chain_repair.py +879 -0
- moai_adk/core/config/__init__.py +19 -0
- moai_adk/core/config/migration.py +235 -0
- moai_adk/core/git/__init__.py +1 -1
- moai_adk/core/git/branch.py +1 -1
- moai_adk/core/git/commit.py +1 -1
- moai_adk/core/git/manager.py +1 -1
- moai_adk/core/issue_creator.py +313 -0
- moai_adk/core/mcp/setup.py +56 -0
- moai_adk/core/mcp/setup_old.py +296 -0
- moai_adk/core/project/backup_utils.py +1 -1
- moai_adk/core/project/checker.py +2 -2
- moai_adk/core/project/detector.py +211 -12
- moai_adk/core/project/initializer.py +85 -15
- moai_adk/core/project/phase_executor.py +76 -13
- moai_adk/core/project/validator.py +13 -13
- moai_adk/core/quality/__init__.py +1 -1
- moai_adk/core/quality/trust_checker.py +1 -1
- moai_adk/core/quality/validators/__init__.py +1 -1
- moai_adk/core/quality/validators/base_validator.py +1 -1
- moai_adk/core/tags/__init__.py +86 -0
- moai_adk/core/tags/auto_corrector.py +693 -0
- moai_adk/core/tags/ci_validator.py +463 -0
- moai_adk/core/tags/cli.py +283 -0
- moai_adk/core/tags/generator.py +109 -0
- moai_adk/core/tags/inserter.py +99 -0
- moai_adk/core/tags/mapper.py +126 -0
- moai_adk/core/tags/parser.py +76 -0
- moai_adk/core/tags/policy_validator.py +580 -0
- moai_adk/core/tags/pre_commit_validator.py +421 -0
- moai_adk/core/tags/reporter.py +956 -0
- moai_adk/core/tags/rollback_manager.py +525 -0
- moai_adk/core/tags/tags.py +149 -0
- moai_adk/core/tags/validator.py +897 -0
- moai_adk/core/template/__init__.py +1 -1
- moai_adk/core/template/backup.py +1 -1
- moai_adk/core/template/merger.py +50 -1
- moai_adk/core/template/processor.py +119 -13
- moai_adk/core/template_engine.py +268 -0
- moai_adk/templates/.claude/agents/alfred/backend-expert.md +348 -0
- moai_adk/templates/.claude/agents/alfred/cc-manager.md +209 -944
- moai_adk/templates/.claude/agents/alfred/database-expert.md +352 -0
- moai_adk/templates/.claude/agents/alfred/debug-helper.md +34 -5
- moai_adk/templates/.claude/agents/alfred/devops-expert.md +464 -0
- moai_adk/templates/.claude/agents/alfred/doc-syncer.md +38 -8
- moai_adk/templates/.claude/agents/alfred/format-expert.md +469 -0
- moai_adk/templates/.claude/agents/alfred/frontend-expert.md +357 -0
- moai_adk/templates/.claude/agents/alfred/git-manager.md +128 -9
- moai_adk/templates/.claude/agents/alfred/implementation-planner.md +104 -6
- moai_adk/templates/.claude/agents/alfred/project-manager.md +88 -16
- moai_adk/templates/.claude/agents/alfred/quality-gate.md +36 -9
- moai_adk/templates/.claude/agents/alfred/security-expert.md +270 -0
- moai_adk/templates/.claude/agents/alfred/skill-factory.md +865 -0
- moai_adk/templates/.claude/agents/alfred/spec-builder.md +214 -43
- moai_adk/templates/.claude/agents/alfred/tag-agent.md +111 -9
- moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +309 -160
- moai_adk/templates/.claude/agents/alfred/trust-checker.md +36 -7
- moai_adk/templates/.claude/agents/alfred/ui-ux-expert.md +605 -0
- moai_adk/templates/.claude/commands/alfred/0-project.md +393 -966
- moai_adk/templates/.claude/commands/alfred/1-plan.md +651 -367
- moai_adk/templates/.claude/commands/alfred/2-run.md +388 -241
- moai_adk/templates/.claude/commands/alfred/3-sync.md +1921 -410
- moai_adk/templates/.claude/commands/alfred/9-feedback.md +153 -0
- moai_adk/templates/.claude/commands/alfred/release-new.md +3604 -0
- moai_adk/templates/.claude/hooks/alfred/core/project.py +484 -20
- moai_adk/templates/.claude/hooks/alfred/core/timeout.py +136 -0
- moai_adk/templates/.claude/hooks/alfred/core/ttl_cache.py +108 -0
- moai_adk/templates/.claude/hooks/alfred/core/version_cache.py +198 -0
- moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +14 -6
- moai_adk/templates/.claude/hooks/alfred/post_tool__enable_streaming_ui.py +50 -0
- moai_adk/templates/.claude/hooks/alfred/post_tool__log_changes.py +93 -0
- moai_adk/templates/.claude/hooks/alfred/post_tool__tag_auto_corrector.py +407 -0
- moai_adk/templates/.claude/hooks/alfred/pre_tool__auto_checkpoint.py +99 -0
- moai_adk/templates/.claude/hooks/alfred/pre_tool__realtime_tag_monitor.py +335 -0
- moai_adk/templates/.claude/hooks/alfred/pre_tool__tag_policy_validator.py +325 -0
- moai_adk/templates/.claude/hooks/alfred/session_end__cleanup.py +93 -0
- moai_adk/templates/.claude/hooks/alfred/session_start__auto_cleanup.py +580 -0
- moai_adk/templates/.claude/hooks/alfred/session_start__show_project_info.py +298 -0
- moai_adk/templates/.claude/hooks/alfred/shared/core/__init__.py +170 -0
- moai_adk/templates/.claude/hooks/alfred/{core โ shared/core}/checkpoint.py +3 -3
- moai_adk/templates/.claude/hooks/alfred/{core โ shared/core}/context.py +5 -5
- moai_adk/templates/.claude/hooks/alfred/shared/core/project.py +749 -0
- moai_adk/templates/.claude/hooks/alfred/shared/core/tags.py +230 -0
- moai_adk/templates/.claude/hooks/alfred/shared/core/version_cache.py +198 -0
- moai_adk/templates/.claude/hooks/alfred/shared/handlers/__init__.py +21 -0
- moai_adk/templates/.claude/hooks/alfred/shared/handlers/daily_analysis.py +351 -0
- moai_adk/templates/.claude/hooks/alfred/shared/handlers/notification.py +154 -0
- moai_adk/templates/.claude/hooks/alfred/shared/handlers/session.py +174 -0
- moai_adk/templates/.claude/hooks/alfred/shared/handlers/tool.py +87 -0
- moai_adk/templates/.claude/hooks/alfred/shared/handlers/user.py +61 -0
- moai_adk/templates/.claude/hooks/alfred/user_prompt__jit_load_docs.py +111 -0
- moai_adk/templates/.claude/hooks/alfred/utils/__init__.py +1 -0
- moai_adk/templates/.claude/hooks/alfred/utils/hook_config.py +94 -0
- moai_adk/templates/.claude/hooks/alfred/utils/timeout.py +161 -0
- moai_adk/templates/.claude/output-styles/alfred/alfred-moai-adk-beginner.md +267 -0
- moai_adk/templates/.claude/output-styles/alfred/keating-personal-tutor.md +440 -0
- moai_adk/templates/.claude/output-styles/alfred/r2d2-agentic-coding.md +583 -0
- moai_adk/templates/.claude/settings.json +96 -14
- moai_adk/templates/.claude/skills/moai-alfred-agent-guide/SKILL.md +70 -0
- moai_adk/templates/.claude/skills/moai-alfred-agent-guide/examples.md +62 -0
- moai_adk/templates/.claude/skills/moai-alfred-agent-guide/reference.md +242 -0
- moai_adk/templates/.claude/skills/moai-alfred-ask-user-questions/SKILL.md +237 -0
- moai_adk/templates/.claude/skills/moai-alfred-ask-user-questions/examples.md +871 -0
- moai_adk/templates/.claude/skills/moai-alfred-ask-user-questions/reference.md +653 -0
- moai_adk/templates/.claude/skills/moai-alfred-clone-pattern/README.md +162 -0
- moai_adk/templates/.claude/skills/moai-alfred-clone-pattern/SKILL.md +227 -0
- moai_adk/templates/.claude/skills/moai-alfred-clone-pattern/examples.md +354 -0
- moai_adk/templates/.claude/skills/moai-alfred-clone-pattern/reference.md +158 -0
- moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/SKILL.md +179 -79
- moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/examples.md +117 -0
- moai_adk/templates/.claude/skills/moai-alfred-code-reviewer/scripts/pre-review-check.sh +62 -0
- moai_adk/templates/.claude/skills/moai-alfred-config-schema/SKILL.md +132 -0
- moai_adk/templates/.claude/skills/moai-alfred-config-schema/examples.md +28 -0
- moai_adk/templates/.claude/skills/moai-alfred-config-schema/reference.md +444 -0
- moai_adk/templates/.claude/skills/moai-alfred-context-budget/SKILL.md +62 -0
- moai_adk/templates/.claude/skills/moai-alfred-context-budget/examples.md +28 -0
- moai_adk/templates/.claude/skills/moai-alfred-context-budget/reference.md +405 -0
- moai_adk/templates/.claude/skills/moai-alfred-dev-guide/SKILL.md +51 -0
- moai_adk/templates/.claude/skills/moai-alfred-dev-guide/examples.md +355 -0
- moai_adk/templates/.claude/skills/moai-alfred-dev-guide/reference.md +239 -0
- moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/SKILL.md +323 -0
- moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/examples.md +286 -0
- moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/reference.md +126 -0
- moai_adk/templates/.claude/skills/moai-alfred-issue-labels/SKILL.md +229 -0
- moai_adk/templates/.claude/skills/moai-alfred-issue-labels/examples.md +4 -0
- moai_adk/templates/.claude/skills/moai-alfred-issue-labels/reference.md +150 -0
- moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +87 -73
- moai_adk/templates/.claude/skills/moai-alfred-language-detection/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-alfred-language-detection/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-alfred-personas/README.md +42 -0
- moai_adk/templates/.claude/skills/moai-alfred-personas/SKILL.md +429 -0
- moai_adk/templates/.claude/skills/moai-alfred-personas/examples.md +520 -0
- moai_adk/templates/.claude/skills/moai-alfred-personas/reference.md +405 -0
- moai_adk/templates/.claude/skills/moai-alfred-practices/SKILL.md +89 -0
- moai_adk/templates/.claude/skills/moai-alfred-practices/examples.md +122 -0
- moai_adk/templates/.claude/skills/moai-alfred-practices/reference.md +369 -0
- moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/SKILL.md +508 -0
- moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/examples.md +481 -0
- moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/reference.md +100 -0
- moai_adk/templates/.claude/skills/moai-alfred-rules/SKILL.md +77 -0
- moai_adk/templates/.claude/skills/moai-alfred-rules/examples.md +265 -0
- moai_adk/templates/.claude/skills/moai-alfred-rules/reference.md +539 -0
- moai_adk/templates/.claude/skills/moai-alfred-session-state/SKILL.md +320 -0
- moai_adk/templates/.claude/skills/moai-alfred-session-state/examples.md +4 -0
- moai_adk/templates/.claude/skills/moai-alfred-session-state/reference.md +84 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/README.md +137 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/SKILL.md +219 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/examples/validate-spec.sh +161 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/examples.md +541 -0
- moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/reference.md +622 -0
- moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/SKILL.md +19 -0
- moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/examples.md +4 -0
- moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/reference.md +211 -0
- moai_adk/templates/.claude/skills/moai-alfred-workflow/SKILL.md +288 -0
- moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +269 -0
- moai_adk/templates/.claude/skills/moai-cc-agents/templates/agent-template.md +32 -0
- moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +298 -0
- moai_adk/templates/.claude/skills/moai-cc-claude-md/templates/CLAUDE-template.md +26 -0
- moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +307 -0
- moai_adk/templates/.claude/skills/moai-cc-commands/templates/command-template.md +21 -0
- moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +252 -0
- moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/pre-bash-check.sh +19 -0
- moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/preserve-permissions.sh +19 -0
- moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/validate-bash-command.py +24 -0
- moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +199 -0
- moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/templates/settings-mcp-template.json +39 -0
- moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +316 -0
- moai_adk/templates/.claude/skills/moai-cc-memory/templates/session-summary-template.md +18 -0
- moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +263 -0
- moai_adk/templates/.claude/skills/moai-cc-settings/templates/settings-complete-template.json +30 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/CHECKLIST.md +482 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/EXAMPLES.md +303 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/INTERACTIVE-DISCOVERY.md +524 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/METADATA.md +477 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/PARALLEL-ANALYSIS-REPORT.md +429 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/PYTHON-VERSION-MATRIX.md +391 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL-FACTORY-WORKFLOW.md +431 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL-UPDATE-ADVISOR.md +577 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL.md +273 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/STEP-BY-STEP-GUIDE.md +466 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/STRUCTURE.md +583 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/WEB-RESEARCH.md +526 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/reference.md +608 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/scripts/generate-structure.sh +328 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/scripts/validate-skill.sh +312 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/SKILL_TEMPLATE.md +245 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/examples-template.md +285 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/reference-template.md +278 -0
- moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/scripts-template.sh +303 -0
- moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +291 -0
- moai_adk/templates/.claude/skills/moai-cc-skills/templates/SKILL-template.md +15 -0
- moai_adk/templates/.claude/skills/moai-change-logger/SKILL.md +563 -0
- moai_adk/templates/.claude/skills/moai-design-systems/SKILL.md +802 -0
- moai_adk/templates/.claude/skills/moai-design-systems/examples.md +1238 -0
- moai_adk/templates/.claude/skills/moai-design-systems/reference.md +673 -0
- moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +234 -43
- moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +1633 -0
- moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +660 -0
- moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +97 -69
- moai_adk/templates/.claude/skills/moai-domain-cli-tool/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-cli-tool/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +97 -72
- moai_adk/templates/.claude/skills/moai-domain-data-science/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-data-science/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +97 -74
- moai_adk/templates/.claude/skills/moai-domain-database/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-database/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +98 -74
- moai_adk/templates/.claude/skills/moai-domain-devops/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-devops/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +102 -73
- moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +97 -73
- moai_adk/templates/.claude/skills/moai-domain-ml/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-ml/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +97 -67
- moai_adk/templates/.claude/skills/moai-domain-mobile-app/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-mobile-app/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +97 -79
- moai_adk/templates/.claude/skills/moai-domain-security/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-security/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +97 -71
- moai_adk/templates/.claude/skills/moai-domain-web-api/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-domain-web-api/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +265 -64
- moai_adk/templates/.claude/skills/moai-essentials-debug/examples.md +1064 -0
- moai_adk/templates/.claude/skills/moai-essentials-debug/reference.md +1047 -0
- moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +87 -78
- moai_adk/templates/.claude/skills/moai-essentials-perf/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-essentials-perf/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +87 -70
- moai_adk/templates/.claude/skills/moai-essentials-refactor/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-essentials-refactor/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +87 -86
- moai_adk/templates/.claude/skills/moai-essentials-review/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-essentials-review/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +80 -62
- moai_adk/templates/.claude/skills/moai-foundation-ears/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-foundation-ears/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +207 -50
- moai_adk/templates/.claude/skills/moai-foundation-git/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-foundation-git/reference.md +29 -0
- moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +90 -71
- moai_adk/templates/.claude/skills/moai-foundation-langs/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-foundation-langs/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +78 -58
- moai_adk/templates/.claude/skills/moai-foundation-specs/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-foundation-specs/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +78 -51
- moai_adk/templates/.claude/skills/moai-foundation-tags/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-foundation-tags/reference.md +28 -0
- moai_adk/templates/.claude/skills/moai-foundation-trust/.!11330!examples.md +0 -0
- moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +253 -32
- moai_adk/templates/.claude/skills/moai-foundation-trust/examples.md +0 -0
- moai_adk/templates/.claude/skills/moai-foundation-trust/reference.md +1099 -0
- moai_adk/templates/.claude/skills/moai-jit-docs-enhanced/SKILL.md +460 -0
- moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +98 -74
- moai_adk/templates/.claude/skills/moai-lang-c/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-c/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +98 -76
- moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +2358 -70
- moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +2962 -68
- moai_adk/templates/.claude/skills/moai-lang-dart/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-dart/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +1898 -70
- moai_adk/templates/.claude/skills/moai-lang-go/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-go/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +1465 -68
- moai_adk/templates/.claude/skills/moai-lang-java/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-java/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +2364 -66
- moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +32 -0
- moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +1630 -69
- moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +89 -61
- moai_adk/templates/.claude/skills/moai-lang-php/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-php/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +735 -66
- moai_adk/templates/.claude/skills/moai-lang-python/examples.md +624 -0
- moai_adk/templates/.claude/skills/moai-lang-python/reference.md +316 -0
- moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +97 -73
- moai_adk/templates/.claude/skills/moai-lang-r/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-r/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +98 -73
- moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +1834 -70
- moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +99 -74
- moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +97 -74
- moai_adk/templates/.claude/skills/moai-lang-shell/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-shell/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +98 -74
- moai_adk/templates/.claude/skills/moai-lang-sql/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-sql/reference.md +31 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +1959 -69
- moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +30 -0
- moai_adk/templates/.claude/skills/moai-lang-template/SKILL.md +348 -0
- moai_adk/templates/.claude/skills/moai-lang-template/VARIABLES.md +98 -0
- moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +1230 -66
- moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +29 -0
- moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +34 -0
- moai_adk/templates/.claude/skills/moai-learning-optimizer/SKILL.md +575 -0
- moai_adk/templates/.claude/skills/moai-project-batch-questions/README.md +50 -0
- moai_adk/templates/.claude/skills/moai-project-batch-questions/SKILL.md +304 -0
- moai_adk/templates/.claude/skills/moai-project-batch-questions/examples.md +417 -0
- moai_adk/templates/.claude/skills/moai-project-batch-questions/reference.md +704 -0
- moai_adk/templates/.claude/skills/moai-project-config-manager/README.md +87 -0
- moai_adk/templates/.claude/skills/moai-project-config-manager/SKILL.md +552 -0
- moai_adk/templates/.claude/skills/moai-project-config-manager/examples.md +1109 -0
- moai_adk/templates/.claude/skills/moai-project-config-manager/reference.md +514 -0
- moai_adk/templates/.claude/skills/moai-project-config-manager/validate.py +106 -0
- moai_adk/templates/.claude/skills/moai-project-documentation/README.md +11 -0
- moai_adk/templates/.claude/skills/moai-project-documentation/SKILL.md +622 -0
- moai_adk/templates/.claude/skills/moai-project-documentation/examples.md +20 -0
- moai_adk/templates/.claude/skills/moai-project-documentation/reference.md +12 -0
- moai_adk/templates/.claude/skills/moai-project-language-initializer/README.md +152 -0
- moai_adk/templates/.claude/skills/moai-project-language-initializer/SKILL.md +285 -0
- moai_adk/templates/.claude/skills/moai-project-language-initializer/examples.md +333 -0
- moai_adk/templates/.claude/skills/moai-project-language-initializer/reference.md +386 -0
- moai_adk/templates/.claude/skills/moai-project-template-optimizer/README.md +49 -0
- moai_adk/templates/.claude/skills/moai-project-template-optimizer/SKILL.md +319 -0
- moai_adk/templates/.claude/skills/moai-project-template-optimizer/examples.md +58 -0
- moai_adk/templates/.claude/skills/moai-project-template-optimizer/reference.md +123 -0
- moai_adk/templates/.claude/skills/moai-session-info/SKILL.md +314 -0
- moai_adk/templates/.claude/skills/moai-streaming-ui/SKILL.md +552 -0
- moai_adk/templates/.claude/skills/moai-tag-policy-validator/SKILL.md +570 -0
- moai_adk/templates/.git-hooks/pre-commit +66 -0
- moai_adk/templates/.git-hooks/pre-push +255 -0
- moai_adk/templates/.github/workflows/c-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/cpp-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/csharp-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/dart-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/go-tag-validation.yml +130 -0
- moai_adk/templates/.github/workflows/java-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/javascript-tag-validation.yml +135 -0
- moai_adk/templates/.github/workflows/kotlin-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/moai-gitflow.yml +166 -3
- moai_adk/templates/.github/workflows/moai-release-create.yml +100 -0
- moai_adk/templates/.github/workflows/moai-release-pipeline.yml +188 -0
- moai_adk/templates/.github/workflows/php-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/python-tag-validation.yml +118 -0
- moai_adk/templates/.github/workflows/release.yml +118 -0
- moai_adk/templates/.github/workflows/ruby-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/rust-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/shell-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/spec-issue-sync.yml +338 -0
- moai_adk/templates/.github/workflows/swift-tag-validation.yml +11 -0
- moai_adk/templates/.github/workflows/tag-report.yml +269 -0
- moai_adk/templates/.github/workflows/tag-validation.yml +186 -0
- moai_adk/templates/.github/workflows/typescript-tag-validation.yml +154 -0
- moai_adk/templates/.mcp.json +31 -0
- moai_adk/templates/.moai/config.json +80 -7
- moai_adk/templates/CLAUDE.md +562 -546
- moai_adk/utils/banner.py +5 -5
- moai_adk/utils/common.py +294 -0
- moai_adk/utils/link_validator.py +235 -0
- moai_adk/utils/logger.py +8 -8
- moai_adk/utils/user_experience.py +451 -0
- moai_adk-0.20.1.dist-info/METADATA +233 -0
- moai_adk-0.20.1.dist-info/RECORD +404 -0
- moai_adk/templates/.claude/hooks/alfred/README.md +0 -230
- moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +0 -156
- moai_adk/templates/.claude/hooks/alfred/core/__init__.py +0 -85
- moai_adk/templates/.claude/hooks/alfred/handlers/notification.py +0 -25
- moai_adk/templates/.claude/hooks/alfred/handlers/session.py +0 -92
- moai_adk/templates/.claude/hooks/alfred/handlers/tool.py +0 -70
- moai_adk/templates/.claude/hooks/alfred/handlers/user.py +0 -41
- moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +0 -636
- moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +0 -692
- moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +0 -470
- moai_adk/templates/.claude/skills/moai-alfred-debugger-pro/SKILL.md +0 -103
- moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +0 -103
- moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +0 -95
- moai_adk/templates/.claude/skills/moai-alfred-performance-optimizer/SKILL.md +0 -105
- moai_adk/templates/.claude/skills/moai-alfred-refactoring-coach/SKILL.md +0 -97
- moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +0 -97
- moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +0 -90
- moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +0 -99
- moai_adk/templates/.claude/skills/moai-alfred-tui-survey/SKILL.md +0 -87
- moai_adk/templates/.claude/skills/moai-alfred-tui-survey/examples.md +0 -62
- moai_adk/templates/.claude/skills/moai-claude-code/SKILL.md +0 -94
- moai_adk/templates/.claude/skills/moai-claude-code/examples.md +0 -513
- moai_adk/templates/.claude/skills/moai-claude-code/reference.md +0 -433
- moai_adk/templates/.claude/skills/moai-claude-code/templates/agent-full.md +0 -332
- moai_adk/templates/.claude/skills/moai-claude-code/templates/command-full.md +0 -384
- moai_adk/templates/.claude/skills/moai-claude-code/templates/plugin-full.json +0 -363
- moai_adk/templates/.claude/skills/moai-claude-code/templates/settings-full.json +0 -595
- moai_adk/templates/.claude/skills/moai-claude-code/templates/skill-full.md +0 -496
- moai_adk/templates/.claude/skills/moai-lang-clojure/SKILL.md +0 -100
- moai_adk/templates/.claude/skills/moai-lang-elixir/SKILL.md +0 -99
- moai_adk/templates/.claude/skills/moai-lang-haskell/SKILL.md +0 -100
- moai_adk/templates/.claude/skills/moai-lang-julia/SKILL.md +0 -98
- moai_adk/templates/.claude/skills/moai-lang-lua/SKILL.md +0 -98
- moai_adk/templates/.github/PULL_REQUEST_TEMPLATE.md +0 -69
- moai_adk/templates/.moai/memory/development-guide.md +0 -344
- moai_adk/templates/.moai/memory/gitflow-protection-policy.md +0 -220
- moai_adk/templates/.moai/memory/spec-metadata.md +0 -356
- moai_adk/templates/.moai/project/product.md +0 -161
- moai_adk/templates/.moai/project/structure.md +0 -156
- moai_adk/templates/.moai/project/tech.md +0 -227
- moai_adk/templates/__init__.py +0 -2
- moai_adk-0.4.5.dist-info/METADATA +0 -369
- moai_adk-0.4.5.dist-info/RECORD +0 -152
- {moai_adk-0.4.5.dist-info โ moai_adk-0.20.1.dist-info}/WHEEL +0 -0
- {moai_adk-0.4.5.dist-info โ moai_adk-0.20.1.dist-info}/entry_points.txt +0 -0
- {moai_adk-0.4.5.dist-info โ moai_adk-0.20.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,451 @@
|
|
|
1
|
+
# @CODE:USER-EXPERIENCE-IMPROVEMENT-001 | @TEST:USER-EXPERIENCE-IMPROVEMENT-001
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
User Experience Enhancement Utilities
|
|
5
|
+
์ฌ์ฉ์ ๊ฒฝํ ๊ฐ์ ์ ํธ๋ฆฌํฐ
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
import asyncio
|
|
9
|
+
import logging
|
|
10
|
+
import time
|
|
11
|
+
from dataclasses import dataclass, field
|
|
12
|
+
from datetime import datetime
|
|
13
|
+
from typing import Any, Dict, List, Tuple
|
|
14
|
+
from urllib.parse import urljoin
|
|
15
|
+
|
|
16
|
+
import aiohttp
|
|
17
|
+
|
|
18
|
+
from moai_adk.utils.common import HTTPClient
|
|
19
|
+
|
|
20
|
+
logger = logging.getLogger(__name__)
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
@dataclass
|
|
24
|
+
class PerformanceMetrics:
|
|
25
|
+
"""์ฑ๋ฅ ์งํ"""
|
|
26
|
+
load_time: float
|
|
27
|
+
response_time: float
|
|
28
|
+
success_rate: float
|
|
29
|
+
throughput: float
|
|
30
|
+
error_rate: float
|
|
31
|
+
timestamp: datetime = field(default_factory=datetime.now)
|
|
32
|
+
|
|
33
|
+
@property
|
|
34
|
+
def is_good(self) -> bool:
|
|
35
|
+
"""์ฑ๋ฅ์ด ์ข์์ง ์ฌ๋ถ"""
|
|
36
|
+
return (
|
|
37
|
+
self.load_time <= 2.0 and
|
|
38
|
+
self.response_time <= 1.0 and
|
|
39
|
+
self.success_rate >= 0.9 and
|
|
40
|
+
self.throughput >= 10 and
|
|
41
|
+
self.error_rate <= 0.1
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
@dataclass
|
|
46
|
+
class NavigationMetrics:
|
|
47
|
+
"""๋ค๋น๊ฒ์ด์
์งํ"""
|
|
48
|
+
structure_score: float
|
|
49
|
+
link_count: int
|
|
50
|
+
depth: int
|
|
51
|
+
completeness: float
|
|
52
|
+
timestamp: datetime = field(default_factory=datetime.now)
|
|
53
|
+
|
|
54
|
+
@property
|
|
55
|
+
def is_good(self) -> bool:
|
|
56
|
+
"""๋ค๋น๊ฒ์ด์
์ด ์ข์์ง ์ฌ๋ถ"""
|
|
57
|
+
return (
|
|
58
|
+
self.structure_score >= 0.8 and
|
|
59
|
+
self.link_count >= 5 and
|
|
60
|
+
self.depth <= 3 and
|
|
61
|
+
self.completeness >= 0.9
|
|
62
|
+
)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
@dataclass
|
|
66
|
+
class ContentMetrics:
|
|
67
|
+
"""์ฝํ
์ธ ์งํ"""
|
|
68
|
+
accuracy_score: float
|
|
69
|
+
completeness_score: float
|
|
70
|
+
organization_score: float
|
|
71
|
+
readability_score: float
|
|
72
|
+
timestamp: datetime = field(default_factory=datetime.now)
|
|
73
|
+
|
|
74
|
+
@property
|
|
75
|
+
def is_good(self) -> bool:
|
|
76
|
+
"""์ฝํ
์ธ ๊ฐ ์ข์์ง ์ฌ๋ถ"""
|
|
77
|
+
return (
|
|
78
|
+
self.accuracy_score >= 0.9 and
|
|
79
|
+
self.completeness_score >= 0.9 and
|
|
80
|
+
self.organization_score >= 0.8 and
|
|
81
|
+
self.readability_score >= 0.8
|
|
82
|
+
)
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
@dataclass
|
|
86
|
+
class AccessibilityMetrics:
|
|
87
|
+
"""์ ๊ทผ์ฑ ์งํ"""
|
|
88
|
+
keyboard_navigation: bool
|
|
89
|
+
screen_reader_support: bool
|
|
90
|
+
color_contrast: bool
|
|
91
|
+
responsive_design: bool
|
|
92
|
+
aria_labels: bool
|
|
93
|
+
timestamp: datetime = field(default_factory=datetime.now)
|
|
94
|
+
|
|
95
|
+
@property
|
|
96
|
+
def is_good(self) -> bool:
|
|
97
|
+
"""์ ๊ทผ์ฑ์ด ์ข์์ง ์ฌ๋ถ"""
|
|
98
|
+
return all([
|
|
99
|
+
self.keyboard_navigation,
|
|
100
|
+
self.screen_reader_support,
|
|
101
|
+
self.color_contrast,
|
|
102
|
+
self.responsive_design,
|
|
103
|
+
self.aria_labels
|
|
104
|
+
])
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
class UserExperienceAnalyzer(HTTPClient):
|
|
108
|
+
"""์ฌ์ฉ์ ๊ฒฝํ ๋ถ์๊ธฐ"""
|
|
109
|
+
|
|
110
|
+
def __init__(self, base_url: str, max_workers: int = 5):
|
|
111
|
+
super().__init__(max_concurrent=max_workers, timeout=10)
|
|
112
|
+
self.base_url = base_url
|
|
113
|
+
|
|
114
|
+
async def __aenter__(self):
|
|
115
|
+
"""๋น๋๊ธฐ ์ปจํ
์คํธ ๋งค๋์ ์ง์
"""
|
|
116
|
+
connector = aiohttp.TCPConnector(limit=self.max_concurrent)
|
|
117
|
+
timeout = aiohttp.ClientTimeout(total=self.timeout)
|
|
118
|
+
self.session = aiohttp.ClientSession(
|
|
119
|
+
connector=connector,
|
|
120
|
+
timeout=timeout,
|
|
121
|
+
headers={
|
|
122
|
+
"User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
|
|
123
|
+
}
|
|
124
|
+
)
|
|
125
|
+
return self
|
|
126
|
+
|
|
127
|
+
async def __aexit__(self, exc_type, exc_val, exc_tb):
|
|
128
|
+
"""๋น๋๊ธฐ ์ปจํ
์คํธ ๋งค๋์ ์ข
๋ฃ"""
|
|
129
|
+
if self.session:
|
|
130
|
+
await self.session.close()
|
|
131
|
+
|
|
132
|
+
async def analyze_performance(self) -> PerformanceMetrics:
|
|
133
|
+
"""์ฑ๋ฅ ๋ถ์"""
|
|
134
|
+
# ์ฌ๋ฌ ํ์ด์ง ๋์ ๋ก๋ ํ
์คํธ
|
|
135
|
+
pages = [
|
|
136
|
+
self.base_url,
|
|
137
|
+
urljoin(self.base_url, "/getting-started"),
|
|
138
|
+
urljoin(self.base_url, "/api"),
|
|
139
|
+
urljoin(self.base_url, "/guides"),
|
|
140
|
+
urljoin(self.base_url, "/search")
|
|
141
|
+
]
|
|
142
|
+
|
|
143
|
+
load_times = []
|
|
144
|
+
success_count = 0
|
|
145
|
+
total_requests = len(pages)
|
|
146
|
+
|
|
147
|
+
async def load_page(url: str) -> Tuple[float, bool]:
|
|
148
|
+
page_start = time.time()
|
|
149
|
+
try:
|
|
150
|
+
response = await self.fetch_url(url)
|
|
151
|
+
load_time = time.time() - page_start
|
|
152
|
+
success = response.success
|
|
153
|
+
return load_time, success
|
|
154
|
+
except Exception:
|
|
155
|
+
load_time = time.time() - page_start
|
|
156
|
+
return load_time, False
|
|
157
|
+
|
|
158
|
+
# ๋ชจ๋ ํ์ด์ง ๋์ ๋ก๋
|
|
159
|
+
tasks = [load_page(url) for url in pages]
|
|
160
|
+
results = await asyncio.gather(*tasks)
|
|
161
|
+
|
|
162
|
+
# ๊ฒฐ๊ณผ ๋ถ์
|
|
163
|
+
total_load_time = 0
|
|
164
|
+
success_count = 0
|
|
165
|
+
|
|
166
|
+
for load_time, success in results:
|
|
167
|
+
load_times.append(load_time)
|
|
168
|
+
total_load_time += load_time
|
|
169
|
+
if success:
|
|
170
|
+
success_count += 1
|
|
171
|
+
|
|
172
|
+
avg_load_time = total_load_time / total_requests if total_requests > 0 else 0
|
|
173
|
+
success_rate = success_count / total_requests if total_requests > 0 else 0
|
|
174
|
+
|
|
175
|
+
# ๋ชจ์ ์ธก์ ๊ฐ (์ค์ ๊ตฌํ์์๋ ์ค์ ์งํ ์ฌ์ฉ)
|
|
176
|
+
response_time = 0.5 # ๋ชจ์ ์๋ต ์๊ฐ
|
|
177
|
+
throughput = 15.0 # ๋ชจ๋ ์ฒ๋ฆฌ๋
|
|
178
|
+
error_rate = 1.0 - success_rate
|
|
179
|
+
|
|
180
|
+
return PerformanceMetrics(
|
|
181
|
+
load_time=avg_load_time,
|
|
182
|
+
response_time=response_time,
|
|
183
|
+
success_rate=success_rate,
|
|
184
|
+
throughput=throughput,
|
|
185
|
+
error_rate=error_rate
|
|
186
|
+
)
|
|
187
|
+
|
|
188
|
+
async def analyze_navigation(self) -> NavigationMetrics:
|
|
189
|
+
"""๋ค๋น๊ฒ์ด์
๊ตฌ์กฐ ๋ถ์"""
|
|
190
|
+
# ๋ชจ์ ๋ค๋น๊ฒ์ด์
๋ฐ์ดํฐ (์ค์ ๊ตฌํ์์๋ ์ค์ ํฌ๋กค๋ง ์ํ)
|
|
191
|
+
navigation_data = {
|
|
192
|
+
"main_links": ["Getting Started", "API Documentation", "Guides", "Search"],
|
|
193
|
+
"sub_links": {
|
|
194
|
+
"Getting Started": ["Installation", "Configuration", "First Steps"],
|
|
195
|
+
"API Documentation": ["Core API", "Authentication", "Webhooks"],
|
|
196
|
+
"Guides": ["Best Practices", "Examples", "Troubleshooting"],
|
|
197
|
+
"Search": ["Advanced Search", "Filters", "Results"]
|
|
198
|
+
},
|
|
199
|
+
"depth": 2,
|
|
200
|
+
"total_links": 15
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
# ๊ตฌ์กฐ ์ ์ ๊ณ์ฐ
|
|
204
|
+
structure_score = self._calculate_structure_score(navigation_data)
|
|
205
|
+
|
|
206
|
+
return NavigationMetrics(
|
|
207
|
+
structure_score=structure_score,
|
|
208
|
+
link_count=navigation_data["total_links"],
|
|
209
|
+
depth=navigation_data["depth"],
|
|
210
|
+
completeness=0.95
|
|
211
|
+
)
|
|
212
|
+
|
|
213
|
+
def _calculate_structure_score(self, navigation_data: Dict) -> float:
|
|
214
|
+
"""๋ค๋น๊ฒ์ด์
๊ตฌ์กฐ ์ ์ ๊ณ์ฐ"""
|
|
215
|
+
main_links = len(navigation_data["main_links"])
|
|
216
|
+
sub_links_count = sum(len(links) for links in navigation_data["sub_links"].values())
|
|
217
|
+
|
|
218
|
+
# ๊ตฌ์กฐ ์ ์ ๊ณ์ฐ (๋งํฌ ๊ท ํ์ฑ๊ณผ ๊ณ์ธต์ ๊ตฌ์กฐ ๊ณ ๋ ค)
|
|
219
|
+
balance_score = min(1.0, main_links / 4.0) # ๋ฉ์ธ ๋งํฌ ๊ท ํ์ฑ
|
|
220
|
+
hierarchy_score = max(0.5, 1.0 - navigation_data["depth"] / 5.0) # ๊ณ์ธต ๊น์ด
|
|
221
|
+
coverage_score = min(1.0, sub_links_count / 20.0) # ์๋ธ ๋งํฌ ์ปค๋ฒ๋ฆฌ์ง
|
|
222
|
+
|
|
223
|
+
return (balance_score + hierarchy_score + coverage_score) / 3.0
|
|
224
|
+
|
|
225
|
+
async def analyze_content(self) -> ContentMetrics:
|
|
226
|
+
"""์ฝํ
์ธ ํ์ง ๋ถ์"""
|
|
227
|
+
# ๋ชจ์ ์ฝํ
์ธ ๋ฐ์ดํฐ (์ค์ ๊ตฌํ์์๋ ์ค์ ์ฝํ
์ธ ๋ถ์ ์ํ)
|
|
228
|
+
content_data = {
|
|
229
|
+
"word_count": 5000,
|
|
230
|
+
"code_examples": 25,
|
|
231
|
+
"images": 15,
|
|
232
|
+
"links": 30,
|
|
233
|
+
"readability_score": 8.5,
|
|
234
|
+
"completeness_score": 0.95
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
# ์ ํ์ฑ ์ ์ ๊ณ์ฐ
|
|
238
|
+
accuracy_score = self._calculate_accuracy_score(content_data)
|
|
239
|
+
organization_score = self._calculate_organization_score(content_data)
|
|
240
|
+
readability_score = content_data["readability_score"] / 10.0
|
|
241
|
+
|
|
242
|
+
return ContentMetrics(
|
|
243
|
+
accuracy_score=accuracy_score,
|
|
244
|
+
completeness_score=content_data["completeness_score"],
|
|
245
|
+
organization_score=organization_score,
|
|
246
|
+
readability_score=readability_score
|
|
247
|
+
)
|
|
248
|
+
|
|
249
|
+
def _calculate_accuracy_score(self, content_data: Dict) -> float:
|
|
250
|
+
"""์ฝํ
์ธ ์ ํ์ฑ ์ ์ ๊ณ์ฐ"""
|
|
251
|
+
code_examples_ratio = min(1.0, content_data["code_examples"] / 20.0)
|
|
252
|
+
images_ratio = min(1.0, content_data["images"] / 10.0)
|
|
253
|
+
links_ratio = min(1.0, content_data["links"] / 25.0)
|
|
254
|
+
|
|
255
|
+
return (code_examples_ratio + images_ratio + links_ratio) / 3.0
|
|
256
|
+
|
|
257
|
+
def _calculate_organization_score(self, content_data: Dict) -> float:
|
|
258
|
+
"""์ฝํ
์ธ ์กฐ์ง ์ ์ ๊ณ์ฐ"""
|
|
259
|
+
word_count_ratio = min(1.0, content_data["word_count"] / 5000.0)
|
|
260
|
+
structure_score = min(1.0, content_data["code_examples"] / 15.0)
|
|
261
|
+
|
|
262
|
+
return (word_count_ratio + structure_score) / 2.0
|
|
263
|
+
|
|
264
|
+
async def analyze_accessibility(self) -> AccessibilityMetrics:
|
|
265
|
+
"""์ ๊ทผ์ฑ ๋ถ์"""
|
|
266
|
+
# ๋ชจ์ ์ ๊ทผ์ฑ ๋ฐ์ดํฐ (์ค์ ๊ตฌํ์์๋ ์ค์ ์ ๊ทผ์ฑ ๊ฒ์ฌ ์ํ)
|
|
267
|
+
accessibility_data = {
|
|
268
|
+
"keyboard_navigation": True,
|
|
269
|
+
"screen_reader_support": True,
|
|
270
|
+
"color_contrast": True,
|
|
271
|
+
"responsive_design": True,
|
|
272
|
+
"aria_labels": True
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
return AccessibilityMetrics(
|
|
276
|
+
keyboard_navigation=accessibility_data["keyboard_navigation"],
|
|
277
|
+
screen_reader_support=accessibility_data["screen_reader_support"],
|
|
278
|
+
color_contrast=accessibility_data["color_contrast"],
|
|
279
|
+
responsive_design=accessibility_data["responsive_design"],
|
|
280
|
+
aria_labels=accessibility_data["aria_labels"]
|
|
281
|
+
)
|
|
282
|
+
|
|
283
|
+
async def generate_report(self) -> Dict[str, Any]:
|
|
284
|
+
"""์ข
ํฉ ๊ฒฝํ ๋ณด๊ณ ์ ์์ฑ"""
|
|
285
|
+
async with self:
|
|
286
|
+
# ๋ชจ๋ ์งํ ๋์ ๋ถ์
|
|
287
|
+
performance_task = self.analyze_performance()
|
|
288
|
+
navigation_task = self.analyze_navigation()
|
|
289
|
+
content_task = self.analyze_content()
|
|
290
|
+
accessibility_task = self.analyze_accessibility()
|
|
291
|
+
|
|
292
|
+
# ๋ชจ๋ ๋ถ์ ๋ณ๋ ฌ ์คํ
|
|
293
|
+
performance, navigation, content, accessibility = await asyncio.gather(
|
|
294
|
+
performance_task, navigation_task, content_task, accessibility_task
|
|
295
|
+
)
|
|
296
|
+
|
|
297
|
+
# ์ข
ํฉ ์ ์ ๊ณ์ฐ
|
|
298
|
+
overall_score = (
|
|
299
|
+
performance.success_rate * 0.3 +
|
|
300
|
+
navigation.structure_score * 0.2 +
|
|
301
|
+
content.accuracy_score * 0.3 +
|
|
302
|
+
(1 if accessibility.is_good else 0) * 0.2
|
|
303
|
+
)
|
|
304
|
+
|
|
305
|
+
# ๊ฐ์ ์ ์ ์์ฑ
|
|
306
|
+
recommendations = self._generate_recommendations(
|
|
307
|
+
performance, navigation, content, accessibility
|
|
308
|
+
)
|
|
309
|
+
|
|
310
|
+
return {
|
|
311
|
+
"overall_score": overall_score,
|
|
312
|
+
"performance": performance,
|
|
313
|
+
"navigation": navigation,
|
|
314
|
+
"content": content,
|
|
315
|
+
"accessibility": accessibility,
|
|
316
|
+
"recommendations": recommendations,
|
|
317
|
+
"generated_at": datetime.now().isoformat()
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
def _generate_recommendations(
|
|
321
|
+
self,
|
|
322
|
+
performance: PerformanceMetrics,
|
|
323
|
+
navigation: NavigationMetrics,
|
|
324
|
+
content: ContentMetrics,
|
|
325
|
+
accessibility: AccessibilityMetrics
|
|
326
|
+
) -> List[str]:
|
|
327
|
+
"""๊ฐ์ ์ ์ ์์ฑ"""
|
|
328
|
+
recommendations = []
|
|
329
|
+
|
|
330
|
+
# ์ฑ๋ฅ ๊ฐ์ ์ ์
|
|
331
|
+
if not performance.is_good:
|
|
332
|
+
if performance.load_time > 2.0:
|
|
333
|
+
recommendations.append("ํ์ด์ง ๋ก๋ ์๊ฐ ๊ฐ์ : ์ด๋ฏธ์ง ์ต์ ํ, CDN ์ฌ์ฉ, ์ฝ๋ ์คํ๋ฆฟ ๊ณ ๋ ค")
|
|
334
|
+
if performance.error_rate > 0.1:
|
|
335
|
+
recommendations.append("์๋ฌ ์ฒ๋ฆฌ ๊ฐ์ : 404 ํ์ด์ง ๊ฐ์ , ์๋ฌ ๋ฉ์์ง ๊ฐ์ ")
|
|
336
|
+
|
|
337
|
+
# ๋ค๋น๊ฒ์ด์
๊ฐ์ ์ ์
|
|
338
|
+
if not navigation.is_good:
|
|
339
|
+
if navigation.structure_score < 0.8:
|
|
340
|
+
recommendations.append("๋ค๋น๊ฒ์ด์
๊ตฌ์กฐ ์ฌ์ค๊ณ: ๊ณ์ธต ๊ตฌ์กฐ ๋จ์ํ, ์นดํ
๊ณ ๋ฆฌ ์ฌ๊ตฌ์ฑ")
|
|
341
|
+
if navigation.completeness < 0.9:
|
|
342
|
+
recommendations.append("๋งํฌ ์์ฑ๋ ๊ฐ์ : ๋๋ฝ๋ ํ์ด์ง ์ฐ๊ฒฐ, ํฐ์ ๋งํฌ ์ถ๊ฐ")
|
|
343
|
+
|
|
344
|
+
# ์ฝํ
์ธ ๊ฐ์ ์ ์
|
|
345
|
+
if not content.is_good:
|
|
346
|
+
if content.accuracy_score < 0.9:
|
|
347
|
+
recommendations.append("์ฝํ
์ธ ์ ํ์ฑ ๊ฐ์ : ์ ๋ณด ์
๋ฐ์ดํธ, ์์ ์ฝ๋ ๊ฒ์ฆ")
|
|
348
|
+
if content.organization_score < 0.8:
|
|
349
|
+
recommendations.append("์ฝํ
์ธ ๊ตฌ์กฐ ๊ฐ์ : ์น์
๋ถํ , ๋ชฉ์ฐจ ์ถ๊ฐ, ๊ด๋ จ ๋งํฌ ์ถ๊ฐ")
|
|
350
|
+
|
|
351
|
+
# ์ ๊ทผ์ฑ ๊ฐ์ ์ ์
|
|
352
|
+
if not accessibility.is_good:
|
|
353
|
+
if not accessibility.keyboard_navigation:
|
|
354
|
+
recommendations.append("ํค๋ณด๋ ๋ค๋น๊ฒ์ด์
๊ฐ์ : ํญ ์์ ์ต์ ํ, ํค๋ณด๋ ๋จ์ถํค ์ถ๊ฐ")
|
|
355
|
+
if not accessibility.screen_reader_support:
|
|
356
|
+
recommendations.append("์คํฌ๋ฆฐ ๋ฆฌ๋ ์ง์ ๊ฐ์ : ARIA ๋ ์ด๋ธ ์ถ๊ฐ, ์๋งจํฑ HTML ์ฌ์ฉ")
|
|
357
|
+
|
|
358
|
+
return recommendations
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
def generate_improvement_plan(analysis_report: Dict[str, Any]) -> Dict[str, Any]:
|
|
362
|
+
"""๊ฐ์ ๊ณํ ์์ฑ"""
|
|
363
|
+
overall_score = analysis_report["overall_score"]
|
|
364
|
+
|
|
365
|
+
# ์ฐ์ ์์ ์ค์
|
|
366
|
+
priorities = {
|
|
367
|
+
"high": [],
|
|
368
|
+
"medium": [],
|
|
369
|
+
"low": []
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
# ์ฑ๋ฅ ์ฐ์ ์์
|
|
373
|
+
performance = analysis_report["performance"]
|
|
374
|
+
if not performance.is_good:
|
|
375
|
+
if performance.error_rate > 0.2:
|
|
376
|
+
priorities["high"].append("์๋ฌ ์ฒ๋ฆฌ ์์คํ
๊ฐ์ ")
|
|
377
|
+
elif performance.load_time > 3.0:
|
|
378
|
+
priorities["high"].append("๋ก๋ ์๊ฐ ๊ฐ์ ")
|
|
379
|
+
else:
|
|
380
|
+
priorities["medium"].append("์ฑ๋ฅ ์ต์ ํ")
|
|
381
|
+
|
|
382
|
+
# ์ฝํ
์ธ ์ฐ์ ์์
|
|
383
|
+
content = analysis_report["content"]
|
|
384
|
+
if not content.is_good:
|
|
385
|
+
if content.accuracy_score < 0.8:
|
|
386
|
+
priorities["high"].append("์ฝํ
์ธ ์ ํ์ฑ ๊ฒ์ฆ")
|
|
387
|
+
elif content.completeness_score < 0.8:
|
|
388
|
+
priorities["medium"].append("์ฝํ
์ธ ์์ฑ๋ ๊ฐ์ ")
|
|
389
|
+
else:
|
|
390
|
+
priorities["low"].append("์ฝํ
์ธ ๋ฏธ์ธ ์กฐ์ ")
|
|
391
|
+
|
|
392
|
+
# ์ ๊ทผ์ฑ ์ฐ์ ์์
|
|
393
|
+
accessibility = analysis_report["accessibility"]
|
|
394
|
+
if not accessibility.is_good:
|
|
395
|
+
if not accessibility.keyboard_navigation:
|
|
396
|
+
priorities["high"].append("ํค๋ณด๋ ์ ๊ทผ์ฑ ๊ฐ์ ")
|
|
397
|
+
elif not accessibility.screen_reader_support:
|
|
398
|
+
priorities["high"].append("์คํฌ๋ฆฐ ๋ฆฌ๋ ์ง์ ๊ฐ์ ")
|
|
399
|
+
else:
|
|
400
|
+
priorities["medium"].append("์ ๊ทผ์ฑ ํ์ค ์ค์")
|
|
401
|
+
|
|
402
|
+
# ์คํ ๊ณํ ์์ฑ
|
|
403
|
+
timeline = {
|
|
404
|
+
"immediate": priorities["high"],
|
|
405
|
+
"short_term": priorities["medium"],
|
|
406
|
+
"long_term": priorities["low"]
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
return {
|
|
410
|
+
"overall_score": overall_score,
|
|
411
|
+
"priorities": priorities,
|
|
412
|
+
"timeline": timeline,
|
|
413
|
+
"estimated_duration": (
|
|
414
|
+
f"{len(priorities['high']) + len(priorities['medium']) * 2 + len(priorities['low']) * 3}์ฃผ"
|
|
415
|
+
),
|
|
416
|
+
"success_criteria": {
|
|
417
|
+
"performance_score": 0.9,
|
|
418
|
+
"content_score": 0.9,
|
|
419
|
+
"accessibility_score": 1.0,
|
|
420
|
+
"overall_score": 0.85
|
|
421
|
+
}
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
if __name__ == "__main__":
|
|
426
|
+
# ์ฌ์ฉ์ ๊ฒฝํ ๋ถ์ ์คํ ์์
|
|
427
|
+
analyzer = UserExperienceAnalyzer("https://adk.mo.ai.kr")
|
|
428
|
+
|
|
429
|
+
async def main():
|
|
430
|
+
analysis_report = await analyzer.generate_report()
|
|
431
|
+
|
|
432
|
+
print("=== ์ฌ์ฉ์ ๊ฒฝํ ๋ถ์ ๋ณด๊ณ ์ ===")
|
|
433
|
+
print(f"์ ์ฒด ์ ์: {analysis_report['overall_score']:.2f}")
|
|
434
|
+
print(f"์ฑ๋ฅ ์ ์: {analysis_report['performance'].success_rate:.2f}")
|
|
435
|
+
print(f"๋ค๋น๊ฒ์ด์
์ ์: {analysis_report['navigation'].structure_score:.2f}")
|
|
436
|
+
print(f"์ฝํ
์ธ ์ ์: {analysis_report['content'].accuracy_score:.2f}")
|
|
437
|
+
print(f"์ ๊ทผ์ฑ ์ ์: {1.0 if analysis_report['accessibility'].is_good else 0.0:.2f}")
|
|
438
|
+
|
|
439
|
+
print("\n๊ฐ์ ์ ์:")
|
|
440
|
+
for recommendation in analysis_report['recommendations']:
|
|
441
|
+
print(f"- {recommendation}")
|
|
442
|
+
|
|
443
|
+
# ๊ฐ์ ๊ณํ ์์ฑ
|
|
444
|
+
improvement_plan = generate_improvement_plan(analysis_report)
|
|
445
|
+
print("\n๊ฐ์ ๊ณํ:")
|
|
446
|
+
print(f"์์ ์์ ์๊ฐ: {improvement_plan['estimated_duration']}")
|
|
447
|
+
print(f"์ฆ์ ์คํ: {improvement_plan['timeline']['immediate']}")
|
|
448
|
+
print(f"๋จ๊ธฐ ์คํ: {improvement_plan['timeline']['short_term']}")
|
|
449
|
+
print(f"์ฅ๊ธฐ ์คํ: {improvement_plan['timeline']['long_term']}")
|
|
450
|
+
|
|
451
|
+
asyncio.run(main())
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: moai-adk
|
|
3
|
+
Version: 0.20.1
|
|
4
|
+
Summary: MoAI Agentic Development Kit - SPEC-First TDD with Alfred SuperAgent & Complete Skills v2.0
|
|
5
|
+
Project-URL: Homepage, https://github.com/modu-ai/moai-adk
|
|
6
|
+
Project-URL: Repository, https://github.com/modu-ai/moai-adk
|
|
7
|
+
Project-URL: Issues, https://github.com/modu-ai/moai-adk/issues
|
|
8
|
+
Project-URL: Changelog, https://github.com/modu-ai/moai-adk/releases
|
|
9
|
+
Author-email: MoAI Team <support@moduai.kr>
|
|
10
|
+
License: MIT
|
|
11
|
+
License-File: LICENSE
|
|
12
|
+
Keywords: agentic,ai,alfred,claude,development,spec-first,tdd,toolkit
|
|
13
|
+
Classifier: Development Status :: 4 - Beta
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
16
|
+
Classifier: Programming Language :: Python :: 3
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
19
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
20
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
21
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
22
|
+
Classifier: Topic :: Software Development :: Testing
|
|
23
|
+
Requires-Python: >=3.11
|
|
24
|
+
Requires-Dist: aiohttp>=3.13.2
|
|
25
|
+
Requires-Dist: click>=8.1.0
|
|
26
|
+
Requires-Dist: gitpython>=3.1.45
|
|
27
|
+
Requires-Dist: jinja2>=3.0.0
|
|
28
|
+
Requires-Dist: packaging>=21.0
|
|
29
|
+
Requires-Dist: psutil>=7.1.3
|
|
30
|
+
Requires-Dist: pyfiglet>=1.0.2
|
|
31
|
+
Requires-Dist: pytest-asyncio>=1.2.0
|
|
32
|
+
Requires-Dist: pyyaml>=6.0
|
|
33
|
+
Requires-Dist: questionary>=2.0.0
|
|
34
|
+
Requires-Dist: requests>=2.28.0
|
|
35
|
+
Requires-Dist: rich>=13.0.0
|
|
36
|
+
Provides-Extra: dev
|
|
37
|
+
Requires-Dist: mypy>=1.7.0; extra == 'dev'
|
|
38
|
+
Requires-Dist: pytest-cov>=7.0.0; extra == 'dev'
|
|
39
|
+
Requires-Dist: pytest-xdist>=3.8.0; extra == 'dev'
|
|
40
|
+
Requires-Dist: pytest>=8.4.2; extra == 'dev'
|
|
41
|
+
Requires-Dist: ruff>=0.1.0; extra == 'dev'
|
|
42
|
+
Requires-Dist: types-pyyaml>=6.0.0; extra == 'dev'
|
|
43
|
+
Provides-Extra: security
|
|
44
|
+
Requires-Dist: bandit>=1.8.0; extra == 'security'
|
|
45
|
+
Requires-Dist: pip-audit>=2.7.0; extra == 'security'
|
|
46
|
+
Description-Content-Type: text/markdown
|
|
47
|
+
|
|
48
|
+
# MoAI-ADK (Agentic Development Kit)
|
|
49
|
+
|
|
50
|
+
**SPEC-First TDD with AI SuperAgent & Complete Skills**
|
|
51
|
+
|
|
52
|
+
[](https://pypi.org/project/moai-adk/)
|
|
53
|
+
[](https://opensource.org/licenses/MIT)
|
|
54
|
+
[](https://www.python.org/)
|
|
55
|
+
[](https://github.com/modu-ai/moai-adk/actions/workflows/moai-gitflow.yml)
|
|
56
|
+
[](https://codecov.io/gh/modu-ai/moai-adk)
|
|
57
|
+
[](https://github.com/modu-ai/moai-adk)
|
|
58
|
+
|
|
59
|
+
> **A complete AI-powered development ecosystem that delivers SPEC โ TEST โ CODE โ DOCUMENTATION in perfect sync.**
|
|
60
|
+
|
|
61
|
+
---
|
|
62
|
+
|
|
63
|
+
## ๐ Quick Links
|
|
64
|
+
|
|
65
|
+
- **๐ Comprehensive Documentation**: [https://adk.mo.ai.kr](https://adk.mo.ai.kr)
|
|
66
|
+
- **๐ Quick Start**: [Installation Guide](https://adk.mo.ai.kr/getting-started)
|
|
67
|
+
- **๐ API Reference**: [Commands & Skills](https://adk.mo.ai.kr/api)
|
|
68
|
+
- **๐ก Examples & Tutorials**: [Learn More](https://adk.mo.ai.kr/examples)
|
|
69
|
+
- **๐ Troubleshooting**: [Help Guide](https://adk.mo.ai.kr/troubleshooting)
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## ๐ฏ Core Philosophy
|
|
74
|
+
|
|
75
|
+
**"No code without SPEC, no tests without code, no documentation without implementation"**
|
|
76
|
+
|
|
77
|
+
MoAI-ADK is an open-source framework that revolutionizes AI-powered development with a **SPEC-First TDD** approach. Led by the Alfred SuperAgent and a team of specialized AI agents, MoAI-ADK ensures every piece of code is traceable, tested, and documented.
|
|
78
|
+
|
|
79
|
+
---
|
|
80
|
+
|
|
81
|
+
## Key Features
|
|
82
|
+
|
|
83
|
+
### ๐ฏ SPEC-First Development
|
|
84
|
+
- Clear requirements before implementation
|
|
85
|
+
- EARS format for structured specifications
|
|
86
|
+
- Complete traceability from requirements to code
|
|
87
|
+
|
|
88
|
+
### ๐งช Auto TDD Workflow
|
|
89
|
+
- RED โ GREEN โ REFACTOR automatically
|
|
90
|
+
- 87.84%+ test coverage guaranteed
|
|
91
|
+
- Quality gates with TRUST 5 principles
|
|
92
|
+
|
|
93
|
+
### ๐ท๏ธ @TAG System
|
|
94
|
+
- Complete traceability from requirements to code
|
|
95
|
+
- Automatic impact analysis
|
|
96
|
+
- Orphan detection and chain validation
|
|
97
|
+
|
|
98
|
+
### ๐ค Alfred SuperAgent
|
|
99
|
+
- AI team that remembers your project context
|
|
100
|
+
- 19 specialized agents with 73+ production-ready skills
|
|
101
|
+
- Progressive skill loading for optimal performance
|
|
102
|
+
|
|
103
|
+
### ๐ Living Documentation
|
|
104
|
+
- Auto-synced docs that never drift from code
|
|
105
|
+
- Real-time documentation generation
|
|
106
|
+
- Multi-language support (Python, TypeScript, Go, Rust, etc.)
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
## ๐ Getting Started
|
|
111
|
+
|
|
112
|
+
### Installation
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
# Install using uv (recommended)
|
|
116
|
+
uv install moai-adk
|
|
117
|
+
|
|
118
|
+
# Or using pip
|
|
119
|
+
pip install moai-adk
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
### 5-Minute Quick Start
|
|
123
|
+
|
|
124
|
+
```bash
|
|
125
|
+
# 1. Initialize your project
|
|
126
|
+
moai-adk init my-project
|
|
127
|
+
|
|
128
|
+
# 2. Create a specification
|
|
129
|
+
/alfred:1-plan "user authentication system"
|
|
130
|
+
|
|
131
|
+
# 3. Implement with TDD
|
|
132
|
+
/alfred:2-run AUTH-001
|
|
133
|
+
|
|
134
|
+
# 4. Sync documentation
|
|
135
|
+
/alfred:3-sync
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
---
|
|
139
|
+
|
|
140
|
+
## ๐ฏ The 4-Step Development Workflow
|
|
141
|
+
|
|
142
|
+
MoAI-ADK follows a simple 4-step workflow:
|
|
143
|
+
|
|
144
|
+
1. **`/alfred:0-project`** - Project setup and configuration
|
|
145
|
+
2. **`/alfred:1-plan`** - Create specifications using EARS format
|
|
146
|
+
3. **`/alfred:2-run`** - TDD implementation (RED โ GREEN โ REFACTOR)
|
|
147
|
+
4. **`/alfred:3-sync`** - Synchronize documentation and validate
|
|
148
|
+
|
|
149
|
+
---
|
|
150
|
+
|
|
151
|
+
## The @TAG System
|
|
152
|
+
|
|
153
|
+
Every artifact in your project gets a unique `@TAG` identifier:
|
|
154
|
+
|
|
155
|
+
```
|
|
156
|
+
@SPEC:AUTH-001 (Requirements)
|
|
157
|
+
โ
|
|
158
|
+
@TEST:AUTH-001 (Tests)
|
|
159
|
+
โ
|
|
160
|
+
@CODE:AUTH-001:SERVICE (Implementation)
|
|
161
|
+
โ
|
|
162
|
+
@DOC:AUTH-001 (Documentation)
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
This creates complete traceability, allowing you to:
|
|
166
|
+
- Find all code affected by requirement changes
|
|
167
|
+
- Ensure no orphaned code or missing tests
|
|
168
|
+
- Navigate between related artifacts instantly
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
## ๐๏ธ Core Architecture
|
|
173
|
+
|
|
174
|
+
### Alfred SuperAgent
|
|
175
|
+
The orchestrator that manages 19 specialized agents and 73+ skills, ensuring consistent, high-quality development.
|
|
176
|
+
|
|
177
|
+
### Specialized Agents
|
|
178
|
+
- **spec-builder**: Creates detailed specifications
|
|
179
|
+
- **code-builder**: Implements TDD workflows
|
|
180
|
+
- **test-engineer**: Ensures comprehensive testing
|
|
181
|
+
- **git-manager**: Handles version control workflows
|
|
182
|
+
- **doc-syncer**: Manages documentation synchronization
|
|
183
|
+
- And 15+ domain-specific experts
|
|
184
|
+
|
|
185
|
+
### Claude Skills
|
|
186
|
+
73+ specialized capabilities that provide:
|
|
187
|
+
- Domain expertise (UI/UX, backend, security)
|
|
188
|
+
- Technical skills (testing, documentation, deployment)
|
|
189
|
+
- Quality assurance (linting, validation, compliance)
|
|
190
|
+
- Language-specific support (Python, TypeScript, Go, Rust, etc.)
|
|
191
|
+
|
|
192
|
+
---
|
|
193
|
+
|
|
194
|
+
## ๐ Why MoAI-ADK?
|
|
195
|
+
|
|
196
|
+
### Traditional AI Development Problems
|
|
197
|
+
- โ Unclear requirements leading to wrong implementations
|
|
198
|
+
- โ Missing tests causing production bugs
|
|
199
|
+
- โ Documentation drifting from code
|
|
200
|
+
- โ Lost context and repeated explanations
|
|
201
|
+
- โ Impossible impact analysis
|
|
202
|
+
|
|
203
|
+
### MoAI-ADK Solutions
|
|
204
|
+
- โ
**Clear SPECs** before any code is written
|
|
205
|
+
- โ
**85%+ test coverage** guaranteed through TDD
|
|
206
|
+
- โ
**Auto-synced documentation** that never drifts
|
|
207
|
+
- โ
**Persistent context** remembered by Alfred
|
|
208
|
+
- โ
**Instant impact analysis** with @TAG system
|
|
209
|
+
|
|
210
|
+
---
|
|
211
|
+
|
|
212
|
+
## ๐ Community & Support
|
|
213
|
+
|
|
214
|
+
| Resource | Description |
|
|
215
|
+
|----------|-------------|
|
|
216
|
+
| **๐ Online Documentation** | [https://adk.mo.ai.kr](https://adk.mo.ai.kr) - Comprehensive guides and tutorials |
|
|
217
|
+
| **๐ GitHub Repository** | [https://github.com/modu-ai/moai-adk](https://github.com/modu-ai/moai-adk) - Source code and issues |
|
|
218
|
+
| **๐ Issues & Discussions** | [https://github.com/modu-ai/moai-adk/issues](https://github.com/modu-ai/moai-adk/issues) - Bug reports and feature requests |
|
|
219
|
+
| **๐ฆ PyPI Package** | [https://pypi.org/project/moai-adk/](https://pypi.org/project/moai-adk/) - Installation |
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
## ๐ License
|
|
224
|
+
|
|
225
|
+
MIT License - see [LICENSE](LICENSE) file for details.
|
|
226
|
+
|
|
227
|
+
---
|
|
228
|
+
|
|
229
|
+
**MoAI-ADK** โ SPEC-First TDD with AI SuperAgent
|
|
230
|
+
|
|
231
|
+
> Build trustworthy AI-powered software with complete traceability, guaranteed testing, and living documentation.
|
|
232
|
+
|
|
233
|
+
> **๐ Get started now: `uv install moai-adk` and explore [https://adk.mo.ai.kr](https://adk.mo.ai.kr)**
|