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