@punks/cli 2.1.10 → 2.2.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 (453) hide show
  1. package/README.md +3 -1
  2. package/dist/index.js +0 -0
  3. package/package.json +1 -1
  4. package/dist/data/AGENTS.md +0 -119
  5. package/dist/data/catalog/hooks.ts +0 -26
  6. package/dist/data/catalog/lint.ts +0 -266
  7. package/dist/data/catalog/packs.ts +0 -320
  8. package/dist/data/catalog/skills.ts +0 -441
  9. package/dist/data/catalog/tools.ts +0 -48
  10. package/dist/data/control-plane.json +0 -3
  11. package/dist/data/hooks/format-edited-file.mjs +0 -699
  12. package/dist/data/hooks/format-edited-file.sh +0 -37
  13. package/dist/data/hooks/require-tests-for-pr.mjs +0 -206
  14. package/dist/data/hooks/scaffold-update-check.mjs +0 -181
  15. package/dist/data/hooks.test.ts +0 -109
  16. package/dist/data/scripts/sync-subagents.mjs +0 -491
  17. package/dist/data/subagents/manifest.mjs +0 -487
  18. package/dist/data/subagents/manifest.test.ts +0 -40
  19. package/dist/skills/agnostic/backend/backend-domain-structure/SKILL.md +0 -50
  20. package/dist/skills/agnostic/backend/backend-domain-structure/agents/openai.yaml +0 -4
  21. package/dist/skills/agnostic/backend/backend-domain-structure/references/layout.md +0 -167
  22. package/dist/skills/agnostic/backend/backend-recoverable-actions/SKILL.md +0 -49
  23. package/dist/skills/agnostic/backend/backend-recoverable-actions/agents/openai.yaml +0 -4
  24. package/dist/skills/agnostic/backend/backend-recoverable-actions/references/strategy-matrix.md +0 -34
  25. package/dist/skills/agnostic/backend/backend-recoverable-actions/references/test-matrix.md +0 -34
  26. package/dist/skills/agnostic/backend/logging-best-practices/SKILL.md +0 -127
  27. package/dist/skills/agnostic/backend/logging-best-practices/rules/context.md +0 -157
  28. package/dist/skills/agnostic/backend/logging-best-practices/rules/pitfalls.md +0 -118
  29. package/dist/skills/agnostic/backend/logging-best-practices/rules/structure.md +0 -193
  30. package/dist/skills/agnostic/backend/logging-best-practices/rules/wide-events.md +0 -113
  31. package/dist/skills/agnostic/cli/dp-cli/SKILL.md +0 -125
  32. package/dist/skills/agnostic/cli/dp-cli/references/commands.md +0 -70
  33. package/dist/skills/agnostic/cli/dp-cli/references/post-command-flow.md +0 -70
  34. package/dist/skills/agnostic/debug/debug-agent/SKILL.md +0 -184
  35. package/dist/skills/agnostic/docs/docs-onboarding/SKILL.md +0 -46
  36. package/dist/skills/agnostic/docs/docs-onboarding/agents/openai.yaml +0 -4
  37. package/dist/skills/agnostic/docs/docs-onboarding/references/artifact-contract.md +0 -67
  38. package/dist/skills/agnostic/docs/upstream/mattpocock-writing-skills.md +0 -41
  39. package/dist/skills/agnostic/docs/writing-beats/SKILL.md +0 -69
  40. package/dist/skills/agnostic/docs/writing-fragments/SKILL.md +0 -76
  41. package/dist/skills/agnostic/docs/writing-shape/SKILL.md +0 -75
  42. package/dist/skills/agnostic/frontend/agent-browser/.clawdhub/origin.json +0 -7
  43. package/dist/skills/agnostic/frontend/agent-browser/SKILL.md +0 -229
  44. package/dist/skills/agnostic/frontend/agent-browser/references/authentication.md +0 -202
  45. package/dist/skills/agnostic/frontend/agent-browser/references/commands.md +0 -259
  46. package/dist/skills/agnostic/frontend/agent-browser/references/proxy-support.md +0 -188
  47. package/dist/skills/agnostic/frontend/agent-browser/references/session-management.md +0 -193
  48. package/dist/skills/agnostic/frontend/agent-browser/references/snapshot-refs.md +0 -194
  49. package/dist/skills/agnostic/frontend/agent-browser/references/video-recording.md +0 -173
  50. package/dist/skills/agnostic/frontend/agent-browser/templates/authenticated-session.sh +0 -97
  51. package/dist/skills/agnostic/frontend/agent-browser/templates/capture-workflow.sh +0 -69
  52. package/dist/skills/agnostic/frontend/agent-browser/templates/form-automation.sh +0 -62
  53. package/dist/skills/agnostic/frontend/design-taste-frontend/SKILL.md +0 -226
  54. package/dist/skills/agnostic/frontend/frontend-domain-structure/SKILL.md +0 -55
  55. package/dist/skills/agnostic/frontend/frontend-domain-structure/agents/openai.yaml +0 -4
  56. package/dist/skills/agnostic/frontend/frontend-domain-structure/references/react/structure.md +0 -102
  57. package/dist/skills/agnostic/frontend/frontend-domain-structure/references/structure.md +0 -257
  58. package/dist/skills/agnostic/frontend/gpt-taste/SKILL.md +0 -74
  59. package/dist/skills/agnostic/frontend/image-taste-frontend/SKILL.md +0 -1102
  60. package/dist/skills/agnostic/frontend/redesign-existing-projects/SKILL.md +0 -178
  61. package/dist/skills/agnostic/planning/create-plan/REFERENCE.md +0 -37
  62. package/dist/skills/agnostic/planning/create-plan/SKILL.md +0 -87
  63. package/dist/skills/agnostic/planning/create-plan/references/backlog-sync.md +0 -44
  64. package/dist/skills/agnostic/planning/create-plan/references/grill-phase.md +0 -87
  65. package/dist/skills/agnostic/planning/create-plan/references/plan-schema.md +0 -70
  66. package/dist/skills/agnostic/planning/create-plan/references/planner-phase.md +0 -42
  67. package/dist/skills/agnostic/planning/create-plan/references/stop-conditions.md +0 -18
  68. package/dist/skills/agnostic/planning/create-plan/references/tdd-phase.md +0 -26
  69. package/dist/skills/agnostic/planning/create-spec/SKILL.md +0 -110
  70. package/dist/skills/agnostic/planning/create-spec/assets/SPEC-TEMPLATE.md +0 -91
  71. package/dist/skills/agnostic/planning/create-spec/references/backlog-sync.md +0 -49
  72. package/dist/skills/agnostic/planning/create-spec/references/discovery.md +0 -54
  73. package/dist/skills/agnostic/planning/create-spec/references/folder-naming.md +0 -33
  74. package/dist/skills/agnostic/planning/create-spec/references/grill-phase.md +0 -47
  75. package/dist/skills/agnostic/planning/create-spec/references/handoff.md +0 -47
  76. package/dist/skills/agnostic/planning/create-spec/references/questioning.md +0 -51
  77. package/dist/skills/agnostic/planning/create-spec/references/spec-quality-bar.md +0 -58
  78. package/dist/skills/agnostic/planning/create-spec/references/wiki-bookkeeping.md +0 -50
  79. package/dist/skills/agnostic/planning/grill-me/SKILL.md +0 -28
  80. package/dist/skills/agnostic/planning/implement-spec/SKILL.md +0 -99
  81. package/dist/skills/agnostic/planning/implement-spec/assets/IMPLEMENTATION-NOTES-TEMPLATE.md +0 -53
  82. package/dist/skills/agnostic/planning/implement-spec/references/lifecycle.md +0 -193
  83. package/dist/skills/agnostic/planning/implement-spec/references/parallel-orchestration.md +0 -102
  84. package/dist/skills/agnostic/planning/implement-spec/references/parallel-worker-brief.md +0 -67
  85. package/dist/skills/agnostic/planning/implement-spec/references/parallel.md +0 -56
  86. package/dist/skills/agnostic/planning/implement-spec/references/sequential.md +0 -38
  87. package/dist/skills/agnostic/planning/stack/SKILL.md +0 -89
  88. package/dist/skills/agnostic/planning/swarm-planner/SKILL.md +0 -179
  89. package/dist/skills/agnostic/quality/autoreview/SKILL.md +0 -191
  90. package/dist/skills/agnostic/quality/autoreview/scripts/autoreview +0 -1176
  91. package/dist/skills/agnostic/quality/autoreview/scripts/test-review-harness +0 -176
  92. package/dist/skills/agnostic/quality/simplify/SKILL.md +0 -14
  93. package/dist/skills/agnostic/quality/tdd/SKILL.md +0 -107
  94. package/dist/skills/agnostic/quality/tdd/deep-modules.md +0 -33
  95. package/dist/skills/agnostic/quality/tdd/interface-design.md +0 -31
  96. package/dist/skills/agnostic/quality/tdd/mocking.md +0 -59
  97. package/dist/skills/agnostic/quality/tdd/refactoring.md +0 -10
  98. package/dist/skills/agnostic/quality/tdd/tests.md +0 -61
  99. package/dist/skills/agnostic/requirements/requirements-grill/SKILL.md +0 -43
  100. package/dist/skills/agnostic/requirements/requirements-grill/references/artifact-output.md +0 -157
  101. package/dist/skills/agnostic/requirements/requirements-grill/references/grilling-flow.md +0 -69
  102. package/dist/skills/agnostic/requirements/requirements-grill/references/wiki-output.md +0 -101
  103. package/dist/skills/agnostic/requirements/write-backlog/EXAMPLES.md +0 -67
  104. package/dist/skills/agnostic/requirements/write-backlog/REFERENCE.md +0 -262
  105. package/dist/skills/agnostic/requirements/write-backlog/SKILL.md +0 -71
  106. package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/backlog-model.md +0 -69
  107. package/dist/skills/agnostic/requirements/write-backlog/assets/concepts/story-shape.md +0 -66
  108. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/azure-devops-create-payload.md +0 -63
  109. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/github-projects-create-payload.md +0 -224
  110. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/linear-create-payload.md +0 -76
  111. package/dist/skills/agnostic/requirements/write-backlog/assets/providers/monday-create-payload.md +0 -146
  112. package/dist/skills/agnostic/research/improve-codebase-architecture/REFERENCE.md +0 -78
  113. package/dist/skills/agnostic/research/improve-codebase-architecture/SKILL.md +0 -76
  114. package/dist/skills/agnostic/research/parallel-research/SKILL.md +0 -68
  115. package/dist/skills/agnostic/research/parallel-research/agents/openai.yaml +0 -4
  116. package/dist/skills/agnostic/subagents/swarm-planner/SKILL.md +0 -179
  117. package/dist/skills/agnostic/write-a-skill/SKILL.md +0 -117
  118. package/dist/skills/frameworks/better-auth/better-auth-best-practices/SKILL.md +0 -166
  119. package/dist/skills/frameworks/better-auth/better-auth-security-best-practices/SKILL.MD +0 -432
  120. package/dist/skills/frameworks/effect/effect-authoring/SKILL.md +0 -116
  121. package/dist/skills/frameworks/effect/effect-authoring/references/branded-types.md +0 -98
  122. package/dist/skills/frameworks/effect/effect-authoring/references/effect-atom-patterns.md +0 -257
  123. package/dist/skills/frameworks/effect/effect-authoring/references/effect-primitives.md +0 -144
  124. package/dist/skills/frameworks/effect/effect-authoring/references/error-patterns.md +0 -156
  125. package/dist/skills/frameworks/effect/effect-authoring/references/otel-patterns.md +0 -113
  126. package/dist/skills/frameworks/effect/effect-authoring/references/test-patterns.md +0 -146
  127. package/dist/skills/frameworks/effect/effect-backend-structure/SKILL.md +0 -96
  128. package/dist/skills/frameworks/effect/effect-backend-structure/agents/openai.yaml +0 -4
  129. package/dist/skills/frameworks/effect/effect-backend-structure/references/layout.md +0 -68
  130. package/dist/skills/frameworks/effect/effect-best-practices/SKILL.md +0 -517
  131. package/dist/skills/frameworks/effect/effect-best-practices/references/anti-patterns.md +0 -392
  132. package/dist/skills/frameworks/effect/effect-best-practices/references/effect-atom-patterns.md +0 -653
  133. package/dist/skills/frameworks/effect/effect-best-practices/references/error-patterns.md +0 -464
  134. package/dist/skills/frameworks/effect/effect-best-practices/references/language-server.md +0 -287
  135. package/dist/skills/frameworks/effect/effect-best-practices/references/layer-patterns.md +0 -495
  136. package/dist/skills/frameworks/effect/effect-best-practices/references/observability-patterns.md +0 -342
  137. package/dist/skills/frameworks/effect/effect-best-practices/references/rpc-cluster-patterns.md +0 -418
  138. package/dist/skills/frameworks/effect/effect-best-practices/references/schema-patterns.md +0 -353
  139. package/dist/skills/frameworks/effect/effect-best-practices/references/service-patterns.md +0 -299
  140. package/dist/skills/frameworks/effect/effect-recoverable-actions/SKILL.md +0 -65
  141. package/dist/skills/frameworks/effect/effect-recoverable-actions/agents/openai.yaml +0 -4
  142. package/dist/skills/frameworks/effect/effect-recoverable-actions/references/flow-examples.md +0 -154
  143. package/dist/skills/frameworks/effect/effect-recoverable-actions/references/source-backed-primitives.md +0 -104
  144. package/dist/skills/frameworks/effect/effect-recoverable-actions/references/strategy-matrix.md +0 -34
  145. package/dist/skills/frameworks/effect/effect-recoverable-actions/references/test-matrix.md +0 -36
  146. package/dist/skills/frameworks/elysia/elysiajs/SKILL.md +0 -475
  147. package/dist/skills/frameworks/elysia/elysiajs/examples/basic.ts +0 -9
  148. package/dist/skills/frameworks/elysia/elysiajs/examples/body-parser.ts +0 -33
  149. package/dist/skills/frameworks/elysia/elysiajs/examples/complex.ts +0 -112
  150. package/dist/skills/frameworks/elysia/elysiajs/examples/cookie.ts +0 -45
  151. package/dist/skills/frameworks/elysia/elysiajs/examples/error.ts +0 -38
  152. package/dist/skills/frameworks/elysia/elysiajs/examples/file.ts +0 -10
  153. package/dist/skills/frameworks/elysia/elysiajs/examples/guard.ts +0 -34
  154. package/dist/skills/frameworks/elysia/elysiajs/examples/map-response.ts +0 -15
  155. package/dist/skills/frameworks/elysia/elysiajs/examples/redirect.ts +0 -6
  156. package/dist/skills/frameworks/elysia/elysiajs/examples/rename.ts +0 -32
  157. package/dist/skills/frameworks/elysia/elysiajs/examples/schema.ts +0 -61
  158. package/dist/skills/frameworks/elysia/elysiajs/examples/state.ts +0 -6
  159. package/dist/skills/frameworks/elysia/elysiajs/examples/upload-file.ts +0 -20
  160. package/dist/skills/frameworks/elysia/elysiajs/examples/websocket.ts +0 -25
  161. package/dist/skills/frameworks/elysia/elysiajs/integrations/ai-sdk.md +0 -92
  162. package/dist/skills/frameworks/elysia/elysiajs/integrations/astro.md +0 -59
  163. package/dist/skills/frameworks/elysia/elysiajs/integrations/better-auth.md +0 -117
  164. package/dist/skills/frameworks/elysia/elysiajs/integrations/cloudflare-worker.md +0 -95
  165. package/dist/skills/frameworks/elysia/elysiajs/integrations/deno.md +0 -34
  166. package/dist/skills/frameworks/elysia/elysiajs/integrations/drizzle.md +0 -258
  167. package/dist/skills/frameworks/elysia/elysiajs/integrations/expo.md +0 -95
  168. package/dist/skills/frameworks/elysia/elysiajs/integrations/nextjs.md +0 -103
  169. package/dist/skills/frameworks/elysia/elysiajs/integrations/nodejs.md +0 -64
  170. package/dist/skills/frameworks/elysia/elysiajs/integrations/nuxt.md +0 -67
  171. package/dist/skills/frameworks/elysia/elysiajs/integrations/prisma.md +0 -93
  172. package/dist/skills/frameworks/elysia/elysiajs/integrations/react-email.md +0 -134
  173. package/dist/skills/frameworks/elysia/elysiajs/integrations/sveltekit.md +0 -53
  174. package/dist/skills/frameworks/elysia/elysiajs/integrations/tanstack-start.md +0 -87
  175. package/dist/skills/frameworks/elysia/elysiajs/integrations/vercel.md +0 -55
  176. package/dist/skills/frameworks/elysia/elysiajs/patterns/mvc.md +0 -380
  177. package/dist/skills/frameworks/elysia/elysiajs/plugins/bearer.md +0 -30
  178. package/dist/skills/frameworks/elysia/elysiajs/plugins/cors.md +0 -141
  179. package/dist/skills/frameworks/elysia/elysiajs/plugins/cron.md +0 -265
  180. package/dist/skills/frameworks/elysia/elysiajs/plugins/graphql-apollo.md +0 -90
  181. package/dist/skills/frameworks/elysia/elysiajs/plugins/graphql-yoga.md +0 -87
  182. package/dist/skills/frameworks/elysia/elysiajs/plugins/html.md +0 -188
  183. package/dist/skills/frameworks/elysia/elysiajs/plugins/jwt.md +0 -197
  184. package/dist/skills/frameworks/elysia/elysiajs/plugins/openapi.md +0 -246
  185. package/dist/skills/frameworks/elysia/elysiajs/plugins/opentelemetry.md +0 -167
  186. package/dist/skills/frameworks/elysia/elysiajs/plugins/server-timing.md +0 -71
  187. package/dist/skills/frameworks/elysia/elysiajs/plugins/static.md +0 -84
  188. package/dist/skills/frameworks/elysia/elysiajs/references/bun-fullstack-dev-server.md +0 -129
  189. package/dist/skills/frameworks/elysia/elysiajs/references/cookie.md +0 -187
  190. package/dist/skills/frameworks/elysia/elysiajs/references/deployment.md +0 -413
  191. package/dist/skills/frameworks/elysia/elysiajs/references/eden.md +0 -158
  192. package/dist/skills/frameworks/elysia/elysiajs/references/lifecycle.md +0 -198
  193. package/dist/skills/frameworks/elysia/elysiajs/references/macro.md +0 -83
  194. package/dist/skills/frameworks/elysia/elysiajs/references/plugin.md +0 -207
  195. package/dist/skills/frameworks/elysia/elysiajs/references/route.md +0 -331
  196. package/dist/skills/frameworks/elysia/elysiajs/references/testing.md +0 -385
  197. package/dist/skills/frameworks/elysia/elysiajs/references/validation.md +0 -491
  198. package/dist/skills/frameworks/elysia/elysiajs/references/websocket.md +0 -250
  199. package/dist/skills/frameworks/nestjs/nestjs-best-practices/.github/workflows/branch-protection.yml +0 -24
  200. package/dist/skills/frameworks/nestjs/nestjs-best-practices/.github/workflows/deploy.yml +0 -61
  201. package/dist/skills/frameworks/nestjs/nestjs-best-practices/AGENTS.md +0 -5958
  202. package/dist/skills/frameworks/nestjs/nestjs-best-practices/SKILL.md +0 -130
  203. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-use-dto-serialization.md +0 -182
  204. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-use-interceptors.md +0 -202
  205. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-use-pipes.md +0 -205
  206. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/api-versioning.md +0 -191
  207. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-avoid-circular-deps.md +0 -80
  208. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-feature-modules.md +0 -82
  209. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-module-sharing.md +0 -141
  210. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-single-responsibility.md +0 -106
  211. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-use-events.md +0 -108
  212. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/arch-use-repository-pattern.md +0 -97
  213. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/db-avoid-n-plus-one.md +0 -139
  214. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/db-use-migrations.md +0 -129
  215. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/db-use-transactions.md +0 -140
  216. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/devops-graceful-shutdown.md +0 -222
  217. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/devops-use-config-module.md +0 -167
  218. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/devops-use-logging.md +0 -232
  219. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-avoid-service-locator.md +0 -104
  220. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-interface-segregation.md +0 -165
  221. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-liskov-substitution.md +0 -221
  222. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-prefer-constructor-injection.md +0 -86
  223. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-scope-awareness.md +0 -94
  224. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/di-use-interfaces-tokens.md +0 -101
  225. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/error-handle-async-errors.md +0 -125
  226. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/error-throw-http-exceptions.md +0 -114
  227. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/error-use-exception-filters.md +0 -140
  228. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/micro-use-health-checks.md +0 -226
  229. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/micro-use-patterns.md +0 -167
  230. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/micro-use-queues.md +0 -252
  231. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-async-hooks.md +0 -109
  232. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-lazy-loading.md +0 -121
  233. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-optimize-database.md +0 -131
  234. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/perf-use-caching.md +0 -128
  235. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-auth-jwt.md +0 -146
  236. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-rate-limiting.md +0 -125
  237. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-sanitize-output.md +0 -139
  238. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-use-guards.md +0 -135
  239. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/security-validate-all-input.md +0 -150
  240. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/test-e2e-supertest.md +0 -178
  241. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/test-mock-external-services.md +0 -179
  242. package/dist/skills/frameworks/nestjs/nestjs-best-practices/rules/test-use-testing-module.md +0 -153
  243. package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/build-agents.ts +0 -299
  244. package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/build.sh +0 -16
  245. package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/package-lock.json +0 -237
  246. package/dist/skills/frameworks/nestjs/nestjs-best-practices/scripts/package.json +0 -15
  247. package/dist/skills/frameworks/nestjs/nestjs-expert/SKILL.md +0 -208
  248. package/dist/skills/frameworks/nestjs/nestjs-expert/references/authentication.md +0 -166
  249. package/dist/skills/frameworks/nestjs/nestjs-expert/references/controllers-routing.md +0 -111
  250. package/dist/skills/frameworks/nestjs/nestjs-expert/references/dtos-validation.md +0 -153
  251. package/dist/skills/frameworks/nestjs/nestjs-expert/references/migration-from-express.md +0 -1237
  252. package/dist/skills/frameworks/nestjs/nestjs-expert/references/services-di.md +0 -140
  253. package/dist/skills/frameworks/nestjs/nestjs-expert/references/testing-patterns.md +0 -186
  254. package/dist/skills/frameworks/nextjs/next-best-practices/SKILL.md +0 -153
  255. package/dist/skills/frameworks/nextjs/next-best-practices/async-patterns.md +0 -87
  256. package/dist/skills/frameworks/nextjs/next-best-practices/bundling.md +0 -180
  257. package/dist/skills/frameworks/nextjs/next-best-practices/data-patterns.md +0 -297
  258. package/dist/skills/frameworks/nextjs/next-best-practices/debug-tricks.md +0 -105
  259. package/dist/skills/frameworks/nextjs/next-best-practices/directives.md +0 -73
  260. package/dist/skills/frameworks/nextjs/next-best-practices/error-handling.md +0 -227
  261. package/dist/skills/frameworks/nextjs/next-best-practices/file-conventions.md +0 -140
  262. package/dist/skills/frameworks/nextjs/next-best-practices/font.md +0 -245
  263. package/dist/skills/frameworks/nextjs/next-best-practices/functions.md +0 -108
  264. package/dist/skills/frameworks/nextjs/next-best-practices/hydration-error.md +0 -91
  265. package/dist/skills/frameworks/nextjs/next-best-practices/image.md +0 -173
  266. package/dist/skills/frameworks/nextjs/next-best-practices/metadata.md +0 -301
  267. package/dist/skills/frameworks/nextjs/next-best-practices/parallel-routes.md +0 -287
  268. package/dist/skills/frameworks/nextjs/next-best-practices/route-handlers.md +0 -146
  269. package/dist/skills/frameworks/nextjs/next-best-practices/rsc-boundaries.md +0 -159
  270. package/dist/skills/frameworks/nextjs/next-best-practices/runtime-selection.md +0 -39
  271. package/dist/skills/frameworks/nextjs/next-best-practices/scripts.md +0 -141
  272. package/dist/skills/frameworks/nextjs/next-best-practices/self-hosting.md +0 -371
  273. package/dist/skills/frameworks/nextjs/next-best-practices/suspense-boundaries.md +0 -67
  274. package/dist/skills/frameworks/nextjs/next-cache-components/SKILL.md +0 -360
  275. package/dist/skills/frameworks/react/async-react-patterns/SKILL.md +0 -78
  276. package/dist/skills/frameworks/react/vercel-composition-patterns/AGENTS.md +0 -946
  277. package/dist/skills/frameworks/react/vercel-composition-patterns/SKILL.md +0 -89
  278. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/architecture-avoid-boolean-props.md +0 -100
  279. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/architecture-compound-components.md +0 -112
  280. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/patterns-children-over-render-props.md +0 -87
  281. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/patterns-explicit-variants.md +0 -100
  282. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/react19-no-forwardref.md +0 -42
  283. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/state-context-interface.md +0 -191
  284. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/state-decouple-implementation.md +0 -113
  285. package/dist/skills/frameworks/react/vercel-composition-patterns/rules/state-lift-state.md +0 -125
  286. package/dist/skills/frameworks/react/vercel-react-best-practices/AGENTS.md +0 -3750
  287. package/dist/skills/frameworks/react/vercel-react-best-practices/SKILL.md +0 -148
  288. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-effect-event-deps.md +0 -56
  289. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-event-handler-refs.md +0 -55
  290. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-init-once.md +0 -42
  291. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/advanced-use-latest.md +0 -39
  292. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-api-routes.md +0 -38
  293. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-cheap-condition-before-await.md +0 -37
  294. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-defer-await.md +0 -82
  295. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-dependencies.md +0 -51
  296. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-parallel.md +0 -28
  297. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/async-suspense-boundaries.md +0 -99
  298. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-barrel-imports.md +0 -60
  299. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-conditional.md +0 -31
  300. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-defer-third-party.md +0 -49
  301. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-dynamic-imports.md +0 -35
  302. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/bundle-preload.md +0 -50
  303. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-event-listeners.md +0 -74
  304. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-localstorage-schema.md +0 -71
  305. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-passive-event-listeners.md +0 -48
  306. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/client-swr-dedup.md +0 -56
  307. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-batch-dom-css.md +0 -107
  308. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-cache-function-results.md +0 -80
  309. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-cache-property-access.md +0 -28
  310. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-cache-storage.md +0 -70
  311. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-combine-iterations.md +0 -32
  312. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-early-exit.md +0 -50
  313. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-flatmap-filter.md +0 -60
  314. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-hoist-regexp.md +0 -45
  315. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-index-maps.md +0 -37
  316. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-length-check-first.md +0 -49
  317. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-min-max-loop.md +0 -82
  318. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-request-idle-callback.md +0 -105
  319. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-set-map-lookups.md +0 -24
  320. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/js-tosorted-immutable.md +0 -57
  321. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-activity.md +0 -26
  322. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-animate-svg-wrapper.md +0 -47
  323. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-conditional-render.md +0 -40
  324. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-content-visibility.md +0 -38
  325. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-hoist-jsx.md +0 -46
  326. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-hydration-no-flicker.md +0 -82
  327. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-hydration-suppress-warning.md +0 -30
  328. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-resource-hints.md +0 -85
  329. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-script-defer-async.md +0 -68
  330. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-svg-precision.md +0 -28
  331. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rendering-usetransition-loading.md +0 -75
  332. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-defer-reads.md +0 -39
  333. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-dependencies.md +0 -45
  334. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-derived-state-no-effect.md +0 -40
  335. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-derived-state.md +0 -29
  336. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-functional-setstate.md +0 -74
  337. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-lazy-state-init.md +0 -58
  338. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-memo-with-default-value.md +0 -38
  339. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-memo.md +0 -44
  340. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-move-effect-to-event.md +0 -45
  341. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-no-inline-components.md +0 -82
  342. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-simple-expression-in-memo.md +0 -35
  343. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-split-combined-hooks.md +0 -64
  344. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-transitions.md +0 -40
  345. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-use-deferred-value.md +0 -59
  346. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/rerender-use-ref-transient-values.md +0 -73
  347. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-after-nonblocking.md +0 -73
  348. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-auth-actions.md +0 -96
  349. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-cache-lru.md +0 -41
  350. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-cache-react.md +0 -76
  351. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-dedup-props.md +0 -65
  352. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-hoist-static-io.md +0 -149
  353. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-no-shared-module-state.md +0 -50
  354. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-parallel-fetching.md +0 -83
  355. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-parallel-nested-fetching.md +0 -34
  356. package/dist/skills/frameworks/react/vercel-react-best-practices/rules/server-serialization.md +0 -38
  357. package/dist/skills/frameworks/tanstack-query/tanstack-query/.claude-plugin/plugin.json +0 -12
  358. package/dist/skills/frameworks/tanstack-query/tanstack-query/SKILL.md +0 -849
  359. package/dist/skills/frameworks/tanstack-query/tanstack-query/assets/example-template.txt +0 -14
  360. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/best-practices.md +0 -304
  361. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/common-patterns.md +0 -271
  362. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/example-reference.md +0 -26
  363. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/testing.md +0 -282
  364. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/top-errors.md +0 -332
  365. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/typescript-patterns.md +0 -291
  366. package/dist/skills/frameworks/tanstack-query/tanstack-query/references/v4-to-v5-migration.md +0 -231
  367. package/dist/skills/frameworks/tanstack-query/tanstack-query/rules/tanstack-query.md +0 -126
  368. package/dist/skills/frameworks/tanstack-query/tanstack-query/scripts/example-script.sh +0 -15
  369. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/custom-hooks-pattern.tsx +0 -281
  370. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/devtools-setup.tsx +0 -248
  371. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/error-boundary.tsx +0 -243
  372. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/package.json +0 -31
  373. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/provider-setup.tsx +0 -50
  374. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/query-client-config.ts +0 -72
  375. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-infinite-query.tsx +0 -214
  376. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-mutation-basic.tsx +0 -201
  377. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-mutation-optimistic.tsx +0 -234
  378. package/dist/skills/frameworks/tanstack-query/tanstack-query/templates/use-query-basic.tsx +0 -119
  379. package/dist/skills/frameworks/tanstack-start/tanstack-start/SKILL.md +0 -250
  380. package/dist/skills/frameworks/trpc/tanstack-query/.claude-plugin/plugin.json +0 -12
  381. package/dist/skills/frameworks/trpc/tanstack-query/SKILL.md +0 -1058
  382. package/dist/skills/frameworks/trpc/tanstack-query/assets/example-template.txt +0 -14
  383. package/dist/skills/frameworks/trpc/tanstack-query/references/best-practices.md +0 -304
  384. package/dist/skills/frameworks/trpc/tanstack-query/references/common-patterns.md +0 -271
  385. package/dist/skills/frameworks/trpc/tanstack-query/references/example-reference.md +0 -26
  386. package/dist/skills/frameworks/trpc/tanstack-query/references/testing.md +0 -282
  387. package/dist/skills/frameworks/trpc/tanstack-query/references/top-errors.md +0 -332
  388. package/dist/skills/frameworks/trpc/tanstack-query/references/typescript-patterns.md +0 -291
  389. package/dist/skills/frameworks/trpc/tanstack-query/references/v4-to-v5-migration.md +0 -231
  390. package/dist/skills/frameworks/trpc/tanstack-query/rules/tanstack-query.md +0 -126
  391. package/dist/skills/frameworks/trpc/tanstack-query/scripts/example-script.sh +0 -15
  392. package/dist/skills/frameworks/trpc/tanstack-query/templates/custom-hooks-pattern.tsx +0 -281
  393. package/dist/skills/frameworks/trpc/tanstack-query/templates/devtools-setup.tsx +0 -248
  394. package/dist/skills/frameworks/trpc/tanstack-query/templates/error-boundary.tsx +0 -243
  395. package/dist/skills/frameworks/trpc/tanstack-query/templates/package.json +0 -31
  396. package/dist/skills/frameworks/trpc/tanstack-query/templates/provider-setup.tsx +0 -50
  397. package/dist/skills/frameworks/trpc/tanstack-query/templates/query-client-config.ts +0 -72
  398. package/dist/skills/frameworks/trpc/tanstack-query/templates/use-infinite-query.tsx +0 -214
  399. package/dist/skills/frameworks/trpc/tanstack-query/templates/use-mutation-basic.tsx +0 -201
  400. package/dist/skills/frameworks/trpc/tanstack-query/templates/use-mutation-optimistic.tsx +0 -234
  401. package/dist/skills/frameworks/trpc/tanstack-query/templates/use-query-basic.tsx +0 -119
  402. package/dist/skills/frameworks/turborepo/turborepo/SKILL.md +0 -914
  403. package/dist/skills/frameworks/turborepo/turborepo/command/turborepo.md +0 -70
  404. package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/RULE.md +0 -241
  405. package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/dependencies.md +0 -246
  406. package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/packages.md +0 -335
  407. package/dist/skills/frameworks/turborepo/turborepo/references/best-practices/structure.md +0 -270
  408. package/dist/skills/frameworks/turborepo/turborepo/references/boundaries/RULE.md +0 -126
  409. package/dist/skills/frameworks/turborepo/turborepo/references/caching/RULE.md +0 -107
  410. package/dist/skills/frameworks/turborepo/turborepo/references/caching/gotchas.md +0 -169
  411. package/dist/skills/frameworks/turborepo/turborepo/references/caching/remote-cache.md +0 -127
  412. package/dist/skills/frameworks/turborepo/turborepo/references/ci/RULE.md +0 -79
  413. package/dist/skills/frameworks/turborepo/turborepo/references/ci/github-actions.md +0 -162
  414. package/dist/skills/frameworks/turborepo/turborepo/references/ci/patterns.md +0 -145
  415. package/dist/skills/frameworks/turborepo/turborepo/references/ci/vercel.md +0 -103
  416. package/dist/skills/frameworks/turborepo/turborepo/references/cli/RULE.md +0 -100
  417. package/dist/skills/frameworks/turborepo/turborepo/references/cli/commands.md +0 -297
  418. package/dist/skills/frameworks/turborepo/turborepo/references/configuration/RULE.md +0 -211
  419. package/dist/skills/frameworks/turborepo/turborepo/references/configuration/global-options.md +0 -187
  420. package/dist/skills/frameworks/turborepo/turborepo/references/configuration/gotchas.md +0 -348
  421. package/dist/skills/frameworks/turborepo/turborepo/references/configuration/tasks.md +0 -285
  422. package/dist/skills/frameworks/turborepo/turborepo/references/environment/RULE.md +0 -96
  423. package/dist/skills/frameworks/turborepo/turborepo/references/environment/gotchas.md +0 -141
  424. package/dist/skills/frameworks/turborepo/turborepo/references/environment/modes.md +0 -101
  425. package/dist/skills/frameworks/turborepo/turborepo/references/filtering/RULE.md +0 -148
  426. package/dist/skills/frameworks/turborepo/turborepo/references/filtering/patterns.md +0 -152
  427. package/dist/skills/frameworks/turborepo/turborepo/references/watch/RULE.md +0 -99
  428. package/dist/skills/languages/python/async-python-patterns/SKILL.md +0 -735
  429. package/dist/skills/languages/python/python-code-style/SKILL.md +0 -360
  430. package/dist/skills/languages/python/python-design-patterns/SKILL.md +0 -433
  431. package/dist/skills/languages/python/python-project-structure/SKILL.md +0 -252
  432. package/dist/skills/languages/python/python-testing-patterns/SKILL.md +0 -622
  433. package/dist/skills/languages/python/python-testing-patterns/references/advanced-patterns.md +0 -411
  434. package/dist/skills/languages/typescript/quality-types/SKILL.md +0 -93
  435. package/dist/skills/phases/bug-discovery-phase/REFERENCE.md +0 -140
  436. package/dist/skills/phases/bug-discovery-phase/SKILL.md +0 -78
  437. package/dist/skills/phases/bug-resolution-phase/REFERENCE.md +0 -160
  438. package/dist/skills/phases/bug-resolution-phase/SKILL.md +0 -64
  439. package/dist/skills/phases/debugging-phase/SKILL.md +0 -87
  440. package/dist/skills/phases/delivery-phase/SKILL.md +0 -87
  441. package/dist/skills/phases/docs-ingest-phase/SKILL.md +0 -96
  442. package/dist/skills/phases/docs-ingest-phase/agents/openai.yaml +0 -4
  443. package/dist/skills/phases/docs-ingest-phase/references/concept-pages.md +0 -70
  444. package/dist/skills/phases/docs-ingest-phase/references/flow-pages.md +0 -56
  445. package/dist/skills/phases/docs-ingest-phase/references/fumadocs-routing.md +0 -74
  446. package/dist/skills/phases/docs-ingest-phase/references/public-docs.md +0 -82
  447. package/dist/skills/phases/docs-ingest-phase/references/repo-docs.md +0 -38
  448. package/dist/skills/phases/docs-ingest-phase/references/wiki-ingest.md +0 -133
  449. package/dist/skills/phases/goalify/EXAMPLES.md +0 -78
  450. package/dist/skills/phases/goalify/SKILL.md +0 -129
  451. package/dist/skills/phases/requirements-phase/SKILL.md +0 -69
  452. package/dist/skills/phases/resolve-debt-phase/SKILL.md +0 -87
  453. package/dist/skills/phases/review-phase/SKILL.md +0 -116
@@ -1,99 +0,0 @@
1
- ---
2
- name: implement-spec
3
- description: Implement an approved spec folder while keeping `IMPLEMENTATION-NOTES.md`, `PLAN.md`, and spec-linked tech debt in sync. Use when a reviewed spec already has a `PLAN.md` and execution should proceed through the default single-worker sequential path or explicit parallel worker waves.
4
- ---
5
-
6
- # Implement Spec
7
-
8
- ## Contract
9
-
10
- - **Role:** higher-order execution orchestrator
11
- - **Entrypoint type:** public entrypoint
12
- - **Upstream:** reviewed spec folder with `SPEC.md` and `PLAN.md`
13
- - **Delegates to:** `$tdd`, `$simplify`, tiny `$requirements-phase` sessions for debt ambiguity, and internal worker orchestration in sequential and parallel modes
14
- - **Downstream:** `docs-ingest-phase` when the resulting spec folder should be ingested into domain knowledge
15
- - **Entry conditions:** existing reviewed spec folder; stop and use `create-plan` if `PLAN.md` is missing
16
- - **Stop conditions:** shared acceptance audit complete, final manual review checklist written, spec folder finalized, blocked work reported honestly
17
-
18
- ## Required Inner Skills
19
-
20
- - MUST use `$tdd`
21
- - MUST use `$simplify`
22
- Use `$agent-browser` when any task `review_mode` is `browser` or `mixed`.
23
-
24
- ## Sequential responsibilities
25
-
26
- When `implement-spec` runs in `sequential` mode, it must follow [references/sequential.md](references/sequential.md).
27
-
28
- That means `implement-spec` itself owns orchestration and validation, while exactly one implementation worker owns the sequential coding loop. This keeps the parent context small and adds a parent review gate after worker handoff.
29
-
30
- ## Parallel responsibilities
31
-
32
- When `implement-spec` runs in `parallel` mode, it must follow [references/parallel.md](references/parallel.md) as the full orchestration contract.
33
-
34
- That means `implement-spec` itself owns all of the following in parallel mode:
35
-
36
- - parsing `PLAN.md`
37
- - finding the currently unblocked tasks from `depends_on`
38
- - launching workers in waves
39
- - reviewing worker outputs
40
- - validating each wave before advancing
41
- - ensuring `PLAN.md` and `IMPLEMENTATION-NOTES.md` are updated after each completed wave
42
-
43
- ## Quick start
44
-
45
- 1. Resolve the target spec folder under `apps/wiki/specs/<domain>/<spec>/`.
46
- 2. Read `references/lifecycle.md` and follow the shared execution contract exactly.
47
- 3. Choose the execution mode explicitly:
48
- - Read `references/sequential.md` for default single-worker sequential execution.
49
- - Read `references/parallel.md` for wave-based worker execution.
50
- 4. Record the chosen mode under **Execution mode** in `IMPLEMENTATION-NOTES.md` before coding.
51
- 5. Execute only the chosen mode. Do not mix modes inside one run.
52
- 6. After each completed task or wave, update `PLAN.md`, `IMPLEMENTATION-NOTES.md`, and spec-linked tech debt before advancing.
53
- 7. Resolve implementation debt as soon as it appears. Do not leave "later" work, TODOs, temporary compromises, or vague follow-up debt.
54
- 8. If a debt item needs a product/scope decision outside the active goal, stop and run a very small `$requirements-phase` clarification before continuing.
55
- 9. If backlog sync is in scope, keep epic/story bodies product-facing and use native metadata or comments instead of execution handoff rewrites.
56
- 10. Finish with the shared acceptance audit, manual review checklist, and spec finalization contract.
57
-
58
- ## Stack-aware branch gate
59
-
60
- Before coding, inspect `PLAN.md` for `Branch/Base Intent`.
61
-
62
- - If no `Branch/Base Intent` exists, continue with the normal execution flow.
63
- - If it exists, verify the current branch is the intended child branch based on
64
- the intended parent branch, or create/switch to the intended child branch from
65
- the intended parent branch before implementation starts.
66
- - Do not reinterpret intra-epic task dependencies as separate PRs.
67
- - Default to PR-after-implementation: implement, commit, push, create or update
68
- the PR with the recorded base, then run `stack sync --dry-run`.
69
- - If the dry-run preview is correct and reports pending stack changes, run
70
- `stack sync`.
71
- - Early draft PRs are opt-in only when the user explicitly asks for them.
72
- - If `stack` is unavailable and `Branch/Base Intent` exists, block the
73
- stack-dependent workflow. Missing `stack` does not block independent
74
- trunk-based work.
75
-
76
- ## Mode selection
77
-
78
- Choose `sequential` when:
79
-
80
- - the user wants single-threaded execution
81
- - tasks are tightly coupled
82
- - parallel worker handoff cost would outweigh parallelism
83
- - the user did not choose a mode
84
-
85
- Choose `parallel` when:
86
-
87
- - the user wants explicit parallel execution
88
- - the plan contains independent waves
89
- - disjoint write scopes make worker fan-out safe
90
-
91
- If the user already chose a mode, honor it. If not, choose `sequential` and state that it uses one implementation worker plus parent validation.
92
-
93
- ## Advanced features
94
-
95
- - Shared lifecycle, notes contract, tech-debt rules, acceptance audit, finalization: see [references/lifecycle.md](references/lifecycle.md)
96
- - Sequential execution specifics: see [references/sequential.md](references/sequential.md)
97
- - Parallel execution specifics: see [references/parallel.md](references/parallel.md)
98
- - Parallel plan parsing and wave construction: see [references/parallel-orchestration.md](references/parallel-orchestration.md)
99
- - Parallel worker brief contract: see [references/parallel-worker-brief.md](references/parallel-worker-brief.md)
@@ -1,53 +0,0 @@
1
- # Implementation Notes
2
-
3
- ## Summary
4
-
5
- -
6
-
7
- ## Execution Mode
8
-
9
- -
10
-
11
- ## Deviations From the Plan
12
-
13
- -
14
-
15
- ## Surprises and Decisions
16
-
17
- -
18
-
19
- ## Sanity Checks
20
-
21
- | Check | Result | Notes |
22
- |------|--------|-------|
23
- | | | |
24
-
25
- ## Acceptance Criteria Status
26
-
27
- | Criterion | Status | Notes |
28
- |-----------|--------|-------|
29
- | | | |
30
-
31
- ## Manual Review Checklist
32
-
33
- | Area | Check | How to perform | Expected result |
34
- |------|-------|----------------|-----------------|
35
- | | | | |
36
-
37
- ## Pre-existing Issues
38
-
39
- -
40
-
41
- ## Out of Scope Observations
42
-
43
- -
44
-
45
- ## Remaining Work
46
-
47
- -
48
-
49
- ## Steering
50
-
51
- | Date | Feedback | Changes |
52
- |------|----------|---------|
53
- | | | |
@@ -1,193 +0,0 @@
1
- # Implement Spec Lifecycle
2
-
3
- ## Shared contract
4
-
5
- `implement-spec` is the only public execution entrypoint.
6
-
7
- It routes to one of two approaches:
8
-
9
- - `sequential` — one implementation worker, parent orchestration, parent validation
10
- - `parallel` — wave-based execution with explicit worker orchestration
11
-
12
- Do not recreate wrapper skills for these modes. Keep the routing here and load only the needed mode reference.
13
-
14
- ## 1. Require an existing reviewed spec folder
15
-
16
- Execution must stay grounded in:
17
-
18
- `apps/wiki/specs/<domain>/<spec>/`
19
-
20
- Required files:
21
-
22
- - `SPEC.md`
23
- - `PLAN.md`
24
-
25
- If `SPEC.md` is missing, stop and report the resolved path error.
26
-
27
- If `PLAN.md` is missing, stop and use `create-plan`. Do not auto-generate plans from this skill.
28
-
29
- ## 2. Resolve the target folder
30
-
31
- Accept either:
32
-
33
- - a domain plus spec folder name
34
- - a full spec folder path
35
- - a direct `SPEC.md` or `PLAN.md` path
36
-
37
- Normalize to the containing spec folder before doing any work.
38
-
39
- ## 3. Load the working set
40
-
41
- Read, in this order:
42
-
43
- 1. `apps/wiki/AGENTS.md`
44
- 2. `apps/wiki/specs/<domain>/<spec>/SPEC.md`
45
- 3. `apps/wiki/specs/<domain>/<spec>/PLAN.md`
46
- 4. `apps/wiki/specs/<domain>/<spec>/IMPLEMENTATION-NOTES.md` if present
47
- 5. `docs/reference/tech-debt/<domain>/<spec>.md` if present
48
-
49
- If package or framework behavior matters, inspect source with `opensrc --modify false` before guessing.
50
-
51
- ## 4. Prepare execution notes
52
-
53
- Use [../assets/IMPLEMENTATION-NOTES-TEMPLATE.md](../assets/IMPLEMENTATION-NOTES-TEMPLATE.md).
54
-
55
- - Create `IMPLEMENTATION-NOTES.md` from the template when missing.
56
- - Append or refine when it already exists.
57
- - Keep it current during the run, not only at the end.
58
-
59
- ## 5. Prepare the tech-debt ledger
60
-
61
- Persistent implementation drift belongs in:
62
-
63
- `docs/reference/tech-debt/<domain>/<spec>.md`
64
-
65
- This file is not a dumping ground for avoidable "later" work.
66
-
67
- Default rule: resolve debt immediately when it appears.
68
-
69
- Forbidden debt language:
70
-
71
- - "do this later"
72
- - "temporary workaround"
73
- - "future implementation"
74
- - "follow-up cleanup"
75
- - vague TODOs without an owner, decision, and blocker
76
-
77
- Use the ledger only for debt that cannot be resolved inside the current run because it is outside the active goal, requires a human product/scope decision, or is blocked by an external dependency.
78
-
79
- For every ledger entry, record:
80
-
81
- - exact debt
82
- - why it cannot be resolved now
83
- - decision needed or external blocker
84
- - owner or next action
85
-
86
- If the debt is inside the active goal, fix it before advancing. If the debt is outside the active goal but affects the implementation decision, stop and run a tiny `$requirements-phase` clarification with one narrow question and a recommended answer. Continue only after the branch is closed, parked explicitly, or converted into an accepted scope change.
87
-
88
- Do not create the file when nothing durable must survive the run.
89
-
90
- ## 6. Shared execution invariants
91
-
92
- - Mode is manual. The chosen approach decides the execution path.
93
- - Do not switch modes mid-run unless the user explicitly redirects.
94
- - Default to `sequential` when the user does not choose a mode.
95
- - In `sequential`, keep implementation work inside one worker; the parent coordinates, reviews, validates, and finalizes.
96
- - Treat every `tdd_target` as required RED-first behavior, never optional guidance.
97
- - Treat every `review_mode` as required validation routing, never optional metadata.
98
- - Keep an operator-visible execution board in the conversation so progress is obvious.
99
- - Keep scope discipline. Out-of-scope findings that do not affect the current implementation go to `IMPLEMENTATION-NOTES.md`, not silent scope creep.
100
- - Never leave sloppy debt, TODO placeholders, temporary compromises, or "later" implementation notes for in-goal work.
101
- - When unclear debt affects the current implementation and the answer is not already in the spec/plan/backlog, pause for a tiny `$requirements-phase` clarification instead of guessing.
102
- - If backlog sync is part of the run, keep epic and story bodies product-facing.
103
- - Execution-time backlog sync may use comments, links, native status, and native relations.
104
- - Never rewrite epic or story bodies with task ids, TDD targets, validation commands, or file lists.
105
-
106
- ## 7. Shared upkeep after each completed unit
107
-
108
- After each completed task or wave:
109
-
110
- - update `PLAN.md` status
111
- - append a concise execution log in `PLAN.md`
112
- - record touched files in `PLAN.md`
113
- - update `IMPLEMENTATION-NOTES.md` with non-obvious decisions, surprises, or deviations
114
- - resolve any in-goal debt before advancing
115
- - update the spec-linked tech-debt file only for blocked or explicitly parked debt with exact owner/next action
116
- - if backlog sync is in scope, prefer native metadata changes or concise comments over body rewrites
117
-
118
- ## 8. Handle blockers honestly
119
-
120
- If a task is blocked:
121
-
122
- 1. record it in `IMPLEMENTATION-NOTES.md`
123
- 2. update the spec-linked tech-debt file only when the blocker creates durable unresolved debt
124
- 3. skip only tasks truly blocked by it
125
- 4. finish all remaining reachable work
126
- 5. report blocked tasks clearly at the end
127
-
128
- Do not fake completion.
129
-
130
- ## 9. Apply runtime-aware validation
131
-
132
- Use the task `review_mode`:
133
-
134
- - `cli`: tests, commands, type-checks, API calls, or non-visual checks
135
- - `browser`: browser validation through `$agent-browser`
136
- - `mixed`: both
137
-
138
- If running inside a worktree and `portless` is available, prefer it for server-based validation to avoid port conflicts.
139
-
140
- ## 10. Verify acceptance criteria
141
-
142
- Re-read `SPEC.md` acceptance criteria and mark each one:
143
-
144
- - met
145
- - unmet
146
- - blocked
147
-
148
- Record a reason for every unmet or blocked item in `IMPLEMENTATION-NOTES.md`.
149
-
150
- ## 11. Write the manual review checklist
151
-
152
- Before finalization, `IMPLEMENTATION-NOTES.md` must contain `## Manual Review Checklist`.
153
-
154
- This section is a user handoff checklist, not an agent completion tracker. Derive it from completed tasks, `review_mode`, `tdd_target`, acceptance criteria, touched public surfaces, deviations, and risky integrations.
155
-
156
- Use exactly this table shape:
157
-
158
- | Area | Check | How to perform | Expected result |
159
- |------|-------|----------------|-----------------|
160
-
161
- Rules:
162
-
163
- - Browser or mixed review tasks must include concrete user flows to try end to end.
164
- - CLI review tasks must include exact commands, fixtures, or scenarios the user can rerun.
165
- - Include manual-only checks for product behavior, visual review, integration smoke, tracker/docs review, or anything automation cannot prove.
166
- - Empty checklist sections are invalid.
167
- - If no manual review applies, write one explicit row explaining why there is no user-verifiable surface.
168
-
169
- ## 12. Finalize the spec folder
170
-
171
- Before reporting back:
172
-
173
- - remove empty sections from `IMPLEMENTATION-NOTES.md`
174
- - ensure **Execution mode** reflects the mode actually used
175
- - ensure **Sanity checks** lists only commands actually run
176
- - ensure **Manual Review Checklist** has at least one concrete row, or one explicit non-applicability row
177
- - ensure **Remaining work** matches any unmet or blocked criteria
178
- - ensure no in-goal debt remains as TODO, follow-up cleanup, or vague later-work text
179
- - ensure every tech-debt ledger entry has exact blocker/decision/owner/next action
180
- - set `SPEC.md` frontmatter `status: implemented`
181
- - set `PLAN.md` `**Status:** Complete` when that line exists
182
-
183
- ## 13. Final report shape
184
-
185
- Summarize:
186
-
187
- - implementation status
188
- - validation results
189
- - key deviations or surprises
190
- - acceptance-criteria status
191
- - manual review checklist
192
- - blocked tasks needing input
193
- - whether the spec-linked tech-debt file was created or updated
@@ -1,102 +0,0 @@
1
- # Parallel Orchestration
2
-
3
- Use this reference to run the full parallel orchestration loop inside `implement-spec`.
4
-
5
- ## Step 1: Parse request
6
-
7
- Extract from the user request:
8
-
9
- 1. the plan source to execute
10
- 2. an optional task subset
11
-
12
- If no subset is provided, execute the full plan.
13
-
14
- ## Step 2: Read and parse `PLAN.md`
15
-
16
- Find task subsections such as:
17
-
18
- - `### T1:`
19
- - `### Task 1.1:`
20
-
21
- For each task, extract:
22
-
23
- - task id and task name
24
- - `depends_on`
25
- - full content needed for execution:
26
- - location
27
- - description
28
- - acceptance criteria
29
- - validation
30
- - `tdd_target`
31
- - `review_mode`
32
- - backlog metadata when present
33
- - related tasks or plan-level constraints when they materially shape execution
34
-
35
- Build the task list from this data.
36
-
37
- If a task subset was requested:
38
-
39
- - filter to the requested tasks
40
- - include every required dependency first
41
-
42
- ## Step 3: Build the current wave
43
-
44
- A task is unblocked only when all ids in its `depends_on` list are complete.
45
-
46
- For the current wave:
47
-
48
- - collect every unblocked task
49
- - exclude already-complete tasks
50
- - exclude tasks blocked by failed prerequisites
51
-
52
- Launch all unblocked tasks in parallel.
53
-
54
- ## Step 4: Spawn workers
55
-
56
- For each unblocked task:
57
-
58
- - choose the worker template from `.agents/subagents/manifest.mjs`
59
- - use the worker-brief contract from [parallel-worker-brief.md](parallel-worker-brief.md)
60
- - keep the task scope narrow
61
- - ensure the worker owns only the assigned task and its required validation
62
-
63
- ## Step 5: Review and validate the wave
64
-
65
- After the workers return:
66
-
67
- 1. inspect their outputs for correctness and completeness
68
- 2. compare the result against the task validation contract
69
- 3. ensure the task log and touched files were written back into `PLAN.md`
70
- 4. ensure non-obvious deviations or surprises were written into `IMPLEMENTATION-NOTES.md`
71
- 5. retry or escalate failed work instead of quietly advancing
72
-
73
- Move to the next wave only after the current wave is validated and logged.
74
-
75
- ## Step 6: Repeat
76
-
77
- Re-read the plan state and compute the next set of unblocked tasks.
78
-
79
- Continue until:
80
-
81
- - all reachable tasks are complete
82
- - or a real blocker remains
83
-
84
- ## Completion rule
85
-
86
- A task is complete only when all of the following are true:
87
-
88
- - the worker finished the assigned scope
89
- - acceptance criteria are satisfied, not only partially implemented
90
- - RED -> GREEN evidence exists for testable tasks, or an explicit `reason_not_testable` plus exact alternative verification exists
91
- - validation evidence matches the task contract
92
- - `PLAN.md` reflects the completed status and execution log
93
- - touched files are recorded
94
- - any non-obvious deviations are reflected in `IMPLEMENTATION-NOTES.md`
95
-
96
- If any of these are missing, the task is not done yet.
97
-
98
- ## Error handling
99
-
100
- - If the requested task subset cannot be found, report the available task ids.
101
- - If parsing fails, report what was tried and what is ambiguous.
102
- - If a worker result is incomplete or incorrect, retry or escalate instead of marking the task complete.
@@ -1,67 +0,0 @@
1
- # Parallel Worker Brief
2
-
3
- Use this reference when spawning a worker for one task in a parallel wave.
4
-
5
- ## Required context
6
-
7
- Every worker brief should include:
8
-
9
- - plan file or spec-folder context
10
- - relevant goals or overview from the plan
11
- - task id and task name
12
- - task dependencies
13
- - related tasks when they matter
14
- - file locations
15
- - full description
16
- - acceptance criteria
17
- - validation contract
18
- - `tdd_target`
19
- - `review_mode`
20
- - relevant risks or constraints from the plan
21
-
22
- ## Required instructions
23
-
24
- Each worker brief should require:
25
-
26
- 1. reading the plan and understanding the specific task first
27
- 2. reading all relevant files first, then doing targeted codebase research before editing
28
- 3. starting from `tdd_target` and driving the task RED first when it is testable
29
- 4. capturing failing evidence for the expected behavior gap before implementation
30
- 5. recording an explicit `reason_not_testable` plus exact alternative verification when the task is not a good TDD candidate
31
- 6. treating RED-phase tests or the approved non-testable verification plan as the implementation contract
32
- 7. not weakening or removing tests unless requirements changed
33
- 8. implementing only the assigned task scope and satisfying all acceptance criteria
34
- 9. running the exact task validation evidence before returning, plus extra plan validation when feasible
35
- 10. resolving any in-goal debt immediately instead of leaving TODOs, temporary workarounds, or "later" notes
36
- 11. stopping for parent clarification when a debt item requires a product/scope decision outside the assigned task
37
- 12. updating the plan entry with status, log, touched files, and gotchas before handoff closes
38
-
39
- ## Worker output contract
40
-
41
- Require the worker to return:
42
-
43
- - files modified or created
44
- - concise summary of changes
45
- - how the acceptance criteria are satisfied
46
- - verification evidence: RED -> GREEN for testable tasks, or the exact non-testable alternative that was run
47
- - validation evidence performed
48
- - validation intentionally deferred
49
- - anything blocked or risky, with exact reason and required decision
50
-
51
- ## Scope rule
52
-
53
- The worker is not responsible for overall wave orchestration.
54
-
55
- The worker owns:
56
-
57
- - one assigned task
58
- - its local validation
59
- - its plan-entry updates
60
-
61
- The parent `implement-spec` run owns:
62
-
63
- - wave construction
64
- - cross-task dependency handling
65
- - review of worker outputs
66
- - retry and escalation decisions
67
- - deciding when the wave is complete
@@ -1,56 +0,0 @@
1
- # Parallel Execution
2
-
3
- Use this approach only when execution should fan out across independent tasks or waves.
4
-
5
- When `implement-spec` chooses `parallel` mode, this reference is the full contract for parallel execution.
6
-
7
- ## Parallel contract
8
-
9
- - **Mode:** `parallel`
10
- - **Worker policy:** spawn multiple workers only for currently unblocked independent work
11
- - **Execution board:** completed, in progress, unblocked next, blocked, current wave
12
-
13
- ## Adoption rule
14
-
15
- In `parallel` mode, `implement-spec` must do all of the orchestration work itself.
16
-
17
- That includes:
18
-
19
- 1. parsing `PLAN.md`
20
- 2. extracting task ids, names, `depends_on`, locations, descriptions, acceptance criteria, validations, and related metadata
21
- 3. building the current wave from the unblocked tasks
22
- 4. spawning workers for that wave
23
- 5. reviewing worker results for correctness and completeness
24
- 6. updating plan logs and execution notes
25
- 7. repeating until all reachable tasks are complete or a real blocker remains
26
-
27
- Do not treat worker spawning as the whole job. Parallel mode adds multi-worker wave orchestration on top of the default parent validation responsibilities.
28
-
29
- ## Quick start
30
-
31
- 1. Load the shared lifecycle from `lifecycle.md`.
32
- 2. Record `parallel` under **Execution mode** in `IMPLEMENTATION-NOTES.md`.
33
- 3. Read `.agents/subagents/manifest.mjs` before the first spawn and choose explicit worker templates per task.
34
- 4. Read [parallel-orchestration.md](parallel-orchestration.md) and parse `PLAN.md` into a task graph.
35
- 5. Build the current wave from the unblocked tasks only.
36
- 6. Read [parallel-worker-brief.md](parallel-worker-brief.md) and use that contract when spawning workers.
37
- 7. Validate each wave before moving on. Fix failures before the next wave.
38
- 8. Update the plan, notes, and tech debt after every wave.
39
-
40
- ## Required evidence
41
-
42
- - plan-derived wave selection
43
- - explicit worker briefs per task
44
- - post-wave review of worker outputs
45
- - acceptance-criteria coverage plus RED -> GREEN evidence, or explicit non-testable verification
46
- - task completion only after validation and plan/log updates
47
- - clear reporting of retries, issues, or blockers
48
-
49
- ## Loop rule
50
-
51
- Keep iterating wave by wave until:
52
-
53
- - all reachable tasks are complete, validated, and logged
54
- - or a real blocker remains and is reported honestly
55
-
56
- Do not quietly skip failed work. Retry or escalate instead.
@@ -1,38 +0,0 @@
1
- # Sequential Execution
2
-
3
- Use this approach when execution should stay serial while avoiding main-context implementation churn.
4
-
5
- ## Sequential contract
6
-
7
- - **Mode:** `sequential`
8
- - **Worker policy:** spawn exactly one implementation worker
9
- - **Execution board:** completed, in progress, next, blocked
10
-
11
- ## Quick start
12
-
13
- 1. Load the shared lifecycle from `lifecycle.md`.
14
- 2. Record `sequential` under **Execution mode** in `IMPLEMENTATION-NOTES.md`.
15
- 3. Read `.agents/subagents/manifest.mjs` when present and choose the best specialist for the whole sequential implementation.
16
- 4. Spawn one worker with the full spec folder, plan, lifecycle rules, required skills, task order, and update obligations.
17
- 5. Require the worker to execute one task at a time in dependency order.
18
- 6. After worker handoff, review the diff, plan updates, notes, and validation evidence before finalization.
19
- 7. Run any parent-level acceptance or smoke checks needed to trust the worker output.
20
-
21
- ## Task loop
22
-
23
- The worker owns this loop for every task:
24
-
25
- 1. start from `tdd_target`
26
- 2. validate through the task's public interface
27
- 3. run the task-level validation gate before marking it done
28
- 4. update the execution board before advancing
29
-
30
- The parent owns:
31
-
32
- - worker brief quality
33
- - post-handoff review
34
- - acceptance-criteria audit
35
- - manual review checklist
36
- - final spec-folder status
37
-
38
- Stop only when all reachable tasks are complete or a real blocker remains.