@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
@@ -0,0 +1,74 @@
1
+ #!/usr/bin/env python3
2
+ """Static linter for GitHub Actions workflows: SHA pinning, minimal permissions, and pwn-request safety."""
3
+
4
+ from __future__ import annotations
5
+
6
+ import argparse
7
+ import re
8
+ import sys
9
+ from pathlib import Path
10
+
11
+ USES_RE = re.compile(r"^\s*(?:-\s*)?uses:\s*([^\s#]+)", re.M)
12
+ SHA_REF_RE = re.compile(r"@[0-9a-f]{40}$")
13
+ UNSAFE_INTERP_RE = re.compile(r"\$\{\{\s*github\.event\.(?:issue|pull_request|comment|head_commit)\.")
14
+
15
+
16
+ def audit_workflow_yaml(text: str) -> list[str]:
17
+ """Return list of CI supply-chain or injection issues found in workflow text."""
18
+ errors: list[str] = []
19
+ if not re.search(r"(?m)^permissions:\s*", text):
20
+ errors.append("Missing top-level least-privilege 'permissions:' declaration.")
21
+
22
+ for match in USES_RE.finditer(text):
23
+ ref = match.group(1).strip().strip("\"'")
24
+ if ref.startswith("./") or ref.startswith("docker://"):
25
+ continue
26
+ if not SHA_REF_RE.search(ref):
27
+ errors.append(f"Action not pinned to 40-char commit SHA: {ref}")
28
+
29
+ if "pull_request_target" in text and "pull_request.head" in text:
30
+ errors.append("Critical pwn-request trap: pull_request_target checks out untrusted pull_request.head.")
31
+
32
+ if UNSAFE_INTERP_RE.search(text):
33
+ # Flag direct event payload interpolation in run lines
34
+ for line in text.splitlines():
35
+ stripped = line.strip()
36
+ if UNSAFE_INTERP_RE.search(stripped) and not stripped.startswith(("if:", "env:", "#")):
37
+ if any(k in stripped for k in ("run:", "echo ", "python ", "bash ")):
38
+ errors.append(f"Potential shell injection via untrusted github.event interpolation: {stripped}")
39
+ return errors
40
+
41
+
42
+ def run_self_test() -> int:
43
+ ex = Path(__file__).resolve().parent.parent / "examples" / "hardened-ci-matrix-workflow.yml"
44
+ good = ex.read_text(encoding="utf-8")
45
+ assert audit_workflow_yaml(good) == [], f"Example workflow failed audit: {audit_workflow_yaml(good)}"
46
+
47
+ bad = "on: [pull_request_target]\njobs:\n b:\n steps:\n - uses: actions/checkout@v4\n - run: echo ${{ github.event.pull_request.title }}\n"
48
+ errs = audit_workflow_yaml(bad)
49
+ assert len(errs) >= 3, f"Expected >= 3 violations on insecure workflow, got {errs}"
50
+ print("audit_workflow_pinning self-test PASSED")
51
+ return 0
52
+
53
+
54
+ def main() -> int:
55
+ parser = argparse.ArgumentParser(description="Audit GitHub Actions workflow pinning and permissions.")
56
+ parser.add_argument("path", nargs="?", help="Path to workflow YAML file")
57
+ parser.add_argument("--self-test", action="store_true")
58
+ args = parser.parse_args()
59
+
60
+ if args.self_test:
61
+ return run_self_test()
62
+ if not args.path:
63
+ parser.error("Provide workflow YAML path or --self-test")
64
+ errs = audit_workflow_yaml(Path(args.path).read_text(encoding="utf-8"))
65
+ if errs:
66
+ for e in errs:
67
+ print(f"ERROR: {e}", file=sys.stderr)
68
+ return 1
69
+ print(f"OK: {args.path}")
70
+ return 0
71
+
72
+
73
+ if __name__ == "__main__":
74
+ sys.exit(main())
@@ -122,8 +122,7 @@ Confirm:
122
122
 
123
123
  When this skill is invoked as part of a coordinated multi-role delivery, emit:
124
124
 
125
- - **contracts/schemas/deployment-plan.json** — Required fields: infrastructure_changes[], config_updates[], and
126
- alidation_run. Set produced_by_role to the emitting developer role.
125
+ - **contracts/schemas/deployment-plan.json** — Required fields: infrastructure_changes[], config_updates[], and validation_run. Set produced_by_role to the emitting developer role.
127
126
 
128
127
  Skip emission for solo refactor work where no downstream handoff is expected.
129
128
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: debug-workers-edge
3
3
  description: Diagnose Cloudflare Pages and Workers failures at the edge — 5xx, binding errors, Wrangler deploy failures, DNS/cache issues, and context loss. Use when symptoms appear after deploy or only on Cloudflare runtime, not in local dev alone.
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, wrangler_deploy, execute_command]
5
6
  ---
6
7
 
@@ -81,8 +82,7 @@ Run smoke_tests from edge-deployment-spec; update residual_risks for SRE/DevOps.
81
82
 
82
83
  When this skill is invoked as part of a coordinated multi-role delivery, emit:
83
84
 
84
- - **contracts/schemas/deployment-plan.json** — Required fields: infrastructure_changes[], config_updates[], and
85
- alidation_run. Set produced_by_role to the emitting developer role.
85
+ - **contracts/schemas/deployment-plan.json** — Required fields: infrastructure_changes[], config_updates[], and validation_run. Set produced_by_role to the emitting developer role.
86
86
 
87
87
  Skip emission for solo refactor work where no downstream handoff is expected.
88
88
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: durable-objects
3
3
  description: Create and review Cloudflare Durable Objects. Use when building stateful coordination (chat rooms, multiplayer games, booking systems), implementing RPC methods, SQLite storage, alarms, WebSockets, or reviewing DO code for best practices. Covers Workers integration, wrangler config, and testing with Vitest. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.
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, wrangler_deploy, execute_command]
5
6
  ---
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: orchestrate-chaos-experiment
3
3
  description: Plan, execute, and verify controlled chaos engineering experiments and game days. Use when validating system resilience, steady-state hypotheses, automated failover, blast radius containment, or disaster recovery under injected faults.
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
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: sandbox-sdk
3
3
  description: Builds secure, isolated code execution environments on Cloudflare Workers using the Cloudflare Sandbox SDK — enabling AI code interpreters, interactive dev environments, and sandboxed application runtimes. Use when implementing LLM-generated code execution, user-submitted script running, or any scenario requiring isolated compute with file system access on the Cloudflare edge.
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, wrangler_deploy, execute_command]
5
6
  ---
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: setup-deployment
3
3
  description: Add or update deployment source-of-truth configuration for a service or component. Use when a change needs rollout manifests, release config, runtime settings, or environment wiring.
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
 
@@ -115,8 +116,7 @@ For machine-to-machine handoff, output a structured JSON plan (e.g., `deployment
115
116
 
116
117
  When this skill is invoked as part of a coordinated multi-role delivery, emit:
117
118
 
118
- - **contracts/schemas/deployment-plan.json** — Required fields: infrastructure_changes[], config_updates[], and
119
- alidation_run. Set produced_by_role to the emitting developer role.
119
+ - **contracts/schemas/deployment-plan.json** — Required fields: infrastructure_changes[], config_updates[], and validation_run. Set produced_by_role to the emitting developer role.
120
120
 
121
121
  Skip emission for solo refactor work where no downstream handoff is expected.
122
122
 
@@ -109,3 +109,5 @@ When this skill is invoked as part of a coordinated multi-role delivery, emit:
109
109
  - **system-design**: Model GPU capacity requirements and inference compute topology
110
110
  - **setup-deployment**: Apply Kubernetes manifests, DaemonSets, and KEDA autoscalers to deployment sources
111
111
  - **performance-profiling**: Analyze GPU memory bandwidth, compute utilization, and kernel execution latency
112
+ - Companion reference: [`references/dcgm-kubecost-gpu-attribution-specs.md`](references/dcgm-kubecost-gpu-attribution-specs.md)
113
+ - Companion example: [`examples/gpu-finops-prometheus-rules.yaml`](examples/gpu-finops-prometheus-rules.yaml)
@@ -0,0 +1,23 @@
1
+ groups:
2
+ - name: gpu-finops-utilization
3
+ interval: 60s
4
+ rules:
5
+ - alert: IdleAllocatedGPUDetected
6
+ expr: |
7
+ avg_over_time(DCGM_FI_DEV_GPU_UTIL{namespace!="kube-system"}[30m]) < 15
8
+ and on(pod, namespace) (kube_pod_status_phase{phase="Running"} == 1)
9
+ for: 15m
10
+ labels:
11
+ severity: warning
12
+ finops_action: scale_down_or_migrate_mig
13
+ annotations:
14
+ summary: "GPU pod {{ $labels.namespace }}/{{ $labels.pod }} below 15% util for 30m"
15
+ - alert: GPUKVPoolSaturation
16
+ expr: |
17
+ vllm:gpu_cache_usage_factor > 0.85
18
+ for: 5m
19
+ labels:
20
+ severity: warning
21
+ finops_action: enable_kv_offload_or_scale
22
+ annotations:
23
+ summary: "KV cache pool above 85% saturation on {{ $labels.pod }}"
@@ -0,0 +1,16 @@
1
+ # DCGM Telemetry, Kubecost GPU Attribution & MIG FinOps Specifications
2
+
3
+ Normative reference for `setup-gpu-finops`: hardware telemetry standardization, fractional GPU allocation math, speculative decoding cost modeling, and idle scale-to-zero rules.
4
+
5
+ ## 1. Fractional Cost Attribution Model
6
+
7
+ - **NVIDIA MIG Isolation**: Partition multi-tenant H100/A100/B200 GPUs (e.g., `3g.40gb`) so each pod receives dedicated memory bandwidth and SM slices with zero cross-tenant OOM blast radius.
8
+ - **Fractional Cost Formula**:
9
+ $$\text{Cost}_{\text{pod}} = \text{Rate}_{\text{node\_hourly}} \times \frac{\text{Slice}_{\text{pod}}}{\text{Slices}_{\text{total}}} \times \Delta t_{\text{hours}}$$
10
+ - Normalize DCGM exporter metrics (`port 9400`) via OTel Collector into `hw.gpu.utilization`, `hw.gpu.memory.used`, and `hw.gpu.power.usage`, enriched with `k8s.namespace.name`, `team_id`, and `model_name`.
11
+
12
+ ## 2. Idle Waste & Throughput-per-Dollar Gates
13
+
14
+ - Configure KEDA `ScaledObject` on `vllm:num_requests_waiting` with `cooldownPeriod: 900s` (prevents flapping) to scale idle GPU pools to `0`.
15
+ - Trigger low-utilization waste alert when `avg_over_time(DCGM_FI_DEV_GPU_UTIL[30m]) < 15` on allocated pods.
16
+ - Gate EAGLE-3/MTP speculative decoding strictly on empirical draft acceptance $\alpha \ge 0.70$; below `0.70`, disable drafting due to negative throughput-per-dollar ROI.
@@ -108,3 +108,5 @@ When this skill is invoked as part of a coordinated multi-role delivery, emit:
108
108
  - **add-telemetry-instrumentation**: Wire OpenTelemetry GenAI semantic conventions and trace propagation
109
109
  - **manage-secrets**: Securely store and rotate provider API keys and gateway authentication tokens
110
110
  - **system-design**: Architect high-availability LLM proxy clusters and failover topologies
111
+ - Companion reference: [`references/litellm-routing-budget-failover-specs.md`](references/litellm-routing-budget-failover-specs.md)
112
+ - Companion example: [`examples/litellm-gateway-config.yaml`](examples/litellm-gateway-config.yaml)
@@ -0,0 +1,28 @@
1
+ model_list:
2
+ - model_name: reasoning-primary
3
+ litellm_params:
4
+ model: anthropic/claude-sonnet-4
5
+ api_key: os.environ/ANTHROPIC_API_KEY
6
+ timeout: 30
7
+ - model_name: reasoning-primary
8
+ litellm_params:
9
+ model: openai/gpt-4o
10
+ api_key: os.environ/OPENAI_API_KEY
11
+ timeout: 30
12
+ - model_name: fast-model
13
+ litellm_params:
14
+ model: openai/vllm-local
15
+ api_base: http://vllm-router.ai-inference.svc.cluster.local:8000/v1
16
+ api_key: os.environ/VLLM_INTERNAL_TOKEN
17
+
18
+ router_settings:
19
+ routing_strategy: latency-based-routing
20
+ num_retries: 2
21
+ cooldown_time: 60
22
+ fallbacks:
23
+ - reasoning-primary: ["fast-model"]
24
+
25
+ general_settings:
26
+ enforce_metadata_headers: ["x-team-id", "x-project-id", "x-prompt-version"]
27
+ max_session_budget_ratio_of_daily: 0.10
28
+ callbacks: ["otel"]
@@ -0,0 +1,16 @@
1
+ # LiteLLM Routing, Token Budgeting & Circuit Breaker Specifications
2
+
3
+ Normative reference for `setup-llm-gateway`: centralized egress choke point, multi-provider failover, cost-attribution tuple tracking, and agentic circuit breakers.
4
+
5
+ ## 1. SLO & Cost Attribution Invariants
6
+
7
+ | Tier | TTFT P95 Budget | TBT P95 Budget | Required Metadata Tuple |
8
+ | :--- | :---: | :---: | :--- |
9
+ | Interactive | $< 800\text{ ms}$ | $< 25\text{ ms}$ | `x-team-id`, `x-project-id`, `x-user-id`, `x-prompt-version` |
10
+ | Batch / Async | $< 3,000\text{ ms}$ | Best-effort | `x-team-id`, `x-project-id`, `x-prompt-version` |
11
+
12
+ ## 2. Failover & Circuit Breaker Rules
13
+
14
+ - Trigger automatic fallback across virtual model groups on HTTP `429`, `500`, `502`, `503`, `504`, or read timeout (`num_retries: 2`, `cooldown_time: 60s`).
15
+ - Enforce **Agentic Session Circuit Breaker**: cap per-session cumulative tokens at $\le 10\%$ of daily team budget; fail closed with HTTP `429` (`budget_exhausted`) on loop runaway.
16
+ - Emit OTel GenAI semantic attributes (`gen_ai.system`, `gen_ai.request.model`, `gen_ai.usage.input_tokens`, `gen_ai.usage.output_tokens`); inject keys solely from secret manager env refs (`os.environ/...`), never plaintext.
@@ -166,8 +166,7 @@ Feed SBOMs into Dependency-Track or equivalent SCA tool:
166
166
 
167
167
  When this skill is invoked as part of a coordinated multi-role delivery, emit:
168
168
 
169
- - **contracts/schemas/deployment-plan.json** — Required fields: infrastructure_changes[], config_updates[], and
170
- alidation_run. Set produced_by_role to the emitting developer role.
169
+ - **contracts/schemas/deployment-plan.json** — Required fields: infrastructure_changes[], config_updates[], and validation_run. Set produced_by_role to the emitting developer role.
171
170
 
172
171
  Skip emission for solo refactor work where no downstream handoff is expected.
173
172
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: turnstile-spin
3
3
  description: Implements end-to-end Cloudflare Turnstile CAPTCHA protection — widget creation, managed siteverify Worker deployment, and frontend integration — turning a "set up Turnstile" request into a validated, working integration. Use when adding bot protection to forms or gated flows in vanilla HTML, Next.js, Astro, SvelteKit, or Hugo projects.
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, wrangler_deploy, execute_command]
5
6
  ---
6
7
 
@@ -88,8 +89,7 @@ implementation is in
88
89
 
89
90
  When this skill is invoked as part of a coordinated multi-role delivery, emit:
90
91
 
91
- - **contracts/schemas/deployment-plan.json** — Required fields: infrastructure_changes[], config_updates[], and
92
- alidation_run. Set produced_by_role to the emitting developer role.
92
+ - **contracts/schemas/deployment-plan.json** — Required fields: infrastructure_changes[], config_updates[], and validation_run. Set produced_by_role to the emitting developer role.
93
93
 
94
94
  Skip emission for solo refactor work where no downstream handoff is expected.
95
95
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: web-perf
3
3
  description: Analyzes web page performance using Chrome DevTools MCP — measuring Core Web Vitals (LCP, INP, CLS), identifying render-blocking resources, network dependency chains, and caching issues to produce specific, actionable optimization recommendations. Use when auditing Lighthouse scores, debugging slow page loads, profiling Core Web Vitals regressions, or validating performance improvements before release.
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, wrangler_deploy, execute_command]
5
6
  ---
6
7
 
@@ -120,8 +121,7 @@ Tool: Chrome DevTools MCP | Lighthouse | CrUX
120
121
 
121
122
  When this skill is invoked as part of a coordinated multi-role delivery, emit:
122
123
 
123
- - **contracts/schemas/deployment-plan.json** — Required fields: infrastructure_changes[], config_updates[], and
124
- alidation_run. Set produced_by_role to the emitting developer role.
124
+ - **contracts/schemas/deployment-plan.json** — Required fields: infrastructure_changes[], config_updates[], and validation_run. Set produced_by_role to the emitting developer role.
125
125
 
126
126
  Skip emission for solo refactor work where no downstream handoff is expected.
127
127
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: workers-best-practices
3
3
  description: Reviews and authors Cloudflare Workers code against production best practices — covering async patterns, global state isolation, secret handling, compatibility flags, and TypeScript bindings. Use when writing new Workers, reviewing existing code for production readiness, or correcting violations of Cloudflare's canonical Workers patterns.
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, wrangler_deploy, execute_command]
5
6
  ---
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: wrangler
3
3
  description: Deploys, develops, and manages Cloudflare Workers and their bindings — KV, R2, D1, Vectorize, Hyperdrive, Workers AI, Containers, Queues, Workflows, Pipelines, and Secrets — via the Wrangler CLI. Use when setting up a new Worker project, deploying to staging or production, managing secrets, generating TypeScript types, or configuring environment-specific settings.
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, wrangler_deploy, execute_command]
5
6
  ---
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: build-story-map
3
3
  description: Structure and visualize product backlogs using Jeff Patton User Story Mapping, MoSCoW release swimlanes, and Critical Path Method (CPM) dependency scheduling. Use when organizing features into Epic-to-Story hierarchies, defining MVP walking skeletons, slicing releases, calculating float time on critical path tasks, or handing off scoped initiatives to engineering.
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
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: define-product-strategy
3
3
  description: Formulate, stress-test, and document product strategy using Amazon Working Backwards (PR/FAQ), Hamilton Helmer 7 Powers moat analysis, Teresa Torres Opportunity Solution Trees (OST), and Rob Fitzpatrick The Mom Test problem validation. Use when shaping new product initiatives, framing strategic bets, analyzing competitive defensibility, validating customer demand without leading bias, or activating the Framing Gate to push back on underspecified requirements.
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
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: model-saas-metrics
3
3
  description: Model SaaS unit economics, deterministic financial metrics, Van Westendorp price sensitivity, and AI Total Cost of Ownership (TCO). Use when calculating CAC, LTV, Magic Number, Rule of 40, Burn Multiple, Net Revenue Retention, analyzing pricing tiers and willingness-to-pay, or budgeting AI inference and orchestration costs per verified outcome.
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
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: prioritize-roadmap
3
3
  description: Score, sequence, and balance product roadmaps using calibrated quantitative RICE, WSJF, Kano classification, weighted scoring decision matrices, and capacity timeboxing. Use when resolving competing feature requests, evaluating build vs. buy decisions, prioritizing quarterly roadmaps, conducting vendor evaluations, or enforcing the Kill-Early protocol on underperforming bets.
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
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: commit-code
3
3
  description: Validate and package a finished change into a clean commit by following repo-local validation, generation, release-note, and approval rules. Use when the user explicitly asks to prepare or create a commit.
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, run_dev_server, execute_command]
5
6
  ---
6
7
 
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: navigate-service
3
3
  description: Navigate and understand an unfamiliar service by mapping its entrypoints, core flows, dependencies, and delivery boundaries. Use when exploring a service, locating behavior, or gathering context before a change, review, or debug session.
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, run_dev_server, execute_command]
5
6
  ---
6
7
 
@@ -31,155 +32,48 @@ Use this skill when the user asks to understand, explore, or orient within a spe
31
32
 
32
33
  ## Output Contracts
33
34
 
34
- When the navigation summary is consumed by a review, planning, or
35
- multi-role handoff, emit:
35
+ When the navigation summary is consumed by a review, planning, or multi-role handoff, emit:
36
36
 
37
- - **`contracts/schemas/coordination-plan.json`** adapted for navigation: capture the service boundary, the entrypoints, the dependencies, the open questions, and the assumptions. The receiving agent can then plan the change without redoing the exploration.
38
- - For human-readable reports, the markdown summary already documented is the canonical format.
39
- - The summary must distinguish confirmed facts from assumptions; downstream agents must be able to trust the fact/assumption boundary.
37
+ - **`contracts/schemas/coordination-plan.json`** adapted for navigation: capture the service boundary, entrypoints, dependencies, open questions, and confirmed facts vs assumptions.
38
+ - Skip emission for trivial lookups that do not cross a role boundary.
40
39
 
41
- Skip emission for trivial lookups that do not cross a role boundary.
40
+ ## Operating Principles & Triggers
42
41
 
43
- ## Failure Modes
44
-
45
- - **Wrong file from AI tool**: an AI code-search tool returns a file that doesn't actually contain the behavior. Mitigation: verify every AI-suggested file against the actual source before recording it in the summary.
46
- - **Stale OpenAPI/AsyncAPI spec**: the OpenAPI/AsyncAPI spec referenced as the service map is out of date. Mitigation: regenerate the spec from code; do not trust a stale spec.
47
- - **Assumption recorded as fact**: an unverified claim is recorded as a confirmed fact. Mitigation: separate confirmed facts from assumptions in the summary; mark every unverified claim explicitly.
48
- - **Missing boundary**: the service boundary is misidentified, missing a downstream consumer. Mitigation: trace entrypoints to persistence; cross-check with the deployment manifest.
49
- - **Internal workflow wording in summary**: the summary mentions agent names or AI workflow. Mitigation: treat the summary as a user-visible artifact; strip internal terms.
50
- - **Secret or PII in summary**: a credential or customer identifier is pasted into the summary. Mitigation: reference secret names only; classify customer-affecting boundaries with `data-classification.yaml`.
51
- - **Service map missing**: the repo has no OpenAPI/AsyncAPI spec and no service map. Mitigation: generate the spec from code as the first navigation artifact.
52
- - **Layout assumed from prior experience**: the summary assumes a fixed folder layout or framework. Mitigation: discover boundaries from the codebase, not from prior expectations.
53
-
54
- ## Navigation Triggers
55
-
56
- - the user asks how a service works
57
- - the user needs to find where a behavior is implemented
58
- - the user is new to a service and needs fast orientation
59
- - before making changes, so the local architecture is understood first
60
- - during review or troubleshooting, when code context is incomplete
61
-
62
- ## Operating Assumptions
63
-
64
- This skill is intentionally repo-agnostic.
65
-
66
- - assume a service-oriented codebase, but not a fixed framework
67
- - do not assume a fixed folder layout or service inventory
68
- - prefer repo-local structure over generic examples
69
- - discover boundaries from the codebase instead of from prior expectations
70
-
71
- ## Navigation Goals
72
-
73
- When using this skill, answer these questions as quickly as possible:
74
-
75
- 1. What does this service own?
76
- 2. What are its public entrypoints?
77
- 3. Where does the core business logic live?
78
- 4. What data stores or external systems does it depend on?
79
- 5. What other services or packages does it call?
80
- 6. What configuration, rollout, or runtime constraints matter?
42
+ Use this repo-agnostic skill when exploring an unfamiliar service, locating behavior, or pre-flighting review/debug work:
43
+ - Discover boundaries, folder layout, and frameworks directly from repo-local files rather than prior assumptions.
44
+ - Answer: what does it own, what are its public entrypoints, where does core logic live, what data stores/external dependencies exist, and what config/runtime constraints apply?
81
45
 
82
46
  ## Suggested Process
83
47
 
84
- Adapt the order to the target repo, but usually start here:
85
-
86
- ### Step 1: Identify the Service Boundary
87
-
88
- - find the service or component directory
89
- - check `README`, package docs, or service docs if present
90
- - identify the main runtime entrypoint or bootstrap path
91
-
92
- ### Step 2: Find Entrypoints
93
-
94
- Look for the files or packages that define how requests, jobs, or messages enter the service:
95
-
96
- - HTTP or RPC handlers
97
- - background jobs or workers
98
- - event consumers or subscribers
99
- - CLI entrypoints or scheduled tasks
48
+ Adapt the order to the target repo, starting here:
100
49
 
101
- ### Step 3: Map Core Business Flow
50
+ ### Step 1: Identify Service Boundary & Entrypoints
51
+ - Locate service root, `README`, bootstrap path, HTTP/RPC handlers, workers/consumers, CLI commands, and cron jobs.
102
52
 
103
- Locate the path from entrypoint to decision-making logic:
53
+ ### Step 2: Map Core Flow & Persistence State
54
+ - Trace entrypoint → handler → domain/use-case logic → repositories, migrations, caches, and storage adapters (without assuming fixed folder names).
104
55
 
105
- - boundary or handler layer
106
- - use case or domain layer
107
- - persistence or adapter layer
108
-
109
- Do not assume the repo uses names like `service`, `biz`, or `data`. Follow the actual structure.
110
-
111
- ### Step 4: Inspect Persistence and State
112
-
113
- Check where the service reads or writes state:
114
-
115
- - repositories or query packages
116
- - migrations or schema definitions
117
- - cache integrations
118
- - outbound storage adapters
119
-
120
- ### Step 5: Identify External Dependencies
121
-
122
- Look for:
123
-
124
- - service clients
125
- - SDK integrations
126
- - event publishing
127
- - shared internal packages
128
- - environment and config dependencies
129
-
130
- ### Step 6: Check Runtime and Delivery Context
131
-
132
- Review the local source of truth for:
133
-
134
- - configuration
135
- - environment variables
136
- - health or readiness behavior
137
- - build, generation, or release steps
138
-
139
- ## What to Extract
140
-
141
- When you finish exploration, you should be able to summarize:
142
-
143
- - service purpose
144
- - primary user or system-facing capabilities
145
- - main code path for the feature in question
146
- - key dependencies and side effects
147
- - important constraints, risks, or unknowns
56
+ ### Step 3: Identify External Dependencies & Runtime Context
57
+ - Map outbound HTTP/RPC clients, SDKs, event publishers, shared packages, env vars, health/readiness probes, and build/release configs.
148
58
 
149
59
  ## Output Format
150
60
 
151
- When presenting a service overview, structure the response like this:
152
-
153
- 1. Service purpose
154
- 2. Entrypoints and primary flows
155
- 3. Core business logic location
156
- 4. State and persistence model
157
- 5. External dependencies
158
- 6. Configuration and runtime considerations
159
- 7. Risks, assumptions, and open questions
61
+ Structure service overviews as: 1) Service purpose, 2) Entrypoints & primary flows, 3) Core business logic location, 4) State & persistence model, 5) External dependencies, 6) Configuration & runtime constraints, 7) Confirmed facts vs assumptions & open questions.
160
62
 
161
63
  ## Checklist
162
64
 
163
- - [ ] service boundary identified
164
- - [ ] main entrypoints located
165
- - [ ] local docs or service notes checked
166
- - [ ] main business flow mapped
167
- - [ ] persistence layer located
168
- - [ ] external dependencies identified
169
- - [ ] config source reviewed
170
- - [ ] build or generation steps noted
171
- - [ ] rollout or runtime constraints noted
65
+ - [ ] service boundary and main entrypoints located
66
+ - [ ] local docs, OpenAPI/AsyncAPI specs, and runtime topology reviewed
67
+ - [ ] main business flow, persistence layer, and external dependencies mapped
68
+ - [ ] config source, build steps, and rollout/runtime constraints noted
69
+ - [ ] confirmed facts separated from assumptions (zero secrets/PII in summary)
172
70
 
173
- ## Quick Reference
174
-
175
- Use this when the request is narrow and you need fast orientation:
71
+ ## Failure Modes
176
72
 
177
- - identify the service directory
178
- - find the main entrypoint
179
- - trace one important request or job flow
180
- - note persistence touchpoints
181
- - note outbound dependencies
182
- - summarize risks or unknowns
73
+ - **Wrong file from AI search**: AI tools misattribute behavior. Mitigation: verify every suggested file against source before citing.
74
+ - **Stale OpenAPI/AsyncAPI spec**: spec diverges from runtime routes. Mitigation: inspect actual route handlers and regenerate specs when needed.
75
+ - **Assumption recorded as fact**: unverified claims mislead downstream plans. Mitigation: mark confirmed facts vs assumptions explicitly.
76
+ - **Secret or PII leakage in map**: credentials pasted into navigation docs. Mitigation: reference secret names only and tag PII with `data-classification.yaml`.
183
77
 
184
78
  ## Security Guardrails (OWASP ASI)
185
79
 
@@ -196,4 +90,6 @@ Use this when the request is narrow and you need fast orientation:
196
90
  - **review-code**: Inspect implementation details after exploration
197
91
  - **write-tests**: Add coverage once the target flow is understood
198
92
  - **meeting-review**: Run a structured cross-role review
93
+ - Companion reference: [`references/service-topology-mapping-guide.md`](references/service-topology-mapping-guide.md)
94
+ - Companion example: [`examples/service-boundary-map-example.md`](examples/service-boundary-map-example.md)
199
95
 
@@ -0,0 +1,14 @@
1
+ # Service Boundary Map Example: `billing-service`
2
+
3
+ ## 1. Confirmed Facts (`[CONFIRMED]`)
4
+ - **Service Purpose**: Owns invoice issuance, tax snapshots, and ledger settlement state.
5
+ - **HTTP Entrypoints**: `internal/server/http.go` -> `POST /v1/invoices`, `GET /v1/invoices/{id}`, `GET /healthz`.
6
+ - **Event Consumers**: `internal/worker/payment_consumer.go` (`com.example.payment.settled.v1`, idempotent on `event.id`).
7
+ - **Core Domain Logic**: `internal/biz/invoice_usecase.go` (enforces `draft -> issued -> paid` state transitions inside `InTx`).
8
+ - **Persistence**: PostgreSQL tables `invoices`, `invoice_lines`, `outbox_events` (`migrations/0004_invoices.sql`); Redis key prefix `invoice:lock:*` (`TTL 30s`).
9
+ - **Outbound Dependencies**: Tax calculation gRPC client (`internal/data/tax_client.go`, `timeout=2000ms`), Kafka outbox topic `billing.events.v1`.
10
+ - **Configuration Keys**: `DB_POOL_DSN`, `TAX_GRPC_ADDR`, `SIGNING_KEY_SECRET_REF` (values omitted per `data-classification.yaml`).
11
+
12
+ ## 2. Assumptions & Open Questions (`[UNVERIFIED]`)
13
+ - **Open Question**: Whether `legacy-cron/nightly_reconcile.sh` still runs against production replica or was retired in v2.4.
14
+ - **Blast Radius Note**: Renaming JSON fields in `GET /v1/invoices/{id}` impacts `frontend-portal` and `pdf-renderer-worker`.
@@ -0,0 +1,18 @@
1
+ # Service Topology Mapping Guide
2
+
3
+ Normative reference for `navigate-service`: rapid boundary discovery, entrypoint-to-persistence tracing, confirmed-facts vs assumptions separation, and secret redaction.
4
+
5
+ ## 1. Six-Question Discovery Protocol
6
+
7
+ 1. **Ownership**: Service root directory, package manifest, domain entities owned exclusively here.
8
+ 2. **Entrypoints**: HTTP/gRPC routers, GraphQL resolvers, cron schedules, queue consumers, CLI commands, and OpenAPI/AsyncAPI specs.
9
+ 3. **Domain Core**: Business rules, state machines, and invariants decoupled from transport and storage.
10
+ 4. **Persistence & State**: Relational tables, migrations, Redis keys/Lua scripts, object storage buckets, outbox tables.
11
+ 5. **External Dependencies**: Outbound service clients, payment/auth providers, emitted events, shared internal libraries.
12
+ 6. **Runtime Context**: Health/readiness probes, feature flags, environment config names (names ONLY — zero secret values), and deployment manifests.
13
+
14
+ ## 2. Anti-Hallucination & Security Rules
15
+
16
+ - **Verify AI Search Hits**: Never record a file path returned by natural-language search without reading the actual declaration in source.
17
+ - **Fact vs Assumption Boundary**: Separate `[CONFIRMED]` (verified line numbers/symbols) from `[ASSUMED / UNVERIFIED]` so downstream planning agents do not treat guesses as truth.
18
+ - **Zero Secret Leakage**: Classify PII/credential boundaries with `core/policies/data-classification.yaml` and emit variable names only.
@@ -1,6 +1,7 @@
1
1
  ---
2
2
  name: review-code
3
3
  description: Review a diff since a fixed point along two separate axes — Standards (conformance to documented standards and smell baseline) and Spec (faithful requirement delivery) — reported side by side without reranking. Use when performing PR reviews, 'review since X' audits, local change reviews, adversarial anti-slop checks, or pre-merge gates.
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
 
@@ -66,6 +67,15 @@ Present findings side by side under `## Standards` and `## Spec` headings withou
66
67
  - [ ] supply chain security verified (no typosquatted packages, unpinned versions, or untrusted install hooks)
67
68
  - [ ] `code-review-finding.json` emitted for cross-role handoff when gating merge
68
69
 
70
+ ## Red Flags
71
+
72
+ | Rationalization Thought | Positive Corrective Action |
73
+ |---|---|
74
+ | "Diff is small and CI is green — LGTM." | Probe for phantom validations, silent error swallowing, resource leaks, and spec drift before approving. |
75
+ | "Merge Standards and Spec into one prioritized list." | Report `## Standards` and `## Spec` side by side with `file:line` citations and zero cross-axis reranking. |
76
+ | "The reviewer suggested X, so I'll apply it blindly." | Verify every incoming review comment against live code and spec; push back with technical evidence if it breaks an invariant. |
77
+ | "I'll narrate the diff instead of citing evidence." | Anchor every finding to exact `file:line`, violated rule/spec clause, and concrete remediation. |
78
+
69
79
  ## Output Contracts
70
80
 
71
81
  When the review produces a structured handoff (CI gate, pre-merge audit, or multi-role delivery), emit: