@thanhnguyxn/pixelcraft 0.0.0-stage → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (455) hide show
  1. package/.agents/plugins/marketplace.json +20 -0
  2. package/.antigravity-plugin/plugin.json +32 -0
  3. package/.claude-plugin/marketplace.json +20 -0
  4. package/.claude-plugin/plugin.json +22 -0
  5. package/.codex-plugin/plugin.json +45 -0
  6. package/.cursor-plugin/marketplace.json +17 -0
  7. package/.cursor-plugin/plugin.json +27 -0
  8. package/.devin-plugin/plugin.json +21 -0
  9. package/.github/plugin/marketplace.json +34 -0
  10. package/CHANGELOG.md +159 -0
  11. package/GEMINI.md +1 -0
  12. package/LICENSE +21 -0
  13. package/README.md +264 -2
  14. package/SECURITY.md +28 -0
  15. package/assets/README.md +28 -0
  16. package/assets/pixelcraft-logo-128.png +0 -0
  17. package/assets/pixelcraft-logo-256.png +0 -0
  18. package/assets/pixelcraft-logo-512.png +0 -0
  19. package/bin/pixelcraft.mjs +852 -0
  20. package/docs/ARCHITECTURE.md +105 -0
  21. package/docs/DESIGN-RATIONALE.md +191 -0
  22. package/docs/INSTALL.md +221 -0
  23. package/evals/README.md +37 -0
  24. package/evals/fixtures/3d-web-engineering.json +69 -0
  25. package/evals/fixtures/README.md +36 -0
  26. package/evals/fixtures/acceptance-checklist-rule03-gate.json +43 -0
  27. package/evals/fixtures/ai-ui-libraries.json +53 -0
  28. package/evals/fixtures/audio-visual-accessibility.json +69 -0
  29. package/evals/fixtures/auth-and-checkout-ui.json +53 -0
  30. package/evals/fixtures/brandkit-identity-governance.json +48 -0
  31. package/evals/fixtures/build-and-architecture.json +53 -0
  32. package/evals/fixtures/canvas-and-node-editors.json +53 -0
  33. package/evals/fixtures/chat-ai-exfiltration-ime-hitl-gate.json +43 -0
  34. package/evals/fixtures/completion-gate-scan-until-clean.json +44 -0
  35. package/evals/fixtures/component-systems.json +53 -0
  36. package/evals/fixtures/component-testing.json +53 -0
  37. package/evals/fixtures/constrained-voice-and-tv.json +43 -0
  38. package/evals/fixtures/creative-code-rendering.json +69 -0
  39. package/evals/fixtures/creative-reference-evidence.json +67 -0
  40. package/evals/fixtures/data-app-python-marimo.json +49 -0
  41. package/evals/fixtures/desktop-cpp-juce-audio.json +49 -0
  42. package/evals/fixtures/desktop-csharp-avalonia.json +49 -0
  43. package/evals/fixtures/desktop-native-workspace.json +48 -0
  44. package/evals/fixtures/desktop-python-anti-tkinter.json +49 -0
  45. package/evals/fixtures/direction-prototype-complexity.json +29 -0
  46. package/evals/fixtures/document-prepress-pdfx4-tounicode.json +43 -0
  47. package/evals/fixtures/document-rust-typst-invoice.json +49 -0
  48. package/evals/fixtures/document-typst-and-print-css.json +43 -0
  49. package/evals/fixtures/email-mjml-dark-mode.json +49 -0
  50. package/evals/fixtures/email-outlook-and-plaintext.json +43 -0
  51. package/evals/fixtures/enterprise-data-ui.json +53 -0
  52. package/evals/fixtures/extended-tui-toolkits.json +53 -0
  53. package/evals/fixtures/extensions-mv3-and-vscode.json +43 -0
  54. package/evals/fixtures/file-upload-media-ui.json +53 -0
  55. package/evals/fixtures/finish-gate-anti-slop.json +30 -0
  56. package/evals/fixtures/forms-accessibility-negative.json +29 -0
  57. package/evals/fixtures/forms-validation.json +53 -0
  58. package/evals/fixtures/game-go-ebitengine.json +49 -0
  59. package/evals/fixtures/game-godot-gdscript.json +49 -0
  60. package/evals/fixtures/game-ui-hud-and-engines.json +43 -0
  61. package/evals/fixtures/handoff-fidelity-tolerance.json +29 -0
  62. package/evals/fixtures/i18n-engineering.json +53 -0
  63. package/evals/fixtures/local-first-sync.json +53 -0
  64. package/evals/fixtures/lynxjs.json +53 -0
  65. package/evals/fixtures/maizzle-email.json +53 -0
  66. package/evals/fixtures/maps-geospatial.json +53 -0
  67. package/evals/fixtures/media-og-and-video-export.json +43 -0
  68. package/evals/fixtures/media-players.json +53 -0
  69. package/evals/fixtures/mobile-compose-16kb-foldable-store-gate.json +44 -0
  70. package/evals/fixtures/mobile-elixir-liveview-native.json +49 -0
  71. package/evals/fixtures/mobile-flutter-dynamic-type.json +49 -0
  72. package/evals/fixtures/mobile-harmonyos-arkui.json +49 -0
  73. package/evals/fixtures/mobile-jetpack-compose.json +49 -0
  74. package/evals/fixtures/mobile-swiftui-ios.json +49 -0
  75. package/evals/fixtures/motion-engineering.json +69 -0
  76. package/evals/fixtures/pdfjs-and-pptx.json +53 -0
  77. package/evals/fixtures/plan-brownfield-evidence.json +28 -0
  78. package/evals/fixtures/plan-discovery-interview.json +31 -0
  79. package/evals/fixtures/plan-grill-me-brainstorm-gate.json +49 -0
  80. package/evals/fixtures/reactive-data-apps.json +53 -0
  81. package/evals/fixtures/review-evidence-audit.json +43 -0
  82. package/evals/fixtures/rich-text-and-code-editors.json +53 -0
  83. package/evals/fixtures/scrollytelling-resilience.json +70 -0
  84. package/evals/fixtures/spatial-xr-comfort-and-platforms.json +43 -0
  85. package/evals/fixtures/state-architecture.json +53 -0
  86. package/evals/fixtures/styling-ecosystem.json +53 -0
  87. package/evals/fixtures/token-tooling.json +53 -0
  88. package/evals/fixtures/tui-go-bubbletea.json +49 -0
  89. package/evals/fixtures/tui-rust-ratatui-grapheme-paste-teardown.json +44 -0
  90. package/evals/fixtures/tui-rust-ratatui.json +49 -0
  91. package/evals/fixtures/ux-state-matrix-and-i18n.json +43 -0
  92. package/evals/fixtures/visual-qa-task-evidence.json +29 -0
  93. package/evals/fixtures/web-3d-engines.json +53 -0
  94. package/evals/fixtures/web-php-laravel-filament.json +49 -0
  95. package/evals/fixtures/web-ruby-viewcomponent-phlex.json +49 -0
  96. package/evals/fixtures/workflow-checkpoints.json +30 -0
  97. package/evals/pixelcraft-accessibility.md +74 -0
  98. package/evals/pixelcraft-brandkit.md +58 -0
  99. package/evals/pixelcraft-chat-ui.md +55 -0
  100. package/evals/pixelcraft-constrained.md +55 -0
  101. package/evals/pixelcraft-craft.md +76 -0
  102. package/evals/pixelcraft-data-apps.md +55 -0
  103. package/evals/pixelcraft-dataviz.md +59 -0
  104. package/evals/pixelcraft-desktop.md +55 -0
  105. package/evals/pixelcraft-direction.md +77 -0
  106. package/evals/pixelcraft-document.md +55 -0
  107. package/evals/pixelcraft-email.md +55 -0
  108. package/evals/pixelcraft-extensions.md +55 -0
  109. package/evals/pixelcraft-game-ui.md +59 -0
  110. package/evals/pixelcraft-handoff.md +57 -0
  111. package/evals/pixelcraft-media.md +55 -0
  112. package/evals/pixelcraft-mobile.md +59 -0
  113. package/evals/pixelcraft-patterns.md +73 -0
  114. package/evals/pixelcraft-plan.md +127 -0
  115. package/evals/pixelcraft-review.md +63 -0
  116. package/evals/pixelcraft-spatial.md +55 -0
  117. package/evals/pixelcraft-tokens.md +57 -0
  118. package/evals/pixelcraft-tui.md +55 -0
  119. package/evals/pixelcraft-ux.md +59 -0
  120. package/evals/pixelcraft-visual-qa.md +86 -0
  121. package/evals/pixelcraft-web.md +89 -0
  122. package/evals/pixelcraft.md +70 -0
  123. package/gemini-extension.json +6 -0
  124. package/install.ps1 +341 -0
  125. package/install.sh +512 -0
  126. package/package.json +91 -4
  127. package/plugin.json +29 -0
  128. package/scripts/build-adapters.mjs +288 -0
  129. package/scripts/build-release-archives.mjs +61 -0
  130. package/scripts/build-skill-zips.mjs +94 -0
  131. package/scripts/run-evals.mjs +397 -0
  132. package/scripts/sync-docs.mjs +381 -0
  133. package/scripts/test-build-adapters.mjs +61 -0
  134. package/scripts/test-cross-platform-qa.mjs +359 -0
  135. package/scripts/test-distribution.mjs +203 -0
  136. package/scripts/test-export-tokens.mjs +361 -0
  137. package/scripts/test-finish-gate.mjs +271 -0
  138. package/scripts/test-installers.mjs +216 -0
  139. package/scripts/test-release-archives.mjs +42 -0
  140. package/scripts/test-shoot.mjs +87 -0
  141. package/scripts/test-slop-scan.mjs +416 -0
  142. package/scripts/test-style-inventory.mjs +234 -0
  143. package/scripts/test-sync-docs.mjs +140 -0
  144. package/scripts/test-validate-skills.mjs +195 -0
  145. package/scripts/validate-skills.mjs +658 -0
  146. package/skills/pixelcraft/SKILL.md +155 -0
  147. package/skills/pixelcraft/references/design-brief.md +75 -0
  148. package/skills/pixelcraft/references/floor.md +90 -0
  149. package/skills/pixelcraft/references/report-template.md +49 -0
  150. package/skills/pixelcraft/references/stack-detection.md +226 -0
  151. package/skills/pixelcraft/references/surface-acceptance.md +52 -0
  152. package/skills/pixelcraft/references/workflow-checkpoints.md +71 -0
  153. package/skills/pixelcraft-accessibility/SKILL.md +54 -0
  154. package/skills/pixelcraft-accessibility/references/apg-patterns.md +64 -0
  155. package/skills/pixelcraft-accessibility/references/motion-canvas.md +57 -0
  156. package/skills/pixelcraft-accessibility/references/platforms.md +86 -0
  157. package/skills/pixelcraft-accessibility/references/verification.md +64 -0
  158. package/skills/pixelcraft-accessibility/references/wcag22-checks.md +99 -0
  159. package/skills/pixelcraft-brandkit/SKILL.md +127 -0
  160. package/skills/pixelcraft-brandkit/references/asset-pipeline.md +165 -0
  161. package/skills/pixelcraft-brandkit/references/brand-governance.md +82 -0
  162. package/skills/pixelcraft-brandkit/references/layouts.md +88 -0
  163. package/skills/pixelcraft-brandkit/references/logo-concepting.md +83 -0
  164. package/skills/pixelcraft-brandkit/references/logo-methods.md +97 -0
  165. package/skills/pixelcraft-brandkit/references/pixel-art-logos.md +82 -0
  166. package/skills/pixelcraft-brandkit/references/prompt-template.md +87 -0
  167. package/skills/pixelcraft-brandkit/references/qa-checklist.md +93 -0
  168. package/skills/pixelcraft-brandkit/references/visual-modes.md +123 -0
  169. package/skills/pixelcraft-chat-ui/SKILL.md +57 -0
  170. package/skills/pixelcraft-chat-ui/references/agentic-workspace.md +66 -0
  171. package/skills/pixelcraft-chat-ui/references/ai-ui-libraries.md +259 -0
  172. package/skills/pixelcraft-chat-ui/references/conversation-design.md +84 -0
  173. package/skills/pixelcraft-chat-ui/references/mobile-business-platforms.md +77 -0
  174. package/skills/pixelcraft-chat-ui/references/slack-discord.md +80 -0
  175. package/skills/pixelcraft-constrained/SKILL.md +52 -0
  176. package/skills/pixelcraft-constrained/references/specialized-hardware.md +90 -0
  177. package/skills/pixelcraft-constrained/references/tv-wearables.md +134 -0
  178. package/skills/pixelcraft-constrained/references/voice-ui.md +104 -0
  179. package/skills/pixelcraft-craft/SKILL.md +58 -0
  180. package/skills/pixelcraft-craft/references/color.md +125 -0
  181. package/skills/pixelcraft-craft/references/imagery-icons.md +37 -0
  182. package/skills/pixelcraft-craft/references/layout-quality.md +65 -0
  183. package/skills/pixelcraft-craft/references/layout.md +73 -0
  184. package/skills/pixelcraft-craft/references/motion.md +163 -0
  185. package/skills/pixelcraft-craft/references/typography.md +110 -0
  186. package/skills/pixelcraft-data-apps/SKILL.md +86 -0
  187. package/skills/pixelcraft-data-apps/references/ai-and-internal-data-apps.md +147 -0
  188. package/skills/pixelcraft-data-apps/references/dash.md +109 -0
  189. package/skills/pixelcraft-data-apps/references/evidence.md +90 -0
  190. package/skills/pixelcraft-data-apps/references/gradio.md +103 -0
  191. package/skills/pixelcraft-data-apps/references/julia-genie.md +89 -0
  192. package/skills/pixelcraft-data-apps/references/jupyter-widgets.md +91 -0
  193. package/skills/pixelcraft-data-apps/references/nicegui.md +102 -0
  194. package/skills/pixelcraft-data-apps/references/observable-framework.md +105 -0
  195. package/skills/pixelcraft-data-apps/references/panel.md +99 -0
  196. package/skills/pixelcraft-data-apps/references/r-shiny.md +124 -0
  197. package/skills/pixelcraft-data-apps/references/reactive-data-apps.md +186 -0
  198. package/skills/pixelcraft-data-apps/references/reflex.md +116 -0
  199. package/skills/pixelcraft-data-apps/references/shiny.md +110 -0
  200. package/skills/pixelcraft-data-apps/references/streamlit.md +113 -0
  201. package/skills/pixelcraft-dataviz/SKILL.md +60 -0
  202. package/skills/pixelcraft-dataviz/references/chart-choice.md +55 -0
  203. package/skills/pixelcraft-dataviz/references/color-accessibility.md +112 -0
  204. package/skills/pixelcraft-dataviz/references/encoding-tables-dashboards.md +107 -0
  205. package/skills/pixelcraft-dataviz/references/libraries.md +176 -0
  206. package/skills/pixelcraft-dataviz/references/maps-geospatial.md +159 -0
  207. package/skills/pixelcraft-dataviz/references/realtime-graphs-maps-scale.md +92 -0
  208. package/skills/pixelcraft-desktop/SKILL.md +93 -0
  209. package/skills/pixelcraft-desktop/references/appkit.md +92 -0
  210. package/skills/pixelcraft-desktop/references/avalonia.md +95 -0
  211. package/skills/pixelcraft-desktop/references/cpp-gui.md +129 -0
  212. package/skills/pixelcraft-desktop/references/electron.md +96 -0
  213. package/skills/pixelcraft-desktop/references/go-gui.md +83 -0
  214. package/skills/pixelcraft-desktop/references/gtk.md +97 -0
  215. package/skills/pixelcraft-desktop/references/javafx-swing.md +81 -0
  216. package/skills/pixelcraft-desktop/references/qt-pyside-qml.md +88 -0
  217. package/skills/pixelcraft-desktop/references/rust-gui.md +83 -0
  218. package/skills/pixelcraft-desktop/references/tauri.md +110 -0
  219. package/skills/pixelcraft-desktop/references/uno-platform.md +71 -0
  220. package/skills/pixelcraft-desktop/references/winui-wpf.md +98 -0
  221. package/skills/pixelcraft-desktop/references/working-context.md +84 -0
  222. package/skills/pixelcraft-direction/SKILL.md +120 -0
  223. package/skills/pixelcraft-direction/references/composition-library.md +84 -0
  224. package/skills/pixelcraft-direction/references/creative-brainstorming.md +72 -0
  225. package/skills/pixelcraft-direction/references/direction-card.md +64 -0
  226. package/skills/pixelcraft-direction/references/direction-scoring.md +76 -0
  227. package/skills/pixelcraft-direction/references/motion-identity.md +67 -0
  228. package/skills/pixelcraft-direction/references/movements.md +71 -0
  229. package/skills/pixelcraft-direction/references/reference-analysis.md +37 -0
  230. package/skills/pixelcraft-direction/references/repetition-history.md +75 -0
  231. package/skills/pixelcraft-direction/references/slop-fingerprints.md +83 -0
  232. package/skills/pixelcraft-direction/references/wildcards.md +47 -0
  233. package/skills/pixelcraft-document/SKILL.md +58 -0
  234. package/skills/pixelcraft-document/references/archetypes.md +106 -0
  235. package/skills/pixelcraft-document/references/pdf-tools.md +314 -0
  236. package/skills/pixelcraft-document/references/pdfjs-and-pptx.md +114 -0
  237. package/skills/pixelcraft-document/references/print-css.md +187 -0
  238. package/skills/pixelcraft-document/references/slides.md +198 -0
  239. package/skills/pixelcraft-email/SKILL.md +80 -0
  240. package/skills/pixelcraft-email/references/client-quirks.md +113 -0
  241. package/skills/pixelcraft-email/references/html-tables.md +114 -0
  242. package/skills/pixelcraft-email/references/maizzle.md +54 -0
  243. package/skills/pixelcraft-email/references/mjml.md +54 -0
  244. package/skills/pixelcraft-email/references/react-email.md +95 -0
  245. package/skills/pixelcraft-extensions/SKILL.md +56 -0
  246. package/skills/pixelcraft-extensions/references/browser-extensions.md +105 -0
  247. package/skills/pixelcraft-extensions/references/figma-office.md +106 -0
  248. package/skills/pixelcraft-extensions/references/ide-and-saas-plugins.md +125 -0
  249. package/skills/pixelcraft-extensions/references/raycast.md +98 -0
  250. package/skills/pixelcraft-extensions/references/vscode-webviews.md +100 -0
  251. package/skills/pixelcraft-game-ui/SKILL.md +80 -0
  252. package/skills/pixelcraft-game-ui/references/bevy.md +90 -0
  253. package/skills/pixelcraft-game-ui/references/godot.md +130 -0
  254. package/skills/pixelcraft-game-ui/references/hud-principles.md +67 -0
  255. package/skills/pixelcraft-game-ui/references/love2d.md +77 -0
  256. package/skills/pixelcraft-game-ui/references/monogame.md +68 -0
  257. package/skills/pixelcraft-game-ui/references/unity-ugui.md +109 -0
  258. package/skills/pixelcraft-game-ui/references/unity-ui-toolkit.md +107 -0
  259. package/skills/pixelcraft-game-ui/references/unreal-umg.md +80 -0
  260. package/skills/pixelcraft-game-ui/references/web-and-middleware-game-ui.md +122 -0
  261. package/skills/pixelcraft-handoff/SKILL.md +50 -0
  262. package/skills/pixelcraft-handoff/references/design-translation.md +134 -0
  263. package/skills/pixelcraft-handoff/references/fidelity-tolerance.md +78 -0
  264. package/skills/pixelcraft-handoff/references/motion-handoff.md +54 -0
  265. package/skills/pixelcraft-media/SKILL.md +49 -0
  266. package/skills/pixelcraft-media/references/banners-video.md +130 -0
  267. package/skills/pixelcraft-media/references/og-generation.md +154 -0
  268. package/skills/pixelcraft-media/references/social-cards.md +71 -0
  269. package/skills/pixelcraft-mobile/SKILL.md +86 -0
  270. package/skills/pixelcraft-mobile/references/dotnet-maui.md +91 -0
  271. package/skills/pixelcraft-mobile/references/flet.md +80 -0
  272. package/skills/pixelcraft-mobile/references/flutter.md +113 -0
  273. package/skills/pixelcraft-mobile/references/harmonyos-and-emerging-mobile.md +121 -0
  274. package/skills/pixelcraft-mobile/references/ionic-capacitor.md +87 -0
  275. package/skills/pixelcraft-mobile/references/jetpack-compose.md +129 -0
  276. package/skills/pixelcraft-mobile/references/kivy.md +82 -0
  277. package/skills/pixelcraft-mobile/references/kotlin-multiplatform.md +86 -0
  278. package/skills/pixelcraft-mobile/references/lynxjs.md +110 -0
  279. package/skills/pixelcraft-mobile/references/nativescript-and-skip.md +91 -0
  280. package/skills/pixelcraft-mobile/references/react-native-expo.md +106 -0
  281. package/skills/pixelcraft-mobile/references/swiftui.md +200 -0
  282. package/skills/pixelcraft-mobile/references/tactile-interactions.md +55 -0
  283. package/skills/pixelcraft-mobile/references/task-state-composition.md +85 -0
  284. package/skills/pixelcraft-mobile/references/uikit.md +92 -0
  285. package/skills/pixelcraft-patterns/SKILL.md +75 -0
  286. package/skills/pixelcraft-patterns/references/accessibility-resilience.md +29 -0
  287. package/skills/pixelcraft-patterns/references/ai-and-offline-patterns.md +54 -0
  288. package/skills/pixelcraft-patterns/references/auth-onboarding.md +44 -0
  289. package/skills/pixelcraft-patterns/references/billing-paywalls.md +40 -0
  290. package/skills/pixelcraft-patterns/references/command-workspace.md +56 -0
  291. package/skills/pixelcraft-patterns/references/commerce.md +47 -0
  292. package/skills/pixelcraft-patterns/references/communication.md +45 -0
  293. package/skills/pixelcraft-patterns/references/creative-tools.md +42 -0
  294. package/skills/pixelcraft-patterns/references/creative-web-composition.md +38 -0
  295. package/skills/pixelcraft-patterns/references/dashboard-admin.md +35 -0
  296. package/skills/pixelcraft-patterns/references/history-diff-undo.md +50 -0
  297. package/skills/pixelcraft-patterns/references/marketing.md +44 -0
  298. package/skills/pixelcraft-patterns/references/multi-tenant-rbac.md +47 -0
  299. package/skills/pixelcraft-patterns/references/narrative-systems.md +42 -0
  300. package/skills/pixelcraft-patterns/references/notifications-activity.md +57 -0
  301. package/skills/pixelcraft-patterns/references/pattern-selection.md +80 -0
  302. package/skills/pixelcraft-patterns/references/scheduling-kanban.md +47 -0
  303. package/skills/pixelcraft-patterns/references/scroll-implementation.md +37 -0
  304. package/skills/pixelcraft-patterns/references/search-filtering.md +42 -0
  305. package/skills/pixelcraft-patterns/references/settings.md +51 -0
  306. package/skills/pixelcraft-patterns/references/tables-crud.md +43 -0
  307. package/skills/pixelcraft-plan/SKILL.md +103 -0
  308. package/skills/pixelcraft-plan/references/design-input.md +69 -0
  309. package/skills/pixelcraft-plan/references/discovery-interview.md +110 -0
  310. package/skills/pixelcraft-plan/references/grill-me-protocol.md +63 -0
  311. package/skills/pixelcraft-plan/references/plan-template.md +134 -0
  312. package/skills/pixelcraft-plan/references/repo-discovery.md +49 -0
  313. package/skills/pixelcraft-plan/references/stack-freshness.md +67 -0
  314. package/skills/pixelcraft-plan/references/stack-selection.md +98 -0
  315. package/skills/pixelcraft-review/SKILL.md +86 -0
  316. package/skills/pixelcraft-review/references/audit-report.md +69 -0
  317. package/skills/pixelcraft-review/references/critique-protocol.md +89 -0
  318. package/skills/pixelcraft-review/references/heuristics.md +63 -0
  319. package/skills/pixelcraft-review/references/personas.md +53 -0
  320. package/skills/pixelcraft-review/references/polish.md +78 -0
  321. package/skills/pixelcraft-review/scripts/check-acceptance.mjs +619 -0
  322. package/skills/pixelcraft-review/scripts/fixtures/brand-critique-waivers.json +14 -0
  323. package/skills/pixelcraft-review/scripts/fixtures/brand-critique.css +18 -0
  324. package/skills/pixelcraft-review/scripts/fixtures/clean.html +43 -0
  325. package/skills/pixelcraft-review/scripts/fixtures/focus-after-block.css +4 -0
  326. package/skills/pixelcraft-review/scripts/fixtures/focus-at-rules.css +17 -0
  327. package/skills/pixelcraft-review/scripts/fixtures/focus-comments.css +10 -0
  328. package/skills/pixelcraft-review/scripts/fixtures/focus-html-quote-leak.html +12 -0
  329. package/skills/pixelcraft-review/scripts/fixtures/focus-invalid-replacements.css +27 -0
  330. package/skills/pixelcraft-review/scripts/fixtures/focus-longhand-removal.css +34 -0
  331. package/skills/pixelcraft-review/scripts/fixtures/focus-nested-rules.css +19 -0
  332. package/skills/pixelcraft-review/scripts/fixtures/focus-not-visible-skip.css +8 -0
  333. package/skills/pixelcraft-review/scripts/fixtures/focus-outline-shorthands.css +11 -0
  334. package/skills/pixelcraft-review/scripts/fixtures/focus-unknown-and-border.css +15 -0
  335. package/skills/pixelcraft-review/scripts/fixtures/focus-unknown-last-wins.css +19 -0
  336. package/skills/pixelcraft-review/scripts/fixtures/focus-valid-replacements-extended.css +29 -0
  337. package/skills/pixelcraft-review/scripts/fixtures/focus-visible-no-replacement.css +3 -0
  338. package/skills/pixelcraft-review/scripts/fixtures/focus-visible-valid-replacements.css +9 -0
  339. package/skills/pixelcraft-review/scripts/fixtures/slop.html +28 -0
  340. package/skills/pixelcraft-review/scripts/slop-scan.mjs +1233 -0
  341. package/skills/pixelcraft-spatial/SKILL.md +51 -0
  342. package/skills/pixelcraft-spatial/references/comfort-accessibility.md +39 -0
  343. package/skills/pixelcraft-spatial/references/platforms.md +147 -0
  344. package/skills/pixelcraft-tokens/SKILL.md +60 -0
  345. package/skills/pixelcraft-tokens/assets/tokens.example.json +71 -0
  346. package/skills/pixelcraft-tokens/assets/tokens.modes.example.json +47 -0
  347. package/skills/pixelcraft-tokens/references/adoption.md +55 -0
  348. package/skills/pixelcraft-tokens/references/format.md +84 -0
  349. package/skills/pixelcraft-tokens/references/governance.md +80 -0
  350. package/skills/pixelcraft-tokens/references/state-tokens.md +62 -0
  351. package/skills/pixelcraft-tokens/references/theme-presets.md +122 -0
  352. package/skills/pixelcraft-tokens/references/token-tooling.md +119 -0
  353. package/skills/pixelcraft-tokens/scripts/export-tokens.mjs +847 -0
  354. package/skills/pixelcraft-tui/SKILL.md +76 -0
  355. package/skills/pixelcraft-tui/references/bubbletea-lipgloss.md +79 -0
  356. package/skills/pixelcraft-tui/references/extended-tui-toolkits.md +127 -0
  357. package/skills/pixelcraft-tui/references/ink.md +109 -0
  358. package/skills/pixelcraft-tui/references/ratatui.md +102 -0
  359. package/skills/pixelcraft-tui/references/rich.md +82 -0
  360. package/skills/pixelcraft-tui/references/terminal-protocols.md +80 -0
  361. package/skills/pixelcraft-tui/references/textual.md +108 -0
  362. package/skills/pixelcraft-ux/SKILL.md +56 -0
  363. package/skills/pixelcraft-ux/references/cognitive-walkthrough.md +70 -0
  364. package/skills/pixelcraft-ux/references/feedback-performance.md +50 -0
  365. package/skills/pixelcraft-ux/references/flows-ia.md +44 -0
  366. package/skills/pixelcraft-ux/references/forms.md +151 -0
  367. package/skills/pixelcraft-ux/references/i18n.md +221 -0
  368. package/skills/pixelcraft-ux/references/laws.md +39 -0
  369. package/skills/pixelcraft-ux/references/locale-test-matrix.md +60 -0
  370. package/skills/pixelcraft-ux/references/state-matrix.md +53 -0
  371. package/skills/pixelcraft-ux/references/usability-testing.md +84 -0
  372. package/skills/pixelcraft-ux/references/ux-writing.md +44 -0
  373. package/skills/pixelcraft-visual-qa/SKILL.md +96 -0
  374. package/skills/pixelcraft-visual-qa/references/baseline-governance.md +70 -0
  375. package/skills/pixelcraft-visual-qa/references/capture-desktop-game.md +59 -0
  376. package/skills/pixelcraft-visual-qa/references/capture-document.md +70 -0
  377. package/skills/pixelcraft-visual-qa/references/capture-email.md +38 -0
  378. package/skills/pixelcraft-visual-qa/references/capture-mobile.md +50 -0
  379. package/skills/pixelcraft-visual-qa/references/capture-terminal.md +35 -0
  380. package/skills/pixelcraft-visual-qa/references/critique-rubric.md +71 -0
  381. package/skills/pixelcraft-visual-qa/references/finish-gate.md +35 -0
  382. package/skills/pixelcraft-visual-qa/references/measured-craft.md +30 -0
  383. package/skills/pixelcraft-visual-qa/references/motion-capture.md +63 -0
  384. package/skills/pixelcraft-visual-qa/references/performance-budgets.md +78 -0
  385. package/skills/pixelcraft-visual-qa/references/realtime-graphics.md +55 -0
  386. package/skills/pixelcraft-visual-qa/references/task-verification.md +81 -0
  387. package/skills/pixelcraft-visual-qa/scripts/check-contrast.mjs +442 -0
  388. package/skills/pixelcraft-visual-qa/scripts/check-email.mjs +397 -0
  389. package/skills/pixelcraft-visual-qa/scripts/check-pdf.mjs +189 -0
  390. package/skills/pixelcraft-visual-qa/scripts/check-tui.mjs +321 -0
  391. package/skills/pixelcraft-visual-qa/scripts/finish-gate.mjs +174 -0
  392. package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-aria-modal.html +19 -0
  393. package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-audit.html +34 -0
  394. package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-modal.html +17 -0
  395. package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory-deferred.js +1 -0
  396. package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory-edge.html +52 -0
  397. package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory.html +80 -0
  398. package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory.js +8 -0
  399. package/skills/pixelcraft-visual-qa/scripts/shoot.mjs +668 -0
  400. package/skills/pixelcraft-visual-qa/scripts/style-inventory.mjs +1226 -0
  401. package/skills/pixelcraft-web/SKILL.md +132 -0
  402. package/skills/pixelcraft-web/references/accessibility-performance.md +42 -0
  403. package/skills/pixelcraft-web/references/adaptive-layout.md +69 -0
  404. package/skills/pixelcraft-web/references/angular.md +108 -0
  405. package/skills/pixelcraft-web/references/assets-pipeline.md +67 -0
  406. package/skills/pixelcraft-web/references/astro.md +113 -0
  407. package/skills/pixelcraft-web/references/audio-reactive.md +61 -0
  408. package/skills/pixelcraft-web/references/auth-and-checkout-ui.md +115 -0
  409. package/skills/pixelcraft-web/references/build-and-architecture.md +215 -0
  410. package/skills/pixelcraft-web/references/canvas-and-node-editors.md +157 -0
  411. package/skills/pixelcraft-web/references/clojurescript.md +88 -0
  412. package/skills/pixelcraft-web/references/component-systems.md +102 -0
  413. package/skills/pixelcraft-web/references/component-testing.md +170 -0
  414. package/skills/pixelcraft-web/references/creative-effects.md +59 -0
  415. package/skills/pixelcraft-web/references/creative-runtime.md +34 -0
  416. package/skills/pixelcraft-web/references/elm.md +53 -0
  417. package/skills/pixelcraft-web/references/enterprise-data-ui.md +138 -0
  418. package/skills/pixelcraft-web/references/file-upload-media-ui.md +82 -0
  419. package/skills/pixelcraft-web/references/forms-validation.md +123 -0
  420. package/skills/pixelcraft-web/references/fsharp-fable.md +54 -0
  421. package/skills/pixelcraft-web/references/gsap.md +102 -0
  422. package/skills/pixelcraft-web/references/html-css.md +220 -0
  423. package/skills/pixelcraft-web/references/htmx-alpine.md +103 -0
  424. package/skills/pixelcraft-web/references/i18n-engineering.md +106 -0
  425. package/skills/pixelcraft-web/references/interaction-and-search-primitives.md +196 -0
  426. package/skills/pixelcraft-web/references/java-web.md +61 -0
  427. package/skills/pixelcraft-web/references/kotlin-web.md +57 -0
  428. package/skills/pixelcraft-web/references/leptos-yew.md +97 -0
  429. package/skills/pixelcraft-web/references/lit-web-components.md +63 -0
  430. package/skills/pixelcraft-web/references/local-first-sync.md +105 -0
  431. package/skills/pixelcraft-web/references/media-players.md +104 -0
  432. package/skills/pixelcraft-web/references/motion-react.md +96 -0
  433. package/skills/pixelcraft-web/references/motion-recipes.md +82 -0
  434. package/skills/pixelcraft-web/references/preact-fresh-hono.md +111 -0
  435. package/skills/pixelcraft-web/references/pwa.md +230 -0
  436. package/skills/pixelcraft-web/references/qwik.md +94 -0
  437. package/skills/pixelcraft-web/references/r3f-integration.md +69 -0
  438. package/skills/pixelcraft-web/references/react-next.md +168 -0
  439. package/skills/pixelcraft-web/references/rendering-choice.md +63 -0
  440. package/skills/pixelcraft-web/references/rendering-performance.md +80 -0
  441. package/skills/pixelcraft-web/references/rich-text-and-code-editors.md +220 -0
  442. package/skills/pixelcraft-web/references/rive-lottie.md +73 -0
  443. package/skills/pixelcraft-web/references/scala-laminar.md +53 -0
  444. package/skills/pixelcraft-web/references/scene-architecture.md +132 -0
  445. package/skills/pixelcraft-web/references/server-rendered.md +114 -0
  446. package/skills/pixelcraft-web/references/shader-workflow.md +77 -0
  447. package/skills/pixelcraft-web/references/smooth-scroll.md +58 -0
  448. package/skills/pixelcraft-web/references/solid.md +111 -0
  449. package/skills/pixelcraft-web/references/state-architecture.md +107 -0
  450. package/skills/pixelcraft-web/references/styling-ecosystem.md +273 -0
  451. package/skills/pixelcraft-web/references/svelte.md +111 -0
  452. package/skills/pixelcraft-web/references/tailwind.md +99 -0
  453. package/skills/pixelcraft-web/references/video-media.md +69 -0
  454. package/skills/pixelcraft-web/references/vue-nuxt.md +86 -0
  455. package/skills/pixelcraft-web/references/web-3d-engines.md +97 -0
@@ -0,0 +1,63 @@
1
+ # Nielsen and AI/agentic heuristics as concrete checks
2
+
3
+ Translate every heuristic into an observable defect tied to a severity (`P0`–`P3`), evidence (`file:line` or rendered state), and concrete fix. Never average away a `P0` with a numeric score.
4
+
5
+ ## Severity mapping (P0–P3)
6
+
7
+ | Severity | Heuristic failure bar | Example |
8
+ |---|---|---|
9
+ | **P0** | Task blocker, accessibility/floor breach, data loss, silent destructive action, fabricated claim/citation | Primary submit button unreachable by keyboard; agent deletes records without approval or undo; invented metric/citation |
10
+ | **P1** | Major workflow breakdown, missing recovery, misleading system state, wrong platform idiom | Error wipes entered form values; streaming AI response cannot be stopped; mobile back gesture loses unsaved sheet draft |
11
+ | **P2** | Comprehensibility, efficiency, or trust defect | Inconsistent action labels (`Archive` vs `Remove`); opaque tool-call spinner for > 10s; raw HTTP 500 error string |
12
+ | **P3** | Polish / craft friction with intact task flow | Minor optical misalignment, redundant microcopy, slightly sluggish non-blocking hover transition |
13
+
14
+ ## Core Nielsen heuristics
15
+
16
+ | Heuristic | Concrete checks | Default severity when broken |
17
+ |---|---|---|
18
+ | Visibility of system status | Immediate input acknowledgment (`≤ 100ms`); truthful progress; sync/save/upload state; stale/offline badge | P1–P2 (P0 if silent data loss) |
19
+ | Match system & real world | Domain vocabulary, locale units/dates, logical ordering; zero raw DB/API jargon | P2 |
20
+ | User control & freedom | Undo/cancel/Escape/back; reversible defaults; no trapped modal; interruption/draft recovery | P0–P1 |
21
+ | Consistency & standards | Identical action names/icons/positions; native platform back, menu, focus, and shortcut idioms | P1–P2 |
22
+ | Error prevention | Forgiving input parsing, proportionate destructive friction, smart defaults, idempotent submit | P1–P2 |
23
+ | Recognition over recall | Persistent visible labels, active filters, recent context, visible key legends (no hidden-command lock-in) | P2 |
24
+ | Flexibility & efficiency | Keyboard shortcuts, bulk actions, saved views/filters that accelerate experts without cluttering novice flows | P2–P3 |
25
+ | Aesthetic & minimalist signal | Every region serves the task; zero decorative chrome, card-in-card clutter, or competing focal points | P2–P3 |
26
+ | Recognize, diagnose, recover | Plain-language cause + what was preserved + concrete recovery action; never blame user | P1 |
27
+ | Help & documentation | Contextual, searchable, consistent placement (WCAG 3.2.6); never a bandage for broken interaction | P2–P3 |
28
+
29
+ ## AI, streaming, and agentic heuristics
30
+
31
+ Audit every LLM, copilot, or autonomous workflow against these five criteria:
32
+
33
+ | Heuristic | Concrete check | Failure signal |
34
+ |---|---|---|
35
+ | **Trust calibration** | Clearly distinguish deterministic facts, tool outputs, and probabilistic model generations; surface uncertainty honestly | Presenting unverified model guesses with authoritative badge styling or fake confidence percentages |
36
+ | **Cancellation & interruption** | Visible, keyboard-reachable Stop/Abort control stays active throughout streaming and multi-step tool runs | Disabled input or runaway agent loop with no way to halt generation or side effects |
37
+ | **Partial output safety** | Stopping or network drop preserves already-streamed tokens cleanly, renders unclosed markdown/code blocks safely, and supports retry/edit | Partial answer disappears on abort or broken code fence corrupts the surrounding page layout |
38
+ | **Provenance & grounding** | Every citation, file reference, or data claim links to an inspectable real source or explicitly marks `unverified` / `no source` | Dead/hallucinated URLs, unlinked footnote numbers, or hidden tool queries |
39
+ | **Side-effect approval & undo** | External writes, sends, deletes, or spending require explicit human-in-the-loop preview/approval OR verifiable one-click undo | Agent silently mutates state or fires external requests behind a single ambiguous “Continue” click |
40
+
41
+ ## Architectural / DIY Slop audit checks
42
+
43
+ Actively inspect the codebase and rendered flows for structural laziness—even when visual screenshots appear tidy:
44
+
45
+ | Defect category | Concrete evidence to hunt | Default severity | Concrete fix |
46
+ |---|---|---|---|
47
+ | **Stubs & omitted implementation** | `// TODO`, `// FIXME`, `// ... rest`, unimplemented branches in active components/routes | **P0–P1** | Implement the in-scope behavior completely or surface an explicit blocker before delivery |
48
+ | **Dead handlers & fake links** | `onClick={() => {}}`, `onSubmit={() => {}}`, `console.log`-only buttons, `href="#"` / `javascript:void(0)` nav links | **P0–P1** | Wire real state/navigation transitions or remove unbacked affordances |
49
+ | **Unwired mobile navigation** | Hamburger/menu toggle without open/close state, missing focus trap/Escape, or silently dropped desktop routes | **P1** | Wire complete accessible drawer/sheet navigation preserving task parity across breakpoints |
50
+ | **Unapproved mock data as live truth** | Hardcoded 3-item arrays, fake `+24.5%` KPI deltas, invented testimonials/logos presented without user request or demo labeling | **P0** | Bind real data source, render truthful empty/loading states, or visibly label user-requested fixtures |
51
+ | **Lazy DIY complex widgets** | Hand-rolled `<div>` modals/drawers, `contenteditable` rich text, `<textarea>`-over-`<pre>` code editors, inline SVG fake charts, unvirtualized >500-row tables, custom mouse-only DnD, `setTimeout` toast divs without `aria-live`, hand-rolled calendar math | **P1** | Replace with the vetted purpose-built library or native platform primitive mapped in `.pixelcraft/plan.md` |
52
+ | **Lazy platform defaults** | Unwaived Tkinter for greenfield Python desktop, unjustified Electron shell, raw Flexbox HTML email, `window.print()` publication PDF, bare `print()` TUI | **P1–P2** | Upgrade to the appropriate surface craft stack or record an explicit user waiver with trade-offs |
53
+ | **Untouched starter / arbitrary-value sprawl** | Unmodified `shadcn/ui` default zinc `:root` tokens on greenfield/redesign work; scattered Tailwind `bg-[#...]`, `p-[13px]` literals | **P2** | Author semantic DTCG/CSS tokens from the committed direction card and replace scattered literals |
54
+
55
+ ## Multi-surface defect pairs (vague vs. actionable)
56
+
57
+ | Surface | Reject (vague taste prose) | Require (concrete evidence-backed finding) |
58
+ |---|---|---|
59
+ | **Web** | “The modal UX feels clunky.” | `P1` (`rendered`, `src/BillingModal.tsx:84`): Pressing `Esc` closes the upgrade dialog without warning, discarding 6 entered billing fields, and drops focus to `document.body`. Fix: guard dirty state and return focus to `#upgrade-btn`. |
60
+ | **Mobile** | “Buttons are hard to tap.” | `P1` (`rendered`, `ios/FilterBar.swift:42`): Filter chips measure `28×28 pt` with `2 pt` spacing below the 44 pt iOS touch baseline, causing mis-taps on narrow screens. Fix: expand hit area to `44×44 pt` with `8 pt` gap. |
61
+ | **Desktop** | “Keyboard support needs polish.” | `P1` (`rendered`, `src/main/menu.ts:51`): Settings window omits native `Cmd+,` / `Ctrl+,` shortcut and traps Tab inside custom tab strip; `Escape` does not dismiss unsaved popover. Fix: wire native menu accelerator and roving focus. |
62
+ | **TUI** | “Terminal colors are confusing.” | `P1` (`static`/`rendered`, `tui/status.py:118`): Error and success rows differ only by red/green ANSI foreground, becoming indistinguishable under `NO_COLOR=1` and monochrome terminals. Fix: prefix status column with `[OK]` / `[ERR]` tokens. |
63
+ | **Data app** | “Dashboard loading is jarring.” | `P2` (`rendered`, `app/overview.py:92`): Changing the date filter reruns the full page script, resetting table sort and scrolling back to top without pending state. Fix: scope reactive fragment/state persistence and show inline updating status. |
@@ -0,0 +1,53 @@
1
+ # Persona walkthrough protocol
2
+
3
+ Personas are hypothesis generators, not simulated users and not evidence of actual human behavior. Never claim a persona walkthrough proves user satisfaction; use it to expose concrete interaction, input, and recovery gaps, then verify each hypothesis against code or rendered captures.
4
+
5
+ ## Walkthrough cast
6
+
7
+ | Persona lens | Force through the walkthrough |
8
+ |---|---|
9
+ | confused novice | zero domain knowledge; relies on visible labels/help; trips over jargon or hidden controls |
10
+ | impatient expert | keyboard/bulk/shortcut path; repeats frequent tasks; exposes latency and modal friction |
11
+ | screen-reader user | semantic name/role/order/state/status; catches visual-only grouping and silent dynamic updates |
12
+ | Voice Control user | speaks visible labels verbatim (WCAG 2.5.3 Label in Name); tests duplicate labels and icon-only controls |
13
+ | Switch Access / single-input user | linear step-scanning count, logical focus grouping, zero hover-only or drag-only barriers |
14
+ | magnified / 200–400% zoom user | 320 CSS px-equivalent reflow, no horizontal scrolling, sticky headers/bars never occluding focus or forms |
15
+ | one-hand mobile user | bottom thumb reach, virtual keyboard occlusion, target spacing, mid-task interruption |
16
+ | low-bandwidth / offline user | slow-3G latency, offline draft preservation, stale-cache labeling, idempotent retry without duplicates |
17
+ | non-Latin / RTL / IME user | text expansion, RTL mirroring, bidi isolation, locale formats, CJK/Vietnamese/Arabic IME composition |
18
+ | stressed / rushed user | low working memory, interruptions, error recovery, accidental destructive-action risk |
19
+
20
+ ## Concrete modality stress checks
21
+
22
+ Run the applicable checks instead of generic roleplay:
23
+
24
+ - **Voice Control:** inspect computed accessible names against visible labels (`Label in Name`, WCAG 2.5.3). Reject icon-only controls lacking clear spoken names or pages with five identical `"Edit"` buttons lacking disambiguating context.
25
+ - **Switch Access:** count Tab/scan stops from page entry to the primary action; verify skip links, landmark grouping, single-pointer alternatives to dragging (`2.5.7`), and zero hover-only triggers.
26
+ - **200–400% zoom & 320 px reflow:** zoom desktop viewport to 200% and 400% (or render at `320 px` logical width). Verify zero horizontal scrollbars for prose/forms, zero clipped buttons, and sticky headers/banners not swallowing active fields (`2.4.11`).
27
+ - **Non-Latin IME composition:** test entering Japanese/Chinese/Korean/Vietnamese text where `Enter` confirms an IME candidate (`compositionstart` / `compositionend` / `isComposing`). Confirm `Enter` during composition does **not** prematurely submit the form, close a combobox, or strip combining marks/diacritics.
28
+ - **Low-bandwidth / offline:** throttle network to slow 3G and toggle offline mid-form or mid-navigation. Confirm pending state appears within `100 ms`, user input survives disconnect, cached data is marked stale, and retrying does not double-submit.
29
+
30
+ ## Walkthrough record schema
31
+
32
+ Log each walkthrough concisely so hypotheses stay auditable and clearly separated from confirmed defects:
33
+
34
+ ```markdown
35
+ ### Walkthrough: <Task name> — Lens: <Persona lens>
36
+ - Entry point & preconditions: <route/screen, auth state, viewport/device, locale, network>
37
+ - Success criterion: <observable end state>
38
+
39
+ | Step | User goal | Perceived affordance | Friction / ambiguity | Evidence (`rendered` / `static` / `model-judgment` / `not-checked`) | Promoted finding? |
40
+ |---|---|---|---|---|---|
41
+ | 1 | Submit Japanese search query | Search field + Enter | `keydown` submits while `e.isComposing === true` (`SearchBar.tsx:48`) | `static` (needs live IME test) | Yes → P1 |
42
+ | 2 | Confirm delete | Modal button says "Yes" | Consequence unclear if user skipped body | `rendered` (screenshot `modal.png`) | Yes → P2 |
43
+ ```
44
+
45
+ ## Protocol
46
+
47
+ 1. Pick 2–4 lenses matched to the highest-risk surface constraints; do not perform theatrical personas unrelated to risk.
48
+ 2. State exact task, entry point, context, constraints, and success criterion before stepping through.
49
+ 3. Walk without author knowledge: record what is perceived, what is ambiguous, what happens on error/cancel, and what breaks on reverse navigation.
50
+ 4. Promote a walkthrough hypothesis to a ranked finding only when grounded in code (`static`) or live inspection (`rendered`).
51
+ 5. Explicitly record what stayed `not-checked` because a real assistive technology, IME, or hardware device was unavailable.
52
+
53
+ Do not use personas to launder taste (“the expert would find this ugly”). Use them to expose missing cues, memory burden, unsafe assumptions, and recovery failures.
@@ -0,0 +1,78 @@
1
+ # Comprehensive Studio-Grade Polish & Delivery Gate
2
+
3
+ Polish refines and hardens an accepted direction into a release-ready product; do not use it to restart visual exploration or silently override an approved design. Every finding from this gate requires severity (`P0`–`P3`), observable location (`file:line` or capture crop), concrete fix, and an honest evidence label (`rendered`, `static`, `model-judgment`, `not-checked`, or `waived`).
4
+
5
+ ---
6
+
7
+ ## 1. Art Direction & 5-Second Hierarchy
8
+
9
+ | Check | Pass bar | Typical defect & severity |
10
+ |---|---|---|
11
+ | **5-second hierarchy & 1–2 primary CTAs** | Within 5 seconds (and under a squint/blur test), a first-time user identifies what the surface is, why it matters, and the **1–2 primary CTAs** without competing equal-weight buttons | `P1`/`P2`: 4+ equal-prominence CTAs, buried primary action, or hierarchy dependent on color alone |
12
+ | **Bespoke subject commitment (no SaaS clone)** | Removing brand names and copy still leaves a domain-specific layout, material, index, or signature moment—never an untouched starter template, bento cliché, or purple-glow AI clone | `P2`: interchangeable boilerplate chrome across unrelated domains |
13
+ | **Intentional type palette (`≤ 2` families + `1` mono)** | At most **2 active font families + 1 monospace** (`display` + `body/UI` + optional `code/data` mono) unless explicitly justified by the brief; unused weights/styles purged | `P2`/`P3`: 4+ competing font families or synthetic bold/oblique |
14
+ | **Prose reading measure (`45–75ch`)** | Continuous Latin prose columns stay within **`45–75ch`** (`60–70ch` target; equivalent CJK/RTL density) rather than stretching edge-to-edge across wide desktop viewports | `P2`: `110ch+` wall-to-wall paragraphs harming comprehension |
15
+ | **Unified icon & media language** | One consistent icon stroke weight, cap/join style, corner radius, and optical scale (`1cap`); real or purpose-built domain media—zero cheesy stock photos, `lorem ipsum`, or invented testimonials/KPIs | `P0` for fake proof/`lorem ipsum` in production UI; `P2`/`P3` for mixed icon sets |
16
+
17
+ ---
18
+
19
+ ## 2. Studio Invisible Craft (`B1–B6`)
20
+
21
+ Verify the micro-physical details that separate studio software from fragile prototypes (see `pixelcraft-craft` references for full platform idioms):
22
+
23
+ | Law | Concrete inspection check | Pass evidence | Severity if broken |
24
+ |---|---|---|---|
25
+ | **`B1` Frequency-calibrated motion & warm tooltips** | High-frequency actions (`50–100+×/day`: command palettes, menus, tab/row switches) finish in **`0–100ms`** (`0ms` on key-repeat); drawers/modals **`150–220ms`**; expressive onboarding/first-reveal **`300–500ms`** (non-blocking). Once one tooltip opens, sibling tooltips open with **`0ms` delay and `0ms` fade**. | Interaction trace / stylesheet / spring config inspection | `P2` (sluggish daily flow) / `P3` |
26
+ | **`B2` Optical alignment & concentric radii** | Asymmetric glyphs (play triangles `▶`, chevrons, arrows, send icons) offset **`+1–2` units (`px`/`pt`/`dp`) toward visual mass** inside circular/square bounds. Nested rounded containers obey **`R_outer = R_inner + padding`** (clamped to `0` when `padding >= R_outer`). Single-line buttons/pills balance top vs bottom text-box padding optically against cap-height/baseline metrics. | High-zoom rendered crop + computed radius/padding check | `P3` (or `P2` when visibly pinched/crooked on primary chrome) |
27
+ | **`B3` Origin-aware scaling & asymmetric open/close** | Popovers, menus, and contextual sheets scale subtly (**`0.95 → 1.0`**, never `0 → 1` ballooning from screen center) anchored to the trigger origin. Exit runs **faster than enter (`~100–130ms` close vs `~160–200ms` open)**. Gesture springs preserve release velocity without rubbery bounce (`ζ ≥ 0.85`). | Video/frame capture or transition definition | `P2` / `P3` |
28
+ | **`B4` Dark-surface luminance & `1px` specular edges** | Dark mode never inverts light colors mechanically or drops `#000000` shadows onto dark cards. Higher z-layers step up **`+5% to +8%` OKLCH lightness** (`#000000` reserved for OLED wearable/battery or explicit high-contrast modes), separate stacked surfaces with a **`1px` subtle top/inner specular highlight** (`rgba(255,255,255,0.07–0.12)`), desaturate/lift semantic accents to prevent halation (`WCAG AA` + `APCA |Lc|`), and pair translucent blur with **`160–180%` saturation / OS vibrancy** plus a solid opaque fallback under Reduced Transparency. | Dark-mode + reduced-transparency rendered captures & contrast check | `P1` (contrast/halation failure) / `P2` (muddy flat layers) |
29
+ | **`B5` Hit-slop, Safe Triangle & pointer capture** | Compact `24–28` unit icon controls expand invisible hit-slop by **`+6–10` units per side**. Hover submenus/megamenus implement a **Safe Triangle diagonal cursor corridor** (or `120–180ms` directional grace timer) with keyboard parity. Drag sliders, scrubbers, and splitters lock **pointer/gesture capture** until release + `Escape` cancel + fine-stepping keys. | Pointer/touch hit-box & diagonal menu traversal test | `P1` (target floor `<24` units or collapsing menu blocking task) / `P2` |
30
+ | **`B6` Tabular numerals & true minus (`U+2212`)** | Every live counter, timer, price, KPI delta, progress %, scrubber, and table numeric column locks **tabular figures** (`tnum`) and uses true minus **`−` (`U+2212`)** rather than ASCII `-` (`U+002D`) for negative display values. | Rendered column alignment & live-tick jitter check | `P2` (jittering timer/misaligned financial table) / `P3` |
31
+
32
+ ---
33
+
34
+ ## 3. Non-Happy-Path, Accessibility & Input Completeness
35
+
36
+ | Surface boundary | Required studio-grade behavior | Severity if missing |
37
+ |---|---|---|
38
+ | **`loading` & skeleton stability** | Immediate acknowledgment (`≤ 100ms`), geometry-matched skeleton or progress (`> 1s` progress indicator, `> 10s` cancellable action) with zero layout shift and zero fake data | `P1` / `P2` |
39
+ | **`empty` (first-use & no-results)** | First-use explains value + direct creation/import CTA; search/filter `no-results` shows active query + one-click clear/broaden action | `P1` / `P2` |
40
+ | **`error` & input preservation** | Specific cause + preserved user input + actionable recovery step; never wipes typed forms or shows vague `"Something went wrong"` | `P1` |
41
+ | **`offline` & degraded network** | Explicit stale/offline indicator, draft preservation, idempotent retry, and double-submit protection | `P1` |
42
+ | **`404` / `500` / fatal recovery boundary** | Branded/idiomatic not-found and unhandled-error recovery screens with working navigation back to safe state and preserved draft where possible | `P1` |
43
+ | **`permission-denied` & auth expiry** | Plain-language explanation of missing role/OS permission + recovery path; session expiry preserves unsaved work across re-authentication | `P1` |
44
+ | **Sticky-chrome focus unobscured (`WCAG 2.4.11`/`2.4.12`)** | Sequential forward/reverse `Tab` and controller focus never hide behind sticky headers, toolbars, banners, or virtual keyboards | `P0` / `P1` |
45
+ | **IME composition `Enter` / `Escape` guard** | Active composition in Telex/VNI, Kana→Kanji, Hangul, or Pinyin **never** prematurely submits search, chat, forms, or inline edits (`Enter`/`Escape` commits or cancels candidates only) | `P1` |
46
+ | **Short-label expansion (`+50–100%`) & `Unicode NFC` glyphs** | Short buttons/tabs/badges survive **`+50–100%`** growth (`+30–40%` for prose) without fixed-width clipping; `Unicode NFC` normalization and stacked diacritics (`ư, ơ, ệ, ử, ẫ`) render with zero mid-word system-font fallback | `P1` / `P2` |
47
+ | **Reduced motion, reduced transparency & `EAA` readiness** | Non-vestibular motion path, opaque fallback for glass surfaces, `200%` text zoom, `320px` reflow, single-pointer drag alternative (`2.5.7`), and EU `EAA` / `EN 301 549` Accessibility Statement readiness when in B2C EU scope | `P0` / `P1` |
48
+
49
+ ---
50
+
51
+ ## 4. Stack-Neutral Engineering & Commercial Handoff
52
+
53
+ Never sign off a build as studio-ready on visual appearance alone:
54
+
55
+ - [ ] **Zero dead controls or stubs (`P0`/`P1`):** zero `// TODO` / `FIXME` placeholders in requested flows, zero ellipsis-truncated source blocks, zero no-op callbacks/commands/links, zero unwired mobile drawers/menus, and zero unapproved hardcoded mock arrays posing as live data.
56
+ - [ ] **Clean strict static checks & dependency audit (`P1`):** compiler, typechecker, analyzer, linter, and ecosystem dependency vulnerability audit pass cleanly (`0` errors, `0` unaddressed critical/high advisories) without blanket suppressions.
57
+ - [ ] **Reproducible `< 10m` setup & isolated staging (`P1`):** pinned lockfile/toolchain manifest, configuration template, single-command bootstrap + verification path, and staging environment strictly isolated from production credentials/data.
58
+ - [ ] **Stack-native component / screen state previews (`P2`):** isolated state catalog where supported by the target stack, covering non-happy-path states (`loading`, `empty`, `error`, `offline`, `permission-denied`).
59
+ - [ ] **Zero client-exposed secrets (`P0`):** no private keys, service-role tokens, signing credentials, or internal endpoints leaked in client source, bundles, binaries, or logs.
60
+ - [ ] **Commercial license manifest, owner transfer & 30–90d warranty (`P0`/`P1`):** commercial embedding/redistribution licenses verified for all shipped fonts, icons, imagery, 3D, and audio; root billing/admin ownership boundary clean for domains, store accounts, analytics/error DSNs, CMS, and signing keys; target regulatory/store regime checked; and **30–90 day defect-warranty / severity-triage handoff note** documented for commercial deliveries.
61
+ - [ ] **Golden Evidence Rule (`Rule #0.3`) (`P0`):** every verification row carries `rendered`, `static`, `model-judgment`, `not-checked`, or `waived` with exact runtime/viewport/tool scope, and **`static` or `model-judgment` NEVER counts as `pass` / accepted for visual appearance, measured performance budgets, or interactive/assistive accessibility requirements** (supply `rendered` evidence, or record `not-checked` with concrete reason or `waived` with explicit user sign-off, scope, and consequence).
62
+
63
+ ---
64
+
65
+ ## 5. Mandatory `Scan → Fix → Rescan` Exit Gate & 3-Tier Final Grading
66
+
67
+ Never treat this document as passive reading. Before reporting completion:
68
+
69
+ 1. **Walk Sections 1–4 plus the active platform skill's `Pre-submit checklist` row-by-row** against the actual implementation and rendered captures.
70
+ 2. **Execute every applicable deterministic scan, build gate, and acceptance manifest check:**
71
+ - `node <pixelcraft-review>/scripts/slop-scan.mjs <target> --fail-on p2`
72
+ - `node <pixelcraft-visual-qa>/scripts/check-contrast.mjs <tokens-or-css>` (plus `check-email.mjs`, `check-tui.mjs`, `check-pdf.mjs` where surface matches)
73
+ - Active-language strict compiler, typechecker, linter, dependency vulnerability audit, and automated test suite
74
+ - `node <pixelcraft-review>/scripts/check-acceptance.mjs .pixelcraft/acceptance.json`
75
+ 3. **Loop until passing (`0` `fail` / `0` `pending`):** If any scan returns `P0`–`P2` findings, any build/test check exits non-zero, or any checklist / `.pixelcraft/acceptance.json` row is `fail`, `pending`, or violates `Rule #0.3`, **repair the root cause and re-run the exact scans and `check-acceptance.mjs` from scratch** until passing:
76
+ - **`FAIL` (`exit 1` — Not Accepted):** any `fail`/`pending` row or `Rule #0.3` `static`/`model-judgment` violation remains. **Keep fixing and re-verifying; never claim completion.**
77
+ - **`PASS_STUDIO_10K_20K` (`exit 0` — Studio $10k–$20k Bar)** *(or `PENDING_RENDERED_ENV` `exit 2` strictly when external physical hardware/store runtime is unavailable here)*: all Baseline `A1–A8` + 12-row Surface Matrix + platform thresholds/deliverables pass on target environments (`rendered` where required) with honest `not-checked` reasons or user-signed `waived` scope/consequence.
78
+ - **`EXCEEDS_STUDIO` (`exit 0` — Exceeds Bar):** meets `PASS_STUDIO_10K_20K` plus real-user usability research, A/B experimentation, deep multi-locale validation, or high-scale systems integration.