@punks/cli 2.2.6 → 2.2.8

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 (488) hide show
  1. package/AGENTS.md +1 -1
  2. package/README.md +2 -2
  3. package/dist/data/AGENTS.md +113 -0
  4. package/dist/data/control-plane.json +3 -0
  5. package/dist/data/hooks/format-edited-file.mjs +699 -0
  6. package/dist/data/hooks/format-edited-file.sh +37 -0
  7. package/dist/data/hooks/require-tests-for-pr.mjs +206 -0
  8. package/dist/data/hooks/scaffold-update-check.mjs +181 -0
  9. package/dist/data/scripts/sync-subagents.mjs +524 -0
  10. package/dist/data/subagents/manifest.mjs +488 -0
  11. package/dist/index.js +0 -0
  12. package/dist/skills/agnostic/backend/backend-domain-structure/SKILL.md +50 -0
  13. package/dist/skills/agnostic/backend/backend-domain-structure/agents/openai.yaml +4 -0
  14. package/dist/skills/agnostic/backend/backend-domain-structure/references/layout.md +167 -0
  15. package/dist/skills/agnostic/backend/backend-recoverable-actions/SKILL.md +49 -0
  16. package/dist/skills/agnostic/backend/backend-recoverable-actions/agents/openai.yaml +4 -0
  17. package/dist/skills/agnostic/backend/backend-recoverable-actions/references/strategy-matrix.md +34 -0
  18. package/dist/skills/agnostic/backend/backend-recoverable-actions/references/test-matrix.md +34 -0
  19. package/dist/skills/agnostic/backend/logging-best-practices/SKILL.md +127 -0
  20. package/dist/skills/agnostic/backend/logging-best-practices/rules/context.md +157 -0
  21. package/dist/skills/agnostic/backend/logging-best-practices/rules/pitfalls.md +118 -0
  22. package/dist/skills/agnostic/backend/logging-best-practices/rules/structure.md +193 -0
  23. package/dist/skills/agnostic/backend/logging-best-practices/rules/wide-events.md +113 -0
  24. package/dist/skills/agnostic/cli/dp-cli/SKILL.md +125 -0
  25. package/dist/skills/agnostic/cli/dp-cli/references/commands.md +70 -0
  26. package/dist/skills/agnostic/cli/dp-cli/references/post-command-flow.md +70 -0
  27. package/dist/skills/agnostic/debug/debug-agent/SKILL.md +184 -0
  28. package/dist/skills/agnostic/docs/docs-onboarding/SKILL.md +46 -0
  29. package/dist/skills/agnostic/docs/docs-onboarding/agents/openai.yaml +4 -0
  30. package/dist/skills/agnostic/docs/docs-onboarding/references/artifact-contract.md +67 -0
  31. package/dist/skills/agnostic/docs/upstream/mattpocock-writing-skills.md +41 -0
  32. package/dist/skills/agnostic/docs/writing-beats/SKILL.md +69 -0
  33. package/dist/skills/agnostic/docs/writing-fragments/SKILL.md +76 -0
  34. package/dist/skills/agnostic/docs/writing-great-skills/GLOSSARY.md +69 -0
  35. package/dist/skills/agnostic/docs/writing-great-skills/SKILL.md +61 -0
  36. package/dist/skills/agnostic/docs/writing-shape/SKILL.md +75 -0
  37. package/dist/skills/agnostic/frontend/agent-browser/.clawdhub/origin.json +7 -0
  38. package/dist/skills/agnostic/frontend/agent-browser/SKILL.md +229 -0
  39. package/dist/skills/agnostic/frontend/agent-browser/references/authentication.md +202 -0
  40. package/dist/skills/agnostic/frontend/agent-browser/references/commands.md +259 -0
  41. package/dist/skills/agnostic/frontend/agent-browser/references/proxy-support.md +188 -0
  42. package/dist/skills/agnostic/frontend/agent-browser/references/session-management.md +193 -0
  43. package/dist/skills/agnostic/frontend/agent-browser/references/snapshot-refs.md +194 -0
  44. package/dist/skills/agnostic/frontend/agent-browser/references/video-recording.md +173 -0
  45. package/dist/skills/agnostic/frontend/agent-browser/templates/authenticated-session.sh +97 -0
  46. package/dist/skills/agnostic/frontend/agent-browser/templates/capture-workflow.sh +69 -0
  47. package/dist/skills/agnostic/frontend/agent-browser/templates/form-automation.sh +62 -0
  48. package/dist/skills/agnostic/frontend/design-taste-frontend/SKILL.md +226 -0
  49. package/dist/skills/agnostic/frontend/frontend-domain-structure/SKILL.md +55 -0
  50. package/dist/skills/agnostic/frontend/frontend-domain-structure/agents/openai.yaml +4 -0
  51. package/dist/skills/agnostic/frontend/frontend-domain-structure/references/react/structure.md +102 -0
  52. package/dist/skills/agnostic/frontend/frontend-domain-structure/references/structure.md +257 -0
  53. package/dist/skills/agnostic/frontend/gpt-taste/SKILL.md +74 -0
  54. package/dist/skills/agnostic/frontend/image-taste-frontend/SKILL.md +1102 -0
  55. package/dist/skills/agnostic/frontend/redesign-existing-projects/SKILL.md +178 -0
  56. package/dist/skills/agnostic/generic/handoff/SKILL.md +15 -0
  57. package/dist/skills/agnostic/planning/create-plan/REFERENCE.md +39 -0
  58. package/dist/skills/agnostic/planning/create-plan/SKILL.md +91 -0
  59. package/dist/skills/agnostic/planning/create-plan/references/backlog-sync.md +44 -0
  60. package/dist/skills/agnostic/planning/create-plan/references/grill-ambiguity.md +87 -0
  61. package/dist/skills/agnostic/planning/create-plan/references/plan-schema.md +94 -0
  62. package/dist/skills/agnostic/planning/create-plan/references/planner-task-graph.md +42 -0
  63. package/dist/skills/agnostic/planning/create-plan/references/stop-conditions.md +18 -0
  64. package/dist/skills/agnostic/planning/create-plan/references/tdd-shaping.md +49 -0
  65. package/dist/skills/agnostic/planning/create-spec/SKILL.md +111 -0
  66. package/dist/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md +91 -0
  67. package/dist/skills/agnostic/planning/create-spec/references/backlog-sync.md +49 -0
  68. package/dist/skills/agnostic/planning/create-spec/references/discovery.md +54 -0
  69. package/dist/skills/agnostic/planning/create-spec/references/folder-naming.md +33 -0
  70. package/dist/skills/agnostic/planning/create-spec/references/grill-phase.md +47 -0
  71. package/dist/skills/agnostic/planning/create-spec/references/handoff.md +47 -0
  72. package/dist/skills/agnostic/planning/create-spec/references/questioning.md +51 -0
  73. package/dist/skills/agnostic/planning/create-spec/references/spec-quality-bar.md +58 -0
  74. package/dist/skills/agnostic/planning/create-spec/references/wiki-bookkeeping.md +50 -0
  75. package/dist/skills/agnostic/planning/implement-spec/SKILL.md +103 -0
  76. package/dist/skills/agnostic/planning/implement-spec/assets/IMPLEMENTATION-NOTES-TEMPLATE.md +65 -0
  77. package/dist/skills/agnostic/planning/implement-spec/references/lifecycle.md +209 -0
  78. package/dist/skills/agnostic/planning/implement-spec/references/parallel-orchestration.md +102 -0
  79. package/dist/skills/agnostic/planning/implement-spec/references/parallel-worker-brief.md +79 -0
  80. package/dist/skills/agnostic/planning/implement-spec/references/parallel.md +56 -0
  81. package/dist/skills/agnostic/planning/implement-spec/references/sequential.md +46 -0
  82. package/dist/skills/agnostic/planning/implement-spec/references/ui-screenshot-evidence.md +61 -0
  83. package/dist/skills/agnostic/planning/stack/SKILL.md +89 -0
  84. package/dist/skills/agnostic/planning/swarm-planner/SKILL.md +179 -0
  85. package/dist/skills/agnostic/quality/autoreview/SKILL.md +191 -0
  86. package/dist/skills/agnostic/quality/autoreview/scripts/autoreview +1176 -0
  87. package/dist/skills/agnostic/quality/autoreview/scripts/test-review-harness +176 -0
  88. package/dist/skills/agnostic/quality/codebase-design/DEEPENING.md +34 -0
  89. package/dist/skills/agnostic/quality/codebase-design/DESIGN-IT-TWICE.md +43 -0
  90. package/dist/skills/agnostic/quality/codebase-design/SKILL.md +60 -0
  91. package/dist/skills/agnostic/quality/simplify/SKILL.md +14 -0
  92. package/dist/skills/agnostic/quality/tdd/SKILL.md +139 -0
  93. package/dist/skills/agnostic/quality/tdd/deep-modules.md +33 -0
  94. package/dist/skills/agnostic/quality/tdd/high-signal-tests.md +39 -0
  95. package/dist/skills/agnostic/quality/tdd/interface-design.md +31 -0
  96. package/dist/skills/agnostic/quality/tdd/mocking.md +59 -0
  97. package/dist/skills/agnostic/quality/tdd/refactoring.md +10 -0
  98. package/dist/skills/agnostic/quality/tdd/tests.md +61 -0
  99. package/dist/skills/agnostic/repo-asset-management/SKILL.md +28 -0
  100. package/dist/skills/agnostic/repo-asset-management/references/acceptance.md +6 -0
  101. package/dist/skills/agnostic/repo-asset-management/references/azure.md +11 -0
  102. package/dist/skills/agnostic/repo-asset-management/references/bitbucket.md +8 -0
  103. package/dist/skills/agnostic/repo-asset-management/references/github.md +11 -0
  104. package/dist/skills/agnostic/repo-asset-management/references/gitlab.md +11 -0
  105. package/dist/skills/agnostic/requirements/grilling/SKILL.md +38 -0
  106. package/dist/skills/agnostic/requirements/requirements-grill/SKILL.md +46 -0
  107. package/dist/skills/agnostic/requirements/requirements-grill/references/artifact-output.md +157 -0
  108. package/dist/skills/agnostic/requirements/requirements-grill/references/grilling-flow.md +71 -0
  109. package/dist/skills/agnostic/requirements/requirements-grill/references/wiki-output.md +101 -0
  110. package/dist/skills/agnostic/requirements/write-backlog/EXAMPLES.md +67 -0
  111. package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +264 -0
  112. package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +85 -0
  113. package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +69 -0
  114. package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +66 -0
  115. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +63 -0
  116. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +224 -0
  117. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +76 -0
  118. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +146 -0
  119. package/dist/skills/agnostic/research/improve-codebase-architecture/REFERENCE.md +78 -0
  120. package/dist/skills/agnostic/research/improve-codebase-architecture/SKILL.md +80 -0
  121. package/dist/skills/agnostic/research/parallel-research/SKILL.md +68 -0
  122. package/dist/skills/agnostic/research/parallel-research/agents/openai.yaml +4 -0
  123. package/dist/skills/agnostic/research/prototype/LOGIC.md +31 -0
  124. package/dist/skills/agnostic/research/prototype/SKILL.md +31 -0
  125. package/dist/skills/agnostic/research/prototype/UI.md +29 -0
  126. package/dist/skills/agnostic/subagents/swarm-planner/SKILL.md +179 -0
  127. package/dist/skills/frameworks/better-auth/better-auth-best-practices/SKILL.md +166 -0
  128. package/dist/skills/frameworks/better-auth/better-auth-security-best-practices/SKILL.MD +432 -0
  129. package/dist/skills/frameworks/effect/effect-authoring/SKILL.md +116 -0
  130. package/dist/skills/frameworks/effect/effect-authoring/references/branded-types.md +98 -0
  131. package/dist/skills/frameworks/effect/effect-authoring/references/effect-atom-patterns.md +257 -0
  132. package/dist/skills/frameworks/effect/effect-authoring/references/effect-primitives.md +144 -0
  133. package/dist/skills/frameworks/effect/effect-authoring/references/error-patterns.md +156 -0
  134. package/dist/skills/frameworks/effect/effect-authoring/references/otel-patterns.md +113 -0
  135. package/dist/skills/frameworks/effect/effect-authoring/references/test-patterns.md +146 -0
  136. package/dist/skills/frameworks/effect/effect-backend-structure/SKILL.md +96 -0
  137. package/dist/skills/frameworks/effect/effect-backend-structure/agents/openai.yaml +4 -0
  138. package/dist/skills/frameworks/effect/effect-backend-structure/references/layout.md +68 -0
  139. package/dist/skills/frameworks/effect/effect-best-practices/SKILL.md +517 -0
  140. package/dist/skills/frameworks/effect/effect-best-practices/references/anti-patterns.md +392 -0
  141. package/dist/skills/frameworks/effect/effect-best-practices/references/effect-atom-patterns.md +653 -0
  142. package/dist/skills/frameworks/effect/effect-best-practices/references/error-patterns.md +464 -0
  143. package/dist/skills/frameworks/effect/effect-best-practices/references/language-server.md +287 -0
  144. package/dist/skills/frameworks/effect/effect-best-practices/references/layer-patterns.md +495 -0
  145. package/dist/skills/frameworks/effect/effect-best-practices/references/observability-patterns.md +342 -0
  146. package/dist/skills/frameworks/effect/effect-best-practices/references/rpc-cluster-patterns.md +418 -0
  147. package/dist/skills/frameworks/effect/effect-best-practices/references/schema-patterns.md +353 -0
  148. package/dist/skills/frameworks/effect/effect-best-practices/references/service-patterns.md +299 -0
  149. package/dist/skills/frameworks/effect/effect-recoverable-actions/SKILL.md +65 -0
  150. package/dist/skills/frameworks/effect/effect-recoverable-actions/agents/openai.yaml +4 -0
  151. package/dist/skills/frameworks/effect/effect-recoverable-actions/references/flow-examples.md +154 -0
  152. package/dist/skills/frameworks/effect/effect-recoverable-actions/references/source-backed-primitives.md +104 -0
  153. package/dist/skills/frameworks/effect/effect-recoverable-actions/references/strategy-matrix.md +34 -0
  154. package/dist/skills/frameworks/effect/effect-recoverable-actions/references/test-matrix.md +36 -0
  155. package/dist/skills/frameworks/elysia/elysiajs/SKILL.md +475 -0
  156. package/dist/skills/frameworks/elysia/elysiajs/examples/basic.ts +9 -0
  157. package/dist/skills/frameworks/elysia/elysiajs/examples/body-parser.ts +33 -0
  158. package/dist/skills/frameworks/elysia/elysiajs/examples/complex.ts +112 -0
  159. package/dist/skills/frameworks/elysia/elysiajs/examples/cookie.ts +45 -0
  160. package/dist/skills/frameworks/elysia/elysiajs/examples/error.ts +38 -0
  161. package/dist/skills/frameworks/elysia/elysiajs/examples/file.ts +10 -0
  162. package/dist/skills/frameworks/elysia/elysiajs/examples/guard.ts +34 -0
  163. package/dist/skills/frameworks/elysia/elysiajs/examples/map-response.ts +15 -0
  164. package/dist/skills/frameworks/elysia/elysiajs/examples/redirect.ts +6 -0
  165. package/dist/skills/frameworks/elysia/elysiajs/examples/rename.ts +32 -0
  166. package/dist/skills/frameworks/elysia/elysiajs/examples/schema.ts +61 -0
  167. package/dist/skills/frameworks/elysia/elysiajs/examples/state.ts +6 -0
  168. package/dist/skills/frameworks/elysia/elysiajs/examples/upload-file.ts +20 -0
  169. package/dist/skills/frameworks/elysia/elysiajs/examples/websocket.ts +25 -0
  170. package/dist/skills/frameworks/elysia/elysiajs/integrations/ai-sdk.md +92 -0
  171. package/dist/skills/frameworks/elysia/elysiajs/integrations/astro.md +59 -0
  172. package/dist/skills/frameworks/elysia/elysiajs/integrations/better-auth.md +117 -0
  173. package/dist/skills/frameworks/elysia/elysiajs/integrations/cloudflare-worker.md +95 -0
  174. package/dist/skills/frameworks/elysia/elysiajs/integrations/deno.md +34 -0
  175. package/dist/skills/frameworks/elysia/elysiajs/integrations/drizzle.md +258 -0
  176. package/dist/skills/frameworks/elysia/elysiajs/integrations/expo.md +95 -0
  177. package/dist/skills/frameworks/elysia/elysiajs/integrations/nextjs.md +103 -0
  178. package/dist/skills/frameworks/elysia/elysiajs/integrations/nodejs.md +64 -0
  179. package/dist/skills/frameworks/elysia/elysiajs/integrations/nuxt.md +67 -0
  180. package/dist/skills/frameworks/elysia/elysiajs/integrations/prisma.md +93 -0
  181. package/dist/skills/frameworks/elysia/elysiajs/integrations/react-email.md +134 -0
  182. package/dist/skills/frameworks/elysia/elysiajs/integrations/sveltekit.md +53 -0
  183. package/dist/skills/frameworks/elysia/elysiajs/integrations/tanstack-start.md +87 -0
  184. package/dist/skills/frameworks/elysia/elysiajs/integrations/vercel.md +55 -0
  185. package/dist/skills/frameworks/elysia/elysiajs/patterns/mvc.md +380 -0
  186. package/dist/skills/frameworks/elysia/elysiajs/plugins/bearer.md +30 -0
  187. package/dist/skills/frameworks/elysia/elysiajs/plugins/cors.md +141 -0
  188. package/dist/skills/frameworks/elysia/elysiajs/plugins/cron.md +265 -0
  189. package/dist/skills/frameworks/elysia/elysiajs/plugins/graphql-apollo.md +90 -0
  190. package/dist/skills/frameworks/elysia/elysiajs/plugins/graphql-yoga.md +87 -0
  191. package/dist/skills/frameworks/elysia/elysiajs/plugins/html.md +188 -0
  192. package/dist/skills/frameworks/elysia/elysiajs/plugins/jwt.md +197 -0
  193. package/dist/skills/frameworks/elysia/elysiajs/plugins/openapi.md +246 -0
  194. package/dist/skills/frameworks/elysia/elysiajs/plugins/opentelemetry.md +167 -0
  195. package/dist/skills/frameworks/elysia/elysiajs/plugins/server-timing.md +71 -0
  196. package/dist/skills/frameworks/elysia/elysiajs/plugins/static.md +84 -0
  197. package/dist/skills/frameworks/elysia/elysiajs/references/bun-fullstack-dev-server.md +129 -0
  198. package/dist/skills/frameworks/elysia/elysiajs/references/cookie.md +187 -0
  199. package/dist/skills/frameworks/elysia/elysiajs/references/deployment.md +413 -0
  200. package/dist/skills/frameworks/elysia/elysiajs/references/eden.md +158 -0
  201. package/dist/skills/frameworks/elysia/elysiajs/references/lifecycle.md +198 -0
  202. package/dist/skills/frameworks/elysia/elysiajs/references/macro.md +83 -0
  203. package/dist/skills/frameworks/elysia/elysiajs/references/plugin.md +207 -0
  204. package/dist/skills/frameworks/elysia/elysiajs/references/route.md +331 -0
  205. package/dist/skills/frameworks/elysia/elysiajs/references/testing.md +385 -0
  206. package/dist/skills/frameworks/elysia/elysiajs/references/validation.md +491 -0
  207. package/dist/skills/frameworks/elysia/elysiajs/references/websocket.md +250 -0
  208. package/dist/skills/frameworks/nestjs/nestjs-best-practices/.github/workflows/branch-protection.yml +24 -0
  209. package/dist/skills/frameworks/nestjs/nestjs-best-practices/.github/workflows/deploy.yml +61 -0
  210. package/dist/skills/frameworks/nestjs/nestjs-best-practices/AGENTS.md +5958 -0
  211. package/dist/skills/frameworks/nestjs/nestjs-best-practices/SKILL.md +130 -0
  212. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-use-dto-serialization.md +182 -0
  213. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-use-interceptors.md +202 -0
  214. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-use-pipes.md +205 -0
  215. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-versioning.md +191 -0
  216. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-avoid-circular-deps.md +80 -0
  217. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-feature-modules.md +82 -0
  218. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-module-sharing.md +141 -0
  219. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-single-responsibility.md +106 -0
  220. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-use-events.md +108 -0
  221. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-use-repository-pattern.md +97 -0
  222. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/db-avoid-n-plus-one.md +139 -0
  223. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/db-use-migrations.md +129 -0
  224. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/db-use-transactions.md +140 -0
  225. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/devops-graceful-shutdown.md +222 -0
  226. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/devops-use-config-module.md +167 -0
  227. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/devops-use-logging.md +232 -0
  228. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-avoid-service-locator.md +104 -0
  229. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-interface-segregation.md +165 -0
  230. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-liskov-substitution.md +221 -0
  231. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-prefer-constructor-injection.md +86 -0
  232. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-scope-awareness.md +94 -0
  233. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-use-interfaces-tokens.md +101 -0
  234. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/error-handle-async-errors.md +125 -0
  235. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/error-throw-http-exceptions.md +114 -0
  236. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/error-use-exception-filters.md +140 -0
  237. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/micro-use-health-checks.md +226 -0
  238. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/micro-use-patterns.md +167 -0
  239. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/micro-use-queues.md +252 -0
  240. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-async-hooks.md +109 -0
  241. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-lazy-loading.md +121 -0
  242. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-optimize-database.md +131 -0
  243. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-use-caching.md +128 -0
  244. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-auth-jwt.md +146 -0
  245. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-rate-limiting.md +125 -0
  246. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-sanitize-output.md +139 -0
  247. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-use-guards.md +135 -0
  248. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-validate-all-input.md +150 -0
  249. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/test-e2e-supertest.md +178 -0
  250. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/test-mock-external-services.md +179 -0
  251. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/test-use-testing-module.md +153 -0
  252. package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/build-agents.ts +299 -0
  253. package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/build.sh +16 -0
  254. package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/package-lock.json +237 -0
  255. package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/package.json +15 -0
  256. package/dist/skills/frameworks/nestjs/nestjs-expert/SKILL.md +208 -0
  257. package/dist/skills/frameworks/nestjs/nestjs-expert/references/authentication.md +166 -0
  258. package/dist/skills/frameworks/nestjs/nestjs-expert/references/controllers-routing.md +111 -0
  259. package/dist/skills/frameworks/nestjs/nestjs-expert/references/dtos-validation.md +153 -0
  260. package/dist/skills/frameworks/nestjs/nestjs-expert/references/migration-from-express.md +1237 -0
  261. package/dist/skills/frameworks/nestjs/nestjs-expert/references/services-di.md +140 -0
  262. package/dist/skills/frameworks/nestjs/nestjs-expert/references/testing-patterns.md +186 -0
  263. package/dist/skills/frameworks/nextjs/next-best-practices/SKILL.md +153 -0
  264. package/dist/skills/frameworks/nextjs/next-best-practices/async-patterns.md +87 -0
  265. package/dist/skills/frameworks/nextjs/next-best-practices/bundling.md +180 -0
  266. package/dist/skills/frameworks/nextjs/next-best-practices/data-patterns.md +297 -0
  267. package/dist/skills/frameworks/nextjs/next-best-practices/debug-tricks.md +105 -0
  268. package/dist/skills/frameworks/nextjs/next-best-practices/directives.md +73 -0
  269. package/dist/skills/frameworks/nextjs/next-best-practices/error-handling.md +227 -0
  270. package/dist/skills/frameworks/nextjs/next-best-practices/file-conventions.md +140 -0
  271. package/dist/skills/frameworks/nextjs/next-best-practices/font.md +245 -0
  272. package/dist/skills/frameworks/nextjs/next-best-practices/functions.md +108 -0
  273. package/dist/skills/frameworks/nextjs/next-best-practices/hydration-error.md +91 -0
  274. package/dist/skills/frameworks/nextjs/next-best-practices/image.md +173 -0
  275. package/dist/skills/frameworks/nextjs/next-best-practices/metadata.md +301 -0
  276. package/dist/skills/frameworks/nextjs/next-best-practices/parallel-routes.md +287 -0
  277. package/dist/skills/frameworks/nextjs/next-best-practices/route-handlers.md +146 -0
  278. package/dist/skills/frameworks/nextjs/next-best-practices/rsc-boundaries.md +159 -0
  279. package/dist/skills/frameworks/nextjs/next-best-practices/runtime-selection.md +39 -0
  280. package/dist/skills/frameworks/nextjs/next-best-practices/scripts.md +141 -0
  281. package/dist/skills/frameworks/nextjs/next-best-practices/self-hosting.md +371 -0
  282. package/dist/skills/frameworks/nextjs/next-best-practices/suspense-boundaries.md +67 -0
  283. package/dist/skills/frameworks/nextjs/next-cache-components/SKILL.md +360 -0
  284. package/dist/skills/frameworks/react/async-react-patterns/SKILL.md +78 -0
  285. package/dist/skills/frameworks/react/react-doctor/SKILL.md +64 -0
  286. package/dist/skills/frameworks/react/react-doctor/references/explain.md +71 -0
  287. package/dist/skills/frameworks/react/vercel-composition-patterns/AGENTS.md +946 -0
  288. package/dist/skills/frameworks/react/vercel-composition-patterns/SKILL.md +89 -0
  289. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/architecture-avoid-boolean-props.md +100 -0
  290. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/architecture-compound-components.md +112 -0
  291. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/patterns-children-over-render-props.md +87 -0
  292. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/patterns-explicit-variants.md +100 -0
  293. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/react19-no-forwardref.md +42 -0
  294. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/state-context-interface.md +191 -0
  295. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/state-decouple-implementation.md +113 -0
  296. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/state-lift-state.md +125 -0
  297. package/dist/skills/frameworks/react/vercel-react-best-practices/AGENTS.md +3750 -0
  298. package/dist/skills/frameworks/react/vercel-react-best-practices/SKILL.md +148 -0
  299. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-effect-event-deps.md +56 -0
  300. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-event-handler-refs.md +55 -0
  301. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-init-once.md +42 -0
  302. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-use-latest.md +39 -0
  303. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-api-routes.md +38 -0
  304. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-cheap-condition-before-await.md +37 -0
  305. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-defer-await.md +82 -0
  306. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-dependencies.md +51 -0
  307. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-parallel.md +28 -0
  308. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-suspense-boundaries.md +99 -0
  309. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-barrel-imports.md +60 -0
  310. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-conditional.md +31 -0
  311. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-defer-third-party.md +49 -0
  312. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-dynamic-imports.md +35 -0
  313. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-preload.md +50 -0
  314. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-event-listeners.md +74 -0
  315. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-localstorage-schema.md +71 -0
  316. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-passive-event-listeners.md +48 -0
  317. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-swr-dedup.md +56 -0
  318. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-batch-dom-css.md +107 -0
  319. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-cache-function-results.md +80 -0
  320. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-cache-property-access.md +28 -0
  321. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-cache-storage.md +70 -0
  322. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-combine-iterations.md +32 -0
  323. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-early-exit.md +50 -0
  324. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-flatmap-filter.md +60 -0
  325. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-hoist-regexp.md +45 -0
  326. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-index-maps.md +37 -0
  327. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-length-check-first.md +49 -0
  328. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-min-max-loop.md +82 -0
  329. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-request-idle-callback.md +105 -0
  330. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-set-map-lookups.md +24 -0
  331. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-tosorted-immutable.md +57 -0
  332. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-activity.md +26 -0
  333. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
  334. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-conditional-render.md +40 -0
  335. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-content-visibility.md +38 -0
  336. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-hoist-jsx.md +46 -0
  337. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
  338. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-hydration-suppress-warning.md +30 -0
  339. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-resource-hints.md +85 -0
  340. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-script-defer-async.md +68 -0
  341. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-svg-precision.md +28 -0
  342. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-usetransition-loading.md +75 -0
  343. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-defer-reads.md +39 -0
  344. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-dependencies.md +45 -0
  345. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-derived-state-no-effect.md +40 -0
  346. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-derived-state.md +29 -0
  347. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-functional-setstate.md +74 -0
  348. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-lazy-state-init.md +58 -0
  349. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-memo-with-default-value.md +38 -0
  350. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-memo.md +44 -0
  351. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-move-effect-to-event.md +45 -0
  352. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-no-inline-components.md +82 -0
  353. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-simple-expression-in-memo.md +35 -0
  354. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-split-combined-hooks.md +64 -0
  355. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-transitions.md +40 -0
  356. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-use-deferred-value.md +59 -0
  357. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-use-ref-transient-values.md +73 -0
  358. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-after-nonblocking.md +73 -0
  359. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-auth-actions.md +96 -0
  360. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-cache-lru.md +41 -0
  361. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-cache-react.md +76 -0
  362. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-dedup-props.md +65 -0
  363. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-hoist-static-io.md +149 -0
  364. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-no-shared-module-state.md +50 -0
  365. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-parallel-fetching.md +83 -0
  366. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-parallel-nested-fetching.md +34 -0
  367. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-serialization.md +38 -0
  368. package/dist/skills/frameworks/tanstack-query/tanstack-query/.claude-plugin/plugin.json +12 -0
  369. package/dist/skills/frameworks/tanstack-query/tanstack-query/SKILL.md +849 -0
  370. package/dist/skills/frameworks/tanstack-query/tanstack-query/assets/example-template.txt +14 -0
  371. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/best-practices.md +304 -0
  372. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/common-patterns.md +271 -0
  373. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/example-reference.md +26 -0
  374. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/testing.md +282 -0
  375. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/top-errors.md +332 -0
  376. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/typescript-patterns.md +291 -0
  377. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/v4-to-v5-migration.md +231 -0
  378. package/dist/skills/frameworks/tanstack-query/tanstack-query/rules/tanstack-query.md +126 -0
  379. package/dist/skills/frameworks/tanstack-query/tanstack-query/scripts/example-script.sh +15 -0
  380. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/custom-hooks-pattern.tsx +281 -0
  381. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/devtools-setup.tsx +248 -0
  382. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/error-boundary.tsx +243 -0
  383. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/package.json +31 -0
  384. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/provider-setup.tsx +50 -0
  385. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/query-client-config.ts +72 -0
  386. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-infinite-query.tsx +214 -0
  387. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-mutation-basic.tsx +201 -0
  388. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-mutation-optimistic.tsx +234 -0
  389. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-query-basic.tsx +119 -0
  390. package/dist/skills/frameworks/tanstack-start/tanstack-start/SKILL.md +250 -0
  391. package/dist/skills/frameworks/trpc/tanstack-query/.claude-plugin/plugin.json +12 -0
  392. package/dist/skills/frameworks/trpc/tanstack-query/SKILL.md +1058 -0
  393. package/dist/skills/frameworks/trpc/tanstack-query/assets/example-template.txt +14 -0
  394. package/dist/skills/frameworks/trpc/tanstack-query/references/best-practices.md +304 -0
  395. package/dist/skills/frameworks/trpc/tanstack-query/references/common-patterns.md +271 -0
  396. package/dist/skills/frameworks/trpc/tanstack-query/references/example-reference.md +26 -0
  397. package/dist/skills/frameworks/trpc/tanstack-query/references/testing.md +282 -0
  398. package/dist/skills/frameworks/trpc/tanstack-query/references/top-errors.md +332 -0
  399. package/dist/skills/frameworks/trpc/tanstack-query/references/typescript-patterns.md +291 -0
  400. package/dist/skills/frameworks/trpc/tanstack-query/references/v4-to-v5-migration.md +231 -0
  401. package/dist/skills/frameworks/trpc/tanstack-query/rules/tanstack-query.md +126 -0
  402. package/dist/skills/frameworks/trpc/tanstack-query/scripts/example-script.sh +15 -0
  403. package/dist/skills/frameworks/trpc/tanstack-query/templates/custom-hooks-pattern.tsx +281 -0
  404. package/dist/skills/frameworks/trpc/tanstack-query/templates/devtools-setup.tsx +248 -0
  405. package/dist/skills/frameworks/trpc/tanstack-query/templates/error-boundary.tsx +243 -0
  406. package/dist/skills/frameworks/trpc/tanstack-query/templates/package.json +31 -0
  407. package/dist/skills/frameworks/trpc/tanstack-query/templates/provider-setup.tsx +50 -0
  408. package/dist/skills/frameworks/trpc/tanstack-query/templates/query-client-config.ts +72 -0
  409. package/dist/skills/frameworks/trpc/tanstack-query/templates/use-infinite-query.tsx +214 -0
  410. package/dist/skills/frameworks/trpc/tanstack-query/templates/use-mutation-basic.tsx +201 -0
  411. package/dist/skills/frameworks/trpc/tanstack-query/templates/use-mutation-optimistic.tsx +234 -0
  412. package/dist/skills/frameworks/trpc/tanstack-query/templates/use-query-basic.tsx +119 -0
  413. package/dist/skills/frameworks/turborepo/turborepo/SKILL.md +914 -0
  414. package/dist/skills/frameworks/turborepo/turborepo/command/turborepo.md +70 -0
  415. package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/RULE.md +241 -0
  416. package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/dependencies.md +246 -0
  417. package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/packages.md +335 -0
  418. package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/structure.md +270 -0
  419. package/dist/skills/frameworks/turborepo/turborepo/references/boundaries/RULE.md +126 -0
  420. package/dist/skills/frameworks/turborepo/turborepo/references/caching/RULE.md +107 -0
  421. package/dist/skills/frameworks/turborepo/turborepo/references/caching/gotchas.md +169 -0
  422. package/dist/skills/frameworks/turborepo/turborepo/references/caching/remote-cache.md +127 -0
  423. package/dist/skills/frameworks/turborepo/turborepo/references/ci/RULE.md +79 -0
  424. package/dist/skills/frameworks/turborepo/turborepo/references/ci/github-actions.md +162 -0
  425. package/dist/skills/frameworks/turborepo/turborepo/references/ci/patterns.md +145 -0
  426. package/dist/skills/frameworks/turborepo/turborepo/references/ci/vercel.md +103 -0
  427. package/dist/skills/frameworks/turborepo/turborepo/references/cli/RULE.md +100 -0
  428. package/dist/skills/frameworks/turborepo/turborepo/references/cli/commands.md +297 -0
  429. package/dist/skills/frameworks/turborepo/turborepo/references/configuration/RULE.md +211 -0
  430. package/dist/skills/frameworks/turborepo/turborepo/references/configuration/global-options.md +187 -0
  431. package/dist/skills/frameworks/turborepo/turborepo/references/configuration/gotchas.md +348 -0
  432. package/dist/skills/frameworks/turborepo/turborepo/references/configuration/tasks.md +285 -0
  433. package/dist/skills/frameworks/turborepo/turborepo/references/environment/RULE.md +96 -0
  434. package/dist/skills/frameworks/turborepo/turborepo/references/environment/gotchas.md +141 -0
  435. package/dist/skills/frameworks/turborepo/turborepo/references/environment/modes.md +101 -0
  436. package/dist/skills/frameworks/turborepo/turborepo/references/filtering/RULE.md +148 -0
  437. package/dist/skills/frameworks/turborepo/turborepo/references/filtering/patterns.md +152 -0
  438. package/dist/skills/frameworks/turborepo/turborepo/references/watch/RULE.md +99 -0
  439. package/dist/skills/languages/python/async-python-patterns/SKILL.md +735 -0
  440. package/dist/skills/languages/python/python-code-style/SKILL.md +360 -0
  441. package/dist/skills/languages/python/python-design-patterns/SKILL.md +433 -0
  442. package/dist/skills/languages/python/python-project-structure/SKILL.md +252 -0
  443. package/dist/skills/languages/python/python-testing-patterns/SKILL.md +622 -0
  444. package/dist/skills/languages/python/python-testing-patterns/references/advanced-patterns.md +411 -0
  445. package/dist/skills/languages/typescript/quality-types/SKILL.md +93 -0
  446. package/dist/skills/phases/bug-discovery-phase/REFERENCE.md +193 -0
  447. package/dist/skills/phases/bug-discovery-phase/SKILL.md +45 -0
  448. package/dist/skills/phases/bug-resolution-phase/REFERENCE.md +183 -0
  449. package/dist/skills/phases/bug-resolution-phase/SKILL.md +49 -0
  450. package/dist/skills/phases/debugging-phase/SKILL.md +88 -0
  451. package/dist/skills/phases/delivery-phase/SKILL.md +51 -0
  452. package/dist/skills/phases/delivery-phase/phases/closeout.md +35 -0
  453. package/dist/skills/phases/delivery-phase/phases/debug.md +30 -0
  454. package/dist/skills/phases/delivery-phase/phases/docs-ingest.md +27 -0
  455. package/dist/skills/phases/delivery-phase/phases/implement.md +32 -0
  456. package/dist/skills/phases/delivery-phase/phases/plan.md +27 -0
  457. package/dist/skills/phases/delivery-phase/phases/review.md +29 -0
  458. package/dist/skills/phases/delivery-phase/phases/router.md +46 -0
  459. package/dist/skills/phases/delivery-phase/phases/spec.md +26 -0
  460. package/dist/skills/phases/delivery-phase/references/artifact-state.md +42 -0
  461. package/dist/skills/phases/delivery-phase/references/phase-handoff.md +27 -0
  462. package/dist/skills/phases/design-phase/SKILL.md +47 -0
  463. package/dist/skills/phases/design-phase/phases/approval.md +37 -0
  464. package/dist/skills/phases/design-phase/phases/backlog.md +28 -0
  465. package/dist/skills/phases/design-phase/phases/delivery-handoff.md +29 -0
  466. package/dist/skills/phases/design-phase/phases/grill.md +37 -0
  467. package/dist/skills/phases/design-phase/phases/intake.md +25 -0
  468. package/dist/skills/phases/design-phase/phases/prototype.md +30 -0
  469. package/dist/skills/phases/design-phase/phases/router.md +66 -0
  470. package/dist/skills/phases/docs-ingest-phase/SKILL.md +46 -0
  471. package/dist/skills/phases/docs-ingest-phase/agents/openai.yaml +4 -0
  472. package/dist/skills/phases/docs-ingest-phase/phases/private-internal.md +57 -0
  473. package/dist/skills/phases/docs-ingest-phase/phases/public-docs.md +52 -0
  474. package/dist/skills/phases/docs-ingest-phase/phases/router.md +42 -0
  475. package/dist/skills/phases/docs-ingest-phase/references/concept-pages.md +70 -0
  476. package/dist/skills/phases/docs-ingest-phase/references/flow-pages.md +56 -0
  477. package/dist/skills/phases/docs-ingest-phase/references/fumadocs-routing.md +74 -0
  478. package/dist/skills/phases/docs-ingest-phase/references/learning-artifacts.md +96 -0
  479. package/dist/skills/phases/docs-ingest-phase/references/public-docs.md +90 -0
  480. package/dist/skills/phases/docs-ingest-phase/references/repo-docs.md +38 -0
  481. package/dist/skills/phases/docs-ingest-phase/references/wiki-ingest.md +134 -0
  482. package/dist/skills/phases/goalify/EXAMPLES.md +11 -0
  483. package/dist/skills/phases/goalify/SKILL.md +65 -0
  484. package/dist/skills/phases/requirements-phase/SKILL.md +70 -0
  485. package/dist/skills/phases/resolve-debt-phase/SKILL.md +87 -0
  486. package/dist/skills/phases/review-phase/REFERENCE.md +106 -0
  487. package/dist/skills/phases/review-phase/SKILL.md +46 -0
  488. package/package.json +1 -1
@@ -0,0 +1,70 @@
1
+ # Concept Pages
2
+
3
+ Use this reference when `docs-ingest-phase` writes concepts into routed wiki docs.
4
+
5
+ ## Input Expansion
6
+
7
+ For each extracted concept:
8
+
9
+ 1. Read related routed flow pages under the routed output root selected by [fumadocs-routing.md](fumadocs-routing.md), if any exist.
10
+ 2. Scan `<wiki-root>/raw/` recursively and collect files where frontmatter `ingested: false` or `ingested` is absent.
11
+ 3. Use relevant raw content only as supplementary material. Do not mark raw files as ingested here.
12
+
13
+ ## Output Contract
14
+
15
+ Synthesize concept content in this precedence order:
16
+
17
+ 1. `IMPLEMENTATION-NOTES.md` deviations, surprises, and judgment calls
18
+ 2. `SPEC.md` acceptance criteria, data model, and technical notes
19
+ 3. relevant sections from routed flow pages
20
+ 4. relevant raw file content
21
+
22
+ Determine status:
23
+
24
+ - `proposed` when only `SPEC.md` is present
25
+ - `implemented` when `IMPLEMENTATION-NOTES.md` is present
26
+
27
+ Derive the routed output path:
28
+
29
+ 1. Use the domain's existing route section if the concept clearly belongs there.
30
+ 2. Write only when an existing project section is a clear fit; otherwise skip the concept page and report the route-policy gap.
31
+ 3. Slugify the concept name to kebab-case.
32
+
33
+ For Harness-style domains, prefer existing topical sections such as `foundations`, `prompt-surfaces`, `skills-and-packs`, `execution-modes`, `validation-and-tools`, and `lifecycle-flows` when they already exist.
34
+
35
+ ## Page Shape
36
+
37
+ Every concept page must include frontmatter:
38
+
39
+ ```yaml
40
+ ---
41
+ title: <Concept Name>
42
+ description: <one sentence>
43
+ surface: project
44
+ permission: project
45
+ domain: <domain>
46
+ type: concept
47
+ status: proposed | implemented
48
+ source:
49
+ - <source path>
50
+ updated: YYYY-MM-DD
51
+ ---
52
+ ```
53
+
54
+ Every concept page should include:
55
+
56
+ - a definition or opening explanation
57
+ - the concept's invariants, attributes, or boundaries
58
+ - links to related flows or mechanics pages
59
+ - source links or a short source section when useful
60
+
61
+ ## Merge Rules
62
+
63
+ When a routed concept page already exists:
64
+
65
+ - preserve established facts
66
+ - merge new implemented reality into the main article
67
+ - flag contradictions inline with a warning callout
68
+ - update `updated` and `source`
69
+
70
+ Update the nearest `meta.json` and section index page so the concept is discoverable.
@@ -0,0 +1,56 @@
1
+ # Flow Pages
2
+
3
+ Use this reference when `docs-ingest-phase` writes flows into routed wiki docs.
4
+
5
+ ## Output Contract
6
+
7
+ For each extracted flow:
8
+
9
+ 1. Derive the routed output path:
10
+ - use the domain's existing flow section when one exists
11
+ - write only when an existing project section is a clear fit; otherwise skip the flow page and report the route-policy gap
12
+ - slugify the flow name to kebab-case
13
+ 2. Determine status:
14
+ - `proposed` when only `SPEC.md` is present
15
+ - `implemented` when `IMPLEMENTATION-NOTES.md` is present
16
+ 3. Reconcile implementation notes when present:
17
+ - use `SPEC.md` acceptance criteria as the skeleton
18
+ - override or annotate steps where `IMPLEMENTATION-NOTES.md` records a deviation, surprise, or judgment call
19
+ - mark blocked or unmet steps with a warning callout
20
+ 4. Write or merge the routed flow page:
21
+ - preserve established facts
22
+ - integrate new implemented reality into the main flow
23
+ - flag contradictions inline with a warning callout
24
+ 5. Update the nearest `meta.json` and section index page so the flow is discoverable.
25
+
26
+ For Harness-style domains, flow pages usually belong under `lifecycle-flows`.
27
+
28
+ ## Page Shape
29
+
30
+ Every flow page must include frontmatter:
31
+
32
+ ```yaml
33
+ ---
34
+ title: <Flow Name>
35
+ description: <one sentence>
36
+ surface: project
37
+ permission: project
38
+ domain: <domain>
39
+ type: flow
40
+ status: proposed | implemented
41
+ source:
42
+ - <source path>
43
+ updated: YYYY-MM-DD
44
+ ---
45
+ ```
46
+
47
+ Every flow page should include:
48
+
49
+ - trigger
50
+ - actors
51
+ - ordered steps and decision points
52
+ - terminal outcome
53
+ - validation or closeout signal
54
+ - source links when useful
55
+
56
+ Use a Mermaid diagram only when it clarifies branching or sequencing. Do not force diagrams for simple flows.
@@ -0,0 +1,74 @@
1
+ # Fumadocs Routing
2
+
3
+ Use this reference when `docs-ingest-phase` updates routed Fumadocs docs.
4
+
5
+ ## Canonical Routed Content
6
+
7
+ `apps/wiki` owns the wiki application and its documentation content. Routed MDX pages under `content/docs` are the canonical human-facing docs surface.
8
+
9
+ Private route root example from this repo:
10
+
11
+ - `<wiki-root>/content/docs/project`
12
+
13
+ Do not create or maintain a separate canonical `domains/` tree for concepts and flows. That split creates drift because one article then has two homes.
14
+
15
+ `<wiki-root>/specs`, `<wiki-root>/raw`, `<wiki-root>/index.md`, and `<wiki-root>/log.md` may remain source/input/bookkeeping surfaces. They are not duplicate article trees.
16
+
17
+ ## Route Boundaries
18
+
19
+ Use the repo's private docs route for:
20
+
21
+ - specs
22
+ - plans
23
+ - implementation notes
24
+ - maintenance logs
25
+ - decisions
26
+ - repo guidance
27
+ - operator/project runbooks
28
+ - useful Linear/grill-derived management context
29
+ - project-specific projections
30
+ - docs-ingest-phase concept/flow output
31
+ - durable public-doc writer artifacts
32
+
33
+ Keep implementation specs and notes linked or summarized. Do not paste large source artifacts into routed pages.
34
+
35
+ Use the repo's public-facing docs routes for reader-facing product, usage, domain, command, changelog, and onboarding pages. Do not enforce this repo's public route names in other repos.
36
+
37
+ ## Fumadocs Mechanics
38
+
39
+ Fumadocs uses file paths to determine route slugs. Examples:
40
+
41
+ - `content/docs/project/specs/index.mdx` -> `/docs/project/specs`
42
+
43
+ Each folder with an explicit `meta.json` `pages` array must list every page or child folder that should appear in the page tree. Update `meta.json` whenever pages are added, moved, or removed.
44
+
45
+ Use a root folder for the default project surface:
46
+
47
+ ```json
48
+ {
49
+ "title": "Project",
50
+ "root": true
51
+ }
52
+ ```
53
+
54
+ ## Routed Page Frontmatter
55
+
56
+ Preserve access-control frontmatter on routed pages:
57
+
58
+ ```yaml
59
+ surface: project
60
+ permission: project
61
+ ```
62
+
63
+ Routed ingest pages should also carry durable metadata when useful:
64
+
65
+ ```yaml
66
+ domain: <domain>
67
+ type: concept | flow | writer-artifact
68
+ status: proposed | implemented
69
+ source:
70
+ - apps/wiki/specs/<domain>/<spec>/SPEC.md
71
+ updated: YYYY-MM-DD
72
+ ```
73
+
74
+ Do not implement full auth unless the repo already has the required auth primitives. When auth exists, prefer a small Fumadocs loader-level filter so restricted files are removed from the input source before page tree/search generation.
@@ -0,0 +1,96 @@
1
+ # Learning Artifacts
2
+
3
+ Use this reference when `docs-ingest-phase` receives a spec, implementation, bugfix, debugging result, review result, or operator workflow change that produced durable learning.
4
+
5
+ ## Purpose
6
+
7
+ Close the loop so future discovery, planning, debugging, and review can reuse what was learned. Canonical learning lives in routed wiki/project docs, not in a separate `docs/solutions/` tree and not as a hidden memory mirror.
8
+
9
+ ## Scope
10
+
11
+ Run a scoped scan around the current ingest's:
12
+
13
+ - domain
14
+ - module
15
+ - component
16
+ - referenced files
17
+ - source spec or implementation notes
18
+
19
+ Do not run broad repository archaeology by default.
20
+
21
+ ## Learning Types
22
+
23
+ Every learning artifact must declare one type:
24
+
25
+ - `learning_type: bug`
26
+ - `learning_type: knowledge`
27
+
28
+ Shared fields:
29
+
30
+ - `date`
31
+ - `domain`
32
+ - `module`
33
+ - `component`
34
+ - `severity`
35
+ - `source`
36
+ - `referenced_files`
37
+ - `future_use_hooks`
38
+
39
+ Bug-only fields:
40
+
41
+ - `symptoms`
42
+ - `root_cause`
43
+ - `resolution_type`
44
+ - `prevention`
45
+
46
+ Knowledge-only fields:
47
+
48
+ - `applies_when`
49
+ - `guidance`
50
+ - `why_it_matters`
51
+
52
+ ## Refresh Outcomes
53
+
54
+ Before writing a new learning artifact, check existing routed learning pages in the scoped area and choose exactly one outcome:
55
+
56
+ - `keep`: current learning is still accurate and this ingest adds nothing durable
57
+ - `update`: same learning needs fresher facts, references, examples, or prevention notes
58
+ - `consolidate`: overlapping learnings should become one canonical page
59
+ - `replace`: old guidance is misleading and a clear successor exists
60
+ - `delete`: old guidance is clearly obsolete, unreferenced, and no longer useful
61
+ - `mark_stale`: accuracy is ambiguous or needs a human decision
62
+
63
+ Record the outcome in the ingest report.
64
+
65
+ ## Future-Use Hooks
66
+
67
+ Every learning artifact must expose at least one hook that makes future reuse likely:
68
+
69
+ - link from a routed flow, concept, or runbook
70
+ - link from spec or implementation notes
71
+ - compact memory note only for hard-to-discover gotchas or routing aids
72
+ - update a phase skill reference when the learning changes agent behavior
73
+ - add a prevention or test note to a validation/review checklist
74
+
75
+ Do not rely on search alone as the hook.
76
+
77
+ ## Memory Boundary
78
+
79
+ Use memory notes sparingly.
80
+
81
+ - Canonical knowledge: routed learning artifact.
82
+ - Navigation/discovery: future-use hooks.
83
+ - Compact gotcha/routing aid: memory note.
84
+
85
+ Do not create memory notes for routine learnings, obvious file locations, or content that already has a routed page and future-use hooks.
86
+
87
+ ## Output
88
+
89
+ For each scoped ingest, report:
90
+
91
+ - scoped search area
92
+ - existing learning artifacts considered
93
+ - chosen refresh outcome
94
+ - pages written or changed
95
+ - future-use hooks added
96
+ - memory note written or skipped with reason
@@ -0,0 +1,90 @@
1
+ # Public Docs
2
+
3
+ Use this reference when `docs-ingest-phase` creates or materially updates public-facing documentation.
4
+
5
+ ## Scope
6
+
7
+ Public documentation is reader-facing product, usage, or domain documentation meant for users, adopters, or scaffold recipients.
8
+
9
+ Private documentation is internal project, operator, maintenance, implementation, or planning documentation meant to preserve how the project is built and run.
10
+
11
+ These are audience categories first. Route topology, permission metadata, and scaffold visibility are supporting signals.
12
+
13
+ ## Route Discovery
14
+
15
+ Infer the repo's docs architecture before writing:
16
+
17
+ 1. Read the wiki/docs `AGENTS.md` when present.
18
+ 2. Inspect existing routed docs roots, `meta.json` files, sidebars, and root docs indexes.
19
+ 3. Classify candidate targets as public-facing, private technical, or both.
20
+ 4. Use the repo's existing public-facing docs surfaces for final reader pages.
21
+ 5. Use the repo's existing private docs surface for writer artifacts.
22
+
23
+ Do not hardcode Harness Intelligence route names. In this repo, `/docs/get-started`, `/docs/harness`, `/docs/cli`, and `/docs/changelog` are examples of public-facing surfaces, while `/docs/project` is an example of a private surface.
24
+
25
+ ## When To Run The Writer Flow
26
+
27
+ Run the public writer flow for substantial public-facing docs work:
28
+
29
+ - new public-facing page
30
+ - major rewrite of an existing public-facing page
31
+ - delivery-phase change that materially changes product behavior, usage, positioning, or domain explanation
32
+ - private spec/project material being transformed into a reader-facing guide, concept page, usage page, or product/domain article
33
+
34
+ Skip the writer flow for small public-doc patches:
35
+
36
+ - typo fixes
37
+ - tiny command corrections
38
+ - metadata fixes
39
+ - changelog ledger updates
40
+ - narrow link or wording corrections
41
+
42
+ When skipped, report the skipped writer stages with an explicit no-op reason.
43
+
44
+ ## Writer Flow
45
+
46
+ Run these reusable skills in order:
47
+
48
+ ```text
49
+ writing-fragments
50
+ -> present fragments and confirm sufficiency with user
51
+ -> writing-beats
52
+ -> writing-shape
53
+ -> final public page write/merge
54
+ ```
55
+
56
+ The writer flow does not replace spec ingestion. If a spec or implementation notes need durable capture, run the private spec/project ingest path as well.
57
+
58
+ When `docs-ingest-phase` orchestrates these skills, call each one in docs-ingest artifact mode:
59
+
60
+ - `writing-fragments` writes or updates `fragments.md`
61
+ - `writing-beats` reads `fragments.md` and writes or updates `beats.md`
62
+ - `writing-shape` reads `fragments.md` plus `beats.md` and writes or updates `shape.md`
63
+ - `docs-ingest-phase` then writes or merges the final public page from those artifacts
64
+
65
+ ## Fragment Sufficiency Checkpoint
66
+
67
+ After inspecting existing fragments or generating fresh fragments, present the
68
+ current fragments to the user before running beats or shape. Ask whether they
69
+ are sufficient to continue. If the user says more guidance is needed, ask for
70
+ the missing guidance and revise `fragments.md` before continuing.
71
+
72
+ ## Durable Writer Artifacts
73
+
74
+ Substantial public-doc work must leave durable private writer artifacts:
75
+
76
+ - `fragments.md`
77
+ - `beats.md`
78
+ - `shape.md`
79
+
80
+ Organize them as one private artifact bundle per public-doc target or substantial docs pass.
81
+
82
+ Use routed human-facing private pages when the repo has a routed private docs surface. Use source-only private files as a fallback when it does not.
83
+
84
+ Do not enforce a universal path such as `docs/public-docs`. The path is repo-bounded. In this repo, a natural location would be under the private project docs surface, such as `apps/wiki/content/docs/project/public-docs/<topic-or-page-slug>/`.
85
+
86
+ ## Traceability
87
+
88
+ Writer artifacts should link forward to the final public page.
89
+
90
+ Final public pages should not visibly link back to private writer artifacts by default. Public pages should stay reader-facing. Non-visible source/frontmatter metadata is allowed when useful and compatible with the repo's docs system.
@@ -0,0 +1,38 @@
1
+ # Repo Docs
2
+
3
+ Use this reference when code or workflow changes require root `docs/` maintenance.
4
+
5
+ ## Scope
6
+
7
+ Update root `docs/` when a change alters:
8
+
9
+ - architecture
10
+ - setup
11
+ - contracts
12
+ - decisions
13
+ - runbooks
14
+ - non-obvious operator-facing behavior
15
+
16
+ Do not let repo-doc work displace required wiki ingest. If both apply, complete ingest bookkeeping and then update root docs.
17
+
18
+ ## Workflow
19
+
20
+ 1. Read `docs/README.md`.
21
+ 2. Read the nearest affected section README before editing.
22
+ 3. Prefer editing an existing leaf doc over creating a new one.
23
+ 4. When a doc is added, removed, or renamed, update `docs/README.md` and the nearest section README in the same task.
24
+ 5. Record repo-wide behavior changes in `docs/architecture/decisions/` when that directory exists.
25
+
26
+ ## Route By Owned Behavior
27
+
28
+ - Backend/runtime surface -> `docs/reference/domains/backend-effect-sql.md` or `docs/runbooks/`
29
+ - Auth/user-management -> `docs/reference/domains/user-management.md`
30
+ - Frontend/app structure -> `docs/reference/domains/frontend-application-structure.md`
31
+ - AI workflow/agent infrastructure -> `docs/runbooks/subagent-templates.md` or the relevant harness runbook
32
+
33
+ ## Rules
34
+
35
+ - Document implemented reality, not speculative future state.
36
+ - Keep human docs human-facing; do not paste agent task instructions into them.
37
+ - Keep indexes current when adding, removing, or renaming docs.
38
+ - Link to source artifacts instead of duplicating large specs, plans, or implementation notes.
@@ -0,0 +1,134 @@
1
+ # Wiki Ingest
2
+
3
+ Use this reference when `docs-ingest-phase` receives a spec folder, domain/spec pair, or explicit `SPEC.md`.
4
+
5
+ ## Inputs
6
+
7
+ Accept any of:
8
+
9
+ - `<wiki-root>/content/docs/project/specs/<domain>/<spec>/`
10
+ - `<wiki-root>/specs/<domain>/<spec>/`
11
+ - a domain name plus spec name
12
+ - an explicit `SPEC.md` path
13
+
14
+ Resolve routed `content/docs/project/specs` folders first, then legacy root `specs` folders. If ambiguous, ask only for the missing folder.
15
+
16
+ ## Guard
17
+
18
+ 1. Read `SPEC.md`. Stop if missing.
19
+ 2. Check `SPEC.md` frontmatter for `ingested: true`; if set, exit with a clear no-op.
20
+ 3. Verify `domain:` exists in frontmatter.
21
+ 4. Resolve the routed output home from `<wiki-root>/AGENTS.md`, existing `content/docs/project/**/meta.json`, and the current page tree.
22
+ - Use existing `<wiki-root>/content/docs/project/` sections for concise projections and links.
23
+ - If no clear project route home exists, stop and report the missing route policy. Do not scaffold a second routed docs surface to satisfy this phase.
24
+
25
+ ## Source Read
26
+
27
+ Read in order:
28
+
29
+ 1. `SPEC.md` — mandatory
30
+ 2. `IMPLEMENTATION-NOTES.md` — optional
31
+
32
+ If implementation notes exist and lack frontmatter, add:
33
+
34
+ ```yaml
35
+ ---
36
+ domain: <domain from SPEC.md>
37
+ type: implementation-notes
38
+ spec: <spec id from SPEC.md>
39
+ links:
40
+ - "[[specs/<domain>/<spec>/SPEC]]"
41
+ ingested: false
42
+ last_ingested: null
43
+ created: <today>
44
+ updated: <today>
45
+ ---
46
+ ```
47
+
48
+ When notes exist, generated flows and concepts should be `status: implemented`. Without notes, they are `status: proposed`.
49
+
50
+ ## Extract Flows
51
+
52
+ A flow exists when the spec describes a sequence of user or system actions with a defined start, steps, and end outcome.
53
+
54
+ Look for:
55
+
56
+ - multi-step acceptance criteria
57
+ - explicit journeys or process descriptions
58
+ - conditional chains across acceptance criteria
59
+ - sections titled Flow, Process, Journey, or similar
60
+
61
+ For each flow, extract:
62
+
63
+ - descriptive flow name
64
+ - trigger
65
+ - actors
66
+ - ordered steps and decision points
67
+ - terminal outcome
68
+ - implementation deviations, surprises, or blocked steps when notes exist
69
+
70
+ If no multi-step sequence exists, record the absence and skip flow writing.
71
+
72
+ ## Write Flow Pages
73
+
74
+ Read [flow-pages.md](flow-pages.md) and apply it to every extracted flow.
75
+
76
+ Wait for all flow pages to complete before concept writing. If no suitable project section exists for a flow, skip that flow page and report the route-policy gap. If any required flow write fails, stop and report the failure so the run can resume cleanly.
77
+
78
+ ## Extract Concepts
79
+
80
+ A concept exists when the spec names a domain entity or term with defined attributes, invariants, or bounded scope.
81
+
82
+ Look for:
83
+
84
+ - fields listed in acceptance criteria
85
+ - explicit data model or entity sections
86
+ - recurring nouns with their own attributes or rules
87
+ - enum sets representing bounded domain state
88
+ - entities referenced through wikilinks
89
+
90
+ Group related fields under one owning entity. Do not create a concept per field when one domain entity owns them.
91
+
92
+ ## Write Concept Pages
93
+
94
+ Read [concept-pages.md](concept-pages.md) and apply it to every extracted concept.
95
+
96
+ Concept pages may cross-link flow pages, which is why flow writing must complete first.
97
+
98
+ ## Bookkeeping
99
+
100
+ Update `SPEC.md` frontmatter:
101
+
102
+ ```yaml
103
+ ingested: true
104
+ last_ingested: YYYY-MM-DD
105
+ ```
106
+
107
+ If `IMPLEMENTATION-NOTES.md` exists, update:
108
+
109
+ ```yaml
110
+ ingested: true
111
+ last_ingested: YYYY-MM-DD
112
+ ```
113
+
114
+ Also populate its `links` array with the SPEC link plus every routed flow and concept page written in this ingest.
115
+
116
+ Append to `<wiki-root>/log.md` and cap the log at 50 entries:
117
+
118
+ ```md
119
+ ## [YYYY-MM-DD] ingest | <spec title>
120
+
121
+ - Source: [[specs/<domain>/<spec>/SPEC]]
122
+ - Flows written: <count>
123
+ - Concepts written: <count>
124
+ ```
125
+
126
+ If new pages were created, update Concepts and Flows counts in `<wiki-root>/index.md` when that index tracks counts.
127
+
128
+ ## Resumability
129
+
130
+ Output pages are checkpoints:
131
+
132
+ - existing routed flow pages with matching source metadata can be skipped
133
+ - missing expected flow pages should be rewritten before concepts
134
+ - existing routed concept pages with matching source metadata can be skipped
@@ -0,0 +1,11 @@
1
+ # Goalify Examples
2
+
3
+ Use these as internal shapes only. Do not print them as ready-to-paste output.
4
+
5
+ ## Delivery Shape
6
+
7
+ `/goal Deliver <outcome> in <repo/path>. Read <sources>. Stay in <scope>. Validate with <commands>. Done when <evidence>. Stop if <blocker>.`
8
+
9
+ ## Debug Shape
10
+
11
+ `/goal Debug <failure> in <repo/path>. Reproduce with <scenario>. Patch only proven cause. Validate with <commands/logs>. Done when <scenario passes>. Stop if <external blocker>.`
@@ -0,0 +1,65 @@
1
+ ---
2
+ name: goalify
3
+ description: Goalify messy intent into a very lean `/goal` contract, activate it immediately, and continue execution under that goal.
4
+ ---
5
+
6
+ # Goalify
7
+
8
+ `goalify` writes the smallest operating contract a goal-running Codex can adopt,
9
+ then activates it immediately. It is a compiler, not a spec, handoff, or plan
10
+ dump.
11
+
12
+ Be very lean. Target the shortest contract that can run without re-asking.
13
+ Hard limit: text after `/goal` must be non-empty and <= 4,000 characters. If
14
+ detail will not fit, point at a file instead of pasting overflow.
15
+
16
+ ## Activation
17
+
18
+ - Always activate spot on: write the goal, activate it with the available goal
19
+ tool, then continue execution under that active goal.
20
+ - If the task is tiny, unresolved, or lacks one objective, proof signal, and
21
+ stop condition, ask one clarifying question.
22
+ - If activation is unavailable, return the ready `/goal ...` prompt and name
23
+ that blocker.
24
+
25
+ ## Goal Contract
26
+
27
+ Include only what the runner needs:
28
+
29
+ - one durable objective
30
+ - read-first refs: exact paths, issues, URLs, logs, artifacts
31
+ - boundaries: scope, non-goals, constraints, guardrails
32
+ - terse workflow checkpoints with named skills/tools/phases from context
33
+ - proof: commands, scenarios, artifacts, logs, or other done evidence
34
+ - stop: done condition, early-stop blocker, final report expectation
35
+
36
+ Cut background, section catalogs, and repeated rationale. Preserve concrete
37
+ paths, commands, ids, URLs, artifacts, and invariants.
38
+
39
+ ## Workflow
40
+
41
+ 1. Read supplied handoffs, specs, issues, logs, examples, and scoped repo
42
+ guidance. Prefer current repo/spec/log evidence over summaries.
43
+ 2. Reduce to one objective. Move adjacent wishes to boundaries, follow-ups, or
44
+ blockers.
45
+ 3. Write a direct, pointer-heavy `/goal` contract. Use [EXAMPLES.md](EXAMPLES.md)
46
+ only if structure is needed.
47
+ 4. Check: one objective, explicit proof, stop/blocker conditions, no secrets, no
48
+ vague "make it work", <= 4,000 characters.
49
+ 5. Activate immediately. Report objective, proof surface, assumptions, and
50
+ missing inputs, then execute.
51
+
52
+ ## Fallback Output
53
+
54
+ Use only when activation cannot run:
55
+
56
+ 1. fenced `text` block with the ready `/goal ...` prompt
57
+ 2. character count
58
+ 3. activation blocker
59
+
60
+ ## Gotchas
61
+
62
+ - Do not turn a backlog grab bag into one goal; split or ask.
63
+ - Do not hardcode project-specific phase families; use the context provided.
64
+ - Do not tell the runner to mutate fixtures, recordings, handoffs, or test
65
+ inputs unless the user explicitly asks.