antigravity-ide 4.0.4 → 4.0.5

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