antigravity-ide 4.2.0 → 4.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (354) hide show
  1. package/.agent/.shared/{technical/ai-master → ai-master}/README.md +1 -12
  2. package/.agent/.shared/{technical/api-standards → api-standards}/README.md +1 -12
  3. package/.agent/.shared/compliance/README.md +19 -0
  4. package/.agent/.shared/{technical/database-master → database-master}/README.md +2 -12
  5. package/.agent/.shared/{core/design-philosophy → design-philosophy}/README.md +1 -12
  6. package/.agent/.shared/design-system/README.md +18 -0
  7. package/.agent/.shared/domain-blueprints/README.md +18 -0
  8. package/.agent/.shared/dx-toolkit/README.md +19 -0
  9. package/.agent/.shared/i18n-master/README.md +18 -0
  10. package/.agent/.shared/infra-blueprints/README.md +18 -0
  11. package/.agent/.shared/metrics/README.md +17 -0
  12. package/.agent/.shared/resilience-patterns/README.md +19 -0
  13. package/.agent/.shared/security-armor/README.md +25 -0
  14. package/.agent/.shared/{technical/seo-master → seo-master}/README.md +1 -12
  15. package/.agent/.shared/testing-master/README.md +20 -0
  16. package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/README.md +1 -12
  17. package/.agent/.shared/vitals-templates/README.md +18 -0
  18. package/.agent/ARCHITECTURE.md +7 -10
  19. package/.agent/ARCHITECTURE.vi.md +8 -8
  20. package/.agent/RESOURCES.md +1 -0
  21. package/.agent/agents/accessibility-expert.md +22 -0
  22. package/.agent/agents/api-architect.md +22 -0
  23. package/.agent/agents/backend-specialist.eco.md +19 -0
  24. package/.agent/agents/backend-specialist.instant.md +19 -0
  25. package/.agent/agents/backend-specialist.md +19 -154
  26. package/.agent/agents/cloud-architect.md +189 -108
  27. package/.agent/agents/codebase-expert.md +23 -0
  28. package/.agent/agents/compliance-expert.md +22 -0
  29. package/.agent/agents/data-scientist.md +22 -0
  30. package/.agent/agents/debugger.eco.md +20 -0
  31. package/.agent/agents/debugger.instant.md +20 -0
  32. package/.agent/agents/debugger.md +182 -83
  33. package/.agent/agents/deep-thinker.ultra.md +23 -0
  34. package/.agent/agents/devex-optimizer.md +22 -0
  35. package/.agent/agents/devops-architect.md +22 -0
  36. package/.agent/agents/documentation-writer.md +72 -125
  37. package/.agent/agents/frontend-specialist.eco.md +19 -0
  38. package/.agent/agents/frontend-specialist.instant.md +19 -0
  39. package/.agent/agents/frontend-specialist.md +7 -40
  40. package/.agent/agents/game-developer.md +116 -111
  41. package/.agent/agents/growth-engineer.md +22 -0
  42. package/.agent/agents/i18n-specialist.md +21 -0
  43. package/.agent/agents/legacy-modernizer.md +22 -0
  44. package/.agent/agents/microservices-specialist.md +22 -0
  45. package/.agent/agents/mobile-developer.md +321 -108
  46. package/.agent/agents/motion-designer.md +22 -0
  47. package/.agent/agents/orchestrator.creative.md +28 -0
  48. package/.agent/agents/orchestrator.eco.md +29 -0
  49. package/.agent/agents/orchestrator.instant.md +29 -0
  50. package/.agent/agents/orchestrator.md +366 -106
  51. package/.agent/agents/orchestrator.ultra.md +28 -0
  52. package/.agent/agents/performance-benchmarker.md +22 -0
  53. package/.agent/agents/performance-optimizer.md +136 -105
  54. package/.agent/agents/project-planner.eco.md +19 -0
  55. package/.agent/agents/project-planner.instant.md +19 -0
  56. package/.agent/agents/project-planner.md +39 -132
  57. package/.agent/agents/quality-inspector.md +32 -136
  58. package/.agent/agents/security-auditor.md +15 -138
  59. package/.agent/agents/security-pentester.md +22 -0
  60. package/.agent/agents/seo-specialist.md +72 -118
  61. package/.agent/agents/serverless-expert.md +22 -0
  62. package/.agent/agents/test-engineer.md +11 -142
  63. package/.agent/fastcode_index.json +1038 -0
  64. package/.agent/mcp_config.json +24 -0
  65. package/.agent/rules/GEMINI.eco.md +37 -0
  66. package/.agent/rules/GEMINI.instant.md +37 -0
  67. package/.agent/rules/GEMINI.md +31 -62
  68. package/.agent/rules/api-spec.md +28 -0
  69. package/.agent/rules/code-quality.md +3 -34
  70. package/.agent/rules/database.md +24 -0
  71. package/.agent/rules/devops.md +23 -0
  72. package/.agent/rules/frontend.md +3 -3
  73. package/.agent/rules/growth-strategy.md +22 -0
  74. package/.agent/rules/logging-monitoring.md +22 -0
  75. package/.agent/rules/quality-assurance.md +22 -0
  76. package/.agent/rules/strict-protocol.md +3 -44
  77. package/.agent/rules/system-reasoning.md +20 -0
  78. package/.agent/rules/system-update.md +3 -56
  79. package/.agent/rules/ui-design.md +23 -0
  80. package/.agent/rules/ux-patterns.md +23 -0
  81. package/.agent/scripts/auto_preview.py +148 -0
  82. package/.agent/scripts/checklist.py +252 -0
  83. package/.agent/scripts/session_manager.py +120 -0
  84. package/.agent/scripts/simulation_install.js +59 -0
  85. package/.agent/scripts/sync_to_global.py +78 -0
  86. package/.agent/scripts/translate_workflows.py +53 -0
  87. package/.agent/scripts/verify_all.py +327 -0
  88. package/.agent/scripts/verify_shared_modules.js +126 -0
  89. package/.agent/skills/agent-backend-patterns/SKILL.md +6 -13
  90. package/.agent/skills/ai-engineer/SKILL.md +16 -29
  91. package/.agent/skills/api-documenter/SKILL.md +4 -4
  92. package/.agent/skills/app-builder/SKILL.md +1 -1
  93. package/.agent/skills/app-builder/tech-stack.md +2 -2
  94. package/.agent/skills/app-builder/templates/nextjs-fullstack/TEMPLATE.md +79 -39
  95. package/.agent/skills/app-builder/templates/nextjs-saas/TEMPLATE.md +75 -53
  96. package/.agent/skills/app-builder/templates/nextjs-static/TEMPLATE.md +119 -56
  97. package/.agent/skills/app-builder/templates/nuxt-app/TEMPLATE.md +94 -61
  98. package/.agent/skills/app-builder/templates/react-native-app/TEMPLATE.md +82 -56
  99. package/.agent/skills/cloud-architect-master/SKILL.md +4 -9
  100. package/.agent/skills/cro-expert-kit/SKILL.md +4 -9
  101. package/.agent/skills/database-migration/SKILL.md +3 -9
  102. package/.agent/skills/deployment-engineer/SKILL.md +3 -9
  103. package/.agent/skills/fastcode-search/SKILL.md +46 -0
  104. package/.agent/skills/fastcode-search/fastcode_config.example.json +17 -0
  105. package/.agent/skills/frontend-design/ux-psychology.md +585 -10
  106. package/.agent/skills/frontend-trends-2026/SKILL.md +78 -0
  107. package/.agent/skills/frontend-trends-2026/formulas/BentoGrid.tsx +42 -0
  108. package/.agent/skills/frontend-trends-2026/formulas/LiquidCard.tsx +32 -0
  109. package/.agent/skills/frontend-trends-2026/formulas/NeoButton.tsx +27 -0
  110. package/.agent/skills/full-stack-scaffold/SKILL.md +4 -4
  111. package/.agent/skills/game-development/2d-games/SKILL.md +2 -4
  112. package/.agent/skills/game-development/3d-games/SKILL.md +2 -4
  113. package/.agent/skills/game-development/SKILL.md +149 -18
  114. package/.agent/skills/game-development/game-art/SKILL.md +2 -4
  115. package/.agent/skills/game-development/game-audio/SKILL.md +2 -4
  116. package/.agent/skills/game-development/game-design/SKILL.md +2 -4
  117. package/.agent/skills/game-development/mobile-games/SKILL.md +2 -4
  118. package/.agent/skills/game-development/multiplayer/SKILL.md +2 -4
  119. package/.agent/skills/game-development/pc-games/SKILL.md +2 -4
  120. package/.agent/skills/game-development/vr-ar/SKILL.md +2 -4
  121. package/.agent/skills/game-development/web-games/SKILL.md +2 -4
  122. package/.agent/skills/geo-fundamentals/SKILL.md +136 -9
  123. package/.agent/skills/git-collaboration-master/SKILL.md +4 -9
  124. package/.agent/skills/i18n-localization/SKILL.md +118 -10
  125. package/.agent/skills/incident-responder/SKILL.md +6 -9
  126. package/.agent/skills/legacy-modernizer/SKILL.md +4 -9
  127. package/.agent/skills/lint-and-validate/scripts/lint_runner.py +14 -2
  128. package/.agent/skills/mcp-builder/SKILL.md +164 -21
  129. package/.agent/skills/mobile-design/SKILL.md +369 -21
  130. package/.agent/skills/mobile-design/mobile-performance.md +1 -1
  131. package/.agent/skills/modern-web-architect/SKILL.md +6 -12
  132. package/.agent/skills/nextjs-react-expert/scripts/convert_rules.py +1 -1
  133. package/.agent/skills/penetration-tester-master/SKILL.md +4 -9
  134. package/.agent/skills/performance-engineer/SKILL.md +5 -4
  135. package/.agent/skills/production-code-audit/SKILL.md +0 -6
  136. package/.agent/skills/rust-pro/SKILL.md +177 -0
  137. package/.agent/skills/security-auditor/SKILL.md +27 -35
  138. package/.agent/skills/seo-expert-kit/SKILL.md +4 -9
  139. package/.agent/skills/tdd-master-workflow/SKILL.md +3 -9
  140. package/.agent/workflows/audit.md +16 -30
  141. package/.agent/workflows/brainstorm.md +96 -33
  142. package/.agent/workflows/create.md +45 -37
  143. package/.agent/workflows/debug.md +84 -45
  144. package/.agent/workflows/deep-security-audit.md +9 -0
  145. package/.agent/workflows/deploy.md +158 -33
  146. package/.agent/workflows/document.md +15 -38
  147. package/.agent/workflows/enhance.md +48 -33
  148. package/.agent/workflows/growth-max.md +9 -0
  149. package/.agent/workflows/monitor.md +14 -35
  150. package/.agent/workflows/orchestrate.md +218 -31
  151. package/.agent/workflows/performance-max.md +9 -0
  152. package/.agent/workflows/plan.md +70 -39
  153. package/.agent/workflows/security.md +14 -35
  154. package/.agent/workflows/seo.md +16 -39
  155. package/.agent/workflows/status.md +72 -33
  156. package/.agent/workflows/test.md +127 -30
  157. package/.agent/workflows/ui-ux-pro-max.md +283 -24
  158. package/.editorconfig +21 -0
  159. package/.gitattributes +7 -0
  160. package/CHANGELOG.md +32 -0
  161. package/ERRORS.md +67 -0
  162. package/{.agent/GEMINI.md → GEMINI.md} +5 -4
  163. package/LICENSE +8 -22
  164. package/README.md +72 -102
  165. package/README.vi.md +110 -90
  166. package/action.yml +32 -0
  167. package/antigravity-ide-logo.png +0 -0
  168. package/antigravity-ide-logo.svg +24 -0
  169. package/assets/skills-bundle.json +1 -0
  170. package/cli/create.js +413 -275
  171. package/cli/index.js +24 -28
  172. package/cli/lib/auto-update.js +21 -14
  173. package/cli/logic/skill-definitions.js +39 -0
  174. package/cli/manifest.js +524 -0
  175. package/cli/prompts.js +145 -151
  176. package/cli/skills/fastcode.js +181 -0
  177. package/docs/AGENTS_GUIDE.vi.md +45 -38
  178. package/docs/AGENT_FLOW.md +608 -0
  179. package/docs/CONTRIBUTING.md +46 -0
  180. package/docs/CONTRIBUTING.vi.md +3 -12
  181. package/docs/COPYRIGHT.md +57 -0
  182. package/docs/DEPLOYMENT.md +77 -0
  183. package/docs/{GEMINI_USAGE.md → GEMINI_GUIDE.md} +6 -6
  184. package/docs/GLOSSARY.md +109 -0
  185. package/docs/GLOSSARY.vi.md +30 -49
  186. package/docs/HOW_ANTIGRAVITY_THINKS.vi.md +1 -1
  187. package/docs/MASTER_GUIDE.md +103 -0
  188. package/docs/OPERATIONAL_FLOW.md +147 -0
  189. package/docs/OPERATIONAL_FLOW.vi.md +0 -15
  190. package/docs/PLAN-upgrade-core-architecture.md +71 -0
  191. package/docs/{PUBLISHING_GUIDE.md → PUBLISHING.md} +3 -31
  192. package/docs/RULES_GUIDE.vi.md +31 -67
  193. package/docs/SHARED_LIBRARY_GUIDE.vi.md +22 -18
  194. package/docs/SKILLS.md +610 -0
  195. package/docs/SKILLS_GUIDE.vi.md +32 -118
  196. package/docs/TROUBLESHOOTING.md +43 -0
  197. package/docs/TROUBLESHOOTING.vi.md +2 -10
  198. package/docs/WORKFLOW_GUIDE.vi.md +9 -57
  199. package/jest.config.js +8 -0
  200. package/package.json +8 -31
  201. package/scripts/bump.js +93 -0
  202. package/scripts/bundle-skills.js +59 -0
  203. package/scripts/internal/automation/auto-release.js +177 -0
  204. package/scripts/internal/fractalize-skills.js +89 -0
  205. package/scripts/internal/generate-skill-definitions.js +134 -0
  206. package/scripts/internal/internal/update-docs.js +115 -0
  207. package/scripts/internal/refactor-skill-content.js +127 -0
  208. package/scripts/internal/rename-skills.js +96 -0
  209. package/scripts/internal/sync-skills.js +112 -0
  210. package/scripts/internal/update-frontmatter-names.js +99 -0
  211. package/scripts/internal/verification/audit-dna.js +56 -0
  212. package/scripts/internal/verification/audit-skills.js +65 -0
  213. package/setup.js +114 -147
  214. package/web/src/app/docs/guide/examples/brainstorm/page.mdx +91 -0
  215. package/web/src/app/docs/guide/examples/create/page.mdx +84 -0
  216. package/web/src/app/docs/guide/examples/debugging/page.mdx +83 -0
  217. package/web/src/app/docs/guide/examples/deployment/page.mdx +93 -0
  218. package/web/src/app/docs/guide/examples/new-feature/page.mdx +102 -0
  219. package/web/src/app/docs/guide/examples/orchestration/page.mdx +99 -0
  220. package/web/src/app/docs/guide/examples/plan/page.mdx +76 -0
  221. package/web/src/app/docs/guide/examples/preview/page.mdx +77 -0
  222. package/web/src/app/docs/guide/examples/status/page.mdx +78 -0
  223. package/web/src/app/docs/guide/examples/test/page.mdx +80 -0
  224. package/web/src/app/docs/guide/examples/ui-design/page.mdx +90 -0
  225. package/web/src/components/mdx/Callout.tsx +60 -0
  226. package/web/src/components/mdx/FeatureGrid.tsx +38 -0
  227. package/web/src/components/mdx/ProTips.tsx +29 -0
  228. package/web/src/components/mdx/StepList.tsx +33 -0
  229. package/web/src/components/mdx/Terminal.tsx +58 -0
  230. package/web/src/components/mdx/index.ts +5 -0
  231. package/web/src/mdx-components.tsx +98 -0
  232. package/.agent/skills/brand-guidelines-anthropic/LICENSE.txt +0 -202
  233. package/.agent/skills/brand-guidelines-anthropic/SKILL.md +0 -26
  234. package/.agent/skills/brand-guidelines-anthropic/sub-skills/color-application.md +0 -5
  235. package/.agent/skills/brand-guidelines-anthropic/sub-skills/colors.md +0 -14
  236. package/.agent/skills/brand-guidelines-anthropic/sub-skills/font-management.md +0 -6
  237. package/.agent/skills/brand-guidelines-anthropic/sub-skills/shape-and-accent-colors.md +0 -7
  238. package/.agent/skills/brand-guidelines-anthropic/sub-skills/smart-font-application.md +0 -6
  239. package/.agent/skills/brand-guidelines-anthropic/sub-skills/text-styling.md +0 -6
  240. package/.agent/skills/brand-guidelines-anthropic/sub-skills/typography.md +0 -7
  241. package/.agent/skills/internal-comms-anthropic/LICENSE.txt +0 -202
  242. package/.agent/skills/internal-comms-anthropic/SKILL.md +0 -33
  243. package/.agent/skills/internal-comms-anthropic/examples/3p-updates.md +0 -47
  244. package/.agent/skills/internal-comms-anthropic/examples/company-newsletter.md +0 -65
  245. package/.agent/skills/internal-comms-anthropic/examples/faq-answers.md +0 -30
  246. package/.agent/skills/internal-comms-anthropic/examples/general-comms.md +0 -16
  247. package/.agent/skills/last30days/tests/__init__.py +0 -1
  248. package/.agent/skills/last30days/tests/test_cache.py +0 -59
  249. package/.agent/skills/last30days/tests/test_dates.py +0 -114
  250. package/.agent/skills/last30days/tests/test_dedupe.py +0 -111
  251. package/.agent/skills/last30days/tests/test_models.py +0 -135
  252. package/.agent/skills/last30days/tests/test_normalize.py +0 -138
  253. package/.agent/skills/last30days/tests/test_render.py +0 -116
  254. package/.agent/skills/last30days/tests/test_score.py +0 -168
  255. package/.agent/skills/loki-mode/.github/workflows/claude-code-review.yml +0 -57
  256. package/.agent/skills/loki-mode/.github/workflows/claude.yml +0 -50
  257. package/.agent/skills/loki-mode/.github/workflows/release.yml +0 -128
  258. package/.agent/skills/loki-mode/tests/run-all-tests.sh +0 -78
  259. package/.agent/skills/loki-mode/tests/test-agent-timeout.sh +0 -348
  260. package/.agent/skills/loki-mode/tests/test-bootstrap.sh +0 -196
  261. package/.agent/skills/loki-mode/tests/test-circuit-breaker.sh +0 -389
  262. package/.agent/skills/loki-mode/tests/test-state-recovery.sh +0 -393
  263. package/.agent/skills/loki-mode/tests/test-task-queue.sh +0 -396
  264. package/.agent/skills/loki-mode/tests/test-wrapper.sh +0 -314
  265. package/.agent/skills/shopify-development/scripts/tests/test_shopify_init.py +0 -379
  266. package/cli/logic/product-skills.js +0 -58
  267. /package/.agent/.shared/{technical/ai-master → ai-master}/best_patterns.md +0 -0
  268. /package/.agent/.shared/{technical/ai-master → ai-master}/checklists/prompt_audit.md +0 -0
  269. /package/.agent/.shared/{technical/ai-master → ai-master}/presets/model_configs.json +0 -0
  270. /package/.agent/.shared/{technical/api-standards → api-standards}/data +0 -0
  271. /package/.agent/.shared/{technical/api-standards → api-standards}/endpoints_naming.md +0 -0
  272. /package/.agent/.shared/{technical/api-standards → api-standards}/error_codes.csv +0 -0
  273. /package/.agent/.shared/{technical/api-standards → api-standards}/pagination_sorting.md +0 -0
  274. /package/.agent/.shared/{technical/api-standards → api-standards}/response_format.json +0 -0
  275. /package/.agent/.shared/{verticals/compliance → compliance}/legal_templates.md +0 -0
  276. /package/.agent/.shared/{technical/database-master → database-master}/schemas/auth_rbac.sql +0 -0
  277. /package/.agent/.shared/{technical/database-master → database-master}/schemas/cms.sql +0 -0
  278. /package/.agent/.shared/{technical/database-master → database-master}/schemas/ecommerce.sql +0 -0
  279. /package/.agent/.shared/{core/design-philosophy → design-philosophy}/MANIFESTO.md +0 -0
  280. /package/.agent/.shared/{core/design-philosophy → design-philosophy}/checklists/tactile_audit.md +0 -0
  281. /package/.agent/.shared/{core/design-philosophy → design-philosophy}/checklists/visual_audit.md +0 -0
  282. /package/.agent/.shared/{core/design-philosophy → design-philosophy}/presets/linear_glow.json +0 -0
  283. /package/.agent/.shared/{technical/design-system → design-system}/brand_presets.json +0 -0
  284. /package/.agent/.shared/{technical/design-system → design-system}/micro_interactions.md +0 -0
  285. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/edtech.md +0 -0
  286. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/fintech.md +0 -0
  287. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/fnb_restaurant.md +0 -0
  288. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/freelance_marketplace.md +0 -0
  289. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/healthcare.md +0 -0
  290. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/hospitality_tourism.md +0 -0
  291. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/logistics.md +0 -0
  292. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/marketing_automation.md +0 -0
  293. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/personal_branding.md +0 -0
  294. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/real_estate.md +0 -0
  295. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/retail_ecommerce.md +0 -0
  296. /package/.agent/.shared/{verticals/domain-blueprints → domain-blueprints}/standard-pro-agents.md +0 -0
  297. /package/.agent/.shared/{core/dx-toolkit → dx-toolkit}/checklists/code_review.md +0 -0
  298. /package/.agent/.shared/{core/dx-toolkit → dx-toolkit}/presets/vscode_settings.json +0 -0
  299. /package/.agent/.shared/{technical/i18n-master → i18n-master}/vi_tech_dictionary.csv +0 -0
  300. /package/.agent/.shared/{technical/i18n-master → i18n-master}/workflows.json +0 -0
  301. /package/.agent/.shared/{verticals/infra-blueprints → infra-blueprints}/deployment_specs.md +0 -0
  302. /package/.agent/.shared/{core/metrics → metrics}/benchmarks.json +0 -0
  303. /package/.agent/.shared/{technical/resilience-patterns → resilience-patterns}/checklists/chaos_engineering.md +0 -0
  304. /package/.agent/.shared/{technical/resilience-patterns → resilience-patterns}/presets/circuit_breaker.json +0 -0
  305. /package/.agent/.shared/{technical/security-armor → security-armor}/checklists/vuln_scan.md +0 -0
  306. /package/.agent/.shared/{technical/security-armor → security-armor}/hardening.md +0 -0
  307. /package/.agent/.shared/{technical/security-armor → security-armor}/presets/helmet_config.json +0 -0
  308. /package/.agent/.shared/{technical/seo-master → seo-master}/checklists/technical_seo.md +0 -0
  309. /package/.agent/.shared/{technical/seo-master → seo-master}/presets/json_ld_schema.json +0 -0
  310. /package/.agent/.shared/{technical/testing-master → testing-master}/checklists/pre_release.md +0 -0
  311. /package/.agent/.shared/{technical/testing-master → testing-master}/scenarios.md +0 -0
  312. /package/.agent/{skills → .shared}/ui-ux-pro-max/data/charts.csv +0 -0
  313. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/colors.csv +0 -0
  314. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/icons.csv +0 -0
  315. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/landing.csv +0 -0
  316. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/products.csv +0 -0
  317. /package/.agent/{skills → .shared}/ui-ux-pro-max/data/prompts.csv +0 -0
  318. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/react-performance.csv +0 -0
  319. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/flutter.csv +0 -0
  320. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/html-tailwind.csv +0 -0
  321. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/jetpack-compose.csv +0 -0
  322. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/nextjs.csv +0 -0
  323. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/nuxt-ui.csv +0 -0
  324. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/nuxtjs.csv +0 -0
  325. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/react-native.csv +0 -0
  326. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/react.csv +0 -0
  327. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/shadcn.csv +0 -0
  328. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/svelte.csv +0 -0
  329. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/swiftui.csv +0 -0
  330. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/stacks/vue.csv +0 -0
  331. /package/.agent/{skills → .shared}/ui-ux-pro-max/data/styles.csv +0 -0
  332. /package/.agent/{skills → .shared}/ui-ux-pro-max/data/typography.csv +0 -0
  333. /package/.agent/{skills → .shared}/ui-ux-pro-max/data/ui-reasoning.csv +0 -0
  334. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/ux-guidelines.csv +0 -0
  335. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/data/web-interface.csv +0 -0
  336. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/__pycache__/core.cpython-313.pyc +0 -0
  337. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/__pycache__/design_system.cpython-313.pyc +0 -0
  338. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/core.py +0 -0
  339. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/design_system.py +0 -0
  340. /package/.agent/.shared/{technical/ui-ux-pro-max → ui-ux-pro-max}/scripts/search.py +0 -0
  341. /package/.agent/.shared/{core/vitals-templates → vitals-templates}/audit_report.md +0 -0
  342. /package/.agent/.shared/{core/vitals-templates → vitals-templates}/plan_prd.md +0 -0
  343. /package/.agent/skills/ai-engineer/{sub-skills → resources}/ai_infra_stack.md +0 -0
  344. /package/.agent/skills/cloud-architect-master/{sub-skills → resources}/cost_optimization_checklist.md +0 -0
  345. /package/.agent/skills/cro-expert-kit/{sub-skills → resources}/psychological_triggers.md +0 -0
  346. /package/.agent/skills/database-migration/{sub-skills → resources}/zero_downtime_strategy.md +0 -0
  347. /package/.agent/skills/deployment-engineer/{sub-skills → resources}/k8s_best_practices.md +0 -0
  348. /package/.agent/skills/git-collaboration-master/{sub-skills → resources}/pr_template.md +0 -0
  349. /package/.agent/skills/incident-responder/{sub-skills → resources}/incident_severity_levels.md +0 -0
  350. /package/.agent/skills/legacy-modernizer/{sub-skills → resources}/strangler_fig_pattern.md +0 -0
  351. /package/.agent/skills/penetration-tester-master/{sub-skills → resources}/owasp_top_10_2025.md +0 -0
  352. /package/.agent/skills/production-code-audit/{sub-skills → resources}/solid_principles_cheat_sheet.md +0 -0
  353. /package/.agent/skills/seo-expert-kit/{sub-skills → resources}/technical_seo_checklist.md +0 -0
  354. /package/.agent/skills/tdd-master-workflow/{sub-skills → resources}/unit_test_naming_convention.md +0 -0
@@ -0,0 +1,53 @@
1
+ import os
2
+ import re
3
+
4
+ def update_description(file_path, new_desc):
5
+ if not os.path.exists(file_path):
6
+ return False
7
+
8
+ with open(file_path, 'r', encoding='utf-8') as f:
9
+ content = f.read()
10
+
11
+ # Update frontmatter description
12
+ pattern = r'^---\s*\ndescription:.*?\n---'
13
+ replacement = f'---\ndescription: {new_desc}\n---'
14
+
15
+ new_content = re.sub(pattern, replacement, content, count=1, flags=re.MULTILINE)
16
+
17
+ if new_content != content:
18
+ with open(file_path, 'w', encoding='utf-8') as f:
19
+ f.write(new_content)
20
+ return True
21
+ return False
22
+
23
+ # Rút gọn, súc tích, phân tách bằng dấu phẩy
24
+ translations = {
25
+ "brainstorm.md": "Lên ý tưởng, cấu trúc dự án, khám phá phương án",
26
+ "create.md": "Khởi tạo dự án mới, xây dựng nền móng, App Builder",
27
+ "debug.md": "Gỡ lỗi hệ thống, điều tra vấn đề, sửa lỗi",
28
+ "deploy.md": "Triển khai Production, kiểm tra an toàn, phát hành",
29
+ "enhance.md": "Cập nhật tính năng, phát triển lặp lại, nâng cấp app",
30
+ "orchestrate.md": "Điều phối Agent, giải quyết phức tạp, đa cấu trúc",
31
+ "plan.md": "Lập kế hoạch, phân rã tác vụ, project-planner",
32
+ "preview.md": "Quản lý server, xem trước dự án, khởi động/dừng",
33
+ "status.md": "Trạng thái dự án, tiến độ Agent, dashboard",
34
+ "test.md": "Chạy kiểm thử, tự động hóa, đảm bảo chất lượng",
35
+ "ui-ux-pro-max.md": "Thiết kế UI/UX, Premium, giao diện cao cấp"
36
+ }
37
+
38
+ paths = [
39
+ os.path.expanduser("~/.antigravity/workflows/"),
40
+ "d:/Github/google-antigravity/.agent/workflows/"
41
+ ]
42
+
43
+ for base_path in paths:
44
+ print(f"Checking path: {base_path}")
45
+ for filename, desc in translations.items():
46
+ file_path = os.path.join(base_path, filename)
47
+ if update_description(file_path, desc):
48
+ print(f"✅ Updated {filename} in {base_path}")
49
+ else:
50
+ if os.path.exists(file_path):
51
+ print(f"ℹ️ No change needed for {filename} in {base_path}")
52
+ else:
53
+ print(f"❌ File not found: {filename} in {base_path}")
@@ -0,0 +1,327 @@
1
+ #!/usr/bin/env python3
2
+ """
3
+ Full Verification Suite - Antigravity Kit
4
+ ==========================================
5
+
6
+ Runs COMPLETE validation including all checks + performance + E2E.
7
+ Use this before deployment or major releases.
8
+
9
+ Usage:
10
+ python scripts/verify_all.py . --url <URL>
11
+
12
+ Includes ALL checks:
13
+ ✅ Security Scan (OWASP, secrets, dependencies)
14
+ ✅ Lint & Type Coverage
15
+ ✅ Schema Validation
16
+ ✅ Test Suite (unit + integration)
17
+ ✅ UX Audit (psychology, accessibility)
18
+ ✅ SEO Check
19
+ ✅ Lighthouse (Core Web Vitals)
20
+ ✅ Playwright E2E
21
+ ✅ Bundle Analysis (if applicable)
22
+ ✅ Mobile Audit (if applicable)
23
+ """
24
+
25
+ import sys
26
+ import subprocess
27
+ import argparse
28
+ from pathlib import Path
29
+ from typing import List, Dict, Optional
30
+ from datetime import datetime
31
+
32
+ # ANSI colors
33
+ class Colors:
34
+ HEADER = '\033[95m'
35
+ BLUE = '\033[94m'
36
+ CYAN = '\033[96m'
37
+ GREEN = '\033[92m'
38
+ YELLOW = '\033[93m'
39
+ RED = '\033[91m'
40
+ ENDC = '\033[0m'
41
+ BOLD = '\033[1m'
42
+
43
+ def print_header(text: str):
44
+ print(f"\n{Colors.BOLD}{Colors.CYAN}{'='*70}{Colors.ENDC}")
45
+ print(f"{Colors.BOLD}{Colors.CYAN}{text.center(70)}{Colors.ENDC}")
46
+ print(f"{Colors.BOLD}{Colors.CYAN}{'='*70}{Colors.ENDC}\n")
47
+
48
+ def print_step(text: str):
49
+ print(f"{Colors.BOLD}{Colors.BLUE}🔄 {text}{Colors.ENDC}")
50
+
51
+ def print_success(text: str):
52
+ print(f"{Colors.GREEN}✅ {text}{Colors.ENDC}")
53
+
54
+ def print_warning(text: str):
55
+ print(f"{Colors.YELLOW}⚠️ {text}{Colors.ENDC}")
56
+
57
+ def print_error(text: str):
58
+ print(f"{Colors.RED}❌ {text}{Colors.ENDC}")
59
+
60
+ # Complete verification suite
61
+ VERIFICATION_SUITE = [
62
+ # P0: Security (CRITICAL)
63
+ {
64
+ "category": "Security",
65
+ "checks": [
66
+ ("Security Scan", ".agent/skills/vulnerability-scanner/scripts/security_scan.py", True),
67
+ ("Dependency Analysis", ".agent/skills/vulnerability-scanner/scripts/dependency_analyzer.py", False),
68
+ ]
69
+ },
70
+
71
+ # P1: Code Quality (CRITICAL)
72
+ {
73
+ "category": "Code Quality",
74
+ "checks": [
75
+ ("Lint Check", ".agent/skills/lint-and-validate/scripts/lint_runner.py", True),
76
+ ("Type Coverage", ".agent/skills/lint-and-validate/scripts/type_coverage.py", False),
77
+ ]
78
+ },
79
+
80
+ # P2: Data Layer
81
+ {
82
+ "category": "Data Layer",
83
+ "checks": [
84
+ ("Schema Validation", ".agent/skills/database-design/scripts/schema_validator.py", False),
85
+ ]
86
+ },
87
+
88
+ # P3: Testing
89
+ {
90
+ "category": "Testing",
91
+ "checks": [
92
+ ("Test Suite", ".agent/skills/testing-patterns/scripts/test_runner.py", False),
93
+ ]
94
+ },
95
+
96
+ # P4: UX & Accessibility
97
+ {
98
+ "category": "UX & Accessibility",
99
+ "checks": [
100
+ ("UX Audit", ".agent/skills/frontend-design/scripts/ux_audit.py", False),
101
+ ("Accessibility Check", ".agent/skills/frontend-design/scripts/accessibility_checker.py", False),
102
+ ]
103
+ },
104
+
105
+ # P5: SEO & Content
106
+ {
107
+ "category": "SEO & Content",
108
+ "checks": [
109
+ ("SEO Check", ".agent/skills/seo-fundamentals/scripts/seo_checker.py", False),
110
+ ("GEO Check", ".agent/skills/geo-fundamentals/scripts/geo_checker.py", False),
111
+ ]
112
+ },
113
+
114
+ # P6: Performance (requires URL)
115
+ {
116
+ "category": "Performance",
117
+ "requires_url": True,
118
+ "checks": [
119
+ ("Lighthouse Audit", ".agent/skills/performance-profiling/scripts/lighthouse_audit.py", True),
120
+ ("Bundle Analysis", ".agent/skills/performance-profiling/scripts/bundle_analyzer.py", False),
121
+ ]
122
+ },
123
+
124
+ # P7: E2E Testing (requires URL)
125
+ {
126
+ "category": "E2E Testing",
127
+ "requires_url": True,
128
+ "checks": [
129
+ ("Playwright E2E", ".agent/skills/webapp-testing/scripts/playwright_runner.py", False),
130
+ ]
131
+ },
132
+
133
+ # P8: Mobile (if applicable)
134
+ {
135
+ "category": "Mobile",
136
+ "checks": [
137
+ ("Mobile Audit", ".agent/skills/mobile-design/scripts/mobile_audit.py", False),
138
+ ]
139
+ },
140
+
141
+ # P9: Internationalization
142
+ {
143
+ "category": "Internationalization",
144
+ "checks": [
145
+ ("i18n Check", ".agent/skills/i18n-localization/scripts/i18n_checker.py", False),
146
+ ]
147
+ },
148
+ ]
149
+
150
+ def run_script(name: str, script_path: Path, project_path: str, url: Optional[str] = None) -> dict:
151
+ """Run validation script"""
152
+ if not script_path.exists():
153
+ print_warning(f"{name}: Script not found, skipping")
154
+ return {"name": name, "passed": True, "skipped": True, "duration": 0}
155
+
156
+ print_step(f"Running: {name}")
157
+ start_time = datetime.now()
158
+
159
+ # Build command
160
+ cmd = ["python", str(script_path), project_path]
161
+ if url and ("lighthouse" in script_path.name.lower() or "playwright" in script_path.name.lower()):
162
+ cmd.append(url)
163
+
164
+ # Run
165
+ try:
166
+ result = subprocess.run(
167
+ cmd,
168
+ capture_output=True,
169
+ text=True,
170
+ timeout=600 # 10 minute timeout for slow checks
171
+ )
172
+
173
+ duration = (datetime.now() - start_time).total_seconds()
174
+ passed = result.returncode == 0
175
+
176
+ if passed:
177
+ print_success(f"{name}: PASSED ({duration:.1f}s)")
178
+ else:
179
+ print_error(f"{name}: FAILED ({duration:.1f}s)")
180
+ if result.stderr:
181
+ print(f" {result.stderr[:300]}")
182
+
183
+ return {
184
+ "name": name,
185
+ "passed": passed,
186
+ "output": result.stdout,
187
+ "error": result.stderr,
188
+ "skipped": False,
189
+ "duration": duration
190
+ }
191
+
192
+ except subprocess.TimeoutExpired:
193
+ duration = (datetime.now() - start_time).total_seconds()
194
+ print_error(f"{name}: TIMEOUT (>{duration:.0f}s)")
195
+ return {"name": name, "passed": False, "skipped": False, "duration": duration, "error": "Timeout"}
196
+
197
+ except Exception as e:
198
+ duration = (datetime.now() - start_time).total_seconds()
199
+ print_error(f"{name}: ERROR - {str(e)}")
200
+ return {"name": name, "passed": False, "skipped": False, "duration": duration, "error": str(e)}
201
+
202
+ def print_final_report(results: List[dict], start_time: datetime):
203
+ """Print comprehensive final report"""
204
+ total_duration = (datetime.now() - start_time).total_seconds()
205
+
206
+ print_header("📊 FULL VERIFICATION REPORT")
207
+
208
+ # Statistics
209
+ total = len(results)
210
+ passed = sum(1 for r in results if r["passed"] and not r.get("skipped"))
211
+ failed = sum(1 for r in results if not r["passed"] and not r.get("skipped"))
212
+ skipped = sum(1 for r in results if r.get("skipped"))
213
+
214
+ print(f"Total Duration: {total_duration:.1f}s")
215
+ print(f"Total Checks: {total}")
216
+ print(f"{Colors.GREEN}✅ Passed: {passed}{Colors.ENDC}")
217
+ print(f"{Colors.RED}❌ Failed: {failed}{Colors.ENDC}")
218
+ print(f"{Colors.YELLOW}⏭️ Skipped: {skipped}{Colors.ENDC}")
219
+ print()
220
+
221
+ # Category breakdown
222
+ print(f"{Colors.BOLD}Results by Category:{Colors.ENDC}")
223
+ current_category = None
224
+ for r in results:
225
+ # Print category header if changed
226
+ if r.get("category") and r["category"] != current_category:
227
+ current_category = r["category"]
228
+ print(f"\n{Colors.BOLD}{Colors.CYAN}{current_category}:{Colors.ENDC}")
229
+
230
+ # Print result
231
+ if r.get("skipped"):
232
+ status = f"{Colors.YELLOW}⏭️ {Colors.ENDC}"
233
+ elif r["passed"]:
234
+ status = f"{Colors.GREEN}✅{Colors.ENDC}"
235
+ else:
236
+ status = f"{Colors.RED}❌{Colors.ENDC}"
237
+
238
+ duration_str = f"({r.get('duration', 0):.1f}s)" if not r.get("skipped") else ""
239
+ print(f" {status} {r['name']} {duration_str}")
240
+
241
+ print()
242
+
243
+ # Failed checks detail
244
+ if failed > 0:
245
+ print(f"{Colors.BOLD}{Colors.RED}❌ FAILED CHECKS:{Colors.ENDC}")
246
+ for r in results:
247
+ if not r["passed"] and not r.get("skipped"):
248
+ print(f"\n{Colors.RED}✗ {r['name']}{Colors.ENDC}")
249
+ if r.get("error"):
250
+ error_preview = r["error"][:200]
251
+ print(f" Error: {error_preview}")
252
+ print()
253
+
254
+ # Final verdict
255
+ if failed > 0:
256
+ print_error(f"VERIFICATION FAILED - {failed} check(s) need attention")
257
+ print(f"\n{Colors.YELLOW}💡 Tip: Fix critical (security, lint) issues first{Colors.ENDC}")
258
+ return False
259
+ else:
260
+ print_success("✨ ALL CHECKS PASSED - Ready for deployment! ✨")
261
+ return True
262
+
263
+ def main():
264
+ parser = argparse.ArgumentParser(
265
+ description="Run complete Antigravity Kit verification suite",
266
+ formatter_class=argparse.RawDescriptionHelpFormatter,
267
+ epilog="""
268
+ Examples:
269
+ python scripts/verify_all.py . --url http://localhost:3000
270
+ python scripts/verify_all.py . --url https://staging.example.com --no-e2e
271
+ """
272
+ )
273
+ parser.add_argument("project", help="Project path to validate")
274
+ parser.add_argument("--url", required=True, help="URL for performance & E2E checks")
275
+ parser.add_argument("--no-e2e", action="store_true", help="Skip E2E tests")
276
+ parser.add_argument("--stop-on-fail", action="store_true", help="Stop on first failure")
277
+
278
+ args = parser.parse_args()
279
+
280
+ project_path = Path(args.project).resolve()
281
+
282
+ if not project_path.exists():
283
+ print_error(f"Project path does not exist: {project_path}")
284
+ sys.exit(1)
285
+
286
+ print_header("🚀 ANTIGRAVITY KIT - FULL VERIFICATION SUITE")
287
+ print(f"Project: {project_path}")
288
+ print(f"URL: {args.url}")
289
+ print(f"Started: {datetime.now().strftime('%Y-%m-%d %H:%M:%S')}")
290
+
291
+ start_time = datetime.now()
292
+ results = []
293
+
294
+ # Run all verification categories
295
+ for suite in VERIFICATION_SUITE:
296
+ category = suite["category"]
297
+ requires_url = suite.get("requires_url", False)
298
+
299
+ # Skip if requires URL and not provided
300
+ if requires_url and not args.url:
301
+ continue
302
+
303
+ # Skip E2E if flag set
304
+ if args.no_e2e and category == "E2E Testing":
305
+ continue
306
+
307
+ print_header(f"📋 {category.upper()}")
308
+
309
+ for name, script_path, required in suite["checks"]:
310
+ script = project_path / script_path
311
+ result = run_script(name, script, str(project_path), args.url)
312
+ result["category"] = category
313
+ results.append(result)
314
+
315
+ # Stop on critical failure if flag set
316
+ if args.stop_on_fail and required and not result["passed"] and not result.get("skipped"):
317
+ print_error(f"CRITICAL: {name} failed. Stopping verification.")
318
+ print_final_report(results, start_time)
319
+ sys.exit(1)
320
+
321
+ # Print final report
322
+ all_passed = print_final_report(results, start_time)
323
+
324
+ sys.exit(0 if all_passed else 1)
325
+
326
+ if __name__ == "__main__":
327
+ main()
@@ -0,0 +1,126 @@
1
+ const fs = require('fs');
2
+ const path = require('path');
3
+ const chalk = require('chalk'); // Assuming chalk is available based on previous context, or use simple logging
4
+
5
+ const SHARED_DIR = path.join(__dirname, '../.shared');
6
+
7
+ // Simple logger fallback if chalk is not installed
8
+ const log = {
9
+ info: (msg) => console.log(msg),
10
+ success: (msg) => console.log('\x1b[32m%s\x1b[0m', '✅ ' + msg),
11
+ error: (msg) => console.log('\x1b[31m%s\x1b[0m', '❌ ' + msg),
12
+ warn: (msg) => console.log('\x1b[33m%s\x1b[0m', '⚠️ ' + msg),
13
+ header: (msg) => console.log('\n\x1b[1m\x1b[36m%s\x1b[0m', '=== ' + msg + ' ===\n'),
14
+ };
15
+
16
+ function verifyJson(filePath) {
17
+ try {
18
+ const content = fs.readFileSync(filePath, 'utf-8');
19
+ JSON.parse(content);
20
+ return true;
21
+ } catch (e) {
22
+ return false;
23
+ }
24
+ }
25
+
26
+ function verifyMarkdown(filePath) {
27
+ try {
28
+ const content = fs.readFileSync(filePath, 'utf-8');
29
+ return content.trim().length > 10; // Must have some content
30
+ } catch (e) {
31
+ return false;
32
+ }
33
+ }
34
+
35
+ function auditModule(moduleName) {
36
+ const modulePath = path.join(SHARED_DIR, moduleName);
37
+ const stats = fs.statSync(modulePath);
38
+
39
+ if (!stats.isDirectory()) return null;
40
+
41
+ log.header(`Auditing: ${moduleName}`);
42
+ let errors = 0;
43
+
44
+ // 1. Check README
45
+ const readmePath = path.join(modulePath, 'README.md');
46
+ if (fs.existsSync(readmePath)) {
47
+ if (verifyMarkdown(readmePath)) {
48
+ log.success('README.md exists and is valid');
49
+ } else {
50
+ log.error('README.md is empty');
51
+ errors++;
52
+ }
53
+ } else {
54
+ log.error('Missing README.md');
55
+ errors++;
56
+ }
57
+
58
+ // 2. Check Checklists (if dir exists)
59
+ const checklistDir = path.join(modulePath, 'checklists');
60
+ if (fs.existsSync(checklistDir)) {
61
+ const files = fs.readdirSync(checklistDir).filter(f => f.endsWith('.md'));
62
+ if (files.length > 0) {
63
+ files.forEach(f => {
64
+ if (verifyMarkdown(path.join(checklistDir, f))) {
65
+ log.success(`Checklist: ${f} valid`);
66
+ } else {
67
+ log.error(`Checklist: ${f} empty`);
68
+ errors++;
69
+ }
70
+ });
71
+ } else {
72
+ log.warn('checklists/ directory empty');
73
+ }
74
+ }
75
+
76
+ // 3. Check Presets/Data (JSON validation)
77
+ ['presets', 'data'].forEach(subDir => {
78
+ const dirPath = path.join(modulePath, subDir);
79
+ if (fs.existsSync(dirPath)) {
80
+ const files = fs.readdirSync(dirPath).filter(f => f.endsWith('.json'));
81
+ files.forEach(f => {
82
+ if (verifyJson(path.join(dirPath, f))) {
83
+ log.success(`${subDir}/${f} valid JSON`);
84
+ } else {
85
+ log.error(`${subDir}/${f} INVALID JSON`);
86
+ errors++;
87
+ }
88
+ });
89
+ }
90
+ });
91
+
92
+ return errors;
93
+ }
94
+
95
+ function main() {
96
+ if (!fs.existsSync(SHARED_DIR)) {
97
+ log.error('.shared directory not found!');
98
+ process.exit(1);
99
+ }
100
+
101
+ const modules = fs.readdirSync(SHARED_DIR);
102
+ let totalErrors = 0;
103
+
104
+ modules.forEach(mod => {
105
+ // Skip specific non-module files if any
106
+ if (mod.startsWith('.')) return;
107
+
108
+ // Only verify directories
109
+ try {
110
+ const errs = auditModule(mod);
111
+ if (errs !== null) totalErrors += errs;
112
+ } catch (e) {
113
+ // Not a directory or permission error
114
+ }
115
+ });
116
+
117
+ console.log('\n----------------------------------------');
118
+ if (totalErrors === 0) {
119
+ log.success('ALL MODULES PASSED VERIFICATION');
120
+ } else {
121
+ log.error(`FOUND ${totalErrors} ISSUES`);
122
+ process.exit(1);
123
+ }
124
+ }
125
+
126
+ main();
@@ -1,3 +1,9 @@
1
+ ---
2
+ name: agent-backend-patterns
3
+ description: Backend architecture patterns and best practices for scalable server-side applications.
4
+ ---
5
+
6
+ # Agent Backend Patterns
1
7
 
2
8
  Backend architecture patterns and best practices for scalable server-side applications.
3
9
 
@@ -8,16 +14,3 @@ Backend architecture patterns and best practices for scalable server-side applic
8
14
  ### 1. [RESTful API Structure](./sub-skills/restful-api-structure.md)
9
15
  ### 2. [Repository Pattern](./sub-skills/repository-pattern.md)
10
16
  ### 3. [Service Layer Pattern](./sub-skills/service-layer-pattern.md)
11
- ### 4. [Middleware Pattern](./sub-skills/middleware-pattern.md)
12
- ### 5. [Query Optimization](./sub-skills/query-optimization.md)
13
- ### 6. [N+1 Query Prevention](./sub-skills/n1-query-prevention.md)
14
- ### 7. [Transaction Pattern](./sub-skills/transaction-pattern.md)
15
- ### 8. [Redis Caching Layer](./sub-skills/redis-caching-layer.md)
16
- ### 9. [Cache-Aside Pattern](./sub-skills/cache-aside-pattern.md)
17
- ### 10. [Centralized Error Handler](./sub-skills/centralized-error-handler.md)
18
- ### 11. [Retry with Exponential Backoff](./sub-skills/retry-with-exponential-backoff.md)
19
- ### 12. [JWT Token Validation](./sub-skills/jwt-token-validation.md)
20
- ### 13. [Role-Based Access Control](./sub-skills/role-based-access-control.md)
21
- ### 14. [Simple In-Memory Rate Limiter](./sub-skills/simple-in-memory-rate-limiter.md)
22
- ### 15. [Simple Queue Pattern](./sub-skills/simple-queue-pattern.md)
23
- ### 16. [Structured Logging](./sub-skills/structured-logging.md)
@@ -1,9 +1,8 @@
1
1
  ---
2
2
  name: ai-engineer
3
- description: Principal AI Architect and Machine Learning Engineer.
4
- category: development
5
- version: 4.1.0-fractal
6
- layer: master-skill
3
+ description: >
4
+ MASTER AI: LLM Apps, Advanced RAG, Agents (ReAct/Plan), Prompting (CoT/Few-shot),
5
+ LangGraph, VectorDBs, RAGAS Eval. Use for ANY AI/LLM task.
7
6
  ---
8
7
 
9
8
  # 🤖 AI Engineer Master Kit
@@ -22,38 +21,31 @@ You are a **Principal AI Architect and Machine Learning Engineer**. You build au
22
21
  ---
23
22
 
24
23
  ## 1. AI System Design & Agent Architecture
25
- - **Autonomous Agents**: Implement the ReAct (Reason + Act) loop with explicit "Thought" and "Action" blocks.
26
- - **AutoGen v0.4 Patterns (Microsoft)**:
27
- - **Event-Driven Architecture**: Use Async Messaging for non-blocking agent communication.
28
- - **GroupChat**: Replace rigid hierarchies with dynamic "GroupChat" where agents speak based on "Speaker Selection Policies".
29
- - **Cross-Language**: Enable .NET and Python agents to collaborate in the same workflow.
30
- - **Memory Systems**: Short-term (Context window), Long-term (Vector stores), and Entity memory (Zettelkasten-style graph).
31
- - **Multi-Agent Orchestration**: Support Hierarchical, Sequential, and Peer-to-Peer (Collaborative) topologies.
32
- - **Tool Use**: Perfect JSON Schema definitions and 'Semantic Kernel' plugin design for recursive tool invocation.
24
+ - **Autonomous Agents**: Implement the ReAct (Reason + Act) loop.
25
+ - **Memory Systems**: Short-term (Context window), Long-term (Vector stores), and Entity memory.
26
+ - **Multi-Agent Orchestration**: Design Hierarchical, Sequential, or Collaborative workflows.
27
+ - **Tool Use**: Perfect JSON Schema definitions for high reliability in function calling.
33
28
 
34
29
  ---
35
30
 
36
31
  ## 2. Advanced Prompt Engineering
37
- - **Techniques**: Chain-of-Thought (CoT), Few-Shot, Self-Reflect (Self-Consistency).
38
- - **DSPy Optimization**: Treat prompts as optimization problems (Compiling Prompts) rather than static strings. Use "Signatures" and "Modules".
39
- - **System 2 Thinking**: For complex logic, force the model to output a verified "Thought Process" (o1-preview style) before the final answer.
40
- - **Fabric Inspired Patterns**: Use structured patterns for specific tasks: `extract_wisdom`, `summarize_paper`, `generate_strategy`.
41
- - **Control**: Use System Prompts to enforce persona, constraints, and deterministic output formats.
42
- - **Anti-Hallucination**: Force the model to "Cite sources" or use "Wait and Think" (Step-by-Step) protocols.
32
+ - **Techniques**: Chain-of-Thought (CoT), Few-Shot, Self-Reflect, and DSP (DSPy).
33
+ - **Control**: Use System Prompts to enforce persona, constraints, and output formats.
34
+ - **Anti-Hallucination**: Force the model to cite sources or use "Wait and Think" protocols.
43
35
 
44
36
  ---
45
37
 
46
38
  ## 3. Retrieval-Augmented Generation (RAG)
47
- - **Indexing**: Chunking strategies (Recursive, Semantic), Embedding models, and Meta-data filtering.
48
- - **Retrieval**: Use Hybrid Search (Semantic + Keyword) and Reranking (Cohere Rerank) for precision.
49
- - **Context Injection**: Pass relevant, ranked context into the LLM window while respecting token limits and context hierarchy.
39
+ - **Indexing**: Chunking strategies (Recursive, Semantic), Embedding models (OpenAI, HuggingFace).
40
+ - **Retrieval**: Use Hybrid Search (Semantic + Keyword) and Reranking (Cohere).
41
+ - **Generation**: Pass relevant context into the LLM window while respecting token limits.
50
42
 
51
43
  ---
52
44
 
53
45
  ## 4. LangChain, LangGraph & Orchestration
54
- - **LangGraph Expertise**: Build stateful, cyclic graphs with **State Persistence**. Logic for "Wait for Human Input" or "Retry Node" based on feedback loops.
55
- - **CrewAI & Task Delegation**: Define clear "Tasks" with "Deliverables" and assign them to specific Agent "Roles".
56
- - **Evaluators**: Use LangSmith or Phoenix to trace and debug complex agent steps and execution paths.
46
+ - **Frameworks**: Master LangChain 0.1+, LangGraph for stateful agents, and CrewAI for role-playing.
47
+ - **Flows**: Build graphs with cycles for reflection and self-correction.
48
+ - **Evaluators**: Use LangSmith or Phoenix to trace and debug agent steps.
57
49
 
58
50
  ---
59
51
 
@@ -81,8 +73,3 @@ You are a **Principal AI Architect and Machine Learning Engineer**. You build au
81
73
 
82
74
  ---
83
75
  *Merged and optimized from 10 legacy AI, LLM, and Agent engineering skills.*
84
-
85
-
86
- ## 🧠 Knowledge Modules (Fractal Skills)
87
-
88
- ### 1. [ai_infra_stack](./sub-skills/ai_infra_stack.md)
@@ -1,9 +1,9 @@
1
1
  ---
2
2
  name: api-documenter
3
- description: Master API documentation with OpenAPI 3.1.
4
- category: architecture
5
- version: 4.1.0-fractal
6
- layer: master-skill
3
+ description: >
4
+ Master API documentation with OpenAPI 3.1, AI-powered tools, and modern developer
5
+ experience practices. Create interactive docs, generate SDKs, and build
6
+ comprehensive developer portals.
7
7
  ---
8
8
 
9
9
  # 📄 API Documenter Master Kit
@@ -17,7 +17,7 @@ layer: master-skill
17
17
  | File | Description | When to Read |
18
18
  |------|-------------|--------------|
19
19
  | `project-detection.md` | Keyword matrix, project type detection | Starting new project |
20
- | `tech-stack.md` | 2025 default stack, alternatives | Choosing technologies |
20
+ | `tech-stack.md` | 2026 default stack, alternatives | Choosing technologies |
21
21
  | `agent-coordination.md` | Agent pipeline, execution order | Coordinating multi-agent work |
22
22
  | `scaffolding.md` | Directory structure, core files | Creating project structure |
23
23
  | `feature-building.md` | Feature analysis, error handling | Adding features to existing project |
@@ -1,8 +1,8 @@
1
- # Tech Stack Selection (2025)
1
+ # Tech Stack Selection (2026)
2
2
 
3
3
  > Default and alternative technology choices for web applications.
4
4
 
5
- ## Default Stack (Web App - 2025)
5
+ ## Default Stack (Web App - 2026)
6
6
 
7
7
  ```yaml
8
8
  Frontend: