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/docs/COPYRIGHT.md
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# Bản Quyền và Giấy Phép
|
|
2
|
-
|
|
3
|
-
## 📜 Thông Tin Bản Quyền
|
|
4
|
-
|
|
5
|
-
**Tên Dự Án**: Google Antigravity (Enhanced Edition)
|
|
6
|
-
**Chủ Sở Hữu & Bảo Trì**: Dokhacgiakhoa
|
|
7
|
-
**Năm**: 2026
|
|
8
|
-
**Giấy Phép**: MIT License
|
|
9
|
-
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
## ⚖️ Giấy Phép MIT - Giải Thích Bằng Tiếng Việt
|
|
13
|
-
|
|
14
|
-
Dự án này được phát hành theo **giấy phép MIT**.
|
|
15
|
-
|
|
16
|
-
### Quyền Lợi:
|
|
17
|
-
✅ **Sử dụng tự do**: Bạn có thể sử dụng cho cá nhân, thương mại, học tập.
|
|
18
|
-
✅ **Sao chép và phân phối**: Bạn có thể chia sẻ dự án.
|
|
19
|
-
✅ **Chỉnh sửa**: Bạn có thể tùy biến code.
|
|
20
|
-
|
|
21
|
-
### Nghĩa Vụ:
|
|
22
|
-
⚠️ **Giữ nguyên thông báo bản quyền**: Khi phân phối lại.
|
|
23
|
-
⚠️ **Không bảo hành**: Tác giả không chịu trách nhiệm về lỗi phát sinh.
|
|
24
|
-
|
|
25
|
-
---
|
|
26
|
-
|
|
27
|
-
## 🙏 Ghi Nhận & Nguồn Tham Khảo (Credits)
|
|
28
|
-
|
|
29
|
-
Dự án này do **Dokhacgiakhoa** phát triển và vận hành. Trong quá trình xây dựng, chúng tôi đã tham khảo và kế thừa tri thức từ các nguồn mã nguồn mở sau:
|
|
30
|
-
|
|
31
|
-
### Nguồn Tham Khảo (Upstream References)
|
|
32
|
-
*Đây là các dự án nguồn mà chúng tôi đã nghiên cứu để xây dựng nên phiên bản này:*
|
|
33
|
-
|
|
34
|
-
1. **Antigravity Kit** (by `vudovn`)
|
|
35
|
-
* *Vai trò*: Tham khảo cấu trúc Framework và tư duy Agent.
|
|
36
|
-
* *Link*: [github.com/vudovn/antigravity-kit](https://github.com/vudovn/antigravity-kit)
|
|
37
|
-
|
|
38
|
-
2. **Antigravity Awesome Skills** (by `sickn33`)
|
|
39
|
-
* *Vai trò*: Tham khảo cơ sở dữ liệu các kỹ năng (Skills Database).
|
|
40
|
-
* *Link*: [github.com/sickn33/antigravity-awesome-skills](https://github.com/sickn33/antigravity-awesome-skills)
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
3. **UI/UX Pro Max** (by `sickn33`)
|
|
44
|
-
* *Vai trò*: Tham khảo quy chuẩn thiết kế giao diện cao cấp.
|
|
45
|
-
* *Link*: [github.com/sickn33/ui-ux-pro-max](https://github.com/sickn33/ui-ux-pro-max)
|
|
46
|
-
|
|
47
|
-
> **Lưu ý**: Các tác giả gốc (`vudovn`, `sickn33`) được ghi nhận vì những đóng góp nền tảng cho cộng đồng mã nguồn mở. Tuy nhiên, họ **không trực tiếp tham gia** phát triển, sửa lỗi hay quản lý repository (`Dokhacgiakhoa/google-antigravity`) này.
|
|
48
|
-
|
|
49
|
-
---
|
|
50
|
-
|
|
51
|
-
## 📄 Văn Bản Pháp Lý Gốc
|
|
52
|
-
|
|
53
|
-
Văn bản giấy phép MIT đầy đủ bằng tiếng Anh được lưu tại file [`LICENSE`](./LICENSE).
|
|
54
|
-
|
|
55
|
-
---
|
|
56
|
-
|
|
57
|
-
*Verified by Dokhacgiakhoa*
|
package/docs/DEPLOYMENT.md
DELETED
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
# Antigravity IDE - Deployment Record
|
|
2
|
-
|
|
3
|
-
## Package Information
|
|
4
|
-
|
|
5
|
-
**Package Name:** `antigravity-ide`
|
|
6
|
-
**Version:** `3.5.13`
|
|
7
|
-
**Published Date:** January 29, 2026
|
|
8
|
-
**npm Registry:** https://www.npmjs.com/package/antigravity-ide
|
|
9
|
-
|
|
10
|
-
---
|
|
11
|
-
|
|
12
|
-
## Installation Commands
|
|
13
|
-
|
|
14
|
-
Users can install and use the package via:
|
|
15
|
-
|
|
16
|
-
### Method 1: NPX (Recommended)
|
|
17
|
-
```bash
|
|
18
|
-
npx antigravity-ide
|
|
19
|
-
# or
|
|
20
|
-
npx antigravity-ide my-project
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
### Method 2: Global Installation
|
|
24
|
-
```bash
|
|
25
|
-
npm install -g antigravity-ide
|
|
26
|
-
antigravity-ide
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
---
|
|
30
|
-
|
|
31
|
-
## Package Statistics
|
|
32
|
-
|
|
33
|
-
**Files:** 2,660 files
|
|
34
|
-
**Package Size:** 23.5 MB (compressed)
|
|
35
|
-
**Unpacked Size:** 41.3 MB
|
|
36
|
-
**License:** MIT
|
|
37
|
-
**Author:** Dokhacgiakhoa
|
|
38
|
-
|
|
39
|
-
---
|
|
40
|
-
|
|
41
|
-
## Features Included
|
|
42
|
-
|
|
43
|
-
### Core Components
|
|
44
|
-
- ✅ CLI Tool with interactive prompts
|
|
45
|
-
- ✅ 2,500+ AI Agent Skills
|
|
46
|
-
- ✅ Multiple project templates (Minimal, Standard, Full)
|
|
47
|
-
- ✅ Web Dashboard (Next.js)
|
|
48
|
-
- ✅ Testing Suite
|
|
49
|
-
- ✅ Lab Experiments
|
|
50
|
-
|
|
51
|
-
### Configuration Options
|
|
52
|
-
- Agent Rules: Strict / Balanced / Flexible
|
|
53
|
-
- Skill Categories: webdev, mobile, devops, security, ai, data
|
|
54
|
-
- Workflows: git, testing, deployment, review
|
|
55
|
-
- Package Managers: npm, pnpm, yarn
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## Version History
|
|
60
|
-
|
|
61
|
-
| Version | Date | Changes |
|
|
62
|
-
|---------|------|---------|
|
|
63
|
-
| 3.5.13 | 2026-01-29 | Documentation fixes & Smart Install polish |
|
|
64
|
-
| 3.5.0 | 2026-01-29 | Major CLI overhaul & Engine Intelligence |
|
|
65
|
-
| 3.0.0 | 2026-01-29 | Initial public release |
|
|
66
|
-
|
|
67
|
-
---
|
|
68
|
-
|
|
69
|
-
## Links
|
|
70
|
-
|
|
71
|
-
- **npm Package:** https://www.npmjs.com/package/antigravity-ide
|
|
72
|
-
- **GitHub Repository:** https://github.com/Dokhacgiakhoa/google-antigravity
|
|
73
|
-
- **Documentation:** https://github.com/Dokhacgiakhoa/google-antigravity#readme
|
|
74
|
-
|
|
75
|
-
---
|
|
76
|
-
|
|
77
|
-
*Last updated: 2026-01-29*
|
package/docs/GLOSSARY.md
DELETED
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
# Antigravity System Glossary 📖
|
|
2
|
-
|
|
3
|
-
This is the **comprehensive** reference for all Entities, Commands, and Keywords in the Antigravity system.
|
|
4
|
-
Use these keywords to communicate precisely with the AI.
|
|
5
|
-
|
|
6
|
-
---
|
|
7
|
-
|
|
8
|
-
## 1. Workflows (Procedures) - Symbol `/`
|
|
9
|
-
*Type this command to START a sequence of actions.*
|
|
10
|
-
|
|
11
|
-
| Command | Meaning | When to use? |
|
|
12
|
-
| :--- | :--- | :--- |
|
|
13
|
-
| `/audit` | **Quality Audit** | Before handover, scan for security/performance issues. |
|
|
14
|
-
| `/brainstorm` | **Brainstorming** | Stuck? Need AI to suggest solutions/architectures. |
|
|
15
|
-
| `/create` | **Create Project** | Start a new project from scratch. |
|
|
16
|
-
| `/debug` | **Debug** | When code breaks, throw logs here for analysis. |
|
|
17
|
-
| `/deploy` | **Deploy** | Package and push app to Server/Cloud. |
|
|
18
|
-
| `/document` | **Document** | Auto-write README, API Docs from code. |
|
|
19
|
-
| `/enhance` | **Enhance** | Improve UI, or optimize old code. |
|
|
20
|
-
| `/monitor` | **Monitor** | Setup Server/Log monitoring tools. |
|
|
21
|
-
| `/onboard` | **Onboard** | Create guides for new team members. |
|
|
22
|
-
| `/orchestrate` | **Orchestrate** | Call the "Board of Experts" for complex problems. |
|
|
23
|
-
| `/plan` | **Plan** | Analyze requirements -> Generate `implementation_plan.md`. |
|
|
24
|
-
| `/preview` | **Preview** | Dry-run web/app to check UI. |
|
|
25
|
-
| `/security` | **Security Scan** | Deep vulnerability check (Penetration Test). |
|
|
26
|
-
| `/seo` | **SEO Opt** | Help web rank on Google (Meta tags, Sitemap). |
|
|
27
|
-
| `/status` | **Status** | View project progress report. |
|
|
28
|
-
| `/test` | **Test** | Write and run Unit Test/E2E Test. |
|
|
29
|
-
| `/ui-ux-pro-max`| **Elite UI/UX**| Design interfaces like magic (Magic UI/Linear style). |
|
|
30
|
-
|
|
31
|
-
---
|
|
32
|
-
|
|
33
|
-
## 2. Rules (Context) - Symbol `@`
|
|
34
|
-
*Type this keyword (or mention name) to INJECT EXPERT CONTEXT.*
|
|
35
|
-
|
|
36
|
-
| Rule Tag | Expertise | Responsibility |
|
|
37
|
-
| :--- | :--- | :--- |
|
|
38
|
-
| `@backend` | Backend Engineer | Write API, Server Logic, Database. |
|
|
39
|
-
| `@frontend` | Frontend Engineer | Write UI, CSS, Animation, React/Vue. |
|
|
40
|
-
| `@security` | Security Expert | Encryption, Auth, Anti-Hack. |
|
|
41
|
-
| `@debug` | Debug Expert | Log analysis, Root cause finding. |
|
|
42
|
-
| `@business` | BA Expert | Business logic, Enterprise workflows. |
|
|
43
|
-
| `@compliance` | Compliance Lawyer | Check GDPR, HIPAA, PCI-DSS compliance. |
|
|
44
|
-
| `@architecture`| Architect | Review system diargams, Clean Code. |
|
|
45
|
-
| `@gemini` | **Core System** | Root system rules (main config file). |
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## 3. Agents (Personas)
|
|
50
|
-
*AI can act as these roles automatically, or upon request.*
|
|
51
|
-
|
|
52
|
-
* **Orchestrator**: Conductor, Commander-in-chief.
|
|
53
|
-
* **Project Planner**: Planner.
|
|
54
|
-
* **Backend Specialist**: Back-end Logic.
|
|
55
|
-
* **Frontend Specialist**: Front-end UI.
|
|
56
|
-
* **Mobile Developer**: App (iOS/Android).
|
|
57
|
-
* **Game Developer**: Game Logic/Physics.
|
|
58
|
-
* **Cloud Architect**: Cloud Infra (AWS/GCP).
|
|
59
|
-
* **Performance Optimizer**: Speed Expert.
|
|
60
|
-
* **Security Auditor**: Security Reviewer.
|
|
61
|
-
* **SEO Specialist**: Marketing/SEO.
|
|
62
|
-
* **Quality Inspector**: QA/QC.
|
|
63
|
-
* **Documentation Writer**: Scribe.
|
|
64
|
-
* **Test Engineer**: Tester.
|
|
65
|
-
* **Debugger**: Error Hunter.
|
|
66
|
-
* **Codebase Expert**: Walking dictionary of the project.
|
|
67
|
-
|
|
68
|
-
---
|
|
69
|
-
|
|
70
|
-
## 4. Master Skills (Core Skills)
|
|
71
|
-
*550+ Skills, these are the most used "Endgame" skills.*
|
|
72
|
-
|
|
73
|
-
| Skill Name | Usage |
|
|
74
|
-
| :--- | :--- |
|
|
75
|
-
| `ai-engineer` | AI Apps, Chatbots, RAG. |
|
|
76
|
-
| `api-documenter` | Write OpenAPI standard docs. |
|
|
77
|
-
| `cloud-architect-master` | Multi-cloud system design. |
|
|
78
|
-
| `database-migration` | Safe Database schema changes. |
|
|
79
|
-
| `deployment-engineer` | CI/CD and Docker. |
|
|
80
|
-
| `full-stack-scaffold` | Production-ready setup. |
|
|
81
|
-
| `modern-web-architect` | Modern Web Arch (Next.js/React). |
|
|
82
|
-
| `security-auditor` | Vulnerability checks. |
|
|
83
|
-
| `seo-expert-kit` | Comprehensive SEO toolkit. |
|
|
84
|
-
| `tdd-master-workflow` | Test-Driven Development flow. |
|
|
85
|
-
| ... | *(And hundreds more in `.agent/skills` folder)* |
|
|
86
|
-
|
|
87
|
-
---
|
|
88
|
-
|
|
89
|
-
## 5. Shared Modules (Enterprise Libs)
|
|
90
|
-
*Standard Enterprise modules automatically loaded.*
|
|
91
|
-
|
|
92
|
-
* `ai-master`: LLM & RAG Standards.
|
|
93
|
-
* `api-standards`: API Design Standards.
|
|
94
|
-
* `compliance`: Legal Protocols.
|
|
95
|
-
* `database-master`: Database Design Standards.
|
|
96
|
-
* `design-system`: UI/UX Design System.
|
|
97
|
-
* `domain-blueprints`: Industry Architectures.
|
|
98
|
-
* `i18n-master`: Localization.
|
|
99
|
-
* `infra-blueprints`: Infrastructure (Terraform) templates.
|
|
100
|
-
* `metrics`: Observability.
|
|
101
|
-
* `security-armor`: Security Hardening.
|
|
102
|
-
* `testing-master`: Testing Strategies.
|
|
103
|
-
* `ui-ux-pro-max`: Advanced UI Interactions.
|
|
104
|
-
|
|
105
|
-
---
|
|
106
|
-
|
|
107
|
-
> **Tip**: You don't need to memorize everything.
|
|
108
|
-
> * Need Action -> Type `/` and Tab.
|
|
109
|
-
> * Need Expertise -> Type `@` and Tab (or describe "call the backend guy").
|
package/docs/MASTER_GUIDE.md
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
# 🛰️ Antigravity IDE - Master Operations Guide
|
|
2
|
-
**Version**: 3.5.54 (Enterprise Multi-Agent Edition)
|
|
3
|
-
**Language**: Tiếng Việt (Giao diện) - English (Technical)
|
|
4
|
-
|
|
5
|
-
Chào mừng bạn đến với hệ thống Antigravity IDE đã được "độ" lên mức tối đa. Đây không còn là một công cụ lập trình thông thường, mà là một **Phòng tác chiến AI** với đầy đủ tri thức nghiệp vụ và dây chuyền sản xuất chuyên nghiệp.
|
|
6
|
-
|
|
7
|
-
---
|
|
8
|
-
|
|
9
|
-
## 🛠️ 1. Tiền đề (Prerequisites)
|
|
10
|
-
Để hệ thống hoạt động với 100% công suất, bạn nên cài đặt:
|
|
11
|
-
- **Node.js**: Để chạy lệnh cài đặt và quản lý gói.
|
|
12
|
-
- **Python 3.x**: (**Khuyên dùng**) Để các Skill thực thi được các kịch bản tự động như Scanners, Evaluators.
|
|
13
|
-
|
|
14
|
-
## 🚀 2. Khởi động nhanh (Quick Start)
|
|
15
|
-
|
|
16
|
-
Để cài đặt hoặc cập nhật hệ thống lên mức Global (toàn cục), hãy sử dụng các lệnh sau:
|
|
17
|
-
|
|
18
|
-
- **Cài đặt mới**: `npx antigravity-ide` (Cài vào thư mục hiện tại) hoặc `npx antigravity-ide [tên-dự-án]`.
|
|
19
|
-
- **Cập nhật tính năng**: `npx antigravity-ide update` (Bảo tồn nội dung custom).
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
## 🏎️ 2. Chế độ Động cơ (Engine Modes)
|
|
24
|
-
Antigravity hỗ trợ hai chế độ vận hành linh hoạt tùy theo nhu cầu dự án:
|
|
25
|
-
|
|
26
|
-
- **Standard Mode (Node.js)**:
|
|
27
|
-
- *Mục tiêu*: Nhẹ nhàng, tốc độ, Zero-Config.
|
|
28
|
-
- *Sử dụng*: Phù hợp dự án Web, Portfolio, SaaS vừa và nhỏ.
|
|
29
|
-
- *Yêu cầu*: Chỉ cần Node.js (đã có sẵn khi dùng npx).
|
|
30
|
-
- **Advanced Mode (Python)**:
|
|
31
|
-
- *Mục tiêu*: Chuyên sâu, Bảo mật cao, AI phức tạp.
|
|
32
|
-
- *Sử dụng*: Phù hợp dự án Enterprise, Big Data, Pentest.
|
|
33
|
-
- *Yêu cầu*: Cần cài đặt Python 3.x trên hệ thống.
|
|
34
|
-
|
|
35
|
-
Hệ thống sẽ tự động ưu tiên gọi công cụ tương ứng với chế độ bạn đã chọn trong `.config.json`.
|
|
36
|
-
|
|
37
|
-
---
|
|
38
|
-
|
|
39
|
-
## 🧠 3. Triết lý vận hành: Quy trình PDCA
|
|
40
|
-
Hệ thống hoạt động theo chu kỳ quản trị 4 bước để đảm bảo không bao giờ có code lỗi hoặc thiết kế cẩu thả:
|
|
41
|
-
|
|
42
|
-
1. **🔴 PLAN (Planner)**: Sử dụng `/plan` để Agent phác thảo PRD và bản kế hoạch chi tiết (Task Breakdown). **Bạn duyệt xong Agent mới được làm.**
|
|
43
|
-
2. **🔵 DO (Workers)**: Các chuyên gia (Backend, Frontend, Security, DB) sẽ thi công song song dựa trên bản kế hoạch đã duyệt.
|
|
44
|
-
3. **🟡 CHECK (Inspector)**: `quality-inspector` sẽ thanh tra code dựa trên bộ chỉ số `metrics` và danh sách `scenarios` kiểm thử.
|
|
45
|
-
4. **🟢 ACT (Orchestrator)**: `orchestrator` tổng hợp báo cáo và đưa ra quyết định cuối cùng (Merge code hoặc yêu cầu Worker sửa lại).
|
|
46
|
-
|
|
47
|
-
---
|
|
48
|
-
|
|
49
|
-
## 🎭 3. Hệ thống Agent Chuyên gia (Specialist Agents)
|
|
50
|
-
|
|
51
|
-
Mỗi Agent trong hệ thống đều có "não bộ" riêng được nạp qua các file `.md` trong kho Global:
|
|
52
|
-
|
|
53
|
-
- **`project-planner`**: Kiến trúc sư trưởng, người viết PRD và chia nhỏ task.
|
|
54
|
-
- **`backend-specialist`**: Phù thủy Server/API, tuân thủ tuyệt đối API Standards và 3NF Database.
|
|
55
|
-
- **`frontend-specialist`**: Nghệ sĩ giao diện, chuyên gia về Premium UI/UX và Micro-interactions.
|
|
56
|
-
- **`security-auditor`**: Hiệp sĩ bảo vệ, soi lỗi XSS, SQL Injection qua bộ `security-armor`.
|
|
57
|
-
- **`quality-inspector`**: Thanh tra viên, người "bắt lỗi" dựa trên benchmarks và scenarios.
|
|
58
|
-
- **`orchestrator`**: Vị thuyền trưởng điều phối toàn bộ luồng công việc.
|
|
59
|
-
|
|
60
|
-
---
|
|
61
|
-
|
|
62
|
-
## 📚 4. Kho tài nguyên Shared (`.shared/`)
|
|
63
|
-
Đây là nơi lưu trữ "DNA" của hệ thống, giúp Agent thông minh hơn theo thời gian:
|
|
64
|
-
|
|
65
|
-
| Th mục | Nội dung |
|
|
66
|
-
| :--- | :--- |
|
|
67
|
-
| `domain-blueprints` | Tri thức nghiệp vụ: Fintech, Healthcare, Logistics, F&B, Real Estate... |
|
|
68
|
-
| `api-standards` | Chuẩn giao tiếp: Response format, Error codes, Auth patterns, Naming. |
|
|
69
|
-
| `database-master` | Các Schema mẫu chuẩn 3NF cho Auth, E-commerce, CMS. |
|
|
70
|
-
| `design-system` | Presets thẩm mỹ (Luxury, Tech, Soft) và quy chuẩn Micro-interactions. |
|
|
71
|
-
| `security-armor` | Bộ quy tắc "bất khả xâm phạm" cho ứng dụng. |
|
|
72
|
-
| `testing-master` | Kho kịch bản kiểm thử (Test Scenarios) cho các luồng thanh toán, đăng nhập. |
|
|
73
|
-
| `compliance` | Mẫu pháp lý: Chính sách bảo mật (Privacy Policy) và Điều khoản (TOS). |
|
|
74
|
-
| `metrics` | Các chỉ số Benchmarks về tốc độ và chất lượng code. |
|
|
75
|
-
| `core` | Hệ điều hành (OS) của Agent: Tính cách cốt lõi, Cấu trúc dự án mẫu (Archetypes). |
|
|
76
|
-
|
|
77
|
-
---
|
|
78
|
-
|
|
79
|
-
## ⌨️ 5. Hệ thống lệnh Slash Command (`/`)
|
|
80
|
-
|
|
81
|
-
Sử dụng phím **`/`** trong khung chat để kích hoạt các Workflow chuyên sâu:
|
|
82
|
-
|
|
83
|
-
- `/brainstorm`: Lên ý tưởng, cấu trúc dự án.
|
|
84
|
-
- `/create`: Khởi tạo dự án mới, App Builder.
|
|
85
|
-
- `/plan`: Lập kế hoạch, phân rã tác vụ.
|
|
86
|
-
- `/ui-ux-pro-max`: Thiết kế giao diện Premium.
|
|
87
|
-
- `/orchestrate`: Điều phối đa Agent phức tạp.
|
|
88
|
-
- `/audit`: Kiểm định chất lượng toàn diện (Security, SEO).
|
|
89
|
-
- `/security`: Hardening & Bảo mật chuyên sâu.
|
|
90
|
-
- `/seo`: Tối ưu hóa tìm kiếm & Growth.
|
|
91
|
-
- `/onboard`: Hướng dẫn thành viên mới.
|
|
92
|
-
- `/document`: Tự động viết tài liệu.
|
|
93
|
-
- `/monitor`: Thiết lập giám sát vận hành.
|
|
94
|
-
- `/status`: Xem Dashboard tiến độ.
|
|
95
|
-
|
|
96
|
-
---
|
|
97
|
-
|
|
98
|
-
## 🛡️ 6. Nguyên tắc "Vỏ Việt - Lõi Anh"
|
|
99
|
-
- **Giao tiếp với người dùng**: Ưu tiên tiếng Việt súc tích, chuyên nghiệp.
|
|
100
|
-
- **Tư duy Kỹ thuật**: Sử dụng tiếng Anh cho biến, hàm, kiến trúc để Agent đạt hiệu suất cao nhất và code dễ bảo trì toàn cầu.
|
|
101
|
-
|
|
102
|
-
---
|
|
103
|
-
**Antigravity IDE - Sẵn sàng bẻ gãy mọi quy luật trọng lực để đưa dự án của bạn lên tầm cao mới.** 🚀🛰️
|
package/docs/OPERATIONAL_FLOW.md
DELETED
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
# Operational Flow Guide 📘
|
|
2
|
-
|
|
3
|
-
> **Foreword**: Building software is a **long conversation** between the Boss (User) and the Employee (AI). This document is not theory; it provides **Sample Transcripts** of 5 real-world projects so you can copy-paste and learn how to "command" effectively.
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 🎯 Case Study 1: E-commerce Platform (Web Fullstack) 🛒
|
|
8
|
-
**Difficulty**: High | **Timeline**: 2 weeks (equiv) | **Focus**: Database, API, State Management.
|
|
9
|
-
|
|
10
|
-
### Phase 1: Kickoff & Foundation (10%)
|
|
11
|
-
> **Boss**: `/create` (select SME, Industry F&B)
|
|
12
|
-
>
|
|
13
|
-
> **Boss**: `/plan`
|
|
14
|
-
> **Prompt**: "I want to build a Sneaker store. Needs Homepage, Detail page, Cart, and Admin Dashboard. Analyze what Tables we need in the Database?"
|
|
15
|
-
>
|
|
16
|
-
> **Boss**: *Approves plan* -> "Ok, plan looks good. Create the folder structure."
|
|
17
|
-
|
|
18
|
-
### Phase 2: Backend & Database (30%)
|
|
19
|
-
> **Boss**: "Now design the Database Schema. Use PostgreSQL."
|
|
20
|
-
> **Context**: `@database-architect`
|
|
21
|
-
> **Prompt**: "Create `schema.sql`. Need `Users`, `Products` (with size, color), `Orders`, `OrderItems` tables. Add an Index to the `price` column for faster filtering."
|
|
22
|
-
>
|
|
23
|
-
> **Boss**: "Now write the Register/Login API."
|
|
24
|
-
> **Context**: `@backend` `@security`
|
|
25
|
-
> **Prompt**: "Create POST `/auth/register` API. Validate email strictly. Password must be hashed with Bcrypt. Return a JWT Token."
|
|
26
|
-
>
|
|
27
|
-
> **Boss**: *Tests and finds error* -> `/debug`
|
|
28
|
-
> **Prompt**: "I sent a Login request but got 500. Log says: `Cannot read property 'hash' of undefined`. Fix ASAP."
|
|
29
|
-
> **Context**: `@debug`
|
|
30
|
-
|
|
31
|
-
### Phase 3: Frontend (40%)
|
|
32
|
-
> **Boss**: "Switch to UI. Use Next.js."
|
|
33
|
-
> **Context**: `@frontend` `@ui-ux-pro-max`
|
|
34
|
-
> **Prompt**: "Create `ProductCard` component. Requirements: Large image, bold title, red price. On hover, the card should elevate (shadow)."
|
|
35
|
-
>
|
|
36
|
-
> **Boss**: "Make the Shopping Cart page."
|
|
37
|
-
> **Context**: `@frontend`
|
|
38
|
-
> **Prompt**: "Create `/cart` page. Use Zustand for cart state management. Show product list, quantity toggle, and subtotal."
|
|
39
|
-
>
|
|
40
|
-
> **Boss**: "Ugly. Fix the CSS."
|
|
41
|
-
> **Context**: `@ui-ux-pro-max`
|
|
42
|
-
> **Prompt**: "The 'Checkout' button looks cheap. Change it to an orange-purple gradient, rounded corners, and add a Shopping Bag icon."
|
|
43
|
-
|
|
44
|
-
### Phase 4: Integration & Polish (20%)
|
|
45
|
-
> **Boss**: "Connect API to Frontend."
|
|
46
|
-
> **Prompt**: "On Login page, when user clicks Submit, call `/auth/login` API. If success, save token to localStorage and redirect to Home."
|
|
47
|
-
>
|
|
48
|
-
> **Boss**: "Check performance."
|
|
49
|
-
> **Context**: `@performance`
|
|
50
|
-
> **Prompt**: "Run Lighthouse audit on Home page. Optimize images and lazy load heavy components for me."
|
|
51
|
-
|
|
52
|
-
---
|
|
53
|
-
|
|
54
|
-
## 🎯 Case Study 2: Mobile Game "Flappy Clone" (Indie Game) 🎮
|
|
55
|
-
**Difficulty**: Medium | **Focus**: Logic, Physics, Performance.
|
|
56
|
-
|
|
57
|
-
### Phase 1: Core Logic
|
|
58
|
-
> **Boss**: `/create` (select Mobile & Game)
|
|
59
|
-
>
|
|
60
|
-
> **Boss**: "Write gravity logic for the bird."
|
|
61
|
-
> **Context**: `@game-development`
|
|
62
|
-
> **Prompt**: "Create `Bird` class. Have an `update()` function. Every frame `y` increases (falls). When calling `flap()`, `velocity` jumps up. Tune numbers to feel like real Flappy Bird."
|
|
63
|
-
|
|
64
|
-
### Phase 2: Gameplay Loop
|
|
65
|
-
> **Boss**: "Make obstacles (Pipes)."
|
|
66
|
-
> **Prompt**: "Create `PipeManager` class. Spawn a pipe pair (top/bottom) every 2 seconds. Pipes move right to left. If bird collides, Game Over."
|
|
67
|
-
|
|
68
|
-
### Phase 3: Polish
|
|
69
|
-
> **Boss**: "Add sound."
|
|
70
|
-
> **Prompt**: "Play `sfx_wing.mp3` when flying. Play `sfx_hit.mp3` on death."
|
|
71
|
-
>
|
|
72
|
-
> **Boss**: `/debug` (Game stutters)
|
|
73
|
-
> **Context**: `@performance`
|
|
74
|
-
> **Prompt**: "Game lags after playing a while. I suspect too many objects are created without deletion. Check for memory leaks in `PipeManager`?"
|
|
75
|
-
|
|
76
|
-
---
|
|
77
|
-
|
|
78
|
-
## 🎯 Case Study 3: Digital Banking (Fintech Enterprise) 🏦
|
|
79
|
-
**Difficulty**: Very Hard | **Focus**: Security, Audit, Compliance.
|
|
80
|
-
|
|
81
|
-
### Phase 1: Hardening
|
|
82
|
-
> **Boss**: `/create` (select Enterprise, Finance)
|
|
83
|
-
>
|
|
84
|
-
> **Boss**: "Design security architecture."
|
|
85
|
-
> **Context**: `@security-auditor`
|
|
86
|
-
> **Prompt**: "Review `server.js`. Ensure Helmet, Rate Limiting, and CORS are strictly configured. Block strange IPs from Admin API."
|
|
87
|
-
|
|
88
|
-
### Phase 2: Sensitive Logic
|
|
89
|
-
> **Boss**: "Write money transfer function."
|
|
90
|
-
> **Context**: `@backend` `@database-architect`
|
|
91
|
-
> **Prompt**: "Write `transferMoney` function. MUST use Database Transaction. Debit A and Credit B must happen simultaneously. Rollback immediately on error. Log everything to Audit table."
|
|
92
|
-
|
|
93
|
-
### Phase 3: Audit
|
|
94
|
-
> **Boss**: `/audit`
|
|
95
|
-
> **Context**: `@compliance`
|
|
96
|
-
> **Prompt**: "Scan entire code for accidental logging of sensitive info (Card numbers, Phone). Project must comply with PCI-DSS."
|
|
97
|
-
|
|
98
|
-
---
|
|
99
|
-
|
|
100
|
-
## 🎯 Case Study 4: Personal Blog (Personal Brand) ✍️
|
|
101
|
-
**Difficulty**: Easy | **Focus**: SEO, Speed, Content.
|
|
102
|
-
|
|
103
|
-
> **Boss**: `/create` (Personal)
|
|
104
|
-
>
|
|
105
|
-
> **Boss**: "Write Home page intro."
|
|
106
|
-
> **Context**: `@seo-expert-kit`
|
|
107
|
-
> **Prompt**: "Write intro content introducing me as an AI Engineer with 5 years exp. Embed keywords like 'AI Consultant', 'Machine Learning' for Google ranking."
|
|
108
|
-
>
|
|
109
|
-
> **Boss**: "Add Dark Mode."
|
|
110
|
-
> **Context**: `@frontend`
|
|
111
|
-
> **Prompt**: "Add Light/Dark toggle in top right. Save setting to local storage."
|
|
112
|
-
>
|
|
113
|
-
> **Boss**: `/deploy` -> "Push to Vercel for me."
|
|
114
|
-
|
|
115
|
-
---
|
|
116
|
-
|
|
117
|
-
## 🎯 Case Study 5: Data Processing Tool (Python AI Lab) 🐍
|
|
118
|
-
**Difficulty**: Specialist | **Focus**: Python, Data, Charts.
|
|
119
|
-
|
|
120
|
-
> **Boss**: `/create` (select Advanced - Python)
|
|
121
|
-
> **Boss**: *Sees Python missing warning* -> "Ok, run the install command."
|
|
122
|
-
>
|
|
123
|
-
> **Boss**: "Write script to read Excel."
|
|
124
|
-
> **Context**: `@data-engineer`
|
|
125
|
-
> **Prompt**: "Use `pandas` to read `sales.xlsx`. Clean data: Remove empty rows, fill 0 for missing values."
|
|
126
|
-
>
|
|
127
|
-
> **Boss**: "Draw chart."
|
|
128
|
-
> **Context**: `@ai-engineer`
|
|
129
|
-
> **Prompt**: "Use `matplotlib` to plot line chart of monthly revenue. Export to `chart.png`."
|
|
130
|
-
|
|
131
|
-
---
|
|
132
|
-
|
|
133
|
-
## 📝 Summary of "Magic Spells" (Prompt Patterns)
|
|
134
|
-
|
|
135
|
-
1. **"Role - Task - Standard" Model**:
|
|
136
|
-
* *Basic*: "Write login code." (Vague)
|
|
137
|
-
* *Pro*: "Act as `@security`, write Login API (`Task`), require password hash and Anti-Brute Force (`Standard`)."
|
|
138
|
-
|
|
139
|
-
2. **"Evidence-based Debugging" Model**:
|
|
140
|
-
* *Basic*: "Code is broken, fix it." (AI guesses)
|
|
141
|
-
* *Pro*: "Call `/debug`. I got `Error: connection refused` at line 50 of `db.js`. Analyze if it's config port issue or DB not running?"
|
|
142
|
-
|
|
143
|
-
3. **"Iterative" Model**:
|
|
144
|
-
* Lap 1: "Create basic UI first."
|
|
145
|
-
* Lap 2: "Add CSS to make it pretty."
|
|
146
|
-
* Lap 3: "Optimize code to be cleaner."
|
|
147
|
-
* *(Don't force AI to be perfect in the very first prompt)*.
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
# PLAN: Upgrade Core Architecture to Context-Aware Rules
|
|
2
|
-
|
|
3
|
-
> **Goal**: Refactor `.agent/rules` from a monolithic design to a modular, context-aware structure leveraging Antigravity's advanced triggers (Glob, Model Decision).
|
|
4
|
-
|
|
5
|
-
---
|
|
6
|
-
|
|
7
|
-
## 1. Analysis & Strategy
|
|
8
|
-
|
|
9
|
-
**Current State:**
|
|
10
|
-
- Single `GEMINI.md` file doing everything.
|
|
11
|
-
- Wasted context tokens (loading Backend rules when working on CSS).
|
|
12
|
-
- Lack of file-specific enforcement.
|
|
13
|
-
|
|
14
|
-
**Target State:**
|
|
15
|
-
- **Modular**: Separate files for Security, Frontend, Backend, DevOps.
|
|
16
|
-
- **Context-Aware**:
|
|
17
|
-
- `glob`: Load Frontend rules ONLY for `.tsx/.css`.
|
|
18
|
-
- `model_decision`: Load Debug rules ONLY when needed.
|
|
19
|
-
- `always_on`: Keep Security & Personality active globally.
|
|
20
|
-
|
|
21
|
-
---
|
|
22
|
-
|
|
23
|
-
## 2. Execution Phase (Task Breakdown)
|
|
24
|
-
|
|
25
|
-
### Phase 2.1: Refactor Global Rules (`rules/`)
|
|
26
|
-
|
|
27
|
-
- [ ] **Update `GEMINI.md`**
|
|
28
|
-
- **Trigger**: `always_on`
|
|
29
|
-
- **Content**: Agent Identity, Core Ethics, PDCA Cycle, Socratic Gate.
|
|
30
|
-
|
|
31
|
-
- [ ] **Create `security.md`**
|
|
32
|
-
- **Trigger**: `always_on`
|
|
33
|
-
- **Content**: OWASP Top 10, Secret Management, `rm -rf` protection.
|
|
34
|
-
|
|
35
|
-
- [ ] **Create `frontend.md`**
|
|
36
|
-
- **Trigger**: `glob: "**/*.{js,jsx,ts,tsx,css,scss,html}"`
|
|
37
|
-
- **Content**: UI/UX Premium, Component patterns, State management.
|
|
38
|
-
|
|
39
|
-
- [ ] **Create `backend.md`**
|
|
40
|
-
- **Trigger**: `glob: "**/*.{py,js,ts,go,rs,sql,php}"` (Exclude frontend-only paths if possible, or assume overlap)
|
|
41
|
-
- **Content**: API Standards, DB Schema 3NF, Error Handling.
|
|
42
|
-
|
|
43
|
-
- [ ] **Create `debug.md`**
|
|
44
|
-
- **Trigger**: `model_decision` ("When the user needs to fix bugs, analyze errors, or troubleshoot issues.")
|
|
45
|
-
- **Content**: Root cause analysis, systematically reading files, test-first fix.
|
|
46
|
-
|
|
47
|
-
### Phase 2.2: Standardize Workflows (`workflows/`)
|
|
48
|
-
|
|
49
|
-
- [ ] Audit all 11 workflows.
|
|
50
|
-
- [ ] Ensure valid YAML frontmatter with `description` for correct Slash Command mapping.
|
|
51
|
-
|
|
52
|
-
### Phase 2.3: System Synchronization
|
|
53
|
-
|
|
54
|
-
- [ ] Update `setup.js` to ensure recursive copying of the new `rules/` structure.
|
|
55
|
-
- [ ] Update `README.vi.md` to explain the new "Context-Aware Rule System".
|
|
56
|
-
|
|
57
|
-
---
|
|
58
|
-
|
|
59
|
-
## 3. Verification Checklist
|
|
60
|
-
|
|
61
|
-
1. **Security Check**: Is `security.md` loaded even when editing a simple text file? (Yes, via `always_on`).
|
|
62
|
-
2. **Context Check**: Does `frontend.md` load when I open `App.tsx`?
|
|
63
|
-
3. **Smart Check**: Does `debug.md` load when I say "Fix this error"?
|
|
64
|
-
|
|
65
|
-
---
|
|
66
|
-
|
|
67
|
-
## 4. Agent Assignments
|
|
68
|
-
|
|
69
|
-
- **Architect**: `project-planner` (Created this plan)
|
|
70
|
-
- **Implementer**: `orchestrator` (Will execute file creations)
|
|
71
|
-
- **Validator**: `quality-inspector` (Will verify rule triggers)
|