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.
Files changed (359) hide show
  1. package/.agent/.shared/{design-philosophy → core/design-philosophy}/README.md +12 -1
  2. package/.agent/.shared/{ai-master → technical/ai-master}/README.md +12 -1
  3. package/.agent/.shared/{api-standards → technical/api-standards}/README.md +12 -1
  4. package/.agent/.shared/{database-master → technical/database-master}/README.md +12 -2
  5. package/.agent/.shared/{seo-master → technical/seo-master}/README.md +12 -1
  6. package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/README.md +12 -1
  7. package/.agent/ARCHITECTURE.md +16 -10
  8. package/.agent/ARCHITECTURE.vi.md +8 -8
  9. package/{GEMINI.md → .agent/GEMINI.md} +4 -5
  10. package/.agent/RESOURCES.md +6 -1
  11. package/.agent/agents/backend-specialist.md +154 -19
  12. package/.agent/agents/browser-subagent.md +45 -0
  13. package/.agent/agents/cloud-architect.md +108 -189
  14. package/.agent/agents/debugger.md +83 -182
  15. package/.agent/agents/documentation-writer.md +125 -72
  16. package/.agent/agents/frontend-specialist.md +40 -7
  17. package/.agent/agents/game-developer.md +111 -116
  18. package/.agent/agents/mobile-developer.md +108 -321
  19. package/.agent/agents/orchestrator.md +106 -366
  20. package/.agent/agents/performance-optimizer.md +105 -136
  21. package/.agent/agents/project-planner.md +132 -39
  22. package/.agent/agents/quality-inspector.md +136 -32
  23. package/.agent/agents/security-auditor.md +138 -15
  24. package/.agent/agents/seo-specialist.md +118 -72
  25. package/.agent/agents/test-engineer.md +142 -11
  26. package/.agent/brain/task.md +16 -0
  27. package/.agent/rules/GEMINI.md +63 -31
  28. package/.agent/rules/code-quality.md +34 -3
  29. package/.agent/rules/frontend.md +3 -3
  30. package/.agent/rules/strict-protocol.md +44 -3
  31. package/.agent/rules/system-update.md +56 -3
  32. package/.agent/skills/agent-backend-patterns/SKILL.md +16 -3
  33. package/.agent/skills/ai-engineer/SKILL.md +29 -16
  34. package/.agent/skills/api-documenter/SKILL.md +4 -4
  35. package/.agent/skills/app-builder/SKILL.md +1 -1
  36. package/.agent/skills/app-builder/tech-stack.md +2 -2
  37. package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +39 -79
  38. package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +53 -75
  39. package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +56 -119
  40. package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +61 -94
  41. package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +56 -82
  42. package/.agent/skills/brand-guidelines-anthropic/LICENSE.txt +202 -0
  43. package/.agent/skills/brand-guidelines-anthropic/SKILL.md +26 -0
  44. package/.agent/skills/brand-guidelines-anthropic/sub-skills/color-application.md +5 -0
  45. package/.agent/skills/brand-guidelines-anthropic/sub-skills/colors.md +14 -0
  46. package/.agent/skills/brand-guidelines-anthropic/sub-skills/font-management.md +6 -0
  47. package/.agent/skills/brand-guidelines-anthropic/sub-skills/shape-and-accent-colors.md +7 -0
  48. package/.agent/skills/brand-guidelines-anthropic/sub-skills/smart-font-application.md +6 -0
  49. package/.agent/skills/brand-guidelines-anthropic/sub-skills/text-styling.md +6 -0
  50. package/.agent/skills/brand-guidelines-anthropic/sub-skills/typography.md +7 -0
  51. package/.agent/skills/cloud-architect-master/SKILL.md +9 -4
  52. package/.agent/skills/cro-expert-kit/SKILL.md +9 -4
  53. package/.agent/skills/database-migration/SKILL.md +9 -3
  54. package/.agent/skills/deployment-engineer/SKILL.md +9 -3
  55. package/.agent/skills/frontend-design/ux-psychology.md +10 -585
  56. package/.agent/skills/full-stack-scaffold/SKILL.md +4 -4
  57. package/.agent/skills/game-development/2d-games/SKILL.md +4 -2
  58. package/.agent/skills/game-development/3d-games/SKILL.md +4 -2
  59. package/.agent/skills/game-development/SKILL.md +18 -149
  60. package/.agent/skills/game-development/game-art/SKILL.md +4 -2
  61. package/.agent/skills/game-development/game-audio/SKILL.md +4 -2
  62. package/.agent/skills/game-development/game-design/SKILL.md +4 -2
  63. package/.agent/skills/game-development/mobile-games/SKILL.md +4 -2
  64. package/.agent/skills/game-development/multiplayer/SKILL.md +4 -2
  65. package/.agent/skills/game-development/pc-games/SKILL.md +4 -2
  66. package/.agent/skills/game-development/vr-ar/SKILL.md +4 -2
  67. package/.agent/skills/game-development/web-games/SKILL.md +4 -2
  68. package/.agent/skills/geo-fundamentals/SKILL.md +9 -136
  69. package/.agent/skills/git-collaboration-master/SKILL.md +9 -4
  70. package/.agent/skills/i18n-localization/SKILL.md +10 -118
  71. package/.agent/skills/incident-responder/SKILL.md +9 -6
  72. package/.agent/skills/internal-comms-anthropic/LICENSE.txt +202 -0
  73. package/.agent/skills/internal-comms-anthropic/SKILL.md +33 -0
  74. package/.agent/skills/internal-comms-anthropic/examples/3p-updates.md +47 -0
  75. package/.agent/skills/internal-comms-anthropic/examples/company-newsletter.md +65 -0
  76. package/.agent/skills/internal-comms-anthropic/examples/faq-answers.md +30 -0
  77. package/.agent/skills/internal-comms-anthropic/examples/general-comms.md +16 -0
  78. package/.agent/skills/last30days/tests/__init__.py +1 -0
  79. package/.agent/skills/last30days/tests/test_cache.py +59 -0
  80. package/.agent/skills/last30days/tests/test_dates.py +114 -0
  81. package/.agent/skills/last30days/tests/test_dedupe.py +111 -0
  82. package/.agent/skills/last30days/tests/test_models.py +135 -0
  83. package/.agent/skills/last30days/tests/test_normalize.py +138 -0
  84. package/.agent/skills/last30days/tests/test_render.py +116 -0
  85. package/.agent/skills/last30days/tests/test_score.py +168 -0
  86. package/.agent/skills/legacy-modernizer/SKILL.md +9 -4
  87. package/.agent/skills/lint-and-validate/scripts/lint_runner.py +2 -14
  88. package/.agent/skills/loki-mode/.github/workflows/claude-code-review.yml +57 -0
  89. package/.agent/skills/loki-mode/.github/workflows/claude.yml +50 -0
  90. package/.agent/skills/loki-mode/.github/workflows/release.yml +128 -0
  91. package/.agent/skills/loki-mode/tests/run-all-tests.sh +78 -0
  92. package/.agent/skills/loki-mode/tests/test-agent-timeout.sh +348 -0
  93. package/.agent/skills/loki-mode/tests/test-bootstrap.sh +196 -0
  94. package/.agent/skills/loki-mode/tests/test-circuit-breaker.sh +389 -0
  95. package/.agent/skills/loki-mode/tests/test-state-recovery.sh +393 -0
  96. package/.agent/skills/loki-mode/tests/test-task-queue.sh +396 -0
  97. package/.agent/skills/loki-mode/tests/test-wrapper.sh +314 -0
  98. package/.agent/skills/mcp-builder/SKILL.md +21 -164
  99. package/.agent/skills/mobile-design/SKILL.md +21 -369
  100. package/.agent/skills/mobile-design/mobile-performance.md +1 -1
  101. package/.agent/skills/modern-web-architect/SKILL.md +12 -6
  102. package/.agent/skills/nextjs-react-expert/scripts/convert_rules.py +1 -1
  103. package/.agent/skills/penetration-tester-master/SKILL.md +9 -4
  104. package/.agent/skills/performance-engineer/SKILL.md +4 -5
  105. package/.agent/skills/production-code-audit/SKILL.md +6 -0
  106. package/.agent/skills/rust-pro/SKILL.md +0 -177
  107. package/.agent/skills/security-auditor/SKILL.md +35 -27
  108. package/.agent/skills/seo-expert-kit/SKILL.md +9 -4
  109. package/.agent/skills/shopify-development/scripts/tests/test_shopify_init.py +379 -0
  110. package/.agent/skills/tdd-master-workflow/SKILL.md +9 -3
  111. package/.agent/workflows/audit.md +30 -16
  112. package/.agent/workflows/brainstorm.md +33 -96
  113. package/.agent/workflows/create.md +37 -45
  114. package/.agent/workflows/debug.md +45 -84
  115. package/.agent/workflows/deploy.md +33 -158
  116. package/.agent/workflows/document.md +38 -15
  117. package/.agent/workflows/enhance.md +33 -48
  118. package/.agent/workflows/monitor.md +35 -14
  119. package/.agent/workflows/orchestrate.md +33 -218
  120. package/.agent/workflows/plan.md +39 -70
  121. package/.agent/workflows/security.md +35 -14
  122. package/.agent/workflows/seo.md +39 -16
  123. package/.agent/workflows/status.md +33 -72
  124. package/.agent/workflows/test.md +30 -127
  125. package/.agent/workflows/ui-ux-pro-max.md +24 -283
  126. package/LICENSE +22 -8
  127. package/README.md +105 -72
  128. package/README.vi.md +93 -110
  129. package/cli/create.js +275 -413
  130. package/cli/index.js +36 -24
  131. package/cli/lib/auto-update.js +14 -21
  132. package/cli/logic/product-skills.js +58 -0
  133. package/cli/logic/skill-definitions.js +0 -39
  134. package/cli/prompts.js +151 -145
  135. package/cli/skills/browser-subagent-core/SKILL.md +22 -0
  136. package/cli/tools/browser.js +75 -0
  137. package/cli/ui/dashboard.js +48 -0
  138. package/docs/AGENTS_GUIDE.vi.md +39 -45
  139. package/docs/CONTRIBUTING.vi.md +12 -3
  140. package/docs/{GEMINI_GUIDE.md → GEMINI_USAGE.md} +6 -6
  141. package/docs/GLOSSARY.vi.md +49 -30
  142. package/docs/HOW_ANTIGRAVITY_THINKS.vi.md +1 -1
  143. package/docs/OPERATIONAL_FLOW.vi.md +15 -0
  144. package/docs/{PUBLISHING.md → PUBLISHING_GUIDE.md} +31 -3
  145. package/docs/RULES_GUIDE.vi.md +67 -31
  146. package/docs/SHARED_LIBRARY_GUIDE.vi.md +18 -22
  147. package/docs/SKILLS_GUIDE.vi.md +119 -32
  148. package/docs/TROUBLESHOOTING.vi.md +10 -2
  149. package/docs/WORKFLOW_GUIDE.vi.md +57 -9
  150. package/package.json +32 -8
  151. package/setup.js +147 -114
  152. package/.agent/.shared/compliance/README.md +0 -19
  153. package/.agent/.shared/design-system/README.md +0 -18
  154. package/.agent/.shared/domain-blueprints/README.md +0 -18
  155. package/.agent/.shared/dx-toolkit/README.md +0 -19
  156. package/.agent/.shared/i18n-master/README.md +0 -18
  157. package/.agent/.shared/infra-blueprints/README.md +0 -18
  158. package/.agent/.shared/metrics/README.md +0 -17
  159. package/.agent/.shared/resilience-patterns/README.md +0 -19
  160. package/.agent/.shared/security-armor/README.md +0 -25
  161. package/.agent/.shared/testing-master/README.md +0 -20
  162. package/.agent/.shared/vitals-templates/README.md +0 -18
  163. package/.agent/agents/accessibility-expert.md +0 -22
  164. package/.agent/agents/api-architect.md +0 -22
  165. package/.agent/agents/backend-specialist.eco.md +0 -19
  166. package/.agent/agents/backend-specialist.instant.md +0 -19
  167. package/.agent/agents/codebase-expert.md +0 -23
  168. package/.agent/agents/compliance-expert.md +0 -22
  169. package/.agent/agents/data-scientist.md +0 -22
  170. package/.agent/agents/debugger.eco.md +0 -20
  171. package/.agent/agents/debugger.instant.md +0 -20
  172. package/.agent/agents/deep-thinker.ultra.md +0 -23
  173. package/.agent/agents/devex-optimizer.md +0 -22
  174. package/.agent/agents/devops-architect.md +0 -22
  175. package/.agent/agents/frontend-specialist.eco.md +0 -19
  176. package/.agent/agents/frontend-specialist.instant.md +0 -19
  177. package/.agent/agents/growth-engineer.md +0 -22
  178. package/.agent/agents/i18n-specialist.md +0 -21
  179. package/.agent/agents/legacy-modernizer.md +0 -22
  180. package/.agent/agents/microservices-specialist.md +0 -22
  181. package/.agent/agents/motion-designer.md +0 -22
  182. package/.agent/agents/orchestrator.creative.md +0 -28
  183. package/.agent/agents/orchestrator.eco.md +0 -29
  184. package/.agent/agents/orchestrator.instant.md +0 -29
  185. package/.agent/agents/orchestrator.ultra.md +0 -28
  186. package/.agent/agents/performance-benchmarker.md +0 -22
  187. package/.agent/agents/project-planner.eco.md +0 -19
  188. package/.agent/agents/project-planner.instant.md +0 -19
  189. package/.agent/agents/security-pentester.md +0 -22
  190. package/.agent/agents/serverless-expert.md +0 -22
  191. package/.agent/fastcode_index.json +0 -1038
  192. package/.agent/mcp_config.json +0 -24
  193. package/.agent/rules/GEMINI.eco.md +0 -37
  194. package/.agent/rules/GEMINI.instant.md +0 -37
  195. package/.agent/rules/api-spec.md +0 -28
  196. package/.agent/rules/database.md +0 -24
  197. package/.agent/rules/devops.md +0 -23
  198. package/.agent/rules/growth-strategy.md +0 -22
  199. package/.agent/rules/logging-monitoring.md +0 -22
  200. package/.agent/rules/quality-assurance.md +0 -22
  201. package/.agent/rules/system-reasoning.md +0 -20
  202. package/.agent/rules/ui-design.md +0 -23
  203. package/.agent/rules/ux-patterns.md +0 -23
  204. package/.agent/scripts/auto_preview.py +0 -148
  205. package/.agent/scripts/checklist.py +0 -252
  206. package/.agent/scripts/session_manager.py +0 -120
  207. package/.agent/scripts/simulation_install.js +0 -59
  208. package/.agent/scripts/sync_to_global.py +0 -78
  209. package/.agent/scripts/translate_workflows.py +0 -53
  210. package/.agent/scripts/verify_all.py +0 -327
  211. package/.agent/scripts/verify_shared_modules.js +0 -126
  212. package/.agent/skills/fastcode-search/SKILL.md +0 -46
  213. package/.agent/skills/fastcode-search/fastcode_config.example.json +0 -17
  214. package/.agent/skills/frontend-trends-2026/SKILL.md +0 -78
  215. package/.agent/skills/frontend-trends-2026/formulas/BentoGrid.tsx +0 -42
  216. package/.agent/skills/frontend-trends-2026/formulas/LiquidCard.tsx +0 -32
  217. package/.agent/skills/frontend-trends-2026/formulas/NeoButton.tsx +0 -27
  218. package/.agent/workflows/deep-security-audit.md +0 -9
  219. package/.agent/workflows/growth-max.md +0 -9
  220. package/.agent/workflows/performance-max.md +0 -9
  221. package/.editorconfig +0 -21
  222. package/.gitattributes +0 -7
  223. package/CHANGELOG.md +0 -32
  224. package/ERRORS.md +0 -67
  225. package/action.yml +0 -32
  226. package/antigravity-ide-logo.png +0 -0
  227. package/antigravity-ide-logo.svg +0 -24
  228. package/assets/skills-bundle.json +0 -1
  229. package/cli/manifest.js +0 -524
  230. package/cli/skills/fastcode.js +0 -181
  231. package/docs/AGENT_FLOW.md +0 -608
  232. package/docs/CONTRIBUTING.md +0 -46
  233. package/docs/COPYRIGHT.md +0 -57
  234. package/docs/DEPLOYMENT.md +0 -77
  235. package/docs/GLOSSARY.md +0 -109
  236. package/docs/MASTER_GUIDE.md +0 -103
  237. package/docs/OPERATIONAL_FLOW.md +0 -147
  238. package/docs/PLAN-upgrade-core-architecture.md +0 -71
  239. package/docs/SKILLS.md +0 -610
  240. package/docs/TROUBLESHOOTING.md +0 -43
  241. package/jest.config.js +0 -8
  242. package/scripts/bump.js +0 -93
  243. package/scripts/bundle-skills.js +0 -59
  244. package/scripts/internal/automation/auto-release.js +0 -177
  245. package/scripts/internal/fractalize-skills.js +0 -89
  246. package/scripts/internal/generate-skill-definitions.js +0 -134
  247. package/scripts/internal/internal/update-docs.js +0 -115
  248. package/scripts/internal/refactor-skill-content.js +0 -127
  249. package/scripts/internal/rename-skills.js +0 -96
  250. package/scripts/internal/sync-skills.js +0 -112
  251. package/scripts/internal/update-frontmatter-names.js +0 -99
  252. package/scripts/internal/verification/audit-dna.js +0 -56
  253. package/scripts/internal/verification/audit-skills.js +0 -65
  254. package/web/src/app/docs/guide/examples/brainstorm/page.mdx +0 -91
  255. package/web/src/app/docs/guide/examples/create/page.mdx +0 -84
  256. package/web/src/app/docs/guide/examples/debugging/page.mdx +0 -83
  257. package/web/src/app/docs/guide/examples/deployment/page.mdx +0 -93
  258. package/web/src/app/docs/guide/examples/new-feature/page.mdx +0 -102
  259. package/web/src/app/docs/guide/examples/orchestration/page.mdx +0 -99
  260. package/web/src/app/docs/guide/examples/plan/page.mdx +0 -76
  261. package/web/src/app/docs/guide/examples/preview/page.mdx +0 -77
  262. package/web/src/app/docs/guide/examples/status/page.mdx +0 -78
  263. package/web/src/app/docs/guide/examples/test/page.mdx +0 -80
  264. package/web/src/app/docs/guide/examples/ui-design/page.mdx +0 -90
  265. package/web/src/components/mdx/Callout.tsx +0 -60
  266. package/web/src/components/mdx/FeatureGrid.tsx +0 -38
  267. package/web/src/components/mdx/ProTips.tsx +0 -29
  268. package/web/src/components/mdx/StepList.tsx +0 -33
  269. package/web/src/components/mdx/Terminal.tsx +0 -58
  270. package/web/src/components/mdx/index.ts +0 -5
  271. package/web/src/mdx-components.tsx +0 -98
  272. /package/.agent/.shared/{design-philosophy → core/design-philosophy}/MANIFESTO.md +0 -0
  273. /package/.agent/.shared/{design-philosophy → core/design-philosophy}/checklists/tactile_audit.md +0 -0
  274. /package/.agent/.shared/{design-philosophy → core/design-philosophy}/checklists/visual_audit.md +0 -0
  275. /package/.agent/.shared/{design-philosophy → core/design-philosophy}/presets/linear_glow.json +0 -0
  276. /package/.agent/.shared/{dx-toolkit → core/dx-toolkit}/checklists/code_review.md +0 -0
  277. /package/.agent/.shared/{dx-toolkit → core/dx-toolkit}/presets/vscode_settings.json +0 -0
  278. /package/.agent/.shared/{metrics → core/metrics}/benchmarks.json +0 -0
  279. /package/.agent/.shared/{vitals-templates → core/vitals-templates}/audit_report.md +0 -0
  280. /package/.agent/.shared/{vitals-templates → core/vitals-templates}/plan_prd.md +0 -0
  281. /package/.agent/.shared/{ai-master → technical/ai-master}/best_patterns.md +0 -0
  282. /package/.agent/.shared/{ai-master → technical/ai-master}/checklists/prompt_audit.md +0 -0
  283. /package/.agent/.shared/{ai-master → technical/ai-master}/presets/model_configs.json +0 -0
  284. /package/.agent/.shared/{api-standards → technical/api-standards}/data +0 -0
  285. /package/.agent/.shared/{api-standards → technical/api-standards}/endpoints_naming.md +0 -0
  286. /package/.agent/.shared/{api-standards → technical/api-standards}/error_codes.csv +0 -0
  287. /package/.agent/.shared/{api-standards → technical/api-standards}/pagination_sorting.md +0 -0
  288. /package/.agent/.shared/{api-standards → technical/api-standards}/response_format.json +0 -0
  289. /package/.agent/.shared/{database-master → technical/database-master}/schemas/auth_rbac.sql +0 -0
  290. /package/.agent/.shared/{database-master → technical/database-master}/schemas/cms.sql +0 -0
  291. /package/.agent/.shared/{database-master → technical/database-master}/schemas/ecommerce.sql +0 -0
  292. /package/.agent/.shared/{design-system → technical/design-system}/brand_presets.json +0 -0
  293. /package/.agent/.shared/{design-system → technical/design-system}/micro_interactions.md +0 -0
  294. /package/.agent/.shared/{i18n-master → technical/i18n-master}/vi_tech_dictionary.csv +0 -0
  295. /package/.agent/.shared/{i18n-master → technical/i18n-master}/workflows.json +0 -0
  296. /package/.agent/.shared/{resilience-patterns → technical/resilience-patterns}/checklists/chaos_engineering.md +0 -0
  297. /package/.agent/.shared/{resilience-patterns → technical/resilience-patterns}/presets/circuit_breaker.json +0 -0
  298. /package/.agent/.shared/{security-armor → technical/security-armor}/checklists/vuln_scan.md +0 -0
  299. /package/.agent/.shared/{security-armor → technical/security-armor}/hardening.md +0 -0
  300. /package/.agent/.shared/{security-armor → technical/security-armor}/presets/helmet_config.json +0 -0
  301. /package/.agent/.shared/{seo-master → technical/seo-master}/checklists/technical_seo.md +0 -0
  302. /package/.agent/.shared/{seo-master → technical/seo-master}/presets/json_ld_schema.json +0 -0
  303. /package/.agent/.shared/{testing-master → technical/testing-master}/checklists/pre_release.md +0 -0
  304. /package/.agent/.shared/{testing-master → technical/testing-master}/scenarios.md +0 -0
  305. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/colors.csv +0 -0
  306. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/icons.csv +0 -0
  307. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/landing.csv +0 -0
  308. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/products.csv +0 -0
  309. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/react-performance.csv +0 -0
  310. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/flutter.csv +0 -0
  311. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/html-tailwind.csv +0 -0
  312. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/jetpack-compose.csv +0 -0
  313. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/nextjs.csv +0 -0
  314. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/nuxt-ui.csv +0 -0
  315. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/nuxtjs.csv +0 -0
  316. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/react-native.csv +0 -0
  317. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/react.csv +0 -0
  318. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/shadcn.csv +0 -0
  319. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/svelte.csv +0 -0
  320. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/swiftui.csv +0 -0
  321. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/vue.csv +0 -0
  322. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/ux-guidelines.csv +0 -0
  323. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/web-interface.csv +0 -0
  324. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/__pycache__/core.cpython-313.pyc +0 -0
  325. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
  326. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/core.py +0 -0
  327. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/design_system.py +0 -0
  328. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/search.py +0 -0
  329. /package/.agent/.shared/{compliance → verticals/compliance}/legal_templates.md +0 -0
  330. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/edtech.md +0 -0
  331. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/fintech.md +0 -0
  332. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/fnb_restaurant.md +0 -0
  333. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/freelance_marketplace.md +0 -0
  334. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/healthcare.md +0 -0
  335. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/hospitality_tourism.md +0 -0
  336. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/logistics.md +0 -0
  337. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/marketing_automation.md +0 -0
  338. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/personal_branding.md +0 -0
  339. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/real_estate.md +0 -0
  340. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/retail_ecommerce.md +0 -0
  341. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/standard-pro-agents.md +0 -0
  342. /package/.agent/.shared/{infra-blueprints → verticals/infra-blueprints}/deployment_specs.md +0 -0
  343. /package/.agent/skills/ai-engineer/{resources → sub-skills}/ai_infra_stack.md +0 -0
  344. /package/.agent/skills/cloud-architect-master/{resources → sub-skills}/cost_optimization_checklist.md +0 -0
  345. /package/.agent/skills/cro-expert-kit/{resources → sub-skills}/psychological_triggers.md +0 -0
  346. /package/.agent/skills/database-migration/{resources → sub-skills}/zero_downtime_strategy.md +0 -0
  347. /package/.agent/skills/deployment-engineer/{resources → sub-skills}/k8s_best_practices.md +0 -0
  348. /package/.agent/skills/git-collaboration-master/{resources → sub-skills}/pr_template.md +0 -0
  349. /package/.agent/skills/incident-responder/{resources → sub-skills}/incident_severity_levels.md +0 -0
  350. /package/.agent/skills/legacy-modernizer/{resources → sub-skills}/strangler_fig_pattern.md +0 -0
  351. /package/.agent/skills/penetration-tester-master/{resources → sub-skills}/owasp_top_10_2025.md +0 -0
  352. /package/.agent/skills/production-code-audit/{resources → sub-skills}/solid_principles_cheat_sheet.md +0 -0
  353. /package/.agent/skills/seo-expert-kit/{resources → sub-skills}/technical_seo_checklist.md +0 -0
  354. /package/.agent/skills/tdd-master-workflow/{resources → sub-skills}/unit_test_naming_convention.md +0 -0
  355. /package/.agent/{.shared → skills}/ui-ux-pro-max/data/charts.csv +0 -0
  356. /package/.agent/{.shared → skills}/ui-ux-pro-max/data/prompts.csv +0 -0
  357. /package/.agent/{.shared → skills}/ui-ux-pro-max/data/styles.csv +0 -0
  358. /package/.agent/{.shared → skills}/ui-ux-pro-max/data/typography.csv +0 -0
  359. /package/.agent/{.shared → skills}/ui-ux-pro-max/data/ui-reasoning.csv +0 -0
package/setup.js CHANGED
@@ -8,8 +8,7 @@ const chalk = require('chalk');
8
8
  const gradient = require('gradient-string');
9
9
  const boxen = require('boxen');
10
10
  const prompts = require('prompts');
11
-
12
- const MANIFEST = require('./cli/manifest.js');
11
+ const packageJson = require('./package.json');
13
12
 
14
13
  const GLOBAL_DIR = path.join(os.homedir(), '.antigravity');
15
14
  const SOURCE_DIR = path.join(__dirname, '.agent');
@@ -32,11 +31,25 @@ async function setup() {
32
31
 
33
32
  console.log(gradient.rainbow.multiline(branding));
34
33
  console.log(gradient.atlas('━'.repeat(60)));
35
- console.log(chalk.gray(` Google Antigravity • Global Setup Wizard • v4.2.1`));
34
+ console.log(chalk.gray(` Antigravity IDE • Global Setup Wizard • v${packageJson.version}`));
36
35
  console.log(chalk.gray(' Developed with 💡 by Dokhacgiakhoa'));
37
36
  console.log(gradient.atlas('━'.repeat(60)) + '\n');
38
37
  console.log(chalk.bold.hex('#00ffee')('🚀 Antigravity Global Setup Starting...\n'));
39
38
 
39
+ // 0. Check for Python (Required for Advanced Skills)
40
+ let hasPython = false;
41
+ try {
42
+ execSync('python --version', { stdio: 'ignore' });
43
+ hasPython = true;
44
+ } catch (e) {
45
+ try {
46
+ execSync('python3 --version', { stdio: 'ignore' });
47
+ hasPython = true;
48
+ } catch (e2) {}
49
+ }
50
+
51
+ // Silent check - we will warn later if they select Advanced Mode
52
+
40
53
  // Interactive Prompts
41
54
  const response = await prompts([
42
55
  {
@@ -51,18 +64,60 @@ async function setup() {
51
64
  },
52
65
  {
53
66
  type: 'select',
54
- name: 'operationMode',
55
- message: (prev, values) => values.lang === 'vi' ? 'Chọn Chế độ Vận hành (Mode):' : 'Select Operation Mode:',
67
+ name: 'engineMode',
68
+ message: (prev, values) => values.lang === 'vi' ? 'Chọn Chế độ Động cơ:' : 'Select Engine Mode:',
56
69
  choices: (prev, values) => values.lang === 'vi' ? [
57
- { title: '⚡ INSTANT (MVP) - Khởi tạo Thần tốc, Đa năng', value: 'instant' },
58
- { title: '🏢 STANDARD (Pro) - Quy trình Chuẩn chuyên nghiệp', value: 'standard' },
59
- { title: '🏭 CREATIVE (Elite) - Sức mạnh tối đa, Chuyên biệt hóa', value: 'creative' }
70
+ { title: '⚡ Standard (Node.js) - Gọn nhẹ [Mặc định]', value: 'standard' },
71
+ { title: '🧠 Advanced (Python) - Chuyên sâu AI & Data', value: 'advanced' }
60
72
  ] : [
61
- { title: '⚡ INSTANT (MVP) - Ultra Fast, Multi-tasking', value: 'instant' },
62
- { title: '🏢 STANDARD (Pro) - Professional Standard Flow', value: 'standard' },
63
- { title: '🏭 CREATIVE (Elite) - Maximum Power, Micro-Specialization', value: 'creative' }
73
+ { title: '⚡ Standard (Node.js) - Lightweight [Default]', value: 'standard' },
74
+ { title: '🧠 Advanced (Python) - Deep AI & Data', value: 'advanced' }
75
+ ],
76
+ initial: 0
77
+ },
78
+ {
79
+ type: 'text',
80
+ name: 'agentName',
81
+ message: (prev, values) => values.lang === 'vi' ? 'Đặt tên định danh cho AI Agent của bạn:' : 'Name your AI Agent:',
82
+ validate: value => value.length < 2 ? 'Minimum 2 chars' : true
83
+ },
84
+ {
85
+ type: 'select',
86
+ name: 'projectScale',
87
+ message: (prev, values) => values.lang === 'vi' ? 'Chọn Quy mô Dự án (Project Scale):' : 'Select Project Scale:',
88
+ choices: (prev, values) => values.lang === 'vi' ? [
89
+ { title: '⚡ Instant (Tức thời) - Cá nhân & Nhanh gọn', value: 'instant' },
90
+ { title: '🎨 Creative (Sáng tạo) - Full AI Suite [Mặc định]', value: 'creative' },
91
+ { title: '🏢 SME / Enterprise (Doanh nghiệp) - Bảo mật & Chuẩn hóa', value: 'sme' }
92
+ ] : [
93
+ { title: '⚡ Instant - Personal & Fast', value: 'instant' },
94
+ { title: '🎨 Creative - Full AI Suite [Default]', value: 'creative' },
95
+ { title: '🏢 SME / Enterprise - Security & Standard', value: 'sme' }
64
96
  ],
65
97
  initial: 1
98
+ },
99
+ {
100
+ type: 'select',
101
+ name: 'industryDomain',
102
+ message: (prev, values) => values.lang === 'vi' ? 'Chọn Lĩnh vực dự án (Industry):' : 'Select Industry Domain:',
103
+ choices: (prev, values) => values.lang === 'vi' ? [
104
+ { title: '💰 Finance (Tài chính - Fintech)', value: 'finance' },
105
+ { title: '🎓 Education (Giáo dục - EdTech)', value: 'education' },
106
+ { title: '🍔 F&B / Restaurant (Nhà hàng)', value: 'fnb' },
107
+ { title: '👤 Personal / Portfolio (Cá nhân)', value: 'personal' },
108
+ { title: '🏥 Healthcare (Y tế - HealthTech)', value: 'healthcare' },
109
+ { title: '🚚 Logistics (Vận tải)', value: 'logistics' },
110
+ { title: '🔮 Other (Khác - Web/App cơ bản)', value: 'other' }
111
+ ] : [
112
+ { title: '💰 Finance (Fintech)', value: 'finance' },
113
+ { title: '🎓 Education (EdTech)', value: 'education' },
114
+ { title: '🍔 F&B / Restaurant', value: 'fnb' },
115
+ { title: '👤 Personal / Portfolio', value: 'personal' },
116
+ { title: '🏥 Healthcare (HealthTech)', value: 'healthcare' },
117
+ { title: '🚚 Logistics', value: 'logistics' },
118
+ { title: '🔮 Other (General Web/App)', value: 'other' }
119
+ ],
120
+ initial: 6
66
121
  }
67
122
  ], {
68
123
  onCancel: () => {
@@ -71,23 +126,20 @@ async function setup() {
71
126
  }
72
127
  });
73
128
 
74
- const { lang, operationMode } = response;
75
-
76
- // Use default values for hidden configs
77
- const engineMode = operationMode === 'creative' ? 'advanced' : 'standard';
78
- const agentName = 'Antigravity';
79
- const projectScale = operationMode;
129
+ const { lang, engineMode, agentName, projectScale, industryDomain } = response;
80
130
 
81
131
  console.log(chalk.green(`\n📍 Configuration Saved:`));
82
132
  console.log(chalk.cyan(` Language: ${lang === 'vi' ? 'Tiếng Việt' : 'English'}`));
83
- console.log(chalk.cyan(` Mode: ${operationMode.toUpperCase()}`));
84
- console.log(chalk.cyan(` Engine: ${engineMode.toUpperCase()} (Auto-configured)\n`));
133
+ console.log(chalk.cyan(` Agent Name: ${chalk.bold.yellow(agentName)}`));
134
+ console.log(chalk.cyan(` Engine: ${engineMode.toUpperCase()}`));
135
+ console.log(chalk.cyan(` Scale: ${projectScale.toUpperCase()}`));
136
+ console.log(chalk.cyan(` Industry: ${industryDomain ? industryDomain.toUpperCase() : 'OTHER'}\n`));
85
137
 
86
138
  // Save config
87
139
  if (!fs.existsSync(GLOBAL_DIR)) {
88
140
  fs.mkdirSync(GLOBAL_DIR, { recursive: true });
89
141
  }
90
- fs.writeFileSync(path.join(GLOBAL_DIR, '.config.json'), JSON.stringify({ lang, engineMode, agentName, projectScale, operationMode }, null, 2));
142
+ fs.writeFileSync(path.join(GLOBAL_DIR, '.config.json'), JSON.stringify({ lang, engineMode, agentName, projectScale, industryDomain }, null, 2));
91
143
 
92
144
  // 5. Smart Dependency Check (Post-Selection)
93
145
  if (engineMode === 'advanced' && !hasPython) {
@@ -140,6 +192,31 @@ async function setup() {
140
192
  const src = path.join(SOURCE_DIR, folder);
141
193
  const dest = path.join(GLOBAL_DIR, folder);
142
194
 
195
+ // Special handling for 'skills' bundling
196
+ if (folder === 'skills') {
197
+ const bundlePath = path.join(__dirname, 'assets', 'skills-bundle.json');
198
+ if (fs.existsSync(bundlePath)) {
199
+ console.log('📦 Hydrating Skills from Bundle...');
200
+ try {
201
+ const bundle = JSON.parse(fs.readFileSync(bundlePath, 'utf-8'));
202
+ if (!fs.existsSync(dest)) fs.mkdirSync(dest, { recursive: true });
203
+
204
+ let count = 0;
205
+ Object.entries(bundle).forEach(([relPath, content]) => {
206
+ const fullPath = path.join(dest, relPath);
207
+ const dir = path.dirname(fullPath);
208
+ if (!fs.existsSync(dir)) fs.mkdirSync(dir, { recursive: true });
209
+ fs.writeFileSync(fullPath, content);
210
+ count++;
211
+ });
212
+ console.log(`✅ Hydrated ${count} skills from bundle.`);
213
+ return; // Skip normal copy for skills if bundle used
214
+ } catch (e) {
215
+ console.error('❌ Failed to hydrate bundle, falling back to copy:', e.message);
216
+ }
217
+ }
218
+ }
219
+
143
220
  if (fs.existsSync(src)) {
144
221
  // ALWAYS sync full content to Global (Central Repository)
145
222
  // This ensures Global always has the latest & greatest version of everything.
@@ -154,91 +231,47 @@ async function setup() {
154
231
  });
155
232
  console.log('✅ Global Cache is up-to-date (Full Enterprise Mode).');
156
233
 
157
- // 7. Initialize Workspace (Apply Manifest Logic to Local Project)
158
- console.log(`\n📂 Initializing Workspace (Mode: ${operationMode.toUpperCase()})...`);
234
+ // 7. Initialize Workspace (Apply Scale Logic to Local Project)
235
+ // Only copy specific rules to current directory based on Scale
236
+ console.log(`\n📂 Initializing Workspace (Scale: ${projectScale.toUpperCase()})...`);
159
237
 
160
238
  const localAgentDir = path.join(process.cwd(), '.agent');
161
- const localRulesDir = path.join(localAgentDir, 'rules'); // Keep this definition as it's used later
162
-
163
- ['rules', 'agents', 'workflows', 'skills', '.shared', 'core', 'scripts'].forEach(folder => {
164
- const globalFolder = path.join(GLOBAL_DIR, folder);
165
- const localFolder = path.join(localAgentDir, folder);
166
-
167
- if (!fs.existsSync(localFolder)) fs.mkdirSync(localFolder, { recursive: true });
168
-
169
- const manifestKey = folder.startsWith('.') ? folder.slice(1) : folder;
170
- const whitelist = modeConfig[manifestKey];
171
-
172
- if (fs.existsSync(globalFolder)) {
173
- fs.readdirSync(globalFolder).forEach(file => {
174
- // Suffix handling (e.g., orchestrator.eco.md)
175
- const isEcoVariant = file.includes('.eco.md') || file.includes('.instant.md'); // Backward compatibility for filenames
176
- const isUltraVariant = file.includes('.ultra.md') || file.includes('.creative.md');
177
- const isProVariant = !isEcoVariant && !isUltraVariant;
178
-
179
- let targetFileName = file;
180
- let shouldCopy = false;
181
-
182
- if (whitelist === '*') {
183
- // Ultra Mode: Copy everything, but prefer ultra variants
184
- if (isUltraVariant) {
185
- targetFileName = file.replace('.ultra.md', '.md').replace('.creative.md', '.md');
186
- shouldCopy = true;
187
- } else if (isProVariant) {
188
- const ultraVariant = file.replace('.md', '.ultra.md');
189
- const creativeVariant = file.replace('.md', '.creative.md');
190
- if (!fs.existsSync(path.join(globalFolder, ultraVariant)) && !fs.existsSync(path.join(globalFolder, creativeVariant))) {
191
- shouldCopy = true;
192
- }
193
- }
194
- } else {
195
- // Eco or Pro Mode: Only copy from whitelist
196
- const baseName = file.replace('.eco.md', '.md').replace('.instant.md', '.md')
197
- .replace('.ultra.md', '.md').replace('.creative.md', '.md');
198
-
199
- if (whitelist.includes(baseName)) {
200
- if (operationMode === 'eco') {
201
- if (isEcoVariant) {
202
- targetFileName = baseName;
203
- shouldCopy = true;
204
- } else if (isProVariant) {
205
- const ecoVariant = file.replace('.md', '.eco.md');
206
- const instantVariant = file.replace('.md', '.instant.md');
207
- if (!fs.existsSync(path.join(globalFolder, ecoVariant)) && !fs.existsSync(path.join(globalFolder, instantVariant))) {
208
- shouldCopy = true;
209
- }
210
- }
211
- } else if (operationMode === 'pro') {
212
- if (isProVariant) {
213
- shouldCopy = true;
214
- }
215
- }
216
- }
217
- }
218
-
219
- if (shouldCopy) {
220
- const srcPath = path.join(globalFolder, file);
221
- const destPath = path.join(localFolder, targetFileName);
222
-
223
- if (fs.lstatSync(srcPath).isDirectory()) {
224
- // For skills (directories), we use recursive copy
225
- if (os.platform() === 'win32') {
226
- try {
227
- execSync(`robocopy "${srcPath}" "${destPath}" /E /NFL /NDL /NJH /NJS /nc /ns /np /XO`, { stdio: 'inherit' });
228
- } catch (e) {}
229
- } else {
230
- execSync(`mkdir -p "${destPath}" && cp -R "${srcPath}/"* "${destPath}/"`, { stdio: 'inherit' });
231
- }
232
- } else {
233
- // For files
234
- fs.copyFileSync(srcPath, destPath);
235
- }
236
- }
237
- });
238
- }
239
- });
240
-
241
- console.log(`✅ Applied ${operationMode.toUpperCase()} resources to Workspace.`);
239
+ const localRulesDir = path.join(localAgentDir, 'rules');
240
+
241
+ // Create local .agent struct if not exists
242
+ if (!fs.existsSync(localRulesDir)) fs.mkdirSync(localRulesDir, { recursive: true });
243
+
244
+ // Define rules for each scale
245
+ const rulesToApply = {
246
+ 'instant': ['GEMINI.md', 'security.md', 'debug.md'], // Minimal
247
+ 'personal': ['GEMINI.md', 'security.md', 'debug.md'], // Legacy fallback
248
+ 'creative': null, // All Rules (Full Power)
249
+ 'sme': ['GEMINI.md', 'security.md', 'frontend.md', 'backend.md', 'debug.md', 'business.md', 'compliance.md', 'architecture-review.md'],
250
+ 'enterprise': null // All Rules
251
+ };
252
+
253
+ const targetRules = rulesToApply[projectScale];
254
+
255
+ if (targetRules) {
256
+ // Copy specific files from GLOBAL to LOCAL
257
+ targetRules.forEach(file => {
258
+ const globalFile = path.join(GLOBAL_DIR, 'rules', file);
259
+ const localFile = path.join(localRulesDir, file);
260
+ if (fs.existsSync(globalFile)) {
261
+ fs.copyFileSync(globalFile, localFile);
262
+ }
263
+ });
264
+ console.log(`✅ Applied ${targetRules.length} rules to Workspace.`);
265
+ } else {
266
+ // Enterprise: Copy ALL rules from Global to Local
267
+ const globalRulesDir = path.join(GLOBAL_DIR, 'rules');
268
+ if (fs.existsSync(globalRulesDir)) {
269
+ fs.readdirSync(globalRulesDir).forEach(file => {
270
+ fs.copyFileSync(path.join(globalRulesDir, file), path.join(localRulesDir, file));
271
+ });
272
+ }
273
+ console.log(`✅ Applied Full Enterprise rules to Workspace.`);
274
+ }
242
275
 
243
276
  // 8. Inject Config into Workspace Rules (Agent Name & Domain)
244
277
  const geminiRulePath = path.join(localRulesDir, 'GEMINI.md');
@@ -255,10 +288,10 @@ async function setup() {
255
288
 
256
289
  // Inject Industry Domain
257
290
  if (industryDomain) {
258
- const domainBlock = `- **Lĩnh vực hoạt động**: ${industryDomain.toUpperCase()}\n - Hệ thống sẽ ưu tiên các pattern và best practice thuộc lĩnh vực này.`;
259
-
260
- // Insert before 'Giá trị cốt lõi' bullet point
261
- content = content.replace(/(- \*\*Giá trị cốt lõi)/, `${domainBlock}\n$1`);
291
+ content = content.replace(
292
+ /Lĩnh vực hoạt động\*\*: GENERAL \(Mặc định\)/g,
293
+ `Lĩnh vực hoạt động**: ${industryDomain.toUpperCase()}`
294
+ );
262
295
  }
263
296
 
264
297
  fs.writeFileSync(geminiRulePath, content);
@@ -269,18 +302,18 @@ async function setup() {
269
302
  localizeWorkflows(lang);
270
303
 
271
304
  // FINAL SUMMARY (Premium Style)
272
- console.log('\n' + gradient.pastel.multiline('📦 Configuring Google Antigravity Environment'));
305
+ console.log('\n' + gradient.pastel.multiline(lang === 'vi' ? '📦 Đang cấu hình môi trường Antigravity IDE' : '📦 Configuring Antigravity IDE Environment'));
273
306
  console.log(gradient.atlas('━'.repeat(60)));
274
307
 
275
- console.log(chalk.green('√') + ' Global Rules Synced (Enterprise Standard)');
276
- console.log(chalk.green('√') + ' Workflows Localized');
277
- console.log(chalk.green('√') + ` Workspace Configured (${projectScale.toUpperCase()} Mode)`);
278
- console.log(chalk.green('√') + ' Context Injected (Identity & Domain)');
308
+ console.log(chalk.green('√') + (lang === 'vi' ? ' Đồng bộ Global Rules (Chuẩn Enterprise)' : ' Global Rules Synced (Enterprise Standard)'));
309
+ console.log(chalk.green('√') + (lang === 'vi' ? ' Đã bản địa hóa Workflows' : ' Workflows Localized'));
310
+ console.log(chalk.green('√') + (lang === 'vi' ? ` Cấu hình Workspace (Chế độ ${projectScale.toUpperCase()})` : ` Workspace Configured (${projectScale.toUpperCase()} Mode)`));
311
+ console.log(chalk.green('√') + (lang === 'vi' ? ' Đã nạp Context (Định danh & Lĩnh vực)' : ' Context Injected (Identity & Domain)'));
279
312
 
280
- console.log(gradient.rainbow('\n✓ SUCCESS! System Ready'));
313
+ console.log(gradient.rainbow(lang === 'vi' ? '\n✓ THÀNH CÔNG! Hệ thống đã sẵn sàng' : '\n✓ SUCCESS! System Ready'));
281
314
  console.log(gradient.atlas('━'.repeat(60)));
282
315
 
283
- console.log(chalk.bold.yellow('\n🤖 Kích hoạt AI Agent (Next Steps):'));
316
+ console.log(chalk.bold.yellow(lang === 'vi' ? '\n🤖 Kích hoạt AI Agent (Bước tiếp theo):' : '\n🤖 Activate AI Agent (Next Steps):'));
284
317
  if (lang === 'vi') {
285
318
  console.log(` 1. Mở dự án: ${chalk.cyan('cd <your-project>')}`);
286
319
  console.log(` 2. Mở Chat: ${chalk.cyan('(Sử dụng AI Panel của IDE)')}`);
@@ -1,19 +0,0 @@
1
- # ⚖️ Compliance Master Module
2
-
3
- > **Status**: Regulatory Guard
4
- > **Type**: Shared Module (Policies & Audits)
5
-
6
- This module manages legal and regulatory compliance requirements (GDPR, HIPAA, SOC2).
7
-
8
- ## 📂 Structure
9
-
10
- ```
11
- compliance/
12
- ├── checklists/ # ✅ Audit Tools
13
- │ └── gdpr_audit.md # - Data privacy checklist
14
- └── presets/ # ⚙️ Policies
15
- └── privacy_policy_template.md
16
- ```
17
-
18
- ## 🚀 Usage
19
- Use the checklists to ensure data handling meets legal standards before launch.
@@ -1,18 +0,0 @@
1
- # 🎨 Design System Module
2
-
3
- > **Status**: Visual Language
4
- > **Type**: Shared Module (Tokens & Components)
5
-
6
- This module houses the concrete implementation of design: Colors, Typography, Spacing, and Component definitions.
7
-
8
- ## 📂 Structure
9
-
10
- ```
11
- design-system/
12
- ├── brand_presets.json # 🎨 Color tokens
13
- ├── micro_interactions.md # 📜 Animation specs
14
- └── components/ # 🧩 React/HTML Component specs
15
- ```
16
-
17
- ## 🚀 Usage
18
- Import `brand_presets.json` into Tailwind config to enforce brand colors.
@@ -1,18 +0,0 @@
1
- # 🏗️ Domain Blueprints Module
2
-
3
- > **Status**: Vertical Architecture
4
- > **Type**: Shared Module (Industry Patterns)
5
-
6
- This module provides reference architectures for specific industries (Fintech, EdTech, E-commerce).
7
-
8
- ## 📂 Structure
9
-
10
- ```
11
- domain-blueprints/
12
- ├── fintech/ # 💰 Financial System Patterns
13
- ├── e-commerce/ # 🛒 Shopping Cart Flows
14
- └── education/ # 🎓 LMS Structures
15
- ```
16
-
17
- ## 🚀 Usage
18
- Select the relevant folder to find architecture diagrams and data flows for your specific industry.
@@ -1,19 +0,0 @@
1
- # 🛠️ DX Toolkit Module
2
-
3
- > **Status**: Developer Experience
4
- > **Type**: Shared Module (Workflow Optimization)
5
-
6
- This module ensures your development team moves fast without breaking things.
7
-
8
- ## 📂 Structure
9
-
10
- ```
11
- dx-toolkit/
12
- ├── checklists/ # ✅ Audit Tools
13
- │ └── code_review.md # - The "Senior Engineer" review guide
14
- └── presets/ # ⚙️ IDE Configs
15
- └── vscode_settings.json # - Opinionated VSCode Workspace settings
16
- ```
17
-
18
- ## 🚀 Usage
19
- Copy `vscode_settings.json` to `.vscode/settings.json` in your project root to align the whole team's editor behavior (Auto-save, Linting on save).
@@ -1,18 +0,0 @@
1
- # 🌐 I18n Master Module
2
-
3
- > **Status**: Global Reach
4
- > **Type**: Shared Module (Localization)
5
-
6
- This module standardizes internationalization (i18n) and localization (l10n) practices.
7
-
8
- ## 📂 Structure
9
-
10
- ```
11
- i18n-master/
12
- ├── locales/ # 🏳️ Standard Locale Codes
13
- └── checklists/ # ✅ Audit Tools
14
- └── text_expansion.md # - Check for UI breaks with long text
15
- ```
16
-
17
- ## 🚀 Usage
18
- Use this module to ensure your application can properly handle multiple languages and cultural formats (dates, currency).
@@ -1,18 +0,0 @@
1
- # ☁️ Infra Blueprints Module
2
-
3
- > **Status**: Cloud Foundation
4
- > **Type**: Shared Module (IaC & Topology)
5
-
6
- This module contains Infrastructure as Code (IaC) templates and cloud topology designs.
7
-
8
- ## 📂 Structure
9
-
10
- ```
11
- infra-blueprints/
12
- ├── aws/ # 🟧 AWS Patterns (Terraform/CDK)
13
- ├── gcp/ # 🟦 Google Cloud Patterns
14
- └── docker/ # 🐳 Container Configs
15
- ```
16
-
17
- ## 🚀 Usage
18
- Copy templates from the relevant cloud provider folder to jumpstart infrastructure setup.
@@ -1,17 +0,0 @@
1
- # 📊 Metrics Master Module
2
-
3
- > **Status**: Observability
4
- > **Type**: Shared Module (Monitoring & KPI)
5
-
6
- This module defines standard metrics, logging formats, and dashboard layouts.
7
-
8
- ## 📂 Structure
9
-
10
- ```
11
- metrics/
12
- ├── dashboards/ # 📉 Grafana/Datadog Templates
13
- └── templates/ # 📝 Log Format Specs
14
- ```
15
-
16
- ## 🚀 Usage
17
- Use these templates to ensure all services emit consistent logs and metrics for centralized monitoring.
@@ -1,19 +0,0 @@
1
- # 🦾 Resilience Patterns Module
2
-
3
- > **Status**: Deep Tech / Enterprise
4
- > **Type**: Shared Module (System Stability)
5
-
6
- This module provides the blueprints for building unbreakable, distributed systems.
7
-
8
- ## 📂 Structure
9
-
10
- ```
11
- resilience-patterns/
12
- ├── checklists/ # ✅ Audit Tools
13
- │ └── chaos_engineering.md # - Simulation scenarios
14
- └── presets/ # ⚙️ Configs
15
- └── circuit_breaker.json # - Timeout & Fallback policies
16
- ```
17
-
18
- ## 🚀 Usage
19
- Use these patterns when building interactions between Microservices or 3rd Party APIs. They prevent cascading failures.
@@ -1,25 +0,0 @@
1
- # 🛡️ Security Armor Module
2
-
3
- > **Status**: Critical Defense
4
- > **Type**: Shared Module (Audits & Configs)
5
-
6
- This module encapsulates the security standards (OWASP, Best Practices) for the system.
7
-
8
- ## 📂 Structure
9
-
10
- ```
11
- security-armor/
12
- ├── hardening.md # 📜 Theoretical Hardening Guide (Existing)
13
- ├── checklists/ # ✅ Audit Tools
14
- │ └── vuln_scan.md # - Manual/Automated Vulnerability Scan Checklist
15
- └── presets/ # ⚙️ Configuration
16
- └── helmet_config.json # - Reusable Helmet.js / Security Headers config
17
- ```
18
-
19
- ## 🚀 Usage
20
-
21
- ### 1. Pre-Deployment Audit
22
- Before any major release, run through the `checklists/vuln_scan.md`.
23
-
24
- ### 2. Header Configuration
25
- Copy the `helmet_config.json` settings into your web server (Express/Next.js) middleware to secure HTTP headers.
@@ -1,20 +0,0 @@
1
- # 🧪 Testing Master Module
2
-
3
- > **Status**: Quality Assurance
4
- > **Type**: Shared Module (Checklists & Scenarios)
5
-
6
- This module defines the testing phases and acceptance criteria.
7
-
8
- ## 📂 Structure
9
-
10
- ```
11
- testing-master/
12
- ├── scenarios.md # 📜 Test Scenarios (Existing)
13
- ├── checklists/ # ✅ Audit Tools
14
- │ └── pre_release.md # - Go/No-Go Checklist for release
15
- ```
16
-
17
- ## 🚀 Usage
18
-
19
- ### 1. Release Gate
20
- Use `checklists/pre_release.md` as the final gateway before pushing to Production. All items must be checked.
@@ -1,18 +0,0 @@
1
- # ⚡ Vitals Templates Module
2
-
3
- > **Status**: Performance Optimization
4
- > **Type**: Shared Module (CWV & Speed)
5
-
6
- This module focuses on Core Web Vitals (CWV) optimization and performance budgeting.
7
-
8
- ## 📂 Structure
9
-
10
- ```
11
- vitals-templates/
12
- ├── budgets/ # 📉 Performance Budgets (Size limits)
13
- └── checklists/ # ✅ Audit Tools
14
- └── lcp_optimization.md
15
- ```
16
-
17
- ## 🚀 Usage
18
- Apply the performance budgets in CI/CD to prevent heavy regressions. Use checklists to debug slow LCP/CLS.
@@ -1,22 +0,0 @@
1
- ---
2
- name: accessibility-expert
3
- description: >
4
- Web Accessibility (A11Y) Master. Ensures the application is usable by
5
- everyone, including people with disabilities.
6
- skills: modern-web-architect, javascript-pro
7
- ---
8
-
9
- # ♿ Accessibility Expert (Elite Mode)
10
-
11
- You ensure the digital world is inclusive for everyone.
12
-
13
- ## 📑 A11Y Strategy
14
- 1. **Compliance**: Adhering to WCAG 2.1/2.2 level AA or AAA.
15
- 2. **Semantics**: Using correct HTML5 landmark elements and ARIA roles.
16
- 3. **Testing**: Manual testing with screen readers (NVDA, VoiceOver) and keyboard navigation.
17
- 4. **Color**: Ensuring high contrast and avoiding color-only indicators.
18
-
19
- ## 🛠️ Tactical Focus
20
- - ARIA live regions and focus management.
21
- - Alt text and descriptive link labels.
22
- - Reducing cognitive load through clear structure.
@@ -1,22 +0,0 @@
1
- ---
2
- name: api-architect
3
- description: >
4
- API-First Design Master. Specializes in OpenAPI, GraphQL Schema,
5
- and high-performance interface contracts.
6
- skills: api-documenter, api-patterns, javascript-pro
7
- ---
8
-
9
- # 🔗 API Architect (Elite Mode)
10
-
11
- You design the nervous system of the application.
12
-
13
- ## 📑 contract-First Strategy
14
- 1. **Source of Truth**: Designing the Spec (YAML/JSON) before writing a single line of backend code.
15
- 2. **Standardization**: Ensuring consistent naming, error codes, and response structures.
16
- 3. **Flexibility**: Designing APIs that can be consumed by Web, Mobile, and IoT.
17
- 4. **Future-Proofing**: Implementing clear versioning and deprecation strategies.
18
-
19
- ## 🛠️ Tactical Focus
20
- - OpenAPI 3.1 & Swagger.
21
- - GraphQL Federation & Schema Stitching.
22
- - Protocol Buffers & gRPC for internal service comms.
@@ -1,19 +0,0 @@
1
- ---
2
- name: backend-specialist
3
- description: >
4
- MVP Systems Engineer. Builds robust APIs and simple database schemas
5
- to get the engine running.
6
- skills: javascript-pro, typescript-pro, api-patterns, database-design
7
- ---
8
-
9
- # ⚙️ MVP Backend Specialist
10
-
11
- You build the core logic and data structures for the MVP.
12
-
13
- ## 📑 MVP Strategy
14
- - **API**: Build straightforward REST or Server Actions.
15
- - **Database**: Use simple, extensible schemas (e.g., Prisma).
16
- - **Security**: Implement standard JWT/Session Auth.
17
-
18
- > [!NOTE]
19
- > Focus on the "Happy Path" first, handle edge cases after core logic is verified.
@@ -1,19 +0,0 @@
1
- ---
2
- name: backend-specialist
3
- description: >
4
- MVP Systems Engineer. Builds robust APIs and simple database schemas
5
- to get the engine running.
6
- skills: javascript-pro, typescript-pro, api-patterns, database-design
7
- ---
8
-
9
- # ⚙️ MVP Backend Specialist
10
-
11
- You build the core logic and data structures for the MVP.
12
-
13
- ## 📑 MVP Strategy
14
- - **API**: Build straightforward REST or Server Actions.
15
- - **Database**: Use simple, extensible schemas (e.g., Prisma).
16
- - **Security**: Implement standard JWT/Session Auth.
17
-
18
- > [!NOTE]
19
- > Focus on the "Happy Path" first, handle edge cases after core logic is verified.