adevkit 0.1.0__py3-none-any.whl

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 (731) hide show
  1. adevkit-0.1.0.dist-info/METADATA +171 -0
  2. adevkit-0.1.0.dist-info/RECORD +731 -0
  3. adevkit-0.1.0.dist-info/WHEEL +5 -0
  4. adevkit-0.1.0.dist-info/entry_points.txt +3 -0
  5. adevkit-0.1.0.dist-info/top_level.txt +1 -0
  6. devkit/__init__.py +4 -0
  7. devkit/cli.py +442 -0
  8. devkit/config.py +21 -0
  9. devkit/prompts.py +197 -0
  10. devkit/scaffold/__init__.py +16 -0
  11. devkit/scaffold/agents_md.py +152 -0
  12. devkit/scaffold/env_setup.py +59 -0
  13. devkit/scaffold/git_setup.py +69 -0
  14. devkit/scaffold/prd_md.py +85 -0
  15. devkit/scaffold/vscode_setup.py +38 -0
  16. devkit/skills/__init__.py +10 -0
  17. devkit/skills/catalog.py +156 -0
  18. devkit/skills/embedded/SKILL.md +52 -0
  19. devkit/skills/embedded/animate/RECIPES.md +324 -0
  20. devkit/skills/embedded/animate/SKILL.md +207 -0
  21. devkit/skills/embedded/animate-expo/RECIPES.md +385 -0
  22. devkit/skills/embedded/animate-expo/SKILL.md +263 -0
  23. devkit/skills/embedded/animation-performance/SKILL.md +222 -0
  24. devkit/skills/embedded/animation-vocabulary/SKILL.md +181 -0
  25. devkit/skills/embedded/apple-design/SKILL.md +290 -0
  26. devkit/skills/embedded/ask-sonner/API.md +64 -0
  27. devkit/skills/embedded/ask-sonner/SKILL.md +88 -0
  28. devkit/skills/embedded/banner-design/SKILL.md +145 -0
  29. devkit/skills/embedded/banner-design/references/banner-sizes-and-styles.md +118 -0
  30. devkit/skills/embedded/brand/SKILL.md +108 -0
  31. devkit/skills/embedded/brand/references/approval-checklist.md +169 -0
  32. devkit/skills/embedded/brand/references/asset-organization.md +157 -0
  33. devkit/skills/embedded/brand/references/brand-guideline-template.md +140 -0
  34. devkit/skills/embedded/brand/references/color-palette-management.md +186 -0
  35. devkit/skills/embedded/brand/references/consistency-checklist.md +94 -0
  36. devkit/skills/embedded/brand/references/logo-usage-rules.md +185 -0
  37. devkit/skills/embedded/brand/references/messaging-framework.md +85 -0
  38. devkit/skills/embedded/brand/references/typography-specifications.md +214 -0
  39. devkit/skills/embedded/brand/references/update.md +129 -0
  40. devkit/skills/embedded/brand/references/visual-identity.md +96 -0
  41. devkit/skills/embedded/brand/references/voice-framework.md +88 -0
  42. devkit/skills/embedded/brand/scripts/extract-colors.cjs +337 -0
  43. devkit/skills/embedded/brand/scripts/inject-brand-context.cjs +349 -0
  44. devkit/skills/embedded/brand/scripts/sync-brand-to-tokens.cjs +415 -0
  45. devkit/skills/embedded/brand/scripts/tests/test_sync_brand_to_tokens.py +368 -0
  46. devkit/skills/embedded/brand/scripts/validate-asset.cjs +387 -0
  47. devkit/skills/embedded/brand/templates/brand-guidelines-starter.md +275 -0
  48. devkit/skills/embedded/break-ui/CATALOG.md +135 -0
  49. devkit/skills/embedded/break-ui/SKILL.md +175 -0
  50. devkit/skills/embedded/chrome-devtools/SKILL.md +74 -0
  51. devkit/skills/embedded/deploy-to-vercel/Archive.zip +0 -0
  52. devkit/skills/embedded/deploy-to-vercel/SKILL.md +296 -0
  53. devkit/skills/embedded/deploy-to-vercel/resources/deploy-codex.sh +301 -0
  54. devkit/skills/embedded/deploy-to-vercel/resources/deploy.sh +301 -0
  55. devkit/skills/embedded/design/SKILL.md +333 -0
  56. devkit/skills/embedded/design/data/cip/deliverables.csv +51 -0
  57. devkit/skills/embedded/design/data/cip/industries.csv +21 -0
  58. devkit/skills/embedded/design/data/cip/mockup-contexts.csv +21 -0
  59. devkit/skills/embedded/design/data/cip/styles.csv +21 -0
  60. devkit/skills/embedded/design/data/icon/styles.csv +16 -0
  61. devkit/skills/embedded/design/data/logo/colors.csv +56 -0
  62. devkit/skills/embedded/design/data/logo/industries.csv +56 -0
  63. devkit/skills/embedded/design/data/logo/styles.csv +56 -0
  64. devkit/skills/embedded/design/references/banner-sizes-and-styles.md +118 -0
  65. devkit/skills/embedded/design/references/cip-deliverable-guide.md +95 -0
  66. devkit/skills/embedded/design/references/cip-design.md +123 -0
  67. devkit/skills/embedded/design/references/cip-prompt-engineering.md +84 -0
  68. devkit/skills/embedded/design/references/cip-style-guide.md +68 -0
  69. devkit/skills/embedded/design/references/design-routing.md +207 -0
  70. devkit/skills/embedded/design/references/icon-design.md +122 -0
  71. devkit/skills/embedded/design/references/logo-color-psychology.md +101 -0
  72. devkit/skills/embedded/design/references/logo-design.md +110 -0
  73. devkit/skills/embedded/design/references/logo-prompt-engineering.md +158 -0
  74. devkit/skills/embedded/design/references/logo-style-guide.md +109 -0
  75. devkit/skills/embedded/design/references/slides-copywriting-formulas.md +84 -0
  76. devkit/skills/embedded/design/references/slides-create.md +4 -0
  77. devkit/skills/embedded/design/references/slides-html-template.md +295 -0
  78. devkit/skills/embedded/design/references/slides-layout-patterns.md +137 -0
  79. devkit/skills/embedded/design/references/slides-strategies.md +94 -0
  80. devkit/skills/embedded/design/references/slides.md +42 -0
  81. devkit/skills/embedded/design/references/social-photos-design.md +329 -0
  82. devkit/skills/embedded/design/scripts/cip/core.py +215 -0
  83. devkit/skills/embedded/design/scripts/cip/generate.py +504 -0
  84. devkit/skills/embedded/design/scripts/cip/render-html.py +424 -0
  85. devkit/skills/embedded/design/scripts/cip/search.py +127 -0
  86. devkit/skills/embedded/design/scripts/icon/generate.py +535 -0
  87. devkit/skills/embedded/design/scripts/logo/core.py +175 -0
  88. devkit/skills/embedded/design/scripts/logo/generate.py +812 -0
  89. devkit/skills/embedded/design/scripts/logo/search.py +114 -0
  90. devkit/skills/embedded/design/scripts/logo/tests/test_generate.py +454 -0
  91. devkit/skills/embedded/design/scripts/tests/test_cip_generate.py +134 -0
  92. devkit/skills/embedded/design/scripts/tests/test_icon_generate.py +178 -0
  93. devkit/skills/embedded/design-system/SKILL.md +248 -0
  94. devkit/skills/embedded/design-system/data/slide-backgrounds.csv +11 -0
  95. devkit/skills/embedded/design-system/data/slide-charts.csv +26 -0
  96. devkit/skills/embedded/design-system/data/slide-color-logic.csv +14 -0
  97. devkit/skills/embedded/design-system/data/slide-copy.csv +26 -0
  98. devkit/skills/embedded/design-system/data/slide-layout-logic.csv +16 -0
  99. devkit/skills/embedded/design-system/data/slide-layouts.csv +26 -0
  100. devkit/skills/embedded/design-system/data/slide-strategies.csv +16 -0
  101. devkit/skills/embedded/design-system/data/slide-typography.csv +15 -0
  102. devkit/skills/embedded/design-system/references/component-specs.md +236 -0
  103. devkit/skills/embedded/design-system/references/component-tokens.md +214 -0
  104. devkit/skills/embedded/design-system/references/primitive-tokens.md +203 -0
  105. devkit/skills/embedded/design-system/references/semantic-tokens.md +215 -0
  106. devkit/skills/embedded/design-system/references/states-and-variants.md +241 -0
  107. devkit/skills/embedded/design-system/references/tailwind-integration.md +251 -0
  108. devkit/skills/embedded/design-system/references/token-architecture.md +224 -0
  109. devkit/skills/embedded/design-system/scripts/embed-tokens.cjs +103 -0
  110. devkit/skills/embedded/design-system/scripts/fetch-background.py +339 -0
  111. devkit/skills/embedded/design-system/scripts/generate-slide.py +770 -0
  112. devkit/skills/embedded/design-system/scripts/generate-tokens.cjs +205 -0
  113. devkit/skills/embedded/design-system/scripts/html-token-validator.py +359 -0
  114. devkit/skills/embedded/design-system/scripts/search-slides.py +228 -0
  115. devkit/skills/embedded/design-system/scripts/slide-token-validator.py +35 -0
  116. devkit/skills/embedded/design-system/scripts/slide_search_core.py +453 -0
  117. devkit/skills/embedded/design-system/scripts/tests/test_validate_tokens.py +52 -0
  118. devkit/skills/embedded/design-system/scripts/validate-tokens.cjs +246 -0
  119. devkit/skills/embedded/design-system/templates/design-tokens-starter.json +143 -0
  120. devkit/skills/embedded/design-taste-frontend/README.md +81 -0
  121. devkit/skills/embedded/design-taste-frontend/SKILL.md +542 -0
  122. devkit/skills/embedded/design-taste-frontend/assets/app.css +216 -0
  123. devkit/skills/embedded/design-taste-frontend/assets/base.css +105 -0
  124. devkit/skills/embedded/design-taste-frontend/assets/base.js +37 -0
  125. devkit/skills/embedded/design-taste-frontend/assets/charts.js +619 -0
  126. devkit/skills/embedded/design-taste-frontend/assets/scenes/stage.css +28 -0
  127. devkit/skills/embedded/design-taste-frontend/assets/scenes/stage.js +134 -0
  128. devkit/skills/embedded/design-taste-frontend/evals/evals.json +76 -0
  129. devkit/skills/embedded/design-taste-frontend/library/app.json +1327 -0
  130. devkit/skills/embedded/design-taste-frontend/library/directions.json +1078 -0
  131. devkit/skills/embedded/design-taste-frontend/library/heroes.json +1086 -0
  132. devkit/skills/embedded/design-taste-frontend/library/motions.json +92 -0
  133. devkit/skills/embedded/design-taste-frontend/library/palettes.json +1485 -0
  134. devkit/skills/embedded/design-taste-frontend/library/photos.json +7240 -0
  135. devkit/skills/embedded/design-taste-frontend/library/sections.json +4429 -0
  136. devkit/skills/embedded/design-taste-frontend/library/sites.json +8350 -0
  137. devkit/skills/embedded/design-taste-frontend/library/type.json +2024 -0
  138. devkit/skills/embedded/design-taste-frontend/references/app-screens.md +1199 -0
  139. devkit/skills/embedded/design-taste-frontend/references/colour.md +141 -0
  140. devkit/skills/embedded/design-taste-frontend/references/copy.md +177 -0
  141. devkit/skills/embedded/design-taste-frontend/references/critique.md +182 -0
  142. devkit/skills/embedded/design-taste-frontend/references/imagery.md +791 -0
  143. devkit/skills/embedded/design-taste-frontend/references/layout.md +292 -0
  144. devkit/skills/embedded/design-taste-frontend/references/motion.md +980 -0
  145. devkit/skills/embedded/design-taste-frontend/references/research.md +356 -0
  146. devkit/skills/embedded/design-taste-frontend/references/scenes.md +174 -0
  147. devkit/skills/embedded/design-taste-frontend/references/tells.md +115 -0
  148. devkit/skills/embedded/design-taste-frontend/references/type.md +170 -0
  149. devkit/skills/embedded/design-taste-frontend/scripts/assets.mjs +865 -0
  150. devkit/skills/embedded/design-taste-frontend/scripts/draw.mjs +584 -0
  151. devkit/skills/embedded/design-taste-frontend/scripts/inspect.mjs +308 -0
  152. devkit/skills/embedded/design-taste-frontend/scripts/lib/app-draw.mjs +203 -0
  153. devkit/skills/embedded/design-taste-frontend/scripts/lib/cdp.mjs +248 -0
  154. devkit/skills/embedded/design-taste-frontend/scripts/lib/inspection-files.mjs +9 -0
  155. devkit/skills/embedded/design-taste-frontend/scripts/lib/probe.mjs +929 -0
  156. devkit/skills/embedded/design-taste-frontend/scripts/lib/rules.mjs +243 -0
  157. devkit/skills/embedded/design-taste-frontend/scripts/lint.mjs +119 -0
  158. devkit/skills/embedded/design-taste-frontend/scripts/scenes.mjs +124 -0
  159. devkit/skills/embedded/emil-design-eng/SKILL.md +674 -0
  160. devkit/skills/embedded/find-animation-opportunities/SKILL.md +140 -0
  161. devkit/skills/embedded/gemini-api-dev/SKILL.md +458 -0
  162. devkit/skills/embedded/gemini-api-dev/references/migration.md +180 -0
  163. devkit/skills/embedded/impeccable/SKILL.md +86 -0
  164. devkit/skills/embedded/impeccable/agents/impeccable_asset_producer.toml +47 -0
  165. devkit/skills/embedded/impeccable/agents/impeccable_documenter.toml +27 -0
  166. devkit/skills/embedded/impeccable/agents/impeccable_finish_reviewer.toml +41 -0
  167. devkit/skills/embedded/impeccable/agents/impeccable_manual_edit_applier.toml +95 -0
  168. devkit/skills/embedded/impeccable/agents/openai.yaml +4 -0
  169. devkit/skills/embedded/impeccable/reference/adapt.md +318 -0
  170. devkit/skills/embedded/impeccable/reference/adapt.native.md +58 -0
  171. devkit/skills/embedded/impeccable/reference/android.md +46 -0
  172. devkit/skills/embedded/impeccable/reference/animate.md +89 -0
  173. devkit/skills/embedded/impeccable/reference/audit.md +139 -0
  174. devkit/skills/embedded/impeccable/reference/audit.native.md +139 -0
  175. devkit/skills/embedded/impeccable/reference/bolder.md +33 -0
  176. devkit/skills/embedded/impeccable/reference/clarify.md +94 -0
  177. devkit/skills/embedded/impeccable/reference/colorize.md +86 -0
  178. devkit/skills/embedded/impeccable/reference/component-review.md +63 -0
  179. devkit/skills/embedded/impeccable/reference/craft-floor.md +50 -0
  180. devkit/skills/embedded/impeccable/reference/craft.md +5 -0
  181. devkit/skills/embedded/impeccable/reference/critique.md +841 -0
  182. devkit/skills/embedded/impeccable/reference/degraded/asset-producer.md +44 -0
  183. devkit/skills/embedded/impeccable/reference/degraded/documenter.md +24 -0
  184. devkit/skills/embedded/impeccable/reference/degraded/finish-reviewer.md +38 -0
  185. devkit/skills/embedded/impeccable/reference/degraded/manual-edit-applier.md +92 -0
  186. devkit/skills/embedded/impeccable/reference/delight.md +70 -0
  187. devkit/skills/embedded/impeccable/reference/distill.md +111 -0
  188. devkit/skills/embedded/impeccable/reference/doctor.md +54 -0
  189. devkit/skills/embedded/impeccable/reference/document.md +416 -0
  190. devkit/skills/embedded/impeccable/reference/extract.md +69 -0
  191. devkit/skills/embedded/impeccable/reference/generate.md +101 -0
  192. devkit/skills/embedded/impeccable/reference/harden.md +362 -0
  193. devkit/skills/embedded/impeccable/reference/hooks.md +113 -0
  194. devkit/skills/embedded/impeccable/reference/init.md +131 -0
  195. devkit/skills/embedded/impeccable/reference/ios.md +51 -0
  196. devkit/skills/embedded/impeccable/reference/layout.md +84 -0
  197. devkit/skills/embedded/impeccable/reference/live-setup.md +104 -0
  198. devkit/skills/embedded/impeccable/reference/live.md +327 -0
  199. devkit/skills/embedded/impeccable/reference/mode-operate.md +21 -0
  200. devkit/skills/embedded/impeccable/reference/mode-persuade.md +19 -0
  201. devkit/skills/embedded/impeccable/reference/mode-read.md +21 -0
  202. devkit/skills/embedded/impeccable/reference/new-work.md +152 -0
  203. devkit/skills/embedded/impeccable/reference/onboard.md +234 -0
  204. devkit/skills/embedded/impeccable/reference/operate.md +61 -0
  205. devkit/skills/embedded/impeccable/reference/optimize.md +257 -0
  206. devkit/skills/embedded/impeccable/reference/overdrive.md +127 -0
  207. devkit/skills/embedded/impeccable/reference/polish.md +105 -0
  208. devkit/skills/embedded/impeccable/reference/quieter.md +99 -0
  209. devkit/skills/embedded/impeccable/reference/region-map.md +26 -0
  210. devkit/skills/embedded/impeccable/reference/routing.md +24 -0
  211. devkit/skills/embedded/impeccable/reference/shape.md +59 -0
  212. devkit/skills/embedded/impeccable/reference/typeset.md +90 -0
  213. devkit/skills/embedded/impeccable/reference/visualize.md +47 -0
  214. devkit/skills/embedded/impeccable/scripts/VERSION +1 -0
  215. devkit/skills/embedded/impeccable/scripts/command-metadata.json +98 -0
  216. devkit/skills/embedded/impeccable/scripts/data/font-index-failures.json +121 -0
  217. devkit/skills/embedded/impeccable/scripts/data/font-index.json +1 -0
  218. devkit/skills/embedded/impeccable/scripts/impeccable +213 -0
  219. devkit/skills/embedded/impeccable/scripts/impeccable.cmd +239 -0
  220. devkit/skills/embedded/impeccable/scripts/live-browser-dom.js +320 -0
  221. devkit/skills/embedded/impeccable/scripts/live-browser-ignores.js +246 -0
  222. devkit/skills/embedded/impeccable/scripts/live-browser-session.js +183 -0
  223. devkit/skills/embedded/impeccable/scripts/live-browser.js +13645 -0
  224. devkit/skills/embedded/impeccable/scripts/modern-screenshot.umd.js +14 -0
  225. devkit/skills/embedded/improve-animations/AUDIT.md +115 -0
  226. devkit/skills/embedded/improve-animations/PLAN-TEMPLATE.md +73 -0
  227. devkit/skills/embedded/improve-animations/SKILL.md +109 -0
  228. devkit/skills/embedded/mobile-native/SKILL.md +311 -0
  229. devkit/skills/embedded/modern-web-guidance/SKILL.md +135 -0
  230. devkit/skills/embedded/pick-ui-library/SKILL.md +85 -0
  231. devkit/skills/embedded/ponytail/SKILL.md +52 -0
  232. devkit/skills/embedded/ponytail-audit/SKILL.md +103 -0
  233. devkit/skills/embedded/ponytail-debt/SKILL.md +44 -0
  234. devkit/skills/embedded/ponytail-gain/SKILL.md +52 -0
  235. devkit/skills/embedded/ponytail-help/SKILL.md +76 -0
  236. devkit/skills/embedded/ponytail-review/SKILL.md +101 -0
  237. devkit/skills/embedded/prototype/PICKER.md +197 -0
  238. devkit/skills/embedded/prototype/SKILL.md +98 -0
  239. devkit/skills/embedded/review-animations/SKILL.md +120 -0
  240. devkit/skills/embedded/review-animations/STANDARDS.md +187 -0
  241. devkit/skills/embedded/skills-lock.json +239 -0
  242. devkit/skills/embedded/slides/SKILL.md +44 -0
  243. devkit/skills/embedded/slides/references/copywriting-formulas.md +84 -0
  244. devkit/skills/embedded/slides/references/create.md +4 -0
  245. devkit/skills/embedded/slides/references/html-template.md +295 -0
  246. devkit/skills/embedded/slides/references/layout-patterns.md +137 -0
  247. devkit/skills/embedded/slides/references/slide-strategies.md +94 -0
  248. devkit/skills/embedded/ui-styling/LICENSE.txt +202 -0
  249. devkit/skills/embedded/ui-styling/SKILL.md +336 -0
  250. devkit/skills/embedded/ui-styling/canvas-fonts/ArsenalSC-OFL.txt +93 -0
  251. devkit/skills/embedded/ui-styling/canvas-fonts/ArsenalSC-Regular.ttf +0 -0
  252. devkit/skills/embedded/ui-styling/canvas-fonts/BigShoulders-Bold.ttf +0 -0
  253. devkit/skills/embedded/ui-styling/canvas-fonts/BigShoulders-OFL.txt +93 -0
  254. devkit/skills/embedded/ui-styling/canvas-fonts/BigShoulders-Regular.ttf +0 -0
  255. devkit/skills/embedded/ui-styling/canvas-fonts/Boldonse-OFL.txt +93 -0
  256. devkit/skills/embedded/ui-styling/canvas-fonts/Boldonse-Regular.ttf +0 -0
  257. devkit/skills/embedded/ui-styling/canvas-fonts/BricolageGrotesque-Bold.ttf +0 -0
  258. devkit/skills/embedded/ui-styling/canvas-fonts/BricolageGrotesque-OFL.txt +93 -0
  259. devkit/skills/embedded/ui-styling/canvas-fonts/BricolageGrotesque-Regular.ttf +0 -0
  260. devkit/skills/embedded/ui-styling/canvas-fonts/CrimsonPro-Bold.ttf +0 -0
  261. devkit/skills/embedded/ui-styling/canvas-fonts/CrimsonPro-Italic.ttf +0 -0
  262. devkit/skills/embedded/ui-styling/canvas-fonts/CrimsonPro-OFL.txt +93 -0
  263. devkit/skills/embedded/ui-styling/canvas-fonts/CrimsonPro-Regular.ttf +0 -0
  264. devkit/skills/embedded/ui-styling/canvas-fonts/DMMono-OFL.txt +93 -0
  265. devkit/skills/embedded/ui-styling/canvas-fonts/DMMono-Regular.ttf +0 -0
  266. devkit/skills/embedded/ui-styling/canvas-fonts/EricaOne-OFL.txt +94 -0
  267. devkit/skills/embedded/ui-styling/canvas-fonts/EricaOne-Regular.ttf +0 -0
  268. devkit/skills/embedded/ui-styling/canvas-fonts/GeistMono-Bold.ttf +0 -0
  269. devkit/skills/embedded/ui-styling/canvas-fonts/GeistMono-OFL.txt +93 -0
  270. devkit/skills/embedded/ui-styling/canvas-fonts/GeistMono-Regular.ttf +0 -0
  271. devkit/skills/embedded/ui-styling/canvas-fonts/Gloock-OFL.txt +93 -0
  272. devkit/skills/embedded/ui-styling/canvas-fonts/Gloock-Regular.ttf +0 -0
  273. devkit/skills/embedded/ui-styling/canvas-fonts/IBMPlexMono-Bold.ttf +0 -0
  274. devkit/skills/embedded/ui-styling/canvas-fonts/IBMPlexMono-OFL.txt +93 -0
  275. devkit/skills/embedded/ui-styling/canvas-fonts/IBMPlexMono-Regular.ttf +0 -0
  276. devkit/skills/embedded/ui-styling/canvas-fonts/IBMPlexSerif-Bold.ttf +0 -0
  277. devkit/skills/embedded/ui-styling/canvas-fonts/IBMPlexSerif-BoldItalic.ttf +0 -0
  278. devkit/skills/embedded/ui-styling/canvas-fonts/IBMPlexSerif-Italic.ttf +0 -0
  279. devkit/skills/embedded/ui-styling/canvas-fonts/IBMPlexSerif-Regular.ttf +0 -0
  280. devkit/skills/embedded/ui-styling/canvas-fonts/InstrumentSans-Bold.ttf +0 -0
  281. devkit/skills/embedded/ui-styling/canvas-fonts/InstrumentSans-BoldItalic.ttf +0 -0
  282. devkit/skills/embedded/ui-styling/canvas-fonts/InstrumentSans-Italic.ttf +0 -0
  283. devkit/skills/embedded/ui-styling/canvas-fonts/InstrumentSans-OFL.txt +93 -0
  284. devkit/skills/embedded/ui-styling/canvas-fonts/InstrumentSans-Regular.ttf +0 -0
  285. devkit/skills/embedded/ui-styling/canvas-fonts/InstrumentSerif-Italic.ttf +0 -0
  286. devkit/skills/embedded/ui-styling/canvas-fonts/InstrumentSerif-Regular.ttf +0 -0
  287. devkit/skills/embedded/ui-styling/canvas-fonts/Italiana-OFL.txt +93 -0
  288. devkit/skills/embedded/ui-styling/canvas-fonts/Italiana-Regular.ttf +0 -0
  289. devkit/skills/embedded/ui-styling/canvas-fonts/JetBrainsMono-Bold.ttf +0 -0
  290. devkit/skills/embedded/ui-styling/canvas-fonts/JetBrainsMono-OFL.txt +93 -0
  291. devkit/skills/embedded/ui-styling/canvas-fonts/JetBrainsMono-Regular.ttf +0 -0
  292. devkit/skills/embedded/ui-styling/canvas-fonts/Jura-Light.ttf +0 -0
  293. devkit/skills/embedded/ui-styling/canvas-fonts/Jura-Medium.ttf +0 -0
  294. devkit/skills/embedded/ui-styling/canvas-fonts/Jura-OFL.txt +93 -0
  295. devkit/skills/embedded/ui-styling/canvas-fonts/LibreBaskerville-OFL.txt +93 -0
  296. devkit/skills/embedded/ui-styling/canvas-fonts/LibreBaskerville-Regular.ttf +0 -0
  297. devkit/skills/embedded/ui-styling/canvas-fonts/Lora-Bold.ttf +0 -0
  298. devkit/skills/embedded/ui-styling/canvas-fonts/Lora-BoldItalic.ttf +0 -0
  299. devkit/skills/embedded/ui-styling/canvas-fonts/Lora-Italic.ttf +0 -0
  300. devkit/skills/embedded/ui-styling/canvas-fonts/Lora-OFL.txt +93 -0
  301. devkit/skills/embedded/ui-styling/canvas-fonts/Lora-Regular.ttf +0 -0
  302. devkit/skills/embedded/ui-styling/canvas-fonts/NationalPark-Bold.ttf +0 -0
  303. devkit/skills/embedded/ui-styling/canvas-fonts/NationalPark-OFL.txt +93 -0
  304. devkit/skills/embedded/ui-styling/canvas-fonts/NationalPark-Regular.ttf +0 -0
  305. devkit/skills/embedded/ui-styling/canvas-fonts/NothingYouCouldDo-OFL.txt +93 -0
  306. devkit/skills/embedded/ui-styling/canvas-fonts/NothingYouCouldDo-Regular.ttf +0 -0
  307. devkit/skills/embedded/ui-styling/canvas-fonts/Outfit-Bold.ttf +0 -0
  308. devkit/skills/embedded/ui-styling/canvas-fonts/Outfit-OFL.txt +93 -0
  309. devkit/skills/embedded/ui-styling/canvas-fonts/Outfit-Regular.ttf +0 -0
  310. devkit/skills/embedded/ui-styling/canvas-fonts/PixelifySans-Medium.ttf +0 -0
  311. devkit/skills/embedded/ui-styling/canvas-fonts/PixelifySans-OFL.txt +93 -0
  312. devkit/skills/embedded/ui-styling/canvas-fonts/PoiretOne-OFL.txt +93 -0
  313. devkit/skills/embedded/ui-styling/canvas-fonts/PoiretOne-Regular.ttf +0 -0
  314. devkit/skills/embedded/ui-styling/canvas-fonts/RedHatMono-Bold.ttf +0 -0
  315. devkit/skills/embedded/ui-styling/canvas-fonts/RedHatMono-OFL.txt +93 -0
  316. devkit/skills/embedded/ui-styling/canvas-fonts/RedHatMono-Regular.ttf +0 -0
  317. devkit/skills/embedded/ui-styling/canvas-fonts/Silkscreen-OFL.txt +93 -0
  318. devkit/skills/embedded/ui-styling/canvas-fonts/Silkscreen-Regular.ttf +0 -0
  319. devkit/skills/embedded/ui-styling/canvas-fonts/SmoochSans-Medium.ttf +0 -0
  320. devkit/skills/embedded/ui-styling/canvas-fonts/SmoochSans-OFL.txt +93 -0
  321. devkit/skills/embedded/ui-styling/canvas-fonts/Tektur-Medium.ttf +0 -0
  322. devkit/skills/embedded/ui-styling/canvas-fonts/Tektur-OFL.txt +93 -0
  323. devkit/skills/embedded/ui-styling/canvas-fonts/Tektur-Regular.ttf +0 -0
  324. devkit/skills/embedded/ui-styling/canvas-fonts/WorkSans-Bold.ttf +0 -0
  325. devkit/skills/embedded/ui-styling/canvas-fonts/WorkSans-BoldItalic.ttf +0 -0
  326. devkit/skills/embedded/ui-styling/canvas-fonts/WorkSans-Italic.ttf +0 -0
  327. devkit/skills/embedded/ui-styling/canvas-fonts/WorkSans-OFL.txt +93 -0
  328. devkit/skills/embedded/ui-styling/canvas-fonts/WorkSans-Regular.ttf +0 -0
  329. devkit/skills/embedded/ui-styling/canvas-fonts/YoungSerif-OFL.txt +93 -0
  330. devkit/skills/embedded/ui-styling/canvas-fonts/YoungSerif-Regular.ttf +0 -0
  331. devkit/skills/embedded/ui-styling/references/canvas-design-system.md +320 -0
  332. devkit/skills/embedded/ui-styling/references/shadcn-accessibility.md +471 -0
  333. devkit/skills/embedded/ui-styling/references/shadcn-components.md +424 -0
  334. devkit/skills/embedded/ui-styling/references/shadcn-theming.md +373 -0
  335. devkit/skills/embedded/ui-styling/references/tailwind-customization.md +483 -0
  336. devkit/skills/embedded/ui-styling/references/tailwind-responsive.md +382 -0
  337. devkit/skills/embedded/ui-styling/references/tailwind-utilities.md +455 -0
  338. devkit/skills/embedded/ui-styling/scripts/.coverage +0 -0
  339. devkit/skills/embedded/ui-styling/scripts/requirements.txt +17 -0
  340. devkit/skills/embedded/ui-styling/scripts/shadcn_add.py +308 -0
  341. devkit/skills/embedded/ui-styling/scripts/tailwind_config_gen.py +508 -0
  342. devkit/skills/embedded/ui-styling/scripts/tests/coverage-ui.json +1 -0
  343. devkit/skills/embedded/ui-styling/scripts/tests/requirements.txt +3 -0
  344. devkit/skills/embedded/ui-styling/scripts/tests/test_shadcn_add.py +266 -0
  345. devkit/skills/embedded/ui-styling/scripts/tests/test_tailwind_config_gen.py +508 -0
  346. devkit/skills/embedded/ui-ux-pro-max/SKILL.md +214 -0
  347. devkit/skills/embedded/ui-ux-pro-max/data/app-interface.csv +33 -0
  348. devkit/skills/embedded/ui-ux-pro-max/data/catalog-summary.json +78 -0
  349. devkit/skills/embedded/ui-ux-pro-max/data/charts.csv +26 -0
  350. devkit/skills/embedded/ui-ux-pro-max/data/colors.csv +193 -0
  351. devkit/skills/embedded/ui-ux-pro-max/data/data-provenance.json +1348 -0
  352. devkit/skills/embedded/ui-ux-pro-max/data/google-font-licenses.json +20185 -0
  353. devkit/skills/embedded/ui-ux-pro-max/data/google-fonts.csv +1935 -0
  354. devkit/skills/embedded/ui-ux-pro-max/data/icons.csv +106 -0
  355. devkit/skills/embedded/ui-ux-pro-max/data/landing.csv +35 -0
  356. devkit/skills/embedded/ui-ux-pro-max/data/motion.csv +18 -0
  357. devkit/skills/embedded/ui-ux-pro-max/data/phosphor-icons-upstream.json +32582 -0
  358. devkit/skills/embedded/ui-ux-pro-max/data/products.csv +193 -0
  359. devkit/skills/embedded/ui-ux-pro-max/data/react-performance.csv +45 -0
  360. devkit/skills/embedded/ui-ux-pro-max/data/stacks/angular.csv +51 -0
  361. devkit/skills/embedded/ui-ux-pro-max/data/stacks/astro.csv +54 -0
  362. devkit/skills/embedded/ui-ux-pro-max/data/stacks/avalonia.csv +57 -0
  363. devkit/skills/embedded/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
  364. devkit/skills/embedded/ui-ux-pro-max/data/stacks/html-tailwind.csv +60 -0
  365. devkit/skills/embedded/ui-ux-pro-max/data/stacks/javafx.csv +76 -0
  366. devkit/skills/embedded/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
  367. devkit/skills/embedded/ui-ux-pro-max/data/stacks/laravel.csv +51 -0
  368. devkit/skills/embedded/ui-ux-pro-max/data/stacks/nextjs.csv +62 -0
  369. devkit/skills/embedded/ui-ux-pro-max/data/stacks/nuxt-ui.csv +77 -0
  370. devkit/skills/embedded/ui-ux-pro-max/data/stacks/nuxtjs.csv +68 -0
  371. devkit/skills/embedded/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
  372. devkit/skills/embedded/ui-ux-pro-max/data/stacks/react.csv +67 -0
  373. devkit/skills/embedded/ui-ux-pro-max/data/stacks/shadcn.csv +69 -0
  374. devkit/skills/embedded/ui-ux-pro-max/data/stacks/svelte.csv +56 -0
  375. devkit/skills/embedded/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
  376. devkit/skills/embedded/ui-ux-pro-max/data/stacks/threejs.csv +54 -0
  377. devkit/skills/embedded/ui-ux-pro-max/data/stacks/uno.csv +60 -0
  378. devkit/skills/embedded/ui-ux-pro-max/data/stacks/uwp.csv +56 -0
  379. devkit/skills/embedded/ui-ux-pro-max/data/stacks/vue.csv +50 -0
  380. devkit/skills/embedded/ui-ux-pro-max/data/stacks/winui.csv +60 -0
  381. devkit/skills/embedded/ui-ux-pro-max/data/stacks/wpf.csv +57 -0
  382. devkit/skills/embedded/ui-ux-pro-max/data/styles.csv +89 -0
  383. devkit/skills/embedded/ui-ux-pro-max/data/typography.csv +75 -0
  384. devkit/skills/embedded/ui-ux-pro-max/data/ui-reasoning.csv +193 -0
  385. devkit/skills/embedded/ui-ux-pro-max/data/ux-guidelines.csv +120 -0
  386. devkit/skills/embedded/ui-ux-pro-max/references/pro-rules.md +117 -0
  387. devkit/skills/embedded/ui-ux-pro-max/references/quick-reference.md +256 -0
  388. devkit/skills/embedded/ui-ux-pro-max/scripts/core.py +993 -0
  389. devkit/skills/embedded/ui-ux-pro-max/scripts/design_system.py +1668 -0
  390. devkit/skills/embedded/ui-ux-pro-max/scripts/reasoning_contract.py +123 -0
  391. devkit/skills/embedded/ui-ux-pro-max/scripts/search.py +177 -0
  392. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/fixtures/catalogs/google-api.json +36 -0
  393. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/fixtures/catalogs/google-catalog.json +33 -0
  394. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/fixtures/catalogs/google-existing.csv +3 -0
  395. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/fixtures/catalogs/google-metadata.json +17 -0
  396. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/fixtures/catalogs/google-overrides.json +7 -0
  397. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/fixtures/catalogs/icons-curated.csv +4 -0
  398. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/fixtures/catalogs/phosphor-core.json +23 -0
  399. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/fixtures/catalogs/phosphor-package.json +13 -0
  400. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/fixtures/catalogs/phosphor-react-exports.json +4 -0
  401. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/fixtures/catalogs/phosphor-react-package.json +5 -0
  402. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/fixtures/relevance-baseline.json +3366 -0
  403. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/fixtures/relevance-cases.json +111 -0
  404. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/fixtures/relevance-thresholds.json +100 -0
  405. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/test_catalog_refresh.py +354 -0
  406. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/test_catalog_summary_line_endings.py +78 -0
  407. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/test_core.py +343 -0
  408. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/test_core_data_quality.py +198 -0
  409. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/test_data_contracts.py +421 -0
  410. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/test_design_system_mode.py +233 -0
  411. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/test_design_system_stack.py +61 -0
  412. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/test_native_desktop_stack_freshness.py +179 -0
  413. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/test_relevance_evaluator.py +182 -0
  414. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/test_skill_script_paths.py +82 -0
  415. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/test_style_taxonomy.py +175 -0
  416. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/test_text_layout_resilience.py +120 -0
  417. devkit/skills/embedded/ui-ux-pro-max/scripts/tests/test_web_stack_freshness.py +177 -0
  418. devkit/skills/embedded/ui-ux-pro-max/scripts/validate_data.py +1095 -0
  419. devkit/skills/embedded/vercel-cli-with-tokens/SKILL.md +353 -0
  420. devkit/skills/embedded/vercel-composition-patterns/AGENTS.md +946 -0
  421. devkit/skills/embedded/vercel-composition-patterns/README.md +60 -0
  422. devkit/skills/embedded/vercel-composition-patterns/SKILL.md +89 -0
  423. devkit/skills/embedded/vercel-composition-patterns/rules/_sections.md +29 -0
  424. devkit/skills/embedded/vercel-composition-patterns/rules/_template.md +24 -0
  425. devkit/skills/embedded/vercel-composition-patterns/rules/architecture-avoid-boolean-props.md +100 -0
  426. devkit/skills/embedded/vercel-composition-patterns/rules/architecture-compound-components.md +112 -0
  427. devkit/skills/embedded/vercel-composition-patterns/rules/patterns-children-over-render-props.md +87 -0
  428. devkit/skills/embedded/vercel-composition-patterns/rules/patterns-explicit-variants.md +100 -0
  429. devkit/skills/embedded/vercel-composition-patterns/rules/react19-no-forwardref.md +42 -0
  430. devkit/skills/embedded/vercel-composition-patterns/rules/state-context-interface.md +191 -0
  431. devkit/skills/embedded/vercel-composition-patterns/rules/state-decouple-implementation.md +113 -0
  432. devkit/skills/embedded/vercel-composition-patterns/rules/state-lift-state.md +125 -0
  433. devkit/skills/embedded/vercel-optimize/AGENTS.md +48 -0
  434. devkit/skills/embedded/vercel-optimize/CONTRIBUTING.md +41 -0
  435. devkit/skills/embedded/vercel-optimize/README.md +91 -0
  436. devkit/skills/embedded/vercel-optimize/SKILL.md +322 -0
  437. devkit/skills/embedded/vercel-optimize/lib/auth-route.mjs +23 -0
  438. devkit/skills/embedded/vercel-optimize/lib/budget-summary.mjs +182 -0
  439. devkit/skills/embedded/vercel-optimize/lib/citations.mjs +139 -0
  440. devkit/skills/embedded/vercel-optimize/lib/cost-coverage.mjs +143 -0
  441. devkit/skills/embedded/vercel-optimize/lib/dedup-recs.mjs +325 -0
  442. devkit/skills/embedded/vercel-optimize/lib/deep-dive.mjs +350 -0
  443. devkit/skills/embedded/vercel-optimize/lib/display-labels.mjs +185 -0
  444. devkit/skills/embedded/vercel-optimize/lib/extract-claims.mjs +550 -0
  445. devkit/skills/embedded/vercel-optimize/lib/framework-support.mjs +67 -0
  446. devkit/skills/embedded/vercel-optimize/lib/gates/build-minutes-fanout.mjs +69 -0
  447. devkit/skills/embedded/vercel-optimize/lib/gates/cold-start.mjs +66 -0
  448. devkit/skills/embedded/vercel-optimize/lib/gates/contract.mjs +79 -0
  449. devkit/skills/embedded/vercel-optimize/lib/gates/cwv-poor.mjs +87 -0
  450. devkit/skills/embedded/vercel-optimize/lib/gates/external-api-slow.mjs +55 -0
  451. devkit/skills/embedded/vercel-optimize/lib/gates/hard-gates.mjs +73 -0
  452. devkit/skills/embedded/vercel-optimize/lib/gates/index.mjs +45 -0
  453. devkit/skills/embedded/vercel-optimize/lib/gates/isr-overrevalidation.mjs +62 -0
  454. devkit/skills/embedded/vercel-optimize/lib/gates/middleware-heavy.mjs +51 -0
  455. devkit/skills/embedded/vercel-optimize/lib/gates/observability-events-attribution.mjs +56 -0
  456. devkit/skills/embedded/vercel-optimize/lib/gates/platform-bot-protection.mjs +115 -0
  457. devkit/skills/embedded/vercel-optimize/lib/gates/platform-fluid-compute.mjs +83 -0
  458. devkit/skills/embedded/vercel-optimize/lib/gates/region-misconfig.mjs +64 -0
  459. devkit/skills/embedded/vercel-optimize/lib/gates/route-errors.mjs +80 -0
  460. devkit/skills/embedded/vercel-optimize/lib/gates/scanner-driven.mjs +122 -0
  461. devkit/skills/embedded/vercel-optimize/lib/gates/select-candidates.mjs +134 -0
  462. devkit/skills/embedded/vercel-optimize/lib/gates/slow-route.mjs +88 -0
  463. devkit/skills/embedded/vercel-optimize/lib/gates/types.d.ts +38 -0
  464. devkit/skills/embedded/vercel-optimize/lib/gates/uncached-route.mjs +93 -0
  465. devkit/skills/embedded/vercel-optimize/lib/gates/usage-spike-triage.mjs +121 -0
  466. devkit/skills/embedded/vercel-optimize/lib/grade-recommendation.mjs +155 -0
  467. devkit/skills/embedded/vercel-optimize/lib/impact-label.mjs +126 -0
  468. devkit/skills/embedded/vercel-optimize/lib/impact-magnitude.mjs +60 -0
  469. devkit/skills/embedded/vercel-optimize/lib/investigation-brief.mjs +610 -0
  470. devkit/skills/embedded/vercel-optimize/lib/observation-safety.mjs +174 -0
  471. devkit/skills/embedded/vercel-optimize/lib/project-facts.mjs +99 -0
  472. devkit/skills/embedded/vercel-optimize/lib/queries.mjs +315 -0
  473. devkit/skills/embedded/vercel-optimize/lib/reconcile-candidates.mjs +372 -0
  474. devkit/skills/embedded/vercel-optimize/lib/render-report.mjs +955 -0
  475. devkit/skills/embedded/vercel-optimize/lib/repo-root.mjs +86 -0
  476. devkit/skills/embedded/vercel-optimize/lib/route-normalize.mjs +220 -0
  477. devkit/skills/embedded/vercel-optimize/lib/sanitizers/bot-protection-certainty.mjs +38 -0
  478. devkit/skills/embedded/vercel-optimize/lib/sanitizers/cache-tag-invalidation-certainty.mjs +30 -0
  479. devkit/skills/embedded/vercel-optimize/lib/sanitizers/count-correct.mjs +52 -0
  480. devkit/skills/embedded/vercel-optimize/lib/sanitizers/function-duration-invocations.mjs +38 -0
  481. devkit/skills/embedded/vercel-optimize/lib/sanitizers/index.mjs +79 -0
  482. devkit/skills/embedded/vercel-optimize/lib/sanitizers/middleware-conflict.mjs +36 -0
  483. devkit/skills/embedded/vercel-optimize/lib/sanitizers/missing-citation.mjs +16 -0
  484. devkit/skills/embedded/vercel-optimize/lib/sanitizers/pre-release.mjs +74 -0
  485. devkit/skills/embedded/vercel-optimize/lib/sanitizers/rate-limit.mjs +67 -0
  486. devkit/skills/embedded/vercel-optimize/lib/sanitizers/rendering-mode-mislabel.mjs +38 -0
  487. devkit/skills/embedded/vercel-optimize/lib/sanitizers/undeclared-dep.mjs +78 -0
  488. devkit/skills/embedded/vercel-optimize/lib/sanitizers/vercel-directive-strip.mjs +37 -0
  489. devkit/skills/embedded/vercel-optimize/lib/sanitizers/window-units.mjs +32 -0
  490. devkit/skills/embedded/vercel-optimize/lib/scanners/cache-components-suspense-dedupe.mjs +109 -0
  491. devkit/skills/embedded/vercel-optimize/lib/scanners/edge-heavy-import.mjs +94 -0
  492. devkit/skills/embedded/vercel-optimize/lib/scanners/force-dynamic.mjs +42 -0
  493. devkit/skills/embedded/vercel-optimize/lib/scanners/headers-in-page.mjs +44 -0
  494. devkit/skills/embedded/vercel-optimize/lib/scanners/index.mjs +35 -0
  495. devkit/skills/embedded/vercel-optimize/lib/scanners/large-static-asset.mjs +92 -0
  496. devkit/skills/embedded/vercel-optimize/lib/scanners/max-age-without-s-maxage.mjs +42 -0
  497. devkit/skills/embedded/vercel-optimize/lib/scanners/middleware-broad-matcher.mjs +55 -0
  498. devkit/skills/embedded/vercel-optimize/lib/scanners/missing-cache-headers.mjs +90 -0
  499. devkit/skills/embedded/vercel-optimize/lib/scanners/prisma-include-tree.mjs +42 -0
  500. devkit/skills/embedded/vercel-optimize/lib/scanners/region-pin-in-config.mjs +88 -0
  501. devkit/skills/embedded/vercel-optimize/lib/scanners/source-maps-production.mjs +36 -0
  502. devkit/skills/embedded/vercel-optimize/lib/scanners/sveltekit-prerender-missing.mjs +43 -0
  503. devkit/skills/embedded/vercel-optimize/lib/scanners/turbo-force-bypass.mjs +129 -0
  504. devkit/skills/embedded/vercel-optimize/lib/scanners/unoptimized-image.mjs +113 -0
  505. devkit/skills/embedded/vercel-optimize/lib/scanners/use-cache-date-stamp.mjs +106 -0
  506. devkit/skills/embedded/vercel-optimize/lib/support-topics.mjs +355 -0
  507. devkit/skills/embedded/vercel-optimize/lib/throttle.mjs +273 -0
  508. devkit/skills/embedded/vercel-optimize/lib/util.mjs +17 -0
  509. devkit/skills/embedded/vercel-optimize/lib/vercel.mjs +864 -0
  510. devkit/skills/embedded/vercel-optimize/lib/verify-claim.mjs +1296 -0
  511. devkit/skills/embedded/vercel-optimize/lib/workspace-resolver.mjs +521 -0
  512. devkit/skills/embedded/vercel-optimize/references/candidates.md +176 -0
  513. devkit/skills/embedded/vercel-optimize/references/data-collection.md +218 -0
  514. devkit/skills/embedded/vercel-optimize/references/docs-library.json +683 -0
  515. devkit/skills/embedded/vercel-optimize/references/doctrine.md +105 -0
  516. devkit/skills/embedded/vercel-optimize/references/observability-plus.md +108 -0
  517. devkit/skills/embedded/vercel-optimize/references/playbooks/README.md +53 -0
  518. devkit/skills/embedded/vercel-optimize/references/playbooks/ai-application.md +32 -0
  519. devkit/skills/embedded/vercel-optimize/references/playbooks/api-service.md +30 -0
  520. devkit/skills/embedded/vercel-optimize/references/playbooks/content-site.md +30 -0
  521. devkit/skills/embedded/vercel-optimize/references/playbooks/ecommerce.md +30 -0
  522. devkit/skills/embedded/vercel-optimize/references/playbooks/marketing.md +30 -0
  523. devkit/skills/embedded/vercel-optimize/references/playbooks/saas.md +31 -0
  524. devkit/skills/embedded/vercel-optimize/references/playbooks/sveltekit.md +75 -0
  525. devkit/skills/embedded/vercel-optimize/references/recommendations.md +203 -0
  526. devkit/skills/embedded/vercel-optimize/references/scanner-patterns.md +251 -0
  527. devkit/skills/embedded/vercel-optimize/references/scoring.md +205 -0
  528. devkit/skills/embedded/vercel-optimize/references/support-topics/README.md +46 -0
  529. devkit/skills/embedded/vercel-optimize/references/support-topics/astro-edge-middleware-scope.md +22 -0
  530. devkit/skills/embedded/vercel-optimize/references/support-topics/astro-output-mode-and-isr.md +22 -0
  531. devkit/skills/embedded/vercel-optimize/references/support-topics/auth-preserving-parallelization.md +22 -0
  532. devkit/skills/embedded/vercel-optimize/references/support-topics/bot-protection-product-guardrails.md +22 -0
  533. devkit/skills/embedded/vercel-optimize/references/support-topics/build-minutes-monorepo-fanout.md +23 -0
  534. devkit/skills/embedded/vercel-optimize/references/support-topics/cache-components-static-shell-boundaries.md +22 -0
  535. devkit/skills/embedded/vercel-optimize/references/support-topics/cache-components-suspense-dedupe-pitfall.md +23 -0
  536. devkit/skills/embedded/vercel-optimize/references/support-topics/cdn-cache-auth-safety.md +22 -0
  537. devkit/skills/embedded/vercel-optimize/references/support-topics/cold-start-initialization-bundle.md +22 -0
  538. devkit/skills/embedded/vercel-optimize/references/support-topics/core-web-vitals-client-bottlenecks.md +22 -0
  539. devkit/skills/embedded/vercel-optimize/references/support-topics/database-egress-pooling-region.md +22 -0
  540. devkit/skills/embedded/vercel-optimize/references/support-topics/dynamic-rendering-traps.md +22 -0
  541. devkit/skills/embedded/vercel-optimize/references/support-topics/external-api-critical-path-platform.md +22 -0
  542. devkit/skills/embedded/vercel-optimize/references/support-topics/external-api-critical-path.md +22 -0
  543. devkit/skills/embedded/vercel-optimize/references/support-topics/fast-data-transfer-payloads.md +22 -0
  544. devkit/skills/embedded/vercel-optimize/references/support-topics/fluid-compute-caveats.md +22 -0
  545. devkit/skills/embedded/vercel-optimize/references/support-topics/function-duration-io-and-after.md +22 -0
  546. devkit/skills/embedded/vercel-optimize/references/support-topics/function-invocation-reduction.md +22 -0
  547. devkit/skills/embedded/vercel-optimize/references/support-topics/function-region-misconfiguration-ttfb.md +23 -0
  548. devkit/skills/embedded/vercel-optimize/references/support-topics/image-optimization-cost-control.md +22 -0
  549. devkit/skills/embedded/vercel-optimize/references/support-topics/isr-revalidation-static-generation.md +22 -0
  550. devkit/skills/embedded/vercel-optimize/references/support-topics/middleware-proxy-edge-cost.md +22 -0
  551. devkit/skills/embedded/vercel-optimize/references/support-topics/next-fetch-revalidate-floor.md +22 -0
  552. devkit/skills/embedded/vercel-optimize/references/support-topics/next-font-cls-self-hosting.md +23 -0
  553. devkit/skills/embedded/vercel-optimize/references/support-topics/next-heavy-ui-lazy-load-boundaries.md +23 -0
  554. devkit/skills/embedded/vercel-optimize/references/support-topics/next-image-lcp-preload-sizes.md +23 -0
  555. devkit/skills/embedded/vercel-optimize/references/support-topics/next-route-handler-get-cache-defaults.md +22 -0
  556. devkit/skills/embedded/vercel-optimize/references/support-topics/next-script-third-party-strategy.md +23 -0
  557. devkit/skills/embedded/vercel-optimize/references/support-topics/nextjs-version-cache-semantics.md +22 -0
  558. devkit/skills/embedded/vercel-optimize/references/support-topics/not-found-catchall-request-waste.md +23 -0
  559. devkit/skills/embedded/vercel-optimize/references/support-topics/nuxt-route-rules-cache-isr.md +22 -0
  560. devkit/skills/embedded/vercel-optimize/references/support-topics/observability-events-cost-attribution.md +22 -0
  561. devkit/skills/embedded/vercel-optimize/references/support-topics/post-response-work-waituntil.md +22 -0
  562. devkit/skills/embedded/vercel-optimize/references/support-topics/route-error-durable-offload.md +22 -0
  563. devkit/skills/embedded/vercel-optimize/references/support-topics/route-error-runtime-limits.md +22 -0
  564. devkit/skills/embedded/vercel-optimize/references/support-topics/runtime-cache-reusable-data.md +22 -0
  565. devkit/skills/embedded/vercel-optimize/references/support-topics/sveltekit-isr-prerender-safety.md +22 -0
  566. devkit/skills/embedded/vercel-optimize/references/support-topics/sveltekit-split-cold-start-tradeoff.md +22 -0
  567. devkit/skills/embedded/vercel-optimize/references/support-topics/usage-spike-triage.md +22 -0
  568. devkit/skills/embedded/vercel-optimize/references/support-topics/use-cache-date-stamp-isr-write-amplifier.md +23 -0
  569. devkit/skills/embedded/vercel-optimize/references/support-topics/use-cache-remote-shared-origin-data.md +22 -0
  570. devkit/skills/embedded/vercel-optimize/references/support-topics/workflow-resumable-stream-routes.md +23 -0
  571. devkit/skills/embedded/vercel-optimize/references/verification.md +102 -0
  572. devkit/skills/embedded/vercel-optimize/references/voice.md +76 -0
  573. devkit/skills/embedded/vercel-optimize/scripts/budget-summary.mjs +56 -0
  574. devkit/skills/embedded/vercel-optimize/scripts/build-docs.mjs +74 -0
  575. devkit/skills/embedded/vercel-optimize/scripts/check-citations.mjs +81 -0
  576. devkit/skills/embedded/vercel-optimize/scripts/check-docs-fresh.mjs +93 -0
  577. devkit/skills/embedded/vercel-optimize/scripts/collect-signals.mjs +576 -0
  578. devkit/skills/embedded/vercel-optimize/scripts/collect-sub-agent-outputs.mjs +296 -0
  579. devkit/skills/embedded/vercel-optimize/scripts/deep-dive.mjs +319 -0
  580. devkit/skills/embedded/vercel-optimize/scripts/gate-investigations.mjs +166 -0
  581. devkit/skills/embedded/vercel-optimize/scripts/merge-signals.mjs +192 -0
  582. devkit/skills/embedded/vercel-optimize/scripts/prepare-investigation-brief.mjs +231 -0
  583. devkit/skills/embedded/vercel-optimize/scripts/reconcile-candidates.mjs +62 -0
  584. devkit/skills/embedded/vercel-optimize/scripts/render-report.mjs +437 -0
  585. devkit/skills/embedded/vercel-optimize/scripts/scan-codebase.mjs +313 -0
  586. devkit/skills/embedded/vercel-optimize/scripts/verify-and-regen.mjs +346 -0
  587. devkit/skills/embedded/vercel-optimize/scripts/verify-finding.mjs +19 -0
  588. devkit/skills/embedded/vercel-react-best-practices/AGENTS.md +3810 -0
  589. devkit/skills/embedded/vercel-react-best-practices/README.md +123 -0
  590. devkit/skills/embedded/vercel-react-best-practices/SKILL.md +149 -0
  591. devkit/skills/embedded/vercel-react-best-practices/rules/_sections.md +46 -0
  592. devkit/skills/embedded/vercel-react-best-practices/rules/_template.md +28 -0
  593. devkit/skills/embedded/vercel-react-best-practices/rules/advanced-effect-event-deps.md +56 -0
  594. devkit/skills/embedded/vercel-react-best-practices/rules/advanced-event-handler-refs.md +55 -0
  595. devkit/skills/embedded/vercel-react-best-practices/rules/advanced-init-once.md +42 -0
  596. devkit/skills/embedded/vercel-react-best-practices/rules/advanced-use-latest.md +39 -0
  597. devkit/skills/embedded/vercel-react-best-practices/rules/async-api-routes.md +38 -0
  598. devkit/skills/embedded/vercel-react-best-practices/rules/async-cheap-condition-before-await.md +37 -0
  599. devkit/skills/embedded/vercel-react-best-practices/rules/async-defer-await.md +82 -0
  600. devkit/skills/embedded/vercel-react-best-practices/rules/async-dependencies.md +51 -0
  601. devkit/skills/embedded/vercel-react-best-practices/rules/async-parallel.md +28 -0
  602. devkit/skills/embedded/vercel-react-best-practices/rules/async-suspense-boundaries.md +99 -0
  603. devkit/skills/embedded/vercel-react-best-practices/rules/bundle-analyzable-paths.md +63 -0
  604. devkit/skills/embedded/vercel-react-best-practices/rules/bundle-barrel-imports.md +60 -0
  605. devkit/skills/embedded/vercel-react-best-practices/rules/bundle-conditional.md +31 -0
  606. devkit/skills/embedded/vercel-react-best-practices/rules/bundle-defer-third-party.md +49 -0
  607. devkit/skills/embedded/vercel-react-best-practices/rules/bundle-dynamic-imports.md +35 -0
  608. devkit/skills/embedded/vercel-react-best-practices/rules/bundle-preload.md +50 -0
  609. devkit/skills/embedded/vercel-react-best-practices/rules/client-event-listeners.md +74 -0
  610. devkit/skills/embedded/vercel-react-best-practices/rules/client-localstorage-schema.md +71 -0
  611. devkit/skills/embedded/vercel-react-best-practices/rules/client-passive-event-listeners.md +48 -0
  612. devkit/skills/embedded/vercel-react-best-practices/rules/client-swr-dedup.md +56 -0
  613. devkit/skills/embedded/vercel-react-best-practices/rules/js-batch-dom-css.md +107 -0
  614. devkit/skills/embedded/vercel-react-best-practices/rules/js-cache-function-results.md +80 -0
  615. devkit/skills/embedded/vercel-react-best-practices/rules/js-cache-property-access.md +28 -0
  616. devkit/skills/embedded/vercel-react-best-practices/rules/js-cache-storage.md +70 -0
  617. devkit/skills/embedded/vercel-react-best-practices/rules/js-combine-iterations.md +32 -0
  618. devkit/skills/embedded/vercel-react-best-practices/rules/js-early-exit.md +50 -0
  619. devkit/skills/embedded/vercel-react-best-practices/rules/js-flatmap-filter.md +60 -0
  620. devkit/skills/embedded/vercel-react-best-practices/rules/js-hoist-regexp.md +45 -0
  621. devkit/skills/embedded/vercel-react-best-practices/rules/js-index-maps.md +37 -0
  622. devkit/skills/embedded/vercel-react-best-practices/rules/js-length-check-first.md +49 -0
  623. devkit/skills/embedded/vercel-react-best-practices/rules/js-min-max-loop.md +82 -0
  624. devkit/skills/embedded/vercel-react-best-practices/rules/js-request-idle-callback.md +105 -0
  625. devkit/skills/embedded/vercel-react-best-practices/rules/js-set-map-lookups.md +24 -0
  626. devkit/skills/embedded/vercel-react-best-practices/rules/js-tosorted-immutable.md +57 -0
  627. devkit/skills/embedded/vercel-react-best-practices/rules/rendering-activity.md +26 -0
  628. devkit/skills/embedded/vercel-react-best-practices/rules/rendering-animate-svg-wrapper.md +47 -0
  629. devkit/skills/embedded/vercel-react-best-practices/rules/rendering-conditional-render.md +40 -0
  630. devkit/skills/embedded/vercel-react-best-practices/rules/rendering-content-visibility.md +38 -0
  631. devkit/skills/embedded/vercel-react-best-practices/rules/rendering-hoist-jsx.md +46 -0
  632. devkit/skills/embedded/vercel-react-best-practices/rules/rendering-hydration-no-flicker.md +82 -0
  633. devkit/skills/embedded/vercel-react-best-practices/rules/rendering-hydration-suppress-warning.md +30 -0
  634. devkit/skills/embedded/vercel-react-best-practices/rules/rendering-resource-hints.md +85 -0
  635. devkit/skills/embedded/vercel-react-best-practices/rules/rendering-script-defer-async.md +68 -0
  636. devkit/skills/embedded/vercel-react-best-practices/rules/rendering-svg-precision.md +28 -0
  637. devkit/skills/embedded/vercel-react-best-practices/rules/rendering-usetransition-loading.md +75 -0
  638. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-defer-reads.md +39 -0
  639. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-dependencies.md +45 -0
  640. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-derived-state-no-effect.md +40 -0
  641. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-derived-state.md +29 -0
  642. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-functional-setstate.md +74 -0
  643. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-lazy-state-init.md +58 -0
  644. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-memo-with-default-value.md +38 -0
  645. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-memo.md +44 -0
  646. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-move-effect-to-event.md +45 -0
  647. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-no-inline-components.md +82 -0
  648. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-simple-expression-in-memo.md +35 -0
  649. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-split-combined-hooks.md +64 -0
  650. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-transitions.md +40 -0
  651. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-use-deferred-value.md +59 -0
  652. devkit/skills/embedded/vercel-react-best-practices/rules/rerender-use-ref-transient-values.md +73 -0
  653. devkit/skills/embedded/vercel-react-best-practices/rules/server-after-nonblocking.md +73 -0
  654. devkit/skills/embedded/vercel-react-best-practices/rules/server-auth-actions.md +96 -0
  655. devkit/skills/embedded/vercel-react-best-practices/rules/server-cache-lru.md +41 -0
  656. devkit/skills/embedded/vercel-react-best-practices/rules/server-cache-react.md +76 -0
  657. devkit/skills/embedded/vercel-react-best-practices/rules/server-dedup-props.md +65 -0
  658. devkit/skills/embedded/vercel-react-best-practices/rules/server-hoist-static-io.md +149 -0
  659. devkit/skills/embedded/vercel-react-best-practices/rules/server-no-shared-module-state.md +50 -0
  660. devkit/skills/embedded/vercel-react-best-practices/rules/server-parallel-fetching.md +83 -0
  661. devkit/skills/embedded/vercel-react-best-practices/rules/server-parallel-nested-fetching.md +34 -0
  662. devkit/skills/embedded/vercel-react-best-practices/rules/server-serialization.md +38 -0
  663. devkit/skills/embedded/vercel-react-native-skills/AGENTS.md +2897 -0
  664. devkit/skills/embedded/vercel-react-native-skills/README.md +165 -0
  665. devkit/skills/embedded/vercel-react-native-skills/SKILL.md +121 -0
  666. devkit/skills/embedded/vercel-react-native-skills/rules/_sections.md +86 -0
  667. devkit/skills/embedded/vercel-react-native-skills/rules/_template.md +28 -0
  668. devkit/skills/embedded/vercel-react-native-skills/rules/animation-derived-value.md +53 -0
  669. devkit/skills/embedded/vercel-react-native-skills/rules/animation-gesture-detector-press.md +95 -0
  670. devkit/skills/embedded/vercel-react-native-skills/rules/animation-gpu-properties.md +65 -0
  671. devkit/skills/embedded/vercel-react-native-skills/rules/design-system-compound-components.md +66 -0
  672. devkit/skills/embedded/vercel-react-native-skills/rules/fonts-config-plugin.md +71 -0
  673. devkit/skills/embedded/vercel-react-native-skills/rules/imports-design-system-folder.md +68 -0
  674. devkit/skills/embedded/vercel-react-native-skills/rules/js-hoist-intl.md +61 -0
  675. devkit/skills/embedded/vercel-react-native-skills/rules/list-performance-callbacks.md +44 -0
  676. devkit/skills/embedded/vercel-react-native-skills/rules/list-performance-function-references.md +132 -0
  677. devkit/skills/embedded/vercel-react-native-skills/rules/list-performance-images.md +53 -0
  678. devkit/skills/embedded/vercel-react-native-skills/rules/list-performance-inline-objects.md +97 -0
  679. devkit/skills/embedded/vercel-react-native-skills/rules/list-performance-item-expensive.md +94 -0
  680. devkit/skills/embedded/vercel-react-native-skills/rules/list-performance-item-memo.md +82 -0
  681. devkit/skills/embedded/vercel-react-native-skills/rules/list-performance-item-types.md +104 -0
  682. devkit/skills/embedded/vercel-react-native-skills/rules/list-performance-virtualize.md +67 -0
  683. devkit/skills/embedded/vercel-react-native-skills/rules/monorepo-native-deps-in-app.md +46 -0
  684. devkit/skills/embedded/vercel-react-native-skills/rules/monorepo-single-dependency-versions.md +63 -0
  685. devkit/skills/embedded/vercel-react-native-skills/rules/navigation-native-navigators.md +188 -0
  686. devkit/skills/embedded/vercel-react-native-skills/rules/react-compiler-destructure-functions.md +50 -0
  687. devkit/skills/embedded/vercel-react-native-skills/rules/react-compiler-reanimated-shared-values.md +48 -0
  688. devkit/skills/embedded/vercel-react-native-skills/rules/react-state-dispatcher.md +91 -0
  689. devkit/skills/embedded/vercel-react-native-skills/rules/react-state-fallback.md +56 -0
  690. devkit/skills/embedded/vercel-react-native-skills/rules/react-state-minimize.md +65 -0
  691. devkit/skills/embedded/vercel-react-native-skills/rules/rendering-no-falsy-and.md +74 -0
  692. devkit/skills/embedded/vercel-react-native-skills/rules/rendering-text-in-text-component.md +36 -0
  693. devkit/skills/embedded/vercel-react-native-skills/rules/scroll-position-no-state.md +82 -0
  694. devkit/skills/embedded/vercel-react-native-skills/rules/state-ground-truth.md +80 -0
  695. devkit/skills/embedded/vercel-react-native-skills/rules/ui-expo-image.md +66 -0
  696. devkit/skills/embedded/vercel-react-native-skills/rules/ui-image-gallery.md +104 -0
  697. devkit/skills/embedded/vercel-react-native-skills/rules/ui-measure-views.md +78 -0
  698. devkit/skills/embedded/vercel-react-native-skills/rules/ui-menus.md +174 -0
  699. devkit/skills/embedded/vercel-react-native-skills/rules/ui-native-modals.md +77 -0
  700. devkit/skills/embedded/vercel-react-native-skills/rules/ui-pressable.md +61 -0
  701. devkit/skills/embedded/vercel-react-native-skills/rules/ui-safe-area-scroll.md +65 -0
  702. devkit/skills/embedded/vercel-react-native-skills/rules/ui-scrollview-content-inset.md +45 -0
  703. devkit/skills/embedded/vercel-react-native-skills/rules/ui-styling.md +87 -0
  704. devkit/skills/embedded/vercel-react-view-transitions/AGENTS.md +1380 -0
  705. devkit/skills/embedded/vercel-react-view-transitions/README.md +44 -0
  706. devkit/skills/embedded/vercel-react-view-transitions/SKILL.md +332 -0
  707. devkit/skills/embedded/vercel-react-view-transitions/references/css-recipes.md +312 -0
  708. devkit/skills/embedded/vercel-react-view-transitions/references/implementation.md +170 -0
  709. devkit/skills/embedded/vercel-react-view-transitions/references/nextjs.md +233 -0
  710. devkit/skills/embedded/vercel-react-view-transitions/references/patterns.md +274 -0
  711. devkit/skills/embedded/vercel-react-view-transitions/references/troubleshooting.md +47 -0
  712. devkit/skills/embedded/web-design-guidelines/SKILL.md +39 -0
  713. devkit/skills/embedded/write-swift/SKILL.md +396 -0
  714. devkit/skills/embedded/writing-guidelines/SKILL.md +39 -0
  715. devkit/skills/installer.py +110 -0
  716. devkit/templates/__init__.py +76 -0
  717. devkit/templates/ai_agents_python.py +160 -0
  718. devkit/templates/base.py +37 -0
  719. devkit/templates/content_site.py +117 -0
  720. devkit/templates/custom.py +129 -0
  721. devkit/templates/design_system.py +167 -0
  722. devkit/templates/expo_fullstack.py +278 -0
  723. devkit/templates/expo_mobile.py +127 -0
  724. devkit/templates/minimal_agentic.py +34 -0
  725. devkit/templates/nextjs.py +219 -0
  726. devkit/templates/python_fastapi.py +125 -0
  727. devkit/templates/saas_fullstack.py +212 -0
  728. devkit/templates/vite_react.py +176 -0
  729. devkit/ui.py +61 -0
  730. devkit/utils/__init__.py +15 -0
  731. devkit/utils/system.py +48 -0
@@ -0,0 +1,841 @@
1
+ ### Purpose
2
+
3
+ Resolve one stable target, run two independent assessments, synthesize a design critique, persist a snapshot, and ask the user what to improve next. The chat response is the primary deliverable; the snapshot is an archive of that run.
4
+
5
+ ### Hard Invariants
6
+
7
+ - Assessment A (design review) and Assessment B (detector/browser evidence) are both required, except on a native platform (see Assessment Orchestration).
8
+ - Assessment A and B MUST run as two isolated sub-agents whenever a sub-agent/Task tool is exposed. Running them inline in this context is "possible" but is NOT permitted; it is a degraded run. Inline is allowed ONLY when no sub-agent tool exists (or the user declined, on harnesses that ask). Native platforms run A alone (see Assessment Orchestration).
9
+ - If you degrade for any reason, the report's first line MUST be a banner: `⚠️ DEGRADED: single-context (<reason>)`. A silent degraded critique is a failed critique.
10
+ - Assessment A must finish before detector findings enter the parent synthesis context. Detector output is deterministic, but it still anchors judgment.
11
+ - A skipped detector is a failed critique run unless `impeccable detect` is missing or crashes after a real attempt, or the platform is native (see Assessment Orchestration).
12
+ - Viewable targets require browser inspection when available.
13
+ - Any local server started only for critique visualization must run in the background, have a recorded stop method, and be stopped before final reporting unless the user asks to keep it.
14
+ - Do not claim a user-visible overlay exists unless script injection succeeded and the detector ran in the page.
15
+ - The question is the LAST thing in the response. Write the entire report out first, then ask; nothing follows the question. Prose emitted after a structured question is withheld until the user answers it, so a report written after the question reads as if the critique never ran.
16
+ - A run that ends with neither the targeted questions nor a literal `Questions skipped: <reason>` line is an incomplete run. The report is not the finish; the close is.
17
+
18
+ ### Setup
19
+
20
+ 1. **Resolve the target** to a concrete file path or URL. Prefer a source path over a dev-server URL when both identify the same surface; ports drift, paths do not.
21
+ - "the homepage" -> `site/pages/index.astro` or `index.html`
22
+ - "the settings modal" -> the primary component file
23
+ - "this page" -> the current URL or source file
24
+ 2. **Confirm the target slugs cleanly**:
25
+ ```bash
26
+ .agents/skills/impeccable/scripts/impeccable critique-storage slug "<resolved-path-or-url>"
27
+ ```
28
+ Every later command also accepts the resolved target directly and derives the same slug internally; never hand-write a slug. If this exits non-zero, skip persistence and trend for this run, but continue the critique.
29
+ 3. **Read `.impeccable/critique/ignore.md`** if it exists. Drop matching findings silently; it is the only prior-run input critique consumes.
30
+
31
+ ### Assessment Orchestration
32
+
33
+ **Native platforms** (`ios` / `android` / `adaptive`): Assessment B does not apply, because `impeccable detect` and the browser overlay read only web markup. Run Assessment A alone in this context and skip both sub-agent gates below, the Codex permission question included: with no B there is nothing to isolate A from, so this is the complete native method and carries no degraded banner. Do not run `impeccable detect` on native source; its empty result reads as clean.
34
+
35
+ Delegate Assessment A and Assessment B to separate sub-agents. They must not see each other's output. Do not show findings to the user until synthesis.
36
+
37
+ Sub-agent gate (all harnesses):
38
+ - Unless a harness-specific gate below overrides this, spawn A and B as two isolated, parallel sub-agents whenever a sub-agent/Task tool is exposed. This is the default and is mandatory; do not run them inline because it is faster.
39
+ - Desktop apps (see **Desktop apps** under Assessment B) are the one exception to parallel: both sub-agents would drive the app's single window at once. Seed the window, spawn A, wait until it has finished and put the window back, then spawn B. They are still two isolated sub-agents, so this is not the degraded path.
40
+ - "Unavailable" means exactly one thing: no sub-agent/Task tool is exposed in this session (or, on harnesses that ask, the user declined). It does not mean inconvenient.
41
+ - If and only if sub-agents are unavailable, fall back sequentially: finish and record Assessment A, then run Assessment B, then synthesize, and emit the degraded banner.
42
+ - Whichever path you take, declare it in the report header (see Report header provenance). Skipping sub-agents without the banner is the most common failure of this command.
43
+
44
+ Codex sub-agent gate (overrides the default above; Codex's permission model requires asking before spawning):
45
+ - Asking is the normal path, not a degradation. Approving and spawning is the dual-agent path; do not emit the degraded banner just for asking.
46
+ - If `spawn_agent` is exposed and the user explicitly allowed sub-agents, delegation, or parallel agent work, spawn A and B immediately (for a desktop app, A first and B once A has finished, as the default gate above says).
47
+ - If `spawn_agent` is exposed but the user did not explicitly allow sub-agents, ask exactly once: "Impeccable critique is designed to run two independent sub-agents for an unanchored assessment. May I use sub-agents for this critique?" Then stop until the user answers.
48
+ - If allowed, spawn A and B (in sequence for a desktop app). If declined, run sequentially and lead the report with `⚠️ DEGRADED: single-context (sub-agents declined by user)`.
49
+ - If `spawn_agent` is not exposed, do not ask; run sequentially and lead with `⚠️ DEGRADED: single-context (spawn_agent unavailable in this session)`.
50
+ - If spawning fails after permission, run sequentially and lead with `⚠️ DEGRADED: single-context (sub-agent spawn failed: <exact error>)`.
51
+ Prefer `fork_context: false` with self-contained prompts containing cwd, target, live URL, references, product context, and output contract. If using `fork_context: true`, omit `agent_type`, `model`, and `reasoning_effort`.
52
+
53
+ If browser automation is available, each assessment creates its own new tab. Never reuse an existing tab, even if it is already at the right URL. Desktop apps are the exception (see **Desktop apps** under Assessment B).
54
+
55
+ ### Assessment A: Design Review
56
+
57
+ Read relevant source files and visually inspect the live page when browser automation is available. Think like a design director.
58
+
59
+ Evaluate:
60
+ - **Design specificity**: Is the composition, interaction, and visual language grounded in this product, or could an unrelated product use it unchanged? Make this judgment before seeing detector output.
61
+ - **Holistic design**: hierarchy, IA, emotional fit, discoverability, composition, typography, color, accessibility, states, copy, and edge cases.
62
+ - **Cognitive load**: consult the [Cognitive Load Assessment](#cognitive-load-assessment) section below; report checklist failures and decision points with >4 visible options.
63
+ - **Emotional journey**: peak-end rule, emotional valleys, reassurance at high-stakes moments.
64
+ - **Nielsen heuristics**: consult the [Heuristics Scoring Guide](#heuristics-scoring-guide) section below; score all 10 heuristics 0-4, marking any heuristic the mode-applicability rule allows as `n/a` instead of forcing a number.
65
+
66
+ Return: design-specificity verdict, heuristic scores, cognitive load, emotional journey, 2-3 strengths, 3-5 priority issues, persona red flags, minor observations, and provocative questions.
67
+
68
+ ### Assessment B: Detector + Browser Evidence
69
+
70
+ Run the bundled detector and browser visualization evidence. On web, Assessment B is mandatory and must remain isolated from Assessment A until both are complete.
71
+
72
+ CLI scan:
73
+ ```bash
74
+ .agents/skills/impeccable/scripts/impeccable detect --json [target]
75
+ ```
76
+
77
+ - Pass markup files/directories as `[target]`; do not pass CSS-only files.
78
+ - For URLs, skip CLI scan and use browser visualization.
79
+ - For very large trees (500+ scannable files), narrow scope or ask.
80
+ - Exit code 0 = clean; 2 = findings.
81
+ - If the detector entrypoint is missing or fails to load, report deterministic scan unavailable and continue with browser/manual review.
82
+
83
+ Browser visualization is required for a viewable target when browser automation is available. Use a localhost dev/static URL for local files; avoid `file://` unless the available browser explicitly supports this workflow. Overlay flow:
84
+
85
+ 1. Create a fresh tab and navigate. Prefer the harness's native/browser-canvas screenshot path before hand-rolling a Playwright/Puppeteer script; only fall back to a custom script when no native browser tool is exposed.
86
+ 2. Preflight mutable injection by setting `document.title` and appending a `<script>` tag. Read-only evaluate APIs do not count.
87
+ 3. If mutation is unavailable, skip live server, browser presentation, and injection; report fallback signal.
88
+ 4. If mutation is available, start `.agents/skills/impeccable/scripts/impeccable live-server --background`, present the browser if supported, label `[Human]`, scroll top, inject `http://localhost:PORT/detect.js`, wait 2-3 seconds, read `impeccable` console messages, then run `.agents/skills/impeccable/scripts/impeccable live-server stop --keep-inject`. The overlay went in through the browser, so the project's HTML has no script tag to strip; a bare `stop` also runs `live-inject --remove` against the project's entry file, an edit a read-only critique should not make.
89
+ 5. For multi-view targets, inject on 3-5 representative pages.
90
+
91
+ **Desktop apps** (Electron, NW.js, CEF, WebView2): there is no URL to open, so Assessment B attaches to the running app instead.
92
+
93
+ 1. Launch the app with a local DevTools port: `--remote-debugging-port=9222` (Electron, NW.js, CEF), or `WEBVIEW2_ADDITIONAL_BROWSER_ARGUMENTS=--remote-debugging-port=9222` for WebView2. Keep the port on 127.0.0.1 and never expose it beyond this machine; prefer a test profile and test data.
94
+ 2. Seed the state under review (route, open panel, theme, data). The scan reads the window as it stands. Keep the window on screen: a minimized or hidden window scans without the pixel contrast reads.
95
+ 3. Run `.agents/skills/impeccable/scripts/impeccable detect --cdp 9222 --target <part of the page URL or title> --json`. It returns the same JSON as a URL scan and leaves the page as found. With several pages open it fails and lists them; rerun with a `--target` that names one.
96
+ 4. Take screenshots through the harness's CDP tooling (`Page.captureScreenshot` on the same target). Skip the live-server overlay: there is no `[Human]` tab.
97
+
98
+ The app has one window, so the assessments take turns in it instead of opening tabs (A, then B; see the sub-agent gate), and each must leave it as found: put back any route, scroll, theme, or panel it changed. Tauri on macOS (WKWebView) and on Linux (WebKitGTK) expose no CDP: run Assessment A and the source scan only, and say so in Run Notes.
99
+
100
+ Codex Browser note: Use the Browser skill. Do not spend a Browser attempt on `file://`. Only call `visibility.set(true)` after mutable script injection is confirmed for the `[Human]` overlay path; verify with `get()`. Use `tab.dev.logs({ filter: "impeccable" })` for console results. Its Playwright `evaluate(...)` surface is read-only; do not rely on it for mutation.
101
+
102
+ Return: CLI findings JSON/counts, browser console findings if applicable, false positives, and skipped/failed browser steps with concrete reasons.
103
+
104
+ After Assessment B returns usable CLI findings, reuse them. Do not rerun `impeccable detect` in the parent unless Assessment B failed, was truncated, or omitted count, rule names, or file locations.
105
+
106
+ Codex failure accounting: final Run Notes must include target slug, ignore list, assessment independence, CLI detector, browser visibility, overlay injection, live-server cleanup, temp-file cleanup, and any fallback signal used. Do not run repo status checks, late API spelunking, or unrelated verification after the report is assembled.
107
+
108
+ ### Generate Combined Critique Report
109
+
110
+ Synthesize both assessments into a single report. Do not simply concatenate. Weave the findings together, noting where the LLM review and detector agree, where the detector caught issues the LLM missed, and where detector findings are false positives.
111
+
112
+ The chat response is the primary user-facing deliverable. Present the full structured critique below in chat; do not replace it with a summary and a link. The persisted snapshot is an archive of that run.
113
+
114
+ Codex final-answer note: `$impeccable critique` produces a report artifact, so the final chat response should intentionally exceed the usual concise close-out style. Do not title the final response "Critique Summary" unless the user explicitly asked for a summary.
115
+
116
+ Structure your feedback as a design director would:
117
+
118
+ #### Report header provenance
119
+
120
+ The report's first line MUST declare how the assessments were run, so a degraded run is never silent:
121
+ - Dual-agent: `Method: dual-agent (A: <agent-id> · B: <agent-id>)`
122
+ - Degraded: `⚠️ DEGRADED: single-context (<reason, e.g. no sub-agent tool exposed>)`
123
+ - Native: `Method: design review only (detector not applicable, native platform)`
124
+
125
+ #### Design Health Score
126
+ > *Consult the [Heuristics Scoring Guide](#heuristics-scoring-guide) section below.*
127
+
128
+ Present the Nielsen's 10 heuristics scores as a table:
129
+
130
+ | # | Heuristic | Score | Key Issue |
131
+ |---|-----------|-------|-----------|
132
+ | 1 | Visibility of System Status | ? | [specific finding or "n/a" if solid] |
133
+ | 2 | Match System / Real World | ? | |
134
+ | 3 | User Control and Freedom | ? | |
135
+ | 4 | Consistency and Standards | ? | |
136
+ | 5 | Error Prevention | ? | |
137
+ | 6 | Recognition Rather Than Recall | ? | |
138
+ | 7 | Flexibility and Efficiency | ? | |
139
+ | 8 | Aesthetic and Minimalist Design | ? | |
140
+ | 9 | Error Recovery | ? | |
141
+ | 10 | Help and Documentation | ? | |
142
+ | **Total** | | **??/[applicable max]** | **[Rating band]** |
143
+
144
+ The applicable maximum is 4 times the number of heuristics you actually scored: **/40** when all ten apply, **/32** when two are `n/a`. Never print `/40` over a partial set.
145
+
146
+ Be honest with scores. A 4 means genuinely excellent. Most real interfaces score 20-32 out of 40.
147
+
148
+ **Mode applicability**: heuristics 7 (Flexibility and Efficiency) and 10 (Help and Documentation) may be scored `n/a` on Persuade and Experience surfaces (landing pages, campaigns, portfolios, bodies of work), as may any other heuristic that genuinely cannot apply to the surface under review. Write `n/a` in the Score cell with a one-line reason, and renormalize the total to the applicable maximum (e.g. **24/32** when two heuristics are n/a) so the rating band stays proportional. The persisted snapshot must record the applicable maximum and which heuristics were scored n/a.
149
+
150
+ #### Design Specificity Verdict
151
+
152
+ **Start here.** Does the result feel authored for this product, or category-interchangeable?
153
+
154
+ **LLM assessment**: Your unanchored evaluation of design specificity. Cover overall coherence, structural sameness, category-interchangeable choices, and missed opportunities for product character.
155
+
156
+ **Deterministic scan**: Summarize what the automated detector found, with counts and file locations. Note any additional issues the detector caught that you missed, and flag any false positives. On a native platform, write `not applicable (native platform)` instead.
157
+
158
+ **Visual overlays** (if injection succeeded): Tell the user that overlays are now visible in the **[Human]** tab in their browser, highlighting the detected issues. Summarize what the console output reported. If browser visualization was attempted but injection failed, say that no reliable user-visible overlay is available and report the fallback signal instead.
159
+
160
+ #### Overall Impression
161
+ A brief gut reaction: what works, what doesn't, and the single biggest opportunity.
162
+
163
+ #### What's Working
164
+ Highlight 2-3 things done well. Be specific about why they work.
165
+
166
+ #### Priority Issues
167
+ The 3-5 most impactful design problems, ordered by importance.
168
+
169
+ For each issue, tag with **P0-P3 severity** (see [Issue Severity below](#issue-severity-p0p3) for definitions):
170
+ - **[P?] What**: Name the problem clearly
171
+ - **Why it matters**: How this hurts users or undermines goals
172
+ - **Fix**: What to do about it (be concrete)
173
+ - **Suggested command**: Which command could address this (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)
174
+
175
+ #### Persona Red Flags
176
+ > *Consult the [Personas reference](#persona-based-design-testing) below.*
177
+
178
+ Auto-select 2-3 personas most relevant to this interface type (use the selection table in the reference). If `AGENTS.md` contains a `## Design Context` section from `impeccable init`, also generate 1-2 project-specific personas from the audience/brand info.
179
+
180
+ For each selected persona, walk through the primary user action and list specific red flags found:
181
+
182
+ **Alex (Power User)**: No keyboard shortcuts detected. Form requires 8 clicks for primary action. Forced modal onboarding. High abandonment risk.
183
+
184
+ **Jordan (First-Timer)**: Icon-only nav in sidebar. Technical jargon in error messages ("404 Not Found"). No visible help. Will abandon at step 2.
185
+
186
+ Be specific. Name the exact elements and interactions that fail each persona. Don't write generic persona descriptions; write what broke for them.
187
+
188
+ #### Minor Observations
189
+ Quick notes on smaller issues worth addressing.
190
+
191
+ #### Questions to Consider
192
+ Provocative questions that might unlock better solutions:
193
+ - "What if the primary action were more prominent?"
194
+ - "Does this need to feel this complex?"
195
+ - "What would a confident version of this look like?"
196
+
197
+ #### Run Notes
198
+ Keep this compact. Include status for target slug, ignore list, assessment independence, CLI detector, browser visibility, overlay injection, live server cleanup, and temp-file cleanup. For failed or skipped steps, give the concrete observed reason and the fallback signal used. In the final chat response, also include snapshot write and trend read status after persistence has run.
199
+
200
+ Codex Run Notes are final-chat only. Do not include this section in the persisted snapshot body, because persistence, trend read, and temp cleanup happen after the snapshot write and would otherwise archive stale status such as "pending after persistence."
201
+
202
+ **Remember**:
203
+ - Be direct. Vague feedback wastes everyone's time.
204
+ - Be specific. "The submit button," not "some elements."
205
+ - Say what's wrong AND why it matters to users.
206
+ - Give concrete suggestions. Cut "consider exploring..." entirely.
207
+ - Prioritize ruthlessly. If everything is important, nothing is.
208
+ - Don't soften criticism. Developers need honest feedback to ship great design.
209
+
210
+ ### Deliver the Report
211
+
212
+ Write the full report into the chat response now, before any persistence work. This is the deliverable; everything below it is bookkeeping.
213
+
214
+ Do this first because the alternative is the most common way this command fails: the report gets composed once, straight into the persistence heredoc, and the run ends with a perfect archive nobody has read. Composing it into a file is not delivering it. If the report exists only in `.impeccable/critique/`, the run produced nothing.
215
+
216
+ Persistence is not the end of the run. After it, the response continues with the trend line and the close.
217
+
218
+ ### Persist the Snapshot
219
+
220
+ Once the report above is finalized, write it to `.impeccable/critique/` so the user can refer back, and so `$impeccable polish` can pick up the priority issues without a copy-paste.
221
+
222
+ Skip this step if the Setup slug was null (vague or root-level target).
223
+
224
+ 1. **Write the body to a temp file** so you can pipe it to the helper. Use the full critique report (heuristic table, design-specificity verdict, priority issues, persona red flags, minor observations, and questions), but stop before the "Ask the User" / "Recommended Actions" sections that come later.
225
+
226
+ This is a copy of the report you already delivered above, for later commands to read. It is not delivery. If you find yourself composing the report for the first time inside this heredoc, you have skipped Deliver the Report; go back and send it.
227
+
228
+ Codex: exclude Run Notes from the temp body file; Run Notes are final-chat only because persistence, trend read, and temp cleanup happen after the snapshot write.
229
+
230
+ 2. **Pass the structured metadata** through `IMPECCABLE_CRITIQUE_META` (JSON), then run the write command:
231
+ ```bash
232
+ IMPECCABLE_CRITIQUE_META='{"target":"<user phrasing>","total_score":<n>,"max_score":<n>,"na_heuristics":"<comma-separated numbers, or empty>","p0_count":<n>,"p1_count":<n>}' \
233
+ .agents/skills/impeccable/scripts/impeccable critique-storage write "<resolved target>" <body-file>
234
+ ```
235
+ `max_score` is the applicable maximum from the heuristic table (40 when every heuristic applied), so a later run can tell a renormalized total from a full one. For a local file target, the helper also records an exact content fingerprint so polish can distinguish the assessed bytes from later edits without relying on Git state or timestamps. The helper prints the absolute path it wrote. Leave that file on disk. Polish closes it; this run does not.
236
+
237
+ 3. **Delete the temp body file** after the write attempt completes, whether the write succeeded or failed. If deletion fails, mention `temp-file cleanup failed: <reason>` briefly in the final output, but do not block the critique.
238
+
239
+ 4. **Read the trend** for context:
240
+ ```bash
241
+ .agents/skills/impeccable/scripts/impeccable critique-storage trend "<resolved target>" 5
242
+ ```
243
+ This returns a JSON array of the last 5 frontmatter entries (including the one you just wrote).
244
+
245
+ 5. **Append a single line to the user-visible output**, after the report and before the questions:
246
+
247
+ > **Trend for `<slug>` (last 5 runs): 24 → 28 → 32 → 29 → 32 (out of 40)**
248
+ > Wrote `.impeccable/critique/<filename>`.
249
+
250
+ Read `max_score` on each trend entry. When every entry shares one maximum, state it once as above. When they differ, print each score with its own denominator (`24/32 → 30/40`) and note that the runs scored different heuristic sets, so the line is not a like-for-like comparison. Treat a missing `max_score` on an older entry as 40.
251
+
252
+ If this is the first run for the slug, the trend is just one score; say so: "First run for this target, no trend yet."
253
+
254
+ 6. **Close the run.** Go to Ask the User below and emit the questions, or the `Questions skipped: <reason>` line when the count allows it. The run is not complete until you do. Persistence is bookkeeping and cleanup is not an ending; stopping here leaves the user with a report and no way forward, and leaves `$impeccable polish` with no priorities to inherit.
255
+
256
+ This is fire-and-forget. Do not show the user the helper's JSON output; only the human-readable trend line and the written path. Failures here should not block the rest of the flow; print the error and move on.
257
+
258
+ ### Ask the User
259
+
260
+ **After presenting findings**, use targeted questions based on what was actually found. Ask with Codex's structured user-input/question tool when available, or directly in chat if it is not, and wait for the answer before continuing. These answers will shape the action plan.
261
+
262
+ Ask in the same message that carries the report, with the report written out first and the question last. Do not split the two across turns: a turn that ends on the report is a turn that ends, and the questions never arrive. Order within the message is what matters, because prose emitted after a structured question is withheld until the user answers.
263
+
264
+ Ask questions along these lines (adapt to the specific findings; do not ask generic questions):
265
+
266
+ 1. **Priority direction**: Based on the issues found, ask which category matters most to the user right now. For example: "I found problems with visual hierarchy, color usage, and information overload. Which area should we tackle first?" Offer the top 2-3 issue categories as options.
267
+
268
+ 2. **Design intent**: If the critique found a tonal mismatch, ask whether it was intentional. For example: "The interface feels clinical and corporate. Is that the intended tone, or should it feel warmer/bolder/more playful?" Offer 2-3 tonal directions as options based on what would fix the issues found.
269
+
270
+ 3. **Scope**: Ask how much the user wants to take on. For example: "I found N issues. Want to address everything, or focus on the top 3?" Offer scope options like "Top 3 only", "All issues", "Critical issues only".
271
+
272
+ 4. **Constraints** (optional; only ask if relevant): If the findings touch many areas, ask if anything is off-limits. For example: "Should any sections stay as-is?" This prevents the plan from touching things the user considers done.
273
+
274
+ **Rules for questions**:
275
+ - Every question must reference specific findings from the report. Never ask generic "who is your audience?" questions.
276
+ - Keep it to 2-4 questions maximum. Respect the user's time.
277
+ - Offer concrete options, not open-ended prompts.
278
+ - Skipping is allowed only when the report listed **fewer than 3 Priority Issues**. Count them; do not judge the findings "straightforward" by feel. At 3 or more, the questions are required.
279
+
280
+ **Final-question gate.** The user-visible response must either include the targeted questions or carry the literal line `Questions skipped: <reason>` naming the count that permitted the skip. Each question must include 2-3 concrete answer options tied to the actual critique findings. Do not end with only open-ended questions, and do not end with neither: stopping after the report, having asked nothing and printed no skip line, is the most common way this command fails.
281
+
282
+ ### Recommended Actions
283
+
284
+ **After receiving the user's answers**, present a prioritized action summary reflecting the user's priorities and scope from Ask the User.
285
+
286
+ #### Action Summary
287
+
288
+ List recommended commands in priority order, based on the user's answers:
289
+
290
+ 1. **`$command-name`**: Brief description of what to fix (specific context from critique findings)
291
+ 2. **`$command-name`**: Brief description (specific context)
292
+ ...
293
+
294
+ **Rules for recommendations**:
295
+ - 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
296
+ - Order by the user's stated priorities first, then by impact
297
+ - Each item's description should carry enough context that the command knows what to focus on
298
+ - Map each Priority Issue to the appropriate command
299
+ - Skip commands that would address zero issues
300
+ - If the user chose a limited scope, only include items within that scope
301
+ - If the user marked areas as off-limits, exclude commands that would touch those areas
302
+ - End with `$impeccable polish` as the final step if any fixes were recommended
303
+
304
+ After presenting the summary, tell the user:
305
+
306
+ > You can ask me to run these one at a time, all at once, or in any order you prefer.
307
+ >
308
+ > Re-run `$impeccable critique` after fixes to see your score improve.
309
+
310
+ ---
311
+
312
+ ## Reference Material
313
+
314
+ The sections below were previously separate reference files (`cognitive-load.md`, `heuristics-scoring.md`, `personas.md`). They live inline now so the critique flow has all its deep context in one place.
315
+
316
+ ### Cognitive Load Assessment
317
+
318
+ Cognitive load is the total mental effort required to use an interface. Overloaded users make mistakes, get frustrated, and leave. This reference helps identify and fix cognitive overload.
319
+
320
+ ---
321
+
322
+ #### Three Types of Cognitive Load
323
+
324
+ ##### Intrinsic Load: The Task Itself
325
+ Complexity inherent to what the user is trying to do. You can't eliminate this, but you can structure it.
326
+
327
+ **Manage it by**:
328
+ - Breaking complex tasks into discrete steps
329
+ - Providing scaffolding (templates, defaults, examples)
330
+ - Progressive disclosure: show what's needed now, hide the rest
331
+ - Grouping related decisions together
332
+
333
+ ##### Extraneous Load: Bad Design
334
+ Mental effort caused by poor design choices. **Eliminate this ruthlessly.** It's pure waste.
335
+
336
+ **Common sources**:
337
+ - Confusing navigation that requires mental mapping
338
+ - Unclear labels that force users to guess meaning
339
+ - Visual clutter competing for attention
340
+ - Inconsistent patterns that prevent learning
341
+ - Unnecessary steps between user intent and result
342
+
343
+ ##### Germane Load: Learning Effort
344
+ Mental effort spent building understanding. This is *good* cognitive load; it leads to mastery.
345
+
346
+ **Support it by**:
347
+ - Progressive disclosure that reveals complexity gradually
348
+ - Consistent patterns that reward learning
349
+ - Feedback that confirms correct understanding
350
+ - Onboarding that teaches through action, not walls of text
351
+
352
+ ---
353
+
354
+ #### Cognitive Load Checklist
355
+
356
+ Evaluate the interface against these 8 items:
357
+
358
+ - [ ] **Single focus**: Can the user complete their primary task without distraction from competing elements?
359
+ - [ ] **Chunking**: Is information presented in digestible groups (≤4 items per group)?
360
+ - [ ] **Grouping**: Are related items visually grouped together (proximity, borders, shared background)?
361
+ - [ ] **Visual hierarchy**: Is it immediately clear what's most important on the screen?
362
+ - [ ] **One thing at a time**: Can the user focus on a single decision before moving to the next?
363
+ - [ ] **Minimal choices**: Are decisions simplified (≤4 visible options at any decision point)?
364
+ - [ ] **Working memory**: Does the user need to remember information from a previous screen to act on the current one?
365
+ - [ ] **Progressive disclosure**: Is complexity revealed only when the user needs it?
366
+
367
+ **Scoring**: Count the failed items. 0–1 failures = low cognitive load (good). 2–3 = moderate (address soon). 4+ = high cognitive load (critical fix needed).
368
+
369
+ ---
370
+
371
+ #### The Working Memory Rule
372
+
373
+ **Humans can hold ≤4 items in working memory at once** (Miller's Law revised by Cowan, 2001).
374
+
375
+ At any decision point, count the number of distinct options, actions, or pieces of information a user must simultaneously consider:
376
+ - **≤4 items**: Within working memory limits, manageable
377
+ - **5–7 items**: Pushing the boundary; consider grouping or progressive disclosure
378
+ - **8+ items**: Overloaded; users will skip, misclick, or abandon
379
+
380
+ **Practical applications**:
381
+ - Action buttons: 1 primary, 1–2 secondary, group the rest in a menu
382
+ - Navigation menus: ≤5 top-level items (group the rest under clear categories)
383
+ - Long-form articles: one reading path; gather related links into a single block at the end instead of scattering them mid-flow
384
+ - Documentation sidebars: ≤4 sibling choices visible per level before grouping kicks in
385
+ - Portfolio and gallery indexes: one decision per screen (which piece to open), not filter, sort, and tag controls all at once
386
+
387
+ ---
388
+
389
+ #### Common Cognitive Load Violations
390
+
391
+ ##### 1. The Wall of Options
392
+ **Problem**: Presenting 10+ choices at once with no hierarchy.
393
+ **Fix**: Group into categories, highlight recommended, use progressive disclosure.
394
+
395
+ ##### 2. The Memory Bridge
396
+ **Problem**: User must remember info from step 1 to complete step 3.
397
+ **Fix**: Keep relevant context visible, or repeat it where it's needed.
398
+
399
+ ##### 3. The Hidden Navigation
400
+ **Problem**: User must build a mental map of where things are.
401
+ **Fix**: Always show current location (breadcrumbs, active states, progress indicators).
402
+
403
+ ##### 4. The Jargon Barrier
404
+ **Problem**: Technical or domain language forces translation effort.
405
+ **Fix**: Use plain language. If domain terms are unavoidable, define them inline.
406
+
407
+ ##### 5. The Visual Noise Floor
408
+ **Problem**: Every element has the same visual weight; nothing stands out.
409
+ **Fix**: Establish clear hierarchy: one primary element, 2–3 secondary, everything else muted.
410
+
411
+ ##### 6. The Inconsistent Pattern
412
+ **Problem**: Similar actions work differently in different places.
413
+ **Fix**: Standardize interaction patterns. Same type of action = same type of UI.
414
+
415
+ ##### 7. The Multi-Task Demand
416
+ **Problem**: Interface requires processing multiple simultaneous inputs (reading + deciding + navigating).
417
+ **Fix**: Sequence the steps. Let the user do one thing at a time.
418
+
419
+ ##### 8. The Context Switch
420
+ **Problem**: User must jump between screens/tabs/modals to gather info for a single decision.
421
+ **Fix**: Co-locate the information needed for each decision. Reduce back-and-forth.
422
+
423
+ ---
424
+
425
+ ### Heuristics Scoring Guide
426
+
427
+ Score each of Nielsen's 10 Usability Heuristics on a 0–4 scale. Be honest: a 4 means genuinely excellent, not "good enough."
428
+
429
+ #### Nielsen's 10 Heuristics
430
+
431
+ ##### 1. Visibility of System Status
432
+
433
+ Keep users informed about what's happening through timely, appropriate feedback.
434
+
435
+ **Check for**:
436
+ - Loading indicators during async operations
437
+ - Confirmation of user actions (save, submit, delete)
438
+ - Progress indicators for multi-step processes
439
+ - Current location in navigation (breadcrumbs, active states)
440
+ - Form validation feedback (inline, not just on submit)
441
+
442
+ **Scoring**:
443
+ | Score | Criteria |
444
+ |-------|----------|
445
+ | 0 | No feedback; user is guessing what happened |
446
+ | 1 | Rare feedback; most actions produce no visible response |
447
+ | 2 | Partial; some states communicated, major gaps remain |
448
+ | 3 | Good; most operations give clear feedback, minor gaps |
449
+ | 4 | Excellent; every action confirms, progress is always visible |
450
+
451
+ ##### 2. Match Between System and Real World
452
+
453
+ Speak the user's language. Follow real-world conventions. Information appears in natural, logical order.
454
+
455
+ **Check for**:
456
+ - Familiar terminology (no unexplained jargon)
457
+ - Logical information order matching user expectations
458
+ - Recognizable icons and metaphors
459
+ - Domain-appropriate language for the target audience
460
+ - Natural reading flow (left-to-right, top-to-bottom priority)
461
+
462
+ **Scoring**:
463
+ | Score | Criteria |
464
+ |-------|----------|
465
+ | 0 | Pure tech jargon, alien to users |
466
+ | 1 | Mostly confusing; requires domain expertise to navigate |
467
+ | 2 | Mixed; some plain language, some jargon leaks through |
468
+ | 3 | Mostly natural; occasional term needs context |
469
+ | 4 | Speaks the user's language fluently throughout |
470
+
471
+ ##### 3. User Control and Freedom
472
+
473
+ Users need a clear "emergency exit" from unwanted states without extended dialogue.
474
+
475
+ **Check for**:
476
+ - Undo/redo functionality
477
+ - Cancel buttons on forms and modals
478
+ - Clear navigation back to safety (home, previous)
479
+ - Easy way to clear filters, search, selections
480
+ - Escape from long or multi-step processes
481
+
482
+ **Scoring**:
483
+ | Score | Criteria |
484
+ |-------|----------|
485
+ | 0 | Users get trapped; no way out without refreshing |
486
+ | 1 | Difficult exits; must find obscure paths to escape |
487
+ | 2 | Some exits; main flows have escape, edge cases don't |
488
+ | 3 | Good control; users can exit and undo most actions |
489
+ | 4 | Full control; undo, cancel, back, and escape everywhere |
490
+
491
+ ##### 4. Consistency and Standards
492
+
493
+ Users shouldn't wonder whether different words, situations, or actions mean the same thing.
494
+
495
+ **Check for**:
496
+ - Consistent terminology throughout the interface
497
+ - Same actions produce same results everywhere
498
+ - Platform conventions followed (standard UI patterns)
499
+ - Visual consistency (colors, typography, spacing, components)
500
+ - Consistent interaction patterns (same gesture = same behavior)
501
+
502
+ **Scoring**:
503
+ | Score | Criteria |
504
+ |-------|----------|
505
+ | 0 | Inconsistent everywhere; feels like different products stitched together |
506
+ | 1 | Many inconsistencies; similar things look/behave differently |
507
+ | 2 | Partially consistent; main flows match, details diverge |
508
+ | 3 | Mostly consistent; occasional deviation, nothing confusing |
509
+ | 4 | Fully consistent; cohesive system, predictable behavior |
510
+
511
+ ##### 5. Error Prevention
512
+
513
+ Better than good error messages is a design that prevents problems in the first place.
514
+
515
+ **Check for**:
516
+ - Confirmation before destructive actions (delete, overwrite)
517
+ - Constraints preventing invalid input (date pickers, dropdowns)
518
+ - Smart defaults that reduce errors
519
+ - Clear labels that prevent misunderstanding
520
+ - Autosave and draft recovery
521
+
522
+ **Scoring**:
523
+ | Score | Criteria |
524
+ |-------|----------|
525
+ | 0 | Errors easy to make; no guardrails anywhere |
526
+ | 1 | Few safeguards; some inputs validated, most aren't |
527
+ | 2 | Partial prevention; common errors caught, edge cases slip |
528
+ | 3 | Good prevention; most error paths blocked proactively |
529
+ | 4 | Excellent; errors nearly impossible through smart constraints |
530
+
531
+ ##### 6. Recognition Rather Than Recall
532
+
533
+ Minimize memory load. Make objects, actions, and options visible or easily retrievable.
534
+
535
+ **Check for**:
536
+ - Visible options (not buried in hidden menus)
537
+ - Contextual help when needed (tooltips, inline hints)
538
+ - Recent items and history
539
+ - Autocomplete and suggestions
540
+ - Labels on icons (not icon-only navigation)
541
+
542
+ **Scoring**:
543
+ | Score | Criteria |
544
+ |-------|----------|
545
+ | 0 | Heavy memorization; users must remember paths and commands |
546
+ | 1 | Mostly recall; many hidden features, few visible cues |
547
+ | 2 | Some aids; main actions visible, secondary features hidden |
548
+ | 3 | Good recognition; most things discoverable, few memory demands |
549
+ | 4 | Everything discoverable; users never need to memorize |
550
+
551
+ ##### 7. Flexibility and Efficiency of Use
552
+
553
+ Accelerators, invisible to novices, speed up expert interaction.
554
+
555
+ **Check for**:
556
+ - Keyboard shortcuts for common actions
557
+ - Customizable interface elements
558
+ - Recent items and favorites
559
+ - Bulk/batch actions
560
+ - Power user features that don't complicate the basics
561
+
562
+ **Scoring**:
563
+ | Score | Criteria |
564
+ |-------|----------|
565
+ | 0 | One rigid path; no shortcuts or alternatives |
566
+ | 1 | Limited flexibility; few alternatives to the main path |
567
+ | 2 | Some shortcuts; basic keyboard support, limited bulk actions |
568
+ | 3 | Good accelerators; keyboard nav, some customization |
569
+ | 4 | Highly flexible; multiple paths, power features, customizable |
570
+
571
+ ##### 8. Aesthetic and Minimalist Design
572
+
573
+ Interfaces should not contain irrelevant or rarely needed information. Every element should serve a purpose.
574
+
575
+ **Check for**:
576
+ - Only necessary information visible at each step
577
+ - Clear visual hierarchy directing attention
578
+ - Purposeful use of color and emphasis
579
+ - No decorative clutter competing for attention
580
+ - Focused, uncluttered layouts
581
+
582
+ **Scoring**:
583
+ | Score | Criteria |
584
+ |-------|----------|
585
+ | 0 | Overwhelming; everything competes for attention equally |
586
+ | 1 | Cluttered; too much noise, hard to find what matters |
587
+ | 2 | Some clutter; main content clear, periphery noisy |
588
+ | 3 | Mostly clean; focused design, minor visual noise |
589
+ | 4 | Perfectly minimal; every element earns its pixel |
590
+
591
+ ##### 9. Help Users Recognize, Diagnose, and Recover from Errors
592
+
593
+ Error messages should use plain language, precisely indicate the problem, and constructively suggest a solution.
594
+
595
+ **Check for**:
596
+ - Plain language error messages (no error codes for users)
597
+ - Specific problem identification ("Email is missing @" not "Invalid input")
598
+ - Actionable recovery suggestions
599
+ - Errors displayed near the source of the problem
600
+ - Non-blocking error handling (don't wipe the form)
601
+
602
+ **Scoring**:
603
+ | Score | Criteria |
604
+ |-------|----------|
605
+ | 0 | Cryptic errors; codes, jargon, or no message at all |
606
+ | 1 | Vague errors; "Something went wrong" with no guidance |
607
+ | 2 | Clear but unhelpful; names the problem but not the fix |
608
+ | 3 | Clear with suggestions; identifies problem and offers next steps |
609
+ | 4 | Perfect recovery; pinpoints issue, suggests fix, preserves user work |
610
+
611
+ ##### 10. Help and Documentation
612
+
613
+ Even if the system is usable without docs, help should be easy to find, task-focused, and concise.
614
+
615
+ **Check for**:
616
+ - Searchable help or documentation
617
+ - Contextual help (tooltips, inline hints, guided tours)
618
+ - Task-focused organization (not feature-organized)
619
+ - Concise, scannable content
620
+ - Easy access without leaving current context
621
+
622
+ **Scoring**:
623
+ | Score | Criteria |
624
+ |-------|----------|
625
+ | 0 | No help available anywhere |
626
+ | 1 | Help exists but hard to find or irrelevant |
627
+ | 2 | Basic help; FAQ or docs exist, not contextual |
628
+ | 3 | Good documentation; searchable, mostly task-focused |
629
+ | 4 | Excellent contextual help; right info at the right moment |
630
+
631
+ ---
632
+
633
+ #### Score Summary
634
+
635
+ **Total possible**: 40 points (10 heuristics × 4 max)
636
+
637
+ | Score Range | Rating | What It Means |
638
+ |-------------|--------|---------------|
639
+ | 36–40 | Excellent | Minor polish only; ship it |
640
+ | 28–35 | Good | Address weak areas, solid foundation |
641
+ | 20–27 | Acceptable | Significant improvements needed before users are happy |
642
+ | 12–19 | Poor | Major UX overhaul required; core experience broken |
643
+ | 0–11 | Critical | Redesign needed; unusable in current state |
644
+
645
+ When heuristics were scored `n/a`, the maximum is lower than 40; read the band off the percentage instead of the raw number (90%+ Excellent, 70%+ Good, 50%+ Acceptable, 30%+ Poor, below that Critical). 24/32 is 75%, so Good.
646
+
647
+ ---
648
+
649
+ #### Issue Severity (P0–P3)
650
+
651
+ Tag each individual issue found during scoring with a priority level:
652
+
653
+ | Priority | Name | Description | Action |
654
+ |----------|------|-------------|--------|
655
+ | **P0** | Blocking | Prevents task completion entirely | Fix immediately; this is a showstopper |
656
+ | **P1** | Major | Causes significant difficulty or confusion | Fix before release |
657
+ | **P2** | Minor | Annoyance, but workaround exists | Fix in next pass |
658
+ | **P3** | Polish | Nice-to-fix, no real user impact | Fix if time permits |
659
+
660
+ **Tip**: If you're unsure between two levels, ask: "Would a user contact support about this?" If yes, it's at least P1.
661
+
662
+ ---
663
+
664
+ ### Persona-Based Design Testing
665
+
666
+ Test the interface through the eyes of 5 distinct user archetypes. Each persona exposes different failure modes that a single "design director" perspective would miss.
667
+
668
+ **How to use**: Select 2–3 personas most relevant to the interface being critiqued. Walk through the primary user action as each persona. Report specific red flags, not generic concerns.
669
+
670
+ ---
671
+
672
+ #### 1. Impatient Power User: "Alex"
673
+
674
+ **Profile**: Expert with similar products. Expects efficiency, hates hand-holding. Will find shortcuts or leave.
675
+
676
+ **Behaviors**:
677
+ - Skips all onboarding and instructions
678
+ - Looks for keyboard shortcuts immediately
679
+ - Tries to bulk-select, batch-edit, and automate
680
+ - Gets frustrated by required steps that feel unnecessary
681
+ - Abandons if anything feels slow or patronizing
682
+
683
+ **Test Questions**:
684
+ - Can Alex complete the core task in under 60 seconds?
685
+ - Are there keyboard shortcuts for common actions?
686
+ - Can onboarding be skipped entirely?
687
+ - Do modals have keyboard dismiss (Esc)?
688
+ - Is there a "power user" path (shortcuts, bulk actions)?
689
+
690
+ **Red Flags** (report these specifically):
691
+ - Forced tutorials or unskippable onboarding
692
+ - No keyboard navigation for primary actions
693
+ - Slow animations that can't be skipped
694
+ - One-item-at-a-time workflows where batch would be natural
695
+ - Redundant confirmation steps for low-risk actions
696
+
697
+ ---
698
+
699
+ #### 2. Confused First-Timer: "Jordan"
700
+
701
+ **Profile**: Never used this type of product. Needs guidance at every step. Will abandon rather than figure it out.
702
+
703
+ **Behaviors**:
704
+ - Reads all instructions carefully
705
+ - Hesitates before clicking anything unfamiliar
706
+ - Looks for help or support constantly
707
+ - Misunderstands jargon and abbreviations
708
+ - Takes the most literal interpretation of any label
709
+
710
+ **Test Questions**:
711
+ - Is the first action obviously clear within 5 seconds?
712
+ - Are all icons labeled with text?
713
+ - Is there contextual help at decision points?
714
+ - Does terminology assume prior knowledge?
715
+ - Is there a clear "back" or "undo" at every step?
716
+
717
+ **Red Flags** (report these specifically):
718
+ - Icon-only navigation with no labels
719
+ - Technical jargon without explanation
720
+ - No visible help option or guidance
721
+ - Ambiguous next steps after completing an action
722
+ - No confirmation that an action succeeded
723
+
724
+ ---
725
+
726
+ #### 3. Accessibility-Dependent User: "Sam"
727
+
728
+ **Profile**: Uses screen reader (VoiceOver/NVDA), keyboard-only navigation. May have low vision, motor impairment, or cognitive differences.
729
+
730
+ **Behaviors**:
731
+ - Tabs through the interface linearly
732
+ - Relies on ARIA labels and heading structure
733
+ - Cannot see hover states or visual-only indicators
734
+ - Needs adequate color contrast (4.5:1 minimum)
735
+ - May use browser zoom up to 200%
736
+
737
+ **Test Questions**:
738
+ - Can the entire primary flow be completed keyboard-only?
739
+ - Are all interactive elements focusable with visible focus indicators?
740
+ - Do images have meaningful alt text?
741
+ - Is color contrast WCAG AA compliant (4.5:1 for text)?
742
+ - Does the screen reader announce state changes (loading, success, errors)?
743
+
744
+ **Red Flags** (report these specifically):
745
+ - Click-only interactions with no keyboard alternative
746
+ - Missing or invisible focus indicators
747
+ - Meaning conveyed by color alone (red = error, green = success)
748
+ - Unlabeled form fields or buttons
749
+ - Time-limited actions without extension option
750
+ - Custom components that break screen reader flow
751
+
752
+ ---
753
+
754
+ #### 4. Deliberate Stress Tester: "Riley"
755
+
756
+ **Profile**: Methodical user who pushes interfaces beyond the happy path. Tests edge cases, tries unexpected inputs, and probes for gaps in the experience.
757
+
758
+ **Behaviors**:
759
+ - Tests edge cases intentionally (empty states, long strings, special characters)
760
+ - Submits forms with unexpected data (emoji, RTL text, very long values)
761
+ - Tries to break workflows by navigating backwards, refreshing mid-flow, or opening in multiple tabs
762
+ - Looks for inconsistencies between what the UI promises and what actually happens
763
+ - Documents problems methodically
764
+
765
+ **Test Questions**:
766
+ - What happens at the edges (0 items, 1000 items, very long text)?
767
+ - Do error states recover gracefully or leave the UI in a broken state?
768
+ - What happens on refresh mid-workflow? Is state preserved?
769
+ - Are there features that appear to work but produce broken results?
770
+ - How does the UI handle unexpected input (emoji, special chars, paste from Excel)?
771
+
772
+ **Red Flags** (report these specifically):
773
+ - Features that appear to work but silently fail or produce wrong results
774
+ - Error handling that exposes technical details or leaves UI in a broken state
775
+ - Empty states that show nothing useful ("No results" with no guidance)
776
+ - Workflows that lose user data on refresh or navigation
777
+ - Inconsistent behavior between similar interactions in different parts of the UI
778
+
779
+ ---
780
+
781
+ #### 5. Distracted Mobile User: "Casey"
782
+
783
+ **Profile**: Using phone one-handed on the go. Frequently interrupted. Possibly on a slow connection.
784
+
785
+ **Behaviors**:
786
+ - Uses thumb only; prefers bottom-of-screen actions
787
+ - Gets interrupted mid-flow and returns later
788
+ - Switches between apps frequently
789
+ - Has limited attention span and low patience
790
+ - Types as little as possible, prefers taps and selections
791
+
792
+ **Test Questions**:
793
+ - Are primary actions in the thumb zone (bottom half of screen)?
794
+ - Is state preserved if the user leaves and returns?
795
+ - Does it work on slow connections (3G)?
796
+ - Can forms use autocomplete and smart defaults?
797
+ - Are touch targets at least 44×44pt?
798
+
799
+ **Red Flags** (report these specifically):
800
+ - Important actions positioned at the top of the screen (unreachable by thumb)
801
+ - No state persistence; progress lost on tab switch or interruption
802
+ - Large text inputs required where selection would work
803
+ - Heavy assets loading on every page (no lazy loading)
804
+ - Tiny tap targets or targets too close together
805
+
806
+ ---
807
+
808
+ #### Selecting Personas
809
+
810
+ Choose personas based on the interface type:
811
+
812
+ | Interface Type | Primary Personas | Why |
813
+ |---------------|-----------------|-----|
814
+ | Landing page / marketing | Jordan, Riley, Casey | First impressions, trust, mobile |
815
+ | Dashboard / admin | Alex, Sam | Power users, accessibility |
816
+ | E-commerce / checkout | Casey, Riley, Jordan | Mobile, edge cases, clarity |
817
+ | Onboarding flow | Jordan, Casey | Confusion, interruption |
818
+ | Data-heavy / analytics | Alex, Sam | Efficiency, keyboard nav |
819
+ | Form-heavy / wizard | Jordan, Sam, Casey | Clarity, accessibility, mobile |
820
+
821
+ ---
822
+
823
+ #### Project-Specific Personas
824
+
825
+ If `AGENTS.md` contains a `## Design Context` section (generated by `impeccable init`), derive 1–2 additional personas from the audience and brand information:
826
+
827
+ 1. Read the target audience description
828
+ 2. Identify the primary user archetype not covered by the 5 predefined personas
829
+ 3. Create a persona following this template:
830
+
831
+ ```
832
+ ##### [Role]: "[Name]"
833
+
834
+ **Profile**: [2-3 key characteristics derived from Design Context]
835
+
836
+ **Behaviors**: [3-4 specific behaviors based on the described audience]
837
+
838
+ **Red Flags**: [3-4 things that would alienate this specific user type]
839
+ ```
840
+
841
+ Only generate project-specific personas when real Design Context data is available. Don't invent audience details; use the 5 predefined personas when no context exists.