antigravity-ide 4.0.4 → 4.0.5
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/{dx-toolkit → core/dx-toolkit}/README.md +12 -1
- package/.agent/.shared/{metrics → core/metrics}/README.md +12 -1
- package/.agent/.shared/{vitals-templates → core/vitals-templates}/README.md +11 -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/{design-system → technical/design-system}/README.md +12 -1
- package/.agent/.shared/technical/design-system/generation-rules.md +32 -0
- package/.agent/.shared/{i18n-master → technical/i18n-master}/README.md +12 -2
- package/.agent/.shared/{resilience-patterns → technical/resilience-patterns}/README.md +12 -1
- package/.agent/.shared/{security-armor → technical/security-armor}/README.md +12 -1
- package/.agent/.shared/{seo-master → technical/seo-master}/README.md +12 -1
- package/.agent/.shared/{testing-master → technical/testing-master}/README.md +11 -2
- package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/README.md +12 -1
- package/.agent/.shared/{compliance → verticals/compliance}/README.md +12 -1
- package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/README.md +10 -0
- package/.agent/.shared/{infra-blueprints → verticals/infra-blueprints}/README.md +12 -1
- package/.agent/ARCHITECTURE.md +6 -3
- package/.agent/RESOURCES.md +21 -12
- package/.agent/agents/backend-specialist.md +154 -19
- package/.agent/agents/cloud-architect.md +108 -189
- package/.agent/agents/code-archaeologist.md +101 -67
- package/.agent/agents/database-architect.md +105 -173
- package/.agent/agents/debugger.md +83 -182
- package/.agent/agents/devops-engineer.md +99 -189
- package/.agent/agents/documentation-writer.md +125 -72
- package/.agent/agents/explorer-agent.md +150 -52
- 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 -376
- package/.agent/agents/penetration-tester.md +113 -135
- package/.agent/agents/performance-optimizer.md +105 -136
- package/.agent/agents/product-manager.md +120 -73
- package/.agent/agents/product-owner.md +126 -64
- package/.agent/agents/project-planner.md +129 -38
- package/.agent/agents/qa-automation-engineer.md +118 -64
- 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/rules/GEMINI.md +14 -0
- package/.agent/rules/code-quality.md +37 -0
- package/.agent/rules/docs-update.md +2 -1
- package/.agent/rules/testing-standard.md +63 -0
- package/.agent/scripts/{auto-release.js → automation/auto-release.js} +35 -6
- package/.agent/scripts/{auto_preview.py → automation/auto_preview.py} +36 -10
- package/.agent/scripts/{translate_workflows.py → automation/translate_workflows.py} +36 -1
- package/.agent/scripts/{session_manager.py → internal/session_manager.py} +36 -0
- package/.agent/scripts/{simulation_install.js → internal/simulation_install.js} +9 -1
- package/.agent/scripts/{sync_to_global.py → internal/sync_to_global.py} +37 -1
- package/.agent/scripts/{update-docs.js → internal/update-docs.js} +45 -7
- package/.agent/scripts/verification/audit-dna.js +56 -0
- package/.agent/scripts/verification/audit-skills.js +65 -0
- package/.agent/scripts/{checklist.py → verification/checklist.py} +42 -2
- package/.agent/scripts/{verify_all.py → verification/verify_all.py} +35 -22
- package/.agent/scripts/{verify_shared_modules.js → verification/verify_shared_modules.js} +62 -0
- package/.agent/skills/agent-orchestration/SKILL.md +8 -0
- package/.agent/skills/ai-engineer/SKILL.md +5 -4
- package/.agent/skills/antfu-coding-style/SKILL.md +58 -0
- package/.agent/skills/api-documenter/SKILL.md +4 -4
- package/.agent/skills/api-patterns/SKILL.md +4 -2
- package/.agent/skills/app-builder/SKILL.md +4 -2
- package/.agent/skills/architecture/SKILL.md +4 -2
- package/.agent/skills/bash-linux/SKILL.md +4 -2
- package/.agent/skills/behavioral-modes/SKILL.md +4 -2
- package/.agent/skills/brainstorming/SKILL.md +4 -2
- package/.agent/skills/clean-code/SKILL.md +3 -3
- package/.agent/skills/cloud-architect-master/SKILL.md +4 -4
- package/.agent/skills/code-review-checklist/SKILL.md +4 -2
- package/.agent/skills/cro-expert-kit/SKILL.md +4 -4
- package/.agent/skills/daily-news-report/SKILL.md +67 -0
- package/.agent/skills/database-design/SKILL.md +4 -2
- package/.agent/skills/database-migration/SKILL.md +4 -3
- package/.agent/skills/deployment-engineer/SKILL.md +4 -3
- package/.agent/skills/deployment-procedures/SKILL.md +4 -2
- package/.agent/skills/documentation-templates/SKILL.md +4 -2
- package/.agent/skills/filesystem-mcp/SKILL.md +42 -0
- package/.agent/skills/frontend-design/SKILL.md +4 -2
- 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 +4 -2
- 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 +3 -1
- package/.agent/skills/git-collaboration-master/SKILL.md +4 -4
- package/.agent/skills/github-mcp/SKILL.md +50 -0
- package/.agent/skills/i18n-localization/SKILL.md +4 -2
- package/.agent/skills/incident-responder/SKILL.md +4 -6
- package/.agent/skills/intelligent-routing/SKILL.md +4 -2
- package/.agent/skills/langgraph-engineering/SKILL.md +69 -0
- package/.agent/skills/legacy-modernizer/SKILL.md +4 -4
- package/.agent/skills/lint-and-validate/SKILL.md +4 -2
- package/.agent/skills/malware-analyst/SKILL.md +4 -3
- package/.agent/skills/mcp-builder/SKILL.md +4 -2
- package/.agent/skills/mobile-design/SKILL.md +4 -2
- package/.agent/skills/modern-web-architect/SKILL.md +4 -3
- package/.agent/skills/modern-web-performance/SKILL.md +8 -0
- package/.agent/skills/nextjs-react-expert/SKILL.md +4 -2
- package/.agent/skills/nodejs-best-practices/SKILL.md +4 -2
- package/.agent/skills/notion-mcp/SKILL.md +41 -0
- package/.agent/skills/parallel-agents/SKILL.md +4 -2
- package/.agent/skills/penetration-tester-master/SKILL.md +4 -4
- package/.agent/skills/performance-engineer/SKILL.md +4 -5
- package/.agent/skills/performance-profiling/SKILL.md +3 -1
- package/.agent/skills/plan-writing/SKILL.md +4 -2
- package/.agent/skills/postgres-best-practices/SKILL.md +54 -0
- package/.agent/skills/postgres-mcp/SKILL.md +32 -0
- package/.agent/skills/powershell-windows/SKILL.md +4 -2
- package/.agent/skills/puppeteer-mcp/SKILL.md +45 -0
- package/.agent/skills/python-patterns/SKILL.md +4 -2
- package/.agent/skills/react-best-practices/SKILL.md +73 -0
- package/.agent/skills/react-native-best-practices/SKILL.md +48 -0
- package/.agent/skills/red-team-tactics/SKILL.md +4 -2
- package/.agent/skills/rust-pro/SKILL.md +71 -0
- package/.agent/skills/security-auditor/SKILL.md +4 -3
- package/.agent/skills/seo-expert-kit/SKILL.md +4 -4
- package/.agent/skills/seo-fundamentals/SKILL.md +3 -1
- package/.agent/skills/server-management/SKILL.md +4 -2
- package/.agent/skills/systematic-debugging/SKILL.md +4 -2
- package/.agent/skills/tailwind-patterns/SKILL.md +4 -2
- package/.agent/skills/tdd-master-workflow/SKILL.md +4 -3
- package/.agent/skills/tdd-workflow/SKILL.md +3 -1
- package/.agent/skills/testing-patterns/SKILL.md +3 -1
- package/.agent/skills/ui-ux-pro-max-skill/SKILL.md +5 -4
- package/.agent/skills/vercel-deploy/SKILL.md +51 -0
- package/.agent/skills/voice-ai-engine-development/SKILL.md +60 -0
- package/.agent/skills/vulnerability-scanner/SKILL.md +4 -2
- package/.agent/skills/web-design-guidelines/SKILL.md +4 -5
- package/.agent/skills/webapp-testing/SKILL.md +3 -1
- package/.agent/workflows/api.md +29 -0
- package/.agent/workflows/audit.md +30 -16
- package/.agent/workflows/blog.md +22 -0
- package/.agent/workflows/brainstorm.md +33 -96
- package/.agent/workflows/compliance.md +25 -0
- 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/explain.md +20 -0
- package/.agent/workflows/mobile.md +27 -0
- package/.agent/workflows/monitor.md +35 -14
- package/.agent/workflows/orchestrate.md +31 -218
- package/.agent/workflows/performance.md +51 -0
- package/.agent/workflows/plan.md +39 -70
- package/.agent/workflows/portfolio.md +22 -0
- package/.agent/workflows/realtime.md +25 -0
- 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/update-docs.md +37 -77
- package/.agent/workflows/visually.md +22 -0
- package/COPYRIGHT.md +17 -36
- package/DEPLOYMENT.md +2 -2
- package/GEMINI_GUIDE.md +1 -1
- package/LICENSE +22 -8
- package/MASTER_GUIDE.md +46 -67
- package/PUBLISHING.md +25 -0
- package/README.md +84 -77
- package/README.vi.md +61 -81
- package/SKILLS.md +25 -14
- package/VERSION +1 -1
- package/action.yml +32 -0
- package/antigravity-ide-logo.png +0 -0
- package/cli/create.js +163 -115
- package/cli/index.js +12 -2
- package/cli/init.js +74 -0
- package/cli/logic/manifest-manager.js +135 -0
- package/cli/logic/product-skills.js +26 -9
- package/cli/logic/scale-rules.js +39 -14
- package/cli/logic/skill-definitions.js +43 -39
- package/cli/prompts.js +38 -15
- package/cli/templates/agent-structure.js +67 -0
- package/debug-instant/.agent/.shared/core/design-philosophy/MANIFESTO.md +85 -0
- package/debug-instant/.agent/.shared/core/design-philosophy/README.md +43 -0
- package/debug-instant/.agent/.shared/core/design-philosophy/checklists/tactile_audit.md +21 -0
- package/debug-instant/.agent/.shared/core/design-philosophy/checklists/visual_audit.md +20 -0
- package/debug-instant/.agent/.shared/core/design-philosophy/presets/linear_glow.json +20 -0
- package/debug-instant/.agent/.shared/core/dx-toolkit/ENGINEERING_STANDARDS.md +25 -0
- package/debug-instant/.agent/.shared/core/dx-toolkit/README.md +30 -0
- package/debug-instant/.agent/.shared/core/dx-toolkit/checklists/code_review.md +18 -0
- package/debug-instant/.agent/.shared/core/dx-toolkit/presets/vscode_settings.json +15 -0
- package/debug-instant/.agent/.shared/core/metrics/README.md +28 -0
- package/debug-instant/.agent/.shared/core/metrics/benchmarks.json +28 -0
- package/debug-instant/.agent/.shared/core/vitals-templates/README.md +28 -0
- package/debug-instant/.agent/.shared/core/vitals-templates/audit_report.md +20 -0
- package/debug-instant/.agent/.shared/core/vitals-templates/plan_prd.md +22 -0
- package/debug-instant/.agent/.shared/technical/ai-master/README.md +36 -0
- package/debug-instant/.agent/.shared/technical/ai-master/RESEARCH_PROTOCOL.md +23 -0
- package/debug-instant/.agent/.shared/technical/ai-master/best_patterns.md +24 -0
- package/debug-instant/.agent/.shared/technical/ai-master/checklists/prompt_audit.md +20 -0
- package/debug-instant/.agent/.shared/technical/ai-master/presets/model_configs.json +21 -0
- package/debug-instant/.agent/.shared/technical/api-standards/README.md +36 -0
- package/debug-instant/.agent/.shared/technical/api-standards/data +21 -0
- package/debug-instant/.agent/.shared/technical/api-standards/endpoints_naming.md +19 -0
- package/debug-instant/.agent/.shared/technical/api-standards/error_codes.csv +9 -0
- package/debug-instant/.agent/.shared/technical/api-standards/pagination_sorting.md +15 -0
- package/debug-instant/.agent/.shared/technical/api-standards/response_format.json +25 -0
- package/debug-instant/.agent/.shared/technical/database-master/README.md +30 -0
- package/debug-instant/.agent/.shared/technical/database-master/schemas/auth_rbac.sql +45 -0
- package/debug-instant/.agent/.shared/technical/database-master/schemas/cms.sql +47 -0
- package/debug-instant/.agent/.shared/technical/database-master/schemas/ecommerce.sql +50 -0
- package/debug-instant/.agent/.shared/technical/design-system/README.md +29 -0
- package/debug-instant/.agent/.shared/technical/design-system/brand_presets.json +54 -0
- package/debug-instant/.agent/.shared/technical/design-system/generation-rules.md +32 -0
- package/debug-instant/.agent/.shared/technical/design-system/micro_interactions.md +23 -0
- package/debug-instant/.agent/.shared/technical/i18n-master/README.md +28 -0
- package/debug-instant/.agent/.shared/technical/i18n-master/vi_tech_dictionary.csv +14 -0
- package/debug-instant/.agent/.shared/technical/i18n-master/workflows.json +46 -0
- package/debug-instant/.agent/.shared/technical/resilience-patterns/README.md +30 -0
- package/debug-instant/.agent/.shared/technical/resilience-patterns/checklists/chaos_engineering.md +16 -0
- package/debug-instant/.agent/.shared/technical/resilience-patterns/presets/circuit_breaker.json +21 -0
- package/debug-instant/.agent/.shared/technical/security-armor/README.md +36 -0
- package/debug-instant/.agent/.shared/technical/security-armor/checklists/vuln_scan.md +19 -0
- package/debug-instant/.agent/.shared/technical/security-armor/hardening.md +18 -0
- package/debug-instant/.agent/.shared/technical/security-armor/presets/helmet_config.json +22 -0
- package/debug-instant/.agent/.shared/technical/seo-master/README.md +31 -0
- package/debug-instant/.agent/.shared/technical/seo-master/checklists/technical_seo.md +18 -0
- package/debug-instant/.agent/.shared/technical/seo-master/presets/json_ld_schema.json +29 -0
- package/debug-instant/.agent/.shared/technical/testing-master/README.md +29 -0
- package/debug-instant/.agent/.shared/technical/testing-master/checklists/pre_release.md +17 -0
- package/debug-instant/.agent/.shared/technical/testing-master/scenarios.md +20 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/AESTHETICS.md +27 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/README.md +31 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/charts.csv +26 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/colors.csv +97 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/icons.csv +101 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/landing.csv +31 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/products.csv +97 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/prompts.csv +24 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/styles.csv +59 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/typography.csv +58 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/debug-instant/.agent/.shared/technical/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/debug-instant/.agent/.shared/verticals/compliance/README.md +30 -0
- package/debug-instant/.agent/.shared/verticals/compliance/legal_templates.md +30 -0
- package/debug-instant/.agent/.shared/verticals/domain-blueprints/README.md +28 -0
- package/debug-instant/.agent/.shared/verticals/domain-blueprints/edtech.md +52 -0
- package/debug-instant/.agent/.shared/verticals/domain-blueprints/fintech.md +54 -0
- package/debug-instant/.agent/.shared/verticals/domain-blueprints/fnb_restaurant.md +53 -0
- package/debug-instant/.agent/.shared/verticals/domain-blueprints/freelance_marketplace.md +51 -0
- package/debug-instant/.agent/.shared/verticals/domain-blueprints/healthcare.md +54 -0
- package/debug-instant/.agent/.shared/verticals/domain-blueprints/hospitality_tourism.md +50 -0
- package/debug-instant/.agent/.shared/verticals/domain-blueprints/logistics.md +56 -0
- package/debug-instant/.agent/.shared/verticals/domain-blueprints/marketing_automation.md +48 -0
- package/debug-instant/.agent/.shared/verticals/domain-blueprints/personal_branding.md +51 -0
- package/debug-instant/.agent/.shared/verticals/domain-blueprints/real_estate.md +51 -0
- package/debug-instant/.agent/.shared/verticals/domain-blueprints/retail_ecommerce.md +50 -0
- package/debug-instant/.agent/.shared/verticals/domain-blueprints/standard-pro-agents.md +55 -0
- package/debug-instant/.agent/.shared/verticals/infra-blueprints/README.md +29 -0
- package/debug-instant/.agent/.shared/verticals/infra-blueprints/deployment_specs.md +17 -0
- package/debug-instant/.agent/GEMINI.md +62 -0
- package/debug-instant/.agent/RESOURCES.md +48 -0
- package/debug-instant/.agent/START_HERE.md +109 -0
- package/debug-instant/.agent/agents/frontend-specialist.md +590 -0
- package/debug-instant/.agent/agents/mobile-developer.md +164 -0
- package/debug-instant/.agent/agents/product-manager.md +159 -0
- package/debug-instant/.agent/agents/project-planner.md +157 -0
- package/debug-instant/.agent/rules/GEMINI.md +76 -0
- package/debug-instant/.agent/rules/code-quality.md +37 -0
- package/debug-instant/.agent/rules/debug.md +38 -0
- package/debug-instant/.agent/rules/docs-update.md +82 -0
- package/debug-instant/.agent/rules/frontend.md +39 -0
- package/debug-instant/README.md +121 -0
- package/package.json +15 -8
- package/test_stress_results.txt +0 -0
- package/.agent/agents/codebase-expert.md +0 -23
- package/.agent/workflows/plan-auto-update-chat.md +0 -27
- /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}/ENGINEERING_STANDARDS.md +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}/RESEARCH_PROTOCOL.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}/AESTHETICS.md +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/charts.csv +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/prompts.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/styles.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/typography.csv +0 -0
- /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/ui-reasoning.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
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: design-philosophy
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: core
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- visual_audit
|
|
7
|
+
- tactile_audit
|
|
8
|
+
references:
|
|
9
|
+
- rules: [frontend.md, quality-inspector.md]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# 🎨 Design Philosophy & Aesthetic Core
|
|
2
13
|
|
|
3
14
|
> **Status**: Internalized Wisdom
|
|
4
15
|
> **Type**: Shared Module (Philosophy & Assets)
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: dx-toolkit
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: core
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- engineering_standards
|
|
7
|
+
- code_review_checklist
|
|
8
|
+
references:
|
|
9
|
+
- rules: [code-quality.md, orchestrator.md]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# 🛠️ DX Toolkit & Engineering Standards
|
|
2
13
|
|
|
3
14
|
> **Status**: Developer Experience
|
|
4
15
|
> **Type**: Shared Module (Workflow Optimization)
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: metrics
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: core
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- performance_baseline
|
|
7
|
+
- quality_benchmarks
|
|
8
|
+
references:
|
|
9
|
+
- rules: [code-quality.md]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# 📊 System Metrics & Quality Benchmarks
|
|
2
13
|
|
|
3
14
|
> **Status**: Observability
|
|
4
15
|
> **Type**: Shared Module (Monitoring & KPI)
|
|
@@ -1,4 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: vitals-templates
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: core
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- web_vitals_audit
|
|
7
|
+
references:
|
|
8
|
+
- rules: [frontend.md, performance-optimizer.md]
|
|
9
|
+
---
|
|
10
|
+
|
|
11
|
+
# 📈 Vitals Templates & Performance Patterns
|
|
2
12
|
|
|
3
13
|
> **Status**: Performance Optimization
|
|
4
14
|
> **Type**: Shared Module (CWV & Speed)
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: ai-master
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: technical
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- prompt_audit
|
|
7
|
+
- agency_verification
|
|
8
|
+
references:
|
|
9
|
+
- rules: [ai-engineer.md, langgraph-engineering.md]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# 🤖 AI Master & Agentic Design Patterns
|
|
2
13
|
|
|
3
14
|
> **Status**: Core Capability
|
|
4
15
|
> **Type**: Shared Module (Prompts & Patterns)
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: api-standards
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: technical
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- restful_compliance
|
|
7
|
+
- naming_consistency
|
|
8
|
+
references:
|
|
9
|
+
- rules: [backend.md]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# 🔌 API Standards & Communication Protocol
|
|
2
13
|
|
|
3
14
|
> **Status**: Interface Contract
|
|
4
15
|
> **Type**: Shared Module (Specs & Formats)
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: database-master
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: technical
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- schema_integrity
|
|
7
|
+
- 3nf_validation
|
|
8
|
+
references:
|
|
9
|
+
- rules: [backend.md, database-architect.md]
|
|
10
|
+
---
|
|
2
11
|
|
|
3
|
-
|
|
12
|
+
# 📁 Database Master Schemas & 3NF Patterns
|
|
13
|
+
**: Data Core
|
|
4
14
|
> **Type**: Shared Module (Schemas & optimization)
|
|
5
15
|
|
|
6
16
|
This module centralizes database design patterns, schema standards, and migration strategies.
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: design-system
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: technical
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- aesthetic_consistency
|
|
7
|
+
- accessibility_check
|
|
8
|
+
references:
|
|
9
|
+
- rules: [frontend.md, ui-ux-designer.md]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# 🎨 Design System & Visual Grammar
|
|
2
13
|
|
|
3
14
|
> **Status**: Visual Language
|
|
4
15
|
> **Type**: Shared Module (Tokens & Components)
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# Intelligent Design System Generation Rules (v2.0)
|
|
2
|
+
|
|
3
|
+
> **Context**: Applied when using `/ui-ux-pro-max` or `frontend-specialist` to generate a new Design System.
|
|
4
|
+
|
|
5
|
+
## 1. Five-Domain Parallel Search
|
|
6
|
+
The generator MUST search these 5 domains concurrently to form a cohesive system:
|
|
7
|
+
1. **Product Domain**: What is the core function? (e.g., Fintech, Health, Social).
|
|
8
|
+
2. **Style Archetype**: Which aesthetic fits? (e.g., Swiss Minimal, Cyberpunk, Neo-Brutalism).
|
|
9
|
+
3. **Color Psychology**: Which palette drives the desired emotion? (Trust -> Blue, Action -> Red).
|
|
10
|
+
4. **Typography**: Which font pairing ensures readability + character? (Sans + Serif, Mono + Sans).
|
|
11
|
+
5. **Layout Strategy**: Dense (Dashboard) vs Airy (Landing).
|
|
12
|
+
|
|
13
|
+
## 2. The 100-Point Check
|
|
14
|
+
Each generated token (color, spacing, shadow) must pass:
|
|
15
|
+
- **Contrast Ratio**: WCAG AA (4.5:1) minimum for text.
|
|
16
|
+
- **Scale Consistency**: Spacing follows 4px grid (0.25rem).
|
|
17
|
+
- **Naming Convention**: `design-token-usage` (e.g., `text-primary`, `bg-surface-200`).
|
|
18
|
+
- **Dark Mode Support**: Every token must have a semantic counterpart in dark mode.
|
|
19
|
+
|
|
20
|
+
## 3. Output Artifacts
|
|
21
|
+
The generator must produce:
|
|
22
|
+
1. `tailwind.config.js`: Extended theme configuration.
|
|
23
|
+
2. `global.css`: CSS variables for root and dark mode.
|
|
24
|
+
3. `components.json`: Shadcn/ui configuration (if applicable).
|
|
25
|
+
4. `brand-guide.md`: Human-readable documentation of the choices.
|
|
26
|
+
|
|
27
|
+
## 4. Fallback Protocol
|
|
28
|
+
If input is vague (e.g., "Make it pop"):
|
|
29
|
+
- Defaults to **"Modern SaaS"** archetype.
|
|
30
|
+
- Palette: **Indigo/Slate**.
|
|
31
|
+
- Font: **Inter/Geist**.
|
|
32
|
+
- Radius: **Medium (0.5rem)**.
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: i18n-master
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: technical
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- translation_coverage
|
|
7
|
+
- locale_consistency
|
|
8
|
+
references:
|
|
9
|
+
- rules: [i18n-localization.md]
|
|
10
|
+
---
|
|
2
11
|
|
|
3
|
-
|
|
12
|
+
# 🌐 i18n Master & Localization Strategy
|
|
13
|
+
us**: Global Reach
|
|
4
14
|
> **Type**: Shared Module (Localization)
|
|
5
15
|
|
|
6
16
|
This module standardizes internationalization (i18n) and localization (l10n) practices.
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: resilience-patterns
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: technical
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- error_handling_audit
|
|
7
|
+
- chaos_test_pass
|
|
8
|
+
references:
|
|
9
|
+
- rules: [backend.md, devops-engineer.md]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# 🏗️ Resilience Patterns & Fault Tolerance
|
|
2
13
|
|
|
3
14
|
> **Status**: Deep Tech / Enterprise
|
|
4
15
|
> **Type**: Shared Module (System Stability)
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: security-armor
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: technical
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- vuln_scan
|
|
7
|
+
- hardening_verify
|
|
8
|
+
references:
|
|
9
|
+
- rules: [security.md, malware-protection.md]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# 🛡️ Security Armor & Hardening Guide
|
|
2
13
|
|
|
3
14
|
> **Status**: Critical Defense
|
|
4
15
|
> **Type**: Shared Module (Audits & Configs)
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: seo-master
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: technical
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- lighthouse_seo_audit
|
|
7
|
+
- mobile_usability_check
|
|
8
|
+
references:
|
|
9
|
+
- rules: [seo-fundamentals.md, seo-specialist.md]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# 🚀 SEO Master & GEO Optimization DNA
|
|
2
13
|
|
|
3
14
|
> **Status**: Growth Engines
|
|
4
15
|
> **Type**: Shared Module (Traffic & Visibility)
|
|
@@ -1,6 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: testing-master
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: technical
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- test_coverage_audit
|
|
7
|
+
- scenario_matching
|
|
8
|
+
references:
|
|
9
|
+
- rules: [testing-standard.md, test-engineer.md]
|
|
10
|
+
---
|
|
2
11
|
|
|
3
|
-
|
|
12
|
+
# 🧪 Testing Master Scenarios & QA Patterns
|
|
4
13
|
> **Type**: Shared Module (Checklists & Scenarios)
|
|
5
14
|
|
|
6
15
|
This module defines the testing phases and acceptance criteria.
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: ui-ux-pro-max
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: technical
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- aesthetics_audit
|
|
7
|
+
- animation_smoothness
|
|
8
|
+
references:
|
|
9
|
+
- rules: [frontend.md, ui-ux-pro-max.md]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# ✨ UI/UX Pro Max & Aesthetic DNA
|
|
2
13
|
|
|
3
14
|
> **Status**: Premium Design
|
|
4
15
|
> **Type**: Shared Module (Advanced Tooling)
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: compliance
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: vertical
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- legal_review
|
|
7
|
+
- gdpr_audit
|
|
8
|
+
references:
|
|
9
|
+
- rules: [compliance.md]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# ⚖️ Compliance & Legal Blueprint
|
|
2
13
|
|
|
3
14
|
> **Status**: Regulatory Guard
|
|
4
15
|
> **Type**: Shared Module (Policies & Audits)
|
|
@@ -1,3 +1,13 @@
|
|
|
1
|
+
---
|
|
2
|
+
module: domain-blueprints
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: vertical
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- domain_logic_alignment
|
|
7
|
+
references:
|
|
8
|
+
- rules: [business.md, product-manager.md]
|
|
9
|
+
---
|
|
10
|
+
|
|
1
11
|
# 🏗️ Domain Blueprints Module
|
|
2
12
|
|
|
3
13
|
> **Status**: Vertical Architecture
|
|
@@ -1,4 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
module: infra-blueprints
|
|
3
|
+
version: 4.2.0
|
|
4
|
+
layer: vertical
|
|
5
|
+
compliance_gates:
|
|
6
|
+
- deployment_readiness
|
|
7
|
+
- scaled_architecture_check
|
|
8
|
+
references:
|
|
9
|
+
- rules: [infra-review.md, devops-engineer.md]
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# 🏗️ Infra Blueprints & Scaled Deployment
|
|
2
13
|
|
|
3
14
|
> **Status**: Cloud Foundation
|
|
4
15
|
> **Type**: Shared Module (IaC & Topology)
|
package/.agent/ARCHITECTURE.md
CHANGED
|
@@ -8,9 +8,9 @@
|
|
|
8
8
|
|
|
9
9
|
Antigravity Kit is a modular system consisting of:
|
|
10
10
|
|
|
11
|
-
- **
|
|
12
|
-
- **
|
|
13
|
-
- **
|
|
11
|
+
- **23 Specialist Agents** - Role-based AI personas
|
|
12
|
+
- **58+4 Master Skills** - Consolidating 650+ capabilities & patterns
|
|
13
|
+
- **22 Workflows** - Slash command procedures
|
|
14
14
|
|
|
15
15
|
---
|
|
16
16
|
|
|
@@ -46,6 +46,9 @@ Antigravity Kit is a modular system consisting of:
|
|
|
46
46
|
| `game-developer` | **Worker** | Immersive Experiences |
|
|
47
47
|
| `debugger` | **Worker** | Troubleshooting & Hotfixing |
|
|
48
48
|
| `seo-specialist` | **Worker** | Growth & Search Optimization |
|
|
49
|
+
| `voice-ai-engineer` | **Worker** | Real-time Voice Agents (NEW) |
|
|
50
|
+
| `rust-expert` | **Worker** | System Programming (NEW) |
|
|
51
|
+
| `react-architect` | **Worker** | Next.js Enterprise Patterns (NEW) |
|
|
49
52
|
|
|
50
53
|
---
|
|
51
54
|
|
package/.agent/RESOURCES.md
CHANGED
|
@@ -5,31 +5,40 @@ Lưu trữ danh sách các repo nguồn để tiện cho việc cập nhật h
|
|
|
5
5
|
|
|
6
6
|
### Core System
|
|
7
7
|
- **Google Antigravity Lab**: `https://github.com/Dokhacgiakhoa/antigravity-lab` (Repo hiện tại)
|
|
8
|
-
- **Google Antigravity Core**: `https://github.com/Dokhacgiakhoa/
|
|
8
|
+
- **Google Antigravity Core**: `https://github.com/Dokhacgiakhoa/antigravity-ide` (Core CLI & Skills)
|
|
9
|
+
|
|
10
|
+
### Official Documentation (The Source of Truth)
|
|
11
|
+
- **Antigravity Docs**: `https://antigravity.google/docs`
|
|
12
|
+
- **Agent Configuration**: `https://developers.google.com/antigravity/agent-configuration`
|
|
13
|
+
- **Model Context Protocol (MCP)**: `https://modelcontextprotocol.io/`
|
|
14
|
+
- **Gemini MCP Server**: `https://github.com/google-gemini/mcp-server`
|
|
9
15
|
|
|
10
16
|
### Antigravity Skills Ecosystem
|
|
17
|
+
- **Official MCP Servers**: `https://github.com/modelcontextprotocol/servers` (Standard Blueprints)
|
|
18
|
+
- **Antigravity Skills Tutorial**: `https://github.com/rominirani/antigravity-skills` (Levels 1-5)
|
|
11
19
|
- **Antigravity Kit (VUDOVN)**: `https://github.com/vudovn/antigravity-kit`
|
|
12
20
|
- **Awesome Skills (Sickn33)**: `https://github.com/sickn33/antigravity-awesome-skills`
|
|
13
21
|
- **UI/UX Pro Max (NextLevelBuilder)**: `https://github.com/nextlevelbuilder/ui-ux-pro-max-skill`
|
|
14
|
-
- **AI Research Sills (Orchestra-Research)**: `https://github.com/Orchestra-Research/AI-research-SKILLs`
|
|
15
|
-
- **Open Skills (Numman-Ali)**: `https://github.com/numman-ali/openskills`
|
|
16
22
|
|
|
17
23
|
### Community Skills Collections
|
|
18
|
-
- **
|
|
19
|
-
- **
|
|
24
|
+
- **MCP Server Registry (Glama)**: `https://glama.ai/mcp/servers`
|
|
25
|
+
- **Cursor Directory (Rules)**: `https://cursor.directory/`
|
|
26
|
+
- **System Prompts**: `https://github.com/mustvlad/ChatGPT-System-Prompts`
|
|
27
|
+
- **Vercel Agent Skills**: `https://github.com/vercel-labs/agent-skills/tree/main/skills`
|
|
28
|
+
- **Anthony Fu Skills**: `https://github.com/antfu/skills`
|
|
20
29
|
|
|
21
30
|
### Advanced AI Frameworks & Agents
|
|
22
|
-
- **Microsoft AutoGen**: `https://github.com/microsoft/autogen`
|
|
23
|
-
- **LangGraph**: `https://github.com/langchain-ai/langgraph`
|
|
24
|
-
- **Microsoft Semantic Kernel**: `https://github.com/microsoft/semantic-kernel`
|
|
25
|
-
- **SuperAGI**: `https://github.com/TransformerOptimus/SuperAGI`
|
|
31
|
+
- **Microsoft AutoGen**: `https://github.com/microsoft/autogen`
|
|
32
|
+
- **LangGraph**: `https://github.com/langchain-ai/langgraph`
|
|
33
|
+
- **Microsoft Semantic Kernel**: `https://github.com/microsoft/semantic-kernel`
|
|
34
|
+
- **SuperAGI**: `https://github.com/TransformerOptimus/SuperAGI`
|
|
26
35
|
|
|
27
36
|
### Automation & Workflows
|
|
28
|
-
- **n8n**: `https://github.com/n8n-io/n8n`
|
|
37
|
+
- **n8n**: `https://github.com/n8n-io/n8n`
|
|
29
38
|
|
|
30
39
|
### Prompts & Productivity Tools
|
|
31
|
-
- **Fabric (Daniel Miessler)**: `https://github.com/danielmiessler/fabric`
|
|
32
|
-
- **Awesome ChatGPT Prompts**: `https://github.com/f/prompts.chat`
|
|
40
|
+
- **Fabric (Daniel Miessler)**: `https://github.com/danielmiessler/fabric`
|
|
41
|
+
- **Awesome ChatGPT Prompts**: `https://github.com/f/prompts.chat`
|
|
33
42
|
|
|
34
43
|
---
|
|
35
44
|
|
|
@@ -1,34 +1,169 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: backend-specialist
|
|
3
3
|
description: >
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
Senior Principal Backend Engineer & Systems Architect. Expert in API design,
|
|
5
|
+
scalable microservices, and database performance. Triggers on backend, API,
|
|
6
|
+
database, persistence, business logic, system architecture.
|
|
7
7
|
---
|
|
8
8
|
|
|
9
|
-
#
|
|
9
|
+
# Senior Principal Backend Engineer
|
|
10
10
|
|
|
11
|
-
You are a
|
|
11
|
+
You are a Senior Principal Backend Engineer and Systems Architect. You design, build, and maintain the invisible but vital engines that power complex applications. You move beyond "just making it work" to ensuring systems are resilient, idempotent, and highly performant.
|
|
12
|
+
|
|
13
|
+
## 📑 Quick Navigation
|
|
14
|
+
|
|
15
|
+
### Engineering Philosophy
|
|
16
|
+
- [Your Philosophy](#your-philosophy)
|
|
17
|
+
- [The Performance-First Mindset](#your-mindset)
|
|
18
|
+
- [Scientific Linkage (DNA)](#🔗-scientific-linkage-dna--standards)
|
|
19
|
+
|
|
20
|
+
### Strategic Frameworks
|
|
21
|
+
- [Deep Requirement Analysis (Mandatory)](#-deep-backend-thinking-mandatory---before-any-architecture)
|
|
22
|
+
- [API Decision Framework](#api-decision-matrix)
|
|
23
|
+
- [Scale-Aware Strategy](#-scale-aware-strategy)
|
|
24
|
+
|
|
25
|
+
### Quality & Performance
|
|
26
|
+
- [Critical Infrastructure Checkpoints](#-mandatory-infrastructure-checkpoints)
|
|
27
|
+
- [2025 Backend Anti-Patterns (Forbidden)](#-the-modern-backend-anti-patterns-strictly-forbidden)
|
|
28
|
+
- [Troubleshooting & Root Cause Analysis](#-phase-4-troubleshooting--root-cause-analysis-rca)
|
|
29
|
+
|
|
30
|
+
---
|
|
31
|
+
|
|
32
|
+
## 🔗 Scientific Linkage (DNA & Standards)
|
|
33
|
+
All backend logic must align with:
|
|
34
|
+
- **API Standards**: [`.agent/.shared/api-standards.md`](file:///.agent/.shared/api-standards.md)
|
|
35
|
+
- **Database Schema**: [`.agent/.shared/database-schema.md`](file:///.agent/.shared/database-schema.md)
|
|
36
|
+
- **Security Rules**: [`.agent/rules/security.md`](file:///.agent/rules/security.md)
|
|
37
|
+
- **Performance Guidelines**: [`.agent/rules/performance.md`](file:///.agent/rules/performance.md)
|
|
38
|
+
|
|
39
|
+
## ⚡ Tooling Shortcuts
|
|
40
|
+
- **Generate API Docs**: `npm run docs:api`
|
|
41
|
+
- **Run Migrations**: `npx prisma migrate dev`
|
|
42
|
+
- **Profile Performance**: `npm run profile:backend`
|
|
43
|
+
- **Debug System**: `/debug` (Analyze backend errors)
|
|
44
|
+
|
|
45
|
+
## 🟢 Scale-Aware Strategy
|
|
46
|
+
Adjust your rigor based on the Project Scale:
|
|
47
|
+
|
|
48
|
+
| Scale | Backend Strategy |
|
|
49
|
+
|-------|------------------|
|
|
50
|
+
| **Instant (MVP)** | **Monolith-First**: Focus on speed. Use simple REST. Shared state is okay if it speeds up delivery. |
|
|
51
|
+
| **Creative (R&D)** | **Experimental**: Test new runtime (Bun/Deno/Rust). Focus on high throughput or unique capabilities. |
|
|
52
|
+
| **SME (Enterprise)** | **Robustness**: Microservices/Modular Monolith. Strict Layered Arch. Event-driven where appropriate. 99.9% Uptime focus. |
|
|
53
|
+
|
|
54
|
+
---
|
|
55
|
+
|
|
56
|
+
## Your Philosophy
|
|
57
|
+
|
|
58
|
+
**Backend is the source of truth.** If the frontend is the skin, you are the skeleton and the heart. You don't just "expose data"; you ensure that data is safe, consistent, and delivered with the lowest possible latency. You believe that **"Code is a liability; data is a treasure."**
|
|
59
|
+
|
|
60
|
+
## Your Mindset
|
|
61
|
+
|
|
62
|
+
When building backend systems, you operate with these core principles:
|
|
63
|
+
|
|
64
|
+
- **Failure-First Design**: Design for what happens when the DB is slow or the third-party API is down.
|
|
65
|
+
- **Idempotency is Safety**: Critical operations (payments, state changes) must be safe to retry.
|
|
66
|
+
- **Metrics are Reality**: You don't guess performance; you read the logs and the flamegraphs.
|
|
67
|
+
- **Observability over Monitoring**: You don't just want to know if it's down; you want to know *why* it's slow.
|
|
68
|
+
- **Stateless by Default**: Scaling horizontally should be a matter of turning a dial.
|
|
69
|
+
- **Contract is Law**: Once an API is public (or shared), you do not break the schema.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
## 🧠 DEEP BACKEND THINKING (MANDATORY - BEFORE ANY ARCHITECTURE)
|
|
74
|
+
|
|
75
|
+
**⛔ DO NOT start coding until you complete this internal analysis!**
|
|
76
|
+
|
|
77
|
+
### Step 1: Constraint & Traffic Analysis (Internal Thinking)
|
|
78
|
+
Before writing a single endpoint, answer:
|
|
79
|
+
- **Traffic Profile:** Is it Read-heavy or Write-heavy?
|
|
80
|
+
- **Consistency vs Availability:** Are we prioritizing ACID (Transactions) or BASE (Availability)?
|
|
81
|
+
- **Data Freshness:** Does the user need real-time data or is 500ms lag okay?
|
|
82
|
+
- **Dependency Map:** Which external services are we blocking on?
|
|
83
|
+
|
|
84
|
+
### Step 2: Mandatory Critical Questions for the User
|
|
85
|
+
**You MUST ask these if unspecified:**
|
|
86
|
+
- "How many requests/second are we expecting during peak?"
|
|
87
|
+
- "What is the acceptable latency (p99) for this endpoint?"
|
|
88
|
+
- "Does this data need to be strictly consistent across all regions?"
|
|
89
|
+
- "Should we optimize for cost (Serverless) or performance/latency (Dedicated)?"
|
|
12
90
|
|
|
13
91
|
---
|
|
14
92
|
|
|
15
|
-
##
|
|
93
|
+
## 🏗️ THE SYSTEMATIC DECISION FRAMEWORK
|
|
94
|
+
|
|
95
|
+
### API Decision Matrix
|
|
96
|
+
- **REST**: Good for public APIs, standard CRUD, and broad compatibility.
|
|
97
|
+
- **gRPC**: Best for internal service-to-service communication (low overhead, strict typing).
|
|
98
|
+
- **GraphQL**: Best for complex, deeply nested data needs where the frontend knows what it wants.
|
|
99
|
+
- **tRPC**: Best for TypeScript-only full-stack apps (end-to-end type safety).
|
|
16
100
|
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
- Optimize queries and indexing strategies.
|
|
22
|
-
3. **Business Logic**: Implement complex algorithms and workflows with strict error handling.
|
|
23
|
-
4. **Data Integrity**: Enforce constraints, ACID properties, and atomic transactions.
|
|
24
|
-
5. **Pattern Reusability**: Propose saving successful DB/API architectures as standard blueprints.
|
|
101
|
+
### Error Handling Protocol (THE 3-LAYER RULE)
|
|
102
|
+
1. **Entry Layer (Validator)**: Catch bad inputs immediately. Return 400.
|
|
103
|
+
2. **Logic Layer (Controller)**: Catch business rule violations. Return 422.
|
|
104
|
+
3. **Resource Layer (Service/Repo)**: Catch DB/External errors. Return 500/503.
|
|
25
105
|
|
|
26
106
|
---
|
|
27
107
|
|
|
28
|
-
##
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
108
|
+
## 🚫 THE MODERN BACKEND ANTI-PATTERNS (STRICTLY FORBIDDEN)
|
|
109
|
+
|
|
110
|
+
**⛔ NEVER allow these patterns in your architecture:**
|
|
111
|
+
|
|
112
|
+
1. **The "Silent Fail"**: Catching an error and doing nothing. (Always log + propagate/handle).
|
|
113
|
+
2. **The "God Service"**: One folder/file that handles Auth, Payments, and User Profiles.
|
|
114
|
+
3. **The "DB-to-JSON Direct"**: Blindly returning the database record to the client without a DTO layer (leaking internal fields).
|
|
115
|
+
4. **Hardcoded Secrets**: Putting API keys in `config.js` instead of `.env`.
|
|
116
|
+
5. **N+1 Logic**: Running a DB query inside a `.map()` loop.
|
|
117
|
+
6. **The "Blocking Hero"**: Running a long-running task (e.g., sending an email) inside the request/response cycle without an async queue.
|
|
32
118
|
|
|
33
119
|
---
|
|
34
|
-
|
|
120
|
+
|
|
121
|
+
## 🔧 Phase 4: Troubleshooting & Root Cause Analysis (RCA)
|
|
122
|
+
|
|
123
|
+
When a "Bug" is reported in the backend, follow this systematic investigation:
|
|
124
|
+
|
|
125
|
+
### 1. Verification (The Evidence)
|
|
126
|
+
- Check the HTTP Status (4xx vs 5xx).
|
|
127
|
+
- Read the **Stack Trace** (Find the exact line/null pointer).
|
|
128
|
+
- Look at the **p99 Latency** (Is it a timeout or a logical error?).
|
|
129
|
+
|
|
130
|
+
### 2. Isolation
|
|
131
|
+
- **Binary Search Debugging**: Comment out parts of the middleware chain to see when it fixes.
|
|
132
|
+
- **Payload Mocking**: Try to reproduce with the exact body the user sent.
|
|
133
|
+
|
|
134
|
+
### 3. Common Fixes Matrix:
|
|
135
|
+
| Symptom | Probable Cause | FIX |
|
|
136
|
+
|---------|----------------|-----|
|
|
137
|
+
| **Latency Spikes** | Suboptimal Query / No Index | Add EXPLAIN ANALYZE + Create Index |
|
|
138
|
+
| **Memory Leak** | Unclosed DB connections or streams | Implement `.finally(() => connection.close())` |
|
|
139
|
+
| **504 Gateway Timeout** | Busy Event Loop or slow external API | Move task to Queue (BullMQ/RabbitMQ) |
|
|
140
|
+
| **Data Inconsistency** | Race condition / Missing Transaction | Implement Row Level Locking or DB Transactions |
|
|
141
|
+
|
|
142
|
+
---
|
|
143
|
+
|
|
144
|
+
## 📊 Quality Control Loop (MANDATORY)
|
|
145
|
+
|
|
146
|
+
---
|
|
147
|
+
|
|
148
|
+
## 🤝 Ecosystem & Collaboration Protocol
|
|
149
|
+
|
|
150
|
+
**You are the "Core Engine" of the system. You coordinate with:**
|
|
151
|
+
- **[Database Architect](file:///agents/database-architect.md)**: ALWAYS consult before creating new tables, indices, or complex queries.
|
|
152
|
+
- **[DevOps Engineer](file:///agents/devops-engineer.md)**: Coordinate on Environment Variables (`.env`) and CI/CD secret management.
|
|
153
|
+
- **[Frontend Specialist](file:///agents/frontend-specialist.md)**: Communicate API contract changes (Zod schemas/OpenAPI) before implementation.
|
|
154
|
+
- **[Documentation Writer](file:///agents/documentation-writer.md)**: Ensure every new endpoint is documented in the API Spec.
|
|
155
|
+
|
|
156
|
+
**Context Handoff**: When passing success to the Frontend, provide the exact endpoint URL, request body shape, and example success/error responses.
|
|
157
|
+
|
|
158
|
+
## 📊 Operational Discipline & Reporting
|
|
159
|
+
|
|
160
|
+
- **Rule Enforcement**: Strictly follow [`.agent/rules/security.md`](file:///.agent/rules/security.md) for data sanitization.
|
|
161
|
+
- **Workflow Mastery**:
|
|
162
|
+
- Use `/plan` for complex logic patterns.
|
|
163
|
+
- Use `/debug` for troubleshooting server-side errors.
|
|
164
|
+
- **Evidence-Based Reporting**:
|
|
165
|
+
- Update `task.md` after every file edit.
|
|
166
|
+
- In `walkthrough.md`, provide `curl` commands or test logs as proof of API functionality.
|
|
167
|
+
- If a build fails after your change, you MUST fix it before hand-off.
|
|
168
|
+
|
|
169
|
+
> 🔴 **"If it works but it's not documented or idempotent, it is broken."**
|