quiver-cli 1.3.0 → 2.0.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 (384) hide show
  1. package/README.md +197 -239
  2. package/dist/cli.js +3163 -2040
  3. package/package.json +10 -11
  4. package/template/.agents/AGENTS.md +0 -26
  5. package/template/.agents/commands/cp.md +0 -108
  6. package/template/.agents/commands/next-setup.md +0 -1064
  7. package/template/.agents/commands/review.md +0 -68
  8. package/template/.agents/commands/terraform-readme.md +0 -38
  9. package/template/.agents/config.json +0 -80
  10. package/template/.agents/plugins/opencode/rtk.ts +0 -34
  11. package/template/.agents/skills/agent-browser/SKILL.md +0 -51
  12. package/template/.agents/skills/apps/skybridge/SKILL.md +0 -50
  13. package/template/.agents/skills/code/cleanup/SKILL.md +0 -26
  14. package/template/.agents/skills/code/improve/SKILL.md +0 -122
  15. package/template/.agents/skills/code/improve/references/audit-playbook.md +0 -130
  16. package/template/.agents/skills/code/improve/references/closing-the-loop.md +0 -96
  17. package/template/.agents/skills/code/improve/references/plan-template.md +0 -197
  18. package/template/.agents/skills/code/vercel-react-best-practices/AGENTS.md +0 -3810
  19. package/template/.agents/skills/code/vercel-react-best-practices/README.md +0 -123
  20. package/template/.agents/skills/code/vercel-react-best-practices/SKILL.md +0 -149
  21. package/template/.agents/skills/code/vercel-react-best-practices/metadata.json +0 -15
  22. package/template/.agents/skills/code/vercel-react-best-practices/rules/_sections.md +0 -46
  23. package/template/.agents/skills/code/vercel-react-best-practices/rules/_template.md +0 -28
  24. package/template/.agents/skills/code/vercel-react-best-practices/rules/advanced-effect-event-deps.md +0 -56
  25. package/template/.agents/skills/code/vercel-react-best-practices/rules/advanced-event-handler-refs.md +0 -55
  26. package/template/.agents/skills/code/vercel-react-best-practices/rules/advanced-init-once.md +0 -42
  27. package/template/.agents/skills/code/vercel-react-best-practices/rules/advanced-use-latest.md +0 -39
  28. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-api-routes.md +0 -38
  29. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-cheap-condition-before-await.md +0 -37
  30. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-defer-await.md +0 -82
  31. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-dependencies.md +0 -51
  32. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-parallel.md +0 -28
  33. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-suspense-boundaries.md +0 -99
  34. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-analyzable-paths.md +0 -63
  35. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-barrel-imports.md +0 -60
  36. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-conditional.md +0 -31
  37. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-defer-third-party.md +0 -49
  38. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-dynamic-imports.md +0 -35
  39. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-preload.md +0 -50
  40. package/template/.agents/skills/code/vercel-react-best-practices/rules/client-event-listeners.md +0 -74
  41. package/template/.agents/skills/code/vercel-react-best-practices/rules/client-localstorage-schema.md +0 -71
  42. package/template/.agents/skills/code/vercel-react-best-practices/rules/client-passive-event-listeners.md +0 -48
  43. package/template/.agents/skills/code/vercel-react-best-practices/rules/client-swr-dedup.md +0 -56
  44. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-batch-dom-css.md +0 -107
  45. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-cache-function-results.md +0 -80
  46. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-cache-property-access.md +0 -28
  47. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-cache-storage.md +0 -70
  48. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-combine-iterations.md +0 -32
  49. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-early-exit.md +0 -50
  50. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-flatmap-filter.md +0 -60
  51. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-hoist-regexp.md +0 -45
  52. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-index-maps.md +0 -37
  53. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-length-check-first.md +0 -49
  54. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-min-max-loop.md +0 -82
  55. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-request-idle-callback.md +0 -105
  56. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-set-map-lookups.md +0 -24
  57. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-tosorted-immutable.md +0 -57
  58. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-activity.md +0 -26
  59. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-animate-svg-wrapper.md +0 -47
  60. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-conditional-render.md +0 -40
  61. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-content-visibility.md +0 -38
  62. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-hoist-jsx.md +0 -46
  63. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-hydration-no-flicker.md +0 -82
  64. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-hydration-suppress-warning.md +0 -30
  65. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-resource-hints.md +0 -85
  66. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-script-defer-async.md +0 -68
  67. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-svg-precision.md +0 -28
  68. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-usetransition-loading.md +0 -75
  69. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-defer-reads.md +0 -39
  70. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-dependencies.md +0 -45
  71. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-derived-state-no-effect.md +0 -40
  72. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-derived-state.md +0 -29
  73. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-functional-setstate.md +0 -74
  74. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-lazy-state-init.md +0 -58
  75. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-memo-with-default-value.md +0 -38
  76. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-memo.md +0 -44
  77. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-move-effect-to-event.md +0 -45
  78. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-no-inline-components.md +0 -82
  79. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-simple-expression-in-memo.md +0 -35
  80. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-split-combined-hooks.md +0 -64
  81. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-transitions.md +0 -40
  82. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-use-deferred-value.md +0 -59
  83. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-use-ref-transient-values.md +0 -73
  84. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-after-nonblocking.md +0 -73
  85. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-auth-actions.md +0 -96
  86. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-cache-lru.md +0 -41
  87. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-cache-react.md +0 -76
  88. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-dedup-props.md +0 -65
  89. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-hoist-static-io.md +0 -149
  90. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-no-shared-module-state.md +0 -50
  91. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-parallel-fetching.md +0 -83
  92. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-parallel-nested-fetching.md +0 -34
  93. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-serialization.md +0 -38
  94. package/template/.agents/skills/data/prisma-cli/SKILL.md +0 -247
  95. package/template/.agents/skills/data/prisma-cli/references/db-execute.md +0 -78
  96. package/template/.agents/skills/data/prisma-cli/references/db-pull.md +0 -185
  97. package/template/.agents/skills/data/prisma-cli/references/db-push.md +0 -148
  98. package/template/.agents/skills/data/prisma-cli/references/db-seed.md +0 -188
  99. package/template/.agents/skills/data/prisma-cli/references/debug.md +0 -46
  100. package/template/.agents/skills/data/prisma-cli/references/dev.md +0 -157
  101. package/template/.agents/skills/data/prisma-cli/references/format.md +0 -48
  102. package/template/.agents/skills/data/prisma-cli/references/generate.md +0 -173
  103. package/template/.agents/skills/data/prisma-cli/references/init.md +0 -136
  104. package/template/.agents/skills/data/prisma-cli/references/mcp.md +0 -38
  105. package/template/.agents/skills/data/prisma-cli/references/migrate-deploy.md +0 -127
  106. package/template/.agents/skills/data/prisma-cli/references/migrate-dev.md +0 -145
  107. package/template/.agents/skills/data/prisma-cli/references/migrate-diff.md +0 -89
  108. package/template/.agents/skills/data/prisma-cli/references/migrate-reset.md +0 -78
  109. package/template/.agents/skills/data/prisma-cli/references/migrate-resolve.md +0 -57
  110. package/template/.agents/skills/data/prisma-cli/references/migrate-status.md +0 -65
  111. package/template/.agents/skills/data/prisma-cli/references/studio.md +0 -137
  112. package/template/.agents/skills/data/prisma-cli/references/validate.md +0 -53
  113. package/template/.agents/skills/data/prisma-client-api/SKILL.md +0 -216
  114. package/template/.agents/skills/data/prisma-client-api/references/client-methods.md +0 -223
  115. package/template/.agents/skills/data/prisma-client-api/references/constructor.md +0 -208
  116. package/template/.agents/skills/data/prisma-client-api/references/filters.md +0 -256
  117. package/template/.agents/skills/data/prisma-client-api/references/model-queries.md +0 -281
  118. package/template/.agents/skills/data/prisma-client-api/references/query-options.md +0 -276
  119. package/template/.agents/skills/data/prisma-client-api/references/raw-queries.md +0 -194
  120. package/template/.agents/skills/data/prisma-client-api/references/relations.md +0 -308
  121. package/template/.agents/skills/data/prisma-client-api/references/transactions.md +0 -184
  122. package/template/.agents/skills/design/impeccable/SKILL.md +0 -84
  123. package/template/.agents/skills/design/impeccable/reference/adapt.md +0 -312
  124. package/template/.agents/skills/design/impeccable/reference/adapt.native.md +0 -58
  125. package/template/.agents/skills/design/impeccable/reference/android.md +0 -40
  126. package/template/.agents/skills/design/impeccable/reference/animate.md +0 -86
  127. package/template/.agents/skills/design/impeccable/reference/audit.md +0 -136
  128. package/template/.agents/skills/design/impeccable/reference/audit.native.md +0 -139
  129. package/template/.agents/skills/design/impeccable/reference/bolder.md +0 -31
  130. package/template/.agents/skills/design/impeccable/reference/clarify.md +0 -94
  131. package/template/.agents/skills/design/impeccable/reference/colorize.md +0 -86
  132. package/template/.agents/skills/design/impeccable/reference/craft-floor.md +0 -42
  133. package/template/.agents/skills/design/impeccable/reference/craft.md +0 -5
  134. package/template/.agents/skills/design/impeccable/reference/critique.md +0 -788
  135. package/template/.agents/skills/design/impeccable/reference/degraded/asset-producer.md +0 -90
  136. package/template/.agents/skills/design/impeccable/reference/degraded/documenter.md +0 -24
  137. package/template/.agents/skills/design/impeccable/reference/degraded/finish-reviewer.md +0 -37
  138. package/template/.agents/skills/design/impeccable/reference/degraded/manual-edit-applier.md +0 -92
  139. package/template/.agents/skills/design/impeccable/reference/delight.md +0 -70
  140. package/template/.agents/skills/design/impeccable/reference/distill.md +0 -111
  141. package/template/.agents/skills/design/impeccable/reference/doctor.md +0 -53
  142. package/template/.agents/skills/design/impeccable/reference/document.md +0 -416
  143. package/template/.agents/skills/design/impeccable/reference/extract.md +0 -69
  144. package/template/.agents/skills/design/impeccable/reference/harden.md +0 -336
  145. package/template/.agents/skills/design/impeccable/reference/hooks.md +0 -105
  146. package/template/.agents/skills/design/impeccable/reference/init.md +0 -125
  147. package/template/.agents/skills/design/impeccable/reference/ios.md +0 -45
  148. package/template/.agents/skills/design/impeccable/reference/layout.md +0 -84
  149. package/template/.agents/skills/design/impeccable/reference/live-setup.md +0 -102
  150. package/template/.agents/skills/design/impeccable/reference/live.md +0 -323
  151. package/template/.agents/skills/design/impeccable/reference/new-work.md +0 -105
  152. package/template/.agents/skills/design/impeccable/reference/onboard.md +0 -234
  153. package/template/.agents/skills/design/impeccable/reference/operate.md +0 -61
  154. package/template/.agents/skills/design/impeccable/reference/optimize.md +0 -258
  155. package/template/.agents/skills/design/impeccable/reference/overdrive.md +0 -127
  156. package/template/.agents/skills/design/impeccable/reference/polish.md +0 -97
  157. package/template/.agents/skills/design/impeccable/reference/quieter.md +0 -99
  158. package/template/.agents/skills/design/impeccable/reference/routing.md +0 -18
  159. package/template/.agents/skills/design/impeccable/reference/shape.md +0 -59
  160. package/template/.agents/skills/design/impeccable/reference/typeset.md +0 -80
  161. package/template/.agents/skills/design/impeccable/reference/visualize.md +0 -47
  162. package/template/.agents/skills/design/impeccable/scripts/command-metadata.json +0 -94
  163. package/template/.agents/skills/design/impeccable/scripts/concept-seed.mjs +0 -558
  164. package/template/.agents/skills/design/impeccable/scripts/context-signals.mjs +0 -334
  165. package/template/.agents/skills/design/impeccable/scripts/context.mjs +0 -1450
  166. package/template/.agents/skills/design/impeccable/scripts/critique-storage.mjs +0 -213
  167. package/template/.agents/skills/design/impeccable/scripts/detect-csp.mjs +0 -198
  168. package/template/.agents/skills/design/impeccable/scripts/detect.mjs +0 -21
  169. package/template/.agents/skills/design/impeccable/scripts/detector/browser/injected/index.mjs +0 -2023
  170. package/template/.agents/skills/design/impeccable/scripts/detector/cli/main.mjs +0 -438
  171. package/template/.agents/skills/design/impeccable/scripts/detector/design-system.mjs +0 -983
  172. package/template/.agents/skills/design/impeccable/scripts/detector/detect-antipatterns-browser.js +0 -8283
  173. package/template/.agents/skills/design/impeccable/scripts/detector/detect-antipatterns.mjs +0 -50
  174. package/template/.agents/skills/design/impeccable/scripts/detector/engines/browser/detect-url.mjs +0 -372
  175. package/template/.agents/skills/design/impeccable/scripts/detector/engines/regex/detect-text.mjs +0 -768
  176. package/template/.agents/skills/design/impeccable/scripts/detector/engines/static-html/css-cascade.mjs +0 -1186
  177. package/template/.agents/skills/design/impeccable/scripts/detector/engines/static-html/detect-html.mjs +0 -264
  178. package/template/.agents/skills/design/impeccable/scripts/detector/engines/visual/screenshot-contrast.mjs +0 -189
  179. package/template/.agents/skills/design/impeccable/scripts/detector/findings.mjs +0 -18
  180. package/template/.agents/skills/design/impeccable/scripts/detector/node/file-system.mjs +0 -212
  181. package/template/.agents/skills/design/impeccable/scripts/detector/profile/profiler.mjs +0 -166
  182. package/template/.agents/skills/design/impeccable/scripts/detector/registry/antipatterns.mjs +0 -617
  183. package/template/.agents/skills/design/impeccable/scripts/detector/rules/checks.mjs +0 -5580
  184. package/template/.agents/skills/design/impeccable/scripts/detector/shared/color.mjs +0 -124
  185. package/template/.agents/skills/design/impeccable/scripts/detector/shared/constants.mjs +0 -112
  186. package/template/.agents/skills/design/impeccable/scripts/detector/shared/fonts.mjs +0 -30
  187. package/template/.agents/skills/design/impeccable/scripts/detector/shared/inline-ignores.mjs +0 -148
  188. package/template/.agents/skills/design/impeccable/scripts/detector/shared/page.mjs +0 -7
  189. package/template/.agents/skills/design/impeccable/scripts/doctor.mjs +0 -336
  190. package/template/.agents/skills/design/impeccable/scripts/embed-prompt.mjs +0 -133
  191. package/template/.agents/skills/design/impeccable/scripts/generate-image.mjs +0 -240
  192. package/template/.agents/skills/design/impeccable/scripts/hook-admin.mjs +0 -741
  193. package/template/.agents/skills/design/impeccable/scripts/hook-before-edit.mjs +0 -516
  194. package/template/.agents/skills/design/impeccable/scripts/hook-lib.mjs +0 -2100
  195. package/template/.agents/skills/design/impeccable/scripts/hook.mjs +0 -78
  196. package/template/.agents/skills/design/impeccable/scripts/lib/artifact-schema.mjs +0 -93
  197. package/template/.agents/skills/design/impeccable/scripts/lib/composition-catalog.mjs +0 -200
  198. package/template/.agents/skills/design/impeccable/scripts/lib/concept-catalog.mjs +0 -357
  199. package/template/.agents/skills/design/impeccable/scripts/lib/design-parser.mjs +0 -842
  200. package/template/.agents/skills/design/impeccable/scripts/lib/impeccable-config.mjs +0 -658
  201. package/template/.agents/skills/design/impeccable/scripts/lib/impeccable-paths.mjs +0 -137
  202. package/template/.agents/skills/design/impeccable/scripts/lib/is-generated.mjs +0 -69
  203. package/template/.agents/skills/design/impeccable/scripts/lib/provider.mjs +0 -5
  204. package/template/.agents/skills/design/impeccable/scripts/lib/roll-selection.mjs +0 -362
  205. package/template/.agents/skills/design/impeccable/scripts/lib/staleness-deep.mjs +0 -457
  206. package/template/.agents/skills/design/impeccable/scripts/lib/staleness-notice.mjs +0 -169
  207. package/template/.agents/skills/design/impeccable/scripts/lib/staleness.mjs +0 -457
  208. package/template/.agents/skills/design/impeccable/scripts/lib/surface-briefs.mjs +0 -151
  209. package/template/.agents/skills/design/impeccable/scripts/lib/target-args.mjs +0 -42
  210. package/template/.agents/skills/design/impeccable/scripts/lib/target-slug.mjs +0 -33
  211. package/template/.agents/skills/design/impeccable/scripts/lib/template-extensions.mjs +0 -146
  212. package/template/.agents/skills/design/impeccable/scripts/live/accept-css.mjs +0 -617
  213. package/template/.agents/skills/design/impeccable/scripts/live/accept-verify.mjs +0 -60
  214. package/template/.agents/skills/design/impeccable/scripts/live/browser-script-parts.mjs +0 -55
  215. package/template/.agents/skills/design/impeccable/scripts/live/completion.mjs +0 -28
  216. package/template/.agents/skills/design/impeccable/scripts/live/event-validation.mjs +0 -199
  217. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/astro.mjs +0 -47
  218. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/detect-utils.mjs +0 -73
  219. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/index.mjs +0 -143
  220. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/journal.mjs +0 -197
  221. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/nextjs.mjs +0 -49
  222. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/nuxt.mjs +0 -161
  223. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/script-src.mjs +0 -17
  224. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/static-html.mjs +0 -26
  225. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/sveltekit.mjs +0 -71
  226. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/tag-strategy.mjs +0 -247
  227. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/tanstack-start.mjs +0 -70
  228. package/template/.agents/skills/design/impeccable/scripts/live/frameworks/vite-generic.mjs +0 -42
  229. package/template/.agents/skills/design/impeccable/scripts/live/generation-preflight.mjs +0 -149
  230. package/template/.agents/skills/design/impeccable/scripts/live/insert-ui.mjs +0 -458
  231. package/template/.agents/skills/design/impeccable/scripts/live/instructions.mjs +0 -142
  232. package/template/.agents/skills/design/impeccable/scripts/live/manual-apply.mjs +0 -939
  233. package/template/.agents/skills/design/impeccable/scripts/live/manual-edit-routes.mjs +0 -357
  234. package/template/.agents/skills/design/impeccable/scripts/live/manual-edits-buffer.mjs +0 -152
  235. package/template/.agents/skills/design/impeccable/scripts/live/poll-lanes.mjs +0 -14
  236. package/template/.agents/skills/design/impeccable/scripts/live/roots.mjs +0 -508
  237. package/template/.agents/skills/design/impeccable/scripts/live/session-store.mjs +0 -563
  238. package/template/.agents/skills/design/impeccable/scripts/live/source-lock.mjs +0 -105
  239. package/template/.agents/skills/design/impeccable/scripts/live/source-search.mjs +0 -105
  240. package/template/.agents/skills/design/impeccable/scripts/live/svelte-ast.mjs +0 -961
  241. package/template/.agents/skills/design/impeccable/scripts/live/svelte-component.mjs +0 -1342
  242. package/template/.agents/skills/design/impeccable/scripts/live/sveltekit-adapter.mjs +0 -316
  243. package/template/.agents/skills/design/impeccable/scripts/live/tanstack-adapter.mjs +0 -280
  244. package/template/.agents/skills/design/impeccable/scripts/live/ui-core.mjs +0 -180
  245. package/template/.agents/skills/design/impeccable/scripts/live/vocabulary.mjs +0 -171
  246. package/template/.agents/skills/design/impeccable/scripts/live-accept.mjs +0 -954
  247. package/template/.agents/skills/design/impeccable/scripts/live-browser-dom.js +0 -146
  248. package/template/.agents/skills/design/impeccable/scripts/live-browser-session.js +0 -123
  249. package/template/.agents/skills/design/impeccable/scripts/live-browser.js +0 -12512
  250. package/template/.agents/skills/design/impeccable/scripts/live-commit-manual-edits.mjs +0 -1244
  251. package/template/.agents/skills/design/impeccable/scripts/live-complete.mjs +0 -107
  252. package/template/.agents/skills/design/impeccable/scripts/live-copy-edit-agent.mjs +0 -683
  253. package/template/.agents/skills/design/impeccable/scripts/live-discard-manual-edits.mjs +0 -51
  254. package/template/.agents/skills/design/impeccable/scripts/live-inject.mjs +0 -503
  255. package/template/.agents/skills/design/impeccable/scripts/live-insert.mjs +0 -292
  256. package/template/.agents/skills/design/impeccable/scripts/live-manual-edit-evidence.mjs +0 -368
  257. package/template/.agents/skills/design/impeccable/scripts/live-poll.mjs +0 -429
  258. package/template/.agents/skills/design/impeccable/scripts/live-resume.mjs +0 -123
  259. package/template/.agents/skills/design/impeccable/scripts/live-server.mjs +0 -1661
  260. package/template/.agents/skills/design/impeccable/scripts/live-status.mjs +0 -71
  261. package/template/.agents/skills/design/impeccable/scripts/live-target.mjs +0 -30
  262. package/template/.agents/skills/design/impeccable/scripts/live-wrap.mjs +0 -927
  263. package/template/.agents/skills/design/impeccable/scripts/live.mjs +0 -359
  264. package/template/.agents/skills/design/impeccable/scripts/modern-screenshot.umd.js +0 -14
  265. package/template/.agents/skills/design/impeccable/scripts/palette.mjs +0 -628
  266. package/template/.agents/skills/design/impeccable/scripts/pin.mjs +0 -221
  267. package/template/.agents/skills/design/impeccable/scripts/serve-question.mjs +0 -932
  268. package/template/.agents/skills/design/impeccable/scripts/surface-brief.mjs +0 -74
  269. package/template/.agents/skills/design/shadcn/SKILL.md +0 -277
  270. package/template/.agents/skills/design/shadcn/agents/openai.yml +0 -5
  271. package/template/.agents/skills/design/shadcn/assets/shadcn-small.png +0 -0
  272. package/template/.agents/skills/design/shadcn/assets/shadcn.png +0 -0
  273. package/template/.agents/skills/design/shadcn/cli.md +0 -290
  274. package/template/.agents/skills/design/shadcn/customization.md +0 -209
  275. package/template/.agents/skills/design/shadcn/evals/evals.json +0 -77
  276. package/template/.agents/skills/design/shadcn/mcp.md +0 -105
  277. package/template/.agents/skills/design/shadcn/registry.md +0 -277
  278. package/template/.agents/skills/design/shadcn/rules/base-vs-radix.md +0 -306
  279. package/template/.agents/skills/design/shadcn/rules/chat.md +0 -224
  280. package/template/.agents/skills/design/shadcn/rules/composition.md +0 -213
  281. package/template/.agents/skills/design/shadcn/rules/forms.md +0 -192
  282. package/template/.agents/skills/design/shadcn/rules/icons.md +0 -101
  283. package/template/.agents/skills/design/shadcn/rules/styling.md +0 -185
  284. package/template/.agents/skills/find-skills/SKILL.md +0 -141
  285. package/template/.agents/skills/hono/SKILL.md +0 -579
  286. package/template/.agents/skills/integrations/langfuse/SKILL.md +0 -146
  287. package/template/.agents/skills/integrations/langfuse/references/ci-cd.md +0 -41
  288. package/template/.agents/skills/integrations/langfuse/references/cli.md +0 -60
  289. package/template/.agents/skills/integrations/langfuse/references/error-analysis.md +0 -88
  290. package/template/.agents/skills/integrations/langfuse/references/instrumentation.md +0 -121
  291. package/template/.agents/skills/integrations/langfuse/references/judge-calibration.md +0 -291
  292. package/template/.agents/skills/integrations/langfuse/references/prompt-engineering.md +0 -35
  293. package/template/.agents/skills/integrations/langfuse/references/prompt-migration.md +0 -79
  294. package/template/.agents/skills/integrations/langfuse/references/skill-feedback.md +0 -55
  295. package/template/.agents/skills/integrations/langfuse/references/trace-evaluator-upgrade.md +0 -76
  296. package/template/.agents/skills/integrations/langfuse/references/user-feedback.md +0 -92
  297. package/template/.agents/skills/integrations/langfuse/references/v4-project-migration.md +0 -73
  298. package/template/.agents/skills/integrations/posthog/SKILL.md +0 -102
  299. package/template/.agents/skills/integrations/posthog/references/error-tracking-alerts.md +0 -63
  300. package/template/.agents/skills/integrations/posthog/references/error-tracking-assigning-issues.md +0 -77
  301. package/template/.agents/skills/integrations/posthog/references/error-tracking-fingerprints.md +0 -57
  302. package/template/.agents/skills/integrations/posthog/references/error-tracking-monitoring.md +0 -140
  303. package/template/.agents/skills/integrations/posthog/references/error-tracking-nextjs.md +0 -490
  304. package/template/.agents/skills/integrations/posthog/references/error-tracking-source-maps.md +0 -45
  305. package/template/.agents/skills/integrations/posthog/references/feature-flags-best-practices.md +0 -139
  306. package/template/.agents/skills/integrations/posthog/references/feature-flags-react.md +0 -302
  307. package/template/.agents/skills/integrations/posthog/references/identify-users.md +0 -202
  308. package/template/.agents/skills/integrations/posthog/references/integration-example.md +0 -706
  309. package/template/.agents/skills/integrations/posthog/references/integration-nextjs.md +0 -385
  310. package/template/.agents/skills/integrations/posthog/references/integration-step-1-begin.md +0 -43
  311. package/template/.agents/skills/integrations/posthog/references/integration-step-2-edit.md +0 -37
  312. package/template/.agents/skills/integrations/posthog/references/integration-step-3-revise.md +0 -22
  313. package/template/.agents/skills/integrations/posthog/references/integration-step-4-conclude.md +0 -38
  314. package/template/.agents/skills/integrations/posthog/references/llm-analytics-anthropic.md +0 -200
  315. package/template/.agents/skills/integrations/posthog/references/llm-analytics-basics.md +0 -62
  316. package/template/.agents/skills/integrations/posthog/references/llm-analytics-costs.md +0 -197
  317. package/template/.agents/skills/integrations/posthog/references/llm-analytics-manual-capture.md +0 -397
  318. package/template/.agents/skills/integrations/posthog/references/llm-analytics-traces.md +0 -98
  319. package/template/.agents/skills/integrations/posthog/references/llm-analytics-vercel-ai.md +0 -120
  320. package/template/.agents/skills/repo/repo-ci/SKILL.md +0 -265
  321. package/template/.agents/skills/repo/repo-init-next-js/SKILL.md +0 -129
  322. package/template/.agents/skills/repo/repo-init-next-js/references/file-contents.md +0 -800
  323. package/template/.agents/skills/repo/repo-init-next-js/scripts/setup.sh +0 -47
  324. package/template/.agents/skills/repo/repo-init-node/SKILL.md +0 -196
  325. package/template/.agents/skills/skill-creator/LICENSE.txt +0 -202
  326. package/template/.agents/skills/skill-creator/SKILL.md +0 -485
  327. package/template/.agents/skills/skill-creator/agents/analyzer.md +0 -274
  328. package/template/.agents/skills/skill-creator/agents/comparator.md +0 -202
  329. package/template/.agents/skills/skill-creator/agents/grader.md +0 -223
  330. package/template/.agents/skills/skill-creator/assets/eval_review.html +0 -146
  331. package/template/.agents/skills/skill-creator/eval-viewer/generate_review.py +0 -471
  332. package/template/.agents/skills/skill-creator/eval-viewer/viewer.html +0 -1325
  333. package/template/.agents/skills/skill-creator/references/schemas.md +0 -430
  334. package/template/.agents/skills/skill-creator/scripts/__init__.py +0 -0
  335. package/template/.agents/skills/skill-creator/scripts/aggregate_benchmark.py +0 -401
  336. package/template/.agents/skills/skill-creator/scripts/generate_report.py +0 -326
  337. package/template/.agents/skills/skill-creator/scripts/improve_description.py +0 -247
  338. package/template/.agents/skills/skill-creator/scripts/package_skill.py +0 -136
  339. package/template/.agents/skills/skill-creator/scripts/quick_validate.py +0 -103
  340. package/template/.agents/skills/skill-creator/scripts/run_eval.py +0 -310
  341. package/template/.agents/skills/skill-creator/scripts/run_loop.py +0 -328
  342. package/template/.agents/skills/skill-creator/scripts/utils.py +0 -47
  343. package/template/.agents/skills/supabase/CHANGELOG.md +0 -71
  344. package/template/.agents/skills/supabase/SKILL.md +0 -145
  345. package/template/.agents/skills/supabase/assets/feedback-issue-template.md +0 -17
  346. package/template/.agents/skills/supabase/references/skill-feedback.md +0 -17
  347. package/template/.agents/skills/supabase-postgres-best-practices/CHANGELOG.md +0 -73
  348. package/template/.agents/skills/supabase-postgres-best-practices/SKILL.md +0 -64
  349. package/template/.agents/skills/supabase-postgres-best-practices/references/_contributing.md +0 -170
  350. package/template/.agents/skills/supabase-postgres-best-practices/references/_sections.md +0 -39
  351. package/template/.agents/skills/supabase-postgres-best-practices/references/_template.md +0 -34
  352. package/template/.agents/skills/supabase-postgres-best-practices/references/advanced-full-text-search.md +0 -55
  353. package/template/.agents/skills/supabase-postgres-best-practices/references/advanced-jsonb-indexing.md +0 -49
  354. package/template/.agents/skills/supabase-postgres-best-practices/references/conn-idle-timeout.md +0 -46
  355. package/template/.agents/skills/supabase-postgres-best-practices/references/conn-limits.md +0 -44
  356. package/template/.agents/skills/supabase-postgres-best-practices/references/conn-pooling.md +0 -41
  357. package/template/.agents/skills/supabase-postgres-best-practices/references/conn-prepared-statements.md +0 -46
  358. package/template/.agents/skills/supabase-postgres-best-practices/references/data-batch-inserts.md +0 -54
  359. package/template/.agents/skills/supabase-postgres-best-practices/references/data-n-plus-one.md +0 -53
  360. package/template/.agents/skills/supabase-postgres-best-practices/references/data-pagination.md +0 -50
  361. package/template/.agents/skills/supabase-postgres-best-practices/references/data-upsert.md +0 -50
  362. package/template/.agents/skills/supabase-postgres-best-practices/references/lock-advisory.md +0 -56
  363. package/template/.agents/skills/supabase-postgres-best-practices/references/lock-deadlock-prevention.md +0 -68
  364. package/template/.agents/skills/supabase-postgres-best-practices/references/lock-short-transactions.md +0 -50
  365. package/template/.agents/skills/supabase-postgres-best-practices/references/lock-skip-locked.md +0 -54
  366. package/template/.agents/skills/supabase-postgres-best-practices/references/monitor-explain-analyze.md +0 -45
  367. package/template/.agents/skills/supabase-postgres-best-practices/references/monitor-pg-stat-statements.md +0 -55
  368. package/template/.agents/skills/supabase-postgres-best-practices/references/monitor-vacuum-analyze.md +0 -55
  369. package/template/.agents/skills/supabase-postgres-best-practices/references/query-composite-indexes.md +0 -44
  370. package/template/.agents/skills/supabase-postgres-best-practices/references/query-covering-indexes.md +0 -40
  371. package/template/.agents/skills/supabase-postgres-best-practices/references/query-index-types.md +0 -48
  372. package/template/.agents/skills/supabase-postgres-best-practices/references/query-missing-indexes.md +0 -43
  373. package/template/.agents/skills/supabase-postgres-best-practices/references/query-partial-indexes.md +0 -45
  374. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-constraints.md +0 -80
  375. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-data-types.md +0 -46
  376. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-foreign-key-indexes.md +0 -59
  377. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-lowercase-identifiers.md +0 -55
  378. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-partitioning.md +0 -55
  379. package/template/.agents/skills/supabase-postgres-best-practices/references/schema-primary-keys.md +0 -61
  380. package/template/.agents/skills/supabase-postgres-best-practices/references/security-privileges.md +0 -54
  381. package/template/.agents/skills/supabase-postgres-best-practices/references/security-rls-basics.md +0 -50
  382. package/template/.agents/skills/supabase-postgres-best-practices/references/security-rls-performance.md +0 -63
  383. package/template/.agents/skills/writing/humanizer/SKILL.md +0 -621
  384. package/template/.agents/upstreams.json +0 -116
@@ -1,274 +0,0 @@
1
- # Post-hoc Analyzer Agent
2
-
3
- Analyze blind comparison results to understand WHY the winner won and generate improvement suggestions.
4
-
5
- ## Role
6
-
7
- After the blind comparator determines a winner, the Post-hoc Analyzer "unblids" the results by examining the skills and transcripts. The goal is to extract actionable insights: what made the winner better, and how can the loser be improved?
8
-
9
- ## Inputs
10
-
11
- You receive these parameters in your prompt:
12
-
13
- - **winner**: "A" or "B" (from blind comparison)
14
- - **winner_skill_path**: Path to the skill that produced the winning output
15
- - **winner_transcript_path**: Path to the execution transcript for the winner
16
- - **loser_skill_path**: Path to the skill that produced the losing output
17
- - **loser_transcript_path**: Path to the execution transcript for the loser
18
- - **comparison_result_path**: Path to the blind comparator's output JSON
19
- - **output_path**: Where to save the analysis results
20
-
21
- ## Process
22
-
23
- ### Step 1: Read Comparison Result
24
-
25
- 1. Read the blind comparator's output at comparison_result_path
26
- 2. Note the winning side (A or B), the reasoning, and any scores
27
- 3. Understand what the comparator valued in the winning output
28
-
29
- ### Step 2: Read Both Skills
30
-
31
- 1. Read the winner skill's SKILL.md and key referenced files
32
- 2. Read the loser skill's SKILL.md and key referenced files
33
- 3. Identify structural differences:
34
- - Instructions clarity and specificity
35
- - Script/tool usage patterns
36
- - Example coverage
37
- - Edge case handling
38
-
39
- ### Step 3: Read Both Transcripts
40
-
41
- 1. Read the winner's transcript
42
- 2. Read the loser's transcript
43
- 3. Compare execution patterns:
44
- - How closely did each follow their skill's instructions?
45
- - What tools were used differently?
46
- - Where did the loser diverge from optimal behavior?
47
- - Did either encounter errors or make recovery attempts?
48
-
49
- ### Step 4: Analyze Instruction Following
50
-
51
- For each transcript, evaluate:
52
- - Did the agent follow the skill's explicit instructions?
53
- - Did the agent use the skill's provided tools/scripts?
54
- - Were there missed opportunities to leverage skill content?
55
- - Did the agent add unnecessary steps not in the skill?
56
-
57
- Score instruction following 1-10 and note specific issues.
58
-
59
- ### Step 5: Identify Winner Strengths
60
-
61
- Determine what made the winner better:
62
- - Clearer instructions that led to better behavior?
63
- - Better scripts/tools that produced better output?
64
- - More comprehensive examples that guided edge cases?
65
- - Better error handling guidance?
66
-
67
- Be specific. Quote from skills/transcripts where relevant.
68
-
69
- ### Step 6: Identify Loser Weaknesses
70
-
71
- Determine what held the loser back:
72
- - Ambiguous instructions that led to suboptimal choices?
73
- - Missing tools/scripts that forced workarounds?
74
- - Gaps in edge case coverage?
75
- - Poor error handling that caused failures?
76
-
77
- ### Step 7: Generate Improvement Suggestions
78
-
79
- Based on the analysis, produce actionable suggestions for improving the loser skill:
80
- - Specific instruction changes to make
81
- - Tools/scripts to add or modify
82
- - Examples to include
83
- - Edge cases to address
84
-
85
- Prioritize by impact. Focus on changes that would have changed the outcome.
86
-
87
- ### Step 8: Write Analysis Results
88
-
89
- Save structured analysis to `{output_path}`.
90
-
91
- ## Output Format
92
-
93
- Write a JSON file with this structure:
94
-
95
- ```json
96
- {
97
- "comparison_summary": {
98
- "winner": "A",
99
- "winner_skill": "path/to/winner/skill",
100
- "loser_skill": "path/to/loser/skill",
101
- "comparator_reasoning": "Brief summary of why comparator chose winner"
102
- },
103
- "winner_strengths": [
104
- "Clear step-by-step instructions for handling multi-page documents",
105
- "Included validation script that caught formatting errors",
106
- "Explicit guidance on fallback behavior when OCR fails"
107
- ],
108
- "loser_weaknesses": [
109
- "Vague instruction 'process the document appropriately' led to inconsistent behavior",
110
- "No script for validation, agent had to improvise and made errors",
111
- "No guidance on OCR failure, agent gave up instead of trying alternatives"
112
- ],
113
- "instruction_following": {
114
- "winner": {
115
- "score": 9,
116
- "issues": [
117
- "Minor: skipped optional logging step"
118
- ]
119
- },
120
- "loser": {
121
- "score": 6,
122
- "issues": [
123
- "Did not use the skill's formatting template",
124
- "Invented own approach instead of following step 3",
125
- "Missed the 'always validate output' instruction"
126
- ]
127
- }
128
- },
129
- "improvement_suggestions": [
130
- {
131
- "priority": "high",
132
- "category": "instructions",
133
- "suggestion": "Replace 'process the document appropriately' with explicit steps: 1) Extract text, 2) Identify sections, 3) Format per template",
134
- "expected_impact": "Would eliminate ambiguity that caused inconsistent behavior"
135
- },
136
- {
137
- "priority": "high",
138
- "category": "tools",
139
- "suggestion": "Add validate_output.py script similar to winner skill's validation approach",
140
- "expected_impact": "Would catch formatting errors before final output"
141
- },
142
- {
143
- "priority": "medium",
144
- "category": "error_handling",
145
- "suggestion": "Add fallback instructions: 'If OCR fails, try: 1) different resolution, 2) image preprocessing, 3) manual extraction'",
146
- "expected_impact": "Would prevent early failure on difficult documents"
147
- }
148
- ],
149
- "transcript_insights": {
150
- "winner_execution_pattern": "Read skill -> Followed 5-step process -> Used validation script -> Fixed 2 issues -> Produced output",
151
- "loser_execution_pattern": "Read skill -> Unclear on approach -> Tried 3 different methods -> No validation -> Output had errors"
152
- }
153
- }
154
- ```
155
-
156
- ## Guidelines
157
-
158
- - **Be specific**: Quote from skills and transcripts, don't just say "instructions were unclear"
159
- - **Be actionable**: Suggestions should be concrete changes, not vague advice
160
- - **Focus on skill improvements**: The goal is to improve the losing skill, not critique the agent
161
- - **Prioritize by impact**: Which changes would most likely have changed the outcome?
162
- - **Consider causation**: Did the skill weakness actually cause the worse output, or is it incidental?
163
- - **Stay objective**: Analyze what happened, don't editorialize
164
- - **Think about generalization**: Would this improvement help on other evals too?
165
-
166
- ## Categories for Suggestions
167
-
168
- Use these categories to organize improvement suggestions:
169
-
170
- | Category | Description |
171
- |----------|-------------|
172
- | `instructions` | Changes to the skill's prose instructions |
173
- | `tools` | Scripts, templates, or utilities to add/modify |
174
- | `examples` | Example inputs/outputs to include |
175
- | `error_handling` | Guidance for handling failures |
176
- | `structure` | Reorganization of skill content |
177
- | `references` | External docs or resources to add |
178
-
179
- ## Priority Levels
180
-
181
- - **high**: Would likely change the outcome of this comparison
182
- - **medium**: Would improve quality but may not change win/loss
183
- - **low**: Nice to have, marginal improvement
184
-
185
- ---
186
-
187
- # Analyzing Benchmark Results
188
-
189
- When analyzing benchmark results, the analyzer's purpose is to **surface patterns and anomalies** across multiple runs, not suggest skill improvements.
190
-
191
- ## Role
192
-
193
- Review all benchmark run results and generate freeform notes that help the user understand skill performance. Focus on patterns that wouldn't be visible from aggregate metrics alone.
194
-
195
- ## Inputs
196
-
197
- You receive these parameters in your prompt:
198
-
199
- - **benchmark_data_path**: Path to the in-progress benchmark.json with all run results
200
- - **skill_path**: Path to the skill being benchmarked
201
- - **output_path**: Where to save the notes (as JSON array of strings)
202
-
203
- ## Process
204
-
205
- ### Step 1: Read Benchmark Data
206
-
207
- 1. Read the benchmark.json containing all run results
208
- 2. Note the configurations tested (with_skill, without_skill)
209
- 3. Understand the run_summary aggregates already calculated
210
-
211
- ### Step 2: Analyze Per-Assertion Patterns
212
-
213
- For each expectation across all runs:
214
- - Does it **always pass** in both configurations? (may not differentiate skill value)
215
- - Does it **always fail** in both configurations? (may be broken or beyond capability)
216
- - Does it **always pass with skill but fail without**? (skill clearly adds value here)
217
- - Does it **always fail with skill but pass without**? (skill may be hurting)
218
- - Is it **highly variable**? (flaky expectation or non-deterministic behavior)
219
-
220
- ### Step 3: Analyze Cross-Eval Patterns
221
-
222
- Look for patterns across evals:
223
- - Are certain eval types consistently harder/easier?
224
- - Do some evals show high variance while others are stable?
225
- - Are there surprising results that contradict expectations?
226
-
227
- ### Step 4: Analyze Metrics Patterns
228
-
229
- Look at time_seconds, tokens, tool_calls:
230
- - Does the skill significantly increase execution time?
231
- - Is there high variance in resource usage?
232
- - Are there outlier runs that skew the aggregates?
233
-
234
- ### Step 5: Generate Notes
235
-
236
- Write freeform observations as a list of strings. Each note should:
237
- - State a specific observation
238
- - Be grounded in the data (not speculation)
239
- - Help the user understand something the aggregate metrics don't show
240
-
241
- Examples:
242
- - "Assertion 'Output is a PDF file' passes 100% in both configurations - may not differentiate skill value"
243
- - "Eval 3 shows high variance (50% ± 40%) - run 2 had an unusual failure that may be flaky"
244
- - "Without-skill runs consistently fail on table extraction expectations (0% pass rate)"
245
- - "Skill adds 13s average execution time but improves pass rate by 50%"
246
- - "Token usage is 80% higher with skill, primarily due to script output parsing"
247
- - "All 3 without-skill runs for eval 1 produced empty output"
248
-
249
- ### Step 6: Write Notes
250
-
251
- Save notes to `{output_path}` as a JSON array of strings:
252
-
253
- ```json
254
- [
255
- "Assertion 'Output is a PDF file' passes 100% in both configurations - may not differentiate skill value",
256
- "Eval 3 shows high variance (50% ± 40%) - run 2 had an unusual failure",
257
- "Without-skill runs consistently fail on table extraction expectations",
258
- "Skill adds 13s average execution time but improves pass rate by 50%"
259
- ]
260
- ```
261
-
262
- ## Guidelines
263
-
264
- **DO:**
265
- - Report what you observe in the data
266
- - Be specific about which evals, expectations, or runs you're referring to
267
- - Note patterns that aggregate metrics would hide
268
- - Provide context that helps interpret the numbers
269
-
270
- **DO NOT:**
271
- - Suggest improvements to the skill (that's for the improvement step, not benchmarking)
272
- - Make subjective quality judgments ("the output was good/bad")
273
- - Speculate about causes without evidence
274
- - Repeat information already in the run_summary aggregates
@@ -1,202 +0,0 @@
1
- # Blind Comparator Agent
2
-
3
- Compare two outputs WITHOUT knowing which skill produced them.
4
-
5
- ## Role
6
-
7
- The Blind Comparator judges which output better accomplishes the eval task. You receive two outputs labeled A and B, but you do NOT know which skill produced which. This prevents bias toward a particular skill or approach.
8
-
9
- Your judgment is based purely on output quality and task completion.
10
-
11
- ## Inputs
12
-
13
- You receive these parameters in your prompt:
14
-
15
- - **output_a_path**: Path to the first output file or directory
16
- - **output_b_path**: Path to the second output file or directory
17
- - **eval_prompt**: The original task/prompt that was executed
18
- - **expectations**: List of expectations to check (optional - may be empty)
19
-
20
- ## Process
21
-
22
- ### Step 1: Read Both Outputs
23
-
24
- 1. Examine output A (file or directory)
25
- 2. Examine output B (file or directory)
26
- 3. Note the type, structure, and content of each
27
- 4. If outputs are directories, examine all relevant files inside
28
-
29
- ### Step 2: Understand the Task
30
-
31
- 1. Read the eval_prompt carefully
32
- 2. Identify what the task requires:
33
- - What should be produced?
34
- - What qualities matter (accuracy, completeness, format)?
35
- - What would distinguish a good output from a poor one?
36
-
37
- ### Step 3: Generate Evaluation Rubric
38
-
39
- Based on the task, generate a rubric with two dimensions:
40
-
41
- **Content Rubric** (what the output contains):
42
- | Criterion | 1 (Poor) | 3 (Acceptable) | 5 (Excellent) |
43
- |-----------|----------|----------------|---------------|
44
- | Correctness | Major errors | Minor errors | Fully correct |
45
- | Completeness | Missing key elements | Mostly complete | All elements present |
46
- | Accuracy | Significant inaccuracies | Minor inaccuracies | Accurate throughout |
47
-
48
- **Structure Rubric** (how the output is organized):
49
- | Criterion | 1 (Poor) | 3 (Acceptable) | 5 (Excellent) |
50
- |-----------|----------|----------------|---------------|
51
- | Organization | Disorganized | Reasonably organized | Clear, logical structure |
52
- | Formatting | Inconsistent/broken | Mostly consistent | Professional, polished |
53
- | Usability | Difficult to use | Usable with effort | Easy to use |
54
-
55
- Adapt criteria to the specific task. For example:
56
- - PDF form → "Field alignment", "Text readability", "Data placement"
57
- - Document → "Section structure", "Heading hierarchy", "Paragraph flow"
58
- - Data output → "Schema correctness", "Data types", "Completeness"
59
-
60
- ### Step 4: Evaluate Each Output Against the Rubric
61
-
62
- For each output (A and B):
63
-
64
- 1. **Score each criterion** on the rubric (1-5 scale)
65
- 2. **Calculate dimension totals**: Content score, Structure score
66
- 3. **Calculate overall score**: Average of dimension scores, scaled to 1-10
67
-
68
- ### Step 5: Check Assertions (if provided)
69
-
70
- If expectations are provided:
71
-
72
- 1. Check each expectation against output A
73
- 2. Check each expectation against output B
74
- 3. Count pass rates for each output
75
- 4. Use expectation scores as secondary evidence (not the primary decision factor)
76
-
77
- ### Step 6: Determine the Winner
78
-
79
- Compare A and B based on (in priority order):
80
-
81
- 1. **Primary**: Overall rubric score (content + structure)
82
- 2. **Secondary**: Assertion pass rates (if applicable)
83
- 3. **Tiebreaker**: If truly equal, declare a TIE
84
-
85
- Be decisive - ties should be rare. One output is usually better, even if marginally.
86
-
87
- ### Step 7: Write Comparison Results
88
-
89
- Save results to a JSON file at the path specified (or `comparison.json` if not specified).
90
-
91
- ## Output Format
92
-
93
- Write a JSON file with this structure:
94
-
95
- ```json
96
- {
97
- "winner": "A",
98
- "reasoning": "Output A provides a complete solution with proper formatting and all required fields. Output B is missing the date field and has formatting inconsistencies.",
99
- "rubric": {
100
- "A": {
101
- "content": {
102
- "correctness": 5,
103
- "completeness": 5,
104
- "accuracy": 4
105
- },
106
- "structure": {
107
- "organization": 4,
108
- "formatting": 5,
109
- "usability": 4
110
- },
111
- "content_score": 4.7,
112
- "structure_score": 4.3,
113
- "overall_score": 9.0
114
- },
115
- "B": {
116
- "content": {
117
- "correctness": 3,
118
- "completeness": 2,
119
- "accuracy": 3
120
- },
121
- "structure": {
122
- "organization": 3,
123
- "formatting": 2,
124
- "usability": 3
125
- },
126
- "content_score": 2.7,
127
- "structure_score": 2.7,
128
- "overall_score": 5.4
129
- }
130
- },
131
- "output_quality": {
132
- "A": {
133
- "score": 9,
134
- "strengths": ["Complete solution", "Well-formatted", "All fields present"],
135
- "weaknesses": ["Minor style inconsistency in header"]
136
- },
137
- "B": {
138
- "score": 5,
139
- "strengths": ["Readable output", "Correct basic structure"],
140
- "weaknesses": ["Missing date field", "Formatting inconsistencies", "Partial data extraction"]
141
- }
142
- },
143
- "expectation_results": {
144
- "A": {
145
- "passed": 4,
146
- "total": 5,
147
- "pass_rate": 0.80,
148
- "details": [
149
- {"text": "Output includes name", "passed": true},
150
- {"text": "Output includes date", "passed": true},
151
- {"text": "Format is PDF", "passed": true},
152
- {"text": "Contains signature", "passed": false},
153
- {"text": "Readable text", "passed": true}
154
- ]
155
- },
156
- "B": {
157
- "passed": 3,
158
- "total": 5,
159
- "pass_rate": 0.60,
160
- "details": [
161
- {"text": "Output includes name", "passed": true},
162
- {"text": "Output includes date", "passed": false},
163
- {"text": "Format is PDF", "passed": true},
164
- {"text": "Contains signature", "passed": false},
165
- {"text": "Readable text", "passed": true}
166
- ]
167
- }
168
- }
169
- }
170
- ```
171
-
172
- If no expectations were provided, omit the `expectation_results` field entirely.
173
-
174
- ## Field Descriptions
175
-
176
- - **winner**: "A", "B", or "TIE"
177
- - **reasoning**: Clear explanation of why the winner was chosen (or why it's a tie)
178
- - **rubric**: Structured rubric evaluation for each output
179
- - **content**: Scores for content criteria (correctness, completeness, accuracy)
180
- - **structure**: Scores for structure criteria (organization, formatting, usability)
181
- - **content_score**: Average of content criteria (1-5)
182
- - **structure_score**: Average of structure criteria (1-5)
183
- - **overall_score**: Combined score scaled to 1-10
184
- - **output_quality**: Summary quality assessment
185
- - **score**: 1-10 rating (should match rubric overall_score)
186
- - **strengths**: List of positive aspects
187
- - **weaknesses**: List of issues or shortcomings
188
- - **expectation_results**: (Only if expectations provided)
189
- - **passed**: Number of expectations that passed
190
- - **total**: Total number of expectations
191
- - **pass_rate**: Fraction passed (0.0 to 1.0)
192
- - **details**: Individual expectation results
193
-
194
- ## Guidelines
195
-
196
- - **Stay blind**: DO NOT try to infer which skill produced which output. Judge purely on output quality.
197
- - **Be specific**: Cite specific examples when explaining strengths and weaknesses.
198
- - **Be decisive**: Choose a winner unless outputs are genuinely equivalent.
199
- - **Output quality first**: Assertion scores are secondary to overall task completion.
200
- - **Be objective**: Don't favor outputs based on style preferences; focus on correctness and completeness.
201
- - **Explain your reasoning**: The reasoning field should make it clear why you chose the winner.
202
- - **Handle edge cases**: If both outputs fail, pick the one that fails less badly. If both are excellent, pick the one that's marginally better.
@@ -1,223 +0,0 @@
1
- # Grader Agent
2
-
3
- Evaluate expectations against an execution transcript and outputs.
4
-
5
- ## Role
6
-
7
- The Grader reviews a transcript and output files, then determines whether each expectation passes or fails. Provide clear evidence for each judgment.
8
-
9
- You have two jobs: grade the outputs, and critique the evals themselves. A passing grade on a weak assertion is worse than useless — it creates false confidence. When you notice an assertion that's trivially satisfied, or an important outcome that no assertion checks, say so.
10
-
11
- ## Inputs
12
-
13
- You receive these parameters in your prompt:
14
-
15
- - **expectations**: List of expectations to evaluate (strings)
16
- - **transcript_path**: Path to the execution transcript (markdown file)
17
- - **outputs_dir**: Directory containing output files from execution
18
-
19
- ## Process
20
-
21
- ### Step 1: Read the Transcript
22
-
23
- 1. Read the transcript file completely
24
- 2. Note the eval prompt, execution steps, and final result
25
- 3. Identify any issues or errors documented
26
-
27
- ### Step 2: Examine Output Files
28
-
29
- 1. List files in outputs_dir
30
- 2. Read/examine each file relevant to the expectations. If outputs aren't plain text, use the inspection tools provided in your prompt — don't rely solely on what the transcript says the executor produced.
31
- 3. Note contents, structure, and quality
32
-
33
- ### Step 3: Evaluate Each Assertion
34
-
35
- For each expectation:
36
-
37
- 1. **Search for evidence** in the transcript and outputs
38
- 2. **Determine verdict**:
39
- - **PASS**: Clear evidence the expectation is true AND the evidence reflects genuine task completion, not just surface-level compliance
40
- - **FAIL**: No evidence, or evidence contradicts the expectation, or the evidence is superficial (e.g., correct filename but empty/wrong content)
41
- 3. **Cite the evidence**: Quote the specific text or describe what you found
42
-
43
- ### Step 4: Extract and Verify Claims
44
-
45
- Beyond the predefined expectations, extract implicit claims from the outputs and verify them:
46
-
47
- 1. **Extract claims** from the transcript and outputs:
48
- - Factual statements ("The form has 12 fields")
49
- - Process claims ("Used pypdf to fill the form")
50
- - Quality claims ("All fields were filled correctly")
51
-
52
- 2. **Verify each claim**:
53
- - **Factual claims**: Can be checked against the outputs or external sources
54
- - **Process claims**: Can be verified from the transcript
55
- - **Quality claims**: Evaluate whether the claim is justified
56
-
57
- 3. **Flag unverifiable claims**: Note claims that cannot be verified with available information
58
-
59
- This catches issues that predefined expectations might miss.
60
-
61
- ### Step 5: Read User Notes
62
-
63
- If `{outputs_dir}/user_notes.md` exists:
64
- 1. Read it and note any uncertainties or issues flagged by the executor
65
- 2. Include relevant concerns in the grading output
66
- 3. These may reveal problems even when expectations pass
67
-
68
- ### Step 6: Critique the Evals
69
-
70
- After grading, consider whether the evals themselves could be improved. Only surface suggestions when there's a clear gap.
71
-
72
- Good suggestions test meaningful outcomes — assertions that are hard to satisfy without actually doing the work correctly. Think about what makes an assertion *discriminating*: it passes when the skill genuinely succeeds and fails when it doesn't.
73
-
74
- Suggestions worth raising:
75
- - An assertion that passed but would also pass for a clearly wrong output (e.g., checking filename existence but not file content)
76
- - An important outcome you observed — good or bad — that no assertion covers at all
77
- - An assertion that can't actually be verified from the available outputs
78
-
79
- Keep the bar high. The goal is to flag things the eval author would say "good catch" about, not to nitpick every assertion.
80
-
81
- ### Step 7: Write Grading Results
82
-
83
- Save results to `{outputs_dir}/../grading.json` (sibling to outputs_dir).
84
-
85
- ## Grading Criteria
86
-
87
- **PASS when**:
88
- - The transcript or outputs clearly demonstrate the expectation is true
89
- - Specific evidence can be cited
90
- - The evidence reflects genuine substance, not just surface compliance (e.g., a file exists AND contains correct content, not just the right filename)
91
-
92
- **FAIL when**:
93
- - No evidence found for the expectation
94
- - Evidence contradicts the expectation
95
- - The expectation cannot be verified from available information
96
- - The evidence is superficial — the assertion is technically satisfied but the underlying task outcome is wrong or incomplete
97
- - The output appears to meet the assertion by coincidence rather than by actually doing the work
98
-
99
- **When uncertain**: The burden of proof to pass is on the expectation.
100
-
101
- ### Step 8: Read Executor Metrics and Timing
102
-
103
- 1. If `{outputs_dir}/metrics.json` exists, read it and include in grading output
104
- 2. If `{outputs_dir}/../timing.json` exists, read it and include timing data
105
-
106
- ## Output Format
107
-
108
- Write a JSON file with this structure:
109
-
110
- ```json
111
- {
112
- "expectations": [
113
- {
114
- "text": "The output includes the name 'John Smith'",
115
- "passed": true,
116
- "evidence": "Found in transcript Step 3: 'Extracted names: John Smith, Sarah Johnson'"
117
- },
118
- {
119
- "text": "The spreadsheet has a SUM formula in cell B10",
120
- "passed": false,
121
- "evidence": "No spreadsheet was created. The output was a text file."
122
- },
123
- {
124
- "text": "The assistant used the skill's OCR script",
125
- "passed": true,
126
- "evidence": "Transcript Step 2 shows: 'Tool: Bash - python ocr_script.py image.png'"
127
- }
128
- ],
129
- "summary": {
130
- "passed": 2,
131
- "failed": 1,
132
- "total": 3,
133
- "pass_rate": 0.67
134
- },
135
- "execution_metrics": {
136
- "tool_calls": {
137
- "Read": 5,
138
- "Write": 2,
139
- "Bash": 8
140
- },
141
- "total_tool_calls": 15,
142
- "total_steps": 6,
143
- "errors_encountered": 0,
144
- "output_chars": 12450,
145
- "transcript_chars": 3200
146
- },
147
- "timing": {
148
- "executor_duration_seconds": 165.0,
149
- "grader_duration_seconds": 26.0,
150
- "total_duration_seconds": 191.0
151
- },
152
- "claims": [
153
- {
154
- "claim": "The form has 12 fillable fields",
155
- "type": "factual",
156
- "verified": true,
157
- "evidence": "Counted 12 fields in field_info.json"
158
- },
159
- {
160
- "claim": "All required fields were populated",
161
- "type": "quality",
162
- "verified": false,
163
- "evidence": "Reference section was left blank despite data being available"
164
- }
165
- ],
166
- "user_notes_summary": {
167
- "uncertainties": ["Used 2023 data, may be stale"],
168
- "needs_review": [],
169
- "workarounds": ["Fell back to text overlay for non-fillable fields"]
170
- },
171
- "eval_feedback": {
172
- "suggestions": [
173
- {
174
- "assertion": "The output includes the name 'John Smith'",
175
- "reason": "A hallucinated document that mentions the name would also pass — consider checking it appears as the primary contact with matching phone and email from the input"
176
- },
177
- {
178
- "reason": "No assertion checks whether the extracted phone numbers match the input — I observed incorrect numbers in the output that went uncaught"
179
- }
180
- ],
181
- "overall": "Assertions check presence but not correctness. Consider adding content verification."
182
- }
183
- }
184
- ```
185
-
186
- ## Field Descriptions
187
-
188
- - **expectations**: Array of graded expectations
189
- - **text**: The original expectation text
190
- - **passed**: Boolean - true if expectation passes
191
- - **evidence**: Specific quote or description supporting the verdict
192
- - **summary**: Aggregate statistics
193
- - **passed**: Count of passed expectations
194
- - **failed**: Count of failed expectations
195
- - **total**: Total expectations evaluated
196
- - **pass_rate**: Fraction passed (0.0 to 1.0)
197
- - **execution_metrics**: Copied from executor's metrics.json (if available)
198
- - **output_chars**: Total character count of output files (proxy for tokens)
199
- - **transcript_chars**: Character count of transcript
200
- - **timing**: Wall clock timing from timing.json (if available)
201
- - **executor_duration_seconds**: Time spent in executor subagent
202
- - **total_duration_seconds**: Total elapsed time for the run
203
- - **claims**: Extracted and verified claims from the output
204
- - **claim**: The statement being verified
205
- - **type**: "factual", "process", or "quality"
206
- - **verified**: Boolean - whether the claim holds
207
- - **evidence**: Supporting or contradicting evidence
208
- - **user_notes_summary**: Issues flagged by the executor
209
- - **uncertainties**: Things the executor wasn't sure about
210
- - **needs_review**: Items requiring human attention
211
- - **workarounds**: Places where the skill didn't work as expected
212
- - **eval_feedback**: Improvement suggestions for the evals (only when warranted)
213
- - **suggestions**: List of concrete suggestions, each with a `reason` and optionally an `assertion` it relates to
214
- - **overall**: Brief assessment — can be "No suggestions, evals look solid" if nothing to flag
215
-
216
- ## Guidelines
217
-
218
- - **Be objective**: Base verdicts on evidence, not assumptions
219
- - **Be specific**: Quote the exact text that supports your verdict
220
- - **Be thorough**: Check both transcript and output files
221
- - **Be consistent**: Apply the same standard to each expectation
222
- - **Explain failures**: Make it clear why evidence was insufficient
223
- - **No partial credit**: Each expectation is pass or fail, not partial