antigravity-ide 4.2.0 → 4.2.1

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 (354) hide show
  1. package/.agent/.shared/{technical/ai-master → ai-master}/README.md +1 -12
  2. package/.agent/.shared/{technical/api-standards → api-standards}/README.md +1 -12
  3. package/.agent/.shared/compliance/README.md +19 -0
  4. package/.agent/.shared/{technical/database-master → database-master}/README.md +2 -12
  5. package/.agent/.shared/{core/design-philosophy → design-philosophy}/README.md +1 -12
  6. package/.agent/.shared/design-system/README.md +18 -0
  7. package/.agent/.shared/domain-blueprints/README.md +18 -0
  8. package/.agent/.shared/dx-toolkit/README.md +19 -0
  9. package/.agent/.shared/i18n-master/README.md +18 -0
  10. package/.agent/.shared/infra-blueprints/README.md +18 -0
  11. package/.agent/.shared/metrics/README.md +17 -0
  12. package/.agent/.shared/resilience-patterns/README.md +19 -0
  13. package/.agent/.shared/security-armor/README.md +25 -0
  14. package/.agent/.shared/{technical/seo-master → seo-master}/README.md +1 -12
  15. package/.agent/.shared/testing-master/README.md +20 -0
  16. package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/README.md +1 -12
  17. package/.agent/.shared/vitals-templates/README.md +18 -0
  18. package/.agent/ARCHITECTURE.md +7 -10
  19. package/.agent/ARCHITECTURE.vi.md +8 -8
  20. package/.agent/RESOURCES.md +1 -0
  21. package/.agent/agents/accessibility-expert.md +22 -0
  22. package/.agent/agents/api-architect.md +22 -0
  23. package/.agent/agents/backend-specialist.eco.md +19 -0
  24. package/.agent/agents/backend-specialist.instant.md +19 -0
  25. package/.agent/agents/backend-specialist.md +19 -154
  26. package/.agent/agents/cloud-architect.md +189 -108
  27. package/.agent/agents/codebase-expert.md +23 -0
  28. package/.agent/agents/compliance-expert.md +22 -0
  29. package/.agent/agents/data-scientist.md +22 -0
  30. package/.agent/agents/debugger.eco.md +20 -0
  31. package/.agent/agents/debugger.instant.md +20 -0
  32. package/.agent/agents/debugger.md +182 -83
  33. package/.agent/agents/deep-thinker.ultra.md +23 -0
  34. package/.agent/agents/devex-optimizer.md +22 -0
  35. package/.agent/agents/devops-architect.md +22 -0
  36. package/.agent/agents/documentation-writer.md +72 -125
  37. package/.agent/agents/frontend-specialist.eco.md +19 -0
  38. package/.agent/agents/frontend-specialist.instant.md +19 -0
  39. package/.agent/agents/frontend-specialist.md +7 -40
  40. package/.agent/agents/game-developer.md +116 -111
  41. package/.agent/agents/growth-engineer.md +22 -0
  42. package/.agent/agents/i18n-specialist.md +21 -0
  43. package/.agent/agents/legacy-modernizer.md +22 -0
  44. package/.agent/agents/microservices-specialist.md +22 -0
  45. package/.agent/agents/mobile-developer.md +321 -108
  46. package/.agent/agents/motion-designer.md +22 -0
  47. package/.agent/agents/orchestrator.creative.md +28 -0
  48. package/.agent/agents/orchestrator.eco.md +29 -0
  49. package/.agent/agents/orchestrator.instant.md +29 -0
  50. package/.agent/agents/orchestrator.md +366 -106
  51. package/.agent/agents/orchestrator.ultra.md +28 -0
  52. package/.agent/agents/performance-benchmarker.md +22 -0
  53. package/.agent/agents/performance-optimizer.md +136 -105
  54. package/.agent/agents/project-planner.eco.md +19 -0
  55. package/.agent/agents/project-planner.instant.md +19 -0
  56. package/.agent/agents/project-planner.md +39 -132
  57. package/.agent/agents/quality-inspector.md +32 -136
  58. package/.agent/agents/security-auditor.md +15 -138
  59. package/.agent/agents/security-pentester.md +22 -0
  60. package/.agent/agents/seo-specialist.md +72 -118
  61. package/.agent/agents/serverless-expert.md +22 -0
  62. package/.agent/agents/test-engineer.md +11 -142
  63. package/.agent/fastcode_index.json +1038 -0
  64. package/.agent/mcp_config.json +24 -0
  65. package/.agent/rules/GEMINI.eco.md +37 -0
  66. package/.agent/rules/GEMINI.instant.md +37 -0
  67. package/.agent/rules/GEMINI.md +31 -62
  68. package/.agent/rules/api-spec.md +28 -0
  69. package/.agent/rules/code-quality.md +3 -34
  70. package/.agent/rules/database.md +24 -0
  71. package/.agent/rules/devops.md +23 -0
  72. package/.agent/rules/frontend.md +3 -3
  73. package/.agent/rules/growth-strategy.md +22 -0
  74. package/.agent/rules/logging-monitoring.md +22 -0
  75. package/.agent/rules/quality-assurance.md +22 -0
  76. package/.agent/rules/strict-protocol.md +3 -44
  77. package/.agent/rules/system-reasoning.md +20 -0
  78. package/.agent/rules/system-update.md +3 -56
  79. package/.agent/rules/ui-design.md +23 -0
  80. package/.agent/rules/ux-patterns.md +23 -0
  81. package/.agent/scripts/auto_preview.py +148 -0
  82. package/.agent/scripts/checklist.py +252 -0
  83. package/.agent/scripts/session_manager.py +120 -0
  84. package/.agent/scripts/simulation_install.js +59 -0
  85. package/.agent/scripts/sync_to_global.py +78 -0
  86. package/.agent/scripts/translate_workflows.py +53 -0
  87. package/.agent/scripts/verify_all.py +327 -0
  88. package/.agent/scripts/verify_shared_modules.js +126 -0
  89. package/.agent/skills/agent-backend-patterns/SKILL.md +6 -13
  90. package/.agent/skills/ai-engineer/SKILL.md +16 -29
  91. package/.agent/skills/api-documenter/SKILL.md +4 -4
  92. package/.agent/skills/app-builder/SKILL.md +1 -1
  93. package/.agent/skills/app-builder/tech-stack.md +2 -2
  94. package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +79 -39
  95. package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +75 -53
  96. package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +119 -56
  97. package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +94 -61
  98. package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +82 -56
  99. package/.agent/skills/cloud-architect-master/SKILL.md +4 -9
  100. package/.agent/skills/cro-expert-kit/SKILL.md +4 -9
  101. package/.agent/skills/database-migration/SKILL.md +3 -9
  102. package/.agent/skills/deployment-engineer/SKILL.md +3 -9
  103. package/.agent/skills/fastcode-search/SKILL.md +46 -0
  104. package/.agent/skills/fastcode-search/fastcode_config.example.json +17 -0
  105. package/.agent/skills/frontend-design/ux-psychology.md +585 -10
  106. package/.agent/skills/frontend-trends-2026/SKILL.md +78 -0
  107. package/.agent/skills/frontend-trends-2026/formulas/BentoGrid.tsx +42 -0
  108. package/.agent/skills/frontend-trends-2026/formulas/LiquidCard.tsx +32 -0
  109. package/.agent/skills/frontend-trends-2026/formulas/NeoButton.tsx +27 -0
  110. package/.agent/skills/full-stack-scaffold/SKILL.md +4 -4
  111. package/.agent/skills/game-development/2d-games/SKILL.md +2 -4
  112. package/.agent/skills/game-development/3d-games/SKILL.md +2 -4
  113. package/.agent/skills/game-development/SKILL.md +149 -18
  114. package/.agent/skills/game-development/game-art/SKILL.md +2 -4
  115. package/.agent/skills/game-development/game-audio/SKILL.md +2 -4
  116. package/.agent/skills/game-development/game-design/SKILL.md +2 -4
  117. package/.agent/skills/game-development/mobile-games/SKILL.md +2 -4
  118. package/.agent/skills/game-development/multiplayer/SKILL.md +2 -4
  119. package/.agent/skills/game-development/pc-games/SKILL.md +2 -4
  120. package/.agent/skills/game-development/vr-ar/SKILL.md +2 -4
  121. package/.agent/skills/game-development/web-games/SKILL.md +2 -4
  122. package/.agent/skills/geo-fundamentals/SKILL.md +136 -9
  123. package/.agent/skills/git-collaboration-master/SKILL.md +4 -9
  124. package/.agent/skills/i18n-localization/SKILL.md +118 -10
  125. package/.agent/skills/incident-responder/SKILL.md +6 -9
  126. package/.agent/skills/legacy-modernizer/SKILL.md +4 -9
  127. package/.agent/skills/lint-and-validate/scripts/lint_runner.py +14 -2
  128. package/.agent/skills/mcp-builder/SKILL.md +164 -21
  129. package/.agent/skills/mobile-design/SKILL.md +369 -21
  130. package/.agent/skills/mobile-design/mobile-performance.md +1 -1
  131. package/.agent/skills/modern-web-architect/SKILL.md +6 -12
  132. package/.agent/skills/nextjs-react-expert/scripts/convert_rules.py +1 -1
  133. package/.agent/skills/penetration-tester-master/SKILL.md +4 -9
  134. package/.agent/skills/performance-engineer/SKILL.md +5 -4
  135. package/.agent/skills/production-code-audit/SKILL.md +0 -6
  136. package/.agent/skills/rust-pro/SKILL.md +177 -0
  137. package/.agent/skills/security-auditor/SKILL.md +27 -35
  138. package/.agent/skills/seo-expert-kit/SKILL.md +4 -9
  139. package/.agent/skills/tdd-master-workflow/SKILL.md +3 -9
  140. package/.agent/workflows/audit.md +16 -30
  141. package/.agent/workflows/brainstorm.md +96 -33
  142. package/.agent/workflows/create.md +45 -37
  143. package/.agent/workflows/debug.md +84 -45
  144. package/.agent/workflows/deep-security-audit.md +9 -0
  145. package/.agent/workflows/deploy.md +158 -33
  146. package/.agent/workflows/document.md +15 -38
  147. package/.agent/workflows/enhance.md +48 -33
  148. package/.agent/workflows/growth-max.md +9 -0
  149. package/.agent/workflows/monitor.md +14 -35
  150. package/.agent/workflows/orchestrate.md +218 -31
  151. package/.agent/workflows/performance-max.md +9 -0
  152. package/.agent/workflows/plan.md +70 -39
  153. package/.agent/workflows/security.md +14 -35
  154. package/.agent/workflows/seo.md +16 -39
  155. package/.agent/workflows/status.md +72 -33
  156. package/.agent/workflows/test.md +127 -30
  157. package/.agent/workflows/ui-ux-pro-max.md +283 -24
  158. package/.editorconfig +21 -0
  159. package/.gitattributes +7 -0
  160. package/CHANGELOG.md +32 -0
  161. package/ERRORS.md +67 -0
  162. package/{.agent/GEMINI.md → GEMINI.md} +5 -4
  163. package/LICENSE +8 -22
  164. package/README.md +72 -102
  165. package/README.vi.md +110 -90
  166. package/action.yml +32 -0
  167. package/antigravity-ide-logo.png +0 -0
  168. package/antigravity-ide-logo.svg +24 -0
  169. package/assets/skills-bundle.json +1 -0
  170. package/cli/create.js +413 -275
  171. package/cli/index.js +24 -28
  172. package/cli/lib/auto-update.js +21 -14
  173. package/cli/logic/skill-definitions.js +39 -0
  174. package/cli/manifest.js +524 -0
  175. package/cli/prompts.js +145 -151
  176. package/cli/skills/fastcode.js +181 -0
  177. package/docs/AGENTS_GUIDE.vi.md +45 -38
  178. package/docs/AGENT_FLOW.md +608 -0
  179. package/docs/CONTRIBUTING.md +46 -0
  180. package/docs/CONTRIBUTING.vi.md +3 -12
  181. package/docs/COPYRIGHT.md +57 -0
  182. package/docs/DEPLOYMENT.md +77 -0
  183. package/docs/{GEMINI_USAGE.md → GEMINI_GUIDE.md} +6 -6
  184. package/docs/GLOSSARY.md +109 -0
  185. package/docs/GLOSSARY.vi.md +30 -49
  186. package/docs/HOW_ANTIGRAVITY_THINKS.vi.md +1 -1
  187. package/docs/MASTER_GUIDE.md +103 -0
  188. package/docs/OPERATIONAL_FLOW.md +147 -0
  189. package/docs/OPERATIONAL_FLOW.vi.md +0 -15
  190. package/docs/PLAN-upgrade-core-architecture.md +71 -0
  191. package/docs/{PUBLISHING_GUIDE.md → PUBLISHING.md} +3 -31
  192. package/docs/RULES_GUIDE.vi.md +31 -67
  193. package/docs/SHARED_LIBRARY_GUIDE.vi.md +22 -18
  194. package/docs/SKILLS.md +610 -0
  195. package/docs/SKILLS_GUIDE.vi.md +32 -118
  196. package/docs/TROUBLESHOOTING.md +43 -0
  197. package/docs/TROUBLESHOOTING.vi.md +2 -10
  198. package/docs/WORKFLOW_GUIDE.vi.md +9 -57
  199. package/jest.config.js +8 -0
  200. package/package.json +8 -31
  201. package/scripts/bump.js +93 -0
  202. package/scripts/bundle-skills.js +59 -0
  203. package/scripts/internal/automation/auto-release.js +177 -0
  204. package/scripts/internal/fractalize-skills.js +89 -0
  205. package/scripts/internal/generate-skill-definitions.js +134 -0
  206. package/scripts/internal/internal/update-docs.js +115 -0
  207. package/scripts/internal/refactor-skill-content.js +127 -0
  208. package/scripts/internal/rename-skills.js +96 -0
  209. package/scripts/internal/sync-skills.js +112 -0
  210. package/scripts/internal/update-frontmatter-names.js +99 -0
  211. package/scripts/internal/verification/audit-dna.js +56 -0
  212. package/scripts/internal/verification/audit-skills.js +65 -0
  213. package/setup.js +114 -147
  214. package/web/src/app/docs/guide/examples/brainstorm/page.mdx +91 -0
  215. package/web/src/app/docs/guide/examples/create/page.mdx +84 -0
  216. package/web/src/app/docs/guide/examples/debugging/page.mdx +83 -0
  217. package/web/src/app/docs/guide/examples/deployment/page.mdx +93 -0
  218. package/web/src/app/docs/guide/examples/new-feature/page.mdx +102 -0
  219. package/web/src/app/docs/guide/examples/orchestration/page.mdx +99 -0
  220. package/web/src/app/docs/guide/examples/plan/page.mdx +76 -0
  221. package/web/src/app/docs/guide/examples/preview/page.mdx +77 -0
  222. package/web/src/app/docs/guide/examples/status/page.mdx +78 -0
  223. package/web/src/app/docs/guide/examples/test/page.mdx +80 -0
  224. package/web/src/app/docs/guide/examples/ui-design/page.mdx +90 -0
  225. package/web/src/components/mdx/Callout.tsx +60 -0
  226. package/web/src/components/mdx/FeatureGrid.tsx +38 -0
  227. package/web/src/components/mdx/ProTips.tsx +29 -0
  228. package/web/src/components/mdx/StepList.tsx +33 -0
  229. package/web/src/components/mdx/Terminal.tsx +58 -0
  230. package/web/src/components/mdx/index.ts +5 -0
  231. package/web/src/mdx-components.tsx +98 -0
  232. package/.agent/skills/brand-guidelines-anthropic/LICENSE.txt +0 -202
  233. package/.agent/skills/brand-guidelines-anthropic/SKILL.md +0 -26
  234. package/.agent/skills/brand-guidelines-anthropic/sub-skills/color-application.md +0 -5
  235. package/.agent/skills/brand-guidelines-anthropic/sub-skills/colors.md +0 -14
  236. package/.agent/skills/brand-guidelines-anthropic/sub-skills/font-management.md +0 -6
  237. package/.agent/skills/brand-guidelines-anthropic/sub-skills/shape-and-accent-colors.md +0 -7
  238. package/.agent/skills/brand-guidelines-anthropic/sub-skills/smart-font-application.md +0 -6
  239. package/.agent/skills/brand-guidelines-anthropic/sub-skills/text-styling.md +0 -6
  240. package/.agent/skills/brand-guidelines-anthropic/sub-skills/typography.md +0 -7
  241. package/.agent/skills/internal-comms-anthropic/LICENSE.txt +0 -202
  242. package/.agent/skills/internal-comms-anthropic/SKILL.md +0 -33
  243. package/.agent/skills/internal-comms-anthropic/examples/3p-updates.md +0 -47
  244. package/.agent/skills/internal-comms-anthropic/examples/company-newsletter.md +0 -65
  245. package/.agent/skills/internal-comms-anthropic/examples/faq-answers.md +0 -30
  246. package/.agent/skills/internal-comms-anthropic/examples/general-comms.md +0 -16
  247. package/.agent/skills/last30days/tests/__init__.py +0 -1
  248. package/.agent/skills/last30days/tests/test_cache.py +0 -59
  249. package/.agent/skills/last30days/tests/test_dates.py +0 -114
  250. package/.agent/skills/last30days/tests/test_dedupe.py +0 -111
  251. package/.agent/skills/last30days/tests/test_models.py +0 -135
  252. package/.agent/skills/last30days/tests/test_normalize.py +0 -138
  253. package/.agent/skills/last30days/tests/test_render.py +0 -116
  254. package/.agent/skills/last30days/tests/test_score.py +0 -168
  255. package/.agent/skills/loki-mode/.github/workflows/claude-code-review.yml +0 -57
  256. package/.agent/skills/loki-mode/.github/workflows/claude.yml +0 -50
  257. package/.agent/skills/loki-mode/.github/workflows/release.yml +0 -128
  258. package/.agent/skills/loki-mode/tests/run-all-tests.sh +0 -78
  259. package/.agent/skills/loki-mode/tests/test-agent-timeout.sh +0 -348
  260. package/.agent/skills/loki-mode/tests/test-bootstrap.sh +0 -196
  261. package/.agent/skills/loki-mode/tests/test-circuit-breaker.sh +0 -389
  262. package/.agent/skills/loki-mode/tests/test-state-recovery.sh +0 -393
  263. package/.agent/skills/loki-mode/tests/test-task-queue.sh +0 -396
  264. package/.agent/skills/loki-mode/tests/test-wrapper.sh +0 -314
  265. package/.agent/skills/shopify-development/scripts/tests/test_shopify_init.py +0 -379
  266. package/cli/logic/product-skills.js +0 -58
  267. /package/.agent/.shared/{technical/ai-master → ai-master}/best_patterns.md +0 -0
  268. /package/.agent/.shared/{technical/ai-master → ai-master}/checklists/prompt_audit.md +0 -0
  269. /package/.agent/.shared/{technical/ai-master → ai-master}/presets/model_configs.json +0 -0
  270. /package/.agent/.shared/{technical/api-standards → api-standards}/data +0 -0
  271. /package/.agent/.shared/{technical/api-standards → api-standards}/endpoints_naming.md +0 -0
  272. /package/.agent/.shared/{technical/api-standards → api-standards}/error_codes.csv +0 -0
  273. /package/.agent/.shared/{technical/api-standards → api-standards}/pagination_sorting.md +0 -0
  274. /package/.agent/.shared/{technical/api-standards → api-standards}/response_format.json +0 -0
  275. /package/.agent/.shared/{verticals/compliance → compliance}/legal_templates.md +0 -0
  276. /package/.agent/.shared/{technical/database-master → database-master}/schemas/auth_rbac.sql +0 -0
  277. /package/.agent/.shared/{technical/database-master → database-master}/schemas/cms.sql +0 -0
  278. /package/.agent/.shared/{technical/database-master → database-master}/schemas/ecommerce.sql +0 -0
  279. /package/.agent/.shared/{core/design-philosophy → design-philosophy}/MANIFESTO.md +0 -0
  280. /package/.agent/.shared/{core/design-philosophy → design-philosophy}/checklists/tactile_audit.md +0 -0
  281. /package/.agent/.shared/{core/design-philosophy → design-philosophy}/checklists/visual_audit.md +0 -0
  282. /package/.agent/.shared/{core/design-philosophy → design-philosophy}/presets/linear_glow.json +0 -0
  283. /package/.agent/.shared/{technical/design-system → design-system}/brand_presets.json +0 -0
  284. /package/.agent/.shared/{technical/design-system → design-system}/micro_interactions.md +0 -0
  285. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/edtech.md +0 -0
  286. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/fintech.md +0 -0
  287. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/fnb_restaurant.md +0 -0
  288. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/freelance_marketplace.md +0 -0
  289. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/healthcare.md +0 -0
  290. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/hospitality_tourism.md +0 -0
  291. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/logistics.md +0 -0
  292. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/marketing_automation.md +0 -0
  293. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/personal_branding.md +0 -0
  294. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/real_estate.md +0 -0
  295. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/retail_ecommerce.md +0 -0
  296. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/standard-pro-agents.md +0 -0
  297. /package/.agent/.shared/{core/dx-toolkit → dx-toolkit}/checklists/code_review.md +0 -0
  298. /package/.agent/.shared/{core/dx-toolkit → dx-toolkit}/presets/vscode_settings.json +0 -0
  299. /package/.agent/.shared/{technical/i18n-master → i18n-master}/vi_tech_dictionary.csv +0 -0
  300. /package/.agent/.shared/{technical/i18n-master → i18n-master}/workflows.json +0 -0
  301. /package/.agent/.shared/{verticals/infra-blueprints → infra-blueprints}/deployment_specs.md +0 -0
  302. /package/.agent/.shared/{core/metrics → metrics}/benchmarks.json +0 -0
  303. /package/.agent/.shared/{technical/resilience-patterns → resilience-patterns}/checklists/chaos_engineering.md +0 -0
  304. /package/.agent/.shared/{technical/resilience-patterns → resilience-patterns}/presets/circuit_breaker.json +0 -0
  305. /package/.agent/.shared/{technical/security-armor → security-armor}/checklists/vuln_scan.md +0 -0
  306. /package/.agent/.shared/{technical/security-armor → security-armor}/hardening.md +0 -0
  307. /package/.agent/.shared/{technical/security-armor → security-armor}/presets/helmet_config.json +0 -0
  308. /package/.agent/.shared/{technical/seo-master → seo-master}/checklists/technical_seo.md +0 -0
  309. /package/.agent/.shared/{technical/seo-master → seo-master}/presets/json_ld_schema.json +0 -0
  310. /package/.agent/.shared/{technical/testing-master → testing-master}/checklists/pre_release.md +0 -0
  311. /package/.agent/.shared/{technical/testing-master → testing-master}/scenarios.md +0 -0
  312. /package/.agent/{skills → .shared}/ui-ux-pro-max/data/charts.csv +0 -0
  313. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/colors.csv +0 -0
  314. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/icons.csv +0 -0
  315. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/landing.csv +0 -0
  316. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/products.csv +0 -0
  317. /package/.agent/{skills → .shared}/ui-ux-pro-max/data/prompts.csv +0 -0
  318. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/react-performance.csv +0 -0
  319. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/flutter.csv +0 -0
  320. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/html-tailwind.csv +0 -0
  321. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/jetpack-compose.csv +0 -0
  322. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/nextjs.csv +0 -0
  323. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/nuxt-ui.csv +0 -0
  324. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/nuxtjs.csv +0 -0
  325. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/react-native.csv +0 -0
  326. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/react.csv +0 -0
  327. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/shadcn.csv +0 -0
  328. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/svelte.csv +0 -0
  329. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/swiftui.csv +0 -0
  330. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/vue.csv +0 -0
  331. /package/.agent/{skills → .shared}/ui-ux-pro-max/data/styles.csv +0 -0
  332. /package/.agent/{skills → .shared}/ui-ux-pro-max/data/typography.csv +0 -0
  333. /package/.agent/{skills → .shared}/ui-ux-pro-max/data/ui-reasoning.csv +0 -0
  334. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/ux-guidelines.csv +0 -0
  335. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/web-interface.csv +0 -0
  336. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/__pycache__/core.cpython-313.pyc +0 -0
  337. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
  338. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/core.py +0 -0
  339. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/design_system.py +0 -0
  340. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/search.py +0 -0
  341. /package/.agent/.shared/{core/vitals-templates → vitals-templates}/audit_report.md +0 -0
  342. /package/.agent/.shared/{core/vitals-templates → vitals-templates}/plan_prd.md +0 -0
  343. /package/.agent/skills/ai-engineer/{sub-skills → resources}/ai_infra_stack.md +0 -0
  344. /package/.agent/skills/cloud-architect-master/{sub-skills → resources}/cost_optimization_checklist.md +0 -0
  345. /package/.agent/skills/cro-expert-kit/{sub-skills → resources}/psychological_triggers.md +0 -0
  346. /package/.agent/skills/database-migration/{sub-skills → resources}/zero_downtime_strategy.md +0 -0
  347. /package/.agent/skills/deployment-engineer/{sub-skills → resources}/k8s_best_practices.md +0 -0
  348. /package/.agent/skills/git-collaboration-master/{sub-skills → resources}/pr_template.md +0 -0
  349. /package/.agent/skills/incident-responder/{sub-skills → resources}/incident_severity_levels.md +0 -0
  350. /package/.agent/skills/legacy-modernizer/{sub-skills → resources}/strangler_fig_pattern.md +0 -0
  351. /package/.agent/skills/penetration-tester-master/{sub-skills → resources}/owasp_top_10_2025.md +0 -0
  352. /package/.agent/skills/production-code-audit/{sub-skills → resources}/solid_principles_cheat_sheet.md +0 -0
  353. /package/.agent/skills/seo-expert-kit/{sub-skills → resources}/technical_seo_checklist.md +0 -0
  354. /package/.agent/skills/tdd-master-workflow/{sub-skills → resources}/unit_test_naming_convention.md +0 -0
@@ -1,135 +1,49 @@
1
1
  # 🧠 Hướng Dẫn Về "Kỹ Năng" (Skills System)
2
2
 
3
- > **AntiGravity IDE** không chỉ là một con bot chat. Nó là một tập hợp của **573 Kỹ Năng Lõi (Core Skills)**, mỗi kỹ năng nắm giữ hàng ngàn chiến thuật chuyên sâu (**2977** Fractal Patterns), đạt chuẩn v4.1.0.
3
+ > **Antigravity IDE** không chỉ là một con bot chat. Nó là một tập hợp của **573 Siêu Kỹ Năng (Master Skills)**, mỗi người phụ trách một mảng công nghệ chuyên sâu.
4
4
 
5
5
  ---
6
6
 
7
- ## 1. Cơ Chế Hoạt Động (v4.1.0 - Fractal Update)
7
+ ## 1. Cơ Chế Hoạt Động
8
8
 
9
- ### 🧩 Kiến Trúc Phân Hình (Fractal Skill Architecture)
10
- phiên bản v4.1, mỗi **Skill** được thiết kế như một thư mục kiến thức sống động:
11
- - **Core Skill** (`SKILL.md`): File chính đóng vai trò Mục lục và Điều phối viên.
12
- - **Sub-skills** (`sub-skills/*.md`): Các đun kiến thức con chuyên sâu, thể được gọi độc lập.
13
- - **Standardized Branding**: Tất cả kỹ năng đều được chuẩn hóa dưới tên gọi `agent-*`, xóa bỏ rào cản thương hiệu AI (Claude/Gemini/GPT).
9
+ ### 🧩 Skill gì?
10
+ Hãy tưởng tượng **Skill** giống như việc "cài phần mềm vào não" của AI.
11
+ * Bình thường: AI biết chung chung về mọi thứ.
12
+ * Khi nạp Skill: AI đột nhiên trở thành chuyên gia trong lĩnh vực cụ thể.
14
13
 
15
- ---
16
-
17
- ## 1.5. Phân Bổ Thích Ứng (Scale-Adaptive Allocation)
18
-
19
- Vũ khí (Skills) được cấp phát thông minh dựa trên **Quy mô dự án**:
20
-
21
- ### A. Theo Chế độ Vận hành (Operation Mode)
22
- * **👤 Solo-Ninja (Flexible)**: Nạp "Hybrid Skills". Agent có thể sử dụng đa chuyên môn (UI + Backend) cùng lúc để đạt tốc độ tối đa.
23
- * **👥 Agile-Squad (Balanced)**: Phân hóa kỹ năng theo Domain. Agent Frontend chỉ dùng Skill giao diện, Backend dùng Skill API.
24
- * **🏢 Software-Factory (Strict)**: Ép buộc nạp các Skill kiểm định (Audit, Security, Testing) cho mọi bước thực thi.
25
-
26
- ### B. Theo Loại Sản Phẩm (Product Type)
27
- * 📱 **User Application**: Tự động nạp `webdev`, `mobile`, `testing`, `uiux` (Magic UI).
28
- * 🛠️ **Developer Tool**: Tự động nạp `devops`, `testing`, `performance`.
29
- * 🤖 **AI Agent**: Tự động nạp `ai`, `maker`, `research` (Fabric Patterns).
30
- * 🎨 **Digital Asset**: Tự động nạp `game-development`, `webdev`, `seo`, `uiux`.
14
+ ### ⚡ Lazy Loading (Nạp Theo Nhu Cầu)
15
+ Hệ thống **KHÔNG** nạp tất cả 573 chuyên gia cùng lúc (vì sẽ quá tải).
16
+ * Khi bạn nói: *"Giúp tôi code giao diện mobile"* -> Hệ thống tự động gọi ông `mobile-design` và `react-native-architecture` vào phòng họp.
17
+ * Khi bạn nói: *"Check lỗi bảo mật"* -> Hệ thống gọi ông `security-auditor` vào.
31
18
 
32
19
  ---
33
20
 
34
- ## 2. Danh Sách Kỹ Năng Tiêu Biểu (Featured Skills)
35
-
36
- > ℹ️ **Lưu ý**: Đây chỉ là danh sách các kỹ năng nổi bật. Để xem toàn bộ **573 Kỹ năng**, vui lòng tra cứu file [`SKILLS.md`](../SKILLS.md) tại thư mục gốc.
21
+ ## 2. Danh Sách Các Chuyên Gia (Master Skills)
37
22
 
38
23
  ### 💻 Nhóm Phát Triển (Development)
39
- * **`modern-web-architect`**: Trùm Frontend, Next.js, React 19 Best Practices.
40
- * **`react-best-practices`**: Chuẩn Vercel Engineering cho Next.js 14+ & React 19.
41
- * **`agent-coding-standards`** *(Mới)*: Tiêu chuẩn code Minimalist & High-Performance.
42
- * **`nextjs-react-expert`**: Chuyên sâu Next.js 15+ App Router React optimization.
43
- * **`backend-specialist`**: API Design, Microservices.
44
- * **`nodejs-best-practices`**: Node.js patterns, async patterns, security.
45
- * **`python-patterns`**: Python development, Django/Flask, type hints.
46
- * **`mobile-design`**: React Native Patterns, Flutter.
47
- * **`react-native-best-practices`**: Expo Router, FlashList, NativeWind (Vercel Labs).
48
- * **`github-mcp`** *(Official)*: Quản lý Git Repo, Issue, PR chuẩn MCP.
49
- * **`game-development`**: WebGL, Canvas, Mobile Game Logic.
50
- * **`frontend-design`**: UI/UX design thinking, component design.
51
- * **`tailwind-patterns`**: Tailwind CSS v4, design systems.
52
- * **`rust-pro`**: Rust Systems Programming (Async, Memory Safety).
53
- * **`full-stack-scaffold`**: Tạo khung dự án Fullstack (Node/Python/Rust/Mobile).
54
- * **`git-collaboration-master`**: Quy trình Git Flow làm việc nhóm chuyên nghiệp.
55
-
56
- ### 🏗️ Nhóm Kiến Trúc & Thiết Kế
57
- * **`architecture`**: Architectural decision-making, ADR.
58
- * **`api-patterns`**: REST vs GraphQL vs tRPC, API design.
59
- * **`database-design`**: Schema design, indexing strategy.
60
- * **`postgres-mcp`** *(Official)*: Truy vấn & Kiểm tra Schema PostgreSQL an toàn.
61
- * **`postgres-best-practices`**: Tối ưu hóa Supabase/PostgreSQL (Index, RLS).
62
- * **`app-builder`**: Full-stack scaffolding từ natural language.
63
- * **`clean-code`**: Pragmatic coding standards, SOLID.
64
- * **`database-migration`**: Chiến lược migration DB an toàn, không downtime.
65
- * **`strategic-research`**: Nghiên cứu chiến lược công nghệ và đối thủ.
66
- * **`agent-strategic-compact`** *(Mới)*: Tư duy chiến lược tinh gọn cho High-Level Engineering.
67
-
68
- ### 🏠 Nhóm Đọc Hiểu & Scraping *(Mới)*
69
- * **`firecrawl-scraper`**: Deep Crawling, PDF Parsing, Screenshot (Chuyên sâu).
70
- * **`tavily-web`**: Search & Extract thông tin nhanh từ Web.
71
- * **`playwright-skill`**: Tự động hóa trình duyệt để tương tác và test UI.
72
-
73
- ### ☁️ Nhóm Hạ Tầng (DevOps & Testing)
24
+ * **`nextjs-react-expert`**: Trùm Frontend, Next.js App Router.
25
+ * **`backend-specialist`**: Trùm Backend (Node.js/Python/Go), API Design.
26
+ * **`mobile-developer`**: Chuyên trị React Native, Flutter, iOS.
27
+ * **`database-architect`**: Thiết kế DB (SQL/NoSQL) chuẩn 3NF, tối ưu Index.
28
+
29
+ ### ☁️ Nhóm Hạ Tầng (DevOps & Cloud)
74
30
  * **`devops-engineer`**: Docker, CI/CD, Kubernetes.
75
- * **`deployment-procedures`**: Safe deployment workflows, rollback.
76
- * **`vercel-deploy`**: Deploy tự động lên Vercel Network.
77
- * **`mcp-builder`**: Xây dựng Model Context Protocol Server.
78
- * **`tdd-master-workflow`**: Quy trình Test-Driven Development chuẩn chỉ.
79
- * **`tdd-workflow`**: RED-GREEN-REFACTOR cycle.
80
- * **`testing-patterns`**: Unit, integration, mocking strategies.
81
- * **`webapp-testing`**: E2E, Playwright, deep audit.
82
- * **`server-management`**: Process management, monitoring.
83
- * **`cloud-architect-master`**: Thiết kế kiến trúc Cloud đa nền tảng (AWS/GCP/Azure).
84
- * **`deployment-engineer`**: Kỹ sư triển khai hạ tầng chuyên nghiệp.
85
-
86
- ### 🛡️ Nhóm Bảo Mật & Kiểm Định (Security & Audit)
87
- * **`security-auditor`**: Soát xét code tìm lỗ hổng OWASP Top 10.
88
- * **`fabric-compliance`**: Bộ lọc đạo đức & an toàn AI (Ultimate Law).
89
- * **`filesystem-mcp`** *(Official)*: Thao tác file nội bộ an toàn.
90
- * **`malware-analyst`**: Quét mã độc, phát hiện Phishing & URL độc hại.
91
- * **`penetration-tester-master`**: Đóng vai hacker mũ trắng tấn công thử nghiệm.
92
- * **`vulnerability-scanner`**: OWASP 2025, Supply Chain Security.
93
- * **`red-team-tactics`**: MITRE ATT&CK, detection evasion.
94
- * **`production-code-audit`**: Kiểm định code mức độ doanh nghiệp.
95
- * **`lint-and-validate`**: Kiểm tra chất lượng và tiêu chuẩn tĩnh.
96
- * **`testing-automation-mcp`**: Tự động viết & chạy Playwright E2E Test.
97
-
98
- ### 🤖 Nhóm Trí Tuệ Nhân Tạo (AI Agent)
31
+ * **`cloud-architect`**: Kiến trúc AWS/GCP/Azure.
32
+ * **`incident-responder`**: Xử sự cố sập server, SRE.
33
+
34
+ ### 🛡️ Nhóm Bảo Mật (Security)
35
+ * **`security-auditor`**: Soát xét code tìm lỗ hổng.
36
+ * **`penetration-tester`**: Đóng vai hacker mũ trắng tấn công thử nghiệm.
37
+
38
+ ### 🤖 Nhóm Trí Tuệ Nhân Tạo (AI & Data)
99
39
  * **`ai-engineer`**: Xây dựng ứng dụng LLM, RAG System.
100
- * **`brainstorming`**: Socratic questioning, giao tiếp người dùng.
101
- * **`parallel-agents`**: Multi-agent orchestration patterns.
102
- * **`intelligent-routing`**: Tự động chọn Agent phù hợp.
103
- * **`agent-orchestration`**: Điều phối đa Agent quản lý trạng thái.
104
- * **`langgraph-engineering`**: Xây dựng Agent ức (Memory).
105
- * **`puppeteer-mcp`** *(Official)*: Điều khiển Browser, cào dữ liệu.
106
- * **`voice-ai-engine-development`**: Voice Agent thời gian thực.
107
- * **`daily-news-report`**: AI tự động tổng hợp tin tức.
108
-
109
- ### 🛠️ Nhóm Công Cụ & Quản Trị Hệ Thống
110
- * **`bash-linux`**: Bash/Linux terminal patterns.
111
- * **`powershell-windows`**: PowerShell Windows patterns.
112
- * **`systematic-debugging`**: Quy trình điều tra lỗi 4 bước.
113
- * **`plan-writing`**: Lập kế hoạch nhiệm vụ có cấu trúc.
114
- * **`behavioral-modes`**: Các chế độ vận hành của AI.
115
- * **`code-review-checklist`**: Hướng dẫn review code.
116
- * **`legacy-modernizer`**: Hiện đại hóa mã nguồn cũ.
117
- * **`incident-responder`**: Phản ứng sự cố SRE chuyên nghiệp.
118
- * **`documentation-templates`**: Mẫu tài liệu chuẩn.
119
- * **`i18n-localization`**: Đa ngôn ngữ và địa phương hóa.
120
- * **`performance-profiling`**: Đo lường và phân tích hiệu năng.
121
- * **`performance-engineer`**: Tối ưu hóa ứng dụng đa lớp.
122
- * **`modern-web-performance`**: Kỹ nghệ Web hiệu năng cao.
123
- * **`api-documenter`**: Viết tài liệu API chuẩn OpenAPI 3.1.
124
- * **`notion-mcp`** *(Official)*: Quản lý Workspace Notion qua AI.
125
- * **`agent-backend-patterns`** *(Mới)*: Mẫu thiết kế Backend chuẩn Agent.
126
-
127
- ### 📈 Nhóm Growth & Marketing (SEO/GEO)
128
- * **`seo-expert-kit`**: Bộ công cụ SEO Master toàn diện.
129
- * **`seo-fundamentals`**: E-E-A-T, Core Web Vitals.
130
- * **`geo-fundamentals`**: Tối ưu hóa cho AI Search (ChatGPT, Claude Search).
131
- * **`cro-expert-kit`**: Tối ưu hóa tỷ lệ chuyển đổi (CRO).
132
- * **`ui-ux-pro-max-skill`**: Thiết kế giao diện Visuals Premium.
40
+ * **`data-engineer`**: Xử dữ liệu lớn, ETL Pipeline.
41
+ * **`prompt-engineer`**: Tối ưu hóa câu lệnh cho AI.
42
+
43
+ ### 🎨 Nhóm Thẩm Mỹ & Growth
44
+ * **`ui-ux-pro-max`**: Thiết kế giao diện đẹp ly (Linear/Magic UI).
45
+ * **`seo-specialist`**: Tối ưu từ khóa, đưa Web lên Top Google.
46
+ * **`business-analyst`**: Phân tích nghiệp vụ, viết PRD.
133
47
 
134
48
  ---
135
49
 
@@ -0,0 +1,43 @@
1
+ # Troubleshooting Guide
2
+
3
+ Common issues and solutions when using Antigravity IDE.
4
+
5
+ ## 🛠️ Installation Issues
6
+
7
+ ### `command not found: antigravity`
8
+ - **Cause**: NPM binaries are not in your PATH or package wasn't linked.
9
+ - **Fix**:
10
+ - Run `npm install -g antigravity-ide`
11
+ - Or try running with `npx antigravity-ide` directly.
12
+
13
+ ### `EACCES: permission denied`
14
+ - **Cause**: Installing globally without permission.
15
+ - **Fix**:
16
+ - Use `sudo` (Mac/Linux): `sudo npm install -g ...`
17
+ - Or fix npm permissions (Recommended).
18
+
19
+ ## 🤖 Runtime & AI Issues
20
+
21
+ ### "Agent is not responding"
22
+ - **Check**: Are your API Keys in `.env` correct?
23
+ - **Fix**:
24
+ - Verify `GEMINI_API_KEY` or `OPENAI_API_KEY`.
25
+ - Check internet connection.
26
+
27
+ ### "Token limit exceeded"
28
+ - **Cause**: Context window is too full.
29
+ - **Fix**:
30
+ - Use `task_boundary` to reset context contextually.
31
+ - Switch to a model with larger context (e.g., Gemini 1.5 Pro).
32
+
33
+ ## 📦 Dependency Issues
34
+
35
+ ### `npm ERR! legacy-peer-deps`
36
+ - **Cause**: Conflict between React versions in skills.
37
+ - **Fix**:
38
+ - Run `npm install --legacy-peer-deps`
39
+
40
+ ---
41
+
42
+ ## 🆘 Still Stuck?
43
+ Open an issue on [GitHub Issues](https://github.com/Dokhacgiakhoa/google-antigravity/issues).
@@ -16,14 +16,6 @@ Tổng hợp các vấn đề thường gặp khi sử dụng Antigravity IDE v
16
16
  - Mac/Linux: Thêm `sudo` trước lệnh.
17
17
  - Windows: Chạy CMD/PowerShell dưới quyền Admin.
18
18
 
19
- ### `Python not found` (Khi chọn Creative/SME Scale)
20
- - **Nguyên nhân**: Bạn chọn quy mô dự án có dùng AI nâng cao nhưng máy chưa cài Python hoặc chưa đưa vào PATH.
21
- - **Cách sửa**: Cài đặt Python 3.10+ từ `python.org` và tích chọn **"Add Python to PATH"**.
22
-
23
- ### File "GEMINI.md" already exists (Lỗi dừng khi khởi tạo)
24
- - **Nguyên nhân**: Đây không phải lỗi, đây là tính năng bảo vệ dữ liệu.
25
- - **Cách sửa**: Nhập `y` để ghi đè, hoặc `n` để hệ thống tạo file `.new`. Nếu muốn bỏ qua hoàn toàn, dùng cờ `--force`.
26
-
27
19
  ## 🤖 Lỗi AI & Runtime
28
20
 
29
21
  ### "Agent is not responding" (Agent im lặng)
@@ -48,7 +40,7 @@ Tổng hợp các vấn đề thường gặp khi sử dụng Antigravity IDE v
48
40
  ---
49
41
 
50
42
  ## 🆘 Vẫn không sửa được?
51
- Hãy tạo Issue trên [GitHub](https://github.com/Dokhacgiakhoa/antigravity-ide/issues) để team hỗ trợ nhé!
43
+ Hãy tạo Issue trên [GitHub](https://github.com/Dokhacgiakhoa/google-antigravity/issues) để team hỗ trợ nhé!
52
44
 
53
45
  ## 🐛 Known Bugs (Các lỗi đã biết)
54
46
 
@@ -57,5 +49,5 @@ Hãy tạo Issue trên [GitHub](https://github.com/Dokhacgiakhoa/antigravity-ide
57
49
  - **Cách sửa triệt để**: Gỡ bỏ bản Global cũ để npx tải bản mới nhất.
58
50
  ```bash
59
51
  npm uninstall -g antigravity-ide
60
- npx antigravity-ide
52
+ npx antigravity-ide@latest
61
53
  ```
@@ -1,6 +1,6 @@
1
1
  # 📘 Hướng Dẫn Sử Dụng Hệ Thống Workflow (Quy Trình)
2
2
 
3
- > **Antigravity IDE** cung cấp **30 quy trình (Workflow)** chuyên biệt, tuân thủ nghiêm ngặt **Quy chuẩn Nhất thể (Unified Protocol)** với 4 giai đoạn: **Discovery → Planning → Execution → Audit**.
3
+ > **Antigravity IDE** cung cấp **21 quy trình (Workflow)** chuyên biệt, được tự động kích hoạt dựa trên **Lĩnh vực (Industry)** bạn chọn khi cài đặt.
4
4
 
5
5
  ---
6
6
 
@@ -24,10 +24,6 @@
24
24
  - **Khi nào dùng**: Khi gặp lỗi khó hiểu hoặc muốn tối ưu code.
25
25
  - **Cách dùng**: `/debug [mô tả lỗi hoặc dán log lỗi]`
26
26
 
27
- ### `/log-error` - Ghi lại lỗi tự động
28
- - **Khi nào dùng**: Workflow này chạy tự động khi có lỗi. AI sẽ ghi vào `ERRORS.md` để học tập.
29
- - **Cách dùng**: Tự động (không cần gọi thủ công)
30
-
31
27
  ---
32
28
 
33
29
  ## 2. Nhóm Xây dựng (Builder - Cho Dev)
@@ -56,22 +52,13 @@
56
52
  - **Cách dùng**: `/audit`
57
53
 
58
54
  ### `/security` - Bảo mật chuyên sâu
59
- - **Khi nào dùng**: Hardening hệ thống, quét lỗ hổng, check API Key lộ, và tuân thủ đạo đức AI.
55
+ - **Khi nào dùng**: Hardening hệ thống, quét lỗ hổng, check API Key lộ.
60
56
  - **Cách dùng**: `/security scan`
61
57
 
62
58
  ### `/test` - Kiểm thử tự động
63
- - **Khi nào dùng**: Viết & Chạy Unit Test, E2E Test (Playwright) hoàn toàn tự động.
59
+ - **Khi nào dùng**: Viết Unit Test, E2E Test cho dự án.
64
60
  - **Cách dùng**: `/test [tên file/module]`
65
61
 
66
- ### `/performance` - Tối ưu hiệu năng *(Mới)*
67
- - **Khi nào dùng**: Khi web chậm, cần đo Lighthouse và tối ưu tốc độ load.
68
- - **Cách dùng**: `/performance [URL/mô tả]`
69
-
70
- ### `/compliance` - Pháp lý & Tuân thủ *(Mới)*
71
- - **Khi nào dùng**: Rà soát tiêu chuẩn an toàn dữ liệu (GDPR/HIPAA).
72
-
73
- ---
74
-
75
62
  ---
76
63
 
77
64
  ## 4. Nhóm Tăng trưởng & Thẩm mỹ (Growth & Design)
@@ -83,66 +70,31 @@
83
70
 
84
71
  ### `/seo` - Tối ưu tìm kiếm
85
72
  - **Khi nào dùng**: Để trang web lên Top Google. Tạo Sitemap, Schema JSON-LD.
86
-
87
- ### `/portfolio` - Tạo trang cá nhân *(Mới)*
88
- - **Khi nào dùng**: Tự động cấu hình cấu trúc Landing Page giới thiệu bản thân.
89
-
90
- ### `/blog` - Hệ thống tin tức *(Mới)*
91
- - **Khi nào dùng**: Xây dựng module blog chuẩn SEO markdown.
92
-
93
- ### `/visually` - Trực quan hóa *(Mới)*
94
- - **Khi nào dùng**: Vẽ biểu đồ luồng dữ liệu hoặc kiến trúc hệ thống.
95
-
96
- ### `/explain` - Giải thích Code *(Mới)*
97
- - **Khi nào dùng**: Yêu cầu AI giải thích logic phức tạp dễ hiểu.
98
-
99
- ### `/api` - Master API Design *(Mới)*
100
- - **Khi nào dùng**: Thiết kế hệ thống API chuẩn OpenAPI 3.1, xử lý bảo mật Header.
101
-
102
- ### `/realtime` - Kết nối thời gian thực *(Mới)*
103
- - **Khi nào dùng**: Triển khai Socket.io, WebRTC hoặc Server-Sent Events.
104
-
105
- ### `/mobile` - Phát triển Di động *(Mới)*
106
- - **Khi nào dùng**: Tối ưu hóa giao diện và trải nghiệm Native App.
107
-
108
- ### `/preview` - Xem trước dự án *(Mới)*
109
- - **Khi nào dùng**: Khởi chạy môi trường sandbox để kiểm tra kết quả ngay lập tức.
73
+ - **Cách dùng**: `/seo audit`
110
74
 
111
75
  ---
112
76
 
113
- ## 6. Nhóm Vận hành & Con người (Ops & Team)
77
+ ## 5. Nhóm Vận hành & Con người (Ops & Team)
114
78
  *Dành cho Tech Lead hoặc DevOps.*
115
79
 
116
80
  ### `/onboard` - Hướng dẫn người mới
117
81
  - **Khi nào dùng**: Khi team có thành viên mới. AI sẽ chỉ họ cách setup, giải thích code.
82
+ - **Cách dùng**: `/onboard`
118
83
 
119
84
  ### `/document` - Viết tài liệu
120
85
  - **Khi nào dùng**: Tự động update README, API Docs từ code.
121
-
122
- ### `/update-docs` - Cập nhật tài liệu tự động
123
- - **Khi nào dùng**: Sau khi thêm Skills/Workflows/Rules mới để đồng bộ docs.
124
-
125
- ### `/release-version` - Phát hành phiên bản *(Mới)*
126
- - **Khi nào dùng**: Tự động cập nhật version, đồng bộ số liệu stats và chuẩn bị commit.
86
+ - **Cách dùng**: `/document all`
127
87
 
128
88
  ### `/monitor` - Giám sát
129
89
  - **Khi nào dùng**: Setup logging, theo dõi lỗi trên Production.
90
+ - **Cách dùng**: `/monitor setup`
130
91
 
131
92
  ### `/deploy` - Phát hành
132
93
  - **Khi nào dùng**: Deploy lên Vercel, VPS, Docker.
133
-
134
- ### `/update` - Nâng cấp Hệ thống
135
- - **Khi nào dùng**: Kiểm tra và nâng cấp bộ não của Antigravity IDE lên bản mới nhất.
94
+ - **Cách dùng**: `/deploy`
136
95
 
137
96
  ---
138
97
 
139
- ## 🏗️ Quy chuẩn Nhất thể (Unified Protocol) là gì?
140
- Mọi lệnh bạn gõ đều trải qua dây chuyền 4 lớp:
141
- 1. **🟢 Discovery**: Agent thám hiểm mã nguồn để hiểu "địa hình".
142
- 2. **🟡 Planning**: Tạo `PLAN.md` và chờ bạn duyệt (Design-first).
143
- 3. **🔵 Execution**: Triển khai code bởi các chuyên gia Senior.
144
- 4. **🔴 Audit**: Nghiệm thu, quét bảo mật và báo cáo kết quả (`walkthrough.md`).
145
-
146
98
  ## 💡 Mẹo sử dụng
147
99
  - Bạn có thể **kết hợp** các lệnh. Ví dụ: Dùng `/plan` trước, sau đó dùng `/orchestrate` để thực thi plan đó.
148
100
  - Nếu không nhớ lệnh? Chỉ cần gõ `/help` hoặc hỏi AI bằng tiếng Việt, nó sẽ tìm workflow phù hợp cho bạn.
package/jest.config.js ADDED
@@ -0,0 +1,8 @@
1
+ module.exports = {
2
+ testEnvironment: 'node',
3
+ verbose: true,
4
+ testMatch: ['**/tests/**/*.test.js'],
5
+ collectCoverage: true,
6
+ coverageDirectory: 'coverage',
7
+ coveragePathIgnorePatterns: ['/node_modules/', '/tests/'],
8
+ };
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "antigravity-ide",
3
- "version": "4.2.0",
4
- "description": "The Ultimate AI-Powered IDE for 10x Engineers (Full Agentic Workflow)• 573 Master Skills 2977 AI Patterns • 30 Workflows • 17 Shared Core Libraries. One Command to Rule Them All.",
5
- "homepage": "https://antigravity-ide-cli.vercel.app/",
3
+ "version": "4.2.1",
4
+ "description": "The Ultimate AI Agent Brain - Rules, Skills, and Workflows",
6
5
  "main": "cli/index.js",
7
6
  "bin": {
8
7
  "antigravity": "./cli/index.js",
@@ -10,20 +9,10 @@
10
9
  "antigravity-setup": "./setup.js",
11
10
  "antigravity-update": "./update.js"
12
11
  },
13
- "files": [
14
- ".agent",
15
- "cli",
16
- "setup.js",
17
- "update.js",
18
- "README.md",
19
- "LICENSE",
20
- "docs"
21
- ],
22
12
  "scripts": {
23
13
  "test": "jest",
24
14
  "setup": "node ./setup.js",
25
- "update": "node ./update.js",
26
- "prepublishOnly": "node ./scripts/internal/generate-skill-definitions.js && node ./scripts/bundle-skills.js"
15
+ "update": "node ./update.js"
27
16
  },
28
17
  "dependencies": {
29
18
  "boxen": "^5.1.2",
@@ -45,28 +34,16 @@
45
34
  },
46
35
  "keywords": [
47
36
  "antigravity",
48
- "vibe-coding",
49
- "ai-agent",
50
- "ide",
51
- "agentic-workflow",
52
- "cursor",
53
- "code-generation",
37
+ "antigravity-ide",
38
+ "cli",
39
+ "rules",
40
+ "agent",
54
41
  "ai",
55
42
  "productivity",
56
43
  "workflow",
57
44
  "automation",
58
- "llm",
59
- "github-actions",
60
- "agent-skills-standard"
45
+ "llm"
61
46
  ],
62
- "standard": {
63
- "upstream": "https://github.com/HoangNguyen0403/agent-skills-standard",
64
- "skills_source": "https://github.com/anthropics/skills"
65
- },
66
47
  "author": "Dokhacgiakhoa",
67
- "contributors": [
68
- "vudovn (Reference Author)",
69
- "sickn33 (Reference Author)"
70
- ],
71
48
  "license": "MIT"
72
49
  }
@@ -0,0 +1,93 @@
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+ const chalk = require('chalk');
4
+
5
+ // Get new version from command line argument
6
+ const newVersion = process.argv[2];
7
+
8
+ if (!newVersion) {
9
+ console.error(chalk.red('❌ Error: Please provide a new version number.'));
10
+ console.log('Usage: node scripts/bump.js <new-version>');
11
+ process.exit(1);
12
+ }
13
+
14
+ // Regex for strict version validation (x.y.z)
15
+ if (!/^\d+\.\d+\.\d+$/.test(newVersion)) {
16
+ console.error(chalk.red('❌ Error: Invalid version format. Use x.y.z (e.g., 4.1.9)'));
17
+ process.exit(1);
18
+ }
19
+
20
+ const rootDir = path.join(__dirname, '..');
21
+
22
+ // 1. Files to update
23
+ const files = [
24
+ {
25
+ path: 'package.json',
26
+ replace: [
27
+ { regex: /"version": "\d+\.\d+\.\d+"/, sub: `"version": "${newVersion}"` }
28
+ ]
29
+ },
30
+ {
31
+ path: 'README.md',
32
+ replace: [
33
+ { regex: /Advanced Edition • v\d+\.\d+\.\d+ Meta-Engine/, sub: `Advanced Edition • v${newVersion} Meta-Engine` },
34
+ { regex: /The Premium Edge \(v\d+\.\d+\.\d+\)/, sub: `The Premium Edge (v${newVersion})` }
35
+ ]
36
+ },
37
+ {
38
+ path: 'README.vi.md',
39
+ replace: [
40
+ { regex: /Phiên bản Nâng cao • v\d+\.\d+\.\d+ Meta-Engine/, sub: `Phiên bản Nâng cao • v${newVersion} Meta-Engine` },
41
+ { regex: /Điểm khác biệt \(Phiên bản v\d+\.\d+\.\d+\)/, sub: `Điểm khác biệt (Phiên bản v${newVersion})` }
42
+ ]
43
+ },
44
+ {
45
+ path: 'docs/MASTER_OPERATIONS.md',
46
+ replace: [
47
+ { regex: /\*\*Version\*\*: \d+\.\d+\.\d+ \(Stable Marketing/, sub: `**Version**: ${newVersion} (Stable Marketing` }
48
+ ]
49
+ },
50
+ {
51
+ path: 'docs/MASTER_OPERATIONS.vi.md',
52
+ replace: [
53
+ { regex: /\*\*Version\*\*: \d+\.\d+\.\d+ \(Stable Marketing/, sub: `**Version**: ${newVersion} (Stable Marketing` }
54
+ ]
55
+ }
56
+ ];
57
+
58
+ console.log(chalk.cyan(`🚀 Bumping version to v${newVersion} across ${files.length} files...\n`));
59
+
60
+ let errorCount = 0;
61
+
62
+ // 2. Execute Updates
63
+ files.forEach(file => {
64
+ const filePath = path.join(rootDir, file.path);
65
+ if (!fs.existsSync(filePath)) {
66
+ console.warn(chalk.yellow(`⚠️ File not found needed for bump: ${file.path}`));
67
+ return;
68
+ }
69
+
70
+ let content = fs.readFileSync(filePath, 'utf8');
71
+ let updated = false;
72
+
73
+ file.replace.forEach(rep => {
74
+ if (rep.regex.test(content)) {
75
+ content = content.replace(rep.regex, rep.sub);
76
+ updated = true;
77
+ } else {
78
+ // Only warn if it's package.json (critical), others might have structural changes
79
+ if (file.path === 'package.json') {
80
+ console.warn(chalk.yellow(` ⚠️ Pattern not found in ${file.path}: ${rep.regex}`));
81
+ }
82
+ }
83
+ });
84
+
85
+ if (updated) {
86
+ fs.writeFileSync(filePath, content, 'utf8');
87
+ console.log(chalk.green(` ✓ Updated ${file.path}`));
88
+ } else {
89
+ console.log(chalk.gray(` - No changes needed for ${file.path}`));
90
+ }
91
+ });
92
+
93
+ console.log(chalk.bold.green(`\n✨ Version bump complete! Don't forget to commit and push.`));
@@ -0,0 +1,59 @@
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+
4
+ const SKILLS_DIR = path.join(__dirname, '../.agent/skills');
5
+ const OUTPUT_FILE = path.join(__dirname, '../assets/skills-bundle.json');
6
+ const ASSETS_DIR = path.join(__dirname, '../assets');
7
+
8
+ // Ensure assets directory exists
9
+ if (!fs.existsSync(ASSETS_DIR)) {
10
+ fs.mkdirSync(ASSETS_DIR, { recursive: true });
11
+ }
12
+
13
+ function bundleSkills() {
14
+ console.log('📦 Bundling skills...');
15
+ const startTime = Date.now();
16
+ let fileCount = 0;
17
+ const bundle = {};
18
+
19
+ function scanDir(dir, relativePath = '') {
20
+ const items = fs.readdirSync(dir);
21
+
22
+ items.forEach(item => {
23
+ const fullPath = path.join(dir, item);
24
+ const relativeItemPath = path.join(relativePath, item).replace(/\\/g, '/'); // Normalize slashes
25
+ const stat = fs.statSync(fullPath);
26
+
27
+ if (stat.isDirectory()) {
28
+ scanDir(fullPath, relativeItemPath);
29
+ } else {
30
+ // Read file content
31
+ // Only bundle text files usually associated with skills
32
+ if (['.md', '.json', '.yaml', '.yml', '.py', '.js', '.txt'].includes(path.extname(item))) {
33
+ const content = fs.readFileSync(fullPath, 'utf-8');
34
+ bundle[relativeItemPath] = content;
35
+ fileCount++;
36
+ }
37
+ }
38
+ });
39
+ }
40
+
41
+ if (fs.existsSync(SKILLS_DIR)) {
42
+ scanDir(SKILLS_DIR);
43
+ fs.writeFileSync(OUTPUT_FILE, JSON.stringify(bundle, null, 0)); // Minified JSON
44
+
45
+ const sizeMB = (fs.statSync(OUTPUT_FILE).size / 1024 / 1024).toFixed(2);
46
+ const duration = ((Date.now() - startTime) / 1000).toFixed(2);
47
+
48
+ console.log(`✅ Skills bundled successfully!`);
49
+ console.log(` - Files packed: ${fileCount}`);
50
+ console.log(` - Bundle size: ${sizeMB} MB`);
51
+ console.log(` - Time taken: ${duration}s`);
52
+ console.log(` - Output: ${OUTPUT_FILE}`);
53
+ } else {
54
+ console.error(`❌ Skills directory not found: ${SKILLS_DIR}`);
55
+ process.exit(1);
56
+ }
57
+ }
58
+
59
+ bundleSkills();