quiver-cli 0.1.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 (281) hide show
  1. package/README.md +188 -0
  2. package/bin/quiver-cli.mjs +2 -0
  3. package/dist/cli.js +3074 -0
  4. package/package.json +55 -0
  5. package/template/.agents/AGENTS.md +25 -0
  6. package/template/.agents/commands/cp.md +116 -0
  7. package/template/.agents/commands/next-setup.md +1064 -0
  8. package/template/.agents/commands/tf-readme.md +38 -0
  9. package/template/.agents/config.json +60 -0
  10. package/template/.agents/skills/agent-browser/SKILL.md +55 -0
  11. package/template/.agents/skills/apps/skybridge/SKILL.md +46 -0
  12. package/template/.agents/skills/apps/skybridge/references/architecture.md +175 -0
  13. package/template/.agents/skills/apps/skybridge/references/copy-template.md +24 -0
  14. package/template/.agents/skills/apps/skybridge/references/csp.md +33 -0
  15. package/template/.agents/skills/apps/skybridge/references/deploy.md +33 -0
  16. package/template/.agents/skills/apps/skybridge/references/discover.md +84 -0
  17. package/template/.agents/skills/apps/skybridge/references/download-file.md +77 -0
  18. package/template/.agents/skills/apps/skybridge/references/fetch-and-render-data.md +151 -0
  19. package/template/.agents/skills/apps/skybridge/references/oauth.md +115 -0
  20. package/template/.agents/skills/apps/skybridge/references/open-external-links.md +71 -0
  21. package/template/.agents/skills/apps/skybridge/references/prompt-llm.md +20 -0
  22. package/template/.agents/skills/apps/skybridge/references/publish.md +19 -0
  23. package/template/.agents/skills/apps/skybridge/references/run-locally.md +51 -0
  24. package/template/.agents/skills/apps/skybridge/references/state-and-context.md +151 -0
  25. package/template/.agents/skills/apps/skybridge/references/ui-guidelines.md +205 -0
  26. package/template/.agents/skills/code/cleanup/SKILL.md +26 -0
  27. package/template/.agents/skills/code/vercel-react-best-practices/AGENTS.md +3810 -0
  28. package/template/.agents/skills/code/vercel-react-best-practices/README.md +123 -0
  29. package/template/.agents/skills/code/vercel-react-best-practices/SKILL.md +149 -0
  30. package/template/.agents/skills/code/vercel-react-best-practices/metadata.json +15 -0
  31. package/template/.agents/skills/code/vercel-react-best-practices/rules/_sections.md +46 -0
  32. package/template/.agents/skills/code/vercel-react-best-practices/rules/_template.md +28 -0
  33. package/template/.agents/skills/code/vercel-react-best-practices/rules/advanced-effect-event-deps.md +56 -0
  34. package/template/.agents/skills/code/vercel-react-best-practices/rules/advanced-event-handler-refs.md +55 -0
  35. package/template/.agents/skills/code/vercel-react-best-practices/rules/advanced-init-once.md +42 -0
  36. package/template/.agents/skills/code/vercel-react-best-practices/rules/advanced-use-latest.md +39 -0
  37. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-api-routes.md +38 -0
  38. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-cheap-condition-before-await.md +37 -0
  39. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-defer-await.md +82 -0
  40. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-dependencies.md +51 -0
  41. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-parallel.md +28 -0
  42. package/template/.agents/skills/code/vercel-react-best-practices/rules/async-suspense-boundaries.md +99 -0
  43. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-analyzable-paths.md +63 -0
  44. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-barrel-imports.md +60 -0
  45. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-conditional.md +31 -0
  46. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-defer-third-party.md +49 -0
  47. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-dynamic-imports.md +35 -0
  48. package/template/.agents/skills/code/vercel-react-best-practices/rules/bundle-preload.md +50 -0
  49. package/template/.agents/skills/code/vercel-react-best-practices/rules/client-event-listeners.md +74 -0
  50. package/template/.agents/skills/code/vercel-react-best-practices/rules/client-localstorage-schema.md +71 -0
  51. package/template/.agents/skills/code/vercel-react-best-practices/rules/client-passive-event-listeners.md +48 -0
  52. package/template/.agents/skills/code/vercel-react-best-practices/rules/client-swr-dedup.md +56 -0
  53. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-batch-dom-css.md +107 -0
  54. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-cache-function-results.md +80 -0
  55. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-cache-property-access.md +28 -0
  56. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-cache-storage.md +70 -0
  57. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-combine-iterations.md +32 -0
  58. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-early-exit.md +50 -0
  59. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-flatmap-filter.md +60 -0
  60. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-hoist-regexp.md +45 -0
  61. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-index-maps.md +37 -0
  62. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-length-check-first.md +49 -0
  63. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-min-max-loop.md +82 -0
  64. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-request-idle-callback.md +105 -0
  65. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-set-map-lookups.md +24 -0
  66. package/template/.agents/skills/code/vercel-react-best-practices/rules/js-tosorted-immutable.md +57 -0
  67. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-activity.md +26 -0
  68. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
  69. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-conditional-render.md +40 -0
  70. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-content-visibility.md +38 -0
  71. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-hoist-jsx.md +46 -0
  72. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
  73. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-hydration-suppress-warning.md +30 -0
  74. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-resource-hints.md +85 -0
  75. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-script-defer-async.md +68 -0
  76. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-svg-precision.md +28 -0
  77. package/template/.agents/skills/code/vercel-react-best-practices/rules/rendering-usetransition-loading.md +75 -0
  78. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-defer-reads.md +39 -0
  79. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-dependencies.md +45 -0
  80. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-derived-state-no-effect.md +40 -0
  81. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-derived-state.md +29 -0
  82. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-functional-setstate.md +74 -0
  83. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-lazy-state-init.md +58 -0
  84. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-memo-with-default-value.md +38 -0
  85. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-memo.md +44 -0
  86. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-move-effect-to-event.md +45 -0
  87. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-no-inline-components.md +82 -0
  88. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-simple-expression-in-memo.md +35 -0
  89. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-split-combined-hooks.md +64 -0
  90. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-transitions.md +40 -0
  91. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-use-deferred-value.md +59 -0
  92. package/template/.agents/skills/code/vercel-react-best-practices/rules/rerender-use-ref-transient-values.md +73 -0
  93. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-after-nonblocking.md +73 -0
  94. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-auth-actions.md +96 -0
  95. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-cache-lru.md +41 -0
  96. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-cache-react.md +76 -0
  97. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-dedup-props.md +65 -0
  98. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-hoist-static-io.md +149 -0
  99. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-no-shared-module-state.md +50 -0
  100. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-parallel-fetching.md +83 -0
  101. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-parallel-nested-fetching.md +34 -0
  102. package/template/.agents/skills/code/vercel-react-best-practices/rules/server-serialization.md +38 -0
  103. package/template/.agents/skills/data/prisma-cli/SKILL.md +247 -0
  104. package/template/.agents/skills/data/prisma-cli/references/db-execute.md +78 -0
  105. package/template/.agents/skills/data/prisma-cli/references/db-pull.md +185 -0
  106. package/template/.agents/skills/data/prisma-cli/references/db-push.md +148 -0
  107. package/template/.agents/skills/data/prisma-cli/references/db-seed.md +188 -0
  108. package/template/.agents/skills/data/prisma-cli/references/debug.md +46 -0
  109. package/template/.agents/skills/data/prisma-cli/references/dev.md +157 -0
  110. package/template/.agents/skills/data/prisma-cli/references/format.md +48 -0
  111. package/template/.agents/skills/data/prisma-cli/references/generate.md +173 -0
  112. package/template/.agents/skills/data/prisma-cli/references/init.md +136 -0
  113. package/template/.agents/skills/data/prisma-cli/references/mcp.md +38 -0
  114. package/template/.agents/skills/data/prisma-cli/references/migrate-deploy.md +127 -0
  115. package/template/.agents/skills/data/prisma-cli/references/migrate-dev.md +145 -0
  116. package/template/.agents/skills/data/prisma-cli/references/migrate-diff.md +89 -0
  117. package/template/.agents/skills/data/prisma-cli/references/migrate-reset.md +78 -0
  118. package/template/.agents/skills/data/prisma-cli/references/migrate-resolve.md +57 -0
  119. package/template/.agents/skills/data/prisma-cli/references/migrate-status.md +65 -0
  120. package/template/.agents/skills/data/prisma-cli/references/studio.md +137 -0
  121. package/template/.agents/skills/data/prisma-cli/references/validate.md +53 -0
  122. package/template/.agents/skills/data/prisma-client-api/SKILL.md +216 -0
  123. package/template/.agents/skills/data/prisma-client-api/references/client-methods.md +223 -0
  124. package/template/.agents/skills/data/prisma-client-api/references/constructor.md +208 -0
  125. package/template/.agents/skills/data/prisma-client-api/references/filters.md +256 -0
  126. package/template/.agents/skills/data/prisma-client-api/references/model-queries.md +281 -0
  127. package/template/.agents/skills/data/prisma-client-api/references/query-options.md +276 -0
  128. package/template/.agents/skills/data/prisma-client-api/references/raw-queries.md +194 -0
  129. package/template/.agents/skills/data/prisma-client-api/references/relations.md +308 -0
  130. package/template/.agents/skills/data/prisma-client-api/references/transactions.md +184 -0
  131. package/template/.agents/skills/design/impeccable/SKILL.md +176 -0
  132. package/template/.agents/skills/design/impeccable/reference/adapt.md +311 -0
  133. package/template/.agents/skills/design/impeccable/reference/animate.md +201 -0
  134. package/template/.agents/skills/design/impeccable/reference/audit.md +133 -0
  135. package/template/.agents/skills/design/impeccable/reference/bolder.md +113 -0
  136. package/template/.agents/skills/design/impeccable/reference/brand.md +108 -0
  137. package/template/.agents/skills/design/impeccable/reference/clarify.md +288 -0
  138. package/template/.agents/skills/design/impeccable/reference/codex.md +105 -0
  139. package/template/.agents/skills/design/impeccable/reference/colorize.md +257 -0
  140. package/template/.agents/skills/design/impeccable/reference/craft.md +123 -0
  141. package/template/.agents/skills/design/impeccable/reference/critique.md +767 -0
  142. package/template/.agents/skills/design/impeccable/reference/delight.md +302 -0
  143. package/template/.agents/skills/design/impeccable/reference/distill.md +111 -0
  144. package/template/.agents/skills/design/impeccable/reference/document.md +429 -0
  145. package/template/.agents/skills/design/impeccable/reference/extract.md +69 -0
  146. package/template/.agents/skills/design/impeccable/reference/harden.md +347 -0
  147. package/template/.agents/skills/design/impeccable/reference/init.md +172 -0
  148. package/template/.agents/skills/design/impeccable/reference/interaction-design.md +189 -0
  149. package/template/.agents/skills/design/impeccable/reference/layout.md +161 -0
  150. package/template/.agents/skills/design/impeccable/reference/live.md +718 -0
  151. package/template/.agents/skills/design/impeccable/reference/onboard.md +234 -0
  152. package/template/.agents/skills/design/impeccable/reference/optimize.md +258 -0
  153. package/template/.agents/skills/design/impeccable/reference/overdrive.md +130 -0
  154. package/template/.agents/skills/design/impeccable/reference/polish.md +241 -0
  155. package/template/.agents/skills/design/impeccable/reference/product.md +60 -0
  156. package/template/.agents/skills/design/impeccable/reference/quieter.md +99 -0
  157. package/template/.agents/skills/design/impeccable/reference/shape.md +165 -0
  158. package/template/.agents/skills/design/impeccable/reference/typeset.md +279 -0
  159. package/template/.agents/skills/design/impeccable/scripts/cleanup-deprecated.mjs +284 -0
  160. package/template/.agents/skills/design/impeccable/scripts/command-metadata.json +94 -0
  161. package/template/.agents/skills/design/impeccable/scripts/context-signals.mjs +225 -0
  162. package/template/.agents/skills/design/impeccable/scripts/context.mjs +270 -0
  163. package/template/.agents/skills/design/impeccable/scripts/critique-storage.mjs +242 -0
  164. package/template/.agents/skills/design/impeccable/scripts/design-parser.mjs +835 -0
  165. package/template/.agents/skills/design/impeccable/scripts/detect-csp.mjs +198 -0
  166. package/template/.agents/skills/design/impeccable/scripts/detect.mjs +21 -0
  167. package/template/.agents/skills/design/impeccable/scripts/detector/browser/injected/index.mjs +1733 -0
  168. package/template/.agents/skills/design/impeccable/scripts/detector/cli/main.mjs +244 -0
  169. package/template/.agents/skills/design/impeccable/scripts/detector/detect-antipatterns-browser.js +4551 -0
  170. package/template/.agents/skills/design/impeccable/scripts/detector/detect-antipatterns.mjs +43 -0
  171. package/template/.agents/skills/design/impeccable/scripts/detector/engines/browser/detect-url.mjs +252 -0
  172. package/template/.agents/skills/design/impeccable/scripts/detector/engines/regex/detect-text.mjs +535 -0
  173. package/template/.agents/skills/design/impeccable/scripts/detector/engines/static-html/css-cascade.mjs +986 -0
  174. package/template/.agents/skills/design/impeccable/scripts/detector/engines/static-html/detect-html.mjs +208 -0
  175. package/template/.agents/skills/design/impeccable/scripts/detector/engines/visual/screenshot-contrast.mjs +189 -0
  176. package/template/.agents/skills/design/impeccable/scripts/detector/findings.mjs +12 -0
  177. package/template/.agents/skills/design/impeccable/scripts/detector/node/file-system.mjs +198 -0
  178. package/template/.agents/skills/design/impeccable/scripts/detector/profile/profiler.mjs +166 -0
  179. package/template/.agents/skills/design/impeccable/scripts/detector/registry/antipatterns.mjs +419 -0
  180. package/template/.agents/skills/design/impeccable/scripts/detector/rules/checks.mjs +2316 -0
  181. package/template/.agents/skills/design/impeccable/scripts/detector/shared/color.mjs +124 -0
  182. package/template/.agents/skills/design/impeccable/scripts/detector/shared/constants.mjs +101 -0
  183. package/template/.agents/skills/design/impeccable/scripts/detector/shared/page.mjs +7 -0
  184. package/template/.agents/skills/design/impeccable/scripts/impeccable-paths.mjs +126 -0
  185. package/template/.agents/skills/design/impeccable/scripts/is-generated.mjs +69 -0
  186. package/template/.agents/skills/design/impeccable/scripts/live-accept.mjs +812 -0
  187. package/template/.agents/skills/design/impeccable/scripts/live-browser-session.js +123 -0
  188. package/template/.agents/skills/design/impeccable/scripts/live-browser.js +10316 -0
  189. package/template/.agents/skills/design/impeccable/scripts/live-commit-manual-edits.mjs +1241 -0
  190. package/template/.agents/skills/design/impeccable/scripts/live-complete.mjs +75 -0
  191. package/template/.agents/skills/design/impeccable/scripts/live-completion.mjs +19 -0
  192. package/template/.agents/skills/design/impeccable/scripts/live-copy-edit-agent.mjs +683 -0
  193. package/template/.agents/skills/design/impeccable/scripts/live-discard-manual-edits.mjs +51 -0
  194. package/template/.agents/skills/design/impeccable/scripts/live-event-validation.mjs +136 -0
  195. package/template/.agents/skills/design/impeccable/scripts/live-inject.mjs +557 -0
  196. package/template/.agents/skills/design/impeccable/scripts/live-insert-ui.mjs +458 -0
  197. package/template/.agents/skills/design/impeccable/scripts/live-insert.mjs +272 -0
  198. package/template/.agents/skills/design/impeccable/scripts/live-manual-edit-evidence.mjs +363 -0
  199. package/template/.agents/skills/design/impeccable/scripts/live-manual-edits-buffer.mjs +152 -0
  200. package/template/.agents/skills/design/impeccable/scripts/live-poll.mjs +379 -0
  201. package/template/.agents/skills/design/impeccable/scripts/live-resume.mjs +94 -0
  202. package/template/.agents/skills/design/impeccable/scripts/live-server.mjs +2322 -0
  203. package/template/.agents/skills/design/impeccable/scripts/live-session-store.mjs +289 -0
  204. package/template/.agents/skills/design/impeccable/scripts/live-status.mjs +61 -0
  205. package/template/.agents/skills/design/impeccable/scripts/live-svelte-component.mjs +826 -0
  206. package/template/.agents/skills/design/impeccable/scripts/live-sveltekit-adapter.mjs +274 -0
  207. package/template/.agents/skills/design/impeccable/scripts/live-ui-core.mjs +179 -0
  208. package/template/.agents/skills/design/impeccable/scripts/live-wrap.mjs +894 -0
  209. package/template/.agents/skills/design/impeccable/scripts/live.mjs +246 -0
  210. package/template/.agents/skills/design/impeccable/scripts/modern-screenshot.umd.js +14 -0
  211. package/template/.agents/skills/design/impeccable/scripts/palette.mjs +633 -0
  212. package/template/.agents/skills/design/impeccable/scripts/pin.mjs +214 -0
  213. package/template/.agents/skills/design/shadcn/SKILL.md +242 -0
  214. package/template/.agents/skills/design/shadcn/agents/openai.yml +5 -0
  215. package/template/.agents/skills/design/shadcn/assets/shadcn-small.png +0 -0
  216. package/template/.agents/skills/design/shadcn/assets/shadcn.png +0 -0
  217. package/template/.agents/skills/design/shadcn/cli.md +257 -0
  218. package/template/.agents/skills/design/shadcn/customization.md +202 -0
  219. package/template/.agents/skills/design/shadcn/evals/evals.json +47 -0
  220. package/template/.agents/skills/design/shadcn/mcp.md +94 -0
  221. package/template/.agents/skills/design/shadcn/rules/base-vs-radix.md +306 -0
  222. package/template/.agents/skills/design/shadcn/rules/composition.md +195 -0
  223. package/template/.agents/skills/design/shadcn/rules/forms.md +192 -0
  224. package/template/.agents/skills/design/shadcn/rules/icons.md +101 -0
  225. package/template/.agents/skills/design/shadcn/rules/styling.md +162 -0
  226. package/template/.agents/skills/find-skills/SKILL.md +142 -0
  227. package/template/.agents/skills/integrations/langfuse/SKILL.md +142 -0
  228. package/template/.agents/skills/integrations/langfuse/references/cli.md +52 -0
  229. package/template/.agents/skills/integrations/langfuse/references/error-analysis.md +100 -0
  230. package/template/.agents/skills/integrations/langfuse/references/instrumentation.md +134 -0
  231. package/template/.agents/skills/integrations/langfuse/references/judge-calibration.md +288 -0
  232. package/template/.agents/skills/integrations/langfuse/references/prompt-migration.md +234 -0
  233. package/template/.agents/skills/integrations/langfuse/references/sdk-upgrade.md +175 -0
  234. package/template/.agents/skills/integrations/langfuse/references/skill-feedback.md +52 -0
  235. package/template/.agents/skills/integrations/langfuse/references/user-feedback.md +88 -0
  236. package/template/.agents/skills/integrations/posthog/SKILL.md +102 -0
  237. package/template/.agents/skills/integrations/posthog/references/error-tracking-alerts.md +63 -0
  238. package/template/.agents/skills/integrations/posthog/references/error-tracking-assigning-issues.md +77 -0
  239. package/template/.agents/skills/integrations/posthog/references/error-tracking-fingerprints.md +57 -0
  240. package/template/.agents/skills/integrations/posthog/references/error-tracking-monitoring.md +140 -0
  241. package/template/.agents/skills/integrations/posthog/references/error-tracking-nextjs.md +490 -0
  242. package/template/.agents/skills/integrations/posthog/references/error-tracking-source-maps.md +45 -0
  243. package/template/.agents/skills/integrations/posthog/references/feature-flags-best-practices.md +139 -0
  244. package/template/.agents/skills/integrations/posthog/references/feature-flags-react.md +302 -0
  245. package/template/.agents/skills/integrations/posthog/references/identify-users.md +202 -0
  246. package/template/.agents/skills/integrations/posthog/references/integration-example.md +706 -0
  247. package/template/.agents/skills/integrations/posthog/references/integration-nextjs.md +385 -0
  248. package/template/.agents/skills/integrations/posthog/references/integration-step-1-begin.md +43 -0
  249. package/template/.agents/skills/integrations/posthog/references/integration-step-2-edit.md +37 -0
  250. package/template/.agents/skills/integrations/posthog/references/integration-step-3-revise.md +22 -0
  251. package/template/.agents/skills/integrations/posthog/references/integration-step-4-conclude.md +38 -0
  252. package/template/.agents/skills/integrations/posthog/references/llm-analytics-anthropic.md +200 -0
  253. package/template/.agents/skills/integrations/posthog/references/llm-analytics-basics.md +62 -0
  254. package/template/.agents/skills/integrations/posthog/references/llm-analytics-costs.md +197 -0
  255. package/template/.agents/skills/integrations/posthog/references/llm-analytics-manual-capture.md +397 -0
  256. package/template/.agents/skills/integrations/posthog/references/llm-analytics-traces.md +98 -0
  257. package/template/.agents/skills/integrations/posthog/references/llm-analytics-vercel-ai.md +120 -0
  258. package/template/.agents/skills/repo/repo-ci/SKILL.md +265 -0
  259. package/template/.agents/skills/repo/repo-init-next-js/SKILL.md +129 -0
  260. package/template/.agents/skills/repo/repo-init-next-js/references/file-contents.md +800 -0
  261. package/template/.agents/skills/repo/repo-init-next-js/scripts/setup.sh +47 -0
  262. package/template/.agents/skills/repo/repo-init-node/SKILL.md +196 -0
  263. package/template/.agents/skills/skill-creator/LICENSE.txt +202 -0
  264. package/template/.agents/skills/skill-creator/SKILL.md +485 -0
  265. package/template/.agents/skills/skill-creator/agents/analyzer.md +274 -0
  266. package/template/.agents/skills/skill-creator/agents/comparator.md +202 -0
  267. package/template/.agents/skills/skill-creator/agents/grader.md +223 -0
  268. package/template/.agents/skills/skill-creator/assets/eval_review.html +146 -0
  269. package/template/.agents/skills/skill-creator/eval-viewer/generate_review.py +471 -0
  270. package/template/.agents/skills/skill-creator/eval-viewer/viewer.html +1325 -0
  271. package/template/.agents/skills/skill-creator/references/schemas.md +430 -0
  272. package/template/.agents/skills/skill-creator/scripts/__init__.py +0 -0
  273. package/template/.agents/skills/skill-creator/scripts/aggregate_benchmark.py +401 -0
  274. package/template/.agents/skills/skill-creator/scripts/generate_report.py +326 -0
  275. package/template/.agents/skills/skill-creator/scripts/improve_description.py +247 -0
  276. package/template/.agents/skills/skill-creator/scripts/package_skill.py +136 -0
  277. package/template/.agents/skills/skill-creator/scripts/quick_validate.py +103 -0
  278. package/template/.agents/skills/skill-creator/scripts/run_eval.py +310 -0
  279. package/template/.agents/skills/skill-creator/scripts/run_loop.py +328 -0
  280. package/template/.agents/skills/skill-creator/scripts/utils.py +47 -0
  281. package/template/.agents/upstreams.json +80 -0
@@ -0,0 +1,311 @@
1
+ > **Additional context needed**: target platforms/devices and usage contexts.
2
+
3
+ Adapt an existing design to a different context: another screen size, device, platform, or use case. The trap is treating adaptation as scaling. The job is rethinking the experience for the new context.
4
+
5
+
6
+ ---
7
+
8
+ ## Assess Adaptation Challenge
9
+
10
+ Understand what needs adaptation and why:
11
+
12
+ 1. **Identify the source context**:
13
+ - What was it designed for originally? (Desktop web? Mobile app?)
14
+ - What assumptions were made? (Large screen? Mouse input? Fast connection?)
15
+ - What works well in current context?
16
+
17
+ 2. **Understand target context**:
18
+ - **Device**: Mobile, tablet, desktop, TV, watch, print?
19
+ - **Input method**: Touch, mouse, keyboard, voice, gamepad?
20
+ - **Screen constraints**: Size, resolution, orientation?
21
+ - **Connection**: Fast wifi, slow 3G, offline?
22
+ - **Usage context**: On-the-go vs desk, quick glance vs focused reading?
23
+ - **User expectations**: What do users expect on this platform?
24
+
25
+ 3. **Identify adaptation challenges**:
26
+ - What won't fit? (Content, navigation, features)
27
+ - What won't work? (Hover states on touch, tiny touch targets)
28
+ - What's inappropriate? (Desktop patterns on mobile, mobile patterns on desktop)
29
+
30
+ **CRITICAL**: Adaptation is rethinking the experience for the new context, not scaling pixels.
31
+
32
+ ## Plan Adaptation Strategy
33
+
34
+ Create context-appropriate strategy:
35
+
36
+ ### Mobile Adaptation (Desktop → Mobile)
37
+
38
+ **Layout Strategy**:
39
+ - Single column instead of multi-column
40
+ - Vertical stacking instead of side-by-side
41
+ - Full-width components instead of fixed widths
42
+ - Bottom navigation instead of top/side navigation
43
+
44
+ **Interaction Strategy**:
45
+ - Touch targets 44x44px minimum (not hover-dependent)
46
+ - Swipe gestures where appropriate (lists, carousels)
47
+ - Bottom sheets instead of dropdowns
48
+ - Thumbs-first design (controls within thumb reach)
49
+ - Larger tap areas with more spacing
50
+
51
+ **Content Strategy**:
52
+ - Progressive disclosure (don't show everything at once)
53
+ - Prioritize primary content (secondary content in tabs/accordions)
54
+ - Shorter text (more concise)
55
+ - Larger text (16px minimum)
56
+
57
+ **Navigation Strategy**:
58
+ - Hamburger menu or bottom navigation
59
+ - Reduce navigation complexity
60
+ - Sticky headers for context
61
+ - Back button in navigation flow
62
+
63
+ ### Tablet Adaptation (Hybrid Approach)
64
+
65
+ **Layout Strategy**:
66
+ - Two-column layouts (not single or three-column)
67
+ - Side panels for secondary content
68
+ - Master-detail views (list + detail)
69
+ - Adaptive based on orientation (portrait vs landscape)
70
+
71
+ **Interaction Strategy**:
72
+ - Support both touch and pointer
73
+ - Touch targets 44x44px but allow denser layouts than phone
74
+ - Side navigation drawers
75
+ - Multi-column forms where appropriate
76
+
77
+ ### Desktop Adaptation (Mobile → Desktop)
78
+
79
+ **Layout Strategy**:
80
+ - Multi-column layouts (use horizontal space)
81
+ - Side navigation always visible
82
+ - Multiple information panels simultaneously
83
+ - Fixed widths with max-width constraints (don't stretch to 4K)
84
+
85
+ **Interaction Strategy**:
86
+ - Hover states for additional information
87
+ - Keyboard shortcuts
88
+ - Right-click context menus
89
+ - Drag and drop where helpful
90
+ - Multi-select with Shift/Cmd
91
+
92
+ **Content Strategy**:
93
+ - Show more information upfront (less progressive disclosure)
94
+ - Data tables with many columns
95
+ - Richer visualizations
96
+ - More detailed descriptions
97
+
98
+ ### Print Adaptation (Screen → Print)
99
+
100
+ **Layout Strategy**:
101
+ - Page breaks at logical points
102
+ - Remove navigation, footer, interactive elements
103
+ - Black and white (or limited color)
104
+ - Proper margins for binding
105
+
106
+ **Content Strategy**:
107
+ - Expand shortened content (show full URLs, hidden sections)
108
+ - Add page numbers, headers, footers
109
+ - Include metadata (print date, page title)
110
+ - Convert charts to print-friendly versions
111
+
112
+ ### Email Adaptation (Web → Email)
113
+
114
+ **Layout Strategy**:
115
+ - Narrow width (600px max)
116
+ - Single column only
117
+ - Inline CSS (no external stylesheets)
118
+ - Table-based layouts (for email client compatibility)
119
+
120
+ **Interaction Strategy**:
121
+ - Large, obvious CTAs (buttons not text links)
122
+ - No hover states (not reliable)
123
+ - Deep links to web app for complex interactions
124
+
125
+ ## Implement Adaptations
126
+
127
+ Apply changes systematically:
128
+
129
+ ### Responsive Breakpoints
130
+
131
+ Choose appropriate breakpoints:
132
+ - Mobile: 320px-767px
133
+ - Tablet: 768px-1023px
134
+ - Desktop: 1024px+
135
+ - Or content-driven breakpoints (where design breaks)
136
+
137
+ ### Layout Adaptation Techniques
138
+
139
+ - **CSS Grid/Flexbox**: Reflow layouts automatically
140
+ - **Container Queries**: Adapt based on container, not viewport
141
+ - **`clamp()`**: Fluid sizing between min and max
142
+ - **Media queries**: Different styles for different contexts
143
+ - **Display properties**: Show/hide elements per context
144
+
145
+ ### Touch Adaptation
146
+
147
+ - Increase touch target sizes (44x44px minimum)
148
+ - Add more spacing between interactive elements
149
+ - Remove hover-dependent interactions
150
+ - Add touch feedback (ripples, highlights)
151
+ - Consider thumb zones (easier to reach bottom than top)
152
+
153
+ ### Content Adaptation
154
+
155
+ - Use `display: none` sparingly (still downloads)
156
+ - Progressive enhancement (core content first, enhancements on larger screens)
157
+ - Lazy loading for off-screen content
158
+ - Responsive images (`srcset`, `picture` element)
159
+
160
+ ### Navigation Adaptation
161
+
162
+ - Transform complex nav to hamburger/drawer on mobile
163
+ - Bottom nav bar for mobile apps
164
+ - Persistent side navigation on desktop
165
+ - Breadcrumbs on smaller screens for context
166
+
167
+ **IMPORTANT**: Test on real devices. Device emulation in DevTools is helpful but not perfect.
168
+
169
+ **NEVER**:
170
+ - Hide core functionality on mobile (if it matters, make it work)
171
+ - Assume desktop = powerful device (consider accessibility, older machines)
172
+ - Use different information architecture across contexts (confusing)
173
+ - Break user expectations for platform (mobile users expect mobile patterns)
174
+ - Forget landscape orientation on mobile/tablet
175
+ - Use generic breakpoints blindly (use content-driven breakpoints)
176
+ - Ignore touch on desktop (many desktop devices have touch)
177
+
178
+ ## Verify Adaptations
179
+
180
+ Test thoroughly across contexts:
181
+
182
+ - **Real devices**: Test on actual phones, tablets, desktops
183
+ - **Different orientations**: Portrait and landscape
184
+ - **Different browsers**: Safari, Chrome, Firefox, Edge
185
+ - **Different OS**: iOS, Android, Windows, macOS
186
+ - **Different input methods**: Touch, mouse, keyboard
187
+ - **Edge cases**: Very small screens (320px), very large screens (4K)
188
+ - **Slow connections**: Test on throttled network
189
+
190
+ When the adaptation feels native to each context, hand off to `/impeccable polish` for the final pass.
191
+
192
+ ---
193
+
194
+ ## Reference Material
195
+
196
+ The sections below were previously `responsive-design.md` and live inline now so the adapt flow has its deep responsive reference in one place.
197
+
198
+ ### Responsive Design
199
+
200
+ #### Mobile-First: Write It Right
201
+
202
+ Start with base styles for mobile, use `min-width` queries to layer complexity. Desktop-first (`max-width`) means mobile loads unnecessary styles first.
203
+
204
+ #### Breakpoints: Content-Driven
205
+
206
+ Don't chase device sizes; let content tell you where to break. Start narrow, stretch until design breaks, add breakpoint there. Three breakpoints usually suffice (640, 768, 1024px). Use `clamp()` for fluid values without breakpoints.
207
+
208
+ #### Detect Input Method, Not Just Screen Size
209
+
210
+ **Screen size doesn't tell you input method.** A laptop with touchscreen, a tablet with keyboard. Use pointer and hover queries:
211
+
212
+ ```css
213
+ /* Fine pointer (mouse, trackpad) */
214
+ @media (pointer: fine) {
215
+ .button { padding: 8px 16px; }
216
+ }
217
+
218
+ /* Coarse pointer (touch, stylus) */
219
+ @media (pointer: coarse) {
220
+ .button { padding: 12px 20px; } /* Larger touch target */
221
+ }
222
+
223
+ /* Device supports hover */
224
+ @media (hover: hover) {
225
+ .card:hover { transform: translateY(-2px); }
226
+ }
227
+
228
+ /* Device doesn't support hover (touch) */
229
+ @media (hover: none) {
230
+ .card { /* No hover state - use active instead */ }
231
+ }
232
+ ```
233
+
234
+ **Critical**: Don't rely on hover for functionality. Touch users can't hover.
235
+
236
+ #### Safe Areas: Handle the Notch
237
+
238
+ Modern phones have notches, rounded corners, and home indicators. Use `env()`:
239
+
240
+ ```css
241
+ body {
242
+ padding-top: env(safe-area-inset-top);
243
+ padding-bottom: env(safe-area-inset-bottom);
244
+ padding-left: env(safe-area-inset-left);
245
+ padding-right: env(safe-area-inset-right);
246
+ }
247
+
248
+ /* With fallback */
249
+ .footer {
250
+ padding-bottom: max(1rem, env(safe-area-inset-bottom));
251
+ }
252
+ ```
253
+
254
+ **Enable viewport-fit** in your meta tag:
255
+ ```html
256
+ <meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
257
+ ```
258
+
259
+ #### Responsive Images: Get It Right
260
+
261
+ ##### srcset with Width Descriptors
262
+
263
+ ```html
264
+ <img
265
+ src="hero-800.jpg"
266
+ srcset="
267
+ hero-400.jpg 400w,
268
+ hero-800.jpg 800w,
269
+ hero-1200.jpg 1200w
270
+ "
271
+ sizes="(max-width: 768px) 100vw, 50vw"
272
+ alt="Hero image"
273
+ >
274
+ ```
275
+
276
+ **How it works**:
277
+ - `srcset` lists available images with their actual widths (`w` descriptors)
278
+ - `sizes` tells the browser how wide the image will display
279
+ - Browser picks the best file based on viewport width AND device pixel ratio
280
+
281
+ ##### Picture Element for Art Direction
282
+
283
+ When you need different crops/compositions (not just resolutions):
284
+
285
+ ```html
286
+ <picture>
287
+ <source media="(min-width: 768px)" srcset="wide.jpg">
288
+ <source media="(max-width: 767px)" srcset="tall.jpg">
289
+ <img src="fallback.jpg" alt="...">
290
+ </picture>
291
+ ```
292
+
293
+ #### Layout Adaptation Patterns
294
+
295
+ **Navigation**: Three stages: hamburger + drawer on mobile, horizontal compact on tablet, full with labels on desktop. **Tables**: Transform to cards on mobile using `display: block` and `data-label` attributes. **Progressive disclosure**: Use `<details>/<summary>` for content that can collapse on mobile.
296
+
297
+ #### Testing: Don't Trust DevTools Alone
298
+
299
+ DevTools device emulation is useful for layout but misses:
300
+
301
+ - Actual touch interactions
302
+ - Real CPU/memory constraints
303
+ - Network latency patterns
304
+ - Font rendering differences
305
+ - Browser chrome/keyboard appearances
306
+
307
+ **Test on at least**: One real iPhone, one real Android, a tablet if relevant. Cheap Android phones reveal performance issues you'll never see on simulators.
308
+
309
+ ---
310
+
311
+ **Avoid**: Desktop-first design. Device detection instead of feature detection. Separate mobile/desktop codebases. Ignoring tablet and landscape. Assuming all mobile devices are powerful.
@@ -0,0 +1,201 @@
1
+ > **Additional context needed**: performance constraints.
2
+
3
+ Add motion that conveys state, gives feedback, and clarifies hierarchy. Cut motion that exists only for decoration. Animation fatigue is a real cost; spend the budget on the moments that need it.
4
+
5
+ ---
6
+
7
+ ## Register
8
+
9
+ Brand: motion is part of the voice; one well-rehearsed entrance beats scattered micro-interactions. The saturated AI default is fade-and-rise reveals on every scrolled section; that's a tell, not a choreography. Reserve scroll-triggered motion for moments that earn it.
10
+
11
+ Product: 150–250 ms on most transitions. Motion conveys state: feedback, reveal, loading, transitions between views. No page-load choreography; users are in a task and won't wait for it.
12
+
13
+ ---
14
+
15
+ ## Assess Animation Opportunities
16
+
17
+ Analyze where motion would improve the experience:
18
+
19
+ 1. **Identify static areas**:
20
+ - **Missing feedback**: Actions without visual acknowledgment (button clicks, form submission, etc.)
21
+ - **Jarring transitions**: Instant state changes that feel abrupt (show/hide, page loads, route changes)
22
+ - **Unclear relationships**: Spatial or hierarchical relationships that aren't obvious
23
+ - **Lack of delight**: Functional but joyless interactions
24
+ - **Missed guidance**: Opportunities to direct attention or explain behavior
25
+
26
+ 2. **Understand the context**:
27
+ - What's the personality? (Playful vs serious, energetic vs calm)
28
+ - What's the performance budget? (Mobile-first? Complex page?)
29
+ - Who's the audience? (Motion-sensitive users? Power users who want speed?)
30
+ - What matters most? (One hero animation vs many micro-interactions?)
31
+
32
+ If any of these are unclear from the codebase, STOP and call the `question` tool to clarify.
33
+
34
+ **CRITICAL**: Respect `prefers-reduced-motion`. Always provide non-animated alternatives for users who need them.
35
+
36
+ ## Plan Animation Strategy
37
+
38
+ Create a purposeful animation plan:
39
+
40
+ - **Hero moment**: What's the ONE signature animation? (Page load? Hero section? Key interaction?)
41
+ - **Feedback layer**: Which interactions need acknowledgment?
42
+ - **Transition layer**: Which state changes need smoothing?
43
+ - **Delight layer**: Where can we surprise and delight?
44
+
45
+ **IMPORTANT**: One well-orchestrated experience beats scattered animations everywhere. Focus on high-impact moments.
46
+
47
+ ## Implement Animations
48
+
49
+ Add motion systematically across these categories:
50
+
51
+ ### Entrance Animations
52
+ - **Hero section**: Dramatic entrance for primary content (scale, parallax, or creative effects)
53
+ - **Modal/drawer entry**: Smooth slide + fade, backdrop fade, focus management
54
+ - **List rhythm**: Sibling stagger is legitimate for cards-in-a-grid or list-items-appearing. Whole-section fade-on-scroll is not a list and is not legitimate. Cap total stagger time: 10 items at 50ms each = 500ms total. For more items, reduce per-item delay or cap the staggered count.
55
+
56
+ Use CSS custom properties for clean stagger: `animation-delay: calc(var(--i, 0) * 50ms)` with `style="--i: 0"`, `style="--i: 1"`, etc. on each item.
57
+
58
+ ### Micro-interactions
59
+ - **Button feedback**:
60
+ - Hover: Subtle scale (1.02-1.05), color shift, shadow increase
61
+ - Click: Quick scale down then up (0.95 → 1), ripple effect
62
+ - Loading: Spinner or pulse state
63
+ - **Form interactions**:
64
+ - Input focus: Border color transition, slight scale or glow
65
+ - Validation: Shake on error, check mark on success, smooth color transitions
66
+ - **Toggle switches**: Smooth slide + color transition (200-300ms)
67
+ - **Checkboxes/radio**: Check mark animation, ripple effect
68
+ - **Like/favorite**: Scale + rotation, particle effects, color transition
69
+
70
+ ### State Transitions
71
+ - **Show/hide**: Fade + slide (not instant), appropriate timing (200-300ms)
72
+ - **Expand/collapse**: Height transition with overflow handling, icon rotation
73
+ - **Loading states**: Skeleton screen fades, spinner animations, progress bars
74
+ - **Success/error**: Color transitions, icon animations, gentle scale pulse
75
+ - **Enable/disable**: Opacity transitions, cursor changes
76
+
77
+ ### Navigation & Flow
78
+ - **Page transitions**: Crossfade between routes, shared element transitions
79
+ - **Tab switching**: Slide indicator, content fade/slide
80
+ - **Carousel/slider**: Smooth transforms, snap points, momentum
81
+ - **Scroll effects**: Parallax layers, sticky headers with state changes, scroll progress indicators
82
+
83
+ ### Feedback & Guidance
84
+ - **Hover hints**: Tooltip fade-ins, cursor changes, element highlights
85
+ - **Drag & drop**: Lift effect (shadow + scale), drop zone highlights, smooth repositioning
86
+ - **Copy/paste**: Brief highlight flash on paste, "copied" confirmation
87
+ - **Focus flow**: Highlight path through form or workflow
88
+
89
+ ### Delight Moments
90
+ - **Empty states**: Subtle floating animations on illustrations
91
+ - **Completed actions**: Confetti, check mark flourish, success celebrations
92
+ - **Easter eggs**: Hidden interactions for discovery
93
+ - **Contextual animation**: Weather effects, time-of-day themes, seasonal touches
94
+
95
+ ## Technical Implementation
96
+
97
+ Use appropriate techniques for each animation:
98
+
99
+ ### Timing & Easing
100
+
101
+ **Duration: the 100/300/500 rule.** Timing matters more than easing for "feels right":
102
+
103
+ | Duration | Use Case | Examples |
104
+ |----------|----------|----------|
105
+ | **100–150ms** | Instant feedback | Button press, toggle, color change |
106
+ | **200–300ms** | State changes | Menu open, tooltip, hover state |
107
+ | **300–500ms** | Layout changes | Accordion, modal, drawer |
108
+ | **500–800ms** | Entrance animations | Page load, hero reveal |
109
+
110
+ **Easing curves (use these, not CSS defaults):**
111
+ ```css
112
+ /* Recommended: natural deceleration */
113
+ --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1); /* Smooth */
114
+ --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1); /* Slightly snappier */
115
+ --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1); /* Confident, decisive */
116
+
117
+ /* AVOID: feel dated and tacky */
118
+ /* bounce: cubic-bezier(0.34, 1.56, 0.64, 1); */
119
+ /* elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6); */
120
+ ```
121
+
122
+ **Exit animations are faster than entrances.** Use ~75% of enter duration.
123
+
124
+ ### CSS Animations
125
+ ```css
126
+ /* Prefer for simple, declarative animations */
127
+ - transitions for state changes
128
+ - @keyframes for complex sequences
129
+ - transform and opacity for reliable movement
130
+ - blur, filters, masks, clip paths, shadows, and color shifts for premium atmospheric effects when verified smooth
131
+ ```
132
+
133
+ ### JavaScript Animation
134
+ ```javascript
135
+ /* Use for complex, interactive animations */
136
+ - Web Animations API for programmatic control
137
+ - Framer Motion for React
138
+ - GSAP for complex sequences
139
+ ```
140
+
141
+ ### Motion Materials
142
+
143
+ Transform and opacity are reliable defaults, not the whole palette. Premium interfaces often need atmospheric properties. Match material to effect:
144
+
145
+ - **Transform / opacity**: movement, press feedback, simple reveals, list choreography
146
+ - **Blur / filter / backdrop-filter**: focus pulls, depth, glass or lens effects, softened entrances
147
+ - **Clip-path / masks**: wipes, reveals, editorial cropping, product-like transitions
148
+ - **Shadow / glow / color filters**: energy, affordance, focus, warmth, active state
149
+ - **Grid-template-rows or FLIP-style transforms**: expanding and reflowing layout without animating `height` directly
150
+
151
+ The hard rule isn't "transform and opacity only." It's: avoid animating layout-driving properties casually (`width`, `height`, `top`, `left`, margins), keep expensive effects bounded to small or isolated areas, and verify smoothness in-browser on target viewports.
152
+
153
+ ### Performance
154
+ - **Layout safety**: Avoid casual animation of layout-driving properties (`width`, `height`, `top`, `left`, margins)
155
+ - **will-change**: Add sparingly for known expensive animations only (e.g. on `:hover` or an `.animating` class), never preemptively across the whole page
156
+ - **Scroll triggers**: Use Intersection Observer instead of scroll event listeners; unobserve after the animation fires once
157
+ - **Bound expensive effects**: Keep blur/filter/shadow areas small or isolated, use `contain` where appropriate
158
+ - **Monitor FPS**: Ensure 60fps on target devices
159
+
160
+ ### Perceived Performance
161
+
162
+ Nobody cares how fast your site *is*, only how fast it feels. The 80ms threshold: anything under ~80ms feels instant because our brains buffer sensory input for that long to synchronize perception. Target this for micro-interactions.
163
+
164
+ - **Preemptive start**: Begin transitions immediately while loading (iOS app zoom, skeleton UI). Users perceive work happening.
165
+ - **Early completion**: Show content progressively, don't wait for everything (progressive images, streaming HTML, skeleton fade-ins).
166
+ - **Optimistic UI**: Update the interface immediately, handle failures gracefully. Use for low-stakes actions (likes, follows). Avoid for payments or destructive operations.
167
+ - **Easing affects perceived duration**: Ease-in (accelerating toward completion) makes tasks feel shorter because the peak-end effect weights final moments heavily. Ease-out feels satisfying for entrances.
168
+ - **Caution**: Too-fast responses can decrease perceived value for complex operations (search, analysis). Sometimes a brief delay signals "real work" is happening.
169
+
170
+ ### Accessibility
171
+ ```css
172
+ @media (prefers-reduced-motion: reduce) {
173
+ * {
174
+ animation-duration: 0.01ms !important;
175
+ animation-iteration-count: 1 !important;
176
+ transition-duration: 0.01ms !important;
177
+ }
178
+ }
179
+ ```
180
+
181
+ **NEVER**:
182
+ - Use bounce or elastic easing curves; they feel dated and draw attention to the animation itself
183
+ - Animate layout properties casually (`width`, `height`, `top`, `left`, margins) when transform, FLIP, or grid-based techniques would work
184
+ - Use durations over 500ms for feedback (it feels laggy)
185
+ - Animate without purpose (every animation needs a reason)
186
+ - Ignore `prefers-reduced-motion` (this is an accessibility violation)
187
+ - Animate everything (animation fatigue makes interfaces feel exhausting)
188
+ - Block interaction during animations unless intentional
189
+
190
+ ## Verify Quality
191
+
192
+ Test animations thoroughly:
193
+
194
+ - **Smooth at 60fps**: No jank on target devices
195
+ - **Feels natural**: Easing curves feel organic, not robotic
196
+ - **Appropriate timing**: Not too fast (jarring) or too slow (laggy)
197
+ - **Reduced motion works**: Animations disabled or simplified appropriately
198
+ - **Doesn't block**: Users can interact during/after animations
199
+ - **Adds value**: Makes interface clearer or more delightful
200
+
201
+ When the motion clarifies state instead of decorating it, hand off to `/impeccable polish` for the final pass.
@@ -0,0 +1,133 @@
1
+ Run systematic **technical** quality checks and generate a comprehensive report. Don't fix issues; document them for other commands to address.
2
+
3
+ This is a code-level audit, not a design critique. Check what's measurable and verifiable in the implementation.
4
+
5
+ ## Diagnostic Scan
6
+
7
+ Run comprehensive checks across 5 dimensions. Score each dimension 0-4 using the criteria below.
8
+
9
+ ### 1. Accessibility (A11y)
10
+
11
+ **Check for**:
12
+ - **Contrast issues**: Text contrast ratios < 4.5:1 (or 7:1 for AAA)
13
+ - **Missing ARIA**: Interactive elements without proper roles, labels, or states
14
+ - **Keyboard navigation**: Missing focus indicators, illogical tab order, keyboard traps
15
+ - **Semantic HTML**: Improper heading hierarchy, missing landmarks, divs instead of buttons
16
+ - **Alt text**: Missing or poor image descriptions
17
+ - **Form issues**: Inputs without labels, poor error messaging, missing required indicators
18
+
19
+ **Score 0-4**: 0=Inaccessible (fails WCAG A), 1=Major gaps (few ARIA labels, no keyboard nav), 2=Partial (some a11y effort, significant gaps), 3=Good (WCAG AA mostly met, minor gaps), 4=Excellent (WCAG AA fully met, approaches AAA)
20
+
21
+ ### 2. Performance
22
+
23
+ **Check for**:
24
+ - **Layout thrashing**: Reading/writing layout properties in loops
25
+ - **Expensive animations**: Casual layout-property animation, unbounded blur/filter/shadow effects, or effects that visibly drop frames
26
+ - **Missing optimization**: Images without lazy loading, unoptimized assets, missing will-change
27
+ - **Bundle size**: Unnecessary imports, unused dependencies
28
+ - **Render performance**: Unnecessary re-renders, missing memoization
29
+
30
+ **Score 0-4**: 0=Severe issues (layout thrash, unoptimized everything), 1=Major problems (no lazy loading, expensive animations), 2=Partial (some optimization, gaps remain), 3=Good (mostly optimized, minor improvements possible), 4=Excellent (fast, lean, well-optimized)
31
+
32
+ ### 3. Theming
33
+
34
+ **Check for**:
35
+ - **Hard-coded colors**: Colors not using design tokens
36
+ - **Broken dark mode**: Missing dark mode variants, poor contrast in dark theme
37
+ - **Inconsistent tokens**: Using wrong tokens, mixing token types
38
+ - **Theme switching issues**: Values that don't update on theme change
39
+
40
+ **Score 0-4**: 0=No theming (hard-coded everything), 1=Minimal tokens (mostly hard-coded), 2=Partial (tokens exist but inconsistently used), 3=Good (tokens used, minor hard-coded values), 4=Excellent (full token system, dark mode works perfectly)
41
+
42
+ ### 4. Responsive Design
43
+
44
+ **Check for**:
45
+ - **Fixed widths**: Hard-coded widths that break on mobile
46
+ - **Touch targets**: Interactive elements < 44x44px
47
+ - **Horizontal scroll**: Content overflow on narrow viewports
48
+ - **Text scaling**: Layouts that break when text size increases
49
+ - **Missing breakpoints**: No mobile/tablet variants
50
+
51
+ **Score 0-4**: 0=Desktop-only (breaks on mobile), 1=Major issues (some breakpoints, many failures), 2=Partial (works on mobile, rough edges), 3=Good (responsive, minor touch target or overflow issues), 4=Excellent (fluid, all viewports, proper touch targets)
52
+
53
+ ### 5. Anti-Patterns (CRITICAL)
54
+
55
+ Check against ALL the **DON'T** guidelines from the parent impeccable skill (already loaded in this context). Look for AI slop tells (AI color palette, gradient text, glassmorphism, hero metrics, card grids, generic fonts) and general design anti-patterns (gray on color, nested cards, bounce easing, redundant copy).
56
+
57
+ **Score 0-4**: 0=AI slop gallery (5+ tells), 1=Heavy AI aesthetic (3-4 tells), 2=Some tells (1-2 noticeable), 3=Mostly clean (subtle issues only), 4=No AI tells (distinctive, intentional design)
58
+
59
+ ## Generate Report
60
+
61
+ ### Audit Health Score
62
+
63
+ | # | Dimension | Score | Key Finding |
64
+ |---|-----------|-------|-------------|
65
+ | 1 | Accessibility | ? | [most critical a11y issue or "--"] |
66
+ | 2 | Performance | ? | |
67
+ | 3 | Responsive Design | ? | |
68
+ | 4 | Theming | ? | |
69
+ | 5 | Anti-Patterns | ? | |
70
+ | **Total** | | **??/20** | **[Rating band]** |
71
+
72
+ **Rating bands**: 18-20 Excellent (minor polish), 14-17 Good (address weak dimensions), 10-13 Acceptable (significant work needed), 6-9 Poor (major overhaul), 0-5 Critical (fundamental issues)
73
+
74
+ ### Anti-Patterns Verdict
75
+ **Start here.** Pass/fail: Does this look AI-generated? List specific tells. Be brutally honest.
76
+
77
+ ### Executive Summary
78
+ - Audit Health Score: **??/20** ([rating band])
79
+ - Total issues found (count by severity: P0/P1/P2/P3)
80
+ - Top 3-5 critical issues
81
+ - Recommended next steps
82
+
83
+ ### Detailed Findings by Severity
84
+
85
+ Tag every issue with **P0-P3 severity**:
86
+ - **P0 Blocking**: Prevents task completion. Fix immediately
87
+ - **P1 Major**: Significant difficulty or WCAG AA violation. Fix before release
88
+ - **P2 Minor**: Annoyance, workaround exists. Fix in next pass
89
+ - **P3 Polish**: Nice-to-fix, no real user impact. Fix if time permits
90
+
91
+ For each issue, document:
92
+ - **[P?] Issue name**
93
+ - **Location**: Component, file, line
94
+ - **Category**: Accessibility / Performance / Theming / Responsive / Anti-Pattern
95
+ - **Impact**: How it affects users
96
+ - **WCAG/Standard**: Which standard it violates (if applicable)
97
+ - **Recommendation**: How to fix it
98
+ - **Suggested command**: Which command to use (prefer: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset)
99
+
100
+ ### Patterns & Systemic Issues
101
+
102
+ Identify recurring problems that indicate systemic gaps rather than one-off mistakes:
103
+ - "Hard-coded colors appear in 15+ components, should use design tokens"
104
+ - "Touch targets consistently too small (<44px) throughout mobile experience"
105
+
106
+ ### Positive Findings
107
+
108
+ Note what's working well: good practices to maintain and replicate.
109
+
110
+ ## Recommended Actions
111
+
112
+ List recommended commands in priority order (P0 first, then P1, then P2):
113
+
114
+ 1. **[P?] `/command-name`**: Brief description (specific context from audit findings)
115
+ 2. **[P?] `/command-name`**: Brief description (specific context)
116
+
117
+ **Rules**: Only recommend commands from: /impeccable adapt, /impeccable animate, /impeccable audit, /impeccable bolder, /impeccable clarify, /impeccable colorize, /impeccable critique, /impeccable delight, /impeccable distill, /impeccable document, /impeccable harden, /impeccable layout, /impeccable onboard, /impeccable optimize, /impeccable overdrive, /impeccable polish, /impeccable quieter, /impeccable shape, /impeccable typeset. Map findings to the most appropriate command. End with `/impeccable polish` as the final step if any fixes were recommended.
118
+
119
+ After presenting the summary, tell the user:
120
+
121
+ > You can ask me to run these one at a time, all at once, or in any order you prefer.
122
+ >
123
+ > Re-run `/impeccable audit` after fixes to see your score improve.
124
+
125
+ **IMPORTANT**: Be thorough but actionable. Too many P3 issues creates noise. Focus on what actually matters.
126
+
127
+ **NEVER**:
128
+ - Report issues without explaining impact (why does this matter?)
129
+ - Provide generic recommendations (be specific and actionable)
130
+ - Skip positive findings (celebrate what works)
131
+ - Forget to prioritize (everything can't be P0)
132
+ - Report false positives without verification
133
+