@punks/cli 2.1.11 → 2.2.1

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 (467) hide show
  1. package/README.md +15 -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 -327
  8. package/dist/data/catalog/skills.ts +0 -449
  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 -524
  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/writing-beats/SKILL.md +0 -69
  39. package/dist/skills/agnostic/docs/writing-fragments/SKILL.md +0 -76
  40. package/dist/skills/agnostic/docs/writing-shape/SKILL.md +0 -75
  41. package/dist/skills/agnostic/frontend/agent-browser/.clawdhub/origin.json +0 -7
  42. package/dist/skills/agnostic/frontend/agent-browser/SKILL.md +0 -229
  43. package/dist/skills/agnostic/frontend/agent-browser/references/authentication.md +0 -202
  44. package/dist/skills/agnostic/frontend/agent-browser/references/commands.md +0 -259
  45. package/dist/skills/agnostic/frontend/agent-browser/references/proxy-support.md +0 -188
  46. package/dist/skills/agnostic/frontend/agent-browser/references/session-management.md +0 -193
  47. package/dist/skills/agnostic/frontend/agent-browser/references/snapshot-refs.md +0 -194
  48. package/dist/skills/agnostic/frontend/agent-browser/references/video-recording.md +0 -173
  49. package/dist/skills/agnostic/frontend/agent-browser/templates/authenticated-session.sh +0 -97
  50. package/dist/skills/agnostic/frontend/agent-browser/templates/capture-workflow.sh +0 -69
  51. package/dist/skills/agnostic/frontend/agent-browser/templates/form-automation.sh +0 -62
  52. package/dist/skills/agnostic/frontend/design-taste-frontend/SKILL.md +0 -226
  53. package/dist/skills/agnostic/frontend/frontend-domain-structure/SKILL.md +0 -55
  54. package/dist/skills/agnostic/frontend/frontend-domain-structure/agents/openai.yaml +0 -4
  55. package/dist/skills/agnostic/frontend/frontend-domain-structure/references/react/structure.md +0 -102
  56. package/dist/skills/agnostic/frontend/frontend-domain-structure/references/structure.md +0 -257
  57. package/dist/skills/agnostic/frontend/gpt-taste/SKILL.md +0 -74
  58. package/dist/skills/agnostic/frontend/image-taste-frontend/SKILL.md +0 -1102
  59. package/dist/skills/agnostic/frontend/redesign-existing-projects/SKILL.md +0 -178
  60. package/dist/skills/agnostic/generic/handoff/SKILL.md +0 -15
  61. package/dist/skills/agnostic/planning/create-plan/REFERENCE.md +0 -37
  62. package/dist/skills/agnostic/planning/create-plan/SKILL.md +0 -88
  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 -90
  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 -48
  69. package/dist/skills/agnostic/planning/create-spec/SKILL.md +0 -111
  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 -199
  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 -74
  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 -43
  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 -138
  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 -44
  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 -170
  436. package/dist/skills/phases/bug-discovery-phase/SKILL.md +0 -85
  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 -88
  440. package/dist/skills/phases/delivery-phase/SKILL.md +0 -50
  441. package/dist/skills/phases/delivery-phase/phases/closeout.md +0 -33
  442. package/dist/skills/phases/delivery-phase/phases/debug.md +0 -30
  443. package/dist/skills/phases/delivery-phase/phases/docs-ingest.md +0 -27
  444. package/dist/skills/phases/delivery-phase/phases/implement.md +0 -30
  445. package/dist/skills/phases/delivery-phase/phases/plan.md +0 -27
  446. package/dist/skills/phases/delivery-phase/phases/review.md +0 -29
  447. package/dist/skills/phases/delivery-phase/phases/router.md +0 -46
  448. package/dist/skills/phases/delivery-phase/phases/spec.md +0 -26
  449. package/dist/skills/phases/delivery-phase/references/artifact-state.md +0 -42
  450. package/dist/skills/phases/delivery-phase/references/phase-handoff.md +0 -25
  451. package/dist/skills/phases/docs-ingest-phase/SKILL.md +0 -46
  452. package/dist/skills/phases/docs-ingest-phase/agents/openai.yaml +0 -4
  453. package/dist/skills/phases/docs-ingest-phase/phases/private-internal.md +0 -57
  454. package/dist/skills/phases/docs-ingest-phase/phases/public-docs.md +0 -52
  455. package/dist/skills/phases/docs-ingest-phase/phases/router.md +0 -42
  456. package/dist/skills/phases/docs-ingest-phase/references/concept-pages.md +0 -70
  457. package/dist/skills/phases/docs-ingest-phase/references/flow-pages.md +0 -56
  458. package/dist/skills/phases/docs-ingest-phase/references/fumadocs-routing.md +0 -74
  459. package/dist/skills/phases/docs-ingest-phase/references/learning-artifacts.md +0 -96
  460. package/dist/skills/phases/docs-ingest-phase/references/public-docs.md +0 -90
  461. package/dist/skills/phases/docs-ingest-phase/references/repo-docs.md +0 -38
  462. package/dist/skills/phases/docs-ingest-phase/references/wiki-ingest.md +0 -133
  463. package/dist/skills/phases/goalify/EXAMPLES.md +0 -78
  464. package/dist/skills/phases/goalify/SKILL.md +0 -129
  465. package/dist/skills/phases/requirements-phase/SKILL.md +0 -70
  466. package/dist/skills/phases/resolve-debt-phase/SKILL.md +0 -87
  467. package/dist/skills/phases/review-phase/SKILL.md +0 -118
@@ -1,184 +0,0 @@
1
- ---
2
- name: debug-agent
3
- description: >-
4
- Systematic evidence-based debugging using runtime logs. Generates hypotheses,
5
- instruments code with NDJSON logs, guides reproduction, analyzes log evidence,
6
- and iterates until root cause is proven with cited log lines. Use when the
7
- user reports a bug, unexpected behavior, or asks to debug an issue.
8
- ---
9
-
10
- # Debug Mode
11
-
12
- You are now in **DEBUG MODE**. You must debug with **runtime evidence**.
13
-
14
- **Why this approach:** Traditional AI agents jump to fixes claiming 100% confidence, but fail due to lacking runtime information.
15
- They guess based on code alone. You **cannot** and **must NOT** fix bugs this way — you need actual runtime data.
16
-
17
- **Your systematic workflow:**
18
-
19
- 1. **Generate 3-5 precise hypotheses** about WHY the bug occurs (be detailed, aim for MORE not fewer)
20
- 2. **Instrument code** with logs (see Logging section) to test all hypotheses in parallel
21
- 3. **Reproduce the bug.**
22
- - **If a failing test already exists**: run it directly.
23
- - **If reproduction is straightforward** (e.g., a single CLI command, a curl request, a simple script): write and run an ad hoc reproduction script yourself. Tailor it to the runtime — Playwright/Puppeteer for browser bugs, a Node/Python/shell script for backend bugs, etc.
24
- - **Otherwise**: ask the user to reproduce it. Provide clear, numbered steps. Remind them to restart apps/services if instrumented files are cached or bundled. Offer: "If you'd like me to write a reproduction script instead, let me know."
25
- - Once the user confirms a reproduction pathway (manual or automated), reuse it for all subsequent iterations without re-asking.
26
- 4. **Analyze logs**: evaluate each hypothesis (CONFIRMED/REJECTED/INCONCLUSIVE) with cited log line evidence
27
- 5. **Fix only with 100% confidence** and log proof; do NOT remove instrumentation yet
28
- 6. **Verify with logs**: ask user to run again, compare before/after logs with cited entries
29
- 7. **If logs prove success** and user confirms: remove all instrumentation by searching for `#region debug log` / `#endregion` markers and deleting those blocks (see Cleanup section). **If failed**: FIRST remove any code changes from rejected hypotheses (keep only instrumentation and proven fixes), THEN generate NEW hypotheses from different subsystems and add more instrumentation
30
- 8. **After confirmed success**: explain the problem and provide a concise summary of the fix (1-2 lines)
31
-
32
- **Critical constraints:**
33
-
34
- - NEVER fix without runtime evidence first
35
- - ALWAYS rely on runtime information + code (never code alone)
36
- - Do NOT remove instrumentation before post-fix verification logs prove success and user confirms that there are no more issues
37
- - Fixes often fail; iteration is expected and preferred. Taking longer with more data yields better, more precise fixes
38
-
39
- ---
40
-
41
- ## Logging
42
-
43
- ### STEP 0: Start the logging server (MANDATORY BEFORE ANY INSTRUMENTATION)
44
-
45
- Run the debug server in **daemon mode** before any instrumentation. The `--daemon` flag starts the server in the background and exits immediately with the server info — no backgrounding or `&` required.
46
-
47
- ```bash
48
- npx debug-agent --daemon
49
- ```
50
-
51
- The command prints a single JSON line to stdout and exits:
52
-
53
- ```json
54
- {
55
- "sessionId": "a1b2c3",
56
- "port": 54321,
57
- "endpoint": "http://127.0.0.1:54321/ingest/a1b2c3",
58
- "logPath": "/tmp/debug-agent/debug-a1b2c3.log"
59
- }
60
- ```
61
-
62
- Capture and remember these values:
63
-
64
- - **Server endpoint**: The `endpoint` value (the HTTP endpoint URL where logs will be sent via POST requests)
65
- - **Log path**: The `logPath` value (NDJSON logs are written here)
66
- - **Session ID**: The `sessionId` value (unique identifier for this debug session)
67
-
68
- If the server fails to start, STOP IMMEDIATELY and inform the user.
69
-
70
- - DO NOT PROCEED with instrumentation without valid logging configuration.
71
- - The server is idempotent — if one is already running, it returns the existing server's info instead of starting a duplicate.
72
- - You do not need to pre-create the log file; it will be created automatically when your instrumentation first writes to it.
73
-
74
- ### STEP 1: Understand the log format
75
-
76
- - Logs are written in **NDJSON format** (one JSON object per line) to the file specified by the **log path**.
77
- - For JavaScript/TypeScript, logs are sent via a POST request to the **server endpoint** during runtime, and the logging server writes these as NDJSON lines to the **log path** file.
78
- - For other languages (Python, Go, Rust, Java, C/C++, Ruby, etc.), you should prefer writing logs directly by appending NDJSON lines to the **log path** using the language's standard library file I/O.
79
-
80
- Example log entry:
81
-
82
- ```json
83
- {
84
- "sessionId": "a1b2c3",
85
- "id": "log_1733456789_abc",
86
- "timestamp": 1733456789000,
87
- "location": "test.js:42",
88
- "message": "User score",
89
- "data": { "userId": 5, "score": 85 },
90
- "runId": "run1",
91
- "hypothesisId": "A"
92
- }
93
- ```
94
-
95
- ### STEP 2: Insert instrumentation logs
96
-
97
- - In **JavaScript/TypeScript files**, use this one-line fetch template (replace `ENDPOINT` and `SESSION_ID` with values from Step 0), even if filesystem access is available:
98
-
99
- ```
100
- fetch('ENDPOINT',{method:'POST',headers:{'Content-Type':'application/json'},body:JSON.stringify({sessionId:'SESSION_ID',location:'file.js:LINE',message:'desc',data:{k:v},timestamp:Date.now()})}).catch(()=>{});
101
- ```
102
-
103
- - In **non-JavaScript languages** (Python, Go, Rust, Java, C, C++, Ruby), instrument by opening the **log path** in append mode using standard library file I/O, writing a single NDJSON line with your payload, and then closing the file. Keep these snippets as tiny and compact as possible (ideally one line, or just a few).
104
-
105
- - Decide how many instrumentation logs to insert based on the complexity of the code under investigation and the hypotheses you are testing. A single well-placed log may be enough when the issue is highly localized; complex multi-step flows may need more. Aim for the minimum number that can confirm or reject ALL your hypotheses. Guidelines:
106
- - At least 1 log is required; never skip instrumentation entirely
107
- - Do not exceed 10 logs — if you think you need more, narrow your hypotheses first
108
- - Typical range is 2-6 logs, but use your judgment
109
-
110
- - Choose log placements from these categories as relevant to your hypotheses:
111
- - Function entry with parameters
112
- - Function exit with return values
113
- - Values BEFORE critical operations
114
- - Values AFTER critical operations
115
- - Branch execution paths (which if/else executed)
116
- - Suspected error/edge case values
117
- - State mutations and intermediate values
118
-
119
- - Each log must map to at least one hypothesis (include `hypothesisId` in payload).
120
- - Use this payload structure: `{sessionId, runId, hypothesisId, location, message, data, timestamp}`
121
- - **REQUIRED:** Wrap EACH debug log in a collapsible code region:
122
- - Use language-appropriate region syntax (e.g., `// #region debug log`, `// #endregion` for JS/TS)
123
- - This keeps the editor clean by auto-folding debug instrumentation
124
- - **FORBIDDEN:** Logging secrets (tokens, passwords, API keys, PII)
125
-
126
- ### STEP 3: Clear previous log file before each run (MANDATORY)
127
-
128
- - Send a `DELETE` request to the **server endpoint** to clear the log file before each run. For example: `curl -X DELETE ENDPOINT` (replace `ENDPOINT` with the endpoint value from Step 0).
129
- - This ensures clean logs for the new run without mixing old and new data.
130
- - Clearing the log file is NOT the same as removing instrumentation; do not remove any debug logs from code here.
131
- - **CRITICAL:** Only clear YOUR session's logs (via your endpoint from Step 0). NEVER delete, modify, or overwrite log files belonging to other debug sessions.
132
-
133
- ### STEP 4: Read logs after user runs the program
134
-
135
- - After the user runs the program and confirms completion in their interface, do NOT ask them to type "done"; then use the file-read tool to read the file at the **log path**.
136
- - The log file will contain NDJSON entries (one JSON object per line) from your instrumentation.
137
- - Analyze these logs to evaluate your hypotheses and identify the root cause.
138
- - If log file is empty or missing: tell user the reproduction may have failed and ask them to try again.
139
-
140
- ### STEP 5: Keep logs during fixes
141
-
142
- - When implementing a fix, DO NOT remove debug logs yet.
143
- - Logs MUST remain active for verification runs.
144
- - You may tag logs with `runId="post-fix"` to distinguish verification runs from initial debugging runs.
145
- - FORBIDDEN: Removing or modifying any previously added logs in any files before post-fix verification logs are analyzed or the user explicitly confirms success.
146
- - Only remove logs after a successful post-fix verification run (log-based proof) or explicit user request to remove.
147
-
148
- ---
149
-
150
- ## Critical Reminders (must follow)
151
-
152
- - Keep instrumentation active during fixes; do not remove or modify logs until verification succeeds or the user explicitly confirms.
153
- - FORBIDDEN: Using `setTimeout`, `sleep`, or artificial delays as a "fix"; use proper reactivity/events/lifecycles.
154
- - FORBIDDEN: Removing instrumentation before analyzing post-fix verification logs or receiving explicit user confirmation.
155
- - Verification requires before/after log comparison with cited log lines; do not claim success without log proof.
156
- - Clear logs by sending a DELETE request to the server endpoint.
157
- - Do not create the log file manually; it's created automatically.
158
- - Clearing the log file is not removing instrumentation.
159
- - NEVER delete or modify log files that do not belong to this session. Only touch the log file at the exact path from Step 0.
160
- - Always try to rely on generating new hypotheses and using evidence from the logs to provide fixes.
161
- - If all hypotheses are rejected, you MUST generate more and add more instrumentation accordingly.
162
- - **Remove code changes from rejected hypotheses:** When logs prove a hypothesis wrong, revert the code changes made for that hypothesis. Do not let defensive guards, speculative fixes, or unproven changes accumulate. Only keep modifications that are supported by runtime evidence.
163
- - Prefer reusing existing architecture, patterns, and utilities; avoid overengineering. Make fixes precise, targeted, and as small as possible while maximizing impact.
164
-
165
- ## Cleanup
166
-
167
- When it is time to remove instrumentation (after verified fix or user request):
168
-
169
- 1. Search all files for `#region debug log` markers (e.g., grep/ripgrep for `#region debug log`)
170
- 2. For each match, delete everything from the `#region debug log` line through its corresponding `#endregion` line (inclusive)
171
- 3. Grep again to verify zero markers remain
172
- 4. Run `git diff` to review all changes — confirm only your intentional fix remains and no stray debug code was missed
173
-
174
- This is why wrapping every debug log in `#region debug log` / `#endregion` is mandatory — it enables deterministic cleanup.
175
-
176
- ---
177
-
178
- ## Server API reference
179
-
180
- | Method | Effect |
181
- | --------------------------- | ------------------------------------------- |
182
- | `POST /ingest/:sessionId` | Append JSON body as NDJSON line to log file |
183
- | `GET /ingest/:sessionId` | Read full log file contents |
184
- | `DELETE /ingest/:sessionId` | Clear the log file |
@@ -1,46 +0,0 @@
1
- ---
2
- name: docs-onboarding
3
- description: Onboard an existing project into a scaffolded Harness wiki by inspecting code, docs, and backlog context, building a Project Map, running a targeted requirements grill, and calling create-spec to reconstruct evidence-backed specs. Use immediately after dp scaffold init when the generated prompt says to activate docs-onboarding, or when an existing repository needs initial wiki/spec context reconstructed from current sources.
4
- ---
5
-
6
- # Docs Onboarding
7
-
8
- Use this skill to turn an existing repository into initial Harness wiki context after `dp scaffold init`.
9
-
10
- ## Workflow
11
-
12
- 1. Read repo guidance and the scaffolded wiki guidance.
13
- 2. Read `<wiki-root>/backlog-provider.md` and `<wiki-root>/wiki-framework.md`.
14
- 3. Discover backlog context:
15
- - Probe the pinned remote backlog provider first when connector/tool/auth access exists.
16
- - Inspect local backlog clues after that: existing specs, issue matrices, backlog markdown, project docs, and `.devpunks` metadata.
17
- - Treat remote backlog evidence and local clues as equally important and mandatory when available.
18
- - If either lane is missing or inaccessible, ask the developer for the backlog location or access path before assuming no backlog exists.
19
- 4. Build and persist the Project Map before asking developer questions.
20
- 5. Run a targeted `requirements-grill` against the Project Map.
21
- 6. After grill closure, call `create-spec` to reconstruct evidence-backed specs.
22
-
23
- For the required Project Map sections, onboarding artifacts, evidence labels, and spec reconstruction rules, read [references/artifact-contract.md](references/artifact-contract.md).
24
-
25
- ## Discovery Depth
26
-
27
- Inspect entrypoints, routes/pages, commands, API handlers, schemas/models, tests, config/env examples, and existing docs.
28
-
29
- Do not deep-read every implementation file by default. Deep-read implementation files only when needed to explain a flow, resolve a contradiction, or map a data boundary.
30
-
31
- ## Targeted Grill
32
-
33
- Grill contradictions, missing backlog location, unclear feature ownership, and high-impact inferred requirements before `create-spec` runs.
34
-
35
- Low-risk current-state facts can proceed into `create-spec` as `Inferred`. Keep code-only low-risk facts `Inferred` unless the developer confirms them or unambiguous docs/backlog intent backs them.
36
-
37
- ## Resumability
38
-
39
- Persist the Project Map and grill status before developer questions. On resume, continue from saved discovery/grill state instead of rescanning from zero.
40
-
41
- ## Guardrails
42
-
43
- - Code can prove observed behavior, not original intent.
44
- - Reconstructed spec history must be evidence-backed.
45
- - Do not invent implementation notes, rationale, or tech-debt history without supporting artifacts.
46
- - Backlog mutation is out of scope; use backlog evidence as input only.
@@ -1,4 +0,0 @@
1
- interface:
2
- display_name: "Docs Onboarding"
3
- short_description: "Reconstruct project wiki/spec context"
4
- default_prompt: "Use $docs-onboarding to inspect code, docs, and backlog context, build the Project Map, run the targeted requirements grill, then call create-spec to reconstruct evidence-backed specs into the scaffolded wiki."
@@ -1,67 +0,0 @@
1
- # Docs Onboarding Artifact Contract
2
-
3
- Use this reference while executing `docs-onboarding`.
4
-
5
- ## Project Map
6
-
7
- Before the targeted grill starts, write:
8
-
9
- - `<wiki-root>/content/docs/project/onboarding/project-map.md`
10
-
11
- The Project Map must include:
12
-
13
- - feature and UX flows
14
- - operator/developer workflows and commands
15
- - app, package, and code paths for each flow
16
- - docs and backlog sources for each flow
17
- - integrations and data boundaries
18
- - contradictions and missing evidence
19
- - candidate spec groupings
20
-
21
- ## Onboarding Grill Artifacts
22
-
23
- Write and maintain:
24
-
25
- - `<wiki-root>/content/docs/project/onboarding/onboarding-grill-status.md`
26
- - `<wiki-root>/content/docs/project/onboarding/onboarding-grill-log.md`
27
-
28
- Create or update:
29
-
30
- - `<wiki-root>/content/docs/project/onboarding/index.mdx`
31
- - `<wiki-root>/content/docs/project/onboarding/meta.json`
32
- - `<wiki-root>/content/docs/project/meta.json`
33
-
34
- Add `onboarding` to the project `meta.json` pages list when missing.
35
-
36
- ## Grill Closure
37
-
38
- The targeted grill can close when every blocking contradiction, missing backlog location, unclear feature owner, and high-impact inferred requirement is:
39
-
40
- - confirmed
41
- - rejected
42
- - parked
43
- - marked `Missing` with explicit follow-up
44
-
45
- Do not grill every low-risk current-state fact. Carry those into `create-spec` as `Inferred`.
46
-
47
- ## Reconstructed Specs
48
-
49
- After grill closure, call `create-spec`.
50
-
51
- Group reconstructed specs:
52
-
53
- 1. by backlog epic when backlog context exists
54
- 2. otherwise by user-facing or operator-facing feature flow
55
-
56
- Use app/package boundaries as supporting evidence only.
57
-
58
- Each reconstructed spec must include an `Evidence Level` in frontmatter and a short body evidence section.
59
-
60
- Evidence levels:
61
-
62
- - `Confirmed`: code, docs, or backlog evidence exists and the developer confirmed the requirement, or unambiguous docs/backlog intent backs it.
63
- - `Inferred`: strong code, docs, or backlog evidence exists, but developer confirmation is missing.
64
- - `Contradicted`: source evidence conflicts and needs resolution before the spec can be trusted.
65
- - `Missing`: expected context was not found, and the spec must ask a follow-up.
66
-
67
- Reconstructed specs must link back to relevant Project Map sections and onboarding grill decisions.
@@ -1,69 +0,0 @@
1
- ---
2
- name: writing-beats
3
- description: Turns fragments or raw material into an ordered journey of reader-facing beats. Use when shaping public docs, articles, guides, or docs-ingest writer artifacts from fragments into a narrative or instructional path.
4
- ---
5
-
6
- # Writing Beats
7
-
8
- ## Quick Start
9
-
10
- Read the fragment/raw-material file first. Produce beats one move at a time: each beat sets a scene, lands a point, asks a question, introduces an example, or pivots the reader.
11
-
12
- Do not write the final article. Do not choose the full page shape yet.
13
-
14
- ## Modes
15
-
16
- ### Standalone Writing
17
-
18
- Use this when the user wants to assemble an article interactively.
19
-
20
- 1. Read the raw material end-to-end.
21
- 2. Offer 2-3 candidate starting beats.
22
- 3. After the user picks one, write only that beat.
23
- 4. Re-read the article file before each write.
24
- 5. Offer 2-3 next-beat options.
25
- 6. Repeat until the journey naturally ends.
26
-
27
- ### Docs-Ingest Artifact
28
-
29
- Use this when called by `docs-ingest-phase`.
30
-
31
- 1. Read `fragments.md` from the private writer artifact bundle.
32
- 2. Write `beats.md` in the same bundle.
33
- 3. Include traceability: target public page, source change/spec/run, fragments artifact, updated date.
34
- 4. Preserve rejected or parked beats when useful for future passes.
35
- 5. Link forward to the final public page when known.
36
-
37
- Docs-ingest artifact shape:
38
-
39
- ```md
40
- ---
41
- title: "<Topic> Beats"
42
- type: writer-artifact
43
- artifact: beats
44
- target: "<public page path or pending target>"
45
- source:
46
- - "fragments.md"
47
- updated: YYYY-MM-DD
48
- ---
49
-
50
- # <Topic> Beats
51
-
52
- ## Accepted Beat Path
53
-
54
- 1. <reader move>
55
- 2. <reader move>
56
- 3. <reader move>
57
-
58
- ## Parked Beats
59
-
60
- - <usable later, but not in this pass>
61
- ```
62
-
63
- ## Beat Rules
64
-
65
- - One beat does one job.
66
- - Split beats that need several subheadings or multiple unrelated moves.
67
- - The journey ends when the reader has what the page promised, not when every fragment is used.
68
- - Pull from the fragment pile freely: paraphrase, split, merge, or quote as needed.
69
- - Name gaps when the beats need an example, warning, proof, or transition that the fragments do not contain.
@@ -1,76 +0,0 @@
1
- ---
2
- name: writing-fragments
3
- description: Mines raw writing material into a durable fragments document. Use when developing public-facing docs or articles before structure, when the user mentions fragments, ideation, raw material, claims, examples, or when docs-ingest-phase needs the first public-doc writer stage.
4
- ---
5
-
6
- # Writing Fragments
7
-
8
- ## Quick Start
9
-
10
- Create or update a `fragments.md` file. Capture raw material only: claims, examples, vignettes, sharp sentences, objections, source-backed facts, snippets, and half-thoughts.
11
-
12
- Do not impose outline, beats, final page shape, or polished prose yet.
13
-
14
- ## Modes
15
-
16
- ### Standalone Writing
17
-
18
- Use this when the user is ideating an article or page interactively.
19
-
20
- 1. If no output path is provided, ask once where to save the fragments.
21
- 2. Re-read the file before every write.
22
- 3. Append new fragments separated by horizontal rules.
23
- 4. Preserve user edits exactly.
24
- 5. Edit a specific fragment only when the user asks.
25
-
26
- Standalone first write:
27
-
28
- ```md
29
- # Working title
30
-
31
- First fragment.
32
-
33
- ---
34
-
35
- Second fragment.
36
- ```
37
-
38
- ### Docs-Ingest Artifact
39
-
40
- Use this when called by `docs-ingest-phase`.
41
-
42
- 1. Write to the private writer artifact bundle for the target public page or docs pass.
43
- 2. Use the repo's private docs metadata convention when one exists.
44
- 3. Include traceability: target public page, source change/spec/run, artifact stage, updated date.
45
- 4. Capture source-backed claims and reader-facing raw material.
46
- 5. Link forward to the final public page when known.
47
-
48
- Docs-ingest artifact shape:
49
-
50
- ```md
51
- ---
52
- title: "<Topic> Fragments"
53
- type: writer-artifact
54
- artifact: fragments
55
- target: "<public page path or pending target>"
56
- source:
57
- - "<source path or change>"
58
- updated: YYYY-MM-DD
59
- ---
60
-
61
- # <Topic> Fragments
62
-
63
- Fragment text.
64
-
65
- ---
66
-
67
- Another fragment.
68
- ```
69
-
70
- ## Fragment Rules
71
-
72
- - A fragment is readable by the author, not necessarily by a cold reader.
73
- - Keep fragments heterogeneous: sentence, claim, vignette, quote, complaint, example, code snippet, or clustered observation.
74
- - Prefer concrete material over abstractions.
75
- - Do not sort or outline unless the user asks.
76
- - Do not discard leftovers; later stages decide what survives.
@@ -1,75 +0,0 @@
1
- ---
2
- name: writing-shape
3
- description: Chooses the final structure for a public-facing article, guide, or docs page from fragments and beats. Use when turning raw material or beats into a publishable page plan, or when docs-ingest-phase needs the final writer artifact before page writing.
4
- ---
5
-
6
- # Writing Shape
7
-
8
- ## Quick Start
9
-
10
- Read the available raw material first: fragments, beats, rough draft, or notes. Decide what the page is trying to do for the reader, then choose the structure that best carries that job.
11
-
12
- Do not silently polish weak structure. Argue for the shape.
13
-
14
- ## Modes
15
-
16
- ### Standalone Writing
17
-
18
- Use this when the user wants help shaping a publishable article.
19
-
20
- 1. Read the input pile end-to-end.
21
- 2. Draft 2-3 candidate openings or angles.
22
- 3. Force a choice or hybrid.
23
- 4. Grow the piece paragraph by paragraph.
24
- 5. Re-read the article file before every write.
25
- 6. Edit only the requested paragraph or block when revising.
26
-
27
- ### Docs-Ingest Artifact
28
-
29
- Use this when called by `docs-ingest-phase`.
30
-
31
- 1. Read `fragments.md` and `beats.md` from the private writer artifact bundle.
32
- 2. Write `shape.md` in the same bundle.
33
- 3. Include traceability: target public page, source change/spec/run, upstream writer artifacts, updated date.
34
- 4. Define the final page structure, section order, component/callout choices, and merge notes for the final public page.
35
- 5. Link forward to the final public page when known.
36
-
37
- Docs-ingest artifact shape:
38
-
39
- ```md
40
- ---
41
- title: "<Topic> Shape"
42
- type: writer-artifact
43
- artifact: shape
44
- target: "<public page path or pending target>"
45
- source:
46
- - "fragments.md"
47
- - "beats.md"
48
- updated: YYYY-MM-DD
49
- ---
50
-
51
- # <Topic> Shape
52
-
53
- ## Page Promise
54
-
55
- <What the reader should be able to understand or do.>
56
-
57
- ## Structure
58
-
59
- 1. <section and purpose>
60
- 2. <section and purpose>
61
- 3. <section and purpose>
62
-
63
- ## Format Decisions
64
-
65
- - <prose/list/table/callout/code choice and reason>
66
- ```
67
-
68
- ## Shape Rules
69
-
70
- - Pick prose for argument and lists for genuinely parallel items.
71
- - Use tables only when the same fields repeat three or more times.
72
- - Use callouts for warnings, tips, or asides that would derail the main thread.
73
- - Quote when wording matters; paraphrase when only the idea matters.
74
- - Use code blocks for multi-line, runnable, or illustrative examples.
75
- - If the opening promises one thing and the page drifts, change the opening or re-thread the body.
@@ -1,7 +0,0 @@
1
- {
2
- "version": 1,
3
- "registry": "https://clawdhub.com",
4
- "slug": "agent-browser",
5
- "installedVersion": "0.1.0",
6
- "installedAt": 1768436984598
7
- }