@thanhnguyxn/pixelcraft 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (376) hide show
  1. package/.agents/plugins/marketplace.json +1 -1
  2. package/.antigravity-plugin/plugin.json +32 -0
  3. package/.claude-plugin/marketplace.json +1 -1
  4. package/.claude-plugin/plugin.json +15 -4
  5. package/.codex-plugin/plugin.json +45 -0
  6. package/.cursor-plugin/marketplace.json +17 -0
  7. package/.cursor-plugin/plugin.json +27 -0
  8. package/.devin-plugin/plugin.json +21 -0
  9. package/.github/plugin/marketplace.json +34 -0
  10. package/CHANGELOG.md +159 -0
  11. package/GEMINI.md +1 -0
  12. package/README.md +185 -328
  13. package/SECURITY.md +28 -0
  14. package/assets/pixelcraft-logo-128.png +0 -0
  15. package/assets/pixelcraft-logo-256.png +0 -0
  16. package/bin/pixelcraft.mjs +431 -23
  17. package/docs/ARCHITECTURE.md +40 -37
  18. package/docs/DESIGN-RATIONALE.md +51 -3
  19. package/docs/INSTALL.md +221 -0
  20. package/evals/README.md +16 -6
  21. package/evals/fixtures/3d-web-engineering.json +69 -0
  22. package/evals/fixtures/acceptance-checklist-rule03-gate.json +43 -0
  23. package/evals/fixtures/ai-ui-libraries.json +53 -0
  24. package/evals/fixtures/audio-visual-accessibility.json +69 -0
  25. package/evals/fixtures/auth-and-checkout-ui.json +53 -0
  26. package/evals/fixtures/brandkit-identity-governance.json +48 -0
  27. package/evals/fixtures/build-and-architecture.json +53 -0
  28. package/evals/fixtures/canvas-and-node-editors.json +53 -0
  29. package/evals/fixtures/chat-ai-exfiltration-ime-hitl-gate.json +43 -0
  30. package/evals/fixtures/completion-gate-scan-until-clean.json +44 -0
  31. package/evals/fixtures/component-systems.json +53 -0
  32. package/evals/fixtures/component-testing.json +53 -0
  33. package/evals/fixtures/constrained-voice-and-tv.json +43 -0
  34. package/evals/fixtures/creative-code-rendering.json +69 -0
  35. package/evals/fixtures/creative-reference-evidence.json +67 -0
  36. package/evals/fixtures/data-app-python-marimo.json +49 -0
  37. package/evals/fixtures/desktop-cpp-juce-audio.json +49 -0
  38. package/evals/fixtures/desktop-csharp-avalonia.json +49 -0
  39. package/evals/fixtures/desktop-native-workspace.json +48 -0
  40. package/evals/fixtures/desktop-python-anti-tkinter.json +49 -0
  41. package/evals/fixtures/document-prepress-pdfx4-tounicode.json +43 -0
  42. package/evals/fixtures/document-rust-typst-invoice.json +49 -0
  43. package/evals/fixtures/document-typst-and-print-css.json +43 -0
  44. package/evals/fixtures/email-mjml-dark-mode.json +49 -0
  45. package/evals/fixtures/email-outlook-and-plaintext.json +43 -0
  46. package/evals/fixtures/enterprise-data-ui.json +53 -0
  47. package/evals/fixtures/extended-tui-toolkits.json +53 -0
  48. package/evals/fixtures/extensions-mv3-and-vscode.json +43 -0
  49. package/evals/fixtures/file-upload-media-ui.json +53 -0
  50. package/evals/fixtures/forms-validation.json +53 -0
  51. package/evals/fixtures/game-go-ebitengine.json +49 -0
  52. package/evals/fixtures/game-godot-gdscript.json +49 -0
  53. package/evals/fixtures/game-ui-hud-and-engines.json +43 -0
  54. package/evals/fixtures/i18n-engineering.json +53 -0
  55. package/evals/fixtures/local-first-sync.json +53 -0
  56. package/evals/fixtures/lynxjs.json +53 -0
  57. package/evals/fixtures/maizzle-email.json +53 -0
  58. package/evals/fixtures/maps-geospatial.json +53 -0
  59. package/evals/fixtures/media-og-and-video-export.json +43 -0
  60. package/evals/fixtures/media-players.json +53 -0
  61. package/evals/fixtures/mobile-compose-16kb-foldable-store-gate.json +44 -0
  62. package/evals/fixtures/mobile-elixir-liveview-native.json +49 -0
  63. package/evals/fixtures/mobile-flutter-dynamic-type.json +49 -0
  64. package/evals/fixtures/mobile-harmonyos-arkui.json +49 -0
  65. package/evals/fixtures/mobile-jetpack-compose.json +49 -0
  66. package/evals/fixtures/mobile-swiftui-ios.json +49 -0
  67. package/evals/fixtures/motion-engineering.json +69 -0
  68. package/evals/fixtures/pdfjs-and-pptx.json +53 -0
  69. package/evals/fixtures/plan-discovery-interview.json +31 -0
  70. package/evals/fixtures/plan-grill-me-brainstorm-gate.json +49 -0
  71. package/evals/fixtures/reactive-data-apps.json +53 -0
  72. package/evals/fixtures/review-evidence-audit.json +43 -0
  73. package/evals/fixtures/rich-text-and-code-editors.json +53 -0
  74. package/evals/fixtures/scrollytelling-resilience.json +70 -0
  75. package/evals/fixtures/spatial-xr-comfort-and-platforms.json +43 -0
  76. package/evals/fixtures/state-architecture.json +53 -0
  77. package/evals/fixtures/styling-ecosystem.json +53 -0
  78. package/evals/fixtures/token-tooling.json +53 -0
  79. package/evals/fixtures/tui-go-bubbletea.json +49 -0
  80. package/evals/fixtures/tui-rust-ratatui-grapheme-paste-teardown.json +44 -0
  81. package/evals/fixtures/tui-rust-ratatui.json +49 -0
  82. package/evals/fixtures/ux-state-matrix-and-i18n.json +43 -0
  83. package/evals/fixtures/web-3d-engines.json +53 -0
  84. package/evals/fixtures/web-php-laravel-filament.json +49 -0
  85. package/evals/fixtures/web-ruby-viewcomponent-phlex.json +49 -0
  86. package/evals/pixelcraft-accessibility.md +17 -0
  87. package/evals/pixelcraft-craft.md +16 -0
  88. package/evals/pixelcraft-dataviz.md +3 -3
  89. package/evals/pixelcraft-direction.md +17 -0
  90. package/evals/pixelcraft-game-ui.md +3 -3
  91. package/evals/pixelcraft-mobile.md +3 -3
  92. package/evals/pixelcraft-patterns.md +16 -0
  93. package/evals/pixelcraft-plan.md +65 -3
  94. package/evals/pixelcraft-review.md +3 -3
  95. package/evals/pixelcraft-visual-qa.md +11 -5
  96. package/evals/pixelcraft-web.md +21 -3
  97. package/evals/pixelcraft.md +4 -4
  98. package/gemini-extension.json +3 -2
  99. package/install.ps1 +57 -11
  100. package/install.sh +82 -7
  101. package/package.json +32 -4
  102. package/plugin.json +6 -1
  103. package/scripts/build-adapters.mjs +11 -13
  104. package/scripts/run-evals.mjs +397 -0
  105. package/scripts/sync-docs.mjs +381 -0
  106. package/scripts/test-build-adapters.mjs +14 -1
  107. package/scripts/test-cross-platform-qa.mjs +359 -0
  108. package/scripts/test-distribution.mjs +86 -7
  109. package/scripts/test-export-tokens.mjs +259 -3
  110. package/scripts/test-finish-gate.mjs +133 -10
  111. package/scripts/test-installers.mjs +155 -6
  112. package/scripts/test-shoot.mjs +23 -1
  113. package/scripts/test-slop-scan.mjs +390 -3
  114. package/scripts/test-style-inventory.mjs +23 -0
  115. package/scripts/test-sync-docs.mjs +140 -0
  116. package/scripts/test-validate-skills.mjs +82 -4
  117. package/scripts/validate-skills.mjs +149 -3
  118. package/skills/pixelcraft/SKILL.md +67 -47
  119. package/skills/pixelcraft/references/design-brief.md +2 -2
  120. package/skills/pixelcraft/references/floor.md +36 -19
  121. package/skills/pixelcraft/references/report-template.md +25 -11
  122. package/skills/pixelcraft/references/stack-detection.md +138 -67
  123. package/skills/pixelcraft/references/surface-acceptance.md +33 -21
  124. package/skills/pixelcraft/references/workflow-checkpoints.md +49 -7
  125. package/skills/pixelcraft-accessibility/SKILL.md +34 -13
  126. package/skills/pixelcraft-accessibility/references/apg-patterns.md +13 -0
  127. package/skills/pixelcraft-accessibility/references/motion-canvas.md +57 -0
  128. package/skills/pixelcraft-accessibility/references/platforms.md +34 -6
  129. package/skills/pixelcraft-accessibility/references/verification.md +15 -10
  130. package/skills/pixelcraft-accessibility/references/wcag22-checks.md +38 -5
  131. package/skills/pixelcraft-brandkit/SKILL.md +42 -30
  132. package/skills/pixelcraft-brandkit/references/asset-pipeline.md +90 -50
  133. package/skills/pixelcraft-brandkit/references/brand-governance.md +29 -27
  134. package/skills/pixelcraft-brandkit/references/logo-methods.md +33 -34
  135. package/skills/pixelcraft-brandkit/references/prompt-template.md +53 -51
  136. package/skills/pixelcraft-brandkit/references/qa-checklist.md +7 -2
  137. package/skills/pixelcraft-brandkit/references/visual-modes.md +16 -16
  138. package/skills/pixelcraft-chat-ui/SKILL.md +31 -27
  139. package/skills/pixelcraft-chat-ui/references/agentic-workspace.md +66 -0
  140. package/skills/pixelcraft-chat-ui/references/ai-ui-libraries.md +259 -0
  141. package/skills/pixelcraft-chat-ui/references/conversation-design.md +12 -6
  142. package/skills/pixelcraft-chat-ui/references/mobile-business-platforms.md +58 -68
  143. package/skills/pixelcraft-chat-ui/references/slack-discord.md +60 -76
  144. package/skills/pixelcraft-constrained/SKILL.md +21 -20
  145. package/skills/pixelcraft-constrained/references/specialized-hardware.md +69 -45
  146. package/skills/pixelcraft-constrained/references/tv-wearables.md +123 -73
  147. package/skills/pixelcraft-constrained/references/voice-ui.md +86 -45
  148. package/skills/pixelcraft-craft/SKILL.md +29 -15
  149. package/skills/pixelcraft-craft/references/color.md +62 -6
  150. package/skills/pixelcraft-craft/references/layout.md +32 -0
  151. package/skills/pixelcraft-craft/references/motion.md +99 -12
  152. package/skills/pixelcraft-craft/references/typography.md +48 -9
  153. package/skills/pixelcraft-data-apps/SKILL.md +50 -31
  154. package/skills/pixelcraft-data-apps/references/ai-and-internal-data-apps.md +147 -0
  155. package/skills/pixelcraft-data-apps/references/dash.md +87 -31
  156. package/skills/pixelcraft-data-apps/references/evidence.md +41 -26
  157. package/skills/pixelcraft-data-apps/references/gradio.md +65 -27
  158. package/skills/pixelcraft-data-apps/references/julia-genie.md +64 -29
  159. package/skills/pixelcraft-data-apps/references/jupyter-widgets.md +65 -27
  160. package/skills/pixelcraft-data-apps/references/nicegui.md +73 -34
  161. package/skills/pixelcraft-data-apps/references/observable-framework.md +65 -27
  162. package/skills/pixelcraft-data-apps/references/panel.md +69 -23
  163. package/skills/pixelcraft-data-apps/references/r-shiny.md +104 -34
  164. package/skills/pixelcraft-data-apps/references/reactive-data-apps.md +186 -0
  165. package/skills/pixelcraft-data-apps/references/reflex.md +85 -31
  166. package/skills/pixelcraft-data-apps/references/shiny.md +84 -27
  167. package/skills/pixelcraft-data-apps/references/streamlit.md +73 -25
  168. package/skills/pixelcraft-dataviz/SKILL.md +21 -24
  169. package/skills/pixelcraft-dataviz/references/color-accessibility.md +2 -2
  170. package/skills/pixelcraft-dataviz/references/encoding-tables-dashboards.md +35 -25
  171. package/skills/pixelcraft-dataviz/references/libraries.md +165 -46
  172. package/skills/pixelcraft-dataviz/references/maps-geospatial.md +159 -0
  173. package/skills/pixelcraft-dataviz/references/realtime-graphs-maps-scale.md +58 -65
  174. package/skills/pixelcraft-desktop/SKILL.md +61 -39
  175. package/skills/pixelcraft-desktop/references/appkit.md +60 -26
  176. package/skills/pixelcraft-desktop/references/avalonia.md +65 -29
  177. package/skills/pixelcraft-desktop/references/cpp-gui.md +104 -27
  178. package/skills/pixelcraft-desktop/references/electron.md +68 -26
  179. package/skills/pixelcraft-desktop/references/go-gui.md +59 -30
  180. package/skills/pixelcraft-desktop/references/gtk.md +74 -31
  181. package/skills/pixelcraft-desktop/references/javafx-swing.md +54 -25
  182. package/skills/pixelcraft-desktop/references/qt-pyside-qml.md +57 -30
  183. package/skills/pixelcraft-desktop/references/rust-gui.md +59 -41
  184. package/skills/pixelcraft-desktop/references/tauri.md +80 -24
  185. package/skills/pixelcraft-desktop/references/uno-platform.md +42 -23
  186. package/skills/pixelcraft-desktop/references/winui-wpf.md +66 -26
  187. package/skills/pixelcraft-desktop/references/working-context.md +82 -3
  188. package/skills/pixelcraft-direction/SKILL.md +48 -82
  189. package/skills/pixelcraft-direction/references/creative-brainstorming.md +72 -0
  190. package/skills/pixelcraft-direction/references/direction-card.md +11 -1
  191. package/skills/pixelcraft-direction/references/direction-scoring.md +5 -1
  192. package/skills/pixelcraft-direction/references/motion-identity.md +67 -0
  193. package/skills/pixelcraft-direction/references/movements.md +3 -0
  194. package/skills/pixelcraft-direction/references/reference-analysis.md +37 -0
  195. package/skills/pixelcraft-direction/references/slop-fingerprints.md +32 -7
  196. package/skills/pixelcraft-document/SKILL.md +27 -23
  197. package/skills/pixelcraft-document/references/archetypes.md +27 -4
  198. package/skills/pixelcraft-document/references/pdf-tools.md +241 -81
  199. package/skills/pixelcraft-document/references/pdfjs-and-pptx.md +114 -0
  200. package/skills/pixelcraft-document/references/print-css.md +96 -43
  201. package/skills/pixelcraft-document/references/slides.md +123 -27
  202. package/skills/pixelcraft-email/SKILL.md +42 -20
  203. package/skills/pixelcraft-email/references/client-quirks.md +101 -33
  204. package/skills/pixelcraft-email/references/html-tables.md +83 -22
  205. package/skills/pixelcraft-email/references/maizzle.md +54 -0
  206. package/skills/pixelcraft-email/references/mjml.md +13 -11
  207. package/skills/pixelcraft-email/references/react-email.md +76 -34
  208. package/skills/pixelcraft-extensions/SKILL.md +32 -27
  209. package/skills/pixelcraft-extensions/references/browser-extensions.md +91 -17
  210. package/skills/pixelcraft-extensions/references/figma-office.md +97 -14
  211. package/skills/pixelcraft-extensions/references/ide-and-saas-plugins.md +125 -0
  212. package/skills/pixelcraft-extensions/references/raycast.md +90 -11
  213. package/skills/pixelcraft-extensions/references/vscode-webviews.md +91 -17
  214. package/skills/pixelcraft-game-ui/SKILL.md +45 -26
  215. package/skills/pixelcraft-game-ui/references/bevy.md +69 -31
  216. package/skills/pixelcraft-game-ui/references/godot.md +100 -27
  217. package/skills/pixelcraft-game-ui/references/hud-principles.md +50 -21
  218. package/skills/pixelcraft-game-ui/references/love2d.md +53 -27
  219. package/skills/pixelcraft-game-ui/references/monogame.md +45 -29
  220. package/skills/pixelcraft-game-ui/references/unity-ugui.md +109 -0
  221. package/skills/pixelcraft-game-ui/references/unity-ui-toolkit.md +69 -27
  222. package/skills/pixelcraft-game-ui/references/unreal-umg.md +53 -26
  223. package/skills/pixelcraft-game-ui/references/web-and-middleware-game-ui.md +122 -0
  224. package/skills/pixelcraft-handoff/SKILL.md +14 -13
  225. package/skills/pixelcraft-handoff/references/design-translation.md +40 -10
  226. package/skills/pixelcraft-handoff/references/motion-handoff.md +54 -0
  227. package/skills/pixelcraft-media/SKILL.md +20 -23
  228. package/skills/pixelcraft-media/references/banners-video.md +83 -65
  229. package/skills/pixelcraft-media/references/og-generation.md +110 -63
  230. package/skills/pixelcraft-media/references/social-cards.md +57 -58
  231. package/skills/pixelcraft-mobile/SKILL.md +53 -36
  232. package/skills/pixelcraft-mobile/references/dotnet-maui.md +62 -34
  233. package/skills/pixelcraft-mobile/references/flet.md +53 -26
  234. package/skills/pixelcraft-mobile/references/flutter.md +76 -32
  235. package/skills/pixelcraft-mobile/references/harmonyos-and-emerging-mobile.md +121 -0
  236. package/skills/pixelcraft-mobile/references/ionic-capacitor.md +48 -26
  237. package/skills/pixelcraft-mobile/references/jetpack-compose.md +92 -24
  238. package/skills/pixelcraft-mobile/references/kivy.md +54 -31
  239. package/skills/pixelcraft-mobile/references/kotlin-multiplatform.md +53 -27
  240. package/skills/pixelcraft-mobile/references/lynxjs.md +110 -0
  241. package/skills/pixelcraft-mobile/references/nativescript-and-skip.md +91 -0
  242. package/skills/pixelcraft-mobile/references/react-native-expo.md +66 -31
  243. package/skills/pixelcraft-mobile/references/swiftui.md +158 -28
  244. package/skills/pixelcraft-mobile/references/tactile-interactions.md +55 -0
  245. package/skills/pixelcraft-mobile/references/task-state-composition.md +82 -2
  246. package/skills/pixelcraft-mobile/references/uikit.md +57 -23
  247. package/skills/pixelcraft-patterns/SKILL.md +30 -13
  248. package/skills/pixelcraft-patterns/references/accessibility-resilience.md +29 -0
  249. package/skills/pixelcraft-patterns/references/ai-and-offline-patterns.md +54 -0
  250. package/skills/pixelcraft-patterns/references/auth-onboarding.md +32 -13
  251. package/skills/pixelcraft-patterns/references/billing-paywalls.md +40 -0
  252. package/skills/pixelcraft-patterns/references/command-workspace.md +56 -0
  253. package/skills/pixelcraft-patterns/references/commerce.md +35 -16
  254. package/skills/pixelcraft-patterns/references/communication.md +34 -15
  255. package/skills/pixelcraft-patterns/references/creative-tools.md +30 -17
  256. package/skills/pixelcraft-patterns/references/creative-web-composition.md +38 -0
  257. package/skills/pixelcraft-patterns/references/dashboard-admin.md +22 -18
  258. package/skills/pixelcraft-patterns/references/history-diff-undo.md +50 -0
  259. package/skills/pixelcraft-patterns/references/marketing.md +31 -19
  260. package/skills/pixelcraft-patterns/references/multi-tenant-rbac.md +47 -0
  261. package/skills/pixelcraft-patterns/references/narrative-systems.md +42 -0
  262. package/skills/pixelcraft-patterns/references/notifications-activity.md +57 -0
  263. package/skills/pixelcraft-patterns/references/pattern-selection.md +8 -2
  264. package/skills/pixelcraft-patterns/references/scheduling-kanban.md +47 -0
  265. package/skills/pixelcraft-patterns/references/scroll-implementation.md +37 -0
  266. package/skills/pixelcraft-patterns/references/settings.md +40 -12
  267. package/skills/pixelcraft-plan/SKILL.md +54 -18
  268. package/skills/pixelcraft-plan/references/discovery-interview.md +110 -0
  269. package/skills/pixelcraft-plan/references/grill-me-protocol.md +63 -0
  270. package/skills/pixelcraft-plan/references/plan-template.md +44 -9
  271. package/skills/pixelcraft-plan/references/repo-discovery.md +16 -9
  272. package/skills/pixelcraft-plan/references/stack-freshness.md +22 -5
  273. package/skills/pixelcraft-plan/references/stack-selection.md +65 -9
  274. package/skills/pixelcraft-review/SKILL.md +41 -19
  275. package/skills/pixelcraft-review/references/audit-report.md +20 -1
  276. package/skills/pixelcraft-review/references/heuristics.md +63 -18
  277. package/skills/pixelcraft-review/references/personas.md +41 -14
  278. package/skills/pixelcraft-review/references/polish.md +66 -26
  279. package/skills/pixelcraft-review/scripts/check-acceptance.mjs +619 -0
  280. package/skills/pixelcraft-review/scripts/fixtures/focus-longhand-removal.css +34 -0
  281. package/skills/pixelcraft-review/scripts/slop-scan.mjs +679 -32
  282. package/skills/pixelcraft-spatial/SKILL.md +16 -17
  283. package/skills/pixelcraft-spatial/references/comfort-accessibility.md +25 -84
  284. package/skills/pixelcraft-spatial/references/platforms.md +123 -53
  285. package/skills/pixelcraft-tokens/SKILL.md +18 -14
  286. package/skills/pixelcraft-tokens/assets/tokens.example.json +1 -1
  287. package/skills/pixelcraft-tokens/assets/tokens.modes.example.json +1 -1
  288. package/skills/pixelcraft-tokens/references/format.md +39 -9
  289. package/skills/pixelcraft-tokens/references/governance.md +1 -1
  290. package/skills/pixelcraft-tokens/references/theme-presets.md +36 -8
  291. package/skills/pixelcraft-tokens/references/token-tooling.md +119 -0
  292. package/skills/pixelcraft-tokens/scripts/export-tokens.mjs +637 -75
  293. package/skills/pixelcraft-tui/SKILL.md +41 -25
  294. package/skills/pixelcraft-tui/references/bubbletea-lipgloss.md +49 -30
  295. package/skills/pixelcraft-tui/references/extended-tui-toolkits.md +127 -0
  296. package/skills/pixelcraft-tui/references/ink.md +77 -28
  297. package/skills/pixelcraft-tui/references/ratatui.md +70 -30
  298. package/skills/pixelcraft-tui/references/rich.md +53 -33
  299. package/skills/pixelcraft-tui/references/terminal-protocols.md +80 -0
  300. package/skills/pixelcraft-tui/references/textual.md +75 -34
  301. package/skills/pixelcraft-ux/SKILL.md +22 -12
  302. package/skills/pixelcraft-ux/references/feedback-performance.md +39 -19
  303. package/skills/pixelcraft-ux/references/forms.md +57 -3
  304. package/skills/pixelcraft-ux/references/i18n.md +50 -12
  305. package/skills/pixelcraft-ux/references/laws.md +35 -14
  306. package/skills/pixelcraft-ux/references/state-matrix.md +15 -1
  307. package/skills/pixelcraft-ux/references/ux-writing.md +1 -0
  308. package/skills/pixelcraft-visual-qa/SKILL.md +21 -7
  309. package/skills/pixelcraft-visual-qa/references/capture-desktop-game.md +28 -7
  310. package/skills/pixelcraft-visual-qa/references/capture-document.md +70 -0
  311. package/skills/pixelcraft-visual-qa/references/capture-email.md +13 -9
  312. package/skills/pixelcraft-visual-qa/references/capture-mobile.md +20 -5
  313. package/skills/pixelcraft-visual-qa/references/capture-terminal.md +6 -2
  314. package/skills/pixelcraft-visual-qa/references/motion-capture.md +63 -0
  315. package/skills/pixelcraft-visual-qa/references/performance-budgets.md +25 -12
  316. package/skills/pixelcraft-visual-qa/references/realtime-graphics.md +55 -0
  317. package/skills/pixelcraft-visual-qa/scripts/check-contrast.mjs +442 -0
  318. package/skills/pixelcraft-visual-qa/scripts/check-email.mjs +397 -0
  319. package/skills/pixelcraft-visual-qa/scripts/check-pdf.mjs +189 -0
  320. package/skills/pixelcraft-visual-qa/scripts/check-tui.mjs +321 -0
  321. package/skills/pixelcraft-visual-qa/scripts/finish-gate.mjs +50 -11
  322. package/skills/pixelcraft-visual-qa/scripts/shoot.mjs +214 -59
  323. package/skills/pixelcraft-visual-qa/scripts/style-inventory.mjs +121 -49
  324. package/skills/pixelcraft-web/SKILL.md +105 -49
  325. package/skills/pixelcraft-web/references/accessibility-performance.md +42 -0
  326. package/skills/pixelcraft-web/references/adaptive-layout.md +52 -8
  327. package/skills/pixelcraft-web/references/angular.md +63 -16
  328. package/skills/pixelcraft-web/references/assets-pipeline.md +67 -0
  329. package/skills/pixelcraft-web/references/astro.md +64 -13
  330. package/skills/pixelcraft-web/references/audio-reactive.md +61 -0
  331. package/skills/pixelcraft-web/references/auth-and-checkout-ui.md +115 -0
  332. package/skills/pixelcraft-web/references/build-and-architecture.md +215 -0
  333. package/skills/pixelcraft-web/references/canvas-and-node-editors.md +157 -0
  334. package/skills/pixelcraft-web/references/clojurescript.md +52 -17
  335. package/skills/pixelcraft-web/references/component-systems.md +102 -0
  336. package/skills/pixelcraft-web/references/component-testing.md +170 -0
  337. package/skills/pixelcraft-web/references/creative-effects.md +59 -0
  338. package/skills/pixelcraft-web/references/creative-runtime.md +34 -0
  339. package/skills/pixelcraft-web/references/enterprise-data-ui.md +138 -0
  340. package/skills/pixelcraft-web/references/file-upload-media-ui.md +82 -0
  341. package/skills/pixelcraft-web/references/forms-validation.md +123 -0
  342. package/skills/pixelcraft-web/references/fsharp-fable.md +3 -2
  343. package/skills/pixelcraft-web/references/gsap.md +102 -0
  344. package/skills/pixelcraft-web/references/html-css.md +144 -12
  345. package/skills/pixelcraft-web/references/htmx-alpine.md +68 -18
  346. package/skills/pixelcraft-web/references/i18n-engineering.md +106 -0
  347. package/skills/pixelcraft-web/references/interaction-and-search-primitives.md +196 -0
  348. package/skills/pixelcraft-web/references/java-web.md +27 -18
  349. package/skills/pixelcraft-web/references/kotlin-web.md +6 -2
  350. package/skills/pixelcraft-web/references/leptos-yew.md +62 -19
  351. package/skills/pixelcraft-web/references/lit-web-components.md +4 -2
  352. package/skills/pixelcraft-web/references/local-first-sync.md +105 -0
  353. package/skills/pixelcraft-web/references/media-players.md +104 -0
  354. package/skills/pixelcraft-web/references/motion-react.md +96 -0
  355. package/skills/pixelcraft-web/references/motion-recipes.md +82 -0
  356. package/skills/pixelcraft-web/references/preact-fresh-hono.md +111 -0
  357. package/skills/pixelcraft-web/references/pwa.md +6 -1
  358. package/skills/pixelcraft-web/references/qwik.md +51 -11
  359. package/skills/pixelcraft-web/references/r3f-integration.md +69 -0
  360. package/skills/pixelcraft-web/references/react-next.md +112 -13
  361. package/skills/pixelcraft-web/references/rendering-choice.md +63 -0
  362. package/skills/pixelcraft-web/references/rendering-performance.md +80 -0
  363. package/skills/pixelcraft-web/references/rich-text-and-code-editors.md +220 -0
  364. package/skills/pixelcraft-web/references/rive-lottie.md +73 -0
  365. package/skills/pixelcraft-web/references/scene-architecture.md +132 -0
  366. package/skills/pixelcraft-web/references/server-rendered.md +106 -63
  367. package/skills/pixelcraft-web/references/shader-workflow.md +77 -0
  368. package/skills/pixelcraft-web/references/smooth-scroll.md +58 -0
  369. package/skills/pixelcraft-web/references/solid.md +67 -16
  370. package/skills/pixelcraft-web/references/state-architecture.md +107 -0
  371. package/skills/pixelcraft-web/references/styling-ecosystem.md +273 -0
  372. package/skills/pixelcraft-web/references/svelte.md +61 -11
  373. package/skills/pixelcraft-web/references/tailwind.md +40 -14
  374. package/skills/pixelcraft-web/references/video-media.md +69 -0
  375. package/skills/pixelcraft-web/references/vue-nuxt.md +37 -13
  376. package/skills/pixelcraft-web/references/web-3d-engines.md +97 -0
@@ -0,0 +1,69 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "creative-code-rendering",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Choose bounded renderer for effects",
6
+ "contextSnapshot": {
7
+ "surface": "marketing hero",
8
+ "platform": "responsive web",
9
+ "mode": "Persuade",
10
+ "states": [
11
+ "initial",
12
+ "animated",
13
+ "hover",
14
+ "offscreen",
15
+ "hidden tab",
16
+ "context failure"
17
+ ],
18
+ "constraints": [
19
+ "existing design system",
20
+ "mid-tier mobile",
21
+ "static fallback"
22
+ ]
23
+ },
24
+ "prompt": "Create an interactive particle field with a custom image displacement effect behind semantic hero content.",
25
+ "expectedRouting": [
26
+ "pixelcraft-web",
27
+ "pixelcraft-accessibility",
28
+ "pixelcraft-visual-qa"
29
+ ],
30
+ "forbiddenBehaviors": [
31
+ "canvas-only text",
32
+ "unbounded particle loop",
33
+ "no context loss handling",
34
+ "assuming GPU acceleration always helps"
35
+ ],
36
+ "rubricDimensions": [
37
+ {
38
+ "dimension": "renderer selection",
39
+ "pass": "chooses SVG/Canvas/Pixi/WebGL/WebGPU by effect complexity and support",
40
+ "fail": "uses GPU renderer for simple decoration"
41
+ },
42
+ {
43
+ "dimension": "bounded runtime",
44
+ "pass": "caps DPR, objects, delta time and pauses when hidden",
45
+ "fail": "unbounded per-frame allocation or updates"
46
+ },
47
+ {
48
+ "dimension": "fallback",
49
+ "pass": "provides deterministic static and semantic paths",
50
+ "fail": "page becomes unusable without GPU"
51
+ }
52
+ ],
53
+ "negativeControls": [
54
+ {
55
+ "name": "desktop capture",
56
+ "input": "Effect appears smooth on developer desktop",
57
+ "mustNot": "claim mobile frame budget passed"
58
+ },
59
+ {
60
+ "name": "shader similarity",
61
+ "input": "Reference contains liquid distortion",
62
+ "mustNot": "copy unique artwork or assert the same shader implementation"
63
+ }
64
+ ],
65
+ "baseline": {
66
+ "withoutSkill": "adds a heavy canvas with no measurement",
67
+ "withSkill": "documents renderer, deterministic test, fallback and device budget"
68
+ }
69
+ }
@@ -0,0 +1,67 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "creative-reference-evidence",
4
+ "skill": "pixelcraft-direction",
5
+ "title": "Distinguish gallery tags from observed implementation",
6
+ "contextSnapshot": {
7
+ "surface": "reference research",
8
+ "platform": "public web pages",
9
+ "mode": "Experience",
10
+ "states": [
11
+ "gallery listing",
12
+ "award detail",
13
+ "live site",
14
+ "HTML source",
15
+ "interaction"
16
+ ],
17
+ "constraints": [
18
+ "public access only",
19
+ "respect terms and rate limits",
20
+ "no asset/code redistribution"
21
+ ]
22
+ },
23
+ "prompt": "Research three award-worthy references and extract implementation patterns for a new interactive portfolio.",
24
+ "expectedRouting": [
25
+ "pixelcraft-direction",
26
+ "pixelcraft-plan"
27
+ ],
28
+ "forbiddenBehaviors": [
29
+ "claims library from screenshot only",
30
+ "copies site source/assets",
31
+ "bypasses access controls",
32
+ "treats gallery tags as verified runtime"
33
+ ],
34
+ "rubricDimensions": [
35
+ {
36
+ "dimension": "evidence labels",
37
+ "pass": "separates gallery-tagged, metadata, markup, runtime and inference",
38
+ "fail": "states visual guess as fact"
39
+ },
40
+ {
41
+ "dimension": "source quality",
42
+ "pass": "uses detail pages and live projects with dates and source URLs",
43
+ "fail": "relies only on thumbnails"
44
+ },
45
+ {
46
+ "dimension": "transfer",
47
+ "pass": "turns observations into original recipes with constraints",
48
+ "fail": "recommends cloning a selected website"
49
+ }
50
+ ],
51
+ "negativeControls": [
52
+ {
53
+ "name": "GSAP gallery tag",
54
+ "input": "Award entry has a GSAP tag",
55
+ "mustNot": "claim a specific GSAP plugin is used without further evidence"
56
+ },
57
+ {
58
+ "name": "restricted gallery",
59
+ "input": "Screens are behind sign-in",
60
+ "mustNot": "bypass login or scrape protected content"
61
+ }
62
+ ],
63
+ "baseline": {
64
+ "withoutSkill": "collects screenshots and copies visual trends",
65
+ "withSkill": "builds evidence-labeled comparisons and original recipes"
66
+ }
67
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "data-app-python-marimo",
4
+ "skill": "pixelcraft-data-apps",
5
+ "title": "Build a reactive Python Marimo cohort explorer without stale hidden cell state or unthrottled expensive recomputation",
6
+ "contextSnapshot": {
7
+ "surface": "Interactive Python Marimo analytical data app for cohort retention exploration",
8
+ "platform": "Python / Marimo (marimo.ui + Altair/Polars)",
9
+ "mode": "Operate",
10
+ "states": ["initial default dataset", "filtered empty cohort", "expensive query guarded by mo.ui.form/run button", "data-load error", "narrow viewport stacking"],
11
+ "constraints": ["DAG-pure reactive cells with no hidden mutable global state", "explicit form/batch trigger for heavy queries", "direct-labeled accessible charts with tabular data fallback"]
12
+ },
13
+ "prompt": "Build an interactive Python Marimo data app for exploring customer retention cohorts by region and acquisition channel, ensuring heavy aggregations do not re-run on every keystroke and showing clear empty/error states plus downloadable summary tables.",
14
+ "expectedRouting": ["pixelcraft-data-apps", "references/reactive-data-apps.md", "references/evidence.md"],
15
+ "forbiddenBehaviors": [
16
+ "mutates shared global DataFrames across cells, breaking Marimo's reactive DAG invariants",
17
+ "triggers multi-second queries on every slider tick instead of batching via mo.ui.form() or mo.ui.run_button()",
18
+ "presents unlabeled charts or omits empty-cohort and load-error feedback",
19
+ "treats python syntax check as rendered browser verification of the Marimo app"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "Marimo reactive DAG hygiene and latency discipline",
24
+ "pass": "uses pure cell dependencies, mo.ui.form() / batch submission for expensive recomputation, and mo.stop() guards for missing or invalid inputs",
25
+ "fail": "creates circular/mutating globals or freezes the app on every slider drag"
26
+ },
27
+ {
28
+ "dimension": "analytical clarity and state coverage",
29
+ "pass": "direct-labels retention curves with exact denominators/date range, pairs charts with an inspectable summary table, and handles empty/error states gracefully",
30
+ "fail": "shows raw Python tracebacks to analysts or relies on legend-only color decoding"
31
+ },
32
+ {
33
+ "dimension": "honest verification labeling",
34
+ "pass": "distinguishes marimo check / pytest static checks from rendered browser inspection of the running Marimo app",
35
+ "fail": "claims responsive chart readability without running or inspecting the app"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "marimo check only",
41
+ "input": "marimo check app.py passes with no DAG errors",
42
+ "mustNot": "claim chart contrast, narrow-screen layout, or interactive filtering is rendered-verified"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "dumps raw unthrottled widgets that re-query on every tick, leaks tracebacks on empty filters, and leaves charts unlabeled",
47
+ "withSkill": "builds a clean DAG-pure Marimo app with mo.ui.form batching, mo.stop guards, direct-labeled charts + summary table, and honest static vs rendered evidence"
48
+ }
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "desktop-cpp-juce-audio",
4
+ "skill": "pixelcraft-desktop",
5
+ "title": "Build a C++ JUCE audio plugin editor with lock-free UI updates, scalable vector knobs, and keyboard/screen-reader accessibility",
6
+ "contextSnapshot": {
7
+ "surface": "VST3/AU parametric EQ and compressor desktop audio plugin UI",
8
+ "platform": "C++20 / JUCE 8",
9
+ "mode": "Operate",
10
+ "states": ["default 100% scale", "150% HiDPI resize", "bypass active", "clipping overload alert", "keyboard fine-adjust + numeric entry"],
11
+ "constraints": ["never allocate or lock mutexes on the audio thread", "AudioProcessorValueTreeState attachments", "JUCE AccessibilityHandler and resizable aspect bounds"]
12
+ },
13
+ "prompt": "Design and implement a C++ JUCE audio plugin editor for a 4-band parametric EQ with real-time spectrum metering, resizable HiDPI layout, keyboard fine-adjustment and direct numeric entry, and screen-reader accessibility.",
14
+ "expectedRouting": ["pixelcraft-desktop", "references/cpp-gui.md", "references/working-context.md"],
15
+ "forbiddenBehaviors": [
16
+ "touches JUCE Component UI methods or allocates memory directly inside processBlock() on the audio thread",
17
+ "locks the plugin editor to a fixed non-resizable bitmap size that blurs on 200% HiDPI displays",
18
+ "provides mouse-drag-only rotary knobs without keyboard arrows, Shift fine control, double-click reset, or typed numeric entry",
19
+ "communicates clipping/bypass solely through red/green LED color without text/icon state"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "real-time audio/UI separation",
24
+ "pass": "binds controls via AudioProcessorValueTreeState attachments and passes meter/FFT data through lock-free atomics/FIFOs polled on a bounded UI timer",
25
+ "fail": "calls repaint() or locks mutexes from processBlock()"
26
+ },
27
+ {
28
+ "dimension": "resizable vector craft and keyboard ergonomics",
29
+ "pass": "implements setResizable with explicit bounds, vector LookAndFeel rendering, Shift fine-tune, double-click default reset, direct numeric input, and JUCE AccessibilityHandler metadata",
30
+ "fail": "uses static raster PNG knob strips that blur at 150% scale or ignores keyboard control"
31
+ },
32
+ {
33
+ "dimension": "verification honesty",
34
+ "pass": "distinguishes CMake build/static checks from rendered DAW host validation (macOS AU / Windows VST3)",
35
+ "fail": "claims Logic/Ableton HiDPI and VoiceOver behavior passed from a headless CMake compile"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "cmake compile only",
41
+ "input": "cmake --build succeeds with zero errors",
42
+ "mustNot": "claim real-time DAW rendering, HiDPI scaling, or VoiceOver traversal is rendered-verified"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "hardcodes fixed bitmap coordinates, calls UI updates unsafely from audio callbacks, and leaves knobs mouse-only without accessibility handlers",
47
+ "withSkill": "enforces lock-free audio/UI separation, resizable vector JUCE rendering, keyboard/numeric precision controls, AccessibilityHandler wiring, and honest evidence labels"
48
+ }
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "desktop-csharp-avalonia",
4
+ "skill": "pixelcraft-desktop",
5
+ "title": "Build a C# Avalonia UI (.axaml) cross-platform ledger desktop window with compiled bindings, theme dictionaries, and AutomationProperties",
6
+ "contextSnapshot": {
7
+ "surface": "Cross-platform desktop accounting ledger and reconciliation window",
8
+ "platform": "C# / .NET 9 / Avalonia UI 11 (.axaml)",
9
+ "mode": "Operate",
10
+ "states": ["empty ledger", "unreconciled discrepancy error", "async import loading", "Fluent Light/Dark ThemeVariant", "keyboard-only DataGrid traversal"],
11
+ "constraints": ["x:CompileBindings=\"True\" MVVM with CommunityToolkit.Mvvm", "ThemeDictionaries resource tokens", "AutomationProperties.Name and keyboard AccessKey/HotKey support"]
12
+ },
13
+ "prompt": "Build a cross-platform C# Avalonia UI (.axaml) ledger reconciliation desktop view supporting Light/Dark ThemeVariant switching, keyboard-first DataGrid and toolbar navigation, async CSV import without blocking the UI thread, and screen-reader AutomationProperties.",
14
+ "expectedRouting": ["pixelcraft-desktop", "references/avalonia.md", "references/working-context.md"],
15
+ "forbiddenBehaviors": [
16
+ "hardcodes static hex colors inside AXAML templates instead of ThemeDictionaries / DynamicResource semantic tokens",
17
+ "blocks the Avalonia UI thread with synchronous file I/O instead of async ICommand/Task execution",
18
+ "omits AutomationProperties.Name on icon-only buttons or breaks Tab/keyboard traversal in DataGrid",
19
+ "copies WPF-only APIs that do not exist in Avalonia 11"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "Avalonia 11 idioms and token theming",
24
+ "pass": "uses AXAML Styles/ControlThemes, ThemeDictionaries for Light/Dark/HighContrast variants, x:CompileBindings=\"True\", and async MVVM commands with cancellation",
25
+ "fail": "hardcodes RGB brushes in AXAML or uses nonexistent WPF-only triggers"
26
+ },
27
+ {
28
+ "dimension": "desktop accessibility and state coverage",
29
+ "pass": "sets AutomationProperties.Name/HelpText on controls, wires NativeMenu/HotKey shortcuts, and covers empty/loading/discrepancy-error/dirty-close states",
30
+ "fail": "leaves icon buttons unnamed or drops unsaved edits on close"
31
+ },
32
+ {
33
+ "dimension": "verification honesty",
34
+ "pass": "labels dotnet build/headless Avalonia tests separately from native Windows/macOS/Linux rendered inspection",
35
+ "fail": "claims cross-OS desktop rendering passed from dotnet build alone"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "dotnet build only",
41
+ "input": "dotnet build succeeds cleanly",
42
+ "mustNot": "claim Light/Dark theme contrast or Windows/macOS screen-reader support is rendered-verified"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "hardcodes light-mode hex brushes in AXAML, mixes WPF syntax, blocks UI thread during CSV import, and omits AutomationProperties",
47
+ "withSkill": "delivers idiomatic Avalonia 11 AXAML with compiled bindings, ThemeDictionaries, async cancellable commands, keyboard/AutomationProperties support, and honest evidence"
48
+ }
49
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "desktop-native-workspace",
4
+ "skill": "pixelcraft-desktop",
5
+ "title": "Build a keyboard-first multi-pane desktop inspector in Rust GPUI or native macOS/Tauri without web SPA leakage",
6
+ "contextSnapshot": {
7
+ "surface": "multi-pane log and database inspector desktop application",
8
+ "platform": "Rust GPUI / Tauri v2 / macOS SwiftUI + AppKit",
9
+ "mode": "Operate",
10
+ "states": ["minimum window resize", "detached/collapsed inspector", "dirty unsaved query", "multi-monitor bounds restore", "system dark and reduced motion"],
11
+ "constraints": ["full keyboard traversal without mouse", "OS-idiomatic menus and shortcuts", "AccessKit/platform accessibility"]
12
+ },
13
+ "prompt": "Design and implement a desktop database inspector with linked query editor and result inspector panes, supporting keyboard pane switching, window-state restoration, and dirty-close protection.",
14
+ "expectedRouting": ["pixelcraft-desktop", "references/working-context.md", "references/rust-gui.md", "references/tauri.md"],
15
+ "forbiddenBehaviors": [
16
+ "pastes a browser SPA into a desktop window without native menus, shortcuts, or window-state restoration",
17
+ "hardcodes fixed window dimensions that clip at high DPI or restores off-screen coordinates after disconnecting a monitor",
18
+ "claims native menu and accessibility compliance from inner webview DOM inspection alone"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "working context and pane coupling",
23
+ "pass": "keeps source selection and inspector subject visibly linked without color-only state and degrades cleanly to disclosure/tab at minimum window width",
24
+ "fail": "detaches inspector state from active selection or collapses panes irreversibly"
25
+ },
26
+ {
27
+ "dimension": "native desktop shell and keyboard ergonomics",
28
+ "pass": "implements OS menus, non-conflicting shortcuts, F6/pane focus-ring traversal, dirty-document close warning, and multi-monitor bounds clamping",
29
+ "fail": "relies on mouse-only controls or discards unsaved work on window close"
30
+ },
31
+ {
32
+ "dimension": "platform accessibility and honest verification",
33
+ "pass": "wires AccessKit or native platform accessibility APIs and distinguishes OS/WM tested from not-checked",
34
+ "fail": "equates cargo check or webview DOM checks with desktop accessibility verification"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "compile pass without window verification",
40
+ "input": "cargo build succeeds cleanly",
41
+ "mustNot": "claim high-DPI rendering, keyboard shortcuts, or multi-monitor restoration are rendered-verified"
42
+ }
43
+ ],
44
+ "baseline": {
45
+ "withoutSkill": "wraps a web table in a fixed-width desktop shell with missing menus, unguarded window close, and broken keyboard focus across panes",
46
+ "withSkill": "builds an idiomatic desktop workspace with linked context panes, keyboard traversal, bounds-clamped persistence, dirty-state protection, and explicit evidence labels"
47
+ }
48
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "desktop-python-anti-tkinter",
4
+ "skill": "pixelcraft-desktop",
5
+ "title": "Select a modern Python desktop stack instead of defaulting lazily to Tkinter and build a crisp PySide6/Qt workspace",
6
+ "contextSnapshot": {
7
+ "surface": "Cross-platform Python scientific instrument controller and batch-export desktop app",
8
+ "platform": "Python desktop (greenfield stack selection -> PySide6 / Qt 6)",
9
+ "mode": "Operate",
10
+ "states": ["connected live telemetry", "device disconnected error", "export running non-blocking", "high-DPI 200% scaling", "system dark/light palette"],
11
+ "constraints": ["no lazy Tkinter default when polish, HiDPI, and accessibility are required", "non-blocking QThread/worker I/O", "native menu bar, keyboard shortcuts, and QAccessible labels"]
12
+ },
13
+ "prompt": "We want to build a polished cross-platform desktop app in Python for controlling a lab sensor and exporting CSV batches. Recommend the right desktop UI framework with trade-offs and design the main window architecture.",
14
+ "expectedRouting": ["pixelcraft-plan", "references/stack-selection.md", "pixelcraft-desktop", "references/qt-pyside-qml.md", "references/working-context.md"],
15
+ "forbiddenBehaviors": [
16
+ "defaults lazily to import tkinter / ttk because it is in the Python standard library despite polish, HiDPI, and accessibility requirements",
17
+ "blocks the Qt main GUI thread with synchronous serial/network reads or CSV writes",
18
+ "hardcodes light-only QSS colors that break dark mode or omits native menu shortcuts and dirty-close guards",
19
+ "claims cross-OS HiDPI polish without rendered verification"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "evidence-based stack selection (anti-Tkinter discipline)",
24
+ "pass": "explicitly evaluates PySide6/Qt6 (and alternatives like GTK4/Tauri) against HiDPI, native menus, accessibility, packaging, and license constraints instead of defaulting to Tkinter",
25
+ "fail": "starts writing tkinter code automatically without justifying toolkit trade-offs"
26
+ },
27
+ {
28
+ "dimension": "PySide6 desktop ergonomics and responsiveness",
29
+ "pass": "uses QMainWindow with native menus/shortcuts, Qt layouts (no fixed pixel geometry), worker threads/signals for sensor I/O, QPalette/system theme adaptation, and accessible names",
30
+ "fail": "freezes the UI thread during export or hardcodes fixed widget pixel positions"
31
+ },
32
+ {
33
+ "dimension": "honest verification labeling",
34
+ "pass": "labels static Python/Qt structure checks separately from rendered Windows/macOS/Linux HiDPI runs",
35
+ "fail": "claims macOS and Windows HiDPI behavior passed from headless Linux pytest alone"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "user explicitly mandates zero-dependency stdlib Tkinter",
41
+ "input": "user brief explicitly requires Python standard library only with no third-party wheels allowed",
42
+ "mustNot": "override the explicit user brief (authority order puts explicit user brief first; document Tkinter limits clearly instead)"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "immediately generates a dated fixed-size Tkinter window with blocking callbacks and broken HiDPI rendering",
47
+ "withSkill": "justifies PySide6/Qt6 over Tkinter with concrete criteria, designs a non-blocking accessible native workspace, and respects explicit user constraints"
48
+ }
49
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "document-prepress-pdfx4-tounicode",
4
+ "skill": "pixelcraft-document",
5
+ "title": "Produce a bilingual Vietnamese-English print brochure meeting commercial PDF/X-4 prepress (3mm bleed, CMYK OutputIntent, 100% K text) and ToUnicode CMap extractability",
6
+ "contextSnapshot": {
7
+ "surface": "Bilingual commercial print & digital product brochure PDF",
8
+ "platform": "Typst / Print-to-PDF prepress pipeline",
9
+ "mode": "Communicate",
10
+ "states": ["commercial press sheet with 3mm bleed and crop marks", "digital reader view with clickable bookmarks", "office monochrome laser print proof", "Vietnamese stacked-diacritic copy/paste extraction"],
11
+ "constraints": ["3mm bleed (/BleedBox) and 5mm trim safety (/TrimBox)", "calibrated CMYK ICC /OutputIntents with TAC <= 300% and 100% K body text", "vector SVG charts/logos + >= 300 DPI photos", "valid /ToUnicode CMap so Vietnamese diacritics copy cleanly without tofu"]
12
+ },
13
+ "prompt": "Build a bilingual Vietnamese-English 8-page product brochure template delivered both as a press-ready PDF/X-4 file for offset printing and as an accessible digital PDF with vector charts, tabular pricing tables, and clean Unicode copy-paste.",
14
+ "expectedRouting": ["pixelcraft-document", "references/pdf-tools.md", "references/print-css.md"],
15
+ "forbiddenBehaviors": [
16
+ "exports edge-to-edge backgrounds without 3mm bleed (/BleedBox) or places page numbers/logos within 2mm of the trim edge",
17
+ "renders charts or brand logos as raster PNGs instead of crisp vector primitives, or sets small black body copy in 4-channel rich black instead of C0 M0 Y0 K100",
18
+ "subsets Vietnamese fonts without a /ToUnicode CMap stream so copying `Tiếng Việt` yields garbled glyphs or tofu (□)"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "commercial prepress PDF/X-4 geometry and ink discipline",
23
+ "pass": "configures TrimBox + 3mm BleedBox + >= 5mm safe inset, embeds a calibrated CMYK OutputIntent (TAC <= 300%), keeps body black text on 100% K overprint, and keeps charts/logos strictly vector alongside >= 300 DPI photos",
24
+ "fail": "omits bleed/trim boxes, converts RGB neon blindly, rasterizes charts, or uses 4-plate black on body copy"
25
+ },
26
+ {
27
+ "dimension": "Unicode extractability, grayscale resilience, and QA verification",
28
+ "pass": "preserves /ToUnicode CMap on embedded subsetted fonts (`check-pdf.mjs --prepress` + `pdffonts uni=yes`), remains distinguishable in grayscale office printing, and inspects rasterized pages visually",
29
+ "fail": "breaks Vietnamese copy-paste extraction, relies solely on red/green hue in charts, or skips rendered page rasterization"
30
+ }
31
+ ],
32
+ "negativeControls": [
33
+ {
34
+ "name": "screen-RGB browser window.print export",
35
+ "input": "RGB PDF looks acceptable on a retina laptop monitor",
36
+ "mustNot": "claim commercial print readiness without /TrimBox, /BleedBox, CMYK /OutputIntents, 300 DPI image verification, and /ToUnicode text extraction checks"
37
+ }
38
+ ],
39
+ "baseline": {
40
+ "withoutSkill": "outputs an uncalibrated RGB PDF with zero bleed, rasterized PNG charts, 4-channel black body text, and broken Vietnamese copy-paste CMap",
41
+ "withSkill": "produces a dual-ready brochure passing `check-pdf.mjs --prepress` with 3mm bleed, 5mm safe margins, vector charts, 100% K body copy, intact /ToUnicode Vietnamese extraction, and grayscale legibility"
42
+ }
43
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "document-rust-typst-invoice",
4
+ "skill": "pixelcraft-document",
5
+ "title": "Build a multi-page Typst (.typ) commercial invoice PDF with repeating table headers, tabular figures, and PDF/UA metadata",
6
+ "contextSnapshot": {
7
+ "surface": "Paginated multi-page B2B commercial invoice PDF",
8
+ "platform": "Typst (Rust typesetting engine, .typ -> PDF)",
9
+ "mode": "Communicate",
10
+ "states": ["single-page invoice", "3-page 45-line-item overflow", "long translated German/Japanese descriptions", "grayscale print check", "PDF/UA metadata check"],
11
+ "constraints": ["repeating table.header across page breaks", "breakable: false totals block so subtotal/total never splits across pages", "document title, lang, embedded fonts, and tabular numerals"]
12
+ },
13
+ "prompt": "Create a Typst (.typ) multi-page commercial invoice template supporting A4 and US Letter page sizes, repeating table headers across page breaks, unsplit totals blocks, tabular-aligned currency figures, and valid PDF document metadata (title, lang, embedded fonts).",
14
+ "expectedRouting": ["pixelcraft-document", "references/pdf-tools.md", "references/archetypes.md"],
15
+ "forbiddenBehaviors": [
16
+ "invents fake invoice totals, customer names, tax IDs, or company logos instead of parameterized inputs/visible placeholders",
17
+ "lets the subtotal/tax/grand-total summary split awkwardly across a page break or omits table.header(repeat: true)",
18
+ "uses proportional figures for right-aligned currency columns or omits #set document(title: ...) and #set text(lang: ...)",
19
+ "claims visual pagination quality from typst compile exit 0 without inspecting rasterized pages"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "Typst pagination and typographic discipline",
24
+ "pass": "uses #set page(...) margins/running footers ('Page X of Y'), table.header(repeat: true), block(breakable: false) on totals, and tabular numerals (number-width: \"tabular\")",
25
+ "fail": "lets totals split across pages, repeats no headers on page 2, or uses browser CSS idioms in Typst"
26
+ },
27
+ {
28
+ "dimension": "accessibility, print safety, and truthfulness",
29
+ "pass": "sets #set document(title: ...) and #set text(lang: ...), preserves contrast in grayscale print, and keeps all invoice facts parameterized with zero invented data",
30
+ "fail": "hardcodes fabricated customer/tax records or drops language/title metadata"
31
+ },
32
+ {
33
+ "dimension": "static vs rendered PDF verification",
34
+ "pass": "runs check-pdf.mjs (static) AND rasterizes pages (e.g. pdftoppm) to visually inspect breaks/clipping, or marks visual page inspection not-checked if unavailable",
35
+ "fail": "equates typst compile exit 0 with rendered pagination verification"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "typst compile only",
41
+ "input": "typst compile invoice.typ exits 0 and writes invoice.pdf",
42
+ "mustNot": "claim visual page breaks, margins, or overflow wrapping are rendered-verified without rasterized page inspection"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "hardcodes invented company data, splits totals across page breaks, forgets repeating headers and tabular numerals, and omits PDF metadata",
47
+ "withSkill": "produces a parameterized Typst template with clean pagination, repeating headers, unsplit totals, tabular currency alignment, PDF/UA metadata, and honest static+rendered checks"
48
+ }
49
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "document-typst-and-print-css",
4
+ "skill": "pixelcraft-document",
5
+ "title": "Design paginated invoices and reports with valid Typst context syntax, print CSS fragmentation, and PDF/UA checks",
6
+ "contextSnapshot": {
7
+ "surface": "multi-page quarterly financial invoice and report PDF",
8
+ "platform": "Typst 0.12+ and HTML Print CSS / Playwright PDF / WeasyPrint",
9
+ "mode": "Communicate",
10
+ "states": ["multi-page table header repeat", "totals kept with summary", "missing optional notes", "grayscale print", "PDF/UA selectable text"],
11
+ "constraints": ["physical mm/pt units", "valid Typst context counter display", "no orphan headings or split signatures", "data-driven totals only"]
12
+ },
13
+ "prompt": "Build a multi-page B2B invoice and summary report exported to PDF via Typst or print CSS, keeping running headers, repeated table headers, intact signature blocks, and accessible selectable text.",
14
+ "expectedRouting": ["pixelcraft-document", "references/pdf-tools.md", "references/print-css.md", "references/archetypes.md"],
15
+ "forbiddenBehaviors": [
16
+ "uses broken Typst 0.11+ counter(page).display() outside a context expression",
17
+ "uses screen px units as print dimensions or leaves table headers and signature blocks split across page breaks",
18
+ "claims pagination or font embedding is verified from screen HTML without inspecting the generated PDF"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "renderer accuracy and physical typography",
23
+ "pass": "uses valid Typst context syntax (or Playwright/WeasyPrint/Paged.js print idioms), mm/pt units, explicit margins, embedded fonts, and PDF/A or PDF/UA considerations",
24
+ "fail": "copies broken Typst syntax or relies on unsupported browser print assumptions"
25
+ },
26
+ {
27
+ "dimension": "fragmentation and artifact verification",
28
+ "pass": "controls break-after/break-inside for headings, rows, totals, and signatures, and verifies the actual rendered PDF at 100% scale",
29
+ "fail": "accepts browser screen preview as proof of pagination"
30
+ }
31
+ ],
32
+ "negativeControls": [
33
+ {
34
+ "name": "screen html preview",
35
+ "input": "the HTML report looks aligned in a scrolling desktop viewport",
36
+ "mustNot": "declare page breaks, running headers, or PDF text selection verified without inspecting the exported PDF"
37
+ }
38
+ ],
39
+ "baseline": {
40
+ "withoutSkill": "uses screen px units, emits broken Typst counter syntax, forgets table header repetition, and never checks the generated PDF artifact",
41
+ "withSkill": "selects the right renderer with version-valid Typst/print CSS, enforces physical typography and fragmentation rules, and verifies the exported PDF"
42
+ }
43
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "email-mjml-dark-mode",
4
+ "skill": "pixelcraft-email",
5
+ "title": "Build an MJML transactional security-alert email safe for Outlook Word engine, Gmail 102 KB clip limit, dark mode, and plaintext parity",
6
+ "contextSnapshot": {
7
+ "surface": "Transactional account security alert HTML + plaintext email",
8
+ "platform": "MJML (.mjml -> compiled HTML email + text/plain alternative)",
9
+ "mode": "Communicate",
10
+ "states": ["Apple Mail dark mode", "Outlook Desktop Windows (Word engine)", "Gmail mobile/web under 102 KB", "images blocked by default", "text/plain multipart fallback"],
11
+ "constraints": ["zero display:flex/grid or var(--) in compiled email CSS", "compiled HTML strictly under 102 KB", "explicit color-scheme meta, transparent PNG/alt safety, and complete plaintext companion"]
12
+ },
13
+ "prompt": "Design and build an MJML transactional login-alert email with a companion plaintext template that renders legibly in Apple Mail dark mode and Outlook Desktop, stays well under Gmail's 102 KB clip limit, and keeps critical alert details readable when images are blocked.",
14
+ "expectedRouting": ["pixelcraft-email", "references/mjml.md", "references/client-quirks.md"],
15
+ "forbiddenBehaviors": [
16
+ "uses display: flex, display: grid, position: fixed, or CSS var(--...) custom properties in compiled email styles",
17
+ "puts critical alert text or the primary action solely inside images without meaningful alt text and HTML fallback",
18
+ "exceeds Gmail's 102 KB HTML byte limit or omits role=\"presentation\" on layout tables and lang/title metadata",
19
+ "omits the companion plaintext alternative or claims Outlook/Gmail rendering passed from browser preview alone"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "cross-client MJML and Outlook/Gmail resilience",
24
+ "pass": "uses clean MJML section/column primitives producing table-based HTML under 102 KB, bulletproof CTA buttons, role=\"presentation\", lang/title, and zero Outlook-unsafe CSS",
25
+ "fail": "injects flexbox/CSS variables or bloats compiled HTML past 102 KB"
26
+ },
27
+ {
28
+ "dimension": "dark mode, blocked images, and plaintext parity",
29
+ "pass": "declares color-scheme/supported-color-schemes, maintains readable dark-mode contrast without transparent dark-logo disappearance, provides alt text, and ships a complete plaintext companion with full URLs",
30
+ "fail": "breaks contrast in Apple Mail dark mode or leaves plaintext empty/missing action links"
31
+ },
32
+ {
33
+ "dimension": "honest verification labeling",
34
+ "pass": "runs check-email.mjs (static) and explicitly labels real Outlook/Gmail/Apple Mail client renders as rendered or not-checked",
35
+ "fail": "presents a local Chrome tab screenshot as proof of Outlook Windows compatibility"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "Chrome browser tab only",
41
+ "input": "compiled email HTML looks good in desktop Chrome",
42
+ "mustNot": "claim Outlook Desktop Word-engine rendering or Gmail dark-mode color inversion is rendered-verified"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "writes flexbox/CSS-variable web markup inside email HTML, skips plaintext companion, breaks dark mode logos, and treats Chrome preview as email-client proof",
47
+ "withSkill": "builds resilient MJML + plaintext templates verified statically via check-email.mjs with dark-mode/blocked-image guards and honest client-render labeling"
48
+ }
49
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "email-outlook-and-plaintext",
4
+ "skill": "pixelcraft-email",
5
+ "title": "Build transactional HTML email surviving Classic and New Outlook, Gmail 102 KB clipping, dark mode, and image blocking",
6
+ "contextSnapshot": {
7
+ "surface": "transactional order confirmation and receipt email",
8
+ "platform": "HTML tables / MJML / React Email across Classic Outlook, New Outlook, Gmail, and Apple Mail",
9
+ "mode": "Communicate",
10
+ "states": ["images blocked", "forced dark mode", "plaintext companion", "narrow mobile", "RTL/localized currency"],
11
+ "constraints": ["under 102 KB Gmail clip ceiling", "live text CTA", "role='presentation' layout tables", "RFC 8058 unsubscribe where marketing"]
12
+ },
13
+ "prompt": "Create a transactional order confirmation email in React Email or MJML that survives both Classic Word-engine Outlook and New WebView2 Outlook, Gmail clipping, image blocking, and dark mode.",
14
+ "expectedRouting": ["pixelcraft-email", "references/client-quirks.md", "references/react-email.md", "references/mjml.md"],
15
+ "forbiddenBehaviors": [
16
+ "puts the primary order message or CTA inside an image that vanishes when images are blocked",
17
+ "designs only around Classic Outlook VML while breaking New Outlook WebView2, or omits a real plaintext companion",
18
+ "claims cross-client compatibility from a single browser localhost preview"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "cross-client survival and payload discipline",
23
+ "pass": "addresses Classic vs New Outlook divergence, keeps HTML under 102 KB for Gmail, includes dark-mode meta/inversion guards, and uses role='presentation' + lang/dir",
24
+ "fail": "depends on CSS Grid/variables or single-engine Outlook hacks that break other clients"
25
+ },
26
+ {
27
+ "dimension": "image-off and plaintext parity",
28
+ "pass": "keeps essential details and CTA as live text with concise alt text and generates a structured plaintext variant",
29
+ "fail": "treats plaintext as raw stripped HTML or hides essential info in graphics"
30
+ }
31
+ ],
32
+ "negativeControls": [
33
+ {
34
+ "name": "browser preview pass",
35
+ "input": "the React Email dev preview looks sharp in Chrome",
36
+ "mustNot": "claim Outlook, Gmail dark mode, or image-blocked rendering are verified"
37
+ }
38
+ ],
39
+ "baseline": {
40
+ "withoutSkill": "ships a flexbox/CSS-variable email with image-based banners, ignores New vs Classic Outlook and Gmail 102 KB limits, and skips plaintext parity",
41
+ "withSkill": "builds table-safe MJML/React Email with Classic+New Outlook resilience, 102 KB clipping check, dark-mode/image-off survival, plaintext parity, and honest client labels"
42
+ }
43
+ }