@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-constrained evaluation cases
2
+
3
+ ## Case 1 — tv interface
4
+
5
+ **Prompt**
6
+
7
+ > Design a TV media-library browse screen for D-pad input.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-constrained` behavior when the prompt matches its trigger.
12
+ - uses 10-foot hierarchy/overscan/spatial focus/restoration.
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 hover UI.
19
+ - tiny dense grid.
20
+ - focus lost after refresh.
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 — voice kiosk
31
+
32
+ **Prompt**
33
+
34
+ > Design a voice-assisted self-service check-in flow.
35
+
36
+ **Expected behaviors**
37
+
38
+ - Selects or applies `pixelcraft-constrained` behavior when the prompt matches its trigger.
39
+ - uses short turns/targeted recovery/multimodal fallback/physical timeout privacy.
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
+ - repeated prompt loop.
46
+ - voice-only critical path.
47
+ - no reach/privacy model.
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,60 @@
1
+ # pixelcraft-craft evaluation cases
2
+
3
+ ## Case 1 — visual language
4
+
5
+ **Prompt**
6
+
7
+ > Define the visual language for a archival photography product.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-craft` behavior when the prompt matches its trigger.
12
+ - uses material/typography/color/motion with clear rationale.
13
+ - includes a rendered inventory plan for font faces/sizes, palette count by role, whitespace/width geometry, motion signals, and reduced-motion fallbacks without treating calibration ranges as targets.
14
+ - specifies palette construction, type pairing roles, motion budget, fallback, and reduced-motion path.
15
+ - assigns a mode-appropriate visual-complexity budget instead of equating novelty with clutter or sparse output with quality.
16
+ - avoids derivative interface tropes.
17
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
18
+
19
+ **Failure signals**
20
+
21
+ - purple gradient/glassmorphism default.
22
+ - no editorial hierarchy.
23
+ - decorative noise.
24
+
25
+ **With-vs-without comparison criteria**
26
+
27
+ | Dimension | Without skill baseline | With skill target |
28
+ |---|---|---|
29
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
30
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
31
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
32
+
33
+ ## Case 2 — detail pass
34
+
35
+ **Prompt**
36
+
37
+ > Polish a sparse markdown editor interface.
38
+
39
+ **Expected behaviors**
40
+
41
+ - Selects or applies `pixelcraft-craft` behavior when the prompt matches its trigger.
42
+ - improves microtypography/spacing/imagery/state detail without destroying function.
43
+ - inspects focal path, grouping, contour clutter, alignment, density, and resize behavior with concrete regions rather than saying spacing feels off.
44
+ - avoids decorative motion/gradient/copycat composition while preserving usability and performance budgets.
45
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
46
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
47
+
48
+ **Failure signals**
49
+
50
+ - adds clutter.
51
+ - breaks readability.
52
+ - copies a landing-page hero.
53
+
54
+ **With-vs-without comparison criteria**
55
+
56
+ | Dimension | Without skill baseline | With skill target |
57
+ |---|---|---|
58
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
59
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
60
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
@@ -0,0 +1,55 @@
1
+ # pixelcraft-data-apps evaluation cases
2
+
3
+ ## Case 1 — streamlit tool
4
+
5
+ **Prompt**
6
+
7
+ > Build a Streamlit operations explorer with filters and empty states.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-data-apps` behavior when the prompt matches its trigger.
12
+ - uses idiomatic data-app execution/state patterns.
13
+ - handles rerun/cache/error/empty behavior.
14
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
15
+
16
+ **Failure signals**
17
+
18
+ - web SPA assumptions.
19
+ - hidden state mutation.
20
+ - blank cache failure.
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 — gradio review
31
+
32
+ **Prompt**
33
+
34
+ > Review a Gradio model demo before launch.
35
+
36
+ **Expected behaviors**
37
+
38
+ - Selects or applies `pixelcraft-data-apps` behavior when the prompt matches its trigger.
39
+ - designs input/output/progress/error/privacy states for model latency.
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
+ - single happy-path textbox.
46
+ - no queue/failure state.
47
+ - fake confidence claims.
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-dataviz evaluation cases
2
+
3
+ ## Case — similar percentages on a narrow screen
4
+
5
+ Compare a group's share of donors and share of money over the same period. Pass if a reader can identify both denominators, the period and the domain after mobile stacking, without hover. Fail if the reader must remember category colors or infer what a standalone percentage divides by.
6
+
7
+ ## Case 1 — metric choice
8
+
9
+ **Prompt**
10
+
11
+ > Visualize subscription churn by cohort for an executive dashboard.
12
+
13
+ **Expected behaviors**
14
+
15
+ - Selects or applies `pixelcraft-dataviz` behavior when the prompt matches its trigger.
16
+ - chooses encoding from analytical question.
17
+ - direct-labels and preserves truthful scale.
18
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
19
+
20
+ **Failure signals**
21
+
22
+ - pie/donut misuse.
23
+ - dual axis confusion.
24
+ - legend-dependent decoding.
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 — map dashboard
35
+
36
+ **Prompt**
37
+
38
+ > Build a real-time outage map with drill-down.
39
+
40
+ **Expected behaviors**
41
+
42
+ - Selects or applies `pixelcraft-dataviz` behavior when the prompt matches its trigger.
43
+ - normalizes geospatial data and separates live/stale/failure states.
44
+ - chooses rendering layer by scale.
45
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
46
+
47
+ **Failure signals**
48
+
49
+ - raw-count choropleth.
50
+ - color-only status.
51
+ - unbounded stream rendering.
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,55 @@
1
+ # pixelcraft-desktop evaluation cases
2
+
3
+ ## Case 1 — native app
4
+
5
+ **Prompt**
6
+
7
+ > Build a Tauri disk-image mounter for macOS and Windows.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-desktop` behavior when the prompt matches its trigger.
12
+ - respects platform window/menu/input/file-security idioms.
13
+ - handles background and error states.
14
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
15
+
16
+ **Failure signals**
17
+
18
+ - portable web page in a shell.
19
+ - wrong keyboard/menu conventions.
20
+ - no permission states.
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 — qt review
31
+
32
+ **Prompt**
33
+
34
+ > Review a Qt settings dialog.
35
+
36
+ **Expected behaviors**
37
+
38
+ - Selects or applies `pixelcraft-desktop` behavior when the prompt matches its trigger.
39
+ - uses platform layout/model-view/accessibility conventions appropriately.
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
+ - absolute web-like layout.
46
+ - missing keyboard mnemonics.
47
+ - no validation feedback.
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,60 @@
1
+ # pixelcraft-direction evaluation cases
2
+
3
+ ## Case 1 — direction divergence
4
+
5
+ **Prompt**
6
+
7
+ > Generate directions for a museum archive discovery product.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-direction` behavior when the prompt matches its trigger.
12
+ - produces genuinely far-apart directions with probabilities/tradeoffs.
13
+ - names the mechanism being borrowed, its failure mode, measurable geometry/type/color checks, and explicitly rejects award-site payload, scrolljacking, cursor, and accessibility excess.
14
+ - selects a named composition family and explains its structural grid, fallback behavior, and cliché risk.
15
+ - scores prototypicality, hierarchy clarity, visual complexity, localization risk, implementation cost, content truth, and distinctiveness rather than relying on taste adjectives.
16
+ - records losing rationale.
17
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
18
+
19
+ **Failure signals**
20
+
21
+ - three same blue SaaS themes.
22
+ - no material inventory.
23
+ - instant convergence.
24
+
25
+ **With-vs-without comparison criteria**
26
+
27
+ | Dimension | Without skill baseline | With skill target |
28
+ |---|---|---|
29
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
30
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
31
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
32
+
33
+ ## Case 2 — repetition avoidance
34
+
35
+ **Prompt**
36
+
37
+ > Create another direction after the user rejected generic luxury minimalism.
38
+
39
+ **Expected behaviors**
40
+
41
+ - Selects or applies `pixelcraft-direction` behavior when the prompt matches its trigger.
42
+ - inspects repetition history and changes the design space rather than palette only.
43
+ - records normalized composition/type/color/material/motion/copy axes or explains why history could not be written.
44
+ - changes composition/grid structure, not just color or typeface.
45
+ - Documents platform constraints, missing states, and verification tradeoffs explicitly.
46
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
47
+
48
+ **Failure signals**
49
+
50
+ - renames same direction.
51
+ - uses generic premium language.
52
+ - ignores rejection evidence.
53
+
54
+ **With-vs-without comparison criteria**
55
+
56
+ | Dimension | Without skill baseline | With skill target |
57
+ |---|---|---|
58
+ | Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
59
+ | Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
60
+ | Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
@@ -0,0 +1,55 @@
1
+ # pixelcraft-document evaluation cases
2
+
3
+ ## Case 1 — invoice PDF
4
+
5
+ **Prompt**
6
+
7
+ > Generate a multi-page invoice PDF with line items and localized currency.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-document` behavior when the prompt matches its trigger.
12
+ - controls named pages/breaks/repeated headers/totals/fonts.
13
+ - tests actual PDF extraction.
14
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
15
+
16
+ **Failure signals**
17
+
18
+ - screen CSS assumptions.
19
+ - totals split from rows.
20
+ - unembedded missing glyphs.
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 — slide deck
31
+
32
+ **Prompt**
33
+
34
+ > Design a technical launch deck for projector delivery.
35
+
36
+ **Expected behaviors**
37
+
38
+ - Selects or applies `pixelcraft-document` behavior when the prompt matches its trigger.
39
+ - uses one idea per slide/type scale/safe area/export verification.
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
+ - dense bullet walls.
46
+ - tiny code screenshots.
47
+ - untested edge clipping.
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,55 @@
1
+ # pixelcraft-email evaluation cases
2
+
3
+ ## Case 1 — receipt email
4
+
5
+ **Prompt**
6
+
7
+ > Create a transactional receipt email supporting dark mode and image blocking.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-email` behavior when the prompt matches its trigger.
12
+ - uses table/client-safe structure and plaintext parity.
13
+ - preserves meaning without images.
14
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
15
+
16
+ **Failure signals**
17
+
18
+ - div-only modern CSS.
19
+ - white-on-white dark mode.
20
+ - image-only receipt.
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 — digest review
31
+
32
+ **Prompt**
33
+
34
+ > Review a product digest in MJML.
35
+
36
+ **Expected behaviors**
37
+
38
+ - Selects or applies `pixelcraft-email` behavior when the prompt matches its trigger.
39
+ - accounts for client quirks/preheader/scannability/accessibility.
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
+ - huge hero template.
46
+ - hidden preheader.
47
+ - untested Outlook behavior.
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,55 @@
1
+ # pixelcraft-extensions evaluation cases
2
+
3
+ ## Case 1 — browser popup
4
+
5
+ **Prompt**
6
+
7
+ > Build a browser-extension popup for reviewing saved citations.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-extensions` behavior when the prompt matches its trigger.
12
+ - respects extension lifecycle/permissions/storage/popup constraints.
13
+ - uses least privilege.
14
+ - Preserves truthful content, necessary states, accessibility, security/privacy constraints, and honest evidence labels.
15
+
16
+ **Failure signals**
17
+
18
+ - persistent web-app assumptions.
19
+ - broad host permissions.
20
+ - dead popup state.
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 — ide webview
31
+
32
+ **Prompt**
33
+
34
+ > Design a VS Code webview settings panel.
35
+
36
+ **Expected behaviors**
37
+
38
+ - Selects or applies `pixelcraft-extensions` behavior when the prompt matches its trigger.
39
+ - uses webview messaging/theme/csp/accessibility correctly.
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
+ - hard-coded theme colors.
46
+ - unsafe HTML injection.
47
+ - no postMessage lifecycle.
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-game-ui evaluation cases
2
+
3
+ ## Case — acquisition while moving
4
+
5
+ Pick up loot in a sequence where stopping would be disruptive. Pass if a brief nonblocking signal acknowledges the event and the exact item is findable later via controller. Fail if the acknowledgement is the only record or a modal interrupts the sequence.
6
+
7
+ ## Case 1 — hud design
8
+
9
+ **Prompt**
10
+
11
+ > Design a first-person exploration HUD with controller navigation.
12
+
13
+ **Expected behaviors**
14
+
15
+ - Selects or applies `pixelcraft-game-ui` behavior when the prompt matches its trigger.
16
+ - prioritizes legibility/safe area/input modality/state priority.
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
+ - MMO chrome overload.
23
+ - tiny text.
24
+ - hover-only inventory.
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 — menu flow
35
+
36
+ **Prompt**
37
+
38
+ > Build a game settings menu for keyboard and controller.
39
+
40
+ **Expected behaviors**
41
+
42
+ - Selects or applies `pixelcraft-game-ui` behavior when the prompt matches its trigger.
43
+ - models focus/navigation/rebinds/confirmation/accessibility states.
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
+ - mouse-only layout.
50
+ - lost focus.
51
+ - no rebind conflict handling.
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-handoff evaluation cases
2
+
3
+ ## Case 1 — figma implement
4
+
5
+ **Prompt**
6
+
7
+ > Implement this Figma checkout selection in our existing React design system.
8
+
9
+ **Expected behaviors**
10
+
11
+ - Selects or applies `pixelcraft-handoff` behavior when the prompt matches its trigger.
12
+ - records provenance/approval/breakpoint/mode and maps variables/components before coding.
13
+ - reuses existing components and preserves the approved visual direction instead of running divergence.
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
+ - copies generated markup.
20
+ - duplicates existing components.
21
+ - hard-codes token values.
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 — ambiguity handling
32
+
33
+ **Prompt**
34
+
35
+ > Translate a screenshot-only settings mockup into production UI.
36
+
37
+ **Expected behaviors**
38
+
39
+ - Selects or applies `pixelcraft-handoff` behavior when the prompt matches its trigger.
40
+ - classifies screenshot evidence as partial specification, documents assumptions/missing states, translates into the actual project stack, and validates fidelity with declared region-aware tolerance.
41
+ - normalizes viewport/scale/theme/locale/data fixtures before diffing and treats clipping/focus/contrast/state mismatch as hard failures independent of pixel tolerance.
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
+ - absolute-positioned screenshot clone.
48
+ - invents destructive behavior.
49
+ - pixel-only equality claim.
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 |