@vesviet/agent-skills 5.10.0 → 5.11.0

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 (326) hide show
  1. package/INDEX.md +31 -19
  2. package/README.md +6 -18
  3. package/VERSION +1 -1
  4. package/adapters/antigravity/ANTIGRAVITY.md +40 -142
  5. package/adapters/antigravity/INDEX_TIER1.json +142 -121
  6. package/adapters/antigravity/a2a-config.template.yaml +1 -1
  7. package/adapters/antigravity/antigravity-tools.md +25 -0
  8. package/adapters/antigravity/role-skill-index.json +156 -48
  9. package/adapters/claude/CLAUDE_ADAPTER.md +3 -7
  10. package/adapters/claude/settings.template.json +11 -0
  11. package/adapters/cursor/README.md +1 -5
  12. package/adapters/cursor/hooks.template.json +1 -1
  13. package/core/contracts/README.md +0 -20
  14. package/core/contracts/schemas/compact-working-state.json +42 -1
  15. package/core/contracts/schemas/ui-component-spec.json +28 -2
  16. package/core/policies/README.md +0 -20
  17. package/core/policies/execution-sandbox.md +0 -12
  18. package/core/roles/3d-graphics-engineer.md +144 -208
  19. package/core/roles/README.md +0 -22
  20. package/core/roles/agent-coordinator.md +28 -147
  21. package/core/roles/agent-discovery-engineer.md +46 -39
  22. package/core/roles/ai-systems-engineer.md +2 -0
  23. package/core/roles/backend-developer.md +22 -117
  24. package/core/roles/cloudflare-engineer.md +1 -1
  25. package/core/roles/data-engineer.md +3 -1
  26. package/core/roles/devops-engineer.md +4 -3
  27. package/core/roles/ecommerce-engineer.md +18 -6
  28. package/core/roles/frontend-developer.md +145 -317
  29. package/core/roles/game-developer.md +2 -1
  30. package/core/roles/mobile-engineer.md +18 -204
  31. package/core/roles/product-manager.md +3 -3
  32. package/core/roles/project-manager.md +5 -5
  33. package/core/roles/references/3d-graphics-engineer-review-checklist.md +109 -109
  34. package/core/roles/references/agent-coordinator-responsibilities.md +120 -0
  35. package/core/roles/references/agent-coordinator-review-checklist.md +22 -4
  36. package/core/roles/references/agent-discovery-engineer-review-checklist.md +29 -20
  37. package/core/roles/references/backend-developer-responsibilities.md +47 -0
  38. package/core/roles/references/backend-developer-review-checklist.md +15 -0
  39. package/core/roles/references/business-analyst-responsibilities.md +2 -2
  40. package/core/roles/references/frontend-developer-responsibilities.md +14 -6
  41. package/core/roles/references/frontend-developer-review-checklist.md +13 -6
  42. package/core/roles/references/mobile-engineer-responsibilities.md +137 -0
  43. package/core/roles/references/mobile-engineer-review-checklist.md +63 -0
  44. package/core/roles/references/reviewer-review-checklist.md +54 -0
  45. package/core/roles/references/sdet-review-checklist.md +53 -0
  46. package/core/roles/references/solution-architect-responsibilities.md +134 -0
  47. package/core/roles/references/sre-review-checklist.md +81 -0
  48. package/core/roles/references/system-engineer-responsibilities.md +124 -0
  49. package/core/roles/references/technical-architect-responsibilities.md +192 -0
  50. package/core/roles/references/technical-architect-review-checklist.md +58 -0
  51. package/core/roles/references/technical-lead-review-checklist.md +65 -0
  52. package/core/roles/references/ui-ux-designer-anti-slop-standards.md +61 -35
  53. package/core/roles/references/ui-ux-designer-responsibilities.md +79 -226
  54. package/core/roles/references/ui-ux-designer-review-checklist.md +102 -116
  55. package/core/roles/researcher.md +3 -3
  56. package/core/roles/reviewer.md +2 -2
  57. package/core/roles/role-standard.md +79 -213
  58. package/core/roles/sdet.md +5 -6
  59. package/core/roles/security-engineer.md +4 -3
  60. package/core/roles/solution-architect.md +9 -130
  61. package/core/roles/sre.md +1 -0
  62. package/core/roles/system-engineer.md +15 -155
  63. package/core/roles/task-planner.md +1 -1
  64. package/core/roles/technical-architect.md +15 -245
  65. package/core/roles/technical-lead.md +1 -0
  66. package/core/roles/technical-writer.md +3 -3
  67. package/core/roles/ui-ux-designer.md +158 -303
  68. package/core/rules/README.md +0 -22
  69. package/core/skills/README.md +10 -24
  70. package/core/skills/agent/agent-delegation/SKILL.md +11 -0
  71. package/core/skills/agent/agent-graph-orchestration/SKILL.md +5 -0
  72. package/core/skills/agent/agent-memory-compaction/SKILL.md +69 -99
  73. package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +74 -115
  74. package/core/skills/agent/agent-model-routing/SKILL.md +2 -0
  75. package/core/skills/agent/agent-observability/SKILL.md +12 -6
  76. package/core/skills/agent/agent-observability/references/session-forensics-7-dimensions.md +41 -0
  77. package/core/skills/agent/agent-panel-meeting/SKILL.md +3 -3
  78. package/core/skills/agent/agent-quality-gate/SKILL.md +9 -0
  79. package/core/skills/agent/configure-agent-headers/SKILL.md +3 -0
  80. package/core/skills/agent/configure-agent-skills/SKILL.md +4 -4
  81. package/core/skills/agent/configure-oauth-metadata/SKILL.md +10 -7
  82. package/core/skills/ai/deploy-vllm-inference/SKILL.md +2 -0
  83. package/core/skills/ai/deploy-vllm-inference/examples/vllm-production-serve-config.yaml +22 -0
  84. package/core/skills/ai/deploy-vllm-inference/references/vllm-v1-paged-attention-and-kv-tiering.md +20 -0
  85. package/core/skills/backend/add-api-endpoint/SKILL.md +9 -0
  86. package/core/skills/backend/add-event-handler/SKILL.md +11 -0
  87. package/core/skills/backend/add-event-handler/examples/go-outbox-skip-locked-relay.go +97 -0
  88. package/core/skills/backend/add-event-handler/references/transactional-outbox-and-cloudevents.md +42 -0
  89. package/core/skills/backend/add-service-client/SKILL.md +2 -0
  90. package/core/skills/backend/add-service-client/examples/ts-circuit-breaker-full-jitter-client.ts +71 -0
  91. package/core/skills/backend/add-service-client/references/resilient-client-circuit-breaker-specs.md +25 -0
  92. package/core/skills/backend/build-mcp-server/SKILL.md +2 -0
  93. package/core/skills/backend/build-mcp-server/examples/ts-stateless-mcp-server-zod.ts +52 -0
  94. package/core/skills/backend/build-mcp-server/references/mcp-2026-stateless-contract-specs.md +21 -0
  95. package/core/skills/backend/design-caching-and-locking/SKILL.md +83 -0
  96. package/core/skills/backend/design-caching-and-locking/examples/redis-lua-atomic-reservation-fencing.lua +30 -0
  97. package/core/skills/backend/design-caching-and-locking/references/redis-lua-fencing-and-stampede-specs.md +25 -0
  98. package/core/skills/backend/design-caching-and-locking/scripts/verify_lua_atomicity.py +68 -0
  99. package/core/skills/backend/implement-auth/SKILL.md +9 -0
  100. package/core/skills/backend/implement-structured-outputs/SKILL.md +2 -0
  101. package/core/skills/backend/implement-structured-outputs/examples/python-pydantic-structured-output.py +65 -0
  102. package/core/skills/backend/implement-structured-outputs/references/constrained-decoding-and-double-validation.md +18 -0
  103. package/core/skills/backend/optimize-postgres/SKILL.md +9 -0
  104. package/core/skills/business/elicit-requirements/SKILL.md +1 -0
  105. package/core/skills/business/trace-requirements-impact/SKILL.md +1 -0
  106. package/core/skills/business/write-use-cases/SKILL.md +1 -0
  107. package/core/skills/commerce/handle-checkout-flow/SKILL.md +15 -65
  108. package/core/skills/commerce/integrate-payment-gateway/SKILL.md +19 -57
  109. package/core/skills/commerce/manage-order-fulfillment/SKILL.md +14 -49
  110. package/core/skills/commerce/manage-product-catalog/SKILL.md +2 -0
  111. package/core/skills/document/docx/SKILL.md +1 -0
  112. package/core/skills/document/pdf/SKILL.md +1 -0
  113. package/core/skills/document/xlsx/SKILL.md +1 -0
  114. package/core/skills/documentation/configure-llms-txt/SKILL.md +1 -0
  115. package/core/skills/documentation/write-documentation/SKILL.md +1 -0
  116. package/core/skills/documentation/write-tech-radar/SKILL.md +1 -0
  117. package/core/skills/education/create-exercises/SKILL.md +1 -0
  118. package/core/skills/education/design-learning-plan/SKILL.md +1 -0
  119. package/core/skills/education/grade-and-review/SKILL.md +1 -0
  120. package/core/skills/foundation/accessibility-review/SKILL.md +1 -0
  121. package/core/skills/foundation/ai-risk-assessment/SKILL.md +1 -0
  122. package/core/skills/foundation/combinatorial-testing/SKILL.md +1 -0
  123. package/core/skills/foundation/conduct-research/SKILL.md +1 -1
  124. package/core/skills/foundation/conduct-research/references/ai-era-source-discipline.md +1 -1
  125. package/core/skills/foundation/create-migration/SKILL.md +10 -0
  126. package/core/skills/foundation/design-review/SKILL.md +9 -10
  127. package/core/skills/foundation/design-ux-flow/SKILL.md +9 -7
  128. package/core/skills/foundation/discernment-nudge/SKILL.md +1 -0
  129. package/core/skills/foundation/hostile-component-stress-testing/SKILL.md +1 -0
  130. package/core/skills/foundation/incident-report/SKILL.md +1 -0
  131. package/core/skills/foundation/plan-technical-delivery/SKILL.md +1 -0
  132. package/core/skills/foundation/playwright-evidence-qa/SKILL.md +1 -0
  133. package/core/skills/foundation/refactor-legacy-code/SKILL.md +84 -0
  134. package/core/skills/foundation/refactor-legacy-code/examples/characterization-test-seam-extraction.py +34 -0
  135. package/core/skills/foundation/refactor-legacy-code/references/strangler-fig-seams-and-characterization-tests.md +17 -0
  136. package/core/skills/foundation/refactor-legacy-code/scripts/check_refactor_blast_radius.py +63 -0
  137. package/core/skills/foundation/release-notes/SKILL.md +1 -0
  138. package/core/skills/foundation/systematic-debugging/SKILL.md +10 -0
  139. package/core/skills/foundation/webapp-server-runner/SKILL.md +1 -0
  140. package/core/skills/foundation/write-product-brief/SKILL.md +1 -0
  141. package/core/skills/foundation/write-tests/SKILL.md +9 -0
  142. package/core/skills/frontend/add-page-route/SKILL.md +7 -7
  143. package/core/skills/frontend/add-ui-component/SKILL.md +1 -0
  144. package/core/skills/frontend/add-ui-component/references/react19-component-standards-and-anti-slop.md +2 -2
  145. package/core/skills/frontend/component-composition/SKILL.md +10 -0
  146. package/core/skills/frontend/design-md-specification/SKILL.md +5 -0
  147. package/core/skills/frontend/design-system-engineering/SKILL.md +4 -2
  148. package/core/skills/frontend/frontend-micro-polish/SKILL.md +1 -0
  149. package/core/skills/frontend/frontend-testing/SKILL.md +1 -0
  150. package/core/skills/frontend/implement-ai-disclosure/SKILL.md +25 -24
  151. package/core/skills/frontend/implement-view-transitions/SKILL.md +1 -0
  152. package/core/skills/frontend/implement-webmcp/SKILL.md +4 -3
  153. package/core/skills/frontend/integrate-api-client/SKILL.md +9 -11
  154. package/core/skills/frontend/interactive-component-workbench/SKILL.md +1 -0
  155. package/core/skills/frontend/motion-performance-engineering/SKILL.md +1 -0
  156. package/core/skills/frontend/setup-design-system/SKILL.md +3 -2
  157. package/core/skills/frontend/setup-visual-regression/SKILL.md +5 -4
  158. package/core/skills/frontend/ui-ux-designer-anti-slop-standards.md +64 -42
  159. package/core/skills/frontend/web-quality-audit/SKILL.md +1 -0
  160. package/core/skills/gamedev/render-webgl-threejs/SKILL.md +12 -10
  161. package/core/skills/gamedev/render-webgl-threejs/references/webgpu-threejs-pbr-pipeline.md +21 -5
  162. package/core/skills/legal-compliance/audit-ai-compliance/SKILL.md +1 -0
  163. package/core/skills/legal-compliance/draft-legal-opinion/SKILL.md +1 -0
  164. package/core/skills/legal-compliance/manage-vietnam-legal/SKILL.md +1 -0
  165. package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +1 -0
  166. package/core/skills/meetings-analysis/analyze-data/SKILL.md +1 -0
  167. package/core/skills/meetings-analysis/meeting-review/SKILL.md +1 -0
  168. package/core/skills/mmo/deploy-mmo-infrastructure/SKILL.md +1 -0
  169. package/core/skills/mmo/deploy-proxyware-fleet/SKILL.md +1 -0
  170. package/core/skills/mobile/deploy-mobile-app/SKILL.md +1 -0
  171. package/core/skills/mobile/develop-mobile-app/SKILL.md +1 -0
  172. package/core/skills/platform/agents-sdk/SKILL.md +1 -0
  173. package/core/skills/platform/cloudflare-email-service/SKILL.md +2 -2
  174. package/core/skills/platform/configure-ci-cd-pipeline/SKILL.md +83 -0
  175. package/core/skills/platform/configure-ci-cd-pipeline/examples/hardened-ci-matrix-workflow.yml +33 -0
  176. package/core/skills/platform/configure-ci-cd-pipeline/references/github-actions-sha-pinning-and-slsa-specs.md +22 -0
  177. package/core/skills/platform/configure-ci-cd-pipeline/scripts/audit_workflow_pinning.py +74 -0
  178. package/core/skills/platform/debug-runtime-platform/SKILL.md +1 -2
  179. package/core/skills/platform/debug-workers-edge/SKILL.md +2 -2
  180. package/core/skills/platform/durable-objects/SKILL.md +1 -0
  181. package/core/skills/platform/orchestrate-chaos-experiment/SKILL.md +1 -0
  182. package/core/skills/platform/sandbox-sdk/SKILL.md +1 -0
  183. package/core/skills/platform/setup-deployment/SKILL.md +2 -2
  184. package/core/skills/platform/setup-gpu-finops/SKILL.md +2 -0
  185. package/core/skills/platform/setup-gpu-finops/examples/gpu-finops-prometheus-rules.yaml +23 -0
  186. package/core/skills/platform/setup-gpu-finops/references/dcgm-kubecost-gpu-attribution-specs.md +16 -0
  187. package/core/skills/platform/setup-llm-gateway/SKILL.md +2 -0
  188. package/core/skills/platform/setup-llm-gateway/examples/litellm-gateway-config.yaml +28 -0
  189. package/core/skills/platform/setup-llm-gateway/references/litellm-routing-budget-failover-specs.md +16 -0
  190. package/core/skills/platform/supply-chain-security/SKILL.md +1 -2
  191. package/core/skills/platform/turnstile-spin/SKILL.md +2 -2
  192. package/core/skills/platform/web-perf/SKILL.md +2 -2
  193. package/core/skills/platform/workers-best-practices/SKILL.md +1 -0
  194. package/core/skills/platform/wrangler/SKILL.md +1 -0
  195. package/core/skills/product/build-story-map/SKILL.md +1 -0
  196. package/core/skills/product/define-product-strategy/SKILL.md +1 -0
  197. package/core/skills/product/model-saas-metrics/SKILL.md +1 -0
  198. package/core/skills/product/prioritize-roadmap/SKILL.md +1 -0
  199. package/core/skills/repo-ops/commit-code/SKILL.md +1 -0
  200. package/core/skills/repo-ops/navigate-service/SKILL.md +28 -132
  201. package/core/skills/repo-ops/navigate-service/examples/service-boundary-map-example.md +14 -0
  202. package/core/skills/repo-ops/navigate-service/references/service-topology-mapping-guide.md +18 -0
  203. package/core/skills/repo-ops/review-code/SKILL.md +10 -0
  204. package/core/skills/repo-ops/review-service/SKILL.md +3 -0
  205. package/core/skills/repo-ops/review-service/examples/service-release-audit-report.md +21 -0
  206. package/core/skills/repo-ops/review-service/references/release-readiness-audit-rubric.md +21 -0
  207. package/core/skills/repo-ops/troubleshoot-service/SKILL.md +1 -0
  208. package/core/skills/security-data/manage-vietnam-accounting/SKILL.md +1 -0
  209. package/core/skills/security-data/reverse-engineer-binary/SKILL.md +1 -0
  210. package/core/skills/security-data/skill-preflight-ast-check/SKILL.md +1 -0
  211. package/core/skills/seo/audit-technical-seo/SKILL.md +1 -0
  212. package/core/skills/seo/implement-schema-markup/SKILL.md +1 -0
  213. package/core/workflows/README.md +0 -20
  214. package/overlays/README.md +2 -22
  215. package/overlays/astro-cloudflare/README.md +0 -20
  216. package/overlays/astro-cloudflare/rules/astro-cloudflare-conventions.md +0 -31
  217. package/overlays/b2b-catalog-golf/README.md +0 -20
  218. package/overlays/b2b-catalog-golf/rules/golf-project-rules.md +0 -31
  219. package/overlays/b2b-catalog-golf/skills/develop-b2b-golf-feature/SKILL.md +1 -0
  220. package/overlays/b2b-factory-catalog/README.md +0 -20
  221. package/overlays/b2b-factory-catalog/rules/icm-project-rules.md +0 -31
  222. package/overlays/b2b-factory-catalog/skills/develop-b2b-catalog-feature/SKILL.md +1 -0
  223. package/overlays/b2b-sport-catalog/README.md +0 -20
  224. package/overlays/b2b-sport-catalog/rules/sport-project-rules.md +0 -31
  225. package/overlays/cad-projection/README.md +0 -20
  226. package/overlays/cad-projection/rules/cad-conventions.md +0 -20
  227. package/overlays/cad-projection/skills/isometric-svg-projection/SKILL.md +1 -0
  228. package/overlays/data-analyst-stack/README.md +0 -20
  229. package/overlays/data-analyst-stack/rules/metric-dashboard-templates.md +0 -31
  230. package/overlays/data-analyst-stack/rules/stack-conventions.md +0 -31
  231. package/overlays/data-warehouse/README.md +0 -22
  232. package/overlays/data-warehouse/learning/learning-conventions.md +0 -31
  233. package/overlays/data-warehouse/learning/phase-roadmap.md +0 -31
  234. package/overlays/data-warehouse/rules/amis-accounting-standards.md +0 -33
  235. package/overlays/data-warehouse/rules/duckdb-concurrency.md +0 -37
  236. package/overlays/data-warehouse/rules/pii-scrubbing.md +0 -37
  237. package/overlays/data-warehouse/rules/stocktake-tolerance.md +0 -33
  238. package/overlays/ecommerce-microservices/README.md +22 -35
  239. package/overlays/ecommerce-microservices/config/README.md +3 -1
  240. package/overlays/ecommerce-microservices/rules/README.md +2 -1
  241. package/overlays/ecommerce-microservices/rules/microservices-conventions.md +30 -0
  242. package/overlays/ecommerce-microservices/skills/README.md +1 -1
  243. package/overlays/ecommerce-microservices/workflows/README.md +3 -1
  244. package/overlays/fintech-compliance/README.md +0 -20
  245. package/overlays/fintech-compliance/rules/credit-scorecard-rules.md +0 -20
  246. package/overlays/fintech-compliance/skills/build-credit-scorecard/SKILL.md +1 -0
  247. package/overlays/go-microservices/README.md +1 -21
  248. package/overlays/go-microservices/rules/go-conventions.md +0 -31
  249. package/overlays/hugo-authority-content/README.md +0 -20
  250. package/overlays/hugo-authority-content/roles/README.md +0 -20
  251. package/overlays/hugo-authority-content/rules/content-brand.md +0 -30
  252. package/overlays/hugo-authority-content/rules/link-topology.md +0 -30
  253. package/overlays/hugo-authority-content/rules/seo-authority.md +0 -30
  254. package/overlays/hugo-authority-content/rules/technical-article-2027.md +0 -30
  255. package/overlays/hugo-authority-content/skills/audit-technical-article/SKILL.md +1 -0
  256. package/overlays/hugo-authority-content/skills/write-hugo-twin-content/SKILL.md +1 -0
  257. package/overlays/hugo-authority-content/workflows/README.md +0 -20
  258. package/overlays/hvac-authority-content/README.md +0 -20
  259. package/overlays/hvac-authority-content/config/collections.md +0 -22
  260. package/overlays/hvac-authority-content/rules/content-schema.md +0 -30
  261. package/overlays/hvac-authority-content/rules/hvac-engineering-standards.md +0 -30
  262. package/overlays/hvac-authority-content/rules/silo-linking.md +0 -30
  263. package/overlays/hvac-authority-content/skills/write-hvac-authority-content/SKILL.md +1 -0
  264. package/overlays/hvac-authority-content/workflows/publish-hvac-content.md +0 -22
  265. package/overlays/laravel-ecommerce/README.md +0 -20
  266. package/overlays/laravel-ecommerce/rules/elomus-design-system.md +0 -31
  267. package/overlays/laravel-ecommerce/rules/laravel-ecommerce-rules.md +0 -31
  268. package/overlays/laravel-ecommerce/skills/develop-laravel-ecommerce-feature/SKILL.md +1 -0
  269. package/overlays/laravel-filament/README.md +0 -20
  270. package/overlays/laravel-filament/rules/laravel-conventions.md +0 -31
  271. package/overlays/laravel-filament/skills/develop-laravel-feature/SKILL.md +1 -0
  272. package/overlays/livestream-web/README.md +0 -20
  273. package/overlays/livestream-web/rules/livestream-web-ux-conventions.md +0 -31
  274. package/overlays/obj-configurator/README.md +0 -20
  275. package/overlays/obj-configurator/rules/obj-project-rules.md +0 -31
  276. package/overlays/obj-configurator/skills/develop-obj-feature/SKILL.md +1 -0
  277. package/overlays/r3f-stack/README.md +0 -20
  278. package/overlays/r3f-stack/rules/stub.md +0 -31
  279. package/overlays/r3f-stack/skills/debug-3d-scene/SKILL.md +4 -2
  280. package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/SKILL.md +6 -5
  281. package/overlays/r3f-stack/skills/optimize-3d-assets/SKILL.md +4 -3
  282. package/overlays/real-estate-content/README.md +0 -20
  283. package/overlays/real-estate-content/roles/README.md +0 -20
  284. package/overlays/real-estate-content/rules/affiliate-links.md +0 -31
  285. package/overlays/real-estate-content/rules/content-schema.md +0 -31
  286. package/overlays/real-estate-content/rules/seo-baseline.md +0 -31
  287. package/overlays/real-estate-content/skills/write-real-estate-astro-data/SKILL.md +1 -0
  288. package/overlays/real-estate-content/workflows/README.md +0 -20
  289. package/overlays/security-research/README.md +0 -20
  290. package/overlays/security-research/rules/reverse-engineering-rules.md +0 -20
  291. package/overlays/seo-publishing/README.md +1 -21
  292. package/overlays/seo-publishing/rules/publish-log-conventions.md +0 -31
  293. package/overlays/seo-publishing/rules/publishing-cadence.md +0 -31
  294. package/overlays/seo-publishing/rules/site-mix-and-cannibalization.md +0 -31
  295. package/overlays/seo-publishing/rules/topic-board-template.md +0 -31
  296. package/overlays/ui-design-system/README.md +0 -20
  297. package/overlays/ui-design-system/rules/handoff-conventions.md +0 -31
  298. package/package.json +2 -2
  299. package/packs/README.md +3 -9
  300. package/packs/ecommerce-team/manifest.yaml +1 -1
  301. package/core/skills/commerce/2026_STANDARDS_SUMMARY.md +0 -316
  302. package/core/skills/commerce/handle-checkout-flow/UPGRADE_PLAN_2026.md +0 -99
  303. package/core/skills/commerce/integrate-payment-gateway/UPGRADE_PLAN_2026.md +0 -128
  304. package/core/skills/commerce/manage-order-fulfillment/UPGRADE_PLAN_2026.md +0 -136
  305. package/core/skills/commerce/manage-product-catalog/UPGRADE_PLAN_2026.md +0 -130
  306. package/core/skills/education/2026_STANDARDS_SUMMARY.md +0 -290
  307. package/core/skills/education/create-exercises/UPGRADE_PLAN_2026.md +0 -115
  308. package/core/skills/education/design-learning-plan/UPGRADE_PLAN_2026.md +0 -140
  309. package/core/skills/education/grade-and-review/UPGRADE_PLAN_2026.md +0 -141
  310. package/core/skills/frontend/2026_STANDARDS_SUMMARY.md +0 -345
  311. package/core/skills/frontend/add-page-route/UPGRADE_PLAN_2026.md +0 -102
  312. package/core/skills/frontend/add-ui-component/UPGRADE_PLAN_2026.md +0 -114
  313. package/core/skills/frontend/component-composition/UPGRADE_PLAN_2026.md +0 -103
  314. package/core/skills/frontend/frontend-testing/UPGRADE_PLAN_2026.md +0 -137
  315. package/core/skills/frontend/implement-view-transitions/UPGRADE_PLAN_2026.md +0 -118
  316. package/core/skills/frontend/implement-webmcp/UPGRADE_PLAN_2026.md +0 -108
  317. package/core/skills/frontend/integrate-api-client/UPGRADE_PLAN_2026.md +0 -118
  318. package/core/skills/frontend/setup-design-system/UPGRADE_PLAN_2026.md +0 -123
  319. package/core/skills/frontend/setup-visual-regression/UPGRADE_PLAN_2026.md +0 -121
  320. package/core/skills/meetings-analysis/2026_STANDARDS_SUMMARY.md +0 -236
  321. package/core/skills/meetings-analysis/analyze-business-requirements/UPGRADE_PLAN_2026.md +0 -97
  322. package/core/skills/meetings-analysis/analyze-data/UPGRADE_PLAN_2026.md +0 -143
  323. package/core/skills/meetings-analysis/meeting-review/UPGRADE_PLAN_2026.md +0 -125
  324. package/core/skills/mobile/2026_STANDARDS_SUMMARY.md +0 -209
  325. package/core/skills/mobile/deploy-mobile-app/UPGRADE_PLAN_2026.md +0 -122
  326. package/core/skills/mobile/develop-mobile-app/UPGRADE_PLAN_2026.md +0 -141
@@ -1,118 +0,0 @@
1
- # integrate-api-client — 2026 Upgrade Plan
2
-
3
- ## Summary of 2026 Standards Changes
4
-
5
- ### OpenAPI Codegen Pipeline (2026)
6
- - **Orval as standard**: Automatically converts OpenAPI specs → TanStack Query v5 queries, MSW v2 mocks, TypeScript types
7
- - **`queryOptions` factories**: Reusable, type-safe query configurations across components
8
- - **MSW mocks auto-updated**: In test and dev environments when schemas change
9
- - **Generated types as source of truth**: No manual type definitions for API contracts
10
-
11
- ### React 19 Data Fetching (2026)
12
- - **`use()` hook for RSC**: Read promises directly in Server-rendered components; facilitates RSC streaming and lazy data resolution
13
- - **TanStack Query for client-side**: Interactive operations requiring cache invalidation, background refetching, request deduplication
14
- - **Avoid nesting client query hooks**: When RSC streaming resolves initial page load data
15
- - **Server Components + TanStack Query hybrid**: RSC for initial data, TanStack Query for interactivity
16
-
17
- ### React 19 Mutations (2026)
18
- - **`useActionState` for forms**: Straightforward form actions and state updates with pending state, error handling
19
- - **`useMutation` (TanStack Query) for complex**: Advanced cache manipulation, pagination updates, optimistic UI
20
- - **Validation error binding**: Action errors correctly bound back to UI inputs
21
-
22
- ### Streaming AI Responses (2026)
23
- - **`ReadableStream` + `TextDecoderStream`**: Parse chunked responses token-by-token
24
- - **`useReducer` pattern**: Avoid unnecessary re-renders during rapid stream updates
25
- - **Cancellation hooks**: Allow users to abort active stream requests
26
-
27
- ### TanStack Query v5 Patterns (2026)
28
- - **Centralized `queryOptions` factories**: Scattered magic string query keys are anti-pattern
29
- - **Optimistic mutations full lifecycle**: `onMutate` (cancel + snapshot + update), `onError` (rollback), `onSettled` (invalidate) — no rollback handlers = prohibited
30
- - **Functional updater syntax**: `setQueryData((old) => ...)` to prevent stale state captures
31
- - **Server state in query cache only**: Never duplicate in local `useState`
32
-
33
- ---
34
-
35
- ## Required Skill Upgrades
36
-
37
- ### 1. Core Rules Updates
38
- | Current Rule | 2026 Upgrade |
39
- |--------------|--------------|
40
- | OpenAPI codegen mentioned | **Orval pipeline mandatory**: OpenAPI → TanStack Query v5 + MSW v2 + TS types; `queryOptions` factories |
41
- | React 19 `use()` mentioned | **`use()` for RSC streaming**: Read promises in Server Components; TanStack Query for client interactivity |
42
- | React 19 `useActionState` mentioned | **`useActionState` for forms**: Pending state, error handling, progressive enhancement |
43
- | `useMutation` for complex | **`useMutation` only for complex**: Cache manipulation, pagination, optimistic UI; simple forms → `useActionState` |
44
- | Streaming AI responses | **`ReadableStream` + `useReducer`**: Token-by-token updates, cancellation hooks |
45
- | TanStack Query v5 `queryOptions` | **Centralized factories mandatory**: No scattered magic string keys |
46
-
47
- ### 2. New 2026 Patterns to Add
48
- - **Orval Configuration**: OpenAPI spec → TanStack Query v5 hooks + MSW v2 handlers + TS types in single pipeline
49
- - **`queryOptions` Factory Pattern**: Reusable query configs with `queryKey`, `queryFn`, `staleTime`, `gcTime`
50
- - **RSC + TanStack Query Hybrid**: Server Components for initial data (`use()`), client components for interactivity
51
- - **React 19 `useActionState` Form Pattern**: `<form action={submitAction}>`, automatic reset, progressive enhancement
52
- - **Streaming Response Handler**: `ReadableStream` → `TextDecoderStream` → `useReducer` for token-by-token UI
53
- - **Cancellation Infrastructure**: `AbortController` integration for stream cancellation
54
- - **Optimistic Mutation Guard**: Lint rule requiring `onError` rollback for every `useMutation`
55
-
56
- ### 3. Checklist Additions
57
- - [ ] Orval configured for OpenAPI → TanStack Query v5 + MSW v2 + TS types
58
- - [ ] `queryOptions` factories used for all query configurations (no magic string keys)
59
- - [ ] React 19 `use()` used in Server Components for initial data fetching
60
- - [ ] TanStack Query v5 used for client-side interactivity (cache invalidation, refetching, deduplication)
61
- - [ ] Simple form mutations use `useActionState` with `<form action={submitAction}>`
62
- - [ ] Complex mutations use `useMutation` with full optimistic lifecycle (`onMutate`/`onError`/`onSettled`)
63
- - [ ] Functional updater syntax: `setQueryData((old) => ...)` — no stale captures
64
- - [ ] Server state stays in query cache; no `useState` duplication
65
- - [ ] Streaming AI responses: `ReadableStream` + `TextDecoderStream` + `useReducer`
66
- - [ ] Cancellation hooks for active streams (`AbortController`)
67
- - [ ] Validation errors from actions bound to UI inputs
68
- - [ ] MSW v2 mocks auto-generated and updated with Orval pipeline
69
- - [ ] Idempotency keys on every non-idempotent mutation (POST/DELETE)
70
- - [ ] Explicit error code handling (4xx vs 5xx differentiated)
71
- - [ ] `implementation-result.json` emitted
72
-
73
- ### 4. Failure Mode Additions
74
- - **Orval spec drift**: OpenAPI spec changes but generated code not updated. Mitigation: CI step running Orval; fail if generated code differs from committed.
75
- - **RSC/TanStack Query boundary confusion**: Client query hooks nested in Server Components. Mitigation: Lint rule banning `useQuery` in `"use client"` components that are RSC children; use `use()` in RSC.
76
- - **`useActionState` for complex mutations**: Simple form hook used for paginated cache updates. Mitigation: Lint rule: `useActionState` only for forms; `useMutation` for cache manipulation.
77
- - **Streaming re-render storm**: `useState` updated per token. Mitigation: `useReducer` pattern; batch updates; `React.startTransition` for non-urgent.
78
- - **Missing cancellation**: User cannot abort slow AI stream. Mitigation: `AbortController` wired to cancel button; cleanup on unmount.
79
- - **Stale state capture**: `setQueryData(newData)` captures stale closure. Mitigation: Functional updater `setQueryData((old) => ...)` mandatory.
80
- - **MSW mock divergence**: Mocks not updated with schema changes. Mitigation: Orval generates MSW handlers; CI verifies mocks match spec.
81
-
82
- ### 5. Output Contract Updates
83
- - Update `contracts/schemas/implementation-result.json` with: Orval config, `queryOptions` factories, RSC/Client boundary, streaming handler, cancellation infrastructure
84
-
85
- ---
86
-
87
- ## Implementation Priority
88
-
89
- | Priority | Task | Effort |
90
- |----------|------|--------|
91
- | P0 | Orval pipeline: OpenAPI → TanStack Query v5 + MSW v2 + TS types | High |
92
- | P0 | Centralized `queryOptions` factories (no magic string keys) | High |
93
- | P0 | React 19 `use()` in RSC for initial data | High |
94
- | P0 | `useActionState` for forms + `useMutation` for complex | High |
95
- | P0 | Streaming AI responses: `ReadableStream` + `useReducer` + cancellation | High |
96
- | P1 | Functional updater syntax enforcement (`setQueryData((old) => ...)`) | Medium |
97
- | P1 | Optimistic mutation full lifecycle guard (lint rule) | Medium |
98
- | P1 | RSC + TanStack Query hybrid pattern documentation | Medium |
99
- | P2 | Idempotency keys on non-idempotent mutations | Low |
100
- | P2 | Explicit error code handling (4xx vs 5xx) | Low |
101
- | P2 | Expanded failure modes | Low |
102
- | P2 | Output contract updates | Low |
103
-
104
- ---
105
-
106
- ## Validation Gates
107
- - Run `python3 core/scripts/validate-all.py` from agent-skills root
108
- - Verify INDEX.md regeneration if VERSION bumped
109
- - Check adapter parity with `validate-rules.py` (9 parity groups)
110
- - Test Orval generates identical code on CI (fail on drift)
111
- - Verify `queryOptions` factories used (grep for magic string query keys)
112
- - Test React 19 `use()` in Server Component with streaming data
113
- - Test `useActionState` form with Server Function (progressive enhancement)
114
- - Test streaming AI response with `useReducer` — no re-render storm
115
- - Test cancellation via `AbortController` on active stream
116
- - Verify functional updater syntax (no stale captures)
117
- - Test MSW v2 mocks match OpenAPI spec
118
- - Verify idempotency keys on POST/DELETE mutations
@@ -1,123 +0,0 @@
1
- # setup-design-system — 2026 Upgrade Plan
2
-
3
- ## Summary of 2026 Standards Changes
4
-
5
- ### Tailwind v4 CSS-First Configuration (2026)
6
- - **`@theme` in CSS entrypoints**: Define all design tokens inside `@theme` — do NOT maintain `tailwind.config.js`
7
- - **OKLCH perceptual color space**: Unified color palette with uniform contrast and predictable lightness across light/dark modes
8
- - **CSS variable mapping for dark mode**: FORBID manual `dark:bg-*` / `dark:text-*` overrides; dark mode exclusively through `:root` and `.dark` CSS variable mapping
9
-
10
- ### W3C DTCG Token Format (2026)
11
- - **Design Token Community Group format**: `{ "$value": ..., "$type": ... }` JSON for interoperability
12
- - **Figma Variables + Style Dictionary + AI tools**: Token portability across design/engineering/AI
13
- - **Functional naming**: `primary-500`, `text-foreground`, `border-border` — NOT `light-blue`, `#...` hex values
14
-
15
- ### GenUI Governance (2026)
16
- - **AI component token conformance**: Verify (a) consumes design tokens, (b) forwards refs correctly, (c) includes required ARIA, (d) no duplicate class patterns
17
- - **Automated axe-devtools scan**: Color contrast, screen reader labels, keyboard navigation
18
- - **CSS pollution prevention**: Strip custom/inline/non-repo CSS files and rules
19
- - **Peer review mandatory**: All AI-generated components reviewed for code style and safety
20
- - **Treat as untrusted**: Every AI-generated component untrusted until passes conformance, a11y, visual regression
21
-
22
- ### Accessibility Integration (2026)
23
- - **WCAG AA contrast check**: 4.5:1 text, 3:1 UI controls — before finalizing any token palette
24
- - **Storybook 8+ with `a11y` + `chromatic` addons**: Mandatory CI gates
25
- - **Primitives support accessibility by default**: ARIA attributes, semantic HTML, high contrast tokens
26
-
27
- ### Component Architecture (2026)
28
- - **shadcn/ui v2 model**: Own component source under `src/components/ui/` — avoid black-box NPM bundles
29
- - **`cn()` utility**: `clsx` + `tailwind-merge` on all component root elements
30
- - **React 19 form actions**: `useActionState` for standard mutations
31
- - **Headless UI libraries**: Radix UI, Headless UI for complex accessibility patterns
32
-
33
- ---
34
-
35
- ## Required Skill Upgrades
36
-
37
- ### 1. Core Rules Updates
38
- | Current Rule | 2026 Upgrade |
39
- |--------------|--------------|
40
- | Tailwind config mentioned | **Tailwind v4 `@theme` in CSS mandatory**: No `tailwind.config.js`; all tokens in CSS entrypoints |
41
- | OKLCH mentioned | **OKLCH perceptual color space mandatory**: Uniform contrast, predictable lightness light/dark |
42
- | Dark mode CSS variables | **Manual `dark:` overrides FORBIDDEN**: Dark mode exclusively via `:root` / `.dark` CSS variable mapping |
43
- | DTCG format mentioned | **W3C DTCG format mandatory**: `{ "$value": ..., "$type": ... }` for Figma/Style Dictionary/AI interop |
44
- | GenUI governance basic | **Full AI governance pipeline**: Token conformance + axe-devtools + CSS strip + peer review + visual regression |
45
- | Storybook mentioned | **Storybook 8+ with `a11y` + `chromatic` mandatory CI gates** |
46
- | shadcn model mentioned | **shadcn/ui v2 model**: Own source under `src/components/ui/`; no black-box NPM bundles |
47
- | WCAG contrast | **WCAG AA check before token finalization**: 4.5:1 text, 3:1 UI controls |
48
-
49
- ### 2. New 2026 Patterns to Add
50
- - **Tailwind v4 `@theme` Migration**: Move all tokens from `tailwind.config.js` to CSS `@theme` directive
51
- - **OKLCH Palette Generation**: Brand guidelines → OKLCH tokens with uniform contrast ratios
52
- - **CSS Variable Dark Mode**: `:root` + `.dark` mapping; remove all `dark:` utility overrides from components
53
- - **DTCG Export Pipeline**: Tokens → DTCG JSON → Figma Variables / Style Dictionary / AI tools
54
- - **GenUI CI Pipeline**: Token conformance lint → axe-devtools scan → CSS pollution check → Chromatic baseline → peer review
55
- - **Storybook 8+ Configuration**: `a11y` addon, `chromatic` with TurboSnap, CI gate on visual regression
56
- - **shadcn/ui v2 Component Structure**: `src/components/ui/` ownership; `cn()` utility; Radix/Headless UI primitives
57
- - **Semantic Token Layer Enforcement**: Lint rule banning raw hex/color names in components; require semantic aliases
58
-
59
- ### 3. Checklist Additions
60
- - [ ] Design tokens (colors, spacing, typography) defined in CSS `@theme` (Tailwind v4) or DTCG JSON
61
- - [ ] Token naming convention functional (`primary-500`, `text-foreground`) — not implementation-specific (`light-blue`)
62
- - [ ] OKLCH perceptual color space used for palette; uniform contrast verified
63
- - [ ] Dark mode exclusively via `:root` / `.dark` CSS variable mapping; zero `dark:` utility overrides in components
64
- - [ ] Styling framework configured to use centralized design tokens
65
- - [ ] Global resets and base styles applied
66
- - [ ] Foundational UI primitives built consuming token system (`src/components/ui/`)
67
- - [ ] Primitives support standard accessibility (ARIA, refs, props spread, Radix/Headless UI)
68
- - [ ] `cn()` utility (`clsx` + `tailwind-merge`) on all component root elements
69
- - [ ] Linting rules enforce token usage: `eslint-plugin-tailwindcss`, Stylelint, `@design-tokens/eslint-plugin`
70
- - [ ] WCAG contrast check passes for ALL color token pairs (4.5:1 text, 3:1 UI controls)
71
- - [ ] Storybook 8+ initialized with `a11y` addon; all primitive states documented
72
- - [ ] Chromatic/TurboSnap configured for visual regression baseline (CI gate)
73
- - [ ] GenUI governance: AI component token conformance + axe-devtools + CSS strip + peer review + visual baseline
74
- - [ ] W3C DTCG format exported for Figma Variables / Style Dictionary / AI tool interop
75
- - [ ] Token format declared in `implementation-result.json` (CSS variables / Tailwind / DTCG JSON / styled-components)
76
- - [ ] `implementation-result.json` emitted with validation run confirming token conformance, a11y, visual regression
77
-
78
- ### 4. Failure Mode Additions
79
- - **Tailwind v4 migration incomplete**: `tailwind.config.js` still referenced. Mitigation: Codemod to `@theme` in CSS; lint rule banning `tailwind.config.js` imports.
80
- - **OKLCH contrast failure**: Token pair fails WCAG AA. Mitigation: Automated contrast check in token pipeline; fail tokens below 4.5:1/3:1.
81
- - **Manual `dark:` override leakage**: Component uses `dark:bg-*`. Mitigation: Lint rule banning `dark:` utilities on core surfaces; require semantic token mapping.
82
- - **DTCG export missing**: Tokens not portable to Figma/AI. Mitigation: CI step exporting DTCG JSON; verify import in Figma Variables.
83
- - **AI component merged without governance**: Token violation, missing ARIA, CSS pollution. Mitigation: GenUI CI pipeline mandatory; reject without all gates passing.
84
- - **Storybook a11y addon disabled**: Stories missing ARIA. Mitigation: Require a11y addon in Storybook config; fail stories with missing ARIA.
85
- - **Visual regression baseline missing**: AI component lands without baseline. Mitigation: Require Chromatic/Percy baseline; reject merges without passing baseline.
86
- - **CSS leakage**: Component styles leak to global scope. Mitigation: Per-component style namespace; reject unscoped global selectors.
87
- - **Black-box NPM UI bundle**: Component from opaque package. Mitigation: Require source ownership under `src/components/ui/`; reject uncustomizable bundles.
88
-
89
- ### 5. Output Contract Updates
90
- - Update `contracts/schemas/implementation-result.json` with: token format, styling framework, component library, documentation, linting gates, WCAG results, GenUI pipeline status
91
-
92
- ---
93
-
94
- ## Implementation Priority
95
-
96
- | Priority | Task | Effort |
97
- |----------|------|--------|
98
- | P0 | Tailwind v4 `@theme` migration (no `tailwind.config.js`) | High |
99
- | P0 | OKLCH perceptual color space with uniform contrast | High |
100
- | P0 | Manual `dark:` overrides forbidden (CSS variable dark mode) | High |
101
- | P0 | W3C DTCG token export pipeline | High |
102
- | P0 | GenUI governance CI pipeline (token, axe, CSS, Chromatic, review) | High |
103
- | P1 | Storybook 8+ with `a11y` + `chromatic` mandatory CI gates | High |
104
- | P1 | shadcn/ui v2 model (`src/components/ui/` ownership) | Medium |
105
- | P1 | Semantic token layer enforcement (lint rule) | Medium |
106
- | P1 | WCAG AA contrast check before token finalization | Medium |
107
- | P2 | Expanded failure modes | Low |
108
- | P2 | Output contract updates | Low |
109
-
110
- ---
111
-
112
- ## Validation Gates
113
- - Run `python3 core/scripts/validate-all.py` from agent-skills root
114
- - Verify INDEX.md regeneration if VERSION bumped
115
- - Check adapter parity with `validate-rules.py` (9 parity groups)
116
- - Verify `tailwind.config.js` not imported anywhere
117
- - Run OKLCH contrast check on all token pairs (4.5:1 text, 3:1 UI)
118
- - Lint rule catches `dark:` utility overrides in components
119
- - DTCG JSON exports valid for Figma Variables import
120
- - GenUI CI pipeline: token conformance → axe-devtools → CSS strip → Chromatic → review
121
- - Storybook 8+ `a11y` addon runs on all stories; zero violations
122
- - Chromatic/TurboSnap baseline passes for all primitives
123
- - Visual regression CI gate blocks on diff
@@ -1,121 +0,0 @@
1
- # setup-visual-regression — 2026 Upgrade Plan
2
-
3
- ## Summary of 2026 Standards Changes
4
-
5
- ### Containerized Baselines (Mandatory 2026)
6
- - **Official Playwright Docker only**: `mcr.microsoft.com/playwright` matching CI environment — local macOS/Windows vs Linux CI = guaranteed false failures
7
- - **Baseline generation in CI container**: Canonical reference snapshots generated in project's official Docker image
8
-
9
- ### Bounded Self-QA (2026)
10
- - **Hard maximum 2 passes** post-authoring for agent self-QA
11
- - **Desktop + Mobile simultaneously**: `>= 1280px` and `375px - 430px` viewports
12
- - **Edits triggered by deterministic defects only**: horizontal overflow, fold clipping, broken markup, `< 44x44px` touch targets, contrast failures
13
- - **Prevent infinite refinement loops**: Strict defect-driven edits only
14
-
15
- ### Negative Asset Constraints (2026)
16
- - **Fabricated inline SVG logos prohibited**: "NovaCorp" style synthetic logos banned
17
- - **Synthetic customer testimonials banned**: Unverified metrics prohibited
18
- - **Authentic typography mandated**: System monograms, verified Simple Icons marks, honest structural placeholders
19
-
20
- ### Technical Standards (2026)
21
- - **Animation suppression**: All CSS animations, transitions, cursor blinks disabled (`animations: 'disabled'`)
22
- - **Dynamic content masking**: Dates, avatars, random IDs, ads masked via `mask: [page.locator('...')]`
23
- - **Explicit tolerance thresholds**: `maxDiffPixelRatio: 0.01`, `threshold: 0.2` — unconfigured defaults too loose
24
- - **Component isolation**: Storybook + Chromatic with TurboSnap for design system components + full-page Playwright
25
- - **Cross-browser matrix**: Chromium, WebKit, Firefox at mobile/desktop viewports
26
- - **Hard CI gate**: Visual regression failures block merges unless `ui-ux-designer` or `frontend-developer` explicitly approves
27
- - **Network mocking**: MSW for deterministic visual fixtures — live external API = non-deterministic
28
-
29
- ---
30
-
31
- ## Required Skill Upgrades
32
-
33
- ### 1. Core Rules Updates
34
- | Current Rule | 2026 Upgrade |
35
- |--------------|--------------|
36
- | Containerized baselines mentioned | **Official Playwright Docker mandatory**: `mcr.microsoft.com/playwright` matching CI; local vs Linux = false failures |
37
- | Self-QA bounds mentioned | **Max 2 passes post-authoring**: Desktop + Mobile simultaneously; defect-driven edits only |
38
- | Negative asset constraints | **Fabricated SVGs/testimonials prohibited**: Authentic typography, Simple Icons, honest placeholders only |
39
- | Animation suppression | **All animations/transitions/cursor blinks disabled**: `animations: 'disabled'` before snapshots |
40
- | Dynamic content masking | **Mask dates/avatars/IDs/ads**: `mask: [page.locator('...')]` before capture |
41
- | Tolerance thresholds | **Explicit `maxDiffPixelRatio: 0.01`, `threshold: 0.2`**: Defaults too loose |
42
- | Component isolation | **Storybook + Chromatic TurboSnap + Playwright full-page**: Both isolation levels |
43
- | Cross-browser matrix | **Chromium, WebKit, Firefox at mobile/desktop**: Required matrix |
44
- | Hard CI gate | **Visual failures block merges**: Only `ui-ux-designer`/`frontend-developer` can approve |
45
- | Network mocking | **MSW mandatory**: Deterministic fixtures; live external API = non-deterministic |
46
-
47
- ### 2. New 2026 Patterns to Add
48
- - **Playwright Docker CI Pipeline**: Baseline capture in `mcr.microsoft.com/playwright` container matching CI runner
49
- - **Bounded Self-QA Protocol**: 2-pass limit, dual viewport, defect-driven edits, loop prevention
50
- - **Authentic Asset Pipeline**: System monograms, Simple Icons verification, placeholder honesty check
51
- - **TurboSnap Integration**: Chromatic only re-tests changed component stories; faster CI
52
- - **Visual Regression Dashboard**: PR-linked diff summaries, baseline approval workflow, drift detection
53
- - **MSW Visual Fixtures**: Record once, replay deterministically for all visual tests
54
-
55
- ### 3. Checklist Additions
56
- - [ ] Playwright/Chromatic installed and configured
57
- - [ ] Viewport matrix: Mobile (375x667), Tablet (768x1024), Desktop (1280x800)
58
- - [ ] Cross-browser: Chromium, WebKit, Firefox
59
- - [ ] Color scheme variants: light mode, dark mode
60
- - [ ] Dynamic content masking: timestamps, avatars, numeric feeds masked
61
- - [ ] Animation disabling: `animations: 'disabled'` during test runs
62
- - [ ] Network mocks: MSW for deterministic state rendering
63
- - [ ] Baseline capture in official Playwright Docker container (`mcr.microsoft.com/playwright`)
64
- - [ ] Baseline quality verified: image quality, cropping, full-page layout coverage
65
- - [ ] Baseline committed to repo or artifact registry per policy
66
- - [ ] CI visual regression step on PRs touching frontend assets
67
- - [ ] Visual diff artifact uploads on failure for PR review
68
- - [ ] Failure reporting links to visual comparison summaries
69
- - [ ] Baseline update CLI documented (`npm run test:visual -- -u`)
70
- - [ ] Mandatory reviewer sign-off: `ui-ux-designer` or `frontend-developer` before baseline update
71
- - [ ] `maxDiffPixelRatio: 0.01`, `threshold: 0.2` configured
72
- - [ ] Component isolation: Storybook + Chromatic TurboSnap + Playwright full-page
73
- - [ ] Negative asset check: no fabricated SVGs, no synthetic testimonials
74
- - [ ] Bounded self-QA: max 2 passes, dual viewport, defect-driven only
75
- - [ ] `implementation-result.json` emitted with visual baseline generation proof
76
-
77
- ### 4. Failure Mode Additions
78
- - **Local vs CI baseline mismatch**: macOS/Windows snapshots vs Linux CI. Mitigation: Official Playwright Docker container for ALL baseline generation.
79
- - **Unbounded self-QA refinement**: Agent iterates infinitely on visual tweaks. Mitigation: Hard 2-pass limit; only deterministic defect edits allowed.
80
- - **Fabricated asset compliance failure**: Synthetic logos/testimonials in baselines. Mitigation: Negative asset constraint check in pipeline; reject non-authentic assets.
81
- - **Threshold too loose**: Real regressions below threshold allowed. Mitigation: `maxDiffPixelRatio: 0.01`, `threshold: 0.2`; per-component category thresholds.
82
- - **Driver version drift**: Chromatic/Percy updated without re-baselining. Mitigation: Re-baseline all components on driver upgrades; CI surfaces missing re-baseline.
83
- - **Live API non-determinism**: External API changes visual output between runs. Mitigation: MSW mocks for all visual tests; deterministic fixtures.
84
- - **TurboSnap missed changes**: Changed component not re-tested. Mitigation: Verify TurboSnap dependency graph; manual trigger for global changes.
85
-
86
- ### 5. Output Contract Updates
87
- - Update `contracts/schemas/implementation-result.json` with: visual framework, viewport/browser matrix, baseline container, tolerance thresholds, CI gate status, self-QA pass count
88
-
89
- ---
90
-
91
- ## Implementation Priority
92
-
93
- | Priority | Task | Effort |
94
- |----------|------|--------|
95
- | P0 | Official Playwright Docker container for baseline generation | High |
96
- | P0 | Bounded self-QA protocol (2 passes, dual viewport, defect-only) | High |
97
- | P0 | Negative asset constraints (no fabricated SVGs/testimonials) | High |
98
- | P0 | Explicit tolerance thresholds (`maxDiffPixelRatio: 0.01`) | High |
99
- | P0 | Hard CI gate with `ui-ux-designer`/`frontend-developer` approval | High |
100
- | P1 | MSW network mocking for deterministic fixtures | Medium |
101
- | P1 | Component isolation: Storybook + Chromatic TurboSnap + Playwright | Medium |
102
- | P1 | Cross-browser matrix (Chromium/WebKit/Firefox) | Medium |
103
- | P1 | Baseline update workflow with mandatory sign-off | Medium |
104
- | P2 | Visual regression dashboard with PR-linked diffs | Low |
105
- | P2 | Expanded failure modes | Low |
106
- | P2 | Output contract updates | Low |
107
-
108
- ---
109
-
110
- ## Validation Gates
111
- - Run `python3 core/scripts/validate-all.py` from agent-skills root
112
- - Verify INDEX.md regeneration if VERSION bumped
113
- - Check adapter parity with `validate-rules.py` (9 parity groups)
114
- - Test baseline generation in `mcr.microsoft.com/playwright` Docker container
115
- - Verify self-QA stops at 2 passes with defect-driven edits only
116
- - Verify negative asset check rejects fabricated SVGs/testimonials
117
- - Test `maxDiffPixelRatio: 0.01` catches real regressions
118
- - Verify CI gate blocks merge without `ui-ux-designer`/`frontend-developer` approval
119
- - Test MSW mocks provide deterministic visual fixtures
120
- - Verify TurboSnap only re-tests changed component stories
121
- - Verify baseline re-generation on driver version upgrade
@@ -1,236 +0,0 @@
1
- # 2026 Meetings-Analysis Standards & Patterns — Consolidated Research Summary
2
-
3
- ## Overview
4
- Deep research conducted September 2026 across AI-assisted requirements engineering, data analysis with semantic layers, and structured meeting review with agentic ADR generation.
5
-
6
- ---
7
-
8
- ## 1. AI-Assisted Requirements Engineering (2026)
9
-
10
- ### Epic-Organized Gherkin Generation (arXiv:2607.01980, SEET 2026)
11
- - **4-step async LLM pipeline**:
12
- 1. **Relevance Classification** (LLM #1): Detect requirement-relevant content in transcriptions/inputs
13
- 2. **Requirements Update** (LLM #2): Add/revise items in living requirements list
14
- 3. **Epic & Mind Map Generation** (LLM #3): Group requirements into 3–6 epics with relationships
15
- 4. **Gherkin Generation** (LLM #4): Produce Feature blocks + Scenarios (JSON-constrained)
16
- - **Expert preference**: Epic-organized scores higher on Correctness (4.61 vs 4.14), Executability (4.61 vs 4.07), Completeness (4.31 vs 3.50)
17
- - **Structural validity**: 99%+ for JSON-constrained pipeline
18
- - **SSE real-time state updates**: Stream requirements/epic/Gherkin changes for living documentation
19
-
20
- ### LLM-as-Judge Validation (2026)
21
- - **DeepEval/RAGAS**: Independent LLM evaluation for clarity, completeness, internal consistency
22
- - **Critical finding**: AI-generated AC can pass human review while containing subtle contradictions
23
- - **Blind expert assessment** required alongside automated evaluation
24
-
25
- ### Living Requirements Traceability (2026)
26
- - **AI-assisted tools**: Trace.space, getleo.ai link requirements → design docs → code modules → test cases
27
- - **Mandatory for EU AI Act compliance**: Chain-of-causality audit trails for regulated industries
28
- - **Automated CI checks** for traceability freshness to prevent link rot
29
-
30
- ### Agentic AC Format (2026)
31
- - **Deterministic observable assertions**: Not prose intent; agents auto-validate implementation output
32
- - **Epic → Feature Block → Scenarios** hierarchy for agentic delivery
33
-
34
- ### Human BA Sign-Off Gate (2026)
35
- - **Mandatory** for AI-assisted AC before sprint commitment
36
- - **EU AI Act compliance** for high-risk features
37
-
38
- ---
39
-
40
- ## 2. Data Analysis with Semantic Layers (2026)
41
-
42
- ### Apache Ossie (Incubating) — Universal Semantic Layer Standard
43
- - **Accepted into Apache Incubator** (July 10, 2026): Formerly Open Semantic Interchange (OSI)
44
- - **Vendor-neutral YAML standard** for metrics, dimensions, joins — single source of truth
45
- - **50+ organization coalition**: Alation, Anomalo, Atlan, AtScale, Bigeye, BlackRock, Blue, Collate, Databao, Denodo, Kyvos, Qlik, Salesforce, Snowflake
46
- - **Core Classes**: Metrics at semantic model level (not dataset); reference fields from multiple datasets
47
- - **Multiple SQL dialects**: ANSI_SQL, SNOWFLAKE, DATABRICKS, MDX, TABLEAU
48
- - **DuckDB Community Extension**: Reads Ossie YAML/JSON, answers semantic queries, exposes via MCP
49
- - **Dosi + Ossie**: 10-minute semantic layer for AI agents (CLI, API, MCP unified)
50
-
51
- ### DuckDB v2.0 Readiness (2026)
52
- - **Breaking storage format** — prepare migration
53
- - **VARIANT type support** — semi-structured data handling
54
- - **Quack server mode** — remote query execution via HTTP-based client-server protocol
55
- - **Iceberg extension**: full DML (INSERT/UPDATE/DELETE), process 1TB in 30 seconds
56
- - **Local-first ETL/ELT studio (duckle)**: Drag-and-drop visual pipeline designer compiling to SQL
57
- - **quack-on-demand**: Arrow FlightSQL gateway for DuckDB + DuckLake with multi-tenant pools
58
- - **quacklake**: DuckLake catalog on quack deployed to Cloudflare Workers with Durable Objects + JWT auth
59
-
60
- ### FastMCP Anti-Hallucination Gateway (2026)
61
- - **sqlglot AST validation**: single read-only SELECT, join depth ≤ 3, row limit ≤ 1000
62
- - **agent_accessible: true allowlist** with "Show-The-Definition" attribution (lineage + SQL formula)
63
- - **MCP Registry Integration**: External tools via MCP Registry for developer workflows
64
-
65
- ### Polars 0.20+ / DuckDB 1.2+ Performance (2026)
66
- - **Polars 11.4× speedup** over Pandas on 10M rows (filter + groupby aggregation)
67
- - **DuckDB 9.7× speedup** with zero Python boilerplate
68
- - **Peak memory**: DuckDB 0.5 GB vs Pandas 4.2 GB (5.3× less)
69
- - **Zero-copy Arrow C Data Interface**: `con.execute(q).pl()` between DuckDB and Polars
70
- - **Polars LazyFrames streaming**: `collect(streaming=True)` for datasets larger than RAM
71
-
72
- ### Causal Inference & A/B Testing Standards (2026)
73
- - **DoWhy 3-way refutations**: Placebo Treatment (p > 0.05), Random Common Cause (< 10% shift), Data Subset (< 15% shift)
74
- - **Pearson's Chi-squared SRM pre-check**: ABORT if p < 0.001
75
- - **Causal DAG in DOT format**: Backdoor Criterion verification, Collider Bias avoidance
76
- - **Pearl's Hierarchy enforcement**: No observational regression as causal proof
77
- - **DoWhy simplified API**: `dowhy.api` for model → estimate → identify → refute workflow
78
-
79
- ### Statistical Distribution Drift Testing (2026)
80
- - **Population Stability Index (PSI)**: baseline decile quantile bins; <0.10 stable, 0.10-0.25 moderate, >0.25 significant (halt pipelines)
81
- - **Two-Sample Kolmogorov-Smirnov**: p < 0.01 flag shifts
82
- - **Tukey's IQR fences**: Q1 - 1.5×IQR, Q3 + 1.5×IQR for non-parametric outlier boundaries
83
-
84
- ### Agent Query Cost FinOps (2026)
85
- - **Token usage, compute time, scanned bytes** tracked per agent query
86
- - **Per-agent query cost budgets** with alerting thresholds
87
- - **Dedicated FinOps line item** in data-analysis-report.json
88
-
89
- ---
90
-
91
- ## 3. Structured Meeting Review & Agentic ADR Generation (2026)
92
-
93
- ### GADR Agentic ADR Pipeline (arXiv:2608.17694, SBES 2026)
94
- - **Multi-agent, self-correcting workflow**: raw meeting transcriptions → critique → Nygard-formatted ADR drafts
95
- - **Feasibility study**: 5 real project meetings, 4 senior architects, 15 students; captures most expert-identified decisions
96
- - **Agentic RAG advantage**: Structural consistency + richer architectural explanations; critique stage reduces overlaps/fragmentation
97
- - **Human-in-the-loop validation**: Every recorded meeting → reviewable ADR draft with human validation
98
-
99
- ### Nygard ADR Format with AI Controls (2026)
100
- - **Structure**: Context → Decision → Rationale → Controls/Safeguards → Consequences → Related Records
101
- - **AI Controls & Safeguards**: Model version control, prompt/output logging, human-in-loop validation, egress controls, rollback plan, DevSecOps integration
102
- - **ADR Lifecycle**: Proposed → Accepted → Superseded (immutable after acceptance, never modified)
103
- - **Supersession Pattern**: Old ADR status = superseded, linked to new ADR; never delete
104
- - **Explicit ADR Ownership**: Team establishes definition of ownership per ADR
105
-
106
- ### Async-First Decision Protocol (2026)
107
- - **Written RFC/brief + 48-72h async comment window** before any sync call
108
- - **Decisions in ephemeral chat without ADR = anti-pattern**
109
- - **DACI Framing**: Driver, Approver, Contributors, Informed; EXACTLY ONE Approver per decision
110
- - **Consensus paralysis from committee approval = prohibited**
111
-
112
- ### AI-Synthesized Perspective Guardrails (2026)
113
- - **Explicit labeling**: `[AI-synthesized]` for automated reasoning vs human domain knowledge
114
- - **Inferred risks marked**: `[INFERRED — requires human validation]` when not grounded in code/docs
115
- - **Prune ungrounded AI perspectives**: Cannot ground in code path, requirement, or stakeholder constraint → remove
116
- - **Human sign-off gate MANDATORY** for architectural decisions, breaking changes, release-blocking recommendations
117
- - **AI-synthesized consensus ≠ cross-functional team alignment**
118
-
119
- ### Decision Intelligence & Agentic AI Governance (2026)
120
- - **DecisionCAMP 2026**: Intelligent Decision Services integrated into enterprise architectures
121
- - **Agentic AI in EDA**: Multi-agent systems for autonomous goal-driven decision-making
122
- - **Critical questions**: Who/what is in control? Trust, accountability, explainability, oversight
123
- - **Interoperability standards**: Ontology-driven approaches for agentic AI adoption
124
-
125
- ---
126
-
127
- ## 4. Cross-Skill Integration Patterns
128
-
129
- ### Requirements → Data → Review Flow
130
- ```
131
- 1. analyze-business-requirements
132
- ├── Epic-organized Gherkin pipeline (4-step async LLM + SSE)
133
- ├── LLM-as-judge validation (DeepEval/RAGAS)
134
- ├── Living traceability (requirements → design → code → tests)
135
- ├── Agentic AC format (deterministic assertions)
136
- ├── Human BA sign-off gate (EU AI Act)
137
- └── Delegates to Data Analyst / SEO Analyst / Researcher via feature-ticket.json
138
- ↓
139
- 2. analyze-data
140
- ├── Apache Ossie semantic layer (vendor-neutral YAML)
141
- ├── FastMCP sqlglot AST validation (read-only, join≤3, rows≤1000)
142
- ├── DuckDB v2.0 readiness (breaking format, VARIANT, Quack)
143
- ├── Zero-copy Arrow DuckDB→Polars + streaming LazyFrames
144
- ├── DoWhy 3-way refutations + SRM hard abort (p<0.001)
145
- ├── PSI/KS/IQR drift testing (PSI>0.25 = halt)
146
- ├── FinOps agent query cost tracking (token/compute/bytes)
147
- └── Dosi + Ossie 10-min AI agent semantic layer
148
- ↓
149
- 3. meeting-review
150
- ├── GADR agentic ADR pipeline (transcript → critique → ADR)
151
- ├── Nygard ADR with AI Controls/Safeguards
152
- ├── Async-first RFC + 48-72h comment window
153
- ├── DACI single-approver framing
154
- ├── AI perspective guardrails ([AI-synthesized], [INFERRED], pruning)
155
- └── Human sign-off mandatory for architectural/breaking/release decisions
156
- ```
157
-
158
- ---
159
-
160
- ## 5. Required Contract Schemas (2026)
161
-
162
- ### New Schemas to Create
163
- | Schema | Owner Skill | Purpose |
164
- |--------|-------------|---------|
165
- | `epic-organized-gherkin-spec.json` | analyze-business-requirements | 4-step pipeline config |
166
- | `llm-as-judge-validation-spec.json` | analyze-business-requirements | DeepEval/RAGAS criteria |
167
- | `living-traceability-spec.json` | analyze-business-requirements | Requirements→code links |
168
- | `agentic-ac-spec.json` | analyze-business-requirements | Deterministic assertions |
169
- | `apache-ossie-semantic-spec.json` | analyze-data | YAML model definitions |
170
- | `dosi-ossie-agent-spec.json` | analyze-data | 10-min AI agent setup |
171
- | `fastmcp-sqlglot-spec.json` | analyze-data | AST validation config |
172
- | `duckdb-v2-readiness-spec.json` | analyze-data | Migration checklist |
173
- | `dowhy-causal-spec.json` | analyze-data | DOT DAG + refutation config |
174
- | `finops-agent-query-spec.json` | analyze-data | Cost tracking with budgets |
175
- | `gadr-adr-pipeline-spec.json` | meeting-review | Agentic ADR generation |
176
- | `nygard-adr-ai-controls-spec.json` | meeting-review | ADR format with AI safeguards |
177
- | `async-decision-protocol-spec.json` | meeting-review | RFC + comment window |
178
- | `daci-decision-spec.json` | meeting-review | Single-approver framing |
179
- | `ai-perspective-guardrails-spec.json` | meeting-review | Labeling/pruning rules |
180
-
181
- ---
182
-
183
- ## 6. Implementation Priority Matrix
184
-
185
- | Priority | analyze-business-requirements | analyze-data | meeting-review |
186
- |----------|------------------------------|--------------|----------------|
187
- | **P0** | Epic-organized Gherkin pipeline (4-step + SSE) | Apache Ossie universal semantic layer | GADR agentic ADR pipeline |
188
- | **P0** | LLM-as-judge validation (DeepEval/RAGAS) | DuckDB v2.0 readiness | Nygard ADR with AI Controls |
189
- | **P0** | Living traceability (Trace.space/getleo.ai) | FastMCP sqlglot AST + MCP Registry | Async-first RFC + 48-72h window |
190
- | **P0** | Agentic AC format (deterministic assertions) | DoWhy 3-way refutations + SRM abort | DACI single-approver framing |
191
- | **P0** | Human BA sign-off gate (EU AI Act) | FinOps agent query cost tracking | AI perspective guardrails |
192
- | **P1** | SSE real-time state updates | Dosi + Ossie 10-min AI agent layer | Human sign-off gate for arch decisions |
193
- | **P1** | | Zero-copy Arrow + streaming LazyFrames | ADR lifecycle management |
194
- | **P1** | | DuckLake/quacklake time-travel queries | |
195
- | **P2** | Expanded failure modes | Expanded failure modes | Expanded failure modes |
196
- | **P2** | Output contract updates | Output contract updates | Output contract updates |
197
-
198
- ---
199
-
200
- ## 7. Validation Gates (All Skills)
201
-
202
- 1. **Pack validation**: `python3 core/scripts/validate-all.py` from agent-skills root
203
- 2. **INDEX.md regeneration**: `python3 core/scripts/generate-index.py` if VERSION bumped
204
- 3. **Adapter parity**: `validate-rules.py` (9 parity groups)
205
- 4. **Skill-specific tests**:
206
- - Epic-organized Gherkin pipeline on PURE dataset (107 requirements)
207
- - LLM-as-judge scores vs expert blind assessment
208
- - Traceability link freshness in CI
209
- - Apache Ossie YAML round-trip (MetricFlow → Ossie → Cube.js)
210
- - DuckDB v2.0 storage format migration on test datasets
211
- - FastMCP sqlglot AST validation rejects invalid queries
212
- - DoWhy 3-way refutations catch known causal errors
213
- - PSI > 0.25 triggers pipeline halt
214
- - FinOps cost tracking per agent query with budget enforcement
215
- - GADR pipeline on real transcripts with expert ground truth
216
- - ADR immutability enforcement in CI
217
- - Async-first protocol compliance (RFC before call)
218
- - DACI single-approver enforcement
219
- - AI perspective labeling and pruning logic
220
- - Human sign-off gate blocks AI-only consensus
221
-
222
- ---
223
-
224
- ## 8. Key References
225
-
226
- - **Epic-Organized Gherkin**: arXiv:2607.01980 (SEET 2026)
227
- - **AutoUAT Industrial Case Study**: arXiv:2504.07244
228
- - **Gherkin Guidelines for AI**: github.com/AutomationPanda/gherkin-guidelines-for-ai
229
- - **Apache Ossie**: ossie.apache.org (Incubating, July 2026)
230
- - **DuckDB v2.0**: motherduck.com/duckdb-news
231
- - **FastMCP**: sqlglot AST validation, MCP Registry
232
- - **DoWhy Causal Inference**: pywhy.org/dowhy
233
- - **GADR Agentic ADR**: arXiv:2608.17694 (SBES 2026)
234
- - **Nygard ADR**: martinfowler.com/bliki/ArchitectureDecisionRecord.html
235
- - **DecisionCAMP 2026**: 2026.declarativeai.net/decisioncamp
236
- - **EU AI Act**: Regulation (EU) 2026/1744, Article 14 Human Oversight