antigravity-ide 4.2.1 → 4.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (359) hide show
  1. package/.agent/.shared/{design-philosophy → core/design-philosophy}/README.md +12 -1
  2. package/.agent/.shared/{ai-master → technical/ai-master}/README.md +12 -1
  3. package/.agent/.shared/{api-standards → technical/api-standards}/README.md +12 -1
  4. package/.agent/.shared/{database-master → technical/database-master}/README.md +12 -2
  5. package/.agent/.shared/{seo-master → technical/seo-master}/README.md +12 -1
  6. package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/README.md +12 -1
  7. package/.agent/ARCHITECTURE.md +16 -10
  8. package/.agent/ARCHITECTURE.vi.md +8 -8
  9. package/{GEMINI.md → .agent/GEMINI.md} +4 -5
  10. package/.agent/RESOURCES.md +6 -1
  11. package/.agent/agents/backend-specialist.md +154 -19
  12. package/.agent/agents/browser-subagent.md +45 -0
  13. package/.agent/agents/cloud-architect.md +108 -189
  14. package/.agent/agents/debugger.md +83 -182
  15. package/.agent/agents/documentation-writer.md +125 -72
  16. package/.agent/agents/frontend-specialist.md +40 -7
  17. package/.agent/agents/game-developer.md +111 -116
  18. package/.agent/agents/mobile-developer.md +108 -321
  19. package/.agent/agents/orchestrator.md +106 -366
  20. package/.agent/agents/performance-optimizer.md +105 -136
  21. package/.agent/agents/project-planner.md +132 -39
  22. package/.agent/agents/quality-inspector.md +136 -32
  23. package/.agent/agents/security-auditor.md +138 -15
  24. package/.agent/agents/seo-specialist.md +118 -72
  25. package/.agent/agents/test-engineer.md +142 -11
  26. package/.agent/brain/task.md +16 -0
  27. package/.agent/rules/GEMINI.md +63 -31
  28. package/.agent/rules/code-quality.md +34 -3
  29. package/.agent/rules/frontend.md +3 -3
  30. package/.agent/rules/strict-protocol.md +44 -3
  31. package/.agent/rules/system-update.md +56 -3
  32. package/.agent/skills/agent-backend-patterns/SKILL.md +16 -3
  33. package/.agent/skills/ai-engineer/SKILL.md +29 -16
  34. package/.agent/skills/api-documenter/SKILL.md +4 -4
  35. package/.agent/skills/app-builder/SKILL.md +1 -1
  36. package/.agent/skills/app-builder/tech-stack.md +2 -2
  37. package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +39 -79
  38. package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +53 -75
  39. package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +56 -119
  40. package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +61 -94
  41. package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +56 -82
  42. package/.agent/skills/brand-guidelines-anthropic/LICENSE.txt +202 -0
  43. package/.agent/skills/brand-guidelines-anthropic/SKILL.md +26 -0
  44. package/.agent/skills/brand-guidelines-anthropic/sub-skills/color-application.md +5 -0
  45. package/.agent/skills/brand-guidelines-anthropic/sub-skills/colors.md +14 -0
  46. package/.agent/skills/brand-guidelines-anthropic/sub-skills/font-management.md +6 -0
  47. package/.agent/skills/brand-guidelines-anthropic/sub-skills/shape-and-accent-colors.md +7 -0
  48. package/.agent/skills/brand-guidelines-anthropic/sub-skills/smart-font-application.md +6 -0
  49. package/.agent/skills/brand-guidelines-anthropic/sub-skills/text-styling.md +6 -0
  50. package/.agent/skills/brand-guidelines-anthropic/sub-skills/typography.md +7 -0
  51. package/.agent/skills/cloud-architect-master/SKILL.md +9 -4
  52. package/.agent/skills/cro-expert-kit/SKILL.md +9 -4
  53. package/.agent/skills/database-migration/SKILL.md +9 -3
  54. package/.agent/skills/deployment-engineer/SKILL.md +9 -3
  55. package/.agent/skills/frontend-design/ux-psychology.md +10 -585
  56. package/.agent/skills/full-stack-scaffold/SKILL.md +4 -4
  57. package/.agent/skills/game-development/2d-games/SKILL.md +4 -2
  58. package/.agent/skills/game-development/3d-games/SKILL.md +4 -2
  59. package/.agent/skills/game-development/SKILL.md +18 -149
  60. package/.agent/skills/game-development/game-art/SKILL.md +4 -2
  61. package/.agent/skills/game-development/game-audio/SKILL.md +4 -2
  62. package/.agent/skills/game-development/game-design/SKILL.md +4 -2
  63. package/.agent/skills/game-development/mobile-games/SKILL.md +4 -2
  64. package/.agent/skills/game-development/multiplayer/SKILL.md +4 -2
  65. package/.agent/skills/game-development/pc-games/SKILL.md +4 -2
  66. package/.agent/skills/game-development/vr-ar/SKILL.md +4 -2
  67. package/.agent/skills/game-development/web-games/SKILL.md +4 -2
  68. package/.agent/skills/geo-fundamentals/SKILL.md +9 -136
  69. package/.agent/skills/git-collaboration-master/SKILL.md +9 -4
  70. package/.agent/skills/i18n-localization/SKILL.md +10 -118
  71. package/.agent/skills/incident-responder/SKILL.md +9 -6
  72. package/.agent/skills/internal-comms-anthropic/LICENSE.txt +202 -0
  73. package/.agent/skills/internal-comms-anthropic/SKILL.md +33 -0
  74. package/.agent/skills/internal-comms-anthropic/examples/3p-updates.md +47 -0
  75. package/.agent/skills/internal-comms-anthropic/examples/company-newsletter.md +65 -0
  76. package/.agent/skills/internal-comms-anthropic/examples/faq-answers.md +30 -0
  77. package/.agent/skills/internal-comms-anthropic/examples/general-comms.md +16 -0
  78. package/.agent/skills/last30days/tests/__init__.py +1 -0
  79. package/.agent/skills/last30days/tests/test_cache.py +59 -0
  80. package/.agent/skills/last30days/tests/test_dates.py +114 -0
  81. package/.agent/skills/last30days/tests/test_dedupe.py +111 -0
  82. package/.agent/skills/last30days/tests/test_models.py +135 -0
  83. package/.agent/skills/last30days/tests/test_normalize.py +138 -0
  84. package/.agent/skills/last30days/tests/test_render.py +116 -0
  85. package/.agent/skills/last30days/tests/test_score.py +168 -0
  86. package/.agent/skills/legacy-modernizer/SKILL.md +9 -4
  87. package/.agent/skills/lint-and-validate/scripts/lint_runner.py +2 -14
  88. package/.agent/skills/loki-mode/.github/workflows/claude-code-review.yml +57 -0
  89. package/.agent/skills/loki-mode/.github/workflows/claude.yml +50 -0
  90. package/.agent/skills/loki-mode/.github/workflows/release.yml +128 -0
  91. package/.agent/skills/loki-mode/tests/run-all-tests.sh +78 -0
  92. package/.agent/skills/loki-mode/tests/test-agent-timeout.sh +348 -0
  93. package/.agent/skills/loki-mode/tests/test-bootstrap.sh +196 -0
  94. package/.agent/skills/loki-mode/tests/test-circuit-breaker.sh +389 -0
  95. package/.agent/skills/loki-mode/tests/test-state-recovery.sh +393 -0
  96. package/.agent/skills/loki-mode/tests/test-task-queue.sh +396 -0
  97. package/.agent/skills/loki-mode/tests/test-wrapper.sh +314 -0
  98. package/.agent/skills/mcp-builder/SKILL.md +21 -164
  99. package/.agent/skills/mobile-design/SKILL.md +21 -369
  100. package/.agent/skills/mobile-design/mobile-performance.md +1 -1
  101. package/.agent/skills/modern-web-architect/SKILL.md +12 -6
  102. package/.agent/skills/nextjs-react-expert/scripts/convert_rules.py +1 -1
  103. package/.agent/skills/penetration-tester-master/SKILL.md +9 -4
  104. package/.agent/skills/performance-engineer/SKILL.md +4 -5
  105. package/.agent/skills/production-code-audit/SKILL.md +6 -0
  106. package/.agent/skills/rust-pro/SKILL.md +0 -177
  107. package/.agent/skills/security-auditor/SKILL.md +35 -27
  108. package/.agent/skills/seo-expert-kit/SKILL.md +9 -4
  109. package/.agent/skills/shopify-development/scripts/tests/test_shopify_init.py +379 -0
  110. package/.agent/skills/tdd-master-workflow/SKILL.md +9 -3
  111. package/.agent/workflows/audit.md +30 -16
  112. package/.agent/workflows/brainstorm.md +33 -96
  113. package/.agent/workflows/create.md +37 -45
  114. package/.agent/workflows/debug.md +45 -84
  115. package/.agent/workflows/deploy.md +33 -158
  116. package/.agent/workflows/document.md +38 -15
  117. package/.agent/workflows/enhance.md +33 -48
  118. package/.agent/workflows/monitor.md +35 -14
  119. package/.agent/workflows/orchestrate.md +33 -218
  120. package/.agent/workflows/plan.md +39 -70
  121. package/.agent/workflows/security.md +35 -14
  122. package/.agent/workflows/seo.md +39 -16
  123. package/.agent/workflows/status.md +33 -72
  124. package/.agent/workflows/test.md +30 -127
  125. package/.agent/workflows/ui-ux-pro-max.md +24 -283
  126. package/LICENSE +22 -8
  127. package/README.md +105 -72
  128. package/README.vi.md +93 -110
  129. package/cli/create.js +275 -413
  130. package/cli/index.js +36 -24
  131. package/cli/lib/auto-update.js +14 -21
  132. package/cli/logic/product-skills.js +58 -0
  133. package/cli/logic/skill-definitions.js +0 -39
  134. package/cli/prompts.js +151 -145
  135. package/cli/skills/browser-subagent-core/SKILL.md +22 -0
  136. package/cli/tools/browser.js +75 -0
  137. package/cli/ui/dashboard.js +48 -0
  138. package/docs/AGENTS_GUIDE.vi.md +39 -45
  139. package/docs/CONTRIBUTING.vi.md +12 -3
  140. package/docs/{GEMINI_GUIDE.md → GEMINI_USAGE.md} +6 -6
  141. package/docs/GLOSSARY.vi.md +49 -30
  142. package/docs/HOW_ANTIGRAVITY_THINKS.vi.md +1 -1
  143. package/docs/OPERATIONAL_FLOW.vi.md +15 -0
  144. package/docs/{PUBLISHING.md → PUBLISHING_GUIDE.md} +31 -3
  145. package/docs/RULES_GUIDE.vi.md +67 -31
  146. package/docs/SHARED_LIBRARY_GUIDE.vi.md +18 -22
  147. package/docs/SKILLS_GUIDE.vi.md +119 -32
  148. package/docs/TROUBLESHOOTING.vi.md +10 -2
  149. package/docs/WORKFLOW_GUIDE.vi.md +57 -9
  150. package/package.json +32 -8
  151. package/setup.js +147 -114
  152. package/.agent/.shared/compliance/README.md +0 -19
  153. package/.agent/.shared/design-system/README.md +0 -18
  154. package/.agent/.shared/domain-blueprints/README.md +0 -18
  155. package/.agent/.shared/dx-toolkit/README.md +0 -19
  156. package/.agent/.shared/i18n-master/README.md +0 -18
  157. package/.agent/.shared/infra-blueprints/README.md +0 -18
  158. package/.agent/.shared/metrics/README.md +0 -17
  159. package/.agent/.shared/resilience-patterns/README.md +0 -19
  160. package/.agent/.shared/security-armor/README.md +0 -25
  161. package/.agent/.shared/testing-master/README.md +0 -20
  162. package/.agent/.shared/vitals-templates/README.md +0 -18
  163. package/.agent/agents/accessibility-expert.md +0 -22
  164. package/.agent/agents/api-architect.md +0 -22
  165. package/.agent/agents/backend-specialist.eco.md +0 -19
  166. package/.agent/agents/backend-specialist.instant.md +0 -19
  167. package/.agent/agents/codebase-expert.md +0 -23
  168. package/.agent/agents/compliance-expert.md +0 -22
  169. package/.agent/agents/data-scientist.md +0 -22
  170. package/.agent/agents/debugger.eco.md +0 -20
  171. package/.agent/agents/debugger.instant.md +0 -20
  172. package/.agent/agents/deep-thinker.ultra.md +0 -23
  173. package/.agent/agents/devex-optimizer.md +0 -22
  174. package/.agent/agents/devops-architect.md +0 -22
  175. package/.agent/agents/frontend-specialist.eco.md +0 -19
  176. package/.agent/agents/frontend-specialist.instant.md +0 -19
  177. package/.agent/agents/growth-engineer.md +0 -22
  178. package/.agent/agents/i18n-specialist.md +0 -21
  179. package/.agent/agents/legacy-modernizer.md +0 -22
  180. package/.agent/agents/microservices-specialist.md +0 -22
  181. package/.agent/agents/motion-designer.md +0 -22
  182. package/.agent/agents/orchestrator.creative.md +0 -28
  183. package/.agent/agents/orchestrator.eco.md +0 -29
  184. package/.agent/agents/orchestrator.instant.md +0 -29
  185. package/.agent/agents/orchestrator.ultra.md +0 -28
  186. package/.agent/agents/performance-benchmarker.md +0 -22
  187. package/.agent/agents/project-planner.eco.md +0 -19
  188. package/.agent/agents/project-planner.instant.md +0 -19
  189. package/.agent/agents/security-pentester.md +0 -22
  190. package/.agent/agents/serverless-expert.md +0 -22
  191. package/.agent/fastcode_index.json +0 -1038
  192. package/.agent/mcp_config.json +0 -24
  193. package/.agent/rules/GEMINI.eco.md +0 -37
  194. package/.agent/rules/GEMINI.instant.md +0 -37
  195. package/.agent/rules/api-spec.md +0 -28
  196. package/.agent/rules/database.md +0 -24
  197. package/.agent/rules/devops.md +0 -23
  198. package/.agent/rules/growth-strategy.md +0 -22
  199. package/.agent/rules/logging-monitoring.md +0 -22
  200. package/.agent/rules/quality-assurance.md +0 -22
  201. package/.agent/rules/system-reasoning.md +0 -20
  202. package/.agent/rules/ui-design.md +0 -23
  203. package/.agent/rules/ux-patterns.md +0 -23
  204. package/.agent/scripts/auto_preview.py +0 -148
  205. package/.agent/scripts/checklist.py +0 -252
  206. package/.agent/scripts/session_manager.py +0 -120
  207. package/.agent/scripts/simulation_install.js +0 -59
  208. package/.agent/scripts/sync_to_global.py +0 -78
  209. package/.agent/scripts/translate_workflows.py +0 -53
  210. package/.agent/scripts/verify_all.py +0 -327
  211. package/.agent/scripts/verify_shared_modules.js +0 -126
  212. package/.agent/skills/fastcode-search/SKILL.md +0 -46
  213. package/.agent/skills/fastcode-search/fastcode_config.example.json +0 -17
  214. package/.agent/skills/frontend-trends-2026/SKILL.md +0 -78
  215. package/.agent/skills/frontend-trends-2026/formulas/BentoGrid.tsx +0 -42
  216. package/.agent/skills/frontend-trends-2026/formulas/LiquidCard.tsx +0 -32
  217. package/.agent/skills/frontend-trends-2026/formulas/NeoButton.tsx +0 -27
  218. package/.agent/workflows/deep-security-audit.md +0 -9
  219. package/.agent/workflows/growth-max.md +0 -9
  220. package/.agent/workflows/performance-max.md +0 -9
  221. package/.editorconfig +0 -21
  222. package/.gitattributes +0 -7
  223. package/CHANGELOG.md +0 -32
  224. package/ERRORS.md +0 -67
  225. package/action.yml +0 -32
  226. package/antigravity-ide-logo.png +0 -0
  227. package/antigravity-ide-logo.svg +0 -24
  228. package/assets/skills-bundle.json +0 -1
  229. package/cli/manifest.js +0 -524
  230. package/cli/skills/fastcode.js +0 -181
  231. package/docs/AGENT_FLOW.md +0 -608
  232. package/docs/CONTRIBUTING.md +0 -46
  233. package/docs/COPYRIGHT.md +0 -57
  234. package/docs/DEPLOYMENT.md +0 -77
  235. package/docs/GLOSSARY.md +0 -109
  236. package/docs/MASTER_GUIDE.md +0 -103
  237. package/docs/OPERATIONAL_FLOW.md +0 -147
  238. package/docs/PLAN-upgrade-core-architecture.md +0 -71
  239. package/docs/SKILLS.md +0 -610
  240. package/docs/TROUBLESHOOTING.md +0 -43
  241. package/jest.config.js +0 -8
  242. package/scripts/bump.js +0 -93
  243. package/scripts/bundle-skills.js +0 -59
  244. package/scripts/internal/automation/auto-release.js +0 -177
  245. package/scripts/internal/fractalize-skills.js +0 -89
  246. package/scripts/internal/generate-skill-definitions.js +0 -134
  247. package/scripts/internal/internal/update-docs.js +0 -115
  248. package/scripts/internal/refactor-skill-content.js +0 -127
  249. package/scripts/internal/rename-skills.js +0 -96
  250. package/scripts/internal/sync-skills.js +0 -112
  251. package/scripts/internal/update-frontmatter-names.js +0 -99
  252. package/scripts/internal/verification/audit-dna.js +0 -56
  253. package/scripts/internal/verification/audit-skills.js +0 -65
  254. package/web/src/app/docs/guide/examples/brainstorm/page.mdx +0 -91
  255. package/web/src/app/docs/guide/examples/create/page.mdx +0 -84
  256. package/web/src/app/docs/guide/examples/debugging/page.mdx +0 -83
  257. package/web/src/app/docs/guide/examples/deployment/page.mdx +0 -93
  258. package/web/src/app/docs/guide/examples/new-feature/page.mdx +0 -102
  259. package/web/src/app/docs/guide/examples/orchestration/page.mdx +0 -99
  260. package/web/src/app/docs/guide/examples/plan/page.mdx +0 -76
  261. package/web/src/app/docs/guide/examples/preview/page.mdx +0 -77
  262. package/web/src/app/docs/guide/examples/status/page.mdx +0 -78
  263. package/web/src/app/docs/guide/examples/test/page.mdx +0 -80
  264. package/web/src/app/docs/guide/examples/ui-design/page.mdx +0 -90
  265. package/web/src/components/mdx/Callout.tsx +0 -60
  266. package/web/src/components/mdx/FeatureGrid.tsx +0 -38
  267. package/web/src/components/mdx/ProTips.tsx +0 -29
  268. package/web/src/components/mdx/StepList.tsx +0 -33
  269. package/web/src/components/mdx/Terminal.tsx +0 -58
  270. package/web/src/components/mdx/index.ts +0 -5
  271. package/web/src/mdx-components.tsx +0 -98
  272. /package/.agent/.shared/{design-philosophy → core/design-philosophy}/MANIFESTO.md +0 -0
  273. /package/.agent/.shared/{design-philosophy → core/design-philosophy}/checklists/tactile_audit.md +0 -0
  274. /package/.agent/.shared/{design-philosophy → core/design-philosophy}/checklists/visual_audit.md +0 -0
  275. /package/.agent/.shared/{design-philosophy → core/design-philosophy}/presets/linear_glow.json +0 -0
  276. /package/.agent/.shared/{dx-toolkit → core/dx-toolkit}/checklists/code_review.md +0 -0
  277. /package/.agent/.shared/{dx-toolkit → core/dx-toolkit}/presets/vscode_settings.json +0 -0
  278. /package/.agent/.shared/{metrics → core/metrics}/benchmarks.json +0 -0
  279. /package/.agent/.shared/{vitals-templates → core/vitals-templates}/audit_report.md +0 -0
  280. /package/.agent/.shared/{vitals-templates → core/vitals-templates}/plan_prd.md +0 -0
  281. /package/.agent/.shared/{ai-master → technical/ai-master}/best_patterns.md +0 -0
  282. /package/.agent/.shared/{ai-master → technical/ai-master}/checklists/prompt_audit.md +0 -0
  283. /package/.agent/.shared/{ai-master → technical/ai-master}/presets/model_configs.json +0 -0
  284. /package/.agent/.shared/{api-standards → technical/api-standards}/data +0 -0
  285. /package/.agent/.shared/{api-standards → technical/api-standards}/endpoints_naming.md +0 -0
  286. /package/.agent/.shared/{api-standards → technical/api-standards}/error_codes.csv +0 -0
  287. /package/.agent/.shared/{api-standards → technical/api-standards}/pagination_sorting.md +0 -0
  288. /package/.agent/.shared/{api-standards → technical/api-standards}/response_format.json +0 -0
  289. /package/.agent/.shared/{database-master → technical/database-master}/schemas/auth_rbac.sql +0 -0
  290. /package/.agent/.shared/{database-master → technical/database-master}/schemas/cms.sql +0 -0
  291. /package/.agent/.shared/{database-master → technical/database-master}/schemas/ecommerce.sql +0 -0
  292. /package/.agent/.shared/{design-system → technical/design-system}/brand_presets.json +0 -0
  293. /package/.agent/.shared/{design-system → technical/design-system}/micro_interactions.md +0 -0
  294. /package/.agent/.shared/{i18n-master → technical/i18n-master}/vi_tech_dictionary.csv +0 -0
  295. /package/.agent/.shared/{i18n-master → technical/i18n-master}/workflows.json +0 -0
  296. /package/.agent/.shared/{resilience-patterns → technical/resilience-patterns}/checklists/chaos_engineering.md +0 -0
  297. /package/.agent/.shared/{resilience-patterns → technical/resilience-patterns}/presets/circuit_breaker.json +0 -0
  298. /package/.agent/.shared/{security-armor → technical/security-armor}/checklists/vuln_scan.md +0 -0
  299. /package/.agent/.shared/{security-armor → technical/security-armor}/hardening.md +0 -0
  300. /package/.agent/.shared/{security-armor → technical/security-armor}/presets/helmet_config.json +0 -0
  301. /package/.agent/.shared/{seo-master → technical/seo-master}/checklists/technical_seo.md +0 -0
  302. /package/.agent/.shared/{seo-master → technical/seo-master}/presets/json_ld_schema.json +0 -0
  303. /package/.agent/.shared/{testing-master → technical/testing-master}/checklists/pre_release.md +0 -0
  304. /package/.agent/.shared/{testing-master → technical/testing-master}/scenarios.md +0 -0
  305. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/colors.csv +0 -0
  306. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/icons.csv +0 -0
  307. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/landing.csv +0 -0
  308. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/products.csv +0 -0
  309. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/react-performance.csv +0 -0
  310. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/flutter.csv +0 -0
  311. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/html-tailwind.csv +0 -0
  312. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/jetpack-compose.csv +0 -0
  313. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/nextjs.csv +0 -0
  314. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/nuxt-ui.csv +0 -0
  315. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/nuxtjs.csv +0 -0
  316. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/react-native.csv +0 -0
  317. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/react.csv +0 -0
  318. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/shadcn.csv +0 -0
  319. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/svelte.csv +0 -0
  320. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/swiftui.csv +0 -0
  321. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/stacks/vue.csv +0 -0
  322. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/ux-guidelines.csv +0 -0
  323. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/data/web-interface.csv +0 -0
  324. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/__pycache__/core.cpython-313.pyc +0 -0
  325. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
  326. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/core.py +0 -0
  327. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/design_system.py +0 -0
  328. /package/.agent/.shared/{ui-ux-pro-max → technical/ui-ux-pro-max}/scripts/search.py +0 -0
  329. /package/.agent/.shared/{compliance → verticals/compliance}/legal_templates.md +0 -0
  330. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/edtech.md +0 -0
  331. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/fintech.md +0 -0
  332. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/fnb_restaurant.md +0 -0
  333. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/freelance_marketplace.md +0 -0
  334. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/healthcare.md +0 -0
  335. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/hospitality_tourism.md +0 -0
  336. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/logistics.md +0 -0
  337. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/marketing_automation.md +0 -0
  338. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/personal_branding.md +0 -0
  339. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/real_estate.md +0 -0
  340. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/retail_ecommerce.md +0 -0
  341. /package/.agent/.shared/{domain-blueprints → verticals/domain-blueprints}/standard-pro-agents.md +0 -0
  342. /package/.agent/.shared/{infra-blueprints → verticals/infra-blueprints}/deployment_specs.md +0 -0
  343. /package/.agent/skills/ai-engineer/{resources → sub-skills}/ai_infra_stack.md +0 -0
  344. /package/.agent/skills/cloud-architect-master/{resources → sub-skills}/cost_optimization_checklist.md +0 -0
  345. /package/.agent/skills/cro-expert-kit/{resources → sub-skills}/psychological_triggers.md +0 -0
  346. /package/.agent/skills/database-migration/{resources → sub-skills}/zero_downtime_strategy.md +0 -0
  347. /package/.agent/skills/deployment-engineer/{resources → sub-skills}/k8s_best_practices.md +0 -0
  348. /package/.agent/skills/git-collaboration-master/{resources → sub-skills}/pr_template.md +0 -0
  349. /package/.agent/skills/incident-responder/{resources → sub-skills}/incident_severity_levels.md +0 -0
  350. /package/.agent/skills/legacy-modernizer/{resources → sub-skills}/strangler_fig_pattern.md +0 -0
  351. /package/.agent/skills/penetration-tester-master/{resources → sub-skills}/owasp_top_10_2025.md +0 -0
  352. /package/.agent/skills/production-code-audit/{resources → sub-skills}/solid_principles_cheat_sheet.md +0 -0
  353. /package/.agent/skills/seo-expert-kit/{resources → sub-skills}/technical_seo_checklist.md +0 -0
  354. /package/.agent/skills/tdd-master-workflow/{resources → sub-skills}/unit_test_naming_convention.md +0 -0
  355. /package/.agent/{.shared → skills}/ui-ux-pro-max/data/charts.csv +0 -0
  356. /package/.agent/{.shared → skills}/ui-ux-pro-max/data/prompts.csv +0 -0
  357. /package/.agent/{.shared → skills}/ui-ux-pro-max/data/styles.csv +0 -0
  358. /package/.agent/{.shared → skills}/ui-ux-pro-max/data/typography.csv +0 -0
  359. /package/.agent/{.shared → skills}/ui-ux-pro-max/data/ui-reasoning.csv +0 -0
@@ -1,59 +1,51 @@
1
1
  ---
2
- description: Muốn tạo tính năng mới từ A-Z? Dùng cái này.
2
+ description: Muốn tạo tính năng mới hoặc dự án từ A-Z? Sử dụng bộ máy nhân sự chuyên nghiệp.
3
3
  ---
4
4
 
5
- # /create - Create Application
5
+ # /create - Full-Cycle Product Creation
6
6
 
7
7
  $ARGUMENTS
8
8
 
9
9
  ---
10
10
 
11
- ## Task
12
-
13
- This command starts a new application creation process.
14
-
15
- ### Steps:
16
-
17
- 1. **Request Analysis**
18
- - Understand what the user wants
19
- - If information is missing, use `conversation-manager` skill to ask
20
-
21
- 2. **Project Planning**
22
- - Use `project-planner` agent for task breakdown
23
- - Determine tech stack
24
- - Plan file structure
25
- - Create plan file and proceed to building
26
-
27
- 3. **Application Building (After Approval)**
28
- - Orchestrate with `app-builder` skill
29
- - Coordinate expert agents:
30
- - `database-architect` → Schema
31
- - `backend-specialist` API
32
- - `frontend-specialist` → UI
33
-
34
- 4. **Preview**
35
- - Start with `auto_preview.py` when complete
36
- - Present URL to user
11
+ ## 🟢 PHASE 1: Requirements Discovery
12
+ **Agent**: `product-manager` & `explorer-agent`
13
+ **Mission**: Define the "What" and "Why."
14
+ - **Action**: Analyze User Intent and map to project scale.
15
+ - **Verification**: Ensure no conflict with existing system architecture.
16
+
17
+ ## 🟡 PHASE 2: Strategic Architecture (PLAN)
18
+ **Agent**: `project-planner`
19
+ **Mission**: Define the "How."
20
+ - **Workflow Link**: Invokes `/plan` automatically.
21
+ - **Artifact**: Create `docs/PLAN-{slug}.md`.
22
+ - **Mandatory**: User MUST approve the plan before Phase 3 begins.
23
+
24
+ ## 🔵 PHASE 3: Surgical Execution
25
+ **Agent**: `orchestrator`
26
+ **Mission**: Direct the "Heavy Lifters."
27
+ - **Choreography**:
28
+ 1. `database-architect` (Schema first).
29
+ 2. `backend-specialist` (APIs/Logic).
30
+ 3. `frontend-specialist` (Design/UI).
31
+ 4. `documentation-writer` (Sync docs).
32
+
33
+ ## 🔴 PHASE 4: Professional Audit & Handoff
34
+ **Agent**: `quality-inspector` & `test-engineer`
35
+ **Mission**: Defend the Quality Gate.
36
+ - **Verification**: Run `/test` and `/security` workflows.
37
+ - **Artifact**: Create the final `walkthrough.md` with proof of work.
37
38
 
38
39
  ---
39
40
 
40
- ## Usage Examples
41
-
42
- ```
43
- /create blog site
44
- /create e-commerce app with product listing and cart
45
- /create todo app
46
- /create Instagram clone
47
- /create crm system with customer management
48
- ```
41
+ ## Rules of Engagement:
42
+ - **No Placeholders**: Every generated asset must be functional.
43
+ - **Security-First**: No hardcoded keys, ever.
44
+ - **Wow Factor**: Frontend work must use `ui-ux-pro-max` standards.
49
45
 
50
46
  ---
51
47
 
52
- ## Before Starting
53
-
54
- If request is unclear, ask these questions:
55
- - What type of application?
56
- - What are the basic features?
57
- - Who will use it?
58
-
59
- Use defaults, add details later.
48
+ ## Examples:
49
+ - `/create e-commerce dashboard with analytics`
50
+ - `/create inventory management CLI in Rust`
51
+ - `/create portfolio site with video backgrounds`
@@ -1,103 +1,64 @@
1
1
  ---
2
- description: Gặp lỗi khó sửa? Để AI soi log và sửa giúp bạn.
2
+ description: Gặp lỗi khó sửa? Để AI soi log và sửa giúp bạn theo quy trình chuyên nghiệp.
3
3
  ---
4
4
 
5
- # /debug - Systematic Problem Investigation
5
+ # /debug - Systematic Debugging System
6
6
 
7
7
  $ARGUMENTS
8
8
 
9
9
  ---
10
10
 
11
- ## Purpose
12
-
13
- This command activates DEBUG mode for systematic investigation of issues, errors, or unexpected behavior.
11
+ ## 🟢 PHASE 1: Forensic Discovery (The "Crime Scene")
12
+ **Agent**: `explorer-agent` & `debugger`
13
+ **Mission**: Isolate the exact point of failure.
14
+ - **Action**: Read the Stack Trace or Terminal Logs.
15
+ - **Action**: Locate the failing file:line.
16
+ - **DNA Link**: Consult `rules/error-logging.md` to see if this is a known recurring issue.
17
+
18
+ ## 🟡 PHASE 2: Root Cause Analysis (RCA)
19
+ **Agent**: `debugger`
20
+ **Mission**: Formulate a hypothesis (Why is it broken?).
21
+ - **Hypothesis Checklist**:
22
+ - Null/Undefined safety?
23
+ - Race condition / Sync error?
24
+ - Missing environment variable?
25
+ - Breaking dependency change?
26
+ - **Artifact**: Propose the fix to the User with [Pros/Cons].
27
+
28
+ ## 🔵 PHASE 3: Surgical Repair
29
+ **Agent**: `backend-specialist` or `frontend-specialist`
30
+ **Mission**: Apply the targetted fix.
31
+ - **Correction**: Wrap sensitive logic in `try...catch`.
32
+ - **Defensive API**: Use Optional Chaining (`?.`) and Nullish Coalescing (`??`).
33
+
34
+ ## 🔴 PHASE 4: Verification & Post-Mortem
35
+ **Agent**: `test-engineer` & `quality-inspector`
36
+ **Mission**: Ensure the "Bleeding" has stopped.
37
+ - **Action**: Run the failing test case to confirm FIX.
38
+ - **Reporting**: Log the incident in `ERRORS.md`.
39
+ - **Handoff**: Create a `walkthrough.md` explaining the fix.
14
40
 
15
41
  ---
16
42
 
17
- ## Behavior
18
-
19
- When `/debug` is triggered:
20
-
21
- 1. **Gather information**
22
- - Error message
23
- - Reproduction steps
24
- - Expected vs actual behavior
25
- - Recent changes
26
-
27
- 2. **Form hypotheses**
28
- - List possible causes
29
- - Order by likelihood
30
-
31
- 3. **Investigate systematically**
32
- - Test each hypothesis
33
- - Check logs, data flow
34
- - Use elimination method
35
-
36
- 4. **Fix and prevent**
37
- - Apply fix
38
- - Explain root cause
39
- - Add prevention measures
40
-
41
- ---
42
-
43
- ## Output Format
44
-
43
+ ## Output Format:
45
44
  ```markdown
46
- ## 🔍 Debug: [Issue]
47
-
48
- ### 1. Symptom
49
- [What's happening]
50
-
51
- ### 2. Information Gathered
52
- - Error: `[error message]`
53
- - File: `[filepath]`
54
- - Line: [line number]
55
-
56
- ### 3. Hypotheses
57
- 1. ❓ [Most likely cause]
58
- 2. ❓ [Second possibility]
59
- 3. ❓ [Less likely cause]
45
+ ## 🐞 Debug Report: [Bug Title]
60
46
 
61
- ### 4. Investigation
47
+ ### Root Cause
48
+ [One sentence explanation]
62
49
 
63
- **Testing hypothesis 1:**
64
- [What I checked] → [Result]
50
+ ### The Fix
51
+ [Diff or explanation]
65
52
 
66
- **Testing hypothesis 2:**
67
- [What I checked] [Result]
68
-
69
- ### 5. Root Cause
70
- 🎯 **[Explanation of why this happened]**
71
-
72
- ### 6. Fix
73
- ```[language]
74
- // Before
75
- [broken code]
76
-
77
- // After
78
- [fixed code]
79
- ```
80
-
81
- ### 7. Prevention
82
- 🛡️ [How to prevent this in the future]
83
- ```
84
-
85
- ---
86
-
87
- ## Examples
88
-
89
- ```
90
- /debug login not working
91
- /debug API returns 500
92
- /debug form doesn't submit
93
- /debug data not saving
53
+ ### Verification
54
+ - [ ] Test case passed
55
+ - [ ] No regression found
56
+ - [ ] Error logged in ERRORS.md
94
57
  ```
95
58
 
96
59
  ---
97
60
 
98
- ## Key Principles
99
-
100
- - **Ask before assuming** - get full error context
101
- - **Test hypotheses** - don't guess randomly
102
- - **Explain why** - not just what to fix
103
- - **Prevent recurrence** - add tests, validation
61
+ ## Key Principles:
62
+ - **Evidence-First**: Don't guess, use the logs.
63
+ - **Regression-Aware**: Every fix must come with a test case to prevent it from returning.
64
+ - **Clean Fix**: Don't use "band-aid" fixes unless it's a critical production outage.
@@ -2,175 +2,50 @@
2
2
  description: Code xong rồi? Đẩy lên Server/Vercel thôi.
3
3
  ---
4
4
 
5
- # /deploy - Production Deployment
5
+ # /deploy - Production Release System
6
6
 
7
7
  $ARGUMENTS
8
8
 
9
9
  ---
10
10
 
11
- ## Purpose
11
+ ## 🟢 PHASE 1: Pre-Flight Integrity Check
12
+ **Agent**: `devops-engineer` & `security-auditor`
13
+ **Mission**: Ensure the code is "Deployable."
14
+ - **Action**: Run `npm run build` and `npm test`.
15
+ - **Checklist**:
16
+ - [ ] Zero Lint/TS errors.
17
+ - [ ] All security patches applied (`npm audit`).
18
+ - [ ] Environment variables configured in Production.
12
19
 
13
- This command handles production deployment with pre-flight checks, deployment execution, and verification.
20
+ ## 🟡 PHASE 2: Artifact Creation & Gating
21
+ **Agent**: `devops-engineer`
22
+ **Mission**: Build the release.
23
+ - **Action**: Create the production bundle/container.
24
+ - **Gate**: Stop and verify the "Pre-deploy Checklist" success.
14
25
 
15
- ---
16
-
17
- ## Sub-commands
26
+ ## 🔵 PHASE 3: Surgical Deployment
27
+ **Agent**: `devops-engineer`
28
+ **Mission**: Switch the traffic.
29
+ - **Action**: Execute `vercel --prod`, `railway up`, or target platform command.
30
+ - **Strategy**: Use Blue/Green or Canary if supported by the infrastructure.
18
31
 
19
- ```
20
- /deploy - Interactive deployment wizard
21
- /deploy check - Run pre-deployment checks only
22
- /deploy preview - Deploy to preview/staging
23
- /deploy production - Deploy to production
24
- /deploy rollback - Rollback to previous version
25
- ```
32
+ ## 🔴 PHASE 4: Health Audit & Verification
33
+ **Agent**: `performance-optimizer` & `incident-responder`
34
+ **Mission**: Verify the "Live" state.
35
+ - **Action**: Check Production URL response time and status.
36
+ - **Action**: Verify Database connectivity in the live environment.
37
+ - **Artifact**: Provide the Production URL and Health Badge to the User.
26
38
 
27
39
  ---
28
40
 
29
- ## Pre-Deployment Checklist
30
-
31
- Before any deployment:
32
-
33
- ```markdown
34
- ## 🚀 Pre-Deploy Checklist
35
-
36
- ### Code Quality
37
- - [ ] No TypeScript errors (`npx tsc --noEmit`)
38
- - [ ] ESLint passing (`npx eslint .`)
39
- - [ ] All tests passing (`npm test`)
40
-
41
- ### Security
42
- - [ ] No hardcoded secrets
43
- - [ ] Environment variables documented
44
- - [ ] Dependencies audited (`npm audit`)
45
-
46
- ### Performance
47
- - [ ] Bundle size acceptable
48
- - [ ] No console.log statements
49
- - [ ] Images optimized
50
-
51
- ### Documentation
52
- - [ ] README updated
53
- - [ ] CHANGELOG updated
54
- - [ ] API docs current
55
-
56
- ### Ready to deploy? (y/n)
57
- ```
41
+ ## Deployment Rules:
42
+ - **No Yolo-Deploy**: Never deploy without a successful local build.
43
+ - **Rollback Ready**: Always have a plan to return to the previous version.
44
+ - **Zero Downtime**: Prioritize strategies that don't break the user experience.
58
45
 
59
46
  ---
60
47
 
61
- ## Deployment Flow
62
-
63
- ```
64
- ┌─────────────────┐
65
- │ /deploy │
66
- └────────┬────────┘
67
-
68
-
69
- ┌─────────────────┐
70
- │ Pre-flight │
71
- │ checks │
72
- └────────┬────────┘
73
-
74
- Pass? ──No──► Fix issues
75
-
76
- Yes
77
-
78
-
79
- ┌─────────────────┐
80
- │ Build │
81
- │ application │
82
- └────────┬────────┘
83
-
84
-
85
- ┌─────────────────┐
86
- │ Deploy to │
87
- │ platform │
88
- └────────┬────────┘
89
-
90
-
91
- ┌─────────────────┐
92
- │ Health check │
93
- │ & verify │
94
- └────────┬────────┘
95
-
96
-
97
- ┌─────────────────┐
98
- │ ✅ Complete │
99
- └─────────────────┘
100
- ```
101
-
102
- ---
103
-
104
- ## Output Format
105
-
106
- ### Successful Deploy
107
-
108
- ```markdown
109
- ## 🚀 Deployment Complete
110
-
111
- ### Summary
112
- - **Version:** v1.2.3
113
- - **Environment:** production
114
- - **Duration:** 47 seconds
115
- - **Platform:** Vercel
116
-
117
- ### URLs
118
- - 🌐 Production: https://app.example.com
119
- - 📊 Dashboard: https://vercel.com/project
120
-
121
- ### What Changed
122
- - Added user profile feature
123
- - Fixed login bug
124
- - Updated dependencies
125
-
126
- ### Health Check
127
- ✅ API responding (200 OK)
128
- ✅ Database connected
129
- ✅ All services healthy
130
- ```
131
-
132
- ### Failed Deploy
133
-
134
- ```markdown
135
- ## ❌ Deployment Failed
136
-
137
- ### Error
138
- Build failed at step: TypeScript compilation
139
-
140
- ### Details
141
- ```
142
- error TS2345: Argument of type 'string' is not assignable...
143
- ```
144
-
145
- ### Resolution
146
- 1. Fix TypeScript error in `src/services/user.ts:45`
147
- 2. Run `npm run build` locally to verify
148
- 3. Try `/deploy` again
149
-
150
- ### Rollback Available
151
- Previous version (v1.2.2) is still active.
152
- Run `/deploy rollback` if needed.
153
- ```
154
-
155
- ---
156
-
157
- ## Platform Support
158
-
159
- | Platform | Command | Notes |
160
- |----------|---------|-------|
161
- | Vercel | `vercel --prod` | Auto-detected for Next.js |
162
- | Railway | `railway up` | Needs Railway CLI |
163
- | Fly.io | `fly deploy` | Needs flyctl |
164
- | Docker | `docker compose up -d` | For self-hosted |
165
-
166
- ---
167
-
168
- ## Examples
169
-
170
- ```
171
- /deploy
172
- /deploy check
173
- /deploy preview
174
- /deploy production --skip-tests
175
- /deploy rollback
176
- ```
48
+ ## Examples:
49
+ - `/deploy production`
50
+ - `/deploy preview`
51
+ - `/deploy check`
@@ -1,27 +1,50 @@
1
1
  ---
2
- description: Lười viết docs? Để AI tự viết cho.
2
+ description: Lười viết docs? Để AI tự viết cho chuyên nghiệp và đầy đủ.
3
3
  ---
4
4
 
5
- # /document - Auto Documentation
5
+ # /document - Knowledge & Documentation System
6
6
 
7
7
  $ARGUMENTS
8
8
 
9
9
  ---
10
10
 
11
- ## Task
12
- Keep documentation in sync with code.
11
+ ## 🟢 PHASE 1: Codebase Extraction
12
+ **Agent**: `explorer-agent` & `documentation-writer`
13
+ **Mission**: Understand what needs explaining.
14
+ - **Action**: Extract Docstrings, Type Definitions, and API routes.
15
+ - **Action**: Identify "Knowledge Gaps" in current documentation.
13
16
 
14
- ### Steps:
15
- 1. **Scan Codebase**: Read function signatures and comments.
16
- 2. **Generate API Docs**: Create Swagger/OpenAPI spec.
17
- 3. **Update README**: Refresh feature list and usage examples.
18
- 4. **Internal Docs**: Update `ARCHITECTURE.md` if structure changed.
17
+ ## 🟡 PHASE 2: Logic & Structural Drafting
18
+ **Agent**: `documentation-writer`
19
+ **Mission**: Create the narrative.
20
+ - **Protocol**:
21
+ - Why does this code exist? (Business Logic).
22
+ - How do I use it? (Quick Start/Examples).
23
+ - What are the risks? (Caveats/Notes).
24
+ - **Format**: Use GitHub Flavored Markdown (GFM) with appropriate Alerts.
25
+
26
+ ## 🔵 PHASE 3: Surgical Update
27
+ **Agent**: `documentation-writer`
28
+ **Mission**: Apply the knowledge.
29
+ - **Action**: Create or Update `README.md`, `API.md`, or code comments.
30
+ - **Standard**: Follow [documentation-templates](file:///skills/documentation-templates/SKILL.md).
31
+
32
+ ## 🔴 PHASE 4: Clarity Audit & Sync
33
+ **Agent**: `quality-inspector` & `seo-specialist`
34
+ **Mission**: Ensure the docs are discoverable and clear.
35
+ - **Verification**: Run `textlint` and check for broken links.
36
+ - **Artifact**: Create a unified `walkthrough.md` if this was a major doc update.
37
+
38
+ ---
39
+
40
+ ## Documentation Mandates:
41
+ - **No Stale Docs**: Documentation must match current code state.
42
+ - **AI-Ready**: Use structured headers to help other agents find context.
43
+ - **User-Centric**: Write for the persona appropriate for the file (Dev vs User).
19
44
 
20
45
  ---
21
46
 
22
- ## Usage
23
- ```
24
- /document api # Generate API reference
25
- /document readme # Update README.md
26
- /document all # Full documentation refresh
27
- ```
47
+ ## Examples:
48
+ - `/document this entire directory`
49
+ - `/document the authentication flow`
50
+ - `/document generate API reference`
@@ -2,62 +2,47 @@
2
2
  description: Muốn sửa màu, thêm nút, sửa logic nhỏ? Vào đây.
3
3
  ---
4
4
 
5
- # /enhance - Update Application
5
+ # /enhance - Incremental Feature Upgrade
6
6
 
7
7
  $ARGUMENTS
8
8
 
9
9
  ---
10
10
 
11
- ## Task
12
-
13
- This command adds features or makes updates to existing application.
14
-
15
- ### Steps:
16
-
17
- 1. **Understand Current State**
18
- - Load project state with `python .agent/scripts/session_manager.py info`
19
- - Understand existing features, tech stack
20
-
21
- 2. **Plan Changes**
22
- - Determine what will be added/changed
23
- - Detect affected files
24
- - Check dependencies
25
-
26
- 3. **Present Plan to User** (for major changes)
27
- ```
28
- "To add admin panel:
29
- - I'll create 15 new files
30
- - Update 8 files
31
- - Takes ~10 minutes
32
-
33
- Should I start?"
34
- ```
35
-
36
- 4. **Apply**
37
- - Call relevant agents
38
- - Make changes
39
- - Test
40
-
41
- 5. **Update Preview**
42
- - Hot reload or restart
11
+ ## 🟢 PHASE 1: Impact Discovery
12
+ **Agent**: `explorer-agent` & `frontend-specialist`
13
+ **Mission**: Map the "Blast Radius."
14
+ - **Action**: Identify all components and services affected by the change.
15
+ - **Action**: Check for breaking CSS or Logic changes.
16
+
17
+ ## 🟡 PHASE 2: Enhancement Plan
18
+ **Agent**: `project-planner`
19
+ **Mission**: Strategic addition.
20
+ - **Action**: Create a mini-plan in the `task.md`.
21
+ - **Note**: For major UI overhauls, invoke `/brainstorm` first.
22
+
23
+ ## 🔵 PHASE 3: Surgical Implementation
24
+ **Agent**: `frontend-specialist` or `backend-specialist`
25
+ **Mission**: Add the "WOW" factor.
26
+ - **Action**: Implement changes using `ui-ux-pro-max` standards.
27
+ - **Standard**: Follow [clean-code](file:///skills/clean-code/SKILL.md) and [tailwind-patterns](file:///skills/tailwind-patterns/SKILL.md).
28
+
29
+ ## 🔴 PHASE 4: Professional Verification
30
+ **Agent**: `quality-inspector` & `test-engineer`
31
+ **Mission**: Verify the delta.
32
+ - **Action**: Run `/preview` to playtest the UI.
33
+ - **Action**: Verify that existing tests still pass (Regression Check).
34
+ - **Handoff**: Document the change in `walkthrough.md`.
43
35
 
44
36
  ---
45
37
 
46
- ## Usage Examples
47
-
48
- ```
49
- /enhance add dark mode
50
- /enhance build admin panel
51
- /enhance integrate payment system
52
- /enhance add search feature
53
- /enhance edit profile page
54
- /enhance make responsive
55
- ```
38
+ ## Enhancement Principles:
39
+ - **Non-Destructive**: Don't break existing features to add new ones.
40
+ - **Consistent UI**: New elements must match the existing Design System.
41
+ - **Atomic Commits**: Group project changes in logical git commits.
56
42
 
57
43
  ---
58
44
 
59
- ## Caution
60
-
61
- - Get approval for major changes
62
- - Warn on conflicting requests (e.g., "use Firebase" when project uses PostgreSQL)
63
- - Commit each change with git
45
+ ## Examples:
46
+ - `/enhance add dark mode toggle`
47
+ - `/enhance integrate Google Auth`
48
+ - `/enhance make the landing page sections fade in`
@@ -1,26 +1,47 @@
1
1
  ---
2
- description: Server có ổn không? Cài giám sát ngay.
2
+ description: Server và Pipeline có ổn không? Cài đặt giám sát ngay.
3
3
  ---
4
4
 
5
- # /monitor - DevOps & Observability
5
+ # /monitor - Full-Stack Observability & Health
6
6
 
7
7
  $ARGUMENTS
8
8
 
9
9
  ---
10
10
 
11
- ## Task
12
- Setup logging and monitoring for Production.
11
+ ## 🟢 PHASE 1: Topology Discovery
12
+ **Agent**: `devops-engineer` & `explorer-agent`
13
+ **Mission**: Map the "Heartbeat" locations.
14
+ - **Action**: Identify critical services, databases, and CI/CD pipelines.
15
+ - **Action**: Locate existing logging and metrics configuration.
13
16
 
14
- ### Steps:
15
- 1. **Logging**: Config structured logging (JSON format).
16
- 2. **Error Tracking**: Setup Sentry/LogRocket/Datadog.
17
- 3. **Health Checks**: Create `/health` API endpoint.
18
- 4. **Alerting**: Define thresholds for CPU/Memory warnings.
17
+ ## 🟡 PHASE 2: Sourcing & Alerting Logic
18
+ **Agent**: `incident-responder` or `devops-engineer`
19
+ **Mission**: Define "Healthy."
20
+ - **Action**: Set thresholds for Error Rates, Latency (p99), and Resource Saturation.
21
+ - **Action**: Configure Alerting routes (Slack, Email, PagerTree).
22
+
23
+ ## 🔵 PHASE 3: Surgical Instrumentation
24
+ **Agent**: `devops-engineer`
25
+ **Mission**: Install the "Nervous System."
26
+ - **Action**: Setup OpenTelemetry, Prometheus, or Grafana Dashboards.
27
+ - **Action**: Implement log rotation and sanitization filters.
28
+
29
+ ## 🔴 PHASE 4: Reliability Audit
30
+ **Agent**: `quality-inspector`
31
+ **Mission**: Verify the "Watchman."
32
+ - **Verification**: Trigger a mock failure to test alert delivery.
33
+ - **Reporting**: Report the Dashboard URL or "Health Status" to the User.
34
+
35
+ ---
36
+
37
+ ## Observability Principles:
38
+ - **Zero Blindspots**: Monitor the "Critical Path" end-to-end.
39
+ - **No Noise**: Alerts must be actionable; suppress low-signal chatter.
40
+ - **Evidence-Based**: Operational decisions must be based on metrics, not intuition.
19
41
 
20
42
  ---
21
43
 
22
- ## Usage
23
- ```
24
- /monitor setup sentry # Install Sentry SDK
25
- /monitor check # Verify observability
26
- ```
44
+ ## Examples:
45
+ - `/monitor setup uptime tracking`
46
+ - `/monitor dashboard for backend latency`
47
+ - `/monitor check pipeline reliability`