@thanhnguyxn/pixelcraft 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (297) hide show
  1. package/.agents/plugins/marketplace.json +20 -0
  2. package/.claude-plugin/marketplace.json +20 -0
  3. package/.claude-plugin/plugin.json +11 -0
  4. package/LICENSE +21 -0
  5. package/README.md +407 -2
  6. package/assets/README.md +28 -0
  7. package/assets/pixelcraft-logo-512.png +0 -0
  8. package/bin/pixelcraft.mjs +444 -0
  9. package/docs/ARCHITECTURE.md +102 -0
  10. package/docs/DESIGN-RATIONALE.md +143 -0
  11. package/evals/README.md +27 -0
  12. package/evals/fixtures/README.md +36 -0
  13. package/evals/fixtures/direction-prototype-complexity.json +29 -0
  14. package/evals/fixtures/finish-gate-anti-slop.json +30 -0
  15. package/evals/fixtures/forms-accessibility-negative.json +29 -0
  16. package/evals/fixtures/handoff-fidelity-tolerance.json +29 -0
  17. package/evals/fixtures/plan-brownfield-evidence.json +28 -0
  18. package/evals/fixtures/visual-qa-task-evidence.json +29 -0
  19. package/evals/fixtures/workflow-checkpoints.json +30 -0
  20. package/evals/pixelcraft-accessibility.md +57 -0
  21. package/evals/pixelcraft-brandkit.md +58 -0
  22. package/evals/pixelcraft-chat-ui.md +55 -0
  23. package/evals/pixelcraft-constrained.md +55 -0
  24. package/evals/pixelcraft-craft.md +60 -0
  25. package/evals/pixelcraft-data-apps.md +55 -0
  26. package/evals/pixelcraft-dataviz.md +59 -0
  27. package/evals/pixelcraft-desktop.md +55 -0
  28. package/evals/pixelcraft-direction.md +60 -0
  29. package/evals/pixelcraft-document.md +55 -0
  30. package/evals/pixelcraft-email.md +55 -0
  31. package/evals/pixelcraft-extensions.md +55 -0
  32. package/evals/pixelcraft-game-ui.md +59 -0
  33. package/evals/pixelcraft-handoff.md +57 -0
  34. package/evals/pixelcraft-media.md +55 -0
  35. package/evals/pixelcraft-mobile.md +59 -0
  36. package/evals/pixelcraft-patterns.md +57 -0
  37. package/evals/pixelcraft-plan.md +65 -0
  38. package/evals/pixelcraft-review.md +63 -0
  39. package/evals/pixelcraft-spatial.md +55 -0
  40. package/evals/pixelcraft-tokens.md +57 -0
  41. package/evals/pixelcraft-tui.md +55 -0
  42. package/evals/pixelcraft-ux.md +59 -0
  43. package/evals/pixelcraft-visual-qa.md +80 -0
  44. package/evals/pixelcraft-web.md +71 -0
  45. package/evals/pixelcraft.md +70 -0
  46. package/gemini-extension.json +5 -0
  47. package/install.ps1 +295 -0
  48. package/install.sh +437 -0
  49. package/package.json +63 -4
  50. package/plugin.json +24 -0
  51. package/scripts/build-adapters.mjs +290 -0
  52. package/scripts/build-release-archives.mjs +61 -0
  53. package/scripts/build-skill-zips.mjs +94 -0
  54. package/scripts/test-build-adapters.mjs +48 -0
  55. package/scripts/test-distribution.mjs +124 -0
  56. package/scripts/test-export-tokens.mjs +105 -0
  57. package/scripts/test-finish-gate.mjs +148 -0
  58. package/scripts/test-installers.mjs +67 -0
  59. package/scripts/test-release-archives.mjs +42 -0
  60. package/scripts/test-shoot.mjs +65 -0
  61. package/scripts/test-slop-scan.mjs +29 -0
  62. package/scripts/test-style-inventory.mjs +211 -0
  63. package/scripts/test-validate-skills.mjs +117 -0
  64. package/scripts/validate-skills.mjs +512 -0
  65. package/skills/pixelcraft/SKILL.md +135 -0
  66. package/skills/pixelcraft/references/design-brief.md +75 -0
  67. package/skills/pixelcraft/references/floor.md +73 -0
  68. package/skills/pixelcraft/references/report-template.md +35 -0
  69. package/skills/pixelcraft/references/stack-detection.md +155 -0
  70. package/skills/pixelcraft/references/surface-acceptance.md +40 -0
  71. package/skills/pixelcraft/references/workflow-checkpoints.md +29 -0
  72. package/skills/pixelcraft-accessibility/SKILL.md +33 -0
  73. package/skills/pixelcraft-accessibility/references/apg-patterns.md +51 -0
  74. package/skills/pixelcraft-accessibility/references/platforms.md +58 -0
  75. package/skills/pixelcraft-accessibility/references/verification.md +59 -0
  76. package/skills/pixelcraft-accessibility/references/wcag22-checks.md +66 -0
  77. package/skills/pixelcraft-brandkit/SKILL.md +115 -0
  78. package/skills/pixelcraft-brandkit/references/asset-pipeline.md +125 -0
  79. package/skills/pixelcraft-brandkit/references/brand-governance.md +80 -0
  80. package/skills/pixelcraft-brandkit/references/layouts.md +88 -0
  81. package/skills/pixelcraft-brandkit/references/logo-concepting.md +83 -0
  82. package/skills/pixelcraft-brandkit/references/logo-methods.md +98 -0
  83. package/skills/pixelcraft-brandkit/references/pixel-art-logos.md +82 -0
  84. package/skills/pixelcraft-brandkit/references/prompt-template.md +85 -0
  85. package/skills/pixelcraft-brandkit/references/qa-checklist.md +88 -0
  86. package/skills/pixelcraft-brandkit/references/visual-modes.md +123 -0
  87. package/skills/pixelcraft-chat-ui/SKILL.md +53 -0
  88. package/skills/pixelcraft-chat-ui/references/conversation-design.md +78 -0
  89. package/skills/pixelcraft-chat-ui/references/mobile-business-platforms.md +87 -0
  90. package/skills/pixelcraft-chat-ui/references/slack-discord.md +96 -0
  91. package/skills/pixelcraft-constrained/SKILL.md +51 -0
  92. package/skills/pixelcraft-constrained/references/specialized-hardware.md +66 -0
  93. package/skills/pixelcraft-constrained/references/tv-wearables.md +84 -0
  94. package/skills/pixelcraft-constrained/references/voice-ui.md +63 -0
  95. package/skills/pixelcraft-craft/SKILL.md +44 -0
  96. package/skills/pixelcraft-craft/references/color.md +69 -0
  97. package/skills/pixelcraft-craft/references/imagery-icons.md +37 -0
  98. package/skills/pixelcraft-craft/references/layout-quality.md +65 -0
  99. package/skills/pixelcraft-craft/references/layout.md +41 -0
  100. package/skills/pixelcraft-craft/references/motion.md +76 -0
  101. package/skills/pixelcraft-craft/references/typography.md +71 -0
  102. package/skills/pixelcraft-data-apps/SKILL.md +67 -0
  103. package/skills/pixelcraft-data-apps/references/dash.md +53 -0
  104. package/skills/pixelcraft-data-apps/references/evidence.md +75 -0
  105. package/skills/pixelcraft-data-apps/references/gradio.md +65 -0
  106. package/skills/pixelcraft-data-apps/references/julia-genie.md +54 -0
  107. package/skills/pixelcraft-data-apps/references/jupyter-widgets.md +53 -0
  108. package/skills/pixelcraft-data-apps/references/nicegui.md +63 -0
  109. package/skills/pixelcraft-data-apps/references/observable-framework.md +67 -0
  110. package/skills/pixelcraft-data-apps/references/panel.md +53 -0
  111. package/skills/pixelcraft-data-apps/references/r-shiny.md +54 -0
  112. package/skills/pixelcraft-data-apps/references/reflex.md +62 -0
  113. package/skills/pixelcraft-data-apps/references/shiny.md +53 -0
  114. package/skills/pixelcraft-data-apps/references/streamlit.md +65 -0
  115. package/skills/pixelcraft-dataviz/SKILL.md +63 -0
  116. package/skills/pixelcraft-dataviz/references/chart-choice.md +55 -0
  117. package/skills/pixelcraft-dataviz/references/color-accessibility.md +112 -0
  118. package/skills/pixelcraft-dataviz/references/encoding-tables-dashboards.md +97 -0
  119. package/skills/pixelcraft-dataviz/references/libraries.md +57 -0
  120. package/skills/pixelcraft-dataviz/references/realtime-graphs-maps-scale.md +99 -0
  121. package/skills/pixelcraft-desktop/SKILL.md +71 -0
  122. package/skills/pixelcraft-desktop/references/appkit.md +58 -0
  123. package/skills/pixelcraft-desktop/references/avalonia.md +59 -0
  124. package/skills/pixelcraft-desktop/references/cpp-gui.md +52 -0
  125. package/skills/pixelcraft-desktop/references/electron.md +54 -0
  126. package/skills/pixelcraft-desktop/references/go-gui.md +54 -0
  127. package/skills/pixelcraft-desktop/references/gtk.md +54 -0
  128. package/skills/pixelcraft-desktop/references/javafx-swing.md +52 -0
  129. package/skills/pixelcraft-desktop/references/qt-pyside-qml.md +61 -0
  130. package/skills/pixelcraft-desktop/references/rust-gui.md +65 -0
  131. package/skills/pixelcraft-desktop/references/tauri.md +54 -0
  132. package/skills/pixelcraft-desktop/references/uno-platform.md +52 -0
  133. package/skills/pixelcraft-desktop/references/winui-wpf.md +58 -0
  134. package/skills/pixelcraft-desktop/references/working-context.md +5 -0
  135. package/skills/pixelcraft-direction/SKILL.md +154 -0
  136. package/skills/pixelcraft-direction/references/composition-library.md +84 -0
  137. package/skills/pixelcraft-direction/references/direction-card.md +54 -0
  138. package/skills/pixelcraft-direction/references/direction-scoring.md +72 -0
  139. package/skills/pixelcraft-direction/references/movements.md +68 -0
  140. package/skills/pixelcraft-direction/references/repetition-history.md +75 -0
  141. package/skills/pixelcraft-direction/references/slop-fingerprints.md +58 -0
  142. package/skills/pixelcraft-direction/references/wildcards.md +47 -0
  143. package/skills/pixelcraft-document/SKILL.md +54 -0
  144. package/skills/pixelcraft-document/references/archetypes.md +83 -0
  145. package/skills/pixelcraft-document/references/pdf-tools.md +154 -0
  146. package/skills/pixelcraft-document/references/print-css.md +134 -0
  147. package/skills/pixelcraft-document/references/slides.md +102 -0
  148. package/skills/pixelcraft-email/SKILL.md +58 -0
  149. package/skills/pixelcraft-email/references/client-quirks.md +45 -0
  150. package/skills/pixelcraft-email/references/html-tables.md +53 -0
  151. package/skills/pixelcraft-email/references/mjml.md +52 -0
  152. package/skills/pixelcraft-email/references/react-email.md +53 -0
  153. package/skills/pixelcraft-extensions/SKILL.md +51 -0
  154. package/skills/pixelcraft-extensions/references/browser-extensions.md +31 -0
  155. package/skills/pixelcraft-extensions/references/figma-office.md +23 -0
  156. package/skills/pixelcraft-extensions/references/raycast.md +19 -0
  157. package/skills/pixelcraft-extensions/references/vscode-webviews.md +26 -0
  158. package/skills/pixelcraft-game-ui/SKILL.md +61 -0
  159. package/skills/pixelcraft-game-ui/references/bevy.md +52 -0
  160. package/skills/pixelcraft-game-ui/references/godot.md +57 -0
  161. package/skills/pixelcraft-game-ui/references/hud-principles.md +38 -0
  162. package/skills/pixelcraft-game-ui/references/love2d.md +51 -0
  163. package/skills/pixelcraft-game-ui/references/monogame.md +52 -0
  164. package/skills/pixelcraft-game-ui/references/unity-ui-toolkit.md +65 -0
  165. package/skills/pixelcraft-game-ui/references/unreal-umg.md +53 -0
  166. package/skills/pixelcraft-handoff/SKILL.md +49 -0
  167. package/skills/pixelcraft-handoff/references/design-translation.md +104 -0
  168. package/skills/pixelcraft-handoff/references/fidelity-tolerance.md +78 -0
  169. package/skills/pixelcraft-media/SKILL.md +52 -0
  170. package/skills/pixelcraft-media/references/banners-video.md +112 -0
  171. package/skills/pixelcraft-media/references/og-generation.md +107 -0
  172. package/skills/pixelcraft-media/references/social-cards.md +72 -0
  173. package/skills/pixelcraft-mobile/SKILL.md +69 -0
  174. package/skills/pixelcraft-mobile/references/dotnet-maui.md +63 -0
  175. package/skills/pixelcraft-mobile/references/flet.md +53 -0
  176. package/skills/pixelcraft-mobile/references/flutter.md +69 -0
  177. package/skills/pixelcraft-mobile/references/ionic-capacitor.md +65 -0
  178. package/skills/pixelcraft-mobile/references/jetpack-compose.md +61 -0
  179. package/skills/pixelcraft-mobile/references/kivy.md +59 -0
  180. package/skills/pixelcraft-mobile/references/kotlin-multiplatform.md +60 -0
  181. package/skills/pixelcraft-mobile/references/react-native-expo.md +71 -0
  182. package/skills/pixelcraft-mobile/references/swiftui.md +70 -0
  183. package/skills/pixelcraft-mobile/references/task-state-composition.md +5 -0
  184. package/skills/pixelcraft-mobile/references/uikit.md +58 -0
  185. package/skills/pixelcraft-patterns/SKILL.md +58 -0
  186. package/skills/pixelcraft-patterns/references/auth-onboarding.md +25 -0
  187. package/skills/pixelcraft-patterns/references/commerce.md +28 -0
  188. package/skills/pixelcraft-patterns/references/communication.md +26 -0
  189. package/skills/pixelcraft-patterns/references/creative-tools.md +29 -0
  190. package/skills/pixelcraft-patterns/references/dashboard-admin.md +31 -0
  191. package/skills/pixelcraft-patterns/references/marketing.md +32 -0
  192. package/skills/pixelcraft-patterns/references/pattern-selection.md +74 -0
  193. package/skills/pixelcraft-patterns/references/search-filtering.md +42 -0
  194. package/skills/pixelcraft-patterns/references/settings.md +23 -0
  195. package/skills/pixelcraft-patterns/references/tables-crud.md +43 -0
  196. package/skills/pixelcraft-plan/SKILL.md +67 -0
  197. package/skills/pixelcraft-plan/references/design-input.md +69 -0
  198. package/skills/pixelcraft-plan/references/plan-template.md +99 -0
  199. package/skills/pixelcraft-plan/references/repo-discovery.md +42 -0
  200. package/skills/pixelcraft-plan/references/stack-freshness.md +50 -0
  201. package/skills/pixelcraft-plan/references/stack-selection.md +42 -0
  202. package/skills/pixelcraft-review/SKILL.md +64 -0
  203. package/skills/pixelcraft-review/references/audit-report.md +50 -0
  204. package/skills/pixelcraft-review/references/critique-protocol.md +89 -0
  205. package/skills/pixelcraft-review/references/heuristics.md +18 -0
  206. package/skills/pixelcraft-review/references/personas.md +26 -0
  207. package/skills/pixelcraft-review/references/polish.md +38 -0
  208. package/skills/pixelcraft-review/scripts/fixtures/brand-critique-waivers.json +14 -0
  209. package/skills/pixelcraft-review/scripts/fixtures/brand-critique.css +18 -0
  210. package/skills/pixelcraft-review/scripts/fixtures/clean.html +43 -0
  211. package/skills/pixelcraft-review/scripts/fixtures/focus-after-block.css +4 -0
  212. package/skills/pixelcraft-review/scripts/fixtures/focus-at-rules.css +17 -0
  213. package/skills/pixelcraft-review/scripts/fixtures/focus-comments.css +10 -0
  214. package/skills/pixelcraft-review/scripts/fixtures/focus-html-quote-leak.html +12 -0
  215. package/skills/pixelcraft-review/scripts/fixtures/focus-invalid-replacements.css +27 -0
  216. package/skills/pixelcraft-review/scripts/fixtures/focus-nested-rules.css +19 -0
  217. package/skills/pixelcraft-review/scripts/fixtures/focus-not-visible-skip.css +8 -0
  218. package/skills/pixelcraft-review/scripts/fixtures/focus-outline-shorthands.css +11 -0
  219. package/skills/pixelcraft-review/scripts/fixtures/focus-unknown-and-border.css +15 -0
  220. package/skills/pixelcraft-review/scripts/fixtures/focus-unknown-last-wins.css +19 -0
  221. package/skills/pixelcraft-review/scripts/fixtures/focus-valid-replacements-extended.css +29 -0
  222. package/skills/pixelcraft-review/scripts/fixtures/focus-visible-no-replacement.css +3 -0
  223. package/skills/pixelcraft-review/scripts/fixtures/focus-visible-valid-replacements.css +9 -0
  224. package/skills/pixelcraft-review/scripts/fixtures/slop.html +28 -0
  225. package/skills/pixelcraft-review/scripts/slop-scan.mjs +586 -0
  226. package/skills/pixelcraft-spatial/SKILL.md +52 -0
  227. package/skills/pixelcraft-spatial/references/comfort-accessibility.md +98 -0
  228. package/skills/pixelcraft-spatial/references/platforms.md +77 -0
  229. package/skills/pixelcraft-tokens/SKILL.md +56 -0
  230. package/skills/pixelcraft-tokens/assets/tokens.example.json +71 -0
  231. package/skills/pixelcraft-tokens/assets/tokens.modes.example.json +47 -0
  232. package/skills/pixelcraft-tokens/references/adoption.md +55 -0
  233. package/skills/pixelcraft-tokens/references/format.md +54 -0
  234. package/skills/pixelcraft-tokens/references/governance.md +80 -0
  235. package/skills/pixelcraft-tokens/references/state-tokens.md +62 -0
  236. package/skills/pixelcraft-tokens/references/theme-presets.md +94 -0
  237. package/skills/pixelcraft-tokens/scripts/export-tokens.mjs +285 -0
  238. package/skills/pixelcraft-tui/SKILL.md +60 -0
  239. package/skills/pixelcraft-tui/references/bubbletea-lipgloss.md +60 -0
  240. package/skills/pixelcraft-tui/references/ink.md +60 -0
  241. package/skills/pixelcraft-tui/references/ratatui.md +62 -0
  242. package/skills/pixelcraft-tui/references/rich.md +62 -0
  243. package/skills/pixelcraft-tui/references/textual.md +67 -0
  244. package/skills/pixelcraft-ux/SKILL.md +46 -0
  245. package/skills/pixelcraft-ux/references/cognitive-walkthrough.md +70 -0
  246. package/skills/pixelcraft-ux/references/feedback-performance.md +30 -0
  247. package/skills/pixelcraft-ux/references/flows-ia.md +44 -0
  248. package/skills/pixelcraft-ux/references/forms.md +97 -0
  249. package/skills/pixelcraft-ux/references/i18n.md +183 -0
  250. package/skills/pixelcraft-ux/references/laws.md +18 -0
  251. package/skills/pixelcraft-ux/references/locale-test-matrix.md +60 -0
  252. package/skills/pixelcraft-ux/references/state-matrix.md +39 -0
  253. package/skills/pixelcraft-ux/references/usability-testing.md +84 -0
  254. package/skills/pixelcraft-ux/references/ux-writing.md +43 -0
  255. package/skills/pixelcraft-visual-qa/SKILL.md +82 -0
  256. package/skills/pixelcraft-visual-qa/references/baseline-governance.md +70 -0
  257. package/skills/pixelcraft-visual-qa/references/capture-desktop-game.md +38 -0
  258. package/skills/pixelcraft-visual-qa/references/capture-email.md +34 -0
  259. package/skills/pixelcraft-visual-qa/references/capture-mobile.md +35 -0
  260. package/skills/pixelcraft-visual-qa/references/capture-terminal.md +31 -0
  261. package/skills/pixelcraft-visual-qa/references/critique-rubric.md +71 -0
  262. package/skills/pixelcraft-visual-qa/references/finish-gate.md +35 -0
  263. package/skills/pixelcraft-visual-qa/references/measured-craft.md +30 -0
  264. package/skills/pixelcraft-visual-qa/references/performance-budgets.md +65 -0
  265. package/skills/pixelcraft-visual-qa/references/task-verification.md +81 -0
  266. package/skills/pixelcraft-visual-qa/scripts/finish-gate.mjs +135 -0
  267. package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-aria-modal.html +19 -0
  268. package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-audit.html +34 -0
  269. package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-modal.html +17 -0
  270. package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory-deferred.js +1 -0
  271. package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory-edge.html +52 -0
  272. package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory.html +80 -0
  273. package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory.js +8 -0
  274. package/skills/pixelcraft-visual-qa/scripts/shoot.mjs +513 -0
  275. package/skills/pixelcraft-visual-qa/scripts/style-inventory.mjs +1154 -0
  276. package/skills/pixelcraft-web/SKILL.md +76 -0
  277. package/skills/pixelcraft-web/references/adaptive-layout.md +25 -0
  278. package/skills/pixelcraft-web/references/angular.md +61 -0
  279. package/skills/pixelcraft-web/references/astro.md +62 -0
  280. package/skills/pixelcraft-web/references/clojurescript.md +53 -0
  281. package/skills/pixelcraft-web/references/elm.md +53 -0
  282. package/skills/pixelcraft-web/references/fsharp-fable.md +53 -0
  283. package/skills/pixelcraft-web/references/html-css.md +88 -0
  284. package/skills/pixelcraft-web/references/htmx-alpine.md +53 -0
  285. package/skills/pixelcraft-web/references/java-web.md +52 -0
  286. package/skills/pixelcraft-web/references/kotlin-web.md +53 -0
  287. package/skills/pixelcraft-web/references/leptos-yew.md +54 -0
  288. package/skills/pixelcraft-web/references/lit-web-components.md +61 -0
  289. package/skills/pixelcraft-web/references/pwa.md +225 -0
  290. package/skills/pixelcraft-web/references/qwik.md +54 -0
  291. package/skills/pixelcraft-web/references/react-next.md +69 -0
  292. package/skills/pixelcraft-web/references/scala-laminar.md +53 -0
  293. package/skills/pixelcraft-web/references/server-rendered.md +71 -0
  294. package/skills/pixelcraft-web/references/solid.md +60 -0
  295. package/skills/pixelcraft-web/references/svelte.md +61 -0
  296. package/skills/pixelcraft-web/references/tailwind.md +73 -0
  297. package/skills/pixelcraft-web/references/vue-nuxt.md +62 -0
@@ -0,0 +1,55 @@
1
+ # pixelcraft-media evaluation cases
2
+
3
+ ## Case 1 — og card
4
+
5
+ **Prompt**
6
+
7
+ > Generate a social card for a technical documentation launch.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-media` behavior when the prompt matches its trigger.
12
+ - uses correct dimensions/safe area/thumbnail-scale hierarchy/truthful content.
13
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
14
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
15
+
16
+ **Failure signals**
17
+
18
+ - tiny screenshot wall.
19
+ - edge-clipped logo.
20
+ - fake user metrics.
21
+
22
+ **With-vs-without comparison criteria**
23
+
24
+ | Dimension | Without skill baseline | With skill target |
25
+ |---|---|---|
26
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
27
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
28
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
29
+
30
+ ## Case 2 — motion export
31
+
32
+ **Prompt**
33
+
34
+ > Create a short product-announcement animation.
35
+
36
+ **Expected behaviors**
37
+
38
+ - Selects or applies `pixelcraft-media` behavior when the prompt matches its trigger.
39
+ - uses deterministic frame/aspect/caption/export constraints and validates compression.
40
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
41
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
42
+
43
+ **Failure signals**
44
+
45
+ - random particle filler.
46
+ - missing captions.
47
+ - wrong aspect crop.
48
+
49
+ **With-vs-without comparison criteria**
50
+
51
+ | Dimension | Without skill baseline | With skill target |
52
+ |---|---|---|
53
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
54
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
55
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
@@ -0,0 +1,59 @@
1
+ # pixelcraft-mobile evaluation cases
2
+
3
+ ## Case — a distinct identity across an interrupted focus session
4
+
5
+ Design setup, a running timer and its result. The session object should remain recognizable, but controls and progress must make each state distinct. Pass if the timer and stop/resume controls work without art or animation, and the result is verified after a one-handed interruption. Fail if identical promotional cards replace state feedback or a celebration blocks the completed session.
6
+
7
+ ## Case 1 — ios android flow
8
+
9
+ **Prompt**
10
+
11
+ > Build a mobile expense-capture flow in SwiftUI and Compose.
12
+
13
+ **Expected behaviors**
14
+
15
+ - Selects or applies `pixelcraft-mobile` behavior when the prompt matches its trigger.
16
+ - uses native navigation/input/haptic/safe-area/platform idioms.
17
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
18
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
19
+
20
+ **Failure signals**
21
+
22
+ - same web layout on both.
23
+ - missing dynamic type.
24
+ - keyboard covers input.
25
+
26
+ **With-vs-without comparison criteria**
27
+
28
+ | Dimension | Without skill baseline | With skill target |
29
+ |---|---|---|
30
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
31
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
32
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
33
+
34
+ ## Case 2 — offline app
35
+
36
+ **Prompt**
37
+
38
+ > Design an offline-first field inspection mobile app.
39
+
40
+ **Expected behaviors**
41
+
42
+ - Selects or applies `pixelcraft-mobile` behavior when the prompt matches its trigger.
43
+ - models sync/conflict/permission/connectivity states explicitly.
44
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
45
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
46
+
47
+ **Failure signals**
48
+
49
+ - spinner-only offline state.
50
+ - lost drafts.
51
+ - no restore path.
52
+
53
+ **With-vs-without comparison criteria**
54
+
55
+ | Dimension | Without skill baseline | With skill target |
56
+ |---|---|---|
57
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
58
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
59
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
@@ -0,0 +1,57 @@
1
+ # pixelcraft-patterns evaluation cases
2
+
3
+ ## Case 1 — pattern choice
4
+
5
+ **Prompt**
6
+
7
+ > Design a collaborative document editing empty state and permissions flow.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-patterns` behavior when the prompt matches its trigger.
12
+ - selects named product pattern intentionally and completes state matrix.
13
+ - records the workflow/navigation decision matrix evidence and rejected alternative rather than inheriting a template.
14
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
15
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
16
+
17
+ **Failure signals**
18
+
19
+ - generic dashboard cards.
20
+ - missing unauthorized state.
21
+ - pattern name without substance.
22
+
23
+ **With-vs-without comparison criteria**
24
+
25
+ | Dimension | Without skill baseline | With skill target |
26
+ |---|---|---|
27
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
28
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
29
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
30
+
31
+ ## Case 2 — flow review
32
+
33
+ **Prompt**
34
+
35
+ > Review a multi-step import flow.
36
+
37
+ **Expected behaviors**
38
+
39
+ - Selects or applies `pixelcraft-patterns` behavior when the prompt matches its trigger.
40
+ - recognizes wizard/progressive disclosure/recovery patterns and their failure modes.
41
+ - covers empty-result diagnosis beyond “no results” and dense-table selection persistence/virtualization semantics where relevant.
42
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
43
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
44
+
45
+ **Failure signals**
46
+
47
+ - linear happy path only.
48
+ - no resume/rollback.
49
+ - hidden validation.
50
+
51
+ **With-vs-without comparison criteria**
52
+
53
+ | Dimension | Without skill baseline | With skill target |
54
+ |---|---|---|
55
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
56
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
57
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
@@ -0,0 +1,65 @@
1
+ # pixelcraft-plan evaluation cases
2
+
3
+ ## Case — resolved versions before choosing an API
4
+
5
+ Ask for a filter UI in a locked brownfield app; the available docs MCP returns a new-major API that conflicts with the lockfile. Repeat for a greenfield app with the MCP rate-limited, then with both version sources offline.
6
+
7
+ Pass: preserve the brownfield lock, locate matching official API docs and record the version/source/date/result before building. Fall back to official docs and the registry without requiring MCP. Offline, document the assumption and affected check without claiming a latest version. Reuse matching evidence instead of looking up the same API again.
8
+
9
+ ## Case 1 — greenfield plan
10
+
11
+ **Prompt**
12
+
13
+ > Plan a greenfield desktop screenshot annotation tool.
14
+
15
+ **Expected behaviors**
16
+
17
+ - Selects or applies `pixelcraft-plan` behavior when the prompt matches its trigger.
18
+ - intakes constraints and compares stack choices with weighted evidence.
19
+ - classifies key facts as user-provided, repo-observed, artifact-observed, analytics/research, assumption, or unknown.
20
+ - inventories supplied design inputs and classifies specification versus inspiration before visual decisions.
21
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
22
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
23
+
24
+ **Failure signals**
25
+
26
+ - chooses favorite framework first.
27
+ - no platform matrix.
28
+ - missing brownfield/greenfield distinction.
29
+
30
+ **With-vs-without comparison criteria**
31
+
32
+ | Dimension | Without skill baseline | With skill target |
33
+ |---|---|---|
34
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
35
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
36
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
37
+
38
+ ## Case 2 — brownfield mapping
39
+
40
+ **Prompt**
41
+
42
+ > Map this unfamiliar repo before changing UI.
43
+
44
+ **Expected behaviors**
45
+
46
+ - Selects or applies `pixelcraft-plan` behavior when the prompt matches its trigger.
47
+ - inspects architecture/framework evidence and writes useful plan artifacts.
48
+ - links the design brief status and separates evidence from assumptions/unknowns in the plan.
49
+ - records design provenance/version/breakpoints, missing dimensions, assumptions, and whether handoff is required.
50
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
51
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
52
+
53
+ **Failure signals**
54
+
55
+ - starts editing immediately.
56
+ - summary without file evidence.
57
+ - no unresolved-risk list.
58
+
59
+ **With-vs-without comparison criteria**
60
+
61
+ | Dimension | Without skill baseline | With skill target |
62
+ |---|---|---|
63
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
64
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
65
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
@@ -0,0 +1,63 @@
1
+ # pixelcraft-review evaluation cases
2
+
3
+ ## Case — distinguish brand choices from a broken task
4
+
5
+ **Prompt:** Review a brownfield dashboard with intentional Inter typography and a purple gradient in the approved wordmark. A card has a repeated decorative rail; one product image is broken and an opaque overlay hides the save control. A separate landing page has an unapproved default gradient and generic copy.
6
+
7
+ **Expected:** Keep justified brand choices with narrowly scoped reasons; flag the landing treatment as an advisory when the brief does not justify it; verify image/overlay issues in the rendered flow with viewport, state and impact. A closed dialog or decorative transparent overlay is a negative control. The review must not turn CSS/JSON findings into a task pass or rewrite the design solely to lower the score.
8
+
9
+ ## Case 1 — slop review
10
+
11
+ **Prompt**
12
+
13
+ > Review this generated landing page for AI slop and UX failures.
14
+
15
+ **Expected behaviors**
16
+
17
+ - Selects or applies `pixelcraft-review` behavior when the prompt matches its trigger.
18
+ - ranks evidence-backed findings and separates visual/UX/accessibility defects.
19
+ - distinguishes defect, behavioral risk, requirement conflict, hypothesis, preference, and scope expansion rather than flattening everything into taste critique.
20
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
21
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
22
+
23
+ **Failure signals**
24
+
25
+ - vague taste critique.
26
+ - style-only scan.
27
+ - unverified claims.
28
+
29
+ **With-vs-without comparison criteria**
30
+
31
+ | Dimension | Without skill baseline | With skill target |
32
+ |---|---|---|
33
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
34
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
35
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
36
+
37
+ ## Case 2 — state audit
38
+
39
+ **Prompt**
40
+
41
+ > Audit a dashboard implementation before merge.
42
+
43
+ **Expected behaviors**
44
+
45
+ - Selects or applies `pixelcraft-review` behavior when the prompt matches its trigger.
46
+ - checks states/accessibility/truthfulness/responsive behavior using evidence labels.
47
+ - records decision owner/outcome/rationale and calibrates confidence/false positives instead of endless speculative critique.
48
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
49
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
50
+
51
+ **Failure signals**
52
+
53
+ - screenshot-only approval.
54
+ - no empty/error states.
55
+ - severity confusion.
56
+
57
+ **With-vs-without comparison criteria**
58
+
59
+ | Dimension | Without skill baseline | With skill target |
60
+ |---|---|---|
61
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
62
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
63
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
@@ -0,0 +1,55 @@
1
+ # pixelcraft-spatial evaluation cases
2
+
3
+ ## Case 1 — visionos scene
4
+
5
+ **Prompt**
6
+
7
+ > Design a visionOS volume for inspecting a mechanical part.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-spatial` behavior when the prompt matches its trigger.
12
+ - chooses window/volume/space intentionally and respects privacy/hover/depth behavior.
13
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
14
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
15
+
16
+ **Failure signals**
17
+
18
+ - floating desktop clone.
19
+ - ornament clutter.
20
+ - logs gaze unnecessarily.
21
+
22
+ **With-vs-without comparison criteria**
23
+
24
+ | Dimension | Without skill baseline | With skill target |
25
+ |---|---|---|
26
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
27
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
28
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
29
+
30
+ ## Case 2 — webxr comfort
31
+
32
+ **Prompt**
33
+
34
+ > Build a WebXR warehouse training scene with locomotion.
35
+
36
+ **Expected behaviors**
37
+
38
+ - Selects or applies `pixelcraft-spatial` behavior when the prompt matches its trigger.
39
+ - uses correct session/input/reference-space lifecycle plus comfort/accessibility settings.
40
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
41
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
42
+
43
+ **Failure signals**
44
+
45
+ - forced camera motion.
46
+ - no frame budget.
47
+ - no non-XR fallback.
48
+
49
+ **With-vs-without comparison criteria**
50
+
51
+ | Dimension | Without skill baseline | With skill target |
52
+ |---|---|---|
53
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
54
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
55
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
@@ -0,0 +1,57 @@
1
+ # pixelcraft-tokens evaluation cases
2
+
3
+ ## Case 1 — token mapping
4
+
5
+ **Prompt**
6
+
7
+ > Convert scattered CSS colors/spacing into DTCG tokens.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-tokens` behavior when the prompt matches its trigger.
12
+ - separates primitive/semantic/component layers and preserves mode behavior.
13
+ - inventories consumers/direct primitive usage and records migration or waiver state instead of assuming a rewrite is safe.
14
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
15
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
16
+
17
+ **Failure signals**
18
+
19
+ - renamed hex dump.
20
+ - no aliases.
21
+ - dark mode inversion.
22
+
23
+ **With-vs-without comparison criteria**
24
+
25
+ | Dimension | Without skill baseline | With skill target |
26
+ |---|---|---|
27
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
28
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
29
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
30
+
31
+ ## Case 2 — theme scaling
32
+
33
+ **Prompt**
34
+
35
+ > Add a high-contrast theme to an existing token system.
36
+
37
+ **Expected behaviors**
38
+
39
+ - Selects or applies `pixelcraft-tokens` behavior when the prompt matches its trigger.
40
+ - maps semantic roles across modes without breaking consumers.
41
+ - validates realistic state combinations such as invalid+focus and selected+disabled and records ownership/rollback/deprecation consequences for behavioral changes.
42
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
43
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
44
+
45
+ **Failure signals**
46
+
47
+ - component overrides everywhere.
48
+ - duplicate scales.
49
+ - missing contrast validation.
50
+
51
+ **With-vs-without comparison criteria**
52
+
53
+ | Dimension | Without skill baseline | With skill target |
54
+ |---|---|---|
55
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
56
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
57
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
@@ -0,0 +1,55 @@
1
+ # pixelcraft-tui evaluation cases
2
+
3
+ ## Case 1 — terminal dashboard
4
+
5
+ **Prompt**
6
+
7
+ > Build a terminal deployment dashboard with keyboard navigation.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-tui` behavior when the prompt matches its trigger.
12
+ - respects terminal width/color/input/focus/log semantics.
13
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
14
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
15
+
16
+ **Failure signals**
17
+
18
+ - mouse-only assumptions.
19
+ - ANSI soup.
20
+ - unbounded layout.
21
+
22
+ **With-vs-without comparison criteria**
23
+
24
+ | Dimension | Without skill baseline | With skill target |
25
+ |---|---|---|
26
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
27
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
28
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
29
+
30
+ ## Case 2 — cli review
31
+
32
+ **Prompt**
33
+
34
+ > Review a Rich-based interactive CLI.
35
+
36
+ **Expected behaviors**
37
+
38
+ - Selects or applies `pixelcraft-tui` behavior when the prompt matches its trigger.
39
+ - uses readable hierarchy/progress/help/error behavior appropriate to terminal.
40
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
41
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
42
+
43
+ **Failure signals**
44
+
45
+ - spinner forever.
46
+ - unpasteable output.
47
+ - color-only errors.
48
+
49
+ **With-vs-without comparison criteria**
50
+
51
+ | Dimension | Without skill baseline | With skill target |
52
+ |---|---|---|
53
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
54
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
55
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
@@ -0,0 +1,59 @@
1
+ # pixelcraft-ux evaluation cases
2
+
3
+ ## Case 1 — flow matrix
4
+
5
+ **Prompt**
6
+
7
+ > Design the UX flow for inviting a teammate to a workspace.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-ux` behavior when the prompt matches its trigger.
12
+ - covers happy path plus empty/error/permission/offline/loading states.
13
+ - uses cognitive-walkthrough questions for intent, visibility, association, and feedback instead of asserting that users will figure it out.
14
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
15
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
16
+
17
+ **Failure signals**
18
+
19
+ - single happy-path mock.
20
+ - missing rollback.
21
+ - no copy hierarchy.
22
+
23
+ **With-vs-without comparison criteria**
24
+
25
+ | Dimension | Without skill baseline | With skill target |
26
+ |---|---|---|
27
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
28
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
29
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
30
+
31
+ ## Case 2 — recovery design
32
+
33
+ **Prompt**
34
+
35
+ > Improve recovery after failed payment submission.
36
+
37
+ **Expected behaviors**
38
+
39
+ - Selects or applies `pixelcraft-ux` behavior when the prompt matches its trigger.
40
+ - preserves input/context and gives truthful retry/idempotency behavior.
41
+ - specifies adaptive validation timing, error summary/focus behavior, tolerant parsing, autocomplete/input-mode behavior, and paste/autofill preservation.
42
+ - distinguishes inspection/model judgment from real-user evidence and escalates unresolved behavioral uncertainty rather than fabricating testing.
43
+ - selects representative locale/script/plural/input fixtures and classifies hard-coded-string, concatenation, shaping, segmentation, directionality, formatting, and translation-quality failures.
44
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
45
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
46
+
47
+ **Failure signals**
48
+
49
+ - loses form data.
50
+ - blames user.
51
+ - duplicate submission risk.
52
+
53
+ **With-vs-without comparison criteria**
54
+
55
+ | Dimension | Without skill baseline | With skill target |
56
+ |---|---|---|
57
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
58
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
59
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
@@ -0,0 +1,80 @@
1
+ # pixelcraft-visual-qa evaluation cases
2
+
3
+ ## Case — a dashboard fits three widths but fails by height and input
4
+
5
+ Verify a sortable orders workspace. The desktop table and sidebar work with a pointer, but a touch user cannot open row actions; a sticky footer covers the active field in landscape with the keyboard open; resizing clears the draft. The portrait and desktop screenshots look polished.
6
+
7
+ Pass: record distinct touch and pointer/keyboard compositions and preserved semantics in the plan; execute the same order task at the applicable sizes including landscape and short height and during resize. Keep sorting, labels and draft state reachable. Fail if the agent just shrinks the table, hides useful fields or actions, or reports PASS from three static width captures.
8
+
9
+ ## Case — attractive capture hides motion, latency, or input failures
10
+
11
+ Compare two versions of a responsive product demo, where the more expressive version increases initial payload and relies on an animation to reveal essential text. Repeat for a controller HUD with muted color and a native window with keyboard-only input.
12
+
13
+ Pass: compare like-for-like artifacts and inspect real reduced-motion behavior; use controller/device or native resize/focus evidence where applicable. Report a usable fallback and task outcome, or label missing runtime checks `not-checked`. Fail if gallery medians, a CSS media-rule hit, or browser emulation are presented as proof of usability on every platform.
14
+
15
+ ## Case — desktop passes but the responsive task cannot ship
16
+
17
+ **Prompt:** Verify a local ecommerce search/filter flow. Its wide capture looks polished, but the submit button is covered at 390px and has no visible keyboard focus. A loading fixture never resolves; one error fixture is unavailable. The clipping still reproduces after three scoped repairs. A teammate suggests accepting a new screenshot baseline and calling the build passing.
18
+
19
+ | Dimension | Expected behavior | Failure signal |
20
+ |---|---|---|
21
+ | Coverage | Inspect 390/768/1440 and 320 for the reflow-sensitive form, keyboard focus, empty/loading/error states. | Check only the wide happy path or excuse a relevant state due to unavailable tooling. |
22
+ | Outcome | Assert filtered results after submit, retain the failure trace, mark the unavailable error fixture `not-checked`. | Treat loading the page, compiling, or showing a spinner as successful search. |
23
+ | Repair/handoff | Preserve assertions and baseline, rerun affected checks, report OPEN with remaining clipping and unchecked scenario. | Hide overflow, weaken tests, make a fourth repair, or call OPEN a pass. |
24
+
25
+ ## Case 1 — render check
26
+
27
+ **Prompt**
28
+
29
+ > Visually verify a responsive pricing page after implementation.
30
+
31
+ **Expected behaviors**
32
+
33
+ - Selects or applies `pixelcraft-visual-qa` behavior when the prompt matches its trigger.
34
+ - uses or requests a style inventory when browser automation exists: fonts/type ratio, palette, geometry, cursor/motion, transfer/JS/request counts, LCP/CLS, and basic semantic checks as JSON.
35
+ - renders target sizes and inspects screenshot evidence rather than build success only.
36
+ - executes the primary user task or explicitly labels behavior not run; captures feedback/end state/failure trace rather than only a loaded page.
37
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
38
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
39
+
40
+ **Failure signals**
41
+
42
+ - claims checked after compilation.
43
+ - no viewport matrix.
44
+ - missing evidence labels.
45
+
46
+ **With-vs-without comparison criteria**
47
+
48
+ | Dimension | Without skill baseline | With skill target |
49
+ |---|---|---|
50
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
51
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
52
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
53
+
54
+ ## Case 2 — fix loop
55
+
56
+ **Prompt**
57
+
58
+ > Repair clipped text and contrast failures found in a screenshot.
59
+
60
+ **Expected behaviors**
61
+
62
+ - Selects or applies `pixelcraft-visual-qa` behavior when the prompt matches its trigger.
63
+ - uses inspect-critique-fix loop and re-checks only affected evidence.
64
+ - calibrates critic confidence, suppresses duplicate/root-cause findings, avoids low-confidence churn, and governs baseline updates by cause rather than making checks pass.
65
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
66
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
67
+
68
+ **Failure signals**
69
+
70
+ - random CSS churn.
71
+ - no before/after comparison.
72
+ - ignores root cause.
73
+
74
+ **With-vs-without comparison criteria**
75
+
76
+ | Dimension | Without skill baseline | With skill target |
77
+ |---|---|---|
78
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
79
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
80
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |