@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
@@ -33,35 +33,4 @@ When creating the weekly topic board, use the following structure for each entry
33
33
  2. **`seo-analyst`** fills in the Keywords, Intents, Pillar/Cluster, and E-E-A-T targets.
34
34
  3. The brief is generated (`seo-content-brief.json`) and handed off to the **`content-writer`**.
35
35
 
36
- ## Standard 2026 Alignment
37
-
38
- This overlay rule file is part of the agent-skills engineering pack. The 2026
39
- upgrade pass added the following Standard 2026 alignment footer to every
40
- overlay rule file in the pack.
41
-
42
- - **OWASP ASI**: applied as described in the core pack — see
43
- `core/roles/role-standard.md` (ASI01-ASI10) and the per-skill
44
- `## Security Guardrails (OWASP ASI)` section in each skill. The rules in this
45
- file are applied by the role that owns the affected action; the runtime
46
- gate is `core/scripts/hooks/check-policy.py` with
47
- `core/policies/action-boundaries.yaml`.
48
- - **Failure Modes** (overlay-specific): the rules in this file can be violated
49
- by drift, missing context, or untracked exceptions. The owning role is
50
- expected to surface concrete failure scenarios in the workflow's
51
- `### Failure Modes` section and to capture remediations via
52
- `contracts/schemas/incident-report.json` when the rule is bypassed.
53
- - **Output Contracts**: when a rule in this file produces a structured
54
- artifact (brief, plan, config, content handoff, audit event), the artifact
55
- must conform to the corresponding schema in `core/contracts/schemas/`.
56
- See `See `core/skills/content/optimize-seo/SKILL.md` and the `seo-weekly-board.json` schema.` for the related skill output contract reference.
57
- - **Skill Toolbox Lock**: a rule in this file is enforced by the role whose
58
- Skill Toolbox lists the related skill as Primary. Roles that hold the
59
- skill as Supporting must delegate rather than execute directly (per
60
- `core/workflows/README.md`).
61
- - **Commit / publish gate**: rule changes that affect user-visible behavior
62
- must follow the META-RULE in `core/rules/code.md` — no commit, no push,
63
- no publish without explicit user confirmation.
64
-
65
- See `core/skills/content/optimize-seo/SKILL.md` and the `seo-weekly-board.json` schema.
66
-
67
36
  Last updated: 2026-09-01
@@ -36,24 +36,4 @@ Read that project's rules/elomus-design-system.md (or equivalent) before finaliz
36
36
  | overlays/laravel-ecommerce | Laravel E-Commerce storefront |
37
37
  | (repo-local rules) | Any app with documented tokens in overlays/ or docs/ |
38
38
 
39
- ## Standard 2026 Alignment
40
-
41
- This file is part of the agent-skills engineering pack. The 2026 upgrade
42
- pass added this footer so every prose file in the pack carries a
43
- consistent Standard 2026 pointer.
44
-
45
- - **OWASP ASI**: applied as described in `core/roles/role-standard.md`
46
- (ASI01-ASI10) and the per-skill `## Security Guardrails (OWASP ASI)` sections.
47
- - **Failure Modes**: the rule in this file can be violated by drift, missing
48
- context, or untracked exceptions. Concrete failure scenarios belong in the
49
- related skill or workflow's `### Failure Modes` section.
50
- - **Output Contracts**: structured artifacts produced under this file must
51
- conform to schemas in `core/contracts/schemas/`.
52
- - **Skill Toolbox Lock**: this file's rules are enforced by the role that
53
- owns the affected action; the runtime gate is
54
- `core/scripts/hooks/check-policy.py`.
55
- - **Commit / publish gate**: changes that affect user-visible behavior
56
- follow the META-RULE in `core/rules/code.md` — no commit, no push, no
57
- publish without explicit user confirmation.
58
-
59
39
  Last updated: 2026-09-01
@@ -39,35 +39,4 @@ Apply when the ui-ux-designer role uses overlays/ui-design-system.
39
39
 
40
40
  When a project overlay defines colors, typography, or motion (e.g. Elomus Deep Navy + Teal), reference those tokens in component spec descriptions — do not invent conflicting palettes.
41
41
 
42
- ## Standard 2026 Alignment
43
-
44
- This overlay rule file is part of the agent-skills engineering pack. The 2026
45
- upgrade pass added the following Standard 2026 alignment footer to every
46
- overlay rule file in the pack.
47
-
48
- - **OWASP ASI**: applied as described in the core pack — see
49
- `core/roles/role-standard.md` (ASI01-ASI10) and the per-skill
50
- `## Security Guardrails (OWASP ASI)` section in each skill. The rules in this
51
- file are applied by the role that owns the affected action; the runtime
52
- gate is `core/scripts/hooks/check-policy.py` with
53
- `core/policies/action-boundaries.yaml`.
54
- - **Failure Modes** (overlay-specific): the rules in this file can be violated
55
- by drift, missing context, or untracked exceptions. The owning role is
56
- expected to surface concrete failure scenarios in the workflow's
57
- `### Failure Modes` section and to capture remediations via
58
- `contracts/schemas/incident-report.json` when the rule is bypassed.
59
- - **Output Contracts**: when a rule in this file produces a structured
60
- artifact (brief, plan, config, content handoff, audit event), the artifact
61
- must conform to the corresponding schema in `core/contracts/schemas/`.
62
- See `See `core/skills/foundation/design-ux-flow/SKILL.md` and the `ux-flow-spec.json` schema.` for the related skill output contract reference.
63
- - **Skill Toolbox Lock**: a rule in this file is enforced by the role whose
64
- Skill Toolbox lists the related skill as Primary. Roles that hold the
65
- skill as Supporting must delegate rather than execute directly (per
66
- `core/workflows/README.md`).
67
- - **Commit / publish gate**: rule changes that affect user-visible behavior
68
- must follow the META-RULE in `core/rules/code.md` — no commit, no push,
69
- no publish without explicit user confirmation.
70
-
71
- See `core/skills/foundation/design-ux-flow/SKILL.md` and the `ux-flow-spec.json` schema.
72
-
73
42
  Last updated: 2026-09-01
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vesviet/agent-skills",
3
- "version": "5.10.0",
4
- "description": "Engineering skill pack for AI-assisted delivery: 184 skills, 39 roles, 25 workflows, 63 data contracts, with a CLI to install skills into your agent platform.",
3
+ "version": "5.11.0",
4
+ "description": "Engineering skill pack for AI-assisted delivery: 187 skills, 39 roles, 25 workflows, 63 data contracts, with a CLI to install skills into your agent platform.",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "bin": {
package/packs/README.md CHANGED
@@ -15,7 +15,7 @@ Packs describe how to assemble the portable core with zero or more overlays for
15
15
  | `obj-team` | [manifest.yaml](obj-team/manifest.yaml) | `core` + `overlays/astro-cloudflare` + `overlays/obj-configurator` | Astro, R3F v9, WebGPU |
16
16
  | `b2b-golf-team` | [manifest.yaml](b2b-golf-team/manifest.yaml) | `core` + `overlays/astro-cloudflare` + `overlays/b2b-catalog-golf` | Astro v6+, Cloudflare, SEO |
17
17
  | `b2b-sport-team` | [manifest.yaml](b2b-sport-team/manifest.yaml) | `core` + `overlays/astro-cloudflare` + `overlays/b2b-sport-catalog` | Astro v6+, Cloudflare, SEO |
18
- | `ecommerce-team` | [manifest.yaml](ecommerce-team/manifest.yaml) | `core` + `overlays/go-microservices` + `overlays/ecommerce-microservices` | Go 1.25, Kratos v3, ConnectRPC |
18
+ | `ecommerce-team` | [manifest.yaml](ecommerce-team/manifest.yaml) | `core` + `overlays/go-microservices` + `overlays/ecommerce-microservices` | Go 1.26+, Kratos v3, ConnectRPC |
19
19
  | `data-analyst-team` | [manifest.yaml](data-analyst-team/manifest.yaml) | `core` + `overlays/data-analyst-stack` | DuckDB, dbt 1.9, Iceberg, Metabase |
20
20
  | `content-sprint-team` | [manifest.yaml](content-sprint-team/manifest.yaml) | `core` + `overlays/seo-publishing` | GEO/AEO, AI Overviews, publishing cadence |
21
21
  | `livestream-team` | [manifest.yaml](livestream-team/manifest.yaml) | `core` + `overlays/livestream-web` | Frontend, UX, livestream, PWA |
@@ -24,7 +24,6 @@ Packs describe how to assemble the portable core with zero or more overlays for
24
24
  | `landing-pages-team` | [manifest.yaml](landing-pages-team/manifest.yaml) | `core` + `overlays/go-microservices` + `overlays/ui-design-system` + `overlays/seo-publishing` | v5.0.0 · High-converting single-product landing page engine & SaaS, Cloudflare Workers Edge SSR (< 25ms TTFB), Go Kratos v2 Clean Architecture, 5 CRO templates, 2D Footwear & Apparel Matrix, VietQR Napas 247, Zalo/Messenger widgets |
25
25
  | `affiliate-cashback-team` | [manifest.yaml](affiliate-cashback-team/manifest.yaml) | `core` + `overlays/seo-publishing` + `overlays/ui-design-system` | v5.0.0 · Tri-Engine Affiliate & Cashback Growth Engineering Pack for CashbackHub ecosystem (`deal-bot-dispatcher`, `cashback-api-gateway`, `cashback-pwa-web`, `pseo-nextjs-engine`), 5 VAS Financial Invariants (1010–5010), T+1 Reconciliation, curl_cffi Chrome 124+ Anti-WAF, 1-1 Chatbot PWA, Next.js 15 ISR |
26
26
 
27
-
28
27
  ### Pack Spotlight: hugo-authority-team (v5.0.0)
29
28
 
30
29
  The `hugo-authority-team` pack orchestrates high-authority content engineering and technical publishing across the twin Hugo sites:
@@ -72,7 +71,7 @@ The `mmo-growth-team` pack orchestrates full-spectrum growth engineering, progra
72
71
  The `landing-pages-team` pack governs the end-to-end engineering, conversion rate optimization (CRO), and distributed infrastructure for high-converting single-product landing pages (**Carrd for Ads** — `landing-builder.example.com`):
73
72
 
74
73
  - **Edge Serverless SSR (< 25ms TTFB)**: 100% Cloudflare Workers edge delivery with `SITES_KV` caching, 0ms cold starts, and dual host routing serving the SaaS Marketing Storefront (`landing-builder.example.com`, `www.landing-builder.example.com`), merchant subdomains (`*.landing-builder.example.com`), and Merchant Dashboard (`app.landing-builder.example.com`).
75
- - **Clean Architecture CA-1..CA-9**: Go 1.25 + Kratos v2 backend enforcing strict architectural invariants (zero ORM leak in `biz`, Wire dependency injection, opaque-box E2E tests, zero secrets, zero linter warnings).
74
+ - **Clean Architecture CA-1..CA-9**: Go 1.26+ + Kratos v2 backend enforcing strict architectural invariants (zero ORM leak in `biz`, Wire dependency injection, opaque-box E2E tests, zero secrets, zero linter warnings).
76
75
  - **Zero-Trust Price Engine (ADR-07)**: Strict server-side recalculation of order totals against database variant models, eliminating client-side price tampering.
77
76
  - **Aho-Corasick Ad Policy Scanner (ADR-09)**: High-performance linear-time scanner detecting prohibited ad phrases (TikTok/Facebook Ads compliance) before page publication.
78
77
  - **2D Footwear & Apparel Variant Matrix**: Color $\times$ Size 35-44+ selection with smart availability state machine, native `<dialog id="size-guide-modal">`, 1-click Editor preset, and Telesale Telegram bot alerts (`Màu: ... | Size: ...`).
@@ -187,12 +186,7 @@ Packs are discovered by AI agents via:
187
186
 
188
187
  MCP tool discovery is dynamic (JSON-RPC `tools/list`) and does not use static manifests.
189
188
 
190
- ## Standard 2026 Alignment
191
-
192
- All 17 pack manifests follow `schema_version: "2"` and embed the
193
- `governance` block (EU AI Act tier, audit logging, secret handling,
194
- human oversight). The 2026 upgrade pass added Failure Modes, Output
195
- Contracts, and Security Guardrails to the pack-level guidance.
189
+ ## Operational Guardrails
196
190
 
197
191
  ### Failure Modes
198
192
 
@@ -1,7 +1,7 @@
1
1
  schema_version: "2"
2
2
 
3
3
  name: ecommerce-team
4
- description: Global engineering core plus Go 1.25/Kratos v3 microservices conventions and Ecommerce Microservices overlay. Includes Dapr 1.15, ConnectRPC, OTel compile-time instrumentation.
4
+ description: Global engineering core plus Go 1.26+/Kratos v3 microservices conventions and Ecommerce Microservices overlay. Includes Dapr 1.15, ConnectRPC, OTel compile-time instrumentation.
5
5
  version: 4.0.0
6
6
 
7
7
  tags:
@@ -1,316 +0,0 @@
1
- # 2026 Commerce Standards & Patterns — Consolidated Research Summary
2
-
3
- ## Overview
4
- Deep research conducted September 2026 across PCI DSS, Agentic Commerce Protocols, Payment Gateway innovations, Fulfillment architecture, Product Catalog modernization, and Vietnam regulatory changes.
5
-
6
- ---
7
-
8
- ## 1. PCI DSS v4.0.1 (Effective March 31, 2025)
9
-
10
- ### Requirement 6.4.3 — Payment Page Script Security
11
- - All JavaScript on payment pages must be **inventoried, justified, and loaded with SRI hashes + CSP nonce**
12
- - `script-src 'nonce-...'` required for all payment page scripts
13
- - 3DS scripts in iframes exempt due to trust relationship with 3DS provider
14
-
15
- ### Requirement 11.6.1 — Tamper Detection
16
- - **Automated monitoring** of payment page HTTP headers and client-side scripts
17
- - **Frequency**: At least weekly, preferably continuous
18
- - **Target**: Magecart/formjacking detection
19
- - SAQ A eligibility updated (Jan 2025) — 6.4.3 and 11.6.1 removed for qualifying merchants
20
-
21
- ---
22
-
23
- ## 2. Agentic Commerce Protocols (2025-2026)
24
-
25
- ### Agentic Commerce Protocol (ACP)
26
- - **Announced**: Sep 2025 by OpenAI + Stripe
27
- - **Instant Checkout** in ChatGPT powered by ACP (Apache 2.0)
28
- - **Spec updates**: Cart, feed, orders, authentication, MCP support (Apr 2026)
29
- - **Extensions**: Discounts, payment handlers (Jan 2026)
30
- - **Capability negotiation** (Jan 2026)
31
-
32
- ### Universal Commerce Protocol (UCP)
33
- - **Launched**: Jan 2026 by Google + partners (Shopify, Etsy, Wayfair, Target, Walmart)
34
- - **Apache 2.0**, compatible with A2A, AP2, MCP
35
- - **v2026-04-08**: Third release
36
- - **v2026-08-25**: Multi-vertical, grocery/location, 3DS2, payment schedules, split payments, granular consent, loyalty (breaking changes)
37
-
38
- ### Agent Payments Protocol (AP2)
39
- - **Donated to FIDO Alliance**: Apr 2026 by Google
40
- - **AP2 v0.2**: Human Not Present payments for autonomous pre-authorized transactions
41
- - **Verifiable Intent**: Co-developed with Mastercard, also donated to FIDO
42
-
43
- ---
44
-
45
- ## 3. Modern Payment Paradigms (2026)
46
-
47
- ### Machine Payments Protocol (MPP) — Stripe + Tempo (Mar 2026)
48
- - **Open protocol** for programmatic agent payments without checkout UI
49
- - **HTTP 402 flow**: Request → 402 with payment requirements → Agent authorizes → Retry with credential → Verify → Return resource
50
- - **Payment methods**: Shared Payment Tokens (SPTs) for cards, stablecoins (USDC on Tempo), x402
51
- - **Stripe integration**: PaymentIntents API, `automatic_payment_methods: { enabled: true }`
52
- - **Off-session**: SetupIntents with `setup_future_usage: "off_session"`
53
- - **Validation**: `npx mppx@latest validate http://localhost:4242`
54
-
55
- ### x402 Protocol (2025-2026)
56
- - **Internet-native HTTP-based payment standard** for machine-to-machine
57
- - **HTTP 402** with `payment-required` header (base64-encoded requirements)
58
- - **Crypto**: USDC on Base network, CDP facilitator (Coinbase Developer Platform)
59
- - **Stripe support**: `2026-05-27.preview` API, `crypto` payment method, `mode: transaction_verification`
60
- - **Deposit addresses**: `POST /v1/crypto/deposit_addresses` (network=tempo)
61
-
62
- ### Stripe 2026 Roadmap
63
- | Feature | Timeline | Status |
64
- |---------|----------|--------|
65
- | Dynamic pricing for x402/MPP | Q3 2026 | Public Preview |
66
- | Session payments (usage-based) | Q3 2026 | Public Preview |
67
- | Standalone 3DS | Q3 2026 | GA |
68
- | Multi-account MCP | Q3 2026 | Private Preview |
69
- | Shared Payment Tokens | Q4 2026 | GA (US) |
70
- | Wero payments | Q4 2026 | Private Preview |
71
-
72
- ### BNPL & Subscription BNPL
73
- - **Messaging elements** on PDP/cart: `stripe-payment-method-messaging` with dynamic price/currency/country
74
- - **Subscription BNPL**: Recurring payments beyond retail installments
75
- - **Flow**: Initial installment → BNPL pays merchant → Subsequent payments via bank rails (ACH, A2A) or card rails
76
-
77
- ### A2A (Account-to-Account) Pay by Bank
78
- - **Rails**: TrueLayer, Plaid, Stripe Pay by Bank
79
- - **Lower fees** than card processing
80
- - **Settlement state machine**: `processing` → `pending` → `settled` webhooks
81
- - **Inventory TTL lock** during slow bank settlement
82
-
83
- ---
84
-
85
- ## 4. Checkout & Tax Standards (2026)
86
-
87
- ### EMV 3DS 2.3.1
88
- - **100+ context attributes** for frictionless authentication
89
- - **>85% challenge-free** rate
90
- - **SCA exemption engine**: Low-Value, TRA (Transaction Risk Analysis), Trusted Beneficiary
91
-
92
- ### Address Validation Lifecycle (Mandatory)
93
- - **Must occur BEFORE** tax calculation or shipping carrier requests
94
- - **APIs**: Google Maps Address Validation, Loqate, Smarty Streets
95
- - **Error handling**: Precise subcodes (missing apartment, invalid ZIP)
96
-
97
- ### Tax Engine Decision Tree
98
- | Engine | Best For |
99
- |--------|----------|
100
- | **Stripe Tax** | Startups/mid-market in Stripe ecosystem, quick integration |
101
- | **TaxJar** | Multi-channel (Shopify + custom), moderate volume, standard ERP |
102
- | **Avalara AvaTax** | Enterprise, high volume, complex Nexus, custom ERP, localized tax |
103
-
104
- ### Economic Nexus Threshold Monitoring
105
- - **Track**: US state-by-state transaction count + sales volume
106
- - **Alert at 80%** of threshold (e.g., 160 transactions or $80K sales)
107
- - **Most states**: $100K sales OR 200 transactions (many dropped transaction count)
108
- - **Stripe Tax**: Automated monitoring + alerts + auto-registration option
109
- - **TaxJar**: Economic Nexus Insights with real-time tracking
110
-
111
- ---
112
-
113
- ## 5. Fulfillment Architecture (2026)
114
-
115
- ### Event-Sourced Order State Machine (Mandatory)
116
- - **Immutable append-only event log**:
117
- `order_placed` → `payment_captured` → `fulfillment_started` → `packed` → `shipped` → `delivered` → `completed`
118
- ↘ `return_requested` → `returned` → `refunded`
119
- - **Derive status by projection** — direct mutable status updates FORBIDDEN
120
- - **Benefits**: Audit trails, time-travel debugging, compliance evidence
121
-
122
- ### Orchestration-Based Saga Pattern
123
- - **Temporal** or **AWS Step Functions** (not choreography)
124
- - **Explicit compensating branches**: `payment_failed`, `allocation_failed`, `cancelled`, `return_requested`, `refunded`
125
- - **Compensation order**: Reverse of success (Shipping → Inventory → Payment)
126
- - **Temporal**: Durable execution, automatic retries, built-in compensation registration
127
-
128
- ### Agent-Initiated Fulfillment Authorization
129
- - **JWT claim required**: `fulfillment_authorized: true`
130
- - **Cryptographically scoped** to specific order ID
131
- - **Verify BEFORE** inventory lock or allocation
132
-
133
- ### Vietnamese Last-Mile Carrier Webhooks
134
- | Carrier | Key Features |
135
- |---------|--------------|
136
- | **GHN** | `ready_to_pick`, `delivering`, `delivered` webhooks, COD callback URL, automated sortation |
137
- | **GHTK** | G1 Open API: sorting code, create/cancel/tracking/big bag endpoints |
138
- | **GrabExpress** | On-demand same-city, real-time courier tracking, webhook lifecycle |
139
- | **Viettel Post** | Government-backed, nationwide coverage |
140
- | **J&T Express** | Regional Southeast Asia coverage |
141
-
142
- - **Normalization**: Map all carrier codes → unified milestones: `label_created` → `picked_up` → `in_transit` → `out_for_delivery` → `exception` / `delivered`
143
- - **Webhooks OVER polling** for all carriers
144
-
145
- ### Vietnam Decree 248/2026/ND-CP (Effective July 1, 2026)
146
- - **Seller identity verification**: Platform must verify before allowing business
147
- - **Platform obligations**: Disclose rights/obligations, service standards, pricing, promotions, security, complaints
148
- - **Affiliate transparency**: Roles, links, referral codes, responsibilities disclosed
149
- - **Electronic ID verification**: Sellers + livestream sellers from Jan 1, 2027
150
-
151
- ### Restock Inspection Gate (Enhanced)
152
- - **Physical inspection mandatory**: Grade A confirmation before restock
153
- - **Event-sourced**: `return_received` → `inspection_completed` (Grade A) → `restocked`
154
- - **Automatic restock on RMA creation FORBIDDEN**
155
-
156
- ---
157
-
158
- ## 6. Product Catalog Modernization (2026)
159
-
160
- ### Semantic Vector Search Layer (Production Standard)
161
- - **Embeddings**: `text-embedding-3-large` or Cohere `embed-v4` on write/update
162
- - **Storage**: `pgvector` (PostgreSQL) or Pinecone
163
- - **Hybrid Fusion**: BM25 + dense vector via **Reciprocal Rank Fusion (RRF)**
164
- - **Benefits**: Synonym handling, typo tolerance, semantic understanding
165
-
166
- ### AI-Generated Content Governance (Mandatory)
167
- - **Review Gate**: Human review REQUIRED before `published` status
168
- - **Audit Metadata**: `generated_by`, `reviewed_by`, `generated_at`, `generation_model`
169
- - **Brand Voice Validation**: Automated banned words, claim accuracy, brand guidelines checks
170
- - **Draft Status**: Unreviewed AI output = `draft` (never `published`)
171
-
172
- ### Event Sourcing for Real-Time Inventory
173
- - **Publish mutations** → Kafka / Cloudflare Queues immediately
174
- - **Consumers**: Search indexes, fulfillment dispatchers, AI shopping agents
175
- - **No DB locking** — eventual consistency via event stream
176
- - **CDC alternative**: Debezium for database → Kafka
177
-
178
- ### Knowledge Graph + GraphRAG
179
- - **Graph DBs**: Neo4j, Amazon Neptune, TigerGraph, Memgraph
180
- - **Use cases**: Recommendations, compatibility matrices, bundles
181
- - **GraphRAG**: Structured subgraphs → LLM retrieval chains for grounded recommendations
182
- - **Entity Resolution**: Validated against labels, CDC from Salesforce/Jira/GitHub/ServiceNow/SQL via Kafka/Airbyte
183
- - **Schema Enforcement**: Pydantic models for all entities/relations/LLM outputs — drift fails in CI
184
- - **Cited Reasoning**: LangChain GraphCypherQAChain (NL → Cypher → structured results + Qdrant vectors → Claude)
185
-
186
- ---
187
-
188
- ## 7. Security Guardrails (OWASP ASI - Applied Across All Skills)
189
-
190
- | ASI | Description | Commerce Application |
191
- |-----|-------------|---------------------|
192
- | **ASI01** | Goal Hijack | Validate checkout/payment/fulfillment requests against declared cart/order/catalog |
193
- | **ASI03** | Identity & Privilege Abuse | Enforce authn/authz on all commerce endpoints; PII/classified data never exposed |
194
- | **ASI04** | Supply Chain | Schema-validate catalog, marketplace connectors, payment webhooks against manifests |
195
- | **ASI05** | RCE Guard | Never construct pricing/payment/shipping payloads from external content without validation |
196
- | **ASI07** | Inter-Agent Communication | Emit structured specs (`api-contract-spec.json`, etc.) for all cross-role contracts |
197
- | **ASI09** | Human-Agent Trust Exploitation | Surface residual risk honestly; don't claim "PCI-compliant"/"secure" without audit evidence |
198
-
199
- ---
200
-
201
- ## 8. Cross-Skill Integration Patterns
202
-
203
- ### Checkout → Payment → Fulfillment → Catalog Flow
204
- ```
205
- 1. handle-checkout-flow
206
- ├── Server-side cart recalculation (Zero Client-Trust Pricing)
207
- ├── Address validation (Google Maps/Loqate) → MANDATORY before tax/shipping
208
- ├── Tax engine selection (Stripe Tax/TaxJar/Avalara decision tree)
209
- ├── Economic nexus monitoring (80% threshold alerts)
210
- ├── PCI DSS 6.4.3/11.6.1 compliance (SRI + CSP + tamper detection)
211
- ├── ACP/UCP agentic checkout support (pre-auth gates, MoR, programmatic)
212
- └── Calls integrate-payment-gateway
213
-
214
- 2. integrate-payment-gateway
215
- ├── MPP/x402 programmatic agent payments (HTTP 402)
216
- ├── Dynamic payment methods (automatic_payment_methods: true)
217
- ├── BNPL messaging on PDP/cart
218
- ├── A2A bank settlement state machine + inventory TTL
219
- ├── Queue-first webhooks (200 OK <500ms, async worker, dual-write guard)
220
- ├── Webhook security (raw payload HMAC, constant-time compare, 300s replay window)
221
- └── Calls manage-order-fulfillment on success
222
-
223
- 3. manage-order-fulfillment
224
- ├── Event-sourced state machine (immutable log, projection-only status)
225
- ├── Orchestration-based Saga (Temporal/Step Functions, compensating branches)
226
- ├── Agent JWT fulfillment_authorized: true claim verification
227
- ├── Vietnam carrier webhooks (GHN/GHTK/GrabExpress → unified milestones)
228
- ├── Decree 248/2026 seller verification gate
229
- ├── Restock inspection gate (Grade A required)
230
- └── Consumes manage-product-catalog inventory events
231
-
232
- 4. manage-product-catalog
233
- ├── Semantic vector search (embeddings + pgvector/Pinecone + RRF)
234
- ├── AI content governance (review gate, audit metadata, brand validation)
235
- ├── Event-sourced inventory (Kafka/Cloudflare Queues → consumers)
236
- ├── Knowledge Graph + GraphRAG (Neo4j/Neptune, GraphCypherQAChain)
237
- ├── Pydantic schema enforcement (CI gate)
238
- ├── Vietnam seller verification gate
239
- └── Emits inventory events for fulfillment consumption
240
- ```
241
-
242
- ---
243
-
244
- ## 9. Contract Schemas Required (2026)
245
-
246
- ### New Schemas to Create
247
- | Schema | Owner Skill | Purpose |
248
- |--------|-------------|---------|
249
- | `agentic-commerce-spec.json` | handle-checkout-flow | ACP/UCP endpoints, pre-auth gates, MoR |
250
- | `address-validation-spec.json` | handle-checkout-flow | Validation API contract |
251
- | `tax-engine-spec.json` | handle-checkout-flow | Selected tax engine integration |
252
- | `mpp-payment-spec.json` | integrate-payment-gateway | MPP HTTP 402 flow |
253
- | `x402-payment-spec.json` | integrate-payment-gateway | x402 crypto payment flow |
254
- | `bnpl-messaging-spec.json` | integrate-payment-gateway | BNPL element integration |
255
- | `a2a-settlement-spec.json` | integrate-payment-gateway | A2A webhook state machine |
256
- | `event-sourced-order-spec.json` | manage-order-fulfillment | Event log schema + projection |
257
- | `saga-orchestration-spec.json` | manage-order-fulfillment | Temporal/Step Functions workflow |
258
- | `agent-fulfillment-auth-spec.json` | manage-order-fulfillment | JWT claim verification |
259
- | `vn-carrier-webhook-spec.json` | manage-order-fulfillment | GHN/GHTK/GrabExpress contracts |
260
- | `restock-inspection-spec.json` | manage-order-fulfillment | Inspection gate workflow |
261
- | `vector-search-spec.json` | manage-product-catalog | Embedding pipeline + RRF config |
262
- | `ai-content-governance-spec.json` | manage-product-catalog | Generation → review → publish |
263
- | `event-sourced-inventory-spec.json` | manage-product-catalog | Kafka event schema + consumers |
264
- | `product-knowledge-graph-spec.json` | manage-product-catalog | GraphRAG entities/relations/retrieval |
265
- | `vn-seller-verification-spec.json` | manage-product-catalog | Verification gate integration |
266
- | `pydantic-catalog-schema.json` | manage-product-catalog | Enforced entity/relation schemas |
267
-
268
- ---
269
-
270
- ## 10. Implementation Priority Matrix
271
-
272
- | Priority | handle-checkout-flow | integrate-payment-gateway | manage-order-fulfillment | manage-product-catalog |
273
- |----------|---------------------|--------------------------|-------------------------|------------------------|
274
- | **P0** | PCI DSS v4.0.1 6.4.3/11.6.1 | MPP HTTP 402 flow | Event-sourced state machine | Vector search layer |
275
- | **P0** | ACP/UCP agentic checkout | x402 crypto payments | Orchestration Saga (Temporal) | AI content governance |
276
- | **P0** | Address validation lifecycle | Queue-first webhooks | Agent JWT auth verification | Event-sourced inventory |
277
- | **P1** | Tax engine decision tree | Dynamic payment methods | Vietnam carrier webhooks | Knowledge Graph + GraphRAG |
278
- | **P1** | Nexus 80% monitoring | BNPL messaging | Decree 248/2026 compliance | Pydantic schema enforcement |
279
- | **P1** | Decree 248/2026 compliance | A2A settlement state machine | Restock inspection gate | Vietnam seller verification |
280
- | **P2** | Failure mode expansion | Programmatic agent checkout | Temporal e-commerce patterns | CDC event streaming |
281
- | **P2** | Output contract updates | Stripe 2026 roadmap eval | Failure mode expansion | Failure mode expansion |
282
-
283
- ---
284
-
285
- ## 11. Validation Gates (All Skills)
286
-
287
- 1. **Run validation**: `python3 core/scripts/validate-all.py` from agent-skills root
288
- 2. **Regenerate INDEX.md** if VERSION bumped: `python3 core/scripts/generate-index.py`
289
- 3. **Check adapter parity**: `validate-rules.py` (9 parity groups)
290
- 4. **Skill-specific tests**:
291
- - MPP: `npx mppx@latest validate`
292
- - x402: Stripe `2026-05-27.preview` API
293
- - Event sourcing: Time-travel projection queries
294
- - Saga: Compensation rollback with injected failures
295
- - Vector search: RRF fusion relevance benchmarks
296
- - GraphRAG: Citation accuracy on recommendations
297
- - Pydantic: Schema drift detection in CI
298
- - Carrier webhooks: Signature verification tests
299
-
300
- ---
301
-
302
- ## 12. Key References
303
-
304
- - **PCI DSS v4.0.1**: https://www.pcisecuritystandards.org/
305
- - **ACP Changelog**: https://agenticcommerceprotocol.info/changelog
306
- - **UCP Spec**: GitHub (Google + partners)
307
- - **MPP Docs**: https://docs.stripe.com/payments/machine/mpp
308
- - **x402 Docs**: https://docs.stripe.com/payments/machine/x402
309
- - **Stripe Roadmap**: https://stripe.com/roadmap.md
310
- - **Temporal Saga**: https://docs.temporal.io/design-patterns/saga-pattern
311
- - **GHN API**: https://api.ghn.vn/
312
- - **GHTK API**: https://pro-docs.ghtk.vn/
313
- - **GrabExpress**: https://developer.grab.com/docs/grab-express/
314
- - **Decree 248/2026**: Vietnam Ministry of Industry and Trade
315
- - **GraphRAG**: Microsoft Research, Neo4j, TigerGraph, Graphwise
316
- - **pgvector**: https://github.com/pgvector/pgvector
@@ -1,99 +0,0 @@
1
- # handle-checkout-flow — 2026 Upgrade Plan
2
-
3
- ## Summary of 2026 Standards Changes
4
-
5
- ### PCI DSS v4.0.1 (Effective March 31, 2025)
6
- - **Requirement 6.4.3**: All JavaScript on payment pages must be inventoried, justified, and loaded with Subresource Integrity (SRI) hashes + strict CSP nonce (`script-src 'nonce-...'`)
7
- - **Requirement 11.6.1**: Automated tamper detection monitoring payment page HTTP headers and client-side scripts at least weekly (or continuously) for Magecart/formjacking detection
8
- - SAQ A eligibility criteria updated (Jan 2025) — Requirements 6.4.3 and 11.6.1 removed from SAQ A for qualifying merchants
9
-
10
- ### Agentic Commerce Protocol (ACP) & Universal Commerce Protocol (UCP)
11
- - **ACP** (OpenAI + Stripe, announced Sep 2025): Agentic Commerce Protocol for AI agents to execute purchases
12
- - **UCP** (Google + partners, launched Jan 2026): Universal Commerce Protocol, Apache 2.0, compatible with A2A, AP2, MCP
13
- - **Latest UCP v2026-08-25**: Multi-vertical foundations, grocery/location capabilities, 3DS2 flows, payment schedules, split payments, granular consent, loyalty support (breaking schema changes)
14
- - **AP2 v0.2** (Apr 2026): Agent Payments Protocol donated to FIDO Alliance, Human Not Present payments for autonomous pre-authorized transactions
15
-
16
- ### EMV 3DS 2.3.1
17
- - 100+ context attributes for frictionless risk-based authentication (>85% challenge-free)
18
- - SCA exemption engine: Low-Value, TRA (Transaction Risk Analysis), Trusted Beneficiary
19
-
20
- ### Address Validation Lifecycle (Mandatory 2026)
21
- - Must occur BEFORE tax calculation or shipping carrier requests
22
- - API Standards: Google Maps Address Validation, Loqate, Smarty Streets
23
- - Error handling: precise error subcodes for missing apartment numbers, invalid zip codes
24
-
25
- ### Tax Calculation Decision Tree (2026)
26
- - **Stripe Tax**: Startups/mid-market within Stripe ecosystem, quick integration
27
- - **TaxJar**: Multi-channel merchants (Shopify + custom), moderate volume, standard ERP
28
- - **Avalara AvaTax**: Enterprise, high volume, complex Nexus, custom ERP, localized tax
29
-
30
- ### Economic Nexus Threshold Monitoring
31
- - Track US state-by-state transaction count and sales volume programmatically
32
- - Alert at 80% of threshold (e.g., 200 transactions or $100,000 sales)
33
- - Most states: $100K sales OR 200 transactions (some dropped transaction count)
34
-
35
- ---
36
-
37
- ## Required Skill Upgrades
38
-
39
- ### 1. Core Rules Updates
40
- | Current Rule | 2026 Upgrade |
41
- |--------------|--------------|
42
- | PCI DSS v4.0 references | Update to **PCI DSS v4.0.1** with 6.4.3 and 11.6.1 specifics |
43
- | EMV 3DS generic | Specify **EMV 3DS 2.3.1** with 100+ context attributes |
44
- | Agentic checkout mention | Add **ACP/UCP protocol integration** with pre-authorization gates, MoR assignment, programmatic checkout |
45
- | Address validation | Add **mandatory address validation lifecycle** before tax/shipping |
46
- | Tax engine selection | Add **decision tree** (Stripe Tax vs TaxJar vs Avalara) |
47
- | Nexus monitoring | Add **80% threshold alerting** with automated registration triggers |
48
-
49
- ### 2. New 2026 Patterns to Add
50
- - **Agentic Checkout Architecture** section (already partially there, expand with ACP/UCP specifics)
51
- - **Address Validation Lifecycle** as mandatory isolated step
52
- - **Stripe Tax / TaxJar / Avalara Decision Tree** with selection criteria
53
- - **Economic Nexus Threshold Monitoring** with 80% alerting
54
- - **Vietnam Decree 248/2026/ND-CP compliance** (seller identity verification, platform obligations)
55
-
56
- ### 3. Checklist Additions
57
- - [ ] PCI DSS v4.0.1 Requirement 6.4.3: SRI hashes + CSP nonce on all payment page scripts
58
- - [ ] PCI DSS v4.0.1 Requirement 11.6.1: Automated tamper detection (weekly/continuous)
59
- - [ ] ACP/UCP protocol support for agentic checkout flows
60
- - [ ] Pre-authorization gates and spending limits per agent session
61
- - [ ] Merchant of Record (MoR) assignment for agentic transactions
62
- - [ ] Programmatic checkout without interactive browser sessions
63
- - [ ] Address validation via Google Maps/Loqate/Smarty Streets BEFORE tax/shipping
64
- - [ ] Tax engine selection based on decision tree criteria
65
- - [ ] Economic nexus monitoring at 80% threshold with alerts
66
- - [ ] Vietnam Decree 248/2026 compliance: seller identity verification
67
-
68
- ### 4. Failure Mode Additions
69
- - **Agentic checkout fraud**: Unauthorized agent spending beyond limits → Mitigation: Pre-authorization gates, spending limits, MoR assignment
70
- - **Address validation bypass**: Tax/shipping calculated on invalid address → Mitigation: Mandatory validation gate before calculation
71
- - **Nexus threshold breach**: Unregistered tax collection → Mitigation: 80% alerting, auto-registration workflow
72
- - **PCI script injection**: Magecart via unverified third-party scripts → Mitigation: SRI + CSP nonce + weekly automated scanning
73
-
74
- ### 5. Output Contract Updates
75
- - Add `contracts/schemas/agentic-commerce-spec.json` for ACP/UCP endpoints
76
- - Add `contracts/schemas/address-validation-spec.json` for validation API contract
77
- - Add `contracts/schemas/tax-engine-spec.json` for selected tax engine integration
78
-
79
- ---
80
-
81
- ## Implementation Priority
82
-
83
- | Priority | Task | Effort |
84
- |----------|------|--------|
85
- | P0 | Update PCI DSS references to v4.0.1 with 6.4.3/11.6.1 specifics | Low |
86
- | P0 | Add ACP/UCP agentic checkout architecture section | Medium |
87
- | P0 | Add mandatory address validation lifecycle | Medium |
88
- | P1 | Add tax engine decision tree (Stripe Tax/TaxJar/Avalara) | Medium |
89
- | P1 | Add economic nexus 80% threshold monitoring | Medium |
90
- | P1 | Add Vietnam Decree 248/2026 compliance notes | Low |
91
- | P2 | Expand failure modes with 2026-specific scenarios | Low |
92
- | P2 | Update output contracts for new specs | Low |
93
-
94
- ---
95
-
96
- ## Validation Gates
97
- - Run `python3 core/scripts/validate-all.py` from agent-skills root after edits
98
- - Verify INDEX.md regeneration if VERSION bumped
99
- - Check adapter parity with `validate-rules.py` (9 parity groups)