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,47 +1,144 @@
1
1
  ---
2
- description: Sợ bug khi sửa code? Viết test tự động theo chuẩn TDD Master.
2
+ description: Sợ bug khi sửa code? Viết test tự động.
3
3
  ---
4
4
 
5
- # /test - TDD & Verification Suite
5
+ # /test - Test Generation and Execution
6
6
 
7
7
  $ARGUMENTS
8
8
 
9
9
  ---
10
10
 
11
- ## 🟢 PHASE 1: Code Analysis & Edge Case Mapping
12
- **Agent**: `test-engineer`
13
- **Mission**: Map the "Search Space" of potential bugs.
14
- - **Action**: Identify all public functions, API routes, and logic branches.
15
- - **Discovery**: Generate a "Gherkin" style list of test scenarios (Given/When/Then).
11
+ ## Purpose
16
12
 
17
- ## 🟡 PHASE 2: Test Architecture & Mocking
18
- **Agent**: `test-engineer`
19
- **Mission**: Build the testing base.
20
- - **Action**: Configure mocks for DB, External APIs, and system clock.
21
- - **Artifact**: Write a Test Plan in the `implementation_plan.md`.
13
+ This command generates tests, runs existing tests, or checks test coverage.
22
14
 
23
- ## 🔵 PHASE 3: Execution (The RED-GREEN Loop)
24
- **Agent**: `qa-automation-engineer`
25
- **Mission**: Automate the verification.
26
- - **Action**: Write and run unit, integration, and E2E tests.
27
- - **Audit**: Every test must fail at least once (verify the test is valid).
15
+ ---
16
+
17
+ ## Sub-commands
18
+
19
+ ```
20
+ /test - Run all tests
21
+ /test [file/feature] - Generate tests for specific target
22
+ /test coverage - Show test coverage report
23
+ /test watch - Run tests in watch mode
24
+ ```
25
+
26
+ ---
27
+
28
+ ## Behavior
29
+
30
+ ### Generate Tests
31
+
32
+ When asked to test a file or feature:
33
+
34
+ 1. **Analyze the code**
35
+ - Identify functions and methods
36
+ - Find edge cases
37
+ - Detect dependencies to mock
28
38
 
29
- ## 🔴 PHASE 4: Coverage & Quality Sign-off
30
- **Agent**: `quality-inspector`
31
- **Mission**: Verify the safety net.
32
- - **Action**: Check code coverage metrics.
33
- - **Artifact**: Report Pass/Fail stats in the final `walkthrough.md`.
39
+ 2. **Generate test cases**
40
+ - Happy path tests
41
+ - Error cases
42
+ - Edge cases
43
+ - Integration tests (if needed)
44
+
45
+ 3. **Write tests**
46
+ - Use project's test framework (Jest, Vitest, etc.)
47
+ - Follow existing test patterns
48
+ - Mock external dependencies
34
49
 
35
50
  ---
36
51
 
37
- ## Patterns of Excellence:
38
- - **One Assertion**: Each test tests one thing.
39
- - **Fast Feedback**: Unit tests should run in <1s.
40
- - **Hermeticity**: Tests must not share state or depend on network.
52
+ ## Output Format
53
+
54
+ ### For Test Generation
55
+
56
+ ```markdown
57
+ ## 🧪 Tests: [Target]
58
+
59
+ ### Test Plan
60
+ | Test Case | Type | Coverage |
61
+ |-----------|------|----------|
62
+ | Should create user | Unit | Happy path |
63
+ | Should reject invalid email | Unit | Validation |
64
+ | Should handle db error | Unit | Error case |
65
+
66
+ ### Generated Tests
67
+
68
+ `tests/[file].test.ts`
69
+
70
+ [Code block with tests]
41
71
 
42
72
  ---
43
73
 
44
- ## Examples:
45
- - `/test auth service`
46
- - `/test coverage src/utils`
47
- - `/test fix failed tests`
74
+ Run with: `npm test`
75
+ ```
76
+
77
+ ### For Test Execution
78
+
79
+ ```
80
+ 🧪 Running tests...
81
+
82
+ ✅ auth.test.ts (5 passed)
83
+ ✅ user.test.ts (8 passed)
84
+ ❌ order.test.ts (2 passed, 1 failed)
85
+
86
+ Failed:
87
+ ✗ should calculate total with discount
88
+ Expected: 90
89
+ Received: 100
90
+
91
+ Total: 15 tests (14 passed, 1 failed)
92
+ ```
93
+
94
+ ---
95
+
96
+ ## Examples
97
+
98
+ ```
99
+ /test src/services/auth.service.ts
100
+ /test user registration flow
101
+ /test coverage
102
+ /test fix failed tests
103
+ ```
104
+
105
+ ---
106
+
107
+ ## Test Patterns
108
+
109
+ ### Unit Test Structure
110
+
111
+ ```typescript
112
+ describe('AuthService', () => {
113
+ describe('login', () => {
114
+ it('should return token for valid credentials', async () => {
115
+ // Arrange
116
+ const credentials = { email: 'test@test.com', password: 'pass123' };
117
+
118
+ // Act
119
+ const result = await authService.login(credentials);
120
+
121
+ // Assert
122
+ expect(result.token).toBeDefined();
123
+ });
124
+
125
+ it('should throw for invalid password', async () => {
126
+ // Arrange
127
+ const credentials = { email: 'test@test.com', password: 'wrong' };
128
+
129
+ // Act & Assert
130
+ await expect(authService.login(credentials)).rejects.toThrow('Invalid credentials');
131
+ });
132
+ });
133
+ });
134
+ ```
135
+
136
+ ---
137
+
138
+ ## Key Principles
139
+
140
+ - **Test behavior not implementation**
141
+ - **One assertion per test** (when practical)
142
+ - **Descriptive test names**
143
+ - **Arrange-Act-Assert pattern**
144
+ - **Mock external dependencies**
@@ -1,34 +1,293 @@
1
1
  ---
2
- description: Thiết kế giao diện Visuals Premium với phong cách hiện đại
2
+ description: Muốn giao diện đẹp (Linear/Magic UI)? Bấm vào đây.
3
3
  ---
4
4
 
5
- # /ui-ux-pro-max - Premium UI Generator
6
5
 
7
- > **Chế độ**: Premium Visuals (Modern Aesthetic)
8
- > **Yêu cầu BẮT BUỘC**: Clean, Minimalist, High Contrast.
6
+ # ui-ux-pro-max
9
7
 
10
- ## 🎨 Design Standard
8
+ Comprehensive design guide for web and mobile applications. Contains 50+ styles, 97 color palettes, 57 font pairings, 99 UX guidelines, and 25 chart types across 9 technology stacks. Searchable database with priority-based recommendations.
11
9
 
12
- Mọi giao diện được tạo bởi workflow này phải tuân thủ chuẩn "Pro Max":
10
+ ## Prerequisites
13
11
 
14
- 1. **Typography**:
15
- - Sử dụng Font phương tây hiện đại (Inter, Roboto, Poppins).
16
- - Heading đậm, Body thanh thoát.
17
- 2. **Color Palette**:
18
- - Sử dụng màu Gradient tinh tế.
19
- - Tránh màu quá chói (Neon) trừ khi là điểm nhấn (Accent).
20
- 3. **Layout**:
21
- - Sử dụng Grid/Flexbox chuẩn.
22
- - Whitespace rộng rãi (Breathable design).
23
- 4. **Micro-interactions**:
24
- - Hover effects mượt mà (transition: 0.3s).
25
- - Button có active state rõ ràng.
12
+ Check if Python is installed:
26
13
 
27
- ## 🛠️ Quy trình thực hiện
28
- 1. **Analyze**: Hiểu user persona.
29
- 2. **Structure**: HTML5 Semantic (Header, Main, Section, Footer).
30
- 3. **Style**: CSS Variables cho màu sắc, spacing.
31
- 4. **Resposive**: Mobile-first approach.
14
+ ```bash
15
+ python3 --version || python --version
16
+ ```
17
+
18
+ If Python is not installed, install it based on user's OS:
19
+
20
+ **macOS:**
21
+ ```bash
22
+ brew install python3
23
+ ```
24
+
25
+ **Ubuntu/Debian:**
26
+ ```bash
27
+ sudo apt update && sudo apt install python3
28
+ ```
29
+
30
+ **Windows:**
31
+ ```powershell
32
+ winget install Python.Python.3.12
33
+ ```
34
+
35
+ ---
36
+
37
+ ## How to Use This Workflow
38
+
39
+ When user requests UI/UX work (design, build, create, implement, review, fix, improve), follow this workflow:
40
+
41
+ ### Step 1: Analyze User Requirements
42
+
43
+ Extract key information from user request:
44
+ - **Product type**: SaaS, e-commerce, portfolio, dashboard, landing page, etc.
45
+ - **Style keywords**: minimal, playful, professional, elegant, dark mode, etc.
46
+ - **Industry**: healthcare, fintech, gaming, education, etc.
47
+ - **Stack**: React, Vue, Next.js, or default to `html-tailwind`
48
+
49
+ ### Step 2: Generate Design System (REQUIRED)
50
+
51
+ **Always start with `--design-system`** to get comprehensive recommendations with reasoning:
52
+
53
+ ```bash
54
+ python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "<product_type> <industry> <keywords>" --design-system [-p "Project Name"]
55
+ ```
56
+
57
+ This command:
58
+ 1. Searches 5 domains in parallel (product, style, color, landing, typography)
59
+ 2. Applies reasoning rules from `ui-reasoning.csv` to select best matches
60
+ 3. Returns complete design system: pattern, style, colors, typography, effects
61
+ 4. Includes anti-patterns to avoid
62
+
63
+ **Example:**
64
+ ```bash
65
+ python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service" --design-system -p "Serenity Spa"
66
+ ```
67
+
68
+ ### Step 2b: Persist Design System (Master + Overrides Pattern)
69
+
70
+ To save the design system for hierarchical retrieval across sessions, add `--persist`:
71
+
72
+ ```bash
73
+ python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name"
74
+ ```
75
+
76
+ This creates:
77
+ - `design-system/MASTER.md` — Global Source of Truth with all design rules
78
+ - `design-system/pages/` — Folder for page-specific overrides
79
+
80
+ **With page-specific override:**
81
+ ```bash
82
+ python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "<query>" --design-system --persist -p "Project Name" --page "dashboard"
83
+ ```
84
+
85
+ This also creates:
86
+ - `design-system/pages/dashboard.md` — Page-specific deviations from Master
87
+
88
+ **How hierarchical retrieval works:**
89
+ 1. When building a specific page (e.g., "Checkout"), first check `design-system/pages/checkout.md`
90
+ 2. If the page file exists, its rules **override** the Master file
91
+ 3. If not, use `design-system/MASTER.md` exclusively
92
+
93
+ ### Step 3: Supplement with Detailed Searches (as needed)
94
+
95
+ After getting the design system, use domain searches to get additional details:
96
+
97
+ ```bash
98
+ python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "<keyword>" --domain <domain> [-n <max_results>]
99
+ ```
100
+
101
+ **When to use detailed searches:**
102
+
103
+ | Need | Domain | Example |
104
+ |------|--------|---------|
105
+ | More style options | `style` | `--domain style "glassmorphism dark"` |
106
+ | Chart recommendations | `chart` | `--domain chart "real-time dashboard"` |
107
+ | UX best practices | `ux` | `--domain ux "animation accessibility"` |
108
+ | Alternative fonts | `typography` | `--domain typography "elegant luxury"` |
109
+ | Landing structure | `landing` | `--domain landing "hero social-proof"` |
110
+
111
+ ### Step 4: Stack Guidelines (Default: html-tailwind)
112
+
113
+ Get implementation-specific best practices. If user doesn't specify a stack, **default to `html-tailwind`**.
114
+
115
+ ```bash
116
+ python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "<keyword>" --stack html-tailwind
117
+ ```
118
+
119
+ Available stacks: `html-tailwind`, `react`, `nextjs`, `vue`, `svelte`, `swiftui`, `react-native`, `flutter`, `shadcn`, `jetpack-compose`
120
+ , `jetpack-compose`
121
+ ---
122
+
123
+ ## Search Reference
124
+
125
+ ### Available Domains
126
+
127
+ | Domain | Use For | Example Keywords |
128
+ |--------|---------|------------------|
129
+ | `product` | Product type recommendations | SaaS, e-commerce, portfolio, healthcare, beauty, service |
130
+ | `style` | UI styles, colors, effects | glassmorphism, minimalism, dark mode, brutalism |
131
+ | `typography` | Font pairings, Google Fonts | elegant, playful, professional, modern |
132
+ | `color` | Color palettes by product type | saas, ecommerce, healthcare, beauty, fintech, service |
133
+ | `landing` | Page structure, CTA strategies | hero, hero-centric, testimonial, pricing, social-proof |
134
+ | `chart` | Chart types, library recommendations | trend, comparison, timeline, funnel, pie |
135
+ | `ux` | Best practices, anti-patterns | animation, accessibility, z-index, loading |
136
+ | `react` | React/Next.js performance | waterfall, bundle, suspense, memo, rerender, cache |
137
+ | `web` | Web interface guidelines | aria, focus, keyboard, semantic, virtualize |
138
+ | `prompt` | AI prompts, CSS keywords | (style name) |
139
+
140
+ ### Available Stacks
141
+
142
+ | Stack | Focus |
143
+ |-------|-------|
144
+ | `html-tailwind` | Tailwind utilities, responsive, a11y (DEFAULT) |
145
+ | `react` | State, hooks, performance, patterns |
146
+ | `nextjs` | SSR, routing, images, API routes |
147
+ | `vue` | Composition API, Pinia, Vue Router |
148
+ | `svelte` | Runes, stores, SvelteKit |
149
+ | `swiftui` | Views, State, Navigation, Animation |
150
+ | `react-native` | Components, Navigation, Lists |
151
+ | `flutter` | Widgets, State, Layout, Theming |
152
+ | `shadcn` | shadcn/ui components, theming, forms, patterns |
153
+ | `jetpack-compose` | Composables, Modifiers, State Hoisting, Recomposition |
154
+
155
+ ---
156
+
157
+ ## Example Workflow
158
+
159
+ **User request:** "Làm landing page cho dịch vụ chăm sóc da chuyên nghiệp"
160
+
161
+ ### Step 1: Analyze Requirements
162
+ - Product type: Beauty/Spa service
163
+ - Style keywords: elegant, professional, soft
164
+ - Industry: Beauty/Wellness
165
+ - Stack: html-tailwind (default)
166
+
167
+ ### Step 2: Generate Design System (REQUIRED)
168
+
169
+ ```bash
170
+ python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "beauty spa wellness service elegant" --design-system -p "Serenity Spa"
171
+ ```
172
+
173
+ **Output:** Complete design system with pattern, style, colors, typography, effects, and anti-patterns.
174
+
175
+ ### Step 3: Supplement with Detailed Searches (as needed)
176
+
177
+ ```bash
178
+ # Get UX guidelines for animation and accessibility
179
+ python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "animation accessibility" --domain ux
180
+
181
+ # Get alternative typography options if needed
182
+ python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "elegant luxury serif" --domain typography
183
+ ```
184
+
185
+ ### Step 4: Stack Guidelines
186
+
187
+ ```bash
188
+ python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "layout responsive form" --stack html-tailwind
189
+ ```
190
+
191
+ **Then:** Synthesize design system + detailed searches and implement the design.
192
+
193
+ ---
194
+
195
+ ## Output Formats
196
+
197
+ The `--design-system` flag supports two output formats:
198
+
199
+ ```bash
200
+ # ASCII box (default) - best for terminal display
201
+ python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system
202
+
203
+ # Markdown - best for documentation
204
+ python3 .agent/.shared/ui-ux-pro-max/scripts/search.py "fintech crypto" --design-system -f markdown
205
+ ```
206
+
207
+ ---
208
+
209
+ ## Tips for Better Results
210
+
211
+ 1. **Be specific with keywords** - "healthcare SaaS dashboard" > "app"
212
+ 2. **Search multiple times** - Different keywords reveal different insights
213
+ 3. **Combine domains** - Style + Typography + Color = Complete design system
214
+ 4. **Always check UX** - Search "animation", "z-index", "accessibility" for common issues
215
+ 5. **Use stack flag** - Get implementation-specific best practices
216
+ 6. **Iterate** - If first search doesn't match, try different keywords
217
+
218
+ ---
219
+
220
+ ## Common Rules for Professional UI
221
+
222
+ These are frequently overlooked issues that make UI look unprofessional:
223
+
224
+ ### Icons & Visual Elements
225
+
226
+ | Rule | Do | Don't |
227
+ |------|----|----- |
228
+ | **No emoji icons** | Use SVG icons (Heroicons, Lucide, Simple Icons) | Use emojis like 🎨 🚀 ⚙️ as UI icons |
229
+ | **Stable hover states** | Use color/opacity transitions on hover | Use scale transforms that shift layout |
230
+ | **Correct brand logos** | Research official SVG from Simple Icons | Guess or use incorrect logo paths |
231
+ | **Consistent icon sizing** | Use fixed viewBox (24x24) with w-6 h-6 | Mix different icon sizes randomly |
232
+
233
+ ### Interaction & Cursor
234
+
235
+ | Rule | Do | Don't |
236
+ |------|----|----- |
237
+ | **Cursor pointer** | Add `cursor-pointer` to all clickable/hoverable cards | Leave default cursor on interactive elements |
238
+ | **Hover feedback** | Provide visual feedback (color, shadow, border) | No indication element is interactive |
239
+ | **Smooth transitions** | Use `transition-colors duration-200` | Instant state changes or too slow (>500ms) |
240
+
241
+ ### Light/Dark Mode Contrast
242
+
243
+ | Rule | Do | Don't |
244
+ |------|----|----- |
245
+ | **Glass card light mode** | Use `bg-white/80` or higher opacity | Use `bg-white/10` (too transparent) |
246
+ | **Text contrast light** | Use `#0F172A` (slate-900) for text | Use `#94A3B8` (slate-400) for body text |
247
+ | **Muted text light** | Use `#475569` (slate-600) minimum | Use gray-400 or lighter |
248
+ | **Border visibility** | Use `border-gray-200` in light mode | Use `border-white/10` (invisible) |
249
+
250
+ ### Layout & Spacing
251
+
252
+ | Rule | Do | Don't |
253
+ |------|----|----- |
254
+ | **Floating navbar** | Add `top-4 left-4 right-4` spacing | Stick navbar to `top-0 left-0 right-0` |
255
+ | **Content padding** | Account for fixed navbar height | Let content hide behind fixed elements |
256
+ | **Consistent max-width** | Use same `max-w-6xl` or `max-w-7xl` | Mix different container widths |
32
257
 
33
258
  ---
34
- **Note**: Focus on Usability and Elegance.
259
+
260
+ ## Pre-Delivery Checklist
261
+
262
+ Before delivering UI code, verify these items:
263
+
264
+ ### Visual Quality
265
+ - [ ] No emojis used as icons (use SVG instead)
266
+ - [ ] All icons from consistent icon set (Heroicons/Lucide)
267
+ - [ ] Brand logos are correct (verified from Simple Icons)
268
+ - [ ] Hover states don't cause layout shift
269
+ - [ ] Use theme colors directly (bg-primary) not var() wrapper
270
+
271
+ ### Interaction
272
+ - [ ] All clickable elements have `cursor-pointer`
273
+ - [ ] Hover states provide clear visual feedback
274
+ - [ ] Transitions are smooth (150-300ms)
275
+ - [ ] Focus states visible for keyboard navigation
276
+
277
+ ### Light/Dark Mode
278
+ - [ ] Light mode text has sufficient contrast (4.5:1 minimum)
279
+ - [ ] Glass/transparent elements visible in light mode
280
+ - [ ] Borders visible in both modes
281
+ - [ ] Test both modes before delivery
282
+
283
+ ### Layout
284
+ - [ ] Floating elements have proper spacing from edges
285
+ - [ ] No content hidden behind fixed navbars
286
+ - [ ] Responsive at 375px, 768px, 1024px, 1440px
287
+ - [ ] No horizontal scroll on mobile
288
+
289
+ ### Accessibility
290
+ - [ ] All images have alt text
291
+ - [ ] Form inputs have labels
292
+ - [ ] Color is not the only indicator
293
+ - [ ] `prefers-reduced-motion` respected
package/.editorconfig ADDED
@@ -0,0 +1,21 @@
1
+ # EditorConfig helps maintain consistent coding styles
2
+ # https://editorconfig.org
3
+
4
+ root = true
5
+
6
+ [*]
7
+ indent_style = space
8
+ indent_size = 4
9
+ end_of_line = lf
10
+ charset = utf-8
11
+ trim_trailing_whitespace = true
12
+ insert_final_newline = true
13
+
14
+ [*.{json,yml,yaml}]
15
+ indent_size = 2
16
+
17
+ [*.md]
18
+ trim_trailing_whitespace = false
19
+
20
+ [Makefile]
21
+ indent_style = tab
package/.gitattributes ADDED
@@ -0,0 +1,7 @@
1
+ # Enforce using LF line endings on all files
2
+ * text=auto eol=lf
3
+
4
+ # Explicitly force LF for executable scripts to avoid "env: node\r: No such file or directory"
5
+ *.js text eol=lf
6
+ *.sh text eol=lf
7
+ bin/* text eol=lf
package/CHANGELOG.md ADDED
@@ -0,0 +1,32 @@
1
+ # Changelog
2
+
3
+ All notable changes to this project will be documented in this file.
4
+
5
+ ## [4.2.1] - 2026-02-16
6
+ - **Feature**: FastCode Search (Native Node.js) - Instant full-stack code navigation throughout the project without API costs.
7
+ - **Feature**: Frontend Trends 2026 Skill - Ready-to-use UI formulas (Liquid Glass, Bento Grids, Neo-Brutalism).
8
+ - **Cleanup**: Removed legacy Python tools and redundant directories for a cleaner, faster experience.
9
+ - **Docs**: Comprehensive updates to `SKILLS` and `README` to reflect new capabilities.
10
+
11
+ ## [3.5.54] - 2026-01-31
12
+ - **Optimization**: Significantly reduced NPM package size (excluded `docs/`, `tests/`).
13
+ - **Automation**: Implemented GitHub Actions for auto-publishing with Provenance.
14
+ - **Fixes**: Sync `package-lock.json` and `.npmignore` for stable CI builds.
15
+ - **Docs**: Updated internal guides and verified asset counts.
16
+
17
+ ## [3.5.30] - 2026-01-30
18
+ - **Feature**: Added "Copy-Paste Prompts" for AI Delegation in Setup Wizard.
19
+ - **Feature**: Smart Python detection and installation guidance.
20
+ - **Docs**: Renamed `GEMINI.md` to `GEMINI_GUIDE.md` for clarity.
21
+
22
+ ## [3.5.29] - 2026-01-29
23
+ ### Added
24
+ - **Workflow**: `/audit` for comprehensive quality checks.
25
+ - **Workflow**: `/onboard` for team integration.
26
+ - **Workflow**: `/document` for automated documentation generation.
27
+ - **Workflow**: `/monitor` for system health tracking.
28
+ - **Workflow**: `/security` and `/seo` for domain-specific tasks.
29
+
30
+ ### Changed
31
+ - **CLI**: Enhanced `prompts.js` with dynamic workflow mapping based on industry.
32
+ - **Setup**: Improved "Engine Mode" selection (Standard vs Advanced) with language support.
package/ERRORS.md ADDED
@@ -0,0 +1,67 @@
1
+ # 🐛 Error Log - Antigravity IDE Development
2
+
3
+ > Tập hợp tất cả lỗi xảy ra trong quá trình phát triển. File này giúp Agent học hỏi và tránh lặp lại sai lầm.
4
+
5
+ **Cách sử dụng**:
6
+ - Mỗi lỗi mới được append vào cuối file
7
+ - Không xóa lỗi cũ (dùng để học tập)
8
+ - Đánh dấu Status khi đã fix
9
+
10
+ ---
11
+
12
+ ## Thống kê nhanh
13
+
14
+ - **Tổng lỗi**: 2
15
+ - **Đã sửa**: 2
16
+ - **Đang điều tra**: 0
17
+ - **Tạm hoãn**: 0
18
+
19
+ ---
20
+
21
+ <!-- Errors sẽ được ghi theo format chuẩn dưới đây -->
22
+
23
+ ## [2026-02-02 11:25] - Missing Closing Parenthesis in forEach
24
+
25
+ - **Type**: Syntax
26
+ - **Severity**: High
27
+ - **File**: `tests/temp-test-error.js:8`
28
+ - **Agent**: Antigravity (Testing Error Logging System)
29
+ - **Root Cause**: Thiếu dấu ngoặc đóng `)` trong callback function của `forEach`. Dòng 8 có `items.forEach(item => {` nhưng chỉ đóng bằng `}` mà không đóng dấu ngoặc tròn của forEach.
30
+ - **Error Message**:
31
+ ```
32
+ SyntaxError: missing ) after argument list
33
+ at wrapSafe (node:internal/modules/cjs/loader:1691:18)
34
+ at Module._compile (node:internal/modules/cjs/loader:1734:20)
35
+ ```
36
+ - **Fix Applied**:
37
+ - Thêm dấu `)` đóng cho forEach trước khi có `return total;`
38
+ - Code đúng phải là: `items.forEach(item => { total += item.price; });`
39
+ - **Prevention**:
40
+ - Luôn kiểm tra cặp dấu ngoặc (bracket matching) trước khi chạy code
41
+ - Sử dụng IDE với auto-formatting (Prettier) để tự động phát hiện
42
+ - Thêm ESLint rule để cảnh báo syntax errors ngay khi viết
43
+ - **Status**: Fixed
44
+
45
+ ---
46
+
47
+ ## [2026-02-08 14:03] - Regression Test Suite Hanging (Infinite Wait)
48
+
49
+ - **Type**: Integration / Logic
50
+ - **Severity**: Medium
51
+ - **File**: ests/npx-regression-suite.js
52
+ - **Agent**: Antigravity (Cleanup Task)
53
+ - **Root Cause**: Tiến trình test
54
+ px-regression-suite.js bị treo ở case-1 trong hơn 4 giờ. Nguyên nhân do cơ chế bắt tín hiệu prompt trong spawn không hoạt động ổn định trong môi trường CI/Terminal không phải TTY, dẫn đến việc test case chờ dữ liệu đầu vào mãi mãi.
55
+ - **Error Message**:
56
+ `
57
+ [Stuck at "node cli/index.js case-1" since 09:17 AM]
58
+ `
59
+ - **Fix Applied**:
60
+ - Thực hiện askkill cưỡng bức các tiến trình node đang bị treo.
61
+ - Dọn dẹp thủ công các thư mục tạm emp_tests và coverage.
62
+ - **Prevention**:
63
+ - Sử dụng cờ --skip-prompts hoặc --force cho các integration tests để tránh tương tác UI.
64
+ - Thêm cơ chế Timeout cho mỗi test case trong
65
+ - **Status**: Fixed (Cleaned up)
66
+
67
+ ---
@@ -19,8 +19,8 @@ This file controls the behavior of your AI Agent.
19
19
 
20
20
  ## 🌐 Language Protocol
21
21
 
22
- 1. **Communication**: Use **ENGLISH**.
23
- 2. **Artifacts**: Write content in **ENGLISH**.
22
+ 1. **Communication**: Use **VIETNAMESE** (Tiếng Việt).
23
+ 2. **Artifacts**: Write content in **VIETNAMESE** (Tiếng Việt).
24
24
  3. **Code**: Use **ENGLISH** for all variables, functions, and comments.
25
25
 
26
26
  ## Core Capabilities
@@ -51,8 +51,9 @@ The following **17 Shared Modules** in `.agent/.shared` must be respected:
51
51
  13. **Vitals Templates**: Performance benchmarks.
52
52
  14. **Malware Protection**: Threat intelligence.
53
53
  15. **Auto-Update**: Self-maintenance protocols.
54
- 16. **Error Logging**: Automatic learning system.
55
- 17. **Docs Sync**: Documentation integrity.
54
+ 16. **Error Logging**: Hệ thống tự học từ lỗi.
55
+ 17. **Docs Sync**: Đồng bộ tài liệu.
56
+ 18. **Strict Protocol**: 🛡️ CẤM TỰ ĐỘNG PUSH & BẮT BUỘC TIẾNG VIỆT (Xem `.agent/rules/strict-protocol.md`).
56
57
 
57
58
  ## Custom Instructions
58
59