@vesviet/agent-skills 5.8.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 (454) hide show
  1. package/INDEX.md +35 -22
  2. package/README.md +7 -18
  3. package/VERSION +1 -1
  4. package/adapters/antigravity/ANTIGRAVITY.md +40 -142
  5. package/adapters/antigravity/INDEX_TIER1.json +174 -146
  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 +175 -58
  9. package/adapters/claude/CLAUDE_ADAPTER.md +3 -7
  10. package/adapters/claude/settings.template.json +18 -3
  11. package/adapters/cursor/README.md +1 -5
  12. package/adapters/cursor/hooks.template.json +4 -2
  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/action-boundaries.yaml +10 -1
  18. package/core/policies/execution-sandbox.md +0 -12
  19. package/core/policies/mcp-tool-map.yaml +28 -0
  20. package/core/roles/3d-graphics-engineer.md +144 -208
  21. package/core/roles/README.md +1 -23
  22. package/core/roles/agent-coordinator.md +28 -147
  23. package/core/roles/agent-discovery-engineer.md +46 -39
  24. package/core/roles/ai-systems-engineer.md +2 -0
  25. package/core/roles/backend-developer.md +22 -117
  26. package/core/roles/cloudflare-engineer.md +1 -1
  27. package/core/roles/data-engineer.md +3 -1
  28. package/core/roles/devops-engineer.md +4 -3
  29. package/core/roles/ecommerce-engineer.md +18 -6
  30. package/core/roles/frontend-developer.md +146 -317
  31. package/core/roles/game-developer.md +2 -1
  32. package/core/roles/mobile-engineer.md +18 -204
  33. package/core/roles/product-manager.md +3 -3
  34. package/core/roles/project-manager.md +5 -5
  35. package/core/roles/references/3d-graphics-engineer-review-checklist.md +109 -109
  36. package/core/roles/references/agent-coordinator-responsibilities.md +120 -0
  37. package/core/roles/references/agent-coordinator-review-checklist.md +22 -4
  38. package/core/roles/references/agent-discovery-engineer-review-checklist.md +29 -20
  39. package/core/roles/references/backend-developer-responsibilities.md +47 -0
  40. package/core/roles/references/backend-developer-review-checklist.md +15 -0
  41. package/core/roles/references/business-analyst-responsibilities.md +2 -2
  42. package/core/roles/references/frontend-developer-responsibilities.md +14 -6
  43. package/core/roles/references/frontend-developer-review-checklist.md +13 -6
  44. package/core/roles/references/mobile-engineer-responsibilities.md +137 -0
  45. package/core/roles/references/mobile-engineer-review-checklist.md +63 -0
  46. package/core/roles/references/reviewer-review-checklist.md +54 -0
  47. package/core/roles/references/sdet-review-checklist.md +53 -0
  48. package/core/roles/references/solution-architect-responsibilities.md +134 -0
  49. package/core/roles/references/sre-review-checklist.md +81 -0
  50. package/core/roles/references/system-engineer-responsibilities.md +124 -0
  51. package/core/roles/references/technical-architect-responsibilities.md +192 -0
  52. package/core/roles/references/technical-architect-review-checklist.md +58 -0
  53. package/core/roles/references/technical-lead-review-checklist.md +65 -0
  54. package/core/roles/references/ui-ux-designer-anti-slop-standards.md +61 -35
  55. package/core/roles/references/ui-ux-designer-responsibilities.md +79 -226
  56. package/core/roles/references/ui-ux-designer-review-checklist.md +102 -116
  57. package/core/roles/references/vietnam-accounting-specialist-review-checklist.md +6 -6
  58. package/core/roles/researcher.md +3 -3
  59. package/core/roles/reviewer.md +2 -2
  60. package/core/roles/role-standard.md +79 -205
  61. package/core/roles/sdet.md +5 -6
  62. package/core/roles/security-engineer.md +4 -3
  63. package/core/roles/solution-architect.md +9 -130
  64. package/core/roles/sre.md +1 -0
  65. package/core/roles/system-engineer.md +15 -155
  66. package/core/roles/task-planner.md +1 -1
  67. package/core/roles/technical-architect.md +15 -244
  68. package/core/roles/technical-lead.md +1 -0
  69. package/core/roles/technical-writer.md +3 -3
  70. package/core/roles/ui-ux-designer.md +158 -303
  71. package/core/roles/vietnam-accounting-specialist.md +20 -20
  72. package/core/rules/README.md +0 -22
  73. package/core/rules/code.md +11 -6
  74. package/core/skills/README.md +12 -25
  75. package/core/skills/agent/agent-delegation/SKILL.md +11 -0
  76. package/core/skills/agent/agent-graph-orchestration/SKILL.md +5 -0
  77. package/core/skills/agent/agent-memory-compaction/SKILL.md +79 -82
  78. package/core/skills/agent/agent-memory-compaction/references/anchored-schema-and-compaction-algorithms.md +74 -115
  79. package/core/skills/agent/agent-model-routing/SKILL.md +2 -0
  80. package/core/skills/agent/agent-observability/SKILL.md +12 -6
  81. package/core/skills/agent/agent-observability/references/session-forensics-7-dimensions.md +41 -0
  82. package/core/skills/agent/agent-panel-meeting/SKILL.md +3 -3
  83. package/core/skills/agent/agent-quality-gate/SKILL.md +9 -0
  84. package/core/skills/agent/configure-agent-commerce/SKILL.md +2 -0
  85. package/core/skills/agent/configure-agent-commerce/examples/ucp-commerce-manifest-and-endpoints.json +55 -0
  86. package/core/skills/agent/configure-agent-commerce/references/acp-ucp-agent-commerce-manifest-specs.md +66 -0
  87. package/core/skills/agent/configure-agent-headers/SKILL.md +3 -0
  88. package/core/skills/agent/configure-agent-skills/SKILL.md +4 -4
  89. package/core/skills/agent/configure-oauth-metadata/SKILL.md +10 -7
  90. package/core/skills/agent/manage-agent-identity/SKILL.md +2 -0
  91. package/core/skills/agent/manage-agent-identity/examples/agent-identity-spire-workload.yaml +72 -0
  92. package/core/skills/agent/manage-agent-identity/references/nhi-lifecycle-and-token-rotation.md +45 -0
  93. package/core/skills/ai/deploy-vllm-inference/SKILL.md +2 -0
  94. package/core/skills/ai/deploy-vllm-inference/examples/vllm-production-serve-config.yaml +22 -0
  95. package/core/skills/ai/deploy-vllm-inference/references/vllm-v1-paged-attention-and-kv-tiering.md +20 -0
  96. package/core/skills/ai/openrouter-task/SKILL.md +5 -5
  97. package/core/skills/ai-agent/context-optimization/SKILL.md +2 -0
  98. package/core/skills/ai-agent/context-optimization/examples/context-pruner-and-reorderer.py +85 -0
  99. package/core/skills/ai-agent/context-optimization/references/token-budgeting-and-attention-allocation.md +47 -0
  100. package/core/skills/ai-agent/memory-hygiene/SKILL.md +13 -0
  101. package/core/skills/ai-agent/memory-hygiene/examples/memory-audit-and-compaction-routine.py +90 -0
  102. package/core/skills/ai-agent/memory-hygiene/references/agent-memory-vault-spec.md +137 -0
  103. package/core/skills/ai-agent/memory-hygiene/references/owasp-asi06-and-memory-poisoning-defense.md +38 -0
  104. package/core/skills/backend/add-api-endpoint/SKILL.md +9 -0
  105. package/core/skills/backend/add-api-endpoint/examples/express-zod-rfc9457-endpoint.md +329 -0
  106. package/core/skills/backend/add-api-endpoint/examples/kratos-go-clean-architecture-endpoint.md +405 -0
  107. package/core/skills/backend/add-api-endpoint/references/idempotency-and-rate-limiting.md +116 -0
  108. package/core/skills/backend/add-event-handler/SKILL.md +12 -1
  109. package/core/skills/backend/add-event-handler/examples/go-outbox-skip-locked-relay.go +97 -0
  110. package/core/skills/backend/add-event-handler/references/transactional-outbox-and-cloudevents.md +42 -0
  111. package/core/skills/backend/add-service-client/SKILL.md +2 -0
  112. package/core/skills/backend/add-service-client/examples/ts-circuit-breaker-full-jitter-client.ts +71 -0
  113. package/core/skills/backend/add-service-client/references/resilient-client-circuit-breaker-specs.md +25 -0
  114. package/core/skills/backend/build-mcp-server/SKILL.md +2 -0
  115. package/core/skills/backend/build-mcp-server/examples/ts-stateless-mcp-server-zod.ts +52 -0
  116. package/core/skills/backend/build-mcp-server/references/mcp-2026-stateless-contract-specs.md +21 -0
  117. package/core/skills/backend/design-caching-and-locking/SKILL.md +83 -0
  118. package/core/skills/backend/design-caching-and-locking/examples/redis-lua-atomic-reservation-fencing.lua +30 -0
  119. package/core/skills/backend/design-caching-and-locking/references/redis-lua-fencing-and-stampede-specs.md +25 -0
  120. package/core/skills/backend/design-caching-and-locking/scripts/verify_lua_atomicity.py +68 -0
  121. package/core/skills/backend/implement-auth/SKILL.md +9 -0
  122. package/core/skills/backend/implement-structured-outputs/SKILL.md +2 -0
  123. package/core/skills/backend/implement-structured-outputs/examples/python-pydantic-structured-output.py +65 -0
  124. package/core/skills/backend/implement-structured-outputs/references/constrained-decoding-and-double-validation.md +18 -0
  125. package/core/skills/backend/optimize-postgres/SKILL.md +9 -0
  126. package/core/skills/backend/scaffold-new-service/SKILL.md +2 -1
  127. package/core/skills/backend/scaffold-new-service/references/deep-modules-and-seams.md +43 -0
  128. package/core/skills/business/elicit-requirements/SKILL.md +2 -0
  129. package/core/skills/business/trace-requirements-impact/SKILL.md +1 -0
  130. package/core/skills/business/write-use-cases/SKILL.md +1 -0
  131. package/core/skills/commerce/handle-checkout-flow/SKILL.md +18 -66
  132. package/core/skills/commerce/handle-checkout-flow/examples/production-checkout-orchestrator.ts +185 -0
  133. package/core/skills/commerce/handle-checkout-flow/references/pci-dss-v4-and-agentic-checkout-specs.md +72 -0
  134. package/core/skills/commerce/integrate-payment-gateway/SKILL.md +22 -58
  135. package/core/skills/commerce/integrate-payment-gateway/examples/resilient-webhook-and-mpp-handler.ts +164 -0
  136. package/core/skills/commerce/integrate-payment-gateway/references/mpp-x402-and-webhook-security-specs.md +47 -0
  137. package/core/skills/commerce/manage-order-fulfillment/SKILL.md +17 -50
  138. package/core/skills/commerce/manage-order-fulfillment/examples/temporal-fulfillment-saga.ts +104 -0
  139. package/core/skills/commerce/manage-order-fulfillment/references/event-sourced-fulfillment-and-carrier-webhooks.md +58 -0
  140. package/core/skills/commerce/manage-product-catalog/SKILL.md +5 -1
  141. package/core/skills/commerce/manage-product-catalog/examples/hybrid-search-and-governance-pipeline.ts +120 -0
  142. package/core/skills/commerce/manage-product-catalog/references/semantic-vector-catalog-and-graphrag.md +54 -0
  143. package/core/skills/content/write-article/SKILL.md +1 -1
  144. package/core/skills/document/docx/SKILL.md +1 -0
  145. package/core/skills/document/pdf/SKILL.md +2 -0
  146. package/core/skills/document/pdf/references/pdf-acroforms-and-pdfplumber-specs.md +54 -0
  147. package/core/skills/document/pdf/scripts/check_fillable_fields.py +144 -0
  148. package/core/skills/document/pdf/scripts/fill_fillable_fields.py +145 -0
  149. package/core/skills/document/xlsx/SKILL.md +1 -0
  150. package/core/skills/documentation/configure-llms-txt/SKILL.md +3 -0
  151. package/core/skills/documentation/configure-llms-txt/examples/canonical-llms-txt-and-full-txt.md +45 -0
  152. package/core/skills/documentation/configure-llms-txt/references/llms-txt-and-llms-full-txt-standard.md +37 -0
  153. package/core/skills/documentation/write-documentation/SKILL.md +4 -1
  154. package/core/skills/documentation/write-documentation/examples/microservice-production-readme-and-api-docs.md +70 -0
  155. package/core/skills/documentation/write-documentation/references/diataxis-framework-and-doc-standards.md +62 -0
  156. package/core/skills/documentation/write-tech-radar/SKILL.md +1 -0
  157. package/core/skills/education/create-exercises/SKILL.md +1 -0
  158. package/core/skills/education/design-learning-plan/SKILL.md +1 -0
  159. package/core/skills/education/grade-and-review/SKILL.md +1 -0
  160. package/core/skills/foundation/accessibility-review/SKILL.md +1 -0
  161. package/core/skills/foundation/ai-risk-assessment/SKILL.md +4 -5
  162. package/core/skills/foundation/ai-risk-assessment/examples/genai-system-risk-register.md +67 -0
  163. package/core/skills/foundation/ai-risk-assessment/references/nist-ai-rmf-and-eu-ai-act-taxonomy.md +49 -0
  164. package/core/skills/foundation/combinatorial-testing/SKILL.md +1 -0
  165. package/core/skills/foundation/conduct-research/SKILL.md +2 -2
  166. package/core/skills/foundation/conduct-research/references/ai-era-source-discipline.md +1 -1
  167. package/core/skills/foundation/create-migration/SKILL.md +10 -0
  168. package/core/skills/foundation/design-review/SKILL.md +9 -10
  169. package/core/skills/foundation/design-ux-flow/SKILL.md +9 -7
  170. package/core/skills/foundation/discernment-nudge/SKILL.md +2 -0
  171. package/core/skills/foundation/hostile-component-stress-testing/SKILL.md +1 -0
  172. package/core/skills/foundation/incident-report/SKILL.md +1 -0
  173. package/core/skills/foundation/plan-technical-delivery/SKILL.md +3 -1
  174. package/core/skills/foundation/playwright-evidence-qa/SKILL.md +1 -0
  175. package/core/skills/foundation/refactor-legacy-code/SKILL.md +84 -0
  176. package/core/skills/foundation/refactor-legacy-code/examples/characterization-test-seam-extraction.py +34 -0
  177. package/core/skills/foundation/refactor-legacy-code/references/strangler-fig-seams-and-characterization-tests.md +17 -0
  178. package/core/skills/foundation/refactor-legacy-code/scripts/check_refactor_blast_radius.py +63 -0
  179. package/core/skills/foundation/release-notes/SKILL.md +3 -3
  180. package/core/skills/foundation/release-notes/examples/enterprise-platform-release-notes.md +42 -0
  181. package/core/skills/foundation/release-notes/references/keep-a-changelog-and-semver-governance.md +43 -0
  182. package/core/skills/foundation/systematic-debugging/SKILL.md +15 -0
  183. package/core/skills/foundation/webapp-server-runner/SKILL.md +1 -0
  184. package/core/skills/foundation/write-product-brief/SKILL.md +1 -0
  185. package/core/skills/foundation/write-tests/SKILL.md +9 -0
  186. package/core/skills/foundation/write-tests/examples/anti-tautological-tdd-walkthrough.md +204 -0
  187. package/core/skills/foundation/write-tests/examples/testcontainers-kratos-integration-test.md +186 -0
  188. package/core/skills/foundation/write-tests/references/contract-and-chaos-testing.md +187 -0
  189. package/core/skills/frontend/INDEX.json +16 -0
  190. package/core/skills/frontend/add-page-route/SKILL.md +10 -8
  191. package/core/skills/frontend/add-page-route/examples/streaming-rsc-page-with-view-transition.tsx +133 -0
  192. package/core/skills/frontend/add-page-route/references/rsc-routing-and-view-transitions.md +72 -0
  193. package/core/skills/frontend/add-ui-component/SKILL.md +4 -1
  194. package/core/skills/frontend/add-ui-component/examples/compound-dialog-and-form-actions.tsx +193 -0
  195. package/core/skills/frontend/add-ui-component/references/react19-component-standards-and-anti-slop.md +55 -0
  196. package/core/skills/frontend/component-composition/SKILL.md +12 -1
  197. package/core/skills/frontend/component-composition/examples/headless-combobox-compound-component.tsx +207 -0
  198. package/core/skills/frontend/design-md-specification/SKILL.md +5 -0
  199. package/core/skills/frontend/design-system-engineering/SKILL.md +4 -2
  200. package/core/skills/frontend/frontend-micro-polish/SKILL.md +1 -0
  201. package/core/skills/frontend/frontend-testing/SKILL.md +4 -1
  202. package/core/skills/frontend/frontend-testing/examples/playwright-e2e-with-msw-and-axe.spec.ts +87 -0
  203. package/core/skills/frontend/frontend-testing/references/playwright-msw-and-a11y-testing-standards.md +78 -0
  204. package/core/skills/frontend/implement-ai-disclosure/SKILL.md +119 -0
  205. package/core/skills/frontend/implement-view-transitions/SKILL.md +1 -0
  206. package/core/skills/frontend/implement-webmcp/SKILL.md +7 -4
  207. package/core/skills/frontend/implement-webmcp/examples/webmcp-provider-and-hitl-modal.tsx +163 -0
  208. package/core/skills/frontend/implement-webmcp/references/webmcp-architecture-and-hitl-security.md +48 -0
  209. package/core/skills/frontend/integrate-api-client/SKILL.md +12 -12
  210. package/core/skills/frontend/integrate-api-client/examples/orval-query-and-streaming-mutation.ts +102 -0
  211. package/core/skills/frontend/integrate-api-client/references/orval-tanstack-query-and-streaming-specs.md +57 -0
  212. package/core/skills/frontend/interactive-component-workbench/SKILL.md +1 -0
  213. package/core/skills/frontend/motion-performance-engineering/SKILL.md +1 -0
  214. package/core/skills/frontend/setup-design-system/SKILL.md +6 -3
  215. package/core/skills/frontend/setup-design-system/examples/tailwind-v4-theme-and-dtcg-tokens.css +87 -0
  216. package/core/skills/frontend/setup-design-system/references/tailwind-v4-oklch-and-dtcg-tokens.md +61 -0
  217. package/core/skills/frontend/setup-visual-regression/SKILL.md +8 -5
  218. package/core/skills/frontend/setup-visual-regression/examples/visual-regression-playwright.config.ts +83 -0
  219. package/core/skills/frontend/setup-visual-regression/references/visual-regression-docker-and-masking-specs.md +46 -0
  220. package/core/skills/frontend/ui-ux-designer-anti-slop-standards.md +64 -42
  221. package/core/skills/frontend/web-quality-audit/SKILL.md +1 -0
  222. package/core/skills/gamedev/abstract-input-actions/SKILL.md +2 -0
  223. package/core/skills/gamedev/abstract-input-actions/examples/input-action-manager.ts +85 -0
  224. package/core/skills/gamedev/abstract-input-actions/references/action-mapping-and-analog-deadzones.md +54 -0
  225. package/core/skills/gamedev/architect-ecs-systems/SKILL.md +2 -0
  226. package/core/skills/gamedev/architect-ecs-systems/examples/bevy-flecs-combat-system.rs +73 -0
  227. package/core/skills/gamedev/architect-ecs-systems/references/data-oriented-design-and-archetype-ecs.md +39 -0
  228. package/core/skills/gamedev/author-game-ai/SKILL.md +2 -0
  229. package/core/skills/gamedev/author-game-ai/examples/modular-behavior-tree-ai.ts +98 -0
  230. package/core/skills/gamedev/author-game-ai/references/behavior-trees-and-utility-ai-curves.md +47 -0
  231. package/core/skills/gamedev/configure-physics-collision/SKILL.md +2 -0
  232. package/core/skills/gamedev/configure-physics-collision/examples/kinematic-physics-substepping.cpp +100 -0
  233. package/core/skills/gamedev/configure-physics-collision/references/continuous-collision-detection-and-substepping.md +50 -0
  234. package/core/skills/gamedev/develop-gameplay-systems/SKILL.md +2 -0
  235. package/core/skills/gamedev/develop-gameplay-systems/examples/kinematic-character-controller.gd +86 -0
  236. package/core/skills/gamedev/develop-gameplay-systems/references/deterministic-gameplay-state-machines.md +42 -0
  237. package/core/skills/gamedev/implement-save-persistence/SKILL.md +2 -0
  238. package/core/skills/gamedev/implement-save-persistence/examples/versioned-save-manager.ts +127 -0
  239. package/core/skills/gamedev/implement-save-persistence/references/versioned-save-schemas-and-checksums.md +44 -0
  240. package/core/skills/gamedev/render-webgl-threejs/SKILL.md +14 -10
  241. package/core/skills/gamedev/render-webgl-threejs/examples/production-threejs-webgpu-scene.ts +116 -0
  242. package/core/skills/gamedev/render-webgl-threejs/references/webgpu-threejs-pbr-pipeline.md +72 -0
  243. package/core/skills/legal-compliance/audit-ai-compliance/SKILL.md +1 -0
  244. package/core/skills/legal-compliance/draft-legal-opinion/SKILL.md +1 -0
  245. package/core/skills/legal-compliance/manage-vietnam-legal/SKILL.md +1 -0
  246. package/core/skills/meetings-analysis/analyze-business-requirements/SKILL.md +1 -0
  247. package/core/skills/meetings-analysis/analyze-data/SKILL.md +1 -0
  248. package/core/skills/meetings-analysis/meeting-review/SKILL.md +1 -0
  249. package/core/skills/mmo/analyze-campaign-roi/SKILL.md +2 -0
  250. package/core/skills/mmo/analyze-campaign-roi/examples/campaign-roi-and-roas-dashboard.py +80 -0
  251. package/core/skills/mmo/analyze-campaign-roi/references/multi-touch-attribution-and-cpa-analytics.md +33 -0
  252. package/core/skills/mmo/create-automation-script/SKILL.md +2 -0
  253. package/core/skills/mmo/create-automation-script/examples/stealth-browser-automation-flow.ts +65 -0
  254. package/core/skills/mmo/create-automation-script/references/stealth-cdp-and-behavioral-mimicry.md +37 -0
  255. package/core/skills/mmo/deploy-mmo-infrastructure/SKILL.md +3 -0
  256. package/core/skills/mmo/deploy-mmo-infrastructure/examples/proxy-health-probe-and-rotation-daemon.py +75 -0
  257. package/core/skills/mmo/deploy-mmo-infrastructure/references/proxy-pool-rotation-and-anti-detect-specs.md +45 -0
  258. package/core/skills/mmo/deploy-proxyware-fleet/SKILL.md +3 -0
  259. package/core/skills/mmo/deploy-proxyware-fleet/examples/docker-compose-depin-light-node-fleet.yaml +52 -0
  260. package/core/skills/mmo/deploy-proxyware-fleet/references/depin-bandwidth-monetization-node-specs.md +43 -0
  261. package/core/skills/mmo/generate-mmo-content/SKILL.md +2 -0
  262. package/core/skills/mmo/generate-mmo-content/examples/pseo-programmatic-page-generator.ts +76 -0
  263. package/core/skills/mmo/generate-mmo-content/references/pseo-landing-pages-and-social-video-hooks.md +39 -0
  264. package/core/skills/mmo/manage-mmo-assets/SKILL.md +2 -0
  265. package/core/skills/mmo/manage-mmo-assets/examples/mmo-asset-vault-manager.py +63 -0
  266. package/core/skills/mmo/manage-mmo-assets/references/mmo-asset-rbac-and-vault-isolation.md +38 -0
  267. package/core/skills/mmo/setup-tracking-system/SKILL.md +2 -0
  268. package/core/skills/mmo/setup-tracking-system/examples/meta-capi-s2s-event-dispatcher.ts +79 -0
  269. package/core/skills/mmo/setup-tracking-system/references/server-to-server-postback-and-capi-specs.md +45 -0
  270. package/core/skills/mobile/deploy-mobile-app/SKILL.md +1 -0
  271. package/core/skills/mobile/develop-mobile-app/SKILL.md +1 -0
  272. package/core/skills/platform/add-telemetry-instrumentation/SKILL.md +2 -0
  273. package/core/skills/platform/add-telemetry-instrumentation/examples/kratos-otel-middleware-instrumentation.go +87 -0
  274. package/core/skills/platform/add-telemetry-instrumentation/references/opentelemetry-semantic-conventions-2026.md +37 -0
  275. package/core/skills/platform/agents-sdk/SKILL.md +1 -0
  276. package/core/skills/platform/aws-infrastructure/SKILL.md +2 -0
  277. package/core/skills/platform/aws-infrastructure/examples/opentofu-eks-pod-identity-vpc.tf +101 -0
  278. package/core/skills/platform/aws-infrastructure/references/opentofu-aws-zero-trust-and-irsa.md +40 -0
  279. package/core/skills/platform/cloudflare-email-service/SKILL.md +2 -2
  280. package/core/skills/platform/configure-ci-cd-pipeline/SKILL.md +83 -0
  281. package/core/skills/platform/configure-ci-cd-pipeline/examples/hardened-ci-matrix-workflow.yml +33 -0
  282. package/core/skills/platform/configure-ci-cd-pipeline/references/github-actions-sha-pinning-and-slsa-specs.md +22 -0
  283. package/core/skills/platform/configure-ci-cd-pipeline/scripts/audit_workflow_pinning.py +74 -0
  284. package/core/skills/platform/debug-runtime-platform/SKILL.md +1 -2
  285. package/core/skills/platform/debug-workers-edge/SKILL.md +2 -2
  286. package/core/skills/platform/durable-objects/SKILL.md +1 -0
  287. package/core/skills/platform/orchestrate-chaos-experiment/SKILL.md +1 -0
  288. package/core/skills/platform/sandbox-sdk/SKILL.md +1 -0
  289. package/core/skills/platform/setup-deployment/SKILL.md +6 -2
  290. package/core/skills/platform/setup-deployment/examples/kustomize-production-service-manifests.yaml +123 -0
  291. package/core/skills/platform/setup-deployment/references/interactive-hitl-wizard.md +55 -0
  292. package/core/skills/platform/setup-deployment/references/k8s-gitops-and-kustomize-invariants.md +40 -0
  293. package/core/skills/platform/setup-gpu-finops/SKILL.md +2 -0
  294. package/core/skills/platform/setup-gpu-finops/examples/gpu-finops-prometheus-rules.yaml +23 -0
  295. package/core/skills/platform/setup-gpu-finops/references/dcgm-kubecost-gpu-attribution-specs.md +16 -0
  296. package/core/skills/platform/setup-llm-gateway/SKILL.md +2 -0
  297. package/core/skills/platform/setup-llm-gateway/examples/litellm-gateway-config.yaml +28 -0
  298. package/core/skills/platform/setup-llm-gateway/references/litellm-routing-budget-failover-specs.md +16 -0
  299. package/core/skills/platform/supply-chain-security/SKILL.md +3 -2
  300. package/core/skills/platform/supply-chain-security/examples/github-actions-sbom-cosign.yaml +57 -0
  301. package/core/skills/platform/supply-chain-security/references/slsa-provenance-and-sbom-sigstore.md +60 -0
  302. package/core/skills/platform/turnstile-spin/SKILL.md +2 -2
  303. package/core/skills/platform/web-perf/SKILL.md +2 -2
  304. package/core/skills/platform/workers-best-practices/SKILL.md +1 -0
  305. package/core/skills/platform/wrangler/SKILL.md +1 -0
  306. package/core/skills/product/build-story-map/SKILL.md +3 -0
  307. package/core/skills/product/define-product-strategy/SKILL.md +1 -0
  308. package/core/skills/product/model-saas-metrics/SKILL.md +1 -0
  309. package/core/skills/product/prioritize-roadmap/SKILL.md +1 -0
  310. package/core/skills/repo-ops/commit-code/SKILL.md +1 -0
  311. package/core/skills/repo-ops/navigate-service/SKILL.md +28 -132
  312. package/core/skills/repo-ops/navigate-service/examples/service-boundary-map-example.md +14 -0
  313. package/core/skills/repo-ops/navigate-service/references/service-topology-mapping-guide.md +18 -0
  314. package/core/skills/repo-ops/review-code/SKILL.md +12 -2
  315. package/core/skills/repo-ops/review-code/examples/adversarial-two-axis-pr-review.md +167 -0
  316. package/core/skills/repo-ops/review-code/examples/ai-vibe-slop-remediation.md +220 -0
  317. package/core/skills/repo-ops/review-code/references/supply-chain-and-migration-safety.md +103 -0
  318. package/core/skills/repo-ops/review-service/SKILL.md +4 -1
  319. package/core/skills/repo-ops/review-service/examples/service-release-audit-report.md +21 -0
  320. package/core/skills/repo-ops/review-service/references/release-readiness-audit-rubric.md +21 -0
  321. package/core/skills/repo-ops/troubleshoot-service/SKILL.md +1 -0
  322. package/core/skills/security-data/database-maintenance/SKILL.md +1 -1
  323. package/core/skills/security-data/manage-secrets/SKILL.md +2 -0
  324. package/core/skills/security-data/manage-secrets/examples/external-secrets-vault-crds.yaml +53 -0
  325. package/core/skills/security-data/manage-secrets/references/zero-trust-secret-rotation-and-eso.md +30 -0
  326. package/core/skills/security-data/manage-vietnam-accounting/SKILL.md +8 -7
  327. package/core/skills/security-data/prompt-injection-defense/SKILL.md +2 -0
  328. package/core/skills/security-data/prompt-injection-defense/examples/bounded-tool-execution-wrapper.py +78 -0
  329. package/core/skills/security-data/prompt-injection-defense/references/prompt-injection-taxonomy-and-delimiters.md +37 -0
  330. package/core/skills/security-data/reverse-engineer-binary/SKILL.md +3 -0
  331. package/core/skills/security-data/reverse-engineer-binary/examples/binary-triage-and-vulnerability-dossier.md +58 -0
  332. package/core/skills/security-data/reverse-engineer-binary/references/ghidra-radare2-and-rea-evidence-ledgers.md +43 -0
  333. package/core/skills/security-data/security-audit/SKILL.md +3 -1
  334. package/core/skills/security-data/security-audit/examples/enterprise-service-security-audit-report.md +54 -0
  335. package/core/skills/security-data/security-audit/references/owasp-asi-and-cvss4-threat-modeling.md +39 -0
  336. package/core/skills/security-data/skill-preflight-ast-check/SKILL.md +3 -0
  337. package/core/skills/security-data/skill-preflight-ast-check/references/ast-lethal-trifecta-and-static-vetting.md +38 -0
  338. package/core/skills/security-data/skill-preflight-ast-check/scripts/scan-skill-ast.py +127 -0
  339. package/core/skills/seo/audit-technical-seo/SKILL.md +1 -0
  340. package/core/skills/seo/implement-schema-markup/SKILL.md +1 -0
  341. package/core/workflows/README.md +0 -20
  342. package/overlays/README.md +2 -22
  343. package/overlays/astro-cloudflare/README.md +0 -20
  344. package/overlays/astro-cloudflare/rules/astro-cloudflare-conventions.md +0 -31
  345. package/overlays/b2b-catalog-golf/README.md +0 -20
  346. package/overlays/b2b-catalog-golf/rules/golf-project-rules.md +0 -31
  347. package/overlays/b2b-catalog-golf/skills/develop-b2b-golf-feature/SKILL.md +1 -0
  348. package/overlays/b2b-factory-catalog/README.md +0 -20
  349. package/overlays/b2b-factory-catalog/rules/icm-project-rules.md +0 -31
  350. package/overlays/b2b-factory-catalog/skills/develop-b2b-catalog-feature/SKILL.md +1 -0
  351. package/overlays/b2b-sport-catalog/README.md +0 -20
  352. package/overlays/b2b-sport-catalog/rules/sport-project-rules.md +0 -31
  353. package/overlays/cad-projection/README.md +0 -20
  354. package/overlays/cad-projection/rules/cad-conventions.md +0 -20
  355. package/overlays/cad-projection/skills/isometric-svg-projection/SKILL.md +1 -0
  356. package/overlays/data-analyst-stack/README.md +0 -20
  357. package/overlays/data-analyst-stack/rules/metric-dashboard-templates.md +0 -31
  358. package/overlays/data-analyst-stack/rules/stack-conventions.md +0 -31
  359. package/overlays/data-warehouse/README.md +0 -22
  360. package/overlays/data-warehouse/learning/learning-conventions.md +0 -31
  361. package/overlays/data-warehouse/learning/phase-roadmap.md +0 -31
  362. package/overlays/data-warehouse/rules/amis-accounting-standards.md +0 -33
  363. package/overlays/data-warehouse/rules/duckdb-concurrency.md +0 -37
  364. package/overlays/data-warehouse/rules/pii-scrubbing.md +0 -37
  365. package/overlays/data-warehouse/rules/stocktake-tolerance.md +0 -33
  366. package/overlays/ecommerce-microservices/README.md +22 -35
  367. package/overlays/ecommerce-microservices/config/README.md +3 -1
  368. package/overlays/ecommerce-microservices/rules/README.md +2 -1
  369. package/overlays/ecommerce-microservices/rules/microservices-conventions.md +30 -0
  370. package/overlays/ecommerce-microservices/skills/README.md +1 -1
  371. package/overlays/ecommerce-microservices/workflows/README.md +3 -1
  372. package/overlays/fintech-compliance/README.md +0 -20
  373. package/overlays/fintech-compliance/rules/credit-scorecard-rules.md +0 -20
  374. package/overlays/fintech-compliance/skills/build-credit-scorecard/SKILL.md +1 -0
  375. package/overlays/go-microservices/README.md +1 -21
  376. package/overlays/go-microservices/rules/go-conventions.md +0 -31
  377. package/overlays/hugo-authority-content/README.md +0 -20
  378. package/overlays/hugo-authority-content/roles/README.md +0 -20
  379. package/overlays/hugo-authority-content/rules/content-brand.md +0 -30
  380. package/overlays/hugo-authority-content/rules/link-topology.md +0 -30
  381. package/overlays/hugo-authority-content/rules/seo-authority.md +0 -30
  382. package/overlays/hugo-authority-content/rules/technical-article-2027.md +0 -30
  383. package/overlays/hugo-authority-content/skills/audit-technical-article/SKILL.md +1 -0
  384. package/overlays/hugo-authority-content/skills/write-hugo-twin-content/SKILL.md +1 -0
  385. package/overlays/hugo-authority-content/workflows/README.md +0 -20
  386. package/overlays/hvac-authority-content/README.md +0 -20
  387. package/overlays/hvac-authority-content/config/collections.md +0 -22
  388. package/overlays/hvac-authority-content/rules/content-schema.md +0 -30
  389. package/overlays/hvac-authority-content/rules/hvac-engineering-standards.md +0 -30
  390. package/overlays/hvac-authority-content/rules/silo-linking.md +0 -30
  391. package/overlays/hvac-authority-content/skills/write-hvac-authority-content/SKILL.md +1 -0
  392. package/overlays/hvac-authority-content/workflows/publish-hvac-content.md +0 -22
  393. package/overlays/laravel-ecommerce/README.md +0 -20
  394. package/overlays/laravel-ecommerce/rules/elomus-design-system.md +0 -31
  395. package/overlays/laravel-ecommerce/rules/laravel-ecommerce-rules.md +0 -31
  396. package/overlays/laravel-ecommerce/skills/develop-laravel-ecommerce-feature/SKILL.md +1 -0
  397. package/overlays/laravel-filament/README.md +0 -20
  398. package/overlays/laravel-filament/rules/laravel-conventions.md +0 -31
  399. package/overlays/laravel-filament/skills/develop-laravel-feature/SKILL.md +1 -0
  400. package/overlays/livestream-web/README.md +0 -20
  401. package/overlays/livestream-web/rules/livestream-web-ux-conventions.md +0 -31
  402. package/overlays/obj-configurator/README.md +0 -20
  403. package/overlays/obj-configurator/rules/obj-project-rules.md +0 -31
  404. package/overlays/obj-configurator/skills/develop-obj-feature/SKILL.md +1 -0
  405. package/overlays/r3f-stack/README.md +0 -20
  406. package/overlays/r3f-stack/rules/stub.md +0 -31
  407. package/overlays/r3f-stack/skills/debug-3d-scene/SKILL.md +4 -2
  408. package/overlays/r3f-stack/skills/integrate-r3f-three-legacy/SKILL.md +6 -5
  409. package/overlays/r3f-stack/skills/optimize-3d-assets/SKILL.md +4 -3
  410. package/overlays/real-estate-content/README.md +0 -20
  411. package/overlays/real-estate-content/roles/README.md +0 -20
  412. package/overlays/real-estate-content/rules/affiliate-links.md +0 -31
  413. package/overlays/real-estate-content/rules/content-schema.md +0 -31
  414. package/overlays/real-estate-content/rules/seo-baseline.md +0 -31
  415. package/overlays/real-estate-content/skills/write-real-estate-astro-data/SKILL.md +1 -0
  416. package/overlays/real-estate-content/workflows/README.md +0 -20
  417. package/overlays/security-research/README.md +0 -20
  418. package/overlays/security-research/rules/reverse-engineering-rules.md +0 -20
  419. package/overlays/seo-publishing/README.md +1 -21
  420. package/overlays/seo-publishing/rules/publish-log-conventions.md +0 -31
  421. package/overlays/seo-publishing/rules/publishing-cadence.md +0 -31
  422. package/overlays/seo-publishing/rules/site-mix-and-cannibalization.md +0 -31
  423. package/overlays/seo-publishing/rules/topic-board-template.md +0 -31
  424. package/overlays/ui-design-system/README.md +0 -20
  425. package/overlays/ui-design-system/rules/handoff-conventions.md +0 -31
  426. package/package.json +2 -2
  427. package/packs/README.md +3 -9
  428. package/packs/ecommerce-team/manifest.yaml +1 -1
  429. package/core/skills/commerce/2026_STANDARDS_SUMMARY.md +0 -316
  430. package/core/skills/commerce/handle-checkout-flow/UPGRADE_PLAN_2026.md +0 -99
  431. package/core/skills/commerce/integrate-payment-gateway/UPGRADE_PLAN_2026.md +0 -128
  432. package/core/skills/commerce/manage-order-fulfillment/UPGRADE_PLAN_2026.md +0 -136
  433. package/core/skills/commerce/manage-product-catalog/UPGRADE_PLAN_2026.md +0 -130
  434. package/core/skills/education/2026_STANDARDS_SUMMARY.md +0 -290
  435. package/core/skills/education/create-exercises/UPGRADE_PLAN_2026.md +0 -115
  436. package/core/skills/education/design-learning-plan/UPGRADE_PLAN_2026.md +0 -140
  437. package/core/skills/education/grade-and-review/UPGRADE_PLAN_2026.md +0 -141
  438. package/core/skills/frontend/2026_STANDARDS_SUMMARY.md +0 -345
  439. package/core/skills/frontend/add-page-route/UPGRADE_PLAN_2026.md +0 -102
  440. package/core/skills/frontend/add-ui-component/UPGRADE_PLAN_2026.md +0 -114
  441. package/core/skills/frontend/component-composition/UPGRADE_PLAN_2026.md +0 -103
  442. package/core/skills/frontend/frontend-testing/UPGRADE_PLAN_2026.md +0 -137
  443. package/core/skills/frontend/implement-view-transitions/UPGRADE_PLAN_2026.md +0 -118
  444. package/core/skills/frontend/implement-webmcp/UPGRADE_PLAN_2026.md +0 -108
  445. package/core/skills/frontend/integrate-api-client/UPGRADE_PLAN_2026.md +0 -118
  446. package/core/skills/frontend/setup-design-system/UPGRADE_PLAN_2026.md +0 -123
  447. package/core/skills/frontend/setup-visual-regression/UPGRADE_PLAN_2026.md +0 -121
  448. package/core/skills/meetings-analysis/2026_STANDARDS_SUMMARY.md +0 -236
  449. package/core/skills/meetings-analysis/analyze-business-requirements/UPGRADE_PLAN_2026.md +0 -97
  450. package/core/skills/meetings-analysis/analyze-data/UPGRADE_PLAN_2026.md +0 -143
  451. package/core/skills/meetings-analysis/meeting-review/UPGRADE_PLAN_2026.md +0 -125
  452. package/core/skills/mobile/2026_STANDARDS_SUMMARY.md +0 -209
  453. package/core/skills/mobile/deploy-mobile-app/UPGRADE_PLAN_2026.md +0 -122
  454. package/core/skills/mobile/develop-mobile-app/UPGRADE_PLAN_2026.md +0 -141
@@ -0,0 +1,54 @@
1
+ # Security Audit Report: Order Processing & AI Agent Gateway
2
+
3
+ **Date**: 2026-11-08
4
+ **Auditor**: Senior Security Engineer
5
+ **Classification**: CONFIDENTIAL / INTERNAL ONLY
6
+ **Target Systems**: `order-orchestration-service`, `agent-mcp-gateway` (v2.4.0)
7
+
8
+ ---
9
+
10
+ ## 1. Executive Summary
11
+
12
+ A comprehensive threat modeling and security posture audit was conducted across the order processing microservice and its autonomous agent gateway. The audit evaluated trust boundaries, authentication flows, secret management, and agentic attack surfaces per OWASP ASI Top 10 (2026) and CVSS 4.0 scoring standards.
13
+
14
+ - **Total Findings**: 3
15
+ - **Critical (P0)**: 0
16
+ - **High (P1)**: 1 (Addressed via virtual patch)
17
+ - **Medium (P2)**: 1
18
+ - **Low / Informational**: 1
19
+
20
+ ---
21
+
22
+ ## 2. Detailed Findings Ledger
23
+
24
+ ### Finding SEC-001: Missing Rate Limit & Input Boundary on Agent Tool Ingestion
25
+ - **Severity**: High (CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N` — Score: 7.1)
26
+ - **Taxonomy**: OWASP ASI02 (Tool Misuse) / OWASP Top 10:2025 A10
27
+ - **Observation**:
28
+ `POST /api/v1/tools/search-catalog` accepted unconstrained query strings up to 50KB without length bounds, permitting prompt injection payloads and regex catastrophic backtracking (ReDoS).
29
+ - **Remediation**:
30
+ Enforced strict Zod input validation (`max(256)` characters) and deployed sliding-window rate limiting (100 req/min per client SVID).
31
+ - **Verification Evidence**:
32
+ Executed automated fuzzing harness with 10,000 oversized payloads; all rejected with HTTP 400 `InvalidArgument`.
33
+
34
+ ---
35
+
36
+ ### Finding SEC-002: In-Memory Token assumptions across Subagent Delegations
37
+ - **Severity**: Medium (CVSS 4.0: `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N` — Score: 5.3)
38
+ - **Taxonomy**: OWASP ASI03 (Identity & Privilege Abuse)
39
+ - **Observation**:
40
+ Worker agents inherited full supervisor JWT scopes without Just-In-Time (JIT) attenuation when executing read-only inventory checks.
41
+ - **Remediation**:
42
+ Integrated SPIRE Workload API token exchange issuing downscoped SVID tokens with explicit `read:inventory` claim and 5-minute TTL.
43
+ - **Verification Evidence**:
44
+ Verified subagent cannot invoke payment or write APIs using downscoped SVID; returns HTTP 403 `PermissionDenied`.
45
+
46
+ ---
47
+
48
+ ## 3. Compliance Verification Matrix
49
+
50
+ | Standard | Scope | Status |
51
+ |---|---|---|
52
+ | **PCI DSS v4.0.1** | Zero-CDE boundaries & script integrity | **PASS** |
53
+ | **OWASP ASI 2026** | Autonomous tool gating & execution sandboxes | **PASS** |
54
+ | **NIST IR 8547** | Post-Quantum Cryptography (X25519MLKEM768) | **PASS** |
@@ -0,0 +1,39 @@
1
+ # OWASP ASI Top 10 & CVSS 4.0 Threat Modeling Specifications (2026)
2
+
3
+ ## 1. Vulnerability Scoring via CVSS 4.0 & EPSS Triad
4
+
5
+ ### 1.1 CVSS 4.0 Macro-Vectors & BTE Nomenclature
6
+ CVSS v4.0 introduces distinct metric groups separating the vulnerable target component from impacted subsequent systems:
7
+ - **Base Metrics (CVSS-BT)**:
8
+ - *Vulnerable System*: Attack Vector (AV), Attack Complexity (AC), Attack Requirements (AT), Privileges Required (PR), User Interaction (UI), Vulnerable System Confidentiality (VC), Integrity (VI), Availability (VA).
9
+ - *Subsequent Systems*: Subsequent System Confidentiality (SC), Integrity (SI), Availability (SA).
10
+ - *Threat Metrics*: Exploit Maturity (E: Unreported / Proof-of-Concept / Attacked).
11
+ - **Environmental & Supplemental Metrics (CVSS-BTE / MSS)**:
12
+ - *Automatable*: Evaluates whether remote exploit execution can be automated by attackers (Yes / No).
13
+ - *Recovery*: Evaluates automated system self-recovery capability (Automatic / User / Irrecoverable).
14
+ - **The Prioritization Triad**:
15
+ $$\text{Remediation Priority} = \text{CVSS 4.0 Score} \times \text{EPSS (Exploit Prediction Scoring)} \times \text{CISA KEV Status}$$
16
+ Any vulnerability with $\text{EPSS} > 10\%$ or listed on the CISA Known Exploited Vulnerabilities catalog mandates emergency remediation within 24–48 hours.
17
+
18
+ ---
19
+
20
+ ## 2. OWASP Top 10 for Agentic Applications (ASI01–ASI10)
21
+
22
+ Auditing autonomous agent workflows requires applying the official 2026 OWASP ASI taxonomy:
23
+ 1. **ASI01 Agent Goal Hijack**: Prompt injection, jailbreaking, or indirect instructions via untrusted tool outputs altering the agent's core goal.
24
+ 2. **ASI02 Tool Misuse & Exploitation**: Excessive agency, lack of tool input validation, or unconstrained shell/database invocation.
25
+ 3. **ASI03 Identity & Privilege Abuse**: Autonomous token assumption, lack of JIT scope bounding, or agent impersonation across trust boundaries.
26
+ 4. **ASI04 Agentic Supply Chain**: Unvetted third-party skill definitions, malicious prompt templates, or poisoned model weights.
27
+ 5. **ASI05 Unexpected Code Execution**: Arbitrary script execution breaking out of ephemeral sandboxes.
28
+ 6. **ASI06 Memory & Context Poisoning**: Injecting malicious context into persistent memory (`MEMORY.md`, vector stores) to steer future sessions.
29
+ 7. **ASI07 Insecure Inter-Agent Communication**: Lack of mutual authentication (mTLS / SVIDs) or schema validation on A2A protocol payloads.
30
+ 8. **ASI08 Cascading Failures**: Unhandled exceptions in subagents cascading into multi-agent deadlocks or resource starvation.
31
+ 9. **ASI09 Human-Agent Trust Exploitation**: Deceptive agent assurances, bypassing human approval gates on financial or destructive actions.
32
+ 10. **ASI10 Rogue Agents**: Self-replicating autonomous loops, unmonitored external exfiltration, or loss of supervisory control.
33
+
34
+ ---
35
+
36
+ ## 3. Zero Trust Workload Attestation (SPIFFE/SPIRE)
37
+
38
+ - **SPIFFE ID Standard**: `spiffe://cluster.local/ns/{namespace}/sa/{serviceaccount}`.
39
+ - All service-to-service and agent-to-agent communication requires mutual TLS (mTLS) with short-lived X.509 SVIDs (SPIFFE Verifiable Identity Documents) rotated every 60 minutes.
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: skill-preflight-ast-check
3
3
  description: Use when performing zero-execution static AST security vetting of third-party agent skills, enforcing OWASP AST01-AST10 and blocking the lethal trifecta.
4
+ version: "1.0.0"
4
5
  allowed-tools: [read_file, write_file, edit_file, create_file, search_code, run_tests, run_linter, run_build, execute_command]
5
6
  ---
6
7
 
@@ -130,3 +131,5 @@ When completing AST security preflight analysis, emit `contracts/schemas/securit
130
131
  - **security-audit**: Full security evaluation and vulnerability auditing.
131
132
  - **supply-chain-security**: Package integrity, SBOM tracking, and dependency pinning.
132
133
  - **ai-risk-assessment**: Threat modeling for AI agent systems.
134
+ - Companion reference: `references/ast-lethal-trifecta-and-static-vetting.md`
135
+ - Companion scanner script: `scripts/scan-skill-ast.py`
@@ -0,0 +1,38 @@
1
+ # Static AST Preflight Vetting & Lethal Trifecta Governance (2026)
2
+
3
+ ## 1. Zero-Execution Static AST Security Vetting
4
+
5
+ ### 1.1 Static Analysis Mandate
6
+ Third-party agent skills and external MCP tool definitions must never be evaluated in dynamic runtimes without preflight static analysis. The scanner parses Python abstract syntax trees (`ast.parse`) and TypeScript ASTs without executing any script:
7
+ - **AST01 Prohibited Builtins**: Any AST call node matching `eval()`, `exec()`, `compile()`, or `__import__()` triggers immediate rejection.
8
+ - **AST02 Subprocess & Shell Traversal**: Calls to `os.system()`, `subprocess.Popen()`, `subprocess.run()`, or shell redirection (`shell=True`) trigger fail-closed denial.
9
+ - **AST03 Secret & Environment Harvesting**: Dynamic inspection of `os.environ` keys without declared policy justification is blocked.
10
+ - **AST05 Prompt Injection Delimiters**: Raw markdown files are vetted against delimiter hijacking tokens (`<|im_start|>`, `<|im_end|>`, `[SYSTEM]`, `Ignore previous instructions`).
11
+
12
+ ---
13
+
14
+ ## 2. Mathematical Formulation of the Lethal Trifecta
15
+
16
+ An agent skill $\mathcal{S}$ is evaluated across three orthogonal risk dimensions:
17
+ 1. $\mathcal{D}_{\text{priv}}(\mathcal{S}) \in \{0, 1\}$: Access to confidential host files, private credentials, or internal databases.
18
+ 2. $\mathcal{C}_{\text{untrusted}}(\mathcal{S}) \in \{0, 1\}$: Ingestion of untrusted external content (web scraping, user prompts, RSS feeds).
19
+ 3. $\mathcal{E}_{\text{net}}(\mathcal{S}) \in \{0, 1\}$: Outbound network egress via raw sockets or external HTTP APIs.
20
+
21
+ The Lethal Trifecta Invariant $\mathcal{T}_{\text{lethal}}(\mathcal{S})$ is defined as:
22
+ $$\mathcal{T}_{\text{lethal}}(\mathcal{S}) = \mathcal{D}_{\text{priv}}(\mathcal{S}) \wedge \mathcal{C}_{\text{untrusted}}(\mathcal{S}) \wedge \mathcal{E}_{\text{net}}(\mathcal{S})$$
23
+
24
+ $$\mathcal{T}_{\text{lethal}}(\mathcal{S}) = 1 \implies \text{Disposition}(\mathcal{S}) = \text{FAIL-CLOSED REJECTION}$$
25
+
26
+ If private data access ($\mathcal{D}_{\text{priv}} = 1$) and untrusted content ($\mathcal{C}_{\text{untrusted}} = 1$) are both active, outbound network egress must be forcefully revoked:
27
+ $$\mathcal{E}_{\text{net}}(\text{Runtime}) \longleftarrow 0 \quad (\text{Air-Gapped Level 0})$$
28
+
29
+ ---
30
+
31
+ ## 3. Physical 4-Tier Sandbox Execution Hierarchy
32
+
33
+ | Tier | Technology | Startup Latency | Memory Limit | Primary Use Case |
34
+ |---|---|---|---|---|
35
+ | **Tier 1** | WebAssembly (WASI) | $< 5\text{ms}$ | 64 MB | Algorithmic transforms, regex, pure AST analysis |
36
+ | **Tier 2** | Hardened OCI / gVisor | $500\text{ms} - 2\text{s}$ | 512 MB | Local builds, unit tests, linters (`--read-only`) |
37
+ | **Tier 3** | Firecracker MicroVM | $5\text{ms} - 150\text{ms}$ | 2048 MB | Untrusted 3rd-party code execution |
38
+ | **Tier 4** | Cloud Sandbox SDK | $100\text{ms} - 1.5\text{s}$ | Dynamic | Ephemeral edge agent swarms & browser automation |
@@ -0,0 +1,127 @@
1
+ #!/usr/bin/env python3
2
+ """Static AST Security Preflight Scanner for Agent Skills.
3
+
4
+ Performs zero-execution static analysis:
5
+ - Identifies prohibited builtins (eval, exec, compile, __import__)
6
+ - Detects dangerous subprocess and shell invocations
7
+ - Scans for prompt injection markers in markdown text
8
+ - Evaluates the Lethal Trifecta invariant (D_priv AND C_untrusted AND E_net)
9
+ """
10
+
11
+ from __future__ import annotations
12
+
13
+ import argparse
14
+ import ast
15
+ import re
16
+ import sys
17
+ from pathlib import Path
18
+
19
+ PROHIBITED_BUILTINS = {"eval", "exec", "compile", "__import__"}
20
+ PROHIBITED_SUBPROCESS = {"system", "popen", "spawn", "call", "check_call", "check_output", "run"}
21
+ PROMPT_INJECTION_MARKERS = [
22
+ r"<\|im_start\|>",
23
+ r"<\|im_end\|>",
24
+ r"\[SYSTEM\]",
25
+ r"(?i)ignore\s+previous\s+instructions",
26
+ ]
27
+
28
+
29
+ class SkillSecurityVisitor(ast.NodeVisitor):
30
+ def __init__(self, filename: str):
31
+ self.filename = filename
32
+ self.violations: list[str] = []
33
+
34
+ def visit_Call(self, node: ast.Call):
35
+ # 1. Prohibited builtins: eval, exec, compile, __import__
36
+ if isinstance(node.func, ast.Name) and node.func.id in PROHIBITED_BUILTINS:
37
+ self.violations.append(
38
+ f"{self.filename}:{node.lineno}: Prohibited dynamic execution builtin '{node.func.id}'"
39
+ )
40
+
41
+ # 2. Subprocess or os.system calls
42
+ if isinstance(node.func, ast.Attribute):
43
+ if node.func.attr in PROHIBITED_SUBPROCESS:
44
+ # Check if caller is os or subprocess
45
+ if isinstance(node.func.value, ast.Name) and node.func.value.id in {"os", "subprocess"}:
46
+ self.violations.append(
47
+ f"{self.filename}:{node.lineno}: Prohibited shell/process invocation '{node.func.value.id}.{node.func.attr}'"
48
+ )
49
+
50
+ self.generic_visit(node)
51
+
52
+
53
+ def scan_python_code(filepath: Path) -> list[str]:
54
+ violations: list[str] = []
55
+ try:
56
+ content = filepath.read_text(encoding="utf-8")
57
+ tree = ast.parse(content, filename=str(filepath))
58
+ visitor = SkillSecurityVisitor(str(filepath))
59
+ visitor.visit(tree)
60
+ violations.extend(visitor.violations)
61
+ except SyntaxError as e:
62
+ violations.append(f"{filepath}:{e.lineno}: Syntax error during AST parse: {e.msg}")
63
+ except Exception as e:
64
+ violations.append(f"{filepath}: Failed to read/parse: {e}")
65
+ return violations
66
+
67
+
68
+ def scan_markdown_text(filepath: Path) -> list[str]:
69
+ violations: list[str] = []
70
+ try:
71
+ content = filepath.read_text(encoding="utf-8")
72
+ for pattern in PROMPT_INJECTION_MARKERS:
73
+ match = re.search(pattern, content)
74
+ if match:
75
+ violations.append(
76
+ f"{filepath}: Detected potential prompt injection pattern '{match.group(0)}'"
77
+ )
78
+ except Exception as e:
79
+ violations.append(f"{filepath}: Failed to scan markdown: {e}")
80
+ return violations
81
+
82
+
83
+ def scan_directory(target_dir: Path) -> tuple[int, list[str]]:
84
+ all_violations: list[str] = []
85
+ scanned_count = 0
86
+
87
+ for p in target_dir.rglob("*"):
88
+ if p.is_file():
89
+ if p.suffix == ".py":
90
+ scanned_count += 1
91
+ all_violations.extend(scan_python_code(p))
92
+ elif p.suffix in {".md", ".txt"}:
93
+ scanned_count += 1
94
+ all_violations.extend(scan_markdown_text(p))
95
+
96
+ return scanned_count, all_violations
97
+
98
+
99
+ def main() -> int:
100
+ parser = argparse.ArgumentParser(description="Zero-execution static AST security scanner for agent skills.")
101
+ parser.add_argument("target", nargs="?", default=".", help="Target file or directory to analyze (default: current dir)")
102
+ args = parser.parse_args()
103
+
104
+ target_path = Path(args.target).resolve()
105
+ if not target_path.exists():
106
+ print(f"Error: Target '{target_path}' does not exist.", file=sys.stderr)
107
+ return 2
108
+
109
+ if target_path.is_file():
110
+ violations = scan_python_code(target_path) if target_path.suffix == ".py" else scan_markdown_text(target_path)
111
+ count = 1
112
+ else:
113
+ count, violations = scan_directory(target_path)
114
+
115
+ print(f"Static AST Preflight Scan completed: {count} files analyzed.")
116
+ if violations:
117
+ print(f"FAILED: Found {len(violations)} security violations:")
118
+ for v in violations:
119
+ print(f" - {v}")
120
+ return 1
121
+
122
+ print("SUCCESS: Zero AST security or prompt injection violations detected.")
123
+ return 0
124
+
125
+
126
+ if __name__ == "__main__":
127
+ sys.exit(main())
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: audit-technical-seo
3
3
  description: Audit crawl budgets, search and AI bot access in robots.txt (Googlebot, Bingbot, OAI-SearchBot, PerplexityBot, Applebot-Extended, and other AI search crawlers), XML sitemaps, canonical tags, HTTP status codes, redirect chains (301/404/410), and Core Web Vitals (LCP, INP, CLS) emitting structured audit reports. Use when diagnosing crawlability issues, auditing staging or production sites for technical health, resolving redirect loops or canonical errors, or preparing engineering escalation tickets for frontend and infrastructure teams.
4
+ version: "1.0.0"
4
5
  allowed-tools: [read_file, write_file, edit_file, create_file, search_code, fetch]
5
6
  ---
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: implement-schema-markup
3
3
  description: Architect, generate, and validate connected Schema.org @graph JSON-LD structured data linking WebSite, Organization, Person E-E-A-T credentials, TechArticle with Wikidata QIDs, BreadcrumbList, and FAQPage rich snippets. Use when implementing structured data, resolving disconnected schema islands, grounding technical content in Knowledge Graph entities, validating rich results eligibility, or eliminating schema drift across site templates.
4
+ version: "1.0.0"
4
5
  allowed-tools: [read_file, write_file, edit_file, create_file, search_code, fetch]
5
6
  ---
6
7
 
@@ -117,24 +117,4 @@ All workflows now incorporate the following 2026 engineering standards:
117
117
  - **Incident Response**: NIST CSF 2.0 Govern (GV.RR) pre-authorized containment, CycloneDX 1.6 SBOM blast radius queries, Zero-Trust SPIFFE/SPIRE + Cilium microsegmentation, and CVSS 4.0 × EPSS × CISA KEV triage triad.
118
118
  - **Data Migration**: pgroll / Atlas for zero-downtime Postgres schema changes, dbt Core 1.9+ microbatch for idempotent time-slice backfills, OpenFeature canary flag gating for rollout phases.
119
119
 
120
- ## Standard 2026 Alignment
121
-
122
- This file is part of the agent-skills engineering pack. The 2026 upgrade
123
- pass added this footer so every prose file in the pack carries a
124
- consistent Standard 2026 pointer.
125
-
126
- - **OWASP ASI**: applied as described in `core/roles/role-standard.md`
127
- (ASI01-ASI10) and the per-skill `## Security Guardrails (OWASP ASI)` sections.
128
- - **Failure Modes**: the rule in this file can be violated by drift, missing
129
- context, or untracked exceptions. Concrete failure scenarios belong in the
130
- related skill or workflow's `### Failure Modes` section.
131
- - **Output Contracts**: structured artifacts produced under this file must
132
- conform to schemas in `core/contracts/schemas/`.
133
- - **Skill Toolbox Lock**: this file's rules are enforced by the role that
134
- owns the affected action; the runtime gate is
135
- `core/scripts/hooks/check-policy.py`.
136
- - **Commit / publish gate**: changes that affect user-visible behavior
137
- follow the META-RULE in `core/rules/code.md` — no commit, no push, no
138
- publish without explicit user confirmation.
139
-
140
120
  Last updated: 2026-09-02
@@ -17,7 +17,7 @@ Use an overlay when:
17
17
  |---------|-------|--------------|
18
18
  | [astro-cloudflare](astro-cloudflare/README.md) | Astro v6/v7 + Cloudflare Workers/Pages | Architecture patterns, TailwindCSS v4 config, Content Layer API, Wrangler deploy rules, 2026 binding access patterns |
19
19
  | [laravel-filament](laravel-filament/README.md) | Laravel **13** + Filament **v4** + Livewire 3 | DB integrity rules, Filament v4 Schema API, PHP 8.4 features, Laravel Reverb, Pest v5, `develop-laravel-feature` skill |
20
- | [go-microservices](go-microservices/README.md) | Go 1.25+ + Kratos **v3** | Clean Architecture, ConnectRPC, Dapr 1.15, OTel compile-time instrumentation, goforj/wire (google/wire archived) |
20
+ | [go-microservices](go-microservices/README.md) | Go 1.26+ + Kratos **v3** | Clean Architecture, ConnectRPC, Dapr 1.15, OTel compile-time instrumentation, goforj/wire (google/wire archived) |
21
21
  | [r3f-stack](r3f-stack/README.md) | React Three Fiber **v9** / Three.js r171+ / WebGL+**WebGPU** | WebGPU production-ready, TSL shaders, R3F v9 migration, debug-3d-scene, optimize-3d-assets, integrate-r3f-three-legacy |
22
22
 
23
23
  ### Project Overlays (project-specific, depends on a stack overlay)
@@ -29,7 +29,7 @@ Use an overlay when:
29
29
  | [b2b-catalog-golf](b2b-catalog-golf/README.md) | B2B Golf Catalog niche catalog (Astro v6+/Cloudflare, golf apparel) | `astro-cloudflare` |
30
30
  | [b2b-sport-catalog](b2b-sport-catalog/README.md) | B2B Sport Catalog niche catalog (Astro v6+/Cloudflare, sportswear) | `astro-cloudflare` |
31
31
  | [obj-configurator](obj-configurator/README.md) | OBJ 3D Configurator (Astro + R3F v9/Three.js r171+, WebGPU) | `astro-cloudflare` |
32
- | [ecommerce-microservices](ecommerce-microservices/README.md) | Ecommerce microservices platform (planned) | `go-microservices` |
32
+ | [ecommerce-microservices](ecommerce-microservices/README.md) | E-Commerce Microservices Platform (Go 1.27.4 + Kratos v2.9.2 + Dapr + `common v1.37.0`) | `go-microservices` |
33
33
  | [livestream-web](livestream-web/README.md) | Livestream platform (web-first desktop UX) | standalone |
34
34
 
35
35
  ### Content & Domain Overlays (domain-specific, project-agnostic)
@@ -66,24 +66,4 @@ Use an overlay when:
66
66
  - validate overlays together with core: `python3 core/scripts/validate-skills.py`
67
67
  - declare SKILL.md YAML frontmatter with `name`, `description` for AI agent discoverability
68
68
 
69
- ## Standard 2026 Alignment
70
-
71
- This file is part of the agent-skills engineering pack. The 2026 upgrade
72
- pass added this footer so every prose file in the pack carries a
73
- consistent Standard 2026 pointer.
74
-
75
- - **OWASP ASI**: applied as described in `core/roles/role-standard.md`
76
- (ASI01-ASI10) and the per-skill `## Security Guardrails (OWASP ASI)` sections.
77
- - **Failure Modes**: the rule in this file can be violated by drift, missing
78
- context, or untracked exceptions. Concrete failure scenarios belong in the
79
- related skill or workflow's `### Failure Modes` section.
80
- - **Output Contracts**: structured artifacts produced under this file must
81
- conform to schemas in `core/contracts/schemas/`.
82
- - **Skill Toolbox Lock**: this file's rules are enforced by the role that
83
- owns the affected action; the runtime gate is
84
- `core/scripts/hooks/check-policy.py`.
85
- - **Commit / publish gate**: changes that affect user-visible behavior
86
- follow the META-RULE in `core/rules/code.md` — no commit, no push, no
87
- publish without explicit user confirmation.
88
-
89
69
  Last updated: 2026-10-15
@@ -70,24 +70,4 @@ This overlay should be composed with the global core and optionally with project
70
70
 
71
71
  **Recommended roles:** `cloudflare-engineer` (edge/Wrangler/bindings) + `frontend-developer` (Astro UI).
72
72
 
73
- ## Standard 2026 Alignment
74
-
75
- This file is part of the agent-skills engineering pack. The 2026 upgrade
76
- pass added this footer so every prose file in the pack carries a
77
- consistent Standard 2026 pointer.
78
-
79
- - **OWASP ASI**: applied as described in `core/roles/role-standard.md`
80
- (ASI01-ASI10) and the per-skill `## Security Guardrails (OWASP ASI)` sections.
81
- - **Failure Modes**: the rule in this file can be violated by drift, missing
82
- context, or untracked exceptions. Concrete failure scenarios belong in the
83
- related skill or workflow's `### Failure Modes` section.
84
- - **Output Contracts**: structured artifacts produced under this file must
85
- conform to schemas in `core/contracts/schemas/`.
86
- - **Skill Toolbox Lock**: this file's rules are enforced by the role that
87
- owns the affected action; the runtime gate is
88
- `core/scripts/hooks/check-policy.py`.
89
- - **Commit / publish gate**: changes that affect user-visible behavior
90
- follow the META-RULE in `core/rules/code.md` — no commit, no push, no
91
- publish without explicit user confirmation.
92
-
93
73
  Last updated: 2026-09-01
@@ -157,35 +157,4 @@ wrangler.jsonc ← Cloudflare Workers/Pages config (single source of trut
157
157
  - Turnstile server-side validation at every form API endpoint.
158
158
  - Resend API key server-side only — never in client bundles.
159
159
 
160
- ## Standard 2026 Alignment
161
-
162
- This overlay rule file is part of the agent-skills engineering pack. The 2026
163
- upgrade pass added the following Standard 2026 alignment footer to every
164
- overlay rule file in the pack.
165
-
166
- - **OWASP ASI**: applied as described in the core pack — see
167
- `core/roles/role-standard.md` (ASI01-ASI10) and the per-skill
168
- `## Security Guardrails (OWASP ASI)` section in each skill. The rules in this
169
- file are applied by the role that owns the affected action; the runtime
170
- gate is `core/scripts/hooks/check-policy.py` with
171
- `core/policies/action-boundaries.yaml`.
172
- - **Failure Modes** (overlay-specific): the rules in this file can be violated
173
- by drift, missing context, or untracked exceptions. The owning role is
174
- expected to surface concrete failure scenarios in the workflow's
175
- `### Failure Modes` section and to capture remediations via
176
- `contracts/schemas/incident-report.json` when the rule is bypassed.
177
- - **Output Contracts**: when a rule in this file produces a structured
178
- artifact (brief, plan, config, content handoff, audit event), the artifact
179
- must conform to the corresponding schema in `core/contracts/schemas/`.
180
- See `See `core/skills/foundation/setup-design-system/SKILL.md` and `core/skills/foundation/setup-visual-regression/SKILL.md` for related output contracts.` for the related skill output contract reference.
181
- - **Skill Toolbox Lock**: a rule in this file is enforced by the role whose
182
- Skill Toolbox lists the related skill as Primary. Roles that hold the
183
- skill as Supporting must delegate rather than execute directly (per
184
- `core/workflows/README.md`).
185
- - **Commit / publish gate**: rule changes that affect user-visible behavior
186
- must follow the META-RULE in `core/rules/code.md` — no commit, no push,
187
- no publish without explicit user confirmation.
188
-
189
- See `core/skills/foundation/setup-design-system/SKILL.md` and `core/skills/foundation/setup-visual-regression/SKILL.md` for related output contracts.
190
-
191
160
  Last updated: 2026-10-19
@@ -27,24 +27,4 @@ Project-specific conventions for the B2B Golf niche catalog website — golf app
27
27
 
28
28
  - `rules/golf-project-rules.md` — Catalog structure, gallery management, brand positioning
29
29
 
30
- ## Standard 2026 Alignment
31
-
32
- This file is part of the agent-skills engineering pack. The 2026 upgrade
33
- pass added this footer so every prose file in the pack carries a
34
- consistent Standard 2026 pointer.
35
-
36
- - **OWASP ASI**: applied as described in `core/roles/role-standard.md`
37
- (ASI01-ASI10) and the per-skill `## Security Guardrails (OWASP ASI)` sections.
38
- - **Failure Modes**: the rule in this file can be violated by drift, missing
39
- context, or untracked exceptions. Concrete failure scenarios belong in the
40
- related skill or workflow's `### Failure Modes` section.
41
- - **Output Contracts**: structured artifacts produced under this file must
42
- conform to schemas in `core/contracts/schemas/`.
43
- - **Skill Toolbox Lock**: this file's rules are enforced by the role that
44
- owns the affected action; the runtime gate is
45
- `core/scripts/hooks/check-policy.py`.
46
- - **Commit / publish gate**: changes that affect user-visible behavior
47
- follow the META-RULE in `core/rules/code.md` — no commit, no push, no
48
- publish without explicit user confirmation.
49
-
50
30
  Last updated: 2026-09-01
@@ -44,35 +44,4 @@ Project-specific conventions for the B2B Golf niche catalog site.
44
44
  - GitHub Actions on `main` branch.
45
45
  - Secrets via `.dev.vars` (local) / Cloudflare Dashboard (prod).
46
46
 
47
- ## Standard 2026 Alignment
48
-
49
- This overlay rule file is part of the agent-skills engineering pack. The 2026
50
- upgrade pass added the following Standard 2026 alignment footer to every
51
- overlay rule file in the pack.
52
-
53
- - **OWASP ASI**: applied as described in the core pack — see
54
- `core/roles/role-standard.md` (ASI01-ASI10) and the per-skill
55
- `## Security Guardrails (OWASP ASI)` section in each skill. The rules in this
56
- file are applied by the role that owns the affected action; the runtime
57
- gate is `core/scripts/hooks/check-policy.py` with
58
- `core/policies/action-boundaries.yaml`.
59
- - **Failure Modes** (overlay-specific): the rules in this file can be violated
60
- by drift, missing context, or untracked exceptions. The owning role is
61
- expected to surface concrete failure scenarios in the workflow's
62
- `### Failure Modes` section and to capture remediations via
63
- `contracts/schemas/incident-report.json` when the rule is bypassed.
64
- - **Output Contracts**: when a rule in this file produces a structured
65
- artifact (brief, plan, config, content handoff, audit event), the artifact
66
- must conform to the corresponding schema in `core/contracts/schemas/`.
67
- See `See `core/skills/foundation/setup-design-system/SKILL.md` and the `edge-deployment-spec.json` schema.` for the related skill output contract reference.
68
- - **Skill Toolbox Lock**: a rule in this file is enforced by the role whose
69
- Skill Toolbox lists the related skill as Primary. Roles that hold the
70
- skill as Supporting must delegate rather than execute directly (per
71
- `core/workflows/README.md`).
72
- - **Commit / publish gate**: rule changes that affect user-visible behavior
73
- must follow the META-RULE in `core/rules/code.md` — no commit, no push,
74
- no publish without explicit user confirmation.
75
-
76
- See `core/skills/foundation/setup-design-system/SKILL.md` and the `edge-deployment-spec.json` schema.
77
-
78
47
  Last updated: 2026-09-01
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: develop-b2b-golf-feature
3
3
  description: Develop features for the B2B Golf niche catalog — an Astro v5 golf apparel site on Cloudflare Pages. Use when adding pages, gallery content, MDX articles, or components for the golf apparel niche.
4
+ version: "1.0.0"
4
5
  allowed-tools: [read_file, write_file, edit_file, create_file, search_code, astro_build, astro_check, astro_dev, run_tests]
5
6
  ---
6
7
 
@@ -31,24 +31,4 @@ Project-specific conventions for the B2B Factory Direct corporate website — th
31
31
 
32
32
  - `rules/icm-project-rules.md` — Brand voice, product catalog conventions, page templates, 2026 binding API
33
33
 
34
- ## Standard 2026 Alignment
35
-
36
- This file is part of the agent-skills engineering pack. The 2026 upgrade
37
- pass added this footer so every prose file in the pack carries a
38
- consistent Standard 2026 pointer.
39
-
40
- - **OWASP ASI**: applied as described in `core/roles/role-standard.md`
41
- (ASI01-ASI10) and the per-skill `## Security Guardrails (OWASP ASI)` sections.
42
- - **Failure Modes**: the rule in this file can be violated by drift, missing
43
- context, or untracked exceptions. Concrete failure scenarios belong in the
44
- related skill or workflow's `### Failure Modes` section.
45
- - **Output Contracts**: structured artifacts produced under this file must
46
- conform to schemas in `core/contracts/schemas/`.
47
- - **Skill Toolbox Lock**: this file's rules are enforced by the role that
48
- owns the affected action; the runtime gate is
49
- `core/scripts/hooks/check-policy.py`.
50
- - **Commit / publish gate**: changes that affect user-visible behavior
51
- follow the META-RULE in `core/rules/code.md` — no commit, no push, no
52
- publish without explicit user confirmation.
53
-
54
34
  Last updated: 2026-09-01
@@ -59,35 +59,4 @@ export const GET: APIRoute = async ({ locals }) => {
59
59
  - Deploy: `npm run deploy` → `astro build && wrangler pages deploy dist`.
60
60
  - CI/CD: GitHub Actions on `main` branch.
61
61
 
62
- ## Standard 2026 Alignment
63
-
64
- This overlay rule file is part of the agent-skills engineering pack. The 2026
65
- upgrade pass added the following Standard 2026 alignment footer to every
66
- overlay rule file in the pack.
67
-
68
- - **OWASP ASI**: applied as described in the core pack — see
69
- `core/roles/role-standard.md` (ASI01-ASI10) and the per-skill
70
- `## Security Guardrails (OWASP ASI)` section in each skill. The rules in this
71
- file are applied by the role that owns the affected action; the runtime
72
- gate is `core/scripts/hooks/check-policy.py` with
73
- `core/policies/action-boundaries.yaml`.
74
- - **Failure Modes** (overlay-specific): the rules in this file can be violated
75
- by drift, missing context, or untracked exceptions. The owning role is
76
- expected to surface concrete failure scenarios in the workflow's
77
- `### Failure Modes` section and to capture remediations via
78
- `contracts/schemas/incident-report.json` when the rule is bypassed.
79
- - **Output Contracts**: when a rule in this file produces a structured
80
- artifact (brief, plan, config, content handoff, audit event), the artifact
81
- must conform to the corresponding schema in `core/contracts/schemas/`.
82
- See `See `core/skills/foundation/setup-design-system/SKILL.md` and the `edge-deployment-spec.json` schema.` for the related skill output contract reference.
83
- - **Skill Toolbox Lock**: a rule in this file is enforced by the role whose
84
- Skill Toolbox lists the related skill as Primary. Roles that hold the
85
- skill as Supporting must delegate rather than execute directly (per
86
- `core/workflows/README.md`).
87
- - **Commit / publish gate**: rule changes that affect user-visible behavior
88
- must follow the META-RULE in `core/rules/code.md` — no commit, no push,
89
- no publish without explicit user confirmation.
90
-
91
- See `core/skills/foundation/setup-design-system/SKILL.md` and the `edge-deployment-spec.json` schema.
92
-
93
62
  Last updated: 2026-09-01
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: develop-b2b-catalog-feature
3
3
  description: Develop features for the B2B factory direct catalog — an Astro v5 B2B manufacturing catalog on Cloudflare Pages. Use when adding pages, product data, components, contact forms, or R2 integrations in this project.
4
+ version: "1.0.0"
4
5
  allowed-tools: [read_file, write_file, edit_file, create_file, search_code, astro_build, astro_check, astro_dev, run_tests]
5
6
  ---
6
7
 
@@ -41,24 +41,4 @@ Project-specific conventions for the B2B Sport niche catalog — custom sportswe
41
41
  | b2b-sport-catalog | B2B Sport | Sportswear, athletic uniforms |
42
42
  | [obj-configurator](../obj-configurator/README.md) | OBJ 3D | WebGL/WebGPU product configurator |
43
43
 
44
- ## Standard 2026 Alignment
45
-
46
- This file is part of the agent-skills engineering pack. The 2026 upgrade
47
- pass added this footer so every prose file in the pack carries a
48
- consistent Standard 2026 pointer.
49
-
50
- - **OWASP ASI**: applied as described in `core/roles/role-standard.md`
51
- (ASI01-ASI10) and the per-skill `## Security Guardrails (OWASP ASI)` sections.
52
- - **Failure Modes**: the rule in this file can be violated by drift, missing
53
- context, or untracked exceptions. Concrete failure scenarios belong in the
54
- related skill or workflow's `### Failure Modes` section.
55
- - **Output Contracts**: structured artifacts produced under this file must
56
- conform to schemas in `core/contracts/schemas/`.
57
- - **Skill Toolbox Lock**: this file's rules are enforced by the role that
58
- owns the affected action; the runtime gate is
59
- `core/scripts/hooks/check-policy.py`.
60
- - **Commit / publish gate**: changes that affect user-visible behavior
61
- follow the META-RULE in `core/rules/code.md` — no commit, no push, no
62
- publish without explicit user confirmation.
63
-
64
44
  Last updated: 2026-09-01
@@ -48,35 +48,4 @@ Project-specific conventions for the B2B Sport niche catalog site.
48
48
  - Keep product catalog data out of component files; use `src/data/` as single source of truth.
49
49
  - Contact form (if present) must use Turnstile anti-spam and a server-side API route.
50
50
 
51
- ## Standard 2026 Alignment
52
-
53
- This overlay rule file is part of the agent-skills engineering pack. The 2026
54
- upgrade pass added the following Standard 2026 alignment footer to every
55
- overlay rule file in the pack.
56
-
57
- - **OWASP ASI**: applied as described in the core pack — see
58
- `core/roles/role-standard.md` (ASI01-ASI10) and the per-skill
59
- `## Security Guardrails (OWASP ASI)` section in each skill. The rules in this
60
- file are applied by the role that owns the affected action; the runtime
61
- gate is `core/scripts/hooks/check-policy.py` with
62
- `core/policies/action-boundaries.yaml`.
63
- - **Failure Modes** (overlay-specific): the rules in this file can be violated
64
- by drift, missing context, or untracked exceptions. The owning role is
65
- expected to surface concrete failure scenarios in the workflow's
66
- `### Failure Modes` section and to capture remediations via
67
- `contracts/schemas/incident-report.json` when the rule is bypassed.
68
- - **Output Contracts**: when a rule in this file produces a structured
69
- artifact (brief, plan, config, content handoff, audit event), the artifact
70
- must conform to the corresponding schema in `core/contracts/schemas/`.
71
- See `See `core/skills/foundation/setup-design-system/SKILL.md` and the `edge-deployment-spec.json` schema.` for the related skill output contract reference.
72
- - **Skill Toolbox Lock**: a rule in this file is enforced by the role whose
73
- Skill Toolbox lists the related skill as Primary. Roles that hold the
74
- skill as Supporting must delegate rather than execute directly (per
75
- `core/workflows/README.md`).
76
- - **Commit / publish gate**: rule changes that affect user-visible behavior
77
- must follow the META-RULE in `core/rules/code.md` — no commit, no push,
78
- no publish without explicit user confirmation.
79
-
80
- See `core/skills/foundation/setup-design-system/SKILL.md` and the `edge-deployment-spec.json` schema.
81
-
82
51
  Last updated: 2026-09-01