antigravity-ide 4.2.1 → 4.3.3
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.
- package/.agent/.shared/{design-philosophy → core/design-philosophy}/README.md +12 -1
- package/.agent/.shared/{ai-master → technical/ai-master}/README.md +12 -1
- package/.agent/.shared/{api-standards → technical/api-standards}/README.md +12 -1
- package/.agent/.shared/{database-master → technical/database-master}/README.md +12 -2
- package/.agent/.shared/{seo-master → technical/seo-master}/README.md +12 -1
- package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/README.md +12 -1
- package/.agent/ARCHITECTURE.md +16 -10
- package/.agent/ARCHITECTURE.vi.md +8 -8
- package/{GEMINI.md → .agent/GEMINI.md} +4 -5
- package/.agent/RESOURCES.md +6 -1
- package/.agent/agents/backend-specialist.md +154 -19
- package/.agent/agents/browser-subagent.md +45 -0
- package/.agent/agents/cloud-architect.md +108 -189
- package/.agent/agents/debugger.md +83 -182
- package/.agent/agents/documentation-writer.md +125 -72
- package/.agent/agents/frontend-specialist.md +40 -7
- package/.agent/agents/game-developer.md +111 -116
- package/.agent/agents/mobile-developer.md +108 -321
- package/.agent/agents/orchestrator.md +106 -366
- package/.agent/agents/performance-optimizer.md +105 -136
- package/.agent/agents/project-planner.md +132 -39
- package/.agent/agents/quality-inspector.md +136 -32
- package/.agent/agents/security-auditor.md +138 -15
- package/.agent/agents/seo-specialist.md +118 -72
- package/.agent/agents/test-engineer.md +142 -11
- package/.agent/brain/task.md +16 -0
- package/.agent/rules/GEMINI.md +63 -31
- package/.agent/rules/code-quality.md +34 -3
- package/.agent/rules/frontend.md +3 -3
- package/.agent/rules/strict-protocol.md +44 -3
- package/.agent/rules/system-update.md +56 -3
- package/.agent/skills/agent-backend-patterns/SKILL.md +16 -3
- package/.agent/skills/ai-engineer/SKILL.md +29 -16
- package/.agent/skills/api-documenter/SKILL.md +4 -4
- package/.agent/skills/app-builder/SKILL.md +1 -1
- package/.agent/skills/app-builder/tech-stack.md +2 -2
- package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +39 -79
- package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +53 -75
- package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +56 -119
- package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +61 -94
- package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +56 -82
- package/.agent/skills/brand-guidelines-anthropic/LICENSE.txt +202 -0
- package/.agent/skills/brand-guidelines-anthropic/SKILL.md +26 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/color-application.md +5 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/colors.md +14 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/font-management.md +6 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/shape-and-accent-colors.md +7 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/smart-font-application.md +6 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/text-styling.md +6 -0
- package/.agent/skills/brand-guidelines-anthropic/sub-skills/typography.md +7 -0
- package/.agent/skills/cloud-architect-master/SKILL.md +9 -4
- package/.agent/skills/cro-expert-kit/SKILL.md +9 -4
- package/.agent/skills/database-migration/SKILL.md +9 -3
- package/.agent/skills/deployment-engineer/SKILL.md +9 -3
- package/.agent/skills/frontend-design/ux-psychology.md +10 -585
- package/.agent/skills/full-stack-scaffold/SKILL.md +4 -4
- package/.agent/skills/game-development/2d-games/SKILL.md +4 -2
- package/.agent/skills/game-development/3d-games/SKILL.md +4 -2
- package/.agent/skills/game-development/SKILL.md +18 -149
- package/.agent/skills/game-development/game-art/SKILL.md +4 -2
- package/.agent/skills/game-development/game-audio/SKILL.md +4 -2
- package/.agent/skills/game-development/game-design/SKILL.md +4 -2
- package/.agent/skills/game-development/mobile-games/SKILL.md +4 -2
- package/.agent/skills/game-development/multiplayer/SKILL.md +4 -2
- package/.agent/skills/game-development/pc-games/SKILL.md +4 -2
- package/.agent/skills/game-development/vr-ar/SKILL.md +4 -2
- package/.agent/skills/game-development/web-games/SKILL.md +4 -2
- package/.agent/skills/geo-fundamentals/SKILL.md +9 -136
- package/.agent/skills/git-collaboration-master/SKILL.md +9 -4
- package/.agent/skills/i18n-localization/SKILL.md +10 -118
- package/.agent/skills/incident-responder/SKILL.md +9 -6
- package/.agent/skills/internal-comms-anthropic/LICENSE.txt +202 -0
- package/.agent/skills/internal-comms-anthropic/SKILL.md +33 -0
- package/.agent/skills/internal-comms-anthropic/examples/3p-updates.md +47 -0
- package/.agent/skills/internal-comms-anthropic/examples/company-newsletter.md +65 -0
- package/.agent/skills/internal-comms-anthropic/examples/faq-answers.md +30 -0
- package/.agent/skills/internal-comms-anthropic/examples/general-comms.md +16 -0
- package/.agent/skills/last30days/tests/__init__.py +1 -0
- package/.agent/skills/last30days/tests/test_cache.py +59 -0
- package/.agent/skills/last30days/tests/test_dates.py +114 -0
- package/.agent/skills/last30days/tests/test_dedupe.py +111 -0
- package/.agent/skills/last30days/tests/test_models.py +135 -0
- package/.agent/skills/last30days/tests/test_normalize.py +138 -0
- package/.agent/skills/last30days/tests/test_render.py +116 -0
- package/.agent/skills/last30days/tests/test_score.py +168 -0
- package/.agent/skills/legacy-modernizer/SKILL.md +9 -4
- package/.agent/skills/lint-and-validate/scripts/lint_runner.py +2 -14
- package/.agent/skills/loki-mode/.github/workflows/claude-code-review.yml +57 -0
- package/.agent/skills/loki-mode/.github/workflows/claude.yml +50 -0
- package/.agent/skills/loki-mode/.github/workflows/release.yml +128 -0
- package/.agent/skills/loki-mode/tests/run-all-tests.sh +78 -0
- package/.agent/skills/loki-mode/tests/test-agent-timeout.sh +348 -0
- package/.agent/skills/loki-mode/tests/test-bootstrap.sh +196 -0
- package/.agent/skills/loki-mode/tests/test-circuit-breaker.sh +389 -0
- package/.agent/skills/loki-mode/tests/test-state-recovery.sh +393 -0
- package/.agent/skills/loki-mode/tests/test-task-queue.sh +396 -0
- package/.agent/skills/loki-mode/tests/test-wrapper.sh +314 -0
- package/.agent/skills/mcp-builder/SKILL.md +21 -164
- package/.agent/skills/mobile-design/SKILL.md +21 -369
- package/.agent/skills/mobile-design/mobile-performance.md +1 -1
- package/.agent/skills/modern-web-architect/SKILL.md +12 -6
- package/.agent/skills/nextjs-react-expert/scripts/convert_rules.py +1 -1
- package/.agent/skills/penetration-tester-master/SKILL.md +9 -4
- package/.agent/skills/performance-engineer/SKILL.md +4 -5
- package/.agent/skills/production-code-audit/SKILL.md +6 -0
- package/.agent/skills/rust-pro/SKILL.md +0 -177
- package/.agent/skills/security-auditor/SKILL.md +35 -27
- package/.agent/skills/seo-expert-kit/SKILL.md +9 -4
- package/.agent/skills/shopify-development/scripts/tests/test_shopify_init.py +379 -0
- package/.agent/skills/tdd-master-workflow/SKILL.md +9 -3
- package/.agent/workflows/audit.md +30 -16
- package/.agent/workflows/brainstorm.md +33 -96
- package/.agent/workflows/create.md +37 -45
- package/.agent/workflows/debug.md +45 -84
- package/.agent/workflows/deploy.md +33 -158
- package/.agent/workflows/document.md +38 -15
- package/.agent/workflows/enhance.md +33 -48
- package/.agent/workflows/monitor.md +35 -14
- package/.agent/workflows/orchestrate.md +33 -218
- package/.agent/workflows/plan.md +39 -70
- package/.agent/workflows/security.md +35 -14
- package/.agent/workflows/seo.md +39 -16
- package/.agent/workflows/status.md +33 -72
- package/.agent/workflows/test.md +30 -127
- package/.agent/workflows/ui-ux-pro-max.md +24 -283
- package/LICENSE +22 -8
- package/README.md +105 -72
- package/README.vi.md +93 -110
- package/cli/create.js +275 -413
- package/cli/index.js +36 -24
- package/cli/lib/auto-update.js +14 -21
- package/cli/logic/product-skills.js +58 -0
- package/cli/logic/skill-definitions.js +0 -39
- package/cli/prompts.js +151 -145
- package/cli/skills/browser-subagent-core/SKILL.md +22 -0
- package/cli/tools/browser.js +75 -0
- package/cli/ui/dashboard.js +48 -0
- package/docs/AGENTS_GUIDE.vi.md +39 -45
- package/docs/CONTRIBUTING.vi.md +12 -3
- package/docs/{GEMINI_GUIDE.md → GEMINI_USAGE.md} +6 -6
- package/docs/GLOSSARY.vi.md +49 -30
- package/docs/HOW_ANTIGRAVITY_THINKS.vi.md +1 -1
- package/docs/OPERATIONAL_FLOW.vi.md +15 -0
- package/docs/{PUBLISHING.md → PUBLISHING_GUIDE.md} +31 -3
- package/docs/RULES_GUIDE.vi.md +67 -31
- package/docs/SHARED_LIBRARY_GUIDE.vi.md +18 -22
- package/docs/SKILLS_GUIDE.vi.md +119 -32
- package/docs/TROUBLESHOOTING.vi.md +10 -2
- package/docs/WORKFLOW_GUIDE.vi.md +57 -9
- package/package.json +32 -8
- package/setup.js +147 -114
- package/.agent/.shared/compliance/README.md +0 -19
- package/.agent/.shared/design-system/README.md +0 -18
- package/.agent/.shared/domain-blueprints/README.md +0 -18
- package/.agent/.shared/dx-toolkit/README.md +0 -19
- package/.agent/.shared/i18n-master/README.md +0 -18
- package/.agent/.shared/infra-blueprints/README.md +0 -18
- package/.agent/.shared/metrics/README.md +0 -17
- package/.agent/.shared/resilience-patterns/README.md +0 -19
- package/.agent/.shared/security-armor/README.md +0 -25
- package/.agent/.shared/testing-master/README.md +0 -20
- package/.agent/.shared/vitals-templates/README.md +0 -18
- package/.agent/agents/accessibility-expert.md +0 -22
- package/.agent/agents/api-architect.md +0 -22
- package/.agent/agents/backend-specialist.eco.md +0 -19
- package/.agent/agents/backend-specialist.instant.md +0 -19
- package/.agent/agents/codebase-expert.md +0 -23
- package/.agent/agents/compliance-expert.md +0 -22
- package/.agent/agents/data-scientist.md +0 -22
- package/.agent/agents/debugger.eco.md +0 -20
- package/.agent/agents/debugger.instant.md +0 -20
- package/.agent/agents/deep-thinker.ultra.md +0 -23
- package/.agent/agents/devex-optimizer.md +0 -22
- package/.agent/agents/devops-architect.md +0 -22
- package/.agent/agents/frontend-specialist.eco.md +0 -19
- package/.agent/agents/frontend-specialist.instant.md +0 -19
- package/.agent/agents/growth-engineer.md +0 -22
- package/.agent/agents/i18n-specialist.md +0 -21
- package/.agent/agents/legacy-modernizer.md +0 -22
- package/.agent/agents/microservices-specialist.md +0 -22
- package/.agent/agents/motion-designer.md +0 -22
- package/.agent/agents/orchestrator.creative.md +0 -28
- package/.agent/agents/orchestrator.eco.md +0 -29
- package/.agent/agents/orchestrator.instant.md +0 -29
- package/.agent/agents/orchestrator.ultra.md +0 -28
- package/.agent/agents/performance-benchmarker.md +0 -22
- package/.agent/agents/project-planner.eco.md +0 -19
- package/.agent/agents/project-planner.instant.md +0 -19
- package/.agent/agents/security-pentester.md +0 -22
- package/.agent/agents/serverless-expert.md +0 -22
- package/.agent/fastcode_index.json +0 -1038
- package/.agent/mcp_config.json +0 -24
- package/.agent/rules/GEMINI.eco.md +0 -37
- package/.agent/rules/GEMINI.instant.md +0 -37
- package/.agent/rules/api-spec.md +0 -28
- package/.agent/rules/database.md +0 -24
- package/.agent/rules/devops.md +0 -23
- package/.agent/rules/growth-strategy.md +0 -22
- package/.agent/rules/logging-monitoring.md +0 -22
- package/.agent/rules/quality-assurance.md +0 -22
- package/.agent/rules/system-reasoning.md +0 -20
- package/.agent/rules/ui-design.md +0 -23
- package/.agent/rules/ux-patterns.md +0 -23
- package/.agent/scripts/auto_preview.py +0 -148
- package/.agent/scripts/checklist.py +0 -252
- package/.agent/scripts/session_manager.py +0 -120
- package/.agent/scripts/simulation_install.js +0 -59
- package/.agent/scripts/sync_to_global.py +0 -78
- package/.agent/scripts/translate_workflows.py +0 -53
- package/.agent/scripts/verify_all.py +0 -327
- package/.agent/scripts/verify_shared_modules.js +0 -126
- package/.agent/skills/fastcode-search/SKILL.md +0 -46
- package/.agent/skills/fastcode-search/fastcode_config.example.json +0 -17
- package/.agent/skills/frontend-trends-2026/SKILL.md +0 -78
- package/.agent/skills/frontend-trends-2026/formulas/BentoGrid.tsx +0 -42
- package/.agent/skills/frontend-trends-2026/formulas/LiquidCard.tsx +0 -32
- package/.agent/skills/frontend-trends-2026/formulas/NeoButton.tsx +0 -27
- package/.agent/workflows/deep-security-audit.md +0 -9
- package/.agent/workflows/growth-max.md +0 -9
- package/.agent/workflows/performance-max.md +0 -9
- package/.editorconfig +0 -21
- package/.gitattributes +0 -7
- package/CHANGELOG.md +0 -32
- package/ERRORS.md +0 -67
- package/action.yml +0 -32
- package/antigravity-ide-logo.png +0 -0
- package/antigravity-ide-logo.svg +0 -24
- package/assets/skills-bundle.json +0 -1
- package/cli/manifest.js +0 -524
- package/cli/skills/fastcode.js +0 -181
- package/docs/AGENT_FLOW.md +0 -608
- package/docs/CONTRIBUTING.md +0 -46
- package/docs/COPYRIGHT.md +0 -57
- package/docs/DEPLOYMENT.md +0 -77
- package/docs/GLOSSARY.md +0 -109
- package/docs/MASTER_GUIDE.md +0 -103
- package/docs/OPERATIONAL_FLOW.md +0 -147
- package/docs/PLAN-upgrade-core-architecture.md +0 -71
- package/docs/SKILLS.md +0 -610
- package/docs/TROUBLESHOOTING.md +0 -43
- package/jest.config.js +0 -8
- package/scripts/bump.js +0 -93
- package/scripts/bundle-skills.js +0 -59
- package/scripts/internal/automation/auto-release.js +0 -177
- package/scripts/internal/fractalize-skills.js +0 -89
- package/scripts/internal/generate-skill-definitions.js +0 -134
- package/scripts/internal/internal/update-docs.js +0 -115
- package/scripts/internal/refactor-skill-content.js +0 -127
- package/scripts/internal/rename-skills.js +0 -96
- package/scripts/internal/sync-skills.js +0 -112
- package/scripts/internal/update-frontmatter-names.js +0 -99
- package/scripts/internal/verification/audit-dna.js +0 -56
- package/scripts/internal/verification/audit-skills.js +0 -65
- package/web/src/app/docs/guide/examples/brainstorm/page.mdx +0 -91
- package/web/src/app/docs/guide/examples/create/page.mdx +0 -84
- package/web/src/app/docs/guide/examples/debugging/page.mdx +0 -83
- package/web/src/app/docs/guide/examples/deployment/page.mdx +0 -93
- package/web/src/app/docs/guide/examples/new-feature/page.mdx +0 -102
- package/web/src/app/docs/guide/examples/orchestration/page.mdx +0 -99
- package/web/src/app/docs/guide/examples/plan/page.mdx +0 -76
- package/web/src/app/docs/guide/examples/preview/page.mdx +0 -77
- package/web/src/app/docs/guide/examples/status/page.mdx +0 -78
- package/web/src/app/docs/guide/examples/test/page.mdx +0 -80
- package/web/src/app/docs/guide/examples/ui-design/page.mdx +0 -90
- package/web/src/components/mdx/Callout.tsx +0 -60
- package/web/src/components/mdx/FeatureGrid.tsx +0 -38
- package/web/src/components/mdx/ProTips.tsx +0 -29
- package/web/src/components/mdx/StepList.tsx +0 -33
- package/web/src/components/mdx/Terminal.tsx +0 -58
- package/web/src/components/mdx/index.ts +0 -5
- package/web/src/mdx-components.tsx +0 -98
- /package/.agent/.shared/{design-philosophy → core/design-philosophy}/MANIFESTO.md +0 -0
- /package/.agent/.shared/{design-philosophy → core/design-philosophy}/checklists/tactile_audit.md +0 -0
- /package/.agent/.shared/{design-philosophy → core/design-philosophy}/checklists/visual_audit.md +0 -0
- /package/.agent/.shared/{design-philosophy → core/design-philosophy}/presets/linear_glow.json +0 -0
- /package/.agent/.shared/{dx-toolkit → core/dx-toolkit}/checklists/code_review.md +0 -0
- /package/.agent/.shared/{dx-toolkit → core/dx-toolkit}/presets/vscode_settings.json +0 -0
- /package/.agent/.shared/{metrics → core/metrics}/benchmarks.json +0 -0
- /package/.agent/.shared/{vitals-templates → core/vitals-templates}/audit_report.md +0 -0
- /package/.agent/.shared/{vitals-templates → core/vitals-templates}/plan_prd.md +0 -0
- /package/.agent/.shared/{ai-master → technical/ai-master}/best_patterns.md +0 -0
- /package/.agent/.shared/{ai-master → technical/ai-master}/checklists/prompt_audit.md +0 -0
- /package/.agent/.shared/{ai-master → technical/ai-master}/presets/model_configs.json +0 -0
- /package/.agent/.shared/{api-standards → technical/api-standards}/data +0 -0
- /package/.agent/.shared/{api-standards → technical/api-standards}/endpoints_naming.md +0 -0
- /package/.agent/.shared/{api-standards → technical/api-standards}/error_codes.csv +0 -0
- /package/.agent/.shared/{api-standards → technical/api-standards}/pagination_sorting.md +0 -0
- /package/.agent/.shared/{api-standards → technical/api-standards}/response_format.json +0 -0
- /package/.agent/.shared/{database-master → technical/database-master}/schemas/auth_rbac.sql +0 -0
- /package/.agent/.shared/{database-master → technical/database-master}/schemas/cms.sql +0 -0
- /package/.agent/.shared/{database-master → technical/database-master}/schemas/ecommerce.sql +0 -0
- /package/.agent/.shared/{design-system → technical/design-system}/brand_presets.json +0 -0
- /package/.agent/.shared/{design-system → technical/design-system}/micro_interactions.md +0 -0
- /package/.agent/.shared/{i18n-master → technical/i18n-master}/vi_tech_dictionary.csv +0 -0
- /package/.agent/.shared/{i18n-master → technical/i18n-master}/workflows.json +0 -0
- /package/.agent/.shared/{resilience-patterns → technical/resilience-patterns}/checklists/chaos_engineering.md +0 -0
- /package/.agent/.shared/{resilience-patterns → technical/resilience-patterns}/presets/circuit_breaker.json +0 -0
- /package/.agent/.shared/{security-armor → technical/security-armor}/checklists/vuln_scan.md +0 -0
- /package/.agent/.shared/{security-armor → technical/security-armor}/hardening.md +0 -0
- /package/.agent/.shared/{security-armor → technical/security-armor}/presets/helmet_config.json +0 -0
- /package/.agent/.shared/{seo-master → technical/seo-master}/checklists/technical_seo.md +0 -0
- /package/.agent/.shared/{seo-master → technical/seo-master}/presets/json_ld_schema.json +0 -0
- /package/.agent/.shared/{testing-master → technical/testing-master}/checklists/pre_release.md +0 -0
- /package/.agent/.shared/{testing-master → technical/testing-master}/scenarios.md +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/colors.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/icons.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/landing.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/products.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/react-performance.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/flutter.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/html-tailwind.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/jetpack-compose.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/nextjs.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/nuxt-ui.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/nuxtjs.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/react-native.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/react.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/shadcn.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/svelte.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/swiftui.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/vue.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/ux-guidelines.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/web-interface.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/__pycache__/core.cpython-313.pyc +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/core.py +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/design_system.py +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/search.py +0 -0
- /package/.agent/.shared/{compliance → verticals/compliance}/legal_templates.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/edtech.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/fintech.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/fnb_restaurant.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/freelance_marketplace.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/healthcare.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/hospitality_tourism.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/logistics.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/marketing_automation.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/personal_branding.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/real_estate.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/retail_ecommerce.md +0 -0
- /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/standard-pro-agents.md +0 -0
- /package/.agent/.shared/{infra-blueprints → verticals/infra-blueprints}/deployment_specs.md +0 -0
- /package/.agent/skills/ai-engineer/{resources → sub-skills}/ai_infra_stack.md +0 -0
- /package/.agent/skills/cloud-architect-master/{resources → sub-skills}/cost_optimization_checklist.md +0 -0
- /package/.agent/skills/cro-expert-kit/{resources → sub-skills}/psychological_triggers.md +0 -0
- /package/.agent/skills/database-migration/{resources → sub-skills}/zero_downtime_strategy.md +0 -0
- /package/.agent/skills/deployment-engineer/{resources → sub-skills}/k8s_best_practices.md +0 -0
- /package/.agent/skills/git-collaboration-master/{resources → sub-skills}/pr_template.md +0 -0
- /package/.agent/skills/incident-responder/{resources → sub-skills}/incident_severity_levels.md +0 -0
- /package/.agent/skills/legacy-modernizer/{resources → sub-skills}/strangler_fig_pattern.md +0 -0
- /package/.agent/skills/penetration-tester-master/{resources → sub-skills}/owasp_top_10_2025.md +0 -0
- /package/.agent/skills/production-code-audit/{resources → sub-skills}/solid_principles_cheat_sheet.md +0 -0
- /package/.agent/skills/seo-expert-kit/{resources → sub-skills}/technical_seo_checklist.md +0 -0
- /package/.agent/skills/tdd-master-workflow/{resources → sub-skills}/unit_test_naming_convention.md +0 -0
- /package/.agent/{.shared → skills}/ui-ux-pro-max/data/charts.csv +0 -0
- /package/.agent/{.shared → skills}/ui-ux-pro-max/data/prompts.csv +0 -0
- /package/.agent/{.shared → skills}/ui-ux-pro-max/data/styles.csv +0 -0
- /package/.agent/{.shared → skills}/ui-ux-pro-max/data/typography.csv +0 -0
- /package/.agent/{.shared → skills}/ui-ux-pro-max/data/ui-reasoning.csv +0 -0
package/.agent/workflows/test.md
CHANGED
|
@@ -1,144 +1,47 @@
|
|
|
1
1
|
---
|
|
2
|
-
description: Sợ bug khi sửa code? Viết test tự động.
|
|
2
|
+
description: Sợ bug khi sửa code? Viết test tự động theo chuẩn TDD Master.
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
-
# /test -
|
|
5
|
+
# /test - TDD & Verification Suite
|
|
6
6
|
|
|
7
7
|
$ARGUMENTS
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
|
-
##
|
|
11
|
+
## 🟢 PHASE 1: Code Analysis & Edge Case Mapping
|
|
12
|
+
**Agent**: `test-engineer`
|
|
13
|
+
**Mission**: Map the "Search Space" of potential bugs.
|
|
14
|
+
- **Action**: Identify all public functions, API routes, and logic branches.
|
|
15
|
+
- **Discovery**: Generate a "Gherkin" style list of test scenarios (Given/When/Then).
|
|
12
16
|
|
|
13
|
-
|
|
17
|
+
## 🟡 PHASE 2: Test Architecture & Mocking
|
|
18
|
+
**Agent**: `test-engineer`
|
|
19
|
+
**Mission**: Build the testing base.
|
|
20
|
+
- **Action**: Configure mocks for DB, External APIs, and system clock.
|
|
21
|
+
- **Artifact**: Write a Test Plan in the `implementation_plan.md`.
|
|
14
22
|
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/test - Run all tests
|
|
21
|
-
/test [file/feature] - Generate tests for specific target
|
|
22
|
-
/test coverage - Show test coverage report
|
|
23
|
-
/test watch - Run tests in watch mode
|
|
24
|
-
```
|
|
25
|
-
|
|
26
|
-
---
|
|
27
|
-
|
|
28
|
-
## Behavior
|
|
29
|
-
|
|
30
|
-
### Generate Tests
|
|
31
|
-
|
|
32
|
-
When asked to test a file or feature:
|
|
33
|
-
|
|
34
|
-
1. **Analyze the code**
|
|
35
|
-
- Identify functions and methods
|
|
36
|
-
- Find edge cases
|
|
37
|
-
- Detect dependencies to mock
|
|
23
|
+
## 🔵 PHASE 3: Execution (The RED-GREEN Loop)
|
|
24
|
+
**Agent**: `qa-automation-engineer`
|
|
25
|
+
**Mission**: Automate the verification.
|
|
26
|
+
- **Action**: Write and run unit, integration, and E2E tests.
|
|
27
|
+
- **Audit**: Every test must fail at least once (verify the test is valid).
|
|
38
28
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
3. **Write tests**
|
|
46
|
-
- Use project's test framework (Jest, Vitest, etc.)
|
|
47
|
-
- Follow existing test patterns
|
|
48
|
-
- Mock external dependencies
|
|
29
|
+
## 🔴 PHASE 4: Coverage & Quality Sign-off
|
|
30
|
+
**Agent**: `quality-inspector`
|
|
31
|
+
**Mission**: Verify the safety net.
|
|
32
|
+
- **Action**: Check code coverage metrics.
|
|
33
|
+
- **Artifact**: Report Pass/Fail stats in the final `walkthrough.md`.
|
|
49
34
|
|
|
50
35
|
---
|
|
51
36
|
|
|
52
|
-
##
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
```markdown
|
|
57
|
-
## 🧪 Tests: [Target]
|
|
58
|
-
|
|
59
|
-
### Test Plan
|
|
60
|
-
| Test Case | Type | Coverage |
|
|
61
|
-
|-----------|------|----------|
|
|
62
|
-
| Should create user | Unit | Happy path |
|
|
63
|
-
| Should reject invalid email | Unit | Validation |
|
|
64
|
-
| Should handle db error | Unit | Error case |
|
|
65
|
-
|
|
66
|
-
### Generated Tests
|
|
67
|
-
|
|
68
|
-
`tests/[file].test.ts`
|
|
69
|
-
|
|
70
|
-
[Code block with tests]
|
|
37
|
+
## Patterns of Excellence:
|
|
38
|
+
- **One Assertion**: Each test tests one thing.
|
|
39
|
+
- **Fast Feedback**: Unit tests should run in <1s.
|
|
40
|
+
- **Hermeticity**: Tests must not share state or depend on network.
|
|
71
41
|
|
|
72
42
|
---
|
|
73
43
|
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
```
|
|
80
|
-
🧪 Running tests...
|
|
81
|
-
|
|
82
|
-
✅ auth.test.ts (5 passed)
|
|
83
|
-
✅ user.test.ts (8 passed)
|
|
84
|
-
❌ order.test.ts (2 passed, 1 failed)
|
|
85
|
-
|
|
86
|
-
Failed:
|
|
87
|
-
✗ should calculate total with discount
|
|
88
|
-
Expected: 90
|
|
89
|
-
Received: 100
|
|
90
|
-
|
|
91
|
-
Total: 15 tests (14 passed, 1 failed)
|
|
92
|
-
```
|
|
93
|
-
|
|
94
|
-
---
|
|
95
|
-
|
|
96
|
-
## Examples
|
|
97
|
-
|
|
98
|
-
```
|
|
99
|
-
/test src/services/auth.service.ts
|
|
100
|
-
/test user registration flow
|
|
101
|
-
/test coverage
|
|
102
|
-
/test fix failed tests
|
|
103
|
-
```
|
|
104
|
-
|
|
105
|
-
---
|
|
106
|
-
|
|
107
|
-
## Test Patterns
|
|
108
|
-
|
|
109
|
-
### Unit Test Structure
|
|
110
|
-
|
|
111
|
-
```typescript
|
|
112
|
-
describe('AuthService', () => {
|
|
113
|
-
describe('login', () => {
|
|
114
|
-
it('should return token for valid credentials', async () => {
|
|
115
|
-
// Arrange
|
|
116
|
-
const credentials = { email: 'test@test.com', password: 'pass123' };
|
|
117
|
-
|
|
118
|
-
// Act
|
|
119
|
-
const result = await authService.login(credentials);
|
|
120
|
-
|
|
121
|
-
// Assert
|
|
122
|
-
expect(result.token).toBeDefined();
|
|
123
|
-
});
|
|
124
|
-
|
|
125
|
-
it('should throw for invalid password', async () => {
|
|
126
|
-
// Arrange
|
|
127
|
-
const credentials = { email: 'test@test.com', password: 'wrong' };
|
|
128
|
-
|
|
129
|
-
// Act & Assert
|
|
130
|
-
await expect(authService.login(credentials)).rejects.toThrow('Invalid credentials');
|
|
131
|
-
});
|
|
132
|
-
});
|
|
133
|
-
});
|
|
134
|
-
```
|
|
135
|
-
|
|
136
|
-
---
|
|
137
|
-
|
|
138
|
-
## Key Principles
|
|
139
|
-
|
|
140
|
-
- **Test behavior not implementation**
|
|
141
|
-
- **One assertion per test** (when practical)
|
|
142
|
-
- **Descriptive test names**
|
|
143
|
-
- **Arrange-Act-Assert pattern**
|
|
144
|
-
- **Mock external dependencies**
|
|
44
|
+
## Examples:
|
|
45
|
+
- `/test auth service`
|
|
46
|
+
- `/test coverage src/utils`
|
|
47
|
+
- `/test fix failed tests`
|
|
@@ -1,293 +1,34 @@
|
|
|
1
1
|
---
|
|
2
|
-
description:
|
|
2
|
+
description: Thiết kế giao diện Visuals Premium với phong cách hiện đại
|
|
3
3
|
---
|
|
4
4
|
|
|
5
|
+
# /ui-ux-pro-max - Premium UI Generator
|
|
5
6
|
|
|
6
|
-
|
|
7
|
+
> **Chế độ**: Premium Visuals (Modern Aesthetic)
|
|
8
|
+
> **Yêu cầu BẮT BUỘC**: Clean, Minimalist, High Contrast.
|
|
7
9
|
|
|
8
|
-
|
|
10
|
+
## 🎨 Design Standard
|
|
9
11
|
|
|
10
|
-
|
|
12
|
+
Mọi giao diện được tạo bởi workflow này phải tuân thủ chuẩn "Pro Max":
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
1. **Typography**:
|
|
15
|
+
- Sử dụng Font phương tây hiện đại (Inter, Roboto, Poppins).
|
|
16
|
+
- Heading đậm, Body thanh thoát.
|
|
17
|
+
2. **Color Palette**:
|
|
18
|
+
- Sử dụng màu Gradient tinh tế.
|
|
19
|
+
- Tránh màu quá chói (Neon) trừ khi là điểm nhấn (Accent).
|
|
20
|
+
3. **Layout**:
|
|
21
|
+
- Sử dụng Grid/Flexbox chuẩn.
|
|
22
|
+
- Whitespace rộng rãi (Breathable design).
|
|
23
|
+
4. **Micro-interactions**:
|
|
24
|
+
- Hover effects mượt mà (transition: 0.3s).
|
|
25
|
+
- Button có active state rõ ràng.
|
|
13
26
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
**macOS:**
|
|
21
|
-
```bash
|
|
22
|
-
brew install python3
|
|
23
|
-
```
|
|
24
|
-
|
|
25
|
-
**Ubuntu/Debian:**
|
|
26
|
-
```bash
|
|
27
|
-
sudo apt update && sudo apt install python3
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
**Windows:**
|
|
31
|
-
```powershell
|
|
32
|
-
winget install Python.Python.3.12
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
---
|
|
36
|
-
|
|
37
|
-
## How to Use This Workflow
|
|
38
|
-
|
|
39
|
-
When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
|
|
40
|
-
|
|
41
|
-
### Step 1: Analyze User Requirements
|
|
42
|
-
|
|
43
|
-
Extract key information from user request:
|
|
44
|
-
- **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
|
|
45
|
-
- **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
|
|
46
|
-
- **Industry**: healthcare, fintech, gaming, education, etc.
|
|
47
|
-
- **Stack**: React, Vue, Next.js, or default to `html-tailwind`
|
|
48
|
-
|
|
49
|
-
### Step 2: Generate Design System (REQUIRED)
|
|
50
|
-
|
|
51
|
-
**Always start with `--design-system`** to get comprehensive recommendations with reasoning:
|
|
52
|
-
|
|
53
|
-
```bash
|
|
54
|
-
python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
This command:
|
|
58
|
-
1. Searches 5 domains in parallel (product, style, color, landing, typography)
|
|
59
|
-
2. Applies reasoning rules from `ui-reasoning.csv` to select best matches
|
|
60
|
-
3. Returns complete design system: pattern, style, colors, typography, effects
|
|
61
|
-
4. Includes anti-patterns to avoid
|
|
62
|
-
|
|
63
|
-
**Example:**
|
|
64
|
-
```bash
|
|
65
|
-
python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
|
|
66
|
-
```
|
|
67
|
-
|
|
68
|
-
### Step 2b: Persist Design System (Master + Overrides Pattern)
|
|
69
|
-
|
|
70
|
-
To save the design system for hierarchical retrieval across sessions, add `--persist`:
|
|
71
|
-
|
|
72
|
-
```bash
|
|
73
|
-
python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"
|
|
74
|
-
```
|
|
75
|
-
|
|
76
|
-
This creates:
|
|
77
|
-
- `design-system/MASTER.md` — Global Source of Truth with all design rules
|
|
78
|
-
- `design-system/pages/` — Folder for page-specific overrides
|
|
79
|
-
|
|
80
|
-
**With page-specific override:**
|
|
81
|
-
```bash
|
|
82
|
-
python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"
|
|
83
|
-
```
|
|
84
|
-
|
|
85
|
-
This also creates:
|
|
86
|
-
- `design-system/pages/dashboard.md` — Page-specific deviations from Master
|
|
87
|
-
|
|
88
|
-
**How hierarchical retrieval works:**
|
|
89
|
-
1. When building a specific page (e.g., "Checkout"), first check `design-system/pages/checkout.md`
|
|
90
|
-
2. If the page file exists, its rules **override** the Master file
|
|
91
|
-
3. If not, use `design-system/MASTER.md` exclusively
|
|
92
|
-
|
|
93
|
-
### Step 3: Supplement with Detailed Searches (as needed)
|
|
94
|
-
|
|
95
|
-
After getting the design system, use domain searches to get additional details:
|
|
96
|
-
|
|
97
|
-
```bash
|
|
98
|
-
python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
|
|
99
|
-
```
|
|
100
|
-
|
|
101
|
-
**When to use detailed searches:**
|
|
102
|
-
|
|
103
|
-
| Need | Domain | Example |
|
|
104
|
-
|------|--------|---------|
|
|
105
|
-
| More style options | `style` | `--domain style "glassmorphism dark"` |
|
|
106
|
-
| Chart recommendations | `chart` | `--domain chart "real-time dashboard"` |
|
|
107
|
-
| UX best practices | `ux` | `--domain ux "animation accessibility"` |
|
|
108
|
-
| Alternative fonts | `typography` | `--domain typography "elegant luxury"` |
|
|
109
|
-
| Landing structure | `landing` | `--domain landing "hero social-proof"` |
|
|
110
|
-
|
|
111
|
-
### Step 4: Stack Guidelines (Default: html-tailwind)
|
|
112
|
-
|
|
113
|
-
Get implementation-specific best practices. If user doesn't specify a stack, **default to `html-tailwind`**.
|
|
114
|
-
|
|
115
|
-
```bash
|
|
116
|
-
python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
|
|
117
|
-
```
|
|
118
|
-
|
|
119
|
-
Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`, `jetpack-compose`
|
|
120
|
-
, `jetpack-compose`
|
|
121
|
-
---
|
|
122
|
-
|
|
123
|
-
## Search Reference
|
|
124
|
-
|
|
125
|
-
### Available Domains
|
|
126
|
-
|
|
127
|
-
| Domain | Use For | Example Keywords |
|
|
128
|
-
|--------|---------|------------------|
|
|
129
|
-
| `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
|
|
130
|
-
| `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
|
|
131
|
-
| `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
|
|
132
|
-
| `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
|
|
133
|
-
| `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
|
|
134
|
-
| `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
|
|
135
|
-
| `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
|
|
136
|
-
| `react` | React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |
|
|
137
|
-
| `web` | Web interface guidelines | aria, focus, keyboard, semantic, virtualize |
|
|
138
|
-
| `prompt` | AI prompts, CSS keywords | (style name) |
|
|
139
|
-
|
|
140
|
-
### Available Stacks
|
|
141
|
-
|
|
142
|
-
| Stack | Focus |
|
|
143
|
-
|-------|-------|
|
|
144
|
-
| `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |
|
|
145
|
-
| `react` | State, hooks, performance, patterns |
|
|
146
|
-
| `nextjs` | SSR, routing, images, API routes |
|
|
147
|
-
| `vue` | Composition API, Pinia, Vue Router |
|
|
148
|
-
| `svelte` | Runes, stores, SvelteKit |
|
|
149
|
-
| `swiftui` | Views, State, Navigation, Animation |
|
|
150
|
-
| `react-native` | Components, Navigation, Lists |
|
|
151
|
-
| `flutter` | Widgets, State, Layout, Theming |
|
|
152
|
-
| `shadcn` | shadcn/ui components, theming, forms, patterns |
|
|
153
|
-
| `jetpack-compose` | Composables, Modifiers, State Hoisting, Recomposition |
|
|
154
|
-
|
|
155
|
-
---
|
|
156
|
-
|
|
157
|
-
## Example Workflow
|
|
158
|
-
|
|
159
|
-
**User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
|
|
160
|
-
|
|
161
|
-
### Step 1: Analyze Requirements
|
|
162
|
-
- Product type: Beauty/Spa service
|
|
163
|
-
- Style keywords: elegant, professional, soft
|
|
164
|
-
- Industry: Beauty/Wellness
|
|
165
|
-
- Stack: html-tailwind (default)
|
|
166
|
-
|
|
167
|
-
### Step 2: Generate Design System (REQUIRED)
|
|
168
|
-
|
|
169
|
-
```bash
|
|
170
|
-
python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"
|
|
171
|
-
```
|
|
172
|
-
|
|
173
|
-
**Output:** Complete design system with pattern, style, colors, typography, effects, and anti-patterns.
|
|
174
|
-
|
|
175
|
-
### Step 3: Supplement with Detailed Searches (as needed)
|
|
176
|
-
|
|
177
|
-
```bash
|
|
178
|
-
# Get UX guidelines for animation and accessibility
|
|
179
|
-
python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
|
|
180
|
-
|
|
181
|
-
# Get alternative typography options if needed
|
|
182
|
-
python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
|
|
183
|
-
```
|
|
184
|
-
|
|
185
|
-
### Step 4: Stack Guidelines
|
|
186
|
-
|
|
187
|
-
```bash
|
|
188
|
-
python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind
|
|
189
|
-
```
|
|
190
|
-
|
|
191
|
-
**Then:** Synthesize design system + detailed searches and implement the design.
|
|
192
|
-
|
|
193
|
-
---
|
|
194
|
-
|
|
195
|
-
## Output Formats
|
|
196
|
-
|
|
197
|
-
The `--design-system` flag supports two output formats:
|
|
198
|
-
|
|
199
|
-
```bash
|
|
200
|
-
# ASCII box (default) - best for terminal display
|
|
201
|
-
python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
|
|
202
|
-
|
|
203
|
-
# Markdown - best for documentation
|
|
204
|
-
python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
|
|
205
|
-
```
|
|
206
|
-
|
|
207
|
-
---
|
|
208
|
-
|
|
209
|
-
## Tips for Better Results
|
|
210
|
-
|
|
211
|
-
1. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"
|
|
212
|
-
2. **Search multiple times** - Different keywords reveal different insights
|
|
213
|
-
3. **Combine domains** - Style + Typography + Color = Complete design system
|
|
214
|
-
4. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues
|
|
215
|
-
5. **Use stack flag** - Get implementation-specific best practices
|
|
216
|
-
6. **Iterate** - If first search doesn't match, try different keywords
|
|
217
|
-
|
|
218
|
-
---
|
|
219
|
-
|
|
220
|
-
## Common Rules for Professional UI
|
|
221
|
-
|
|
222
|
-
These are frequently overlooked issues that make UI look unprofessional:
|
|
223
|
-
|
|
224
|
-
### Icons & Visual Elements
|
|
225
|
-
|
|
226
|
-
| Rule | Do | Don't |
|
|
227
|
-
|------|----|----- |
|
|
228
|
-
| **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
|
|
229
|
-
| **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
|
|
230
|
-
| **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
|
|
231
|
-
| **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
|
|
232
|
-
|
|
233
|
-
### Interaction & Cursor
|
|
234
|
-
|
|
235
|
-
| Rule | Do | Don't |
|
|
236
|
-
|------|----|----- |
|
|
237
|
-
| **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |
|
|
238
|
-
| **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
|
|
239
|
-
| **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
|
|
240
|
-
|
|
241
|
-
### Light/Dark Mode Contrast
|
|
242
|
-
|
|
243
|
-
| Rule | Do | Don't |
|
|
244
|
-
|------|----|----- |
|
|
245
|
-
| **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |
|
|
246
|
-
| **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |
|
|
247
|
-
| **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |
|
|
248
|
-
| **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |
|
|
249
|
-
|
|
250
|
-
### Layout & Spacing
|
|
251
|
-
|
|
252
|
-
| Rule | Do | Don't |
|
|
253
|
-
|------|----|----- |
|
|
254
|
-
| **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
|
|
255
|
-
| **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
|
|
256
|
-
| **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
|
|
27
|
+
## 🛠️ Quy trình thực hiện
|
|
28
|
+
1. **Analyze**: Hiểu rõ user persona.
|
|
29
|
+
2. **Structure**: HTML5 Semantic (Header, Main, Section, Footer).
|
|
30
|
+
3. **Style**: CSS Variables cho màu sắc, spacing.
|
|
31
|
+
4. **Resposive**: Mobile-first approach.
|
|
257
32
|
|
|
258
33
|
---
|
|
259
|
-
|
|
260
|
-
## Pre-Delivery Checklist
|
|
261
|
-
|
|
262
|
-
Before delivering UI code, verify these items:
|
|
263
|
-
|
|
264
|
-
### Visual Quality
|
|
265
|
-
- [ ] No emojis used as icons (use SVG instead)
|
|
266
|
-
- [ ] All icons from consistent icon set (Heroicons/Lucide)
|
|
267
|
-
- [ ] Brand logos are correct (verified from Simple Icons)
|
|
268
|
-
- [ ] Hover states don't cause layout shift
|
|
269
|
-
- [ ] Use theme colors directly (bg-primary) not var() wrapper
|
|
270
|
-
|
|
271
|
-
### Interaction
|
|
272
|
-
- [ ] All clickable elements have `cursor-pointer`
|
|
273
|
-
- [ ] Hover states provide clear visual feedback
|
|
274
|
-
- [ ] Transitions are smooth (150-300ms)
|
|
275
|
-
- [ ] Focus states visible for keyboard navigation
|
|
276
|
-
|
|
277
|
-
### Light/Dark Mode
|
|
278
|
-
- [ ] Light mode text has sufficient contrast (4.5:1 minimum)
|
|
279
|
-
- [ ] Glass/transparent elements visible in light mode
|
|
280
|
-
- [ ] Borders visible in both modes
|
|
281
|
-
- [ ] Test both modes before delivery
|
|
282
|
-
|
|
283
|
-
### Layout
|
|
284
|
-
- [ ] Floating elements have proper spacing from edges
|
|
285
|
-
- [ ] No content hidden behind fixed navbars
|
|
286
|
-
- [ ] Responsive at 375px, 768px, 1024px, 1440px
|
|
287
|
-
- [ ] No horizontal scroll on mobile
|
|
288
|
-
|
|
289
|
-
### Accessibility
|
|
290
|
-
- [ ] All images have alt text
|
|
291
|
-
- [ ] Form inputs have labels
|
|
292
|
-
- [ ] Color is not the only indicator
|
|
293
|
-
- [ ] `prefers-reduced-motion` respected
|
|
34
|
+
**Note**: Focus on Usability and Elegance.
|
package/LICENSE
CHANGED
|
@@ -17,25 +17,39 @@ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
20
21
|
SOFTWARE.
|
|
21
22
|
|
|
22
23
|
================================================================================
|
|
23
|
-
ACKNOWLEDGEMENTS & REFERENCES
|
|
24
|
+
UNIVERSAL ACKNOWLEDGEMENTS & REFERENCES
|
|
24
25
|
================================================================================
|
|
25
26
|
|
|
26
|
-
This project is maintained by Dokhacgiakhoa.
|
|
27
|
-
|
|
27
|
+
This project is authored and maintained by Dokhacgiakhoa.
|
|
28
|
+
Antigravity IDE (Enhanced Edition) draws significant inspiration and inherits
|
|
29
|
+
open-source knowledge from the following masters and repositories:
|
|
28
30
|
|
|
29
|
-
1. Antigravity Kit (
|
|
30
|
-
- Original Author:
|
|
31
|
+
1. Antigravity Kit (Core Reference)
|
|
32
|
+
- Original Author: vudovn
|
|
31
33
|
- Link: https://github.com/vudovn/antigravity-kit
|
|
32
34
|
|
|
33
|
-
2. Antigravity Awesome Skills (
|
|
35
|
+
2. Antigravity Awesome Skills (Skill Metadata Reference)
|
|
34
36
|
- Original Author: sickn33
|
|
35
37
|
- Link: https://github.com/sickn33/antigravity-awesome-skills
|
|
36
38
|
|
|
37
|
-
3. UI/UX Pro Max (
|
|
39
|
+
3. UI/UX Pro Max (Design Philosophy Reference)
|
|
38
40
|
- Original Author: sickn33
|
|
39
41
|
- Link: https://github.com/sickn33/ui-ux-pro-max
|
|
40
42
|
|
|
41
|
-
|
|
43
|
+
4. Model Context Protocol (MCP) standards
|
|
44
|
+
- Authors: Anthropic & Ecosystem Contributors
|
|
45
|
+
- Link: https://modelcontextprotocol.io/
|
|
46
|
+
|
|
47
|
+
5. High-Performance Web Standards
|
|
48
|
+
- Inspiration: Vercel Engineering & Anthony Fu (antfu)
|
|
49
|
+
|
|
50
|
+
6. Strategic Knowledge Extraction
|
|
51
|
+
- Inspiration: Fabric Patterns (danielmiessler)
|
|
52
|
+
|
|
53
|
+
*Note: All trademarks and copyrights belong to their respective owners.
|
|
54
|
+
The references above reflect research-level inspiration and antecedent
|
|
55
|
+
contributions. These parties are not involved in the management of this repository.*
|