@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,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "plan-grill-me-brainstorm-gate",
4
+ "skill": "pixelcraft-plan",
5
+ "title": "Run an adaptive grill-me decision tree and divergent creative brainstorming gate for an ambiguous greenfield product before coding",
6
+ "contextSnapshot": {
7
+ "surface": "Ambiguous greenfield cross-platform product concept with undecided visual direction",
8
+ "platform": "not yet chosen (candidate mobile/desktop/web evaluated from constraints)",
9
+ "mode": "Experience",
10
+ "states": ["rough product vision", "unresolved architecture branches", "divergent visual directions", "explicit user approval gate"],
11
+ "constraints": ["resolve highest-leverage branch one question at a time via grill-me protocol", "never code before design-direction approval", "generate genuinely far-apart visual concepts with scored trade-offs"]
12
+ },
13
+ "prompt": "I want to build a calm personal field-journal app for botanists and hikers, maybe mobile or desktop, and I want it to feel unforgettable — not like another generic SaaS notes app. Grill me on the key product and design decisions before we write any code.",
14
+ "expectedRouting": ["pixelcraft-plan", "references/grill-me-protocol.md", "pixelcraft-direction", "references/creative-brainstorming.md"],
15
+ "forbiddenBehaviors": [
16
+ "dumps a 20-question intake form all at once instead of traversing the decision tree iteratively with recommendations",
17
+ "skips directly to scaffolding React/Tailwind components before resolving product boundaries and obtaining approval on a selected visual direction",
18
+ "generates three near-identical minimalism/card-grid variations disguised as divergent creative directions",
19
+ "treats an unapproved recommendation as final user sign-off"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "grill-me decision-tree discipline",
24
+ "pass": "summarizes what is already known, asks one high-leverage branch at a time with concrete options + a recommended default + trade-offs, and resolves platform/offline/data constraints before implementation",
25
+ "fail": "front-loads a generic questionnaire or asks framework trivia before product outcomes"
26
+ },
27
+ {
28
+ "dimension": "creative brainstorming divergence",
29
+ "pass": "produces 3-5 genuinely distinct visual/interaction worlds grounded in botanical field notebooks, herbarium specimens, and outdoor usability, scoring each and recording why alternatives lost",
30
+ "fail": "offers superficial color swaps on the same SaaS card layout"
31
+ },
32
+ {
33
+ "dimension": "approval gate integrity",
34
+ "pass": "records user decisions vs assumptions in plan/brief artifacts and waits for explicit direction sign-off before emitting implementation code",
35
+ "fail": "starts generating application code mid-interview without user approval"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "narrow brownfield bugfix with complete spec",
41
+ "input": "Fix the clipped Save button on /settings in this existing SwiftUI app without changing the visual design",
42
+ "mustNot": "trigger a multi-round grill-me interview or creative brainstorming divergence"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "jumps straight into a generic React/Tailwind SaaS notes template or dumps a long unstructured list of questions",
47
+ "withSkill": "executes a focused grill-me decision tree, explores far-apart domain-grounded visual worlds via creative brainstorming, and gates coding on explicit user approval"
48
+ }
49
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "reactive-data-apps",
4
+ "skill": "pixelcraft-data-apps",
5
+ "title": "Select and implement reactive Python data apps (marimo, Solara, Mesop, Taipy) cleanly",
6
+ "contextSnapshot": {
7
+ "surface": "interactive ML evaluation explorer with threshold slider and filtered table",
8
+ "platform": "Python (marimo / Solara / Mesop / Taipy)",
9
+ "mode": "Operate",
10
+ "states": ["debounced slider update", "empty filter result", "expensive query feedback"],
11
+ "constraints": ["no hidden notebook state", "no cross-session global leakage", "debounced heavy queries"]
12
+ },
13
+ "prompt": "Build a reproducible reactive Python data explorer with a confidence threshold slider and results table using marimo or Solara without hidden state or runaway reruns.",
14
+ "expectedRouting": ["pixelcraft-data-apps", "references/reactive-data-apps.md", "pixelcraft-dataviz"],
15
+ "forbiddenBehaviors": [
16
+ "triggers expensive downstream ML/SQL computation on every slider drag tick without debounce=True",
17
+ "stores per-user filter state in mutable module-level globals shared across concurrent sessions",
18
+ "leaves empty filter results blank with no explanation"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "framework fit",
23
+ "pass": "selects marimo (DAG notebooks/apps), Solara (React-like ipywidgets), Mesop (typed Python Material UI), or Taipy (scenario pipelines) appropriately",
24
+ "fail": "ignores rerun/DAG semantics or picks a mismatched framework"
25
+ },
26
+ {
27
+ "dimension": "reactive execution hygiene",
28
+ "pass": "uses debounce=True on expensive sliders, keeps cells/components free of cross-session globals, and separates marimo edit vs run",
29
+ "fail": "fires unthrottled heavy queries or mutates shared globals"
30
+ },
31
+ {
32
+ "dimension": "data UX clarity",
33
+ "pass": "links controls, freshness, and empty/error states visibly",
34
+ "fail": "shows silent blank outputs on empty filters or failures"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "undebounced expensive slider",
40
+ "input": "create mo.ui.slider(0, 1, 0.01) feeding a 3-second SQL query without debounce=True",
41
+ "mustNot": "omit debounce=True when a slider drives expensive downstream computation"
42
+ },
43
+ {
44
+ "name": "shared module global state",
45
+ "input": "store selected_rows = [] in a global list mutated by multiple Mesop/Solara users",
46
+ "mustNot": "approve mutable module-level globals for per-user session state"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "triggers expensive recomputes on every drag tick, leaks globals across sessions, and omits empty states",
51
+ "withSkill": "uses marimo DAG cells with debounce=True or scoped Solara/Mesop state with explicit empty/error/freshness UX"
52
+ }
53
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "review-evidence-audit",
4
+ "skill": "pixelcraft-review",
5
+ "title": "Separate P0 floor defects from polish and enforce evidence labels and brand waivers during UI review",
6
+ "contextSnapshot": {
7
+ "surface": "production B2B billing and onboarding flow audit",
8
+ "platform": "multi-platform (web + desktop)",
9
+ "mode": "Operate",
10
+ "states": ["validation error", "keyboard-only focus", "empty state", "reduced motion", "approved brand waiver"],
11
+ "constraints": ["severity ranked P0-P3", "every claim carries an evidence label", "zero scanner score is not proof of quality"]
12
+ },
13
+ "prompt": "Audit this billing checkout flow in audit mode: rank P0-P3 findings with file:line evidence, preserve approved brand palette decisions, and report unchecked runtime checks honestly.",
14
+ "expectedRouting": ["pixelcraft-review", "references/critique-protocol.md", "references/heuristics.md", "references/audit-report.md"],
15
+ "forbiddenBehaviors": [
16
+ "declares the UI high quality or accessible solely because slop-scan.mjs returned score 0",
17
+ "mixes cosmetic taste preferences with P0 accessibility/state failures or overrides an approved brand choice without flagging",
18
+ "claims keyboard focus or contrast was rendered-verified when only static source files were read"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "severity triage and authority discipline",
23
+ "pass": "separates P0/P1 floor defects from P2/P3 polish, respects documented brand waivers, and provides concrete file:line fixes",
24
+ "fail": "buries P0 focus/paste/contrast failures under subjective style advice"
25
+ },
26
+ {
27
+ "dimension": "evidence honesty",
28
+ "pass": "labels source findings static, heuristic hypotheses model-judgment, and unrun browser/screen-reader checks not-checked",
29
+ "fail": "presents static inspection or zero slop-scan output as rendered proof"
30
+ }
31
+ ],
32
+ "negativeControls": [
33
+ {
34
+ "name": "slop-scan zero score",
35
+ "input": "slop-scan.mjs exits with score 0 and zero findings",
36
+ "mustNot": "conclude the interface passes accessibility, UX, or visual quality review"
37
+ }
38
+ ],
39
+ "baseline": {
40
+ "withoutSkill": "gives a flat list of subjective visual suggestions without severity ranking, mixes static guesses with rendered claims, and treats a clean lint/scan run as a pass",
41
+ "withSkill": "produces a severity-ranked P0-P3 audit with file:line citations, persona/heuristic gaps, preserved waivers, and explicit static vs rendered vs not-checked labels"
42
+ }
43
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "rich-text-and-code-editors",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Select and implement rich-text, code editor, and visual page builder engines safely",
6
+ "contextSnapshot": {
7
+ "surface": "collaborative knowledge base with embedded code blocks and page builder",
8
+ "platform": "Next.js App Router + TypeScript",
9
+ "mode": "Operate",
10
+ "states": ["SSR hydration", "collaborative editing", "dynamic theme switch", "keyboard focus escape"],
11
+ "constraints": ["no SSR hydration mismatch", "lightweight mobile code editing", "WCAG 2.1.2 no keyboard trap"]
12
+ },
13
+ "prompt": "Architect a collaborative rich-text document editor and embedded code editor for our Next.js app without SSR mismatches, history conflicts, or keyboard traps.",
14
+ "expectedRouting": ["pixelcraft-web", "references/rich-text-and-code-editors.md", "pixelcraft-accessibility"],
15
+ "forbiddenBehaviors": [
16
+ "builds a rich-text editor on raw contenteditable and document.execCommand",
17
+ "leaves Tiptap StarterKit undoRedo enabled alongside Yjs Collaboration or omits immediatelyRender: false in SSR",
18
+ "destroys and recreates CodeMirror 6 EditorView on theme/tabSize prop changes instead of using Compartment.reconfigure()"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "editor engine selection",
23
+ "pass": "selects Tiptap/ProseMirror or Lexical for rich text and CodeMirror 6 (lightweight/mobile) vs lazy-loaded Monaco (IDE) with clear trade-offs",
24
+ "fail": "recommends raw contenteditable or bundles Monaco synchronously for mobile/small inputs"
25
+ },
26
+ {
27
+ "dimension": "SSR and lifecycle correctness",
28
+ "pass": "sets immediatelyRender: false and disables StarterKit undoRedo for Yjs in Tiptap, or uses CodeMirror 6 Compartment + destroy cleanup",
29
+ "fail": "causes SSR hydration mismatches, history conflicts, or memory leaks on unmount"
30
+ },
31
+ {
32
+ "dimension": "editor accessibility and XSS safety",
33
+ "pass": "provides accessible label, role=toolbar roving focus, Tab keyboard escape hatch, IME safety, and sanitized/JSON persistence",
34
+ "fail": "traps Tab focus or renders unsanitized editor HTML"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "tiptap ssr and collaboration bug",
40
+ "input": "use useEditor({ extensions: [StarterKit, Collaboration] }) directly in Next.js without immediatelyRender: false or undoRedo: false",
41
+ "mustNot": "approve Tiptap SSR/collaboration config missing immediatelyRender: false and undoRedo: false"
42
+ },
43
+ {
44
+ "name": "codemirror view recreation",
45
+ "input": "destroy and recreate new EditorView inside useEffect whenever theme changes",
46
+ "mustNot": "recommend recreating EditorView instead of Compartment.reconfigure()"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "wires raw contenteditable or misconfigures Tiptap SSR/collaboration, recreates CodeMirror on prop updates, and traps keyboard Tab focus",
51
+ "withSkill": "selects right-sized editor engines with SSR-safe lifecycle, Compartment reconfiguration, Yjs history isolation, and WCAG keyboard/IME compliance"
52
+ }
53
+ }
@@ -0,0 +1,70 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "scrollytelling-resilience",
4
+ "skill": "pixelcraft-patterns",
5
+ "title": "Narrative survives skipped and reversed scroll",
6
+ "contextSnapshot": {
7
+ "surface": "long-form interactive story",
8
+ "platform": "responsive browser",
9
+ "mode": "Experience",
10
+ "states": [
11
+ "direct chapter link",
12
+ "reverse scroll",
13
+ "fast scroll",
14
+ "keyboard",
15
+ "touch",
16
+ "reduced motion"
17
+ ],
18
+ "constraints": [
19
+ "normal browser history",
20
+ "short viewport",
21
+ "mobile alternative"
22
+ ]
23
+ },
24
+ "prompt": "Build a four-chapter story with a pinned scene on wide desktop and static sequential reading elsewhere.",
25
+ "expectedRouting": [
26
+ "pixelcraft-patterns",
27
+ "pixelcraft-craft",
28
+ "pixelcraft-web",
29
+ "pixelcraft-accessibility"
30
+ ],
31
+ "forbiddenBehaviors": [
32
+ "wheel hijacking",
33
+ "hidden content tied to exact pixels",
34
+ "broken direct links",
35
+ "forced auto-advance"
36
+ ],
37
+ "rubricDimensions": [
38
+ {
39
+ "dimension": "story structure",
40
+ "pass": "writes a linear content outline and chapter model before animation",
41
+ "fail": "motion defines the only content order"
42
+ },
43
+ {
44
+ "dimension": "navigation",
45
+ "pass": "supports anchors, history, reverse/fast scroll and scrollbar drag",
46
+ "fail": "requires exact scroll positions"
47
+ },
48
+ {
49
+ "dimension": "adaptation",
50
+ "pass": "uses readable mobile and reduced-motion equivalent",
51
+ "fail": "shrinks pinned scene until controls are obscured"
52
+ }
53
+ ],
54
+ "negativeControls": [
55
+ {
56
+ "name": "missed chapter",
57
+ "input": "User jumps past two chapters",
58
+ "mustNot": "leave essential content permanently hidden"
59
+ },
60
+ {
61
+ "name": "short viewport",
62
+ "input": "Viewport height is 500px",
63
+ "mustNot": "allow pinned scene to cover narrative or focus"
64
+ }
65
+ ],
66
+ "baseline": {
67
+ "withoutSkill": "builds a scroll-jacked demo",
68
+ "withSkill": "provides navigable chapters, static story and tested scroll behavior"
69
+ }
70
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "spatial-xr-comfort-and-platforms",
4
+ "skill": "pixelcraft-spatial",
5
+ "title": "Design embodied visionOS, Android XR, Horizon OS, and WebXR interfaces with comfort, ergonomics, and gaze privacy",
6
+ "contextSnapshot": {
7
+ "surface": "mixed-reality spatial architectural inspection workspace",
8
+ "platform": "visionOS 2/26 / Android XR (Compose for XR) / Meta Horizon OS / WebXR",
9
+ "mode": "Experience",
10
+ "states": ["seated and standing modes", "tracking loss recovery", "passthrough occlusion", "low-motion comfort setting", "gaze/hand hover feedback"],
11
+ "constraints": ["no involuntary camera motion", "comfortable viewing distance and angular text size", "gaze/room privacy disclosure", "headset verification required"]
12
+ },
13
+ "prompt": "Design a mixed-reality workspace for inspecting architectural models across visionOS and Android XR, covering ornaments/orbiters, depth ergonomics, locomotion comfort, and spatial accessibility.",
14
+ "expectedRouting": ["pixelcraft-spatial", "references/platforms.md", "references/comfort-accessibility.md"],
15
+ "forbiddenBehaviors": [
16
+ "forces involuntary camera movement or omits seated/low-motion comfort alternatives",
17
+ "transplants a miniature flat desktop dashboard into space without angular legibility, hover/pinch feedback, or depth hierarchy",
18
+ "claims comfort, stereo convergence, or frame stability are verified from a 2D desktop simulator screenshot"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "embodied platform idioms",
23
+ "pass": "uses native spatial primitives (visionOS ornaments/volumes/SpatialLayout, Android XR Subspace/SpatialPanel/Orbiter, Horizon OS MRUK, or @react-three/xr v6 + WebXR Layers)",
24
+ "fail": "places flat unergonomic panes randomly in space or conflates ordinary browser 3D with embodied XR"
25
+ },
26
+ {
27
+ "dimension": "comfort, privacy, and spatial accessibility",
28
+ "pass": "calculates viewing distance/angular size, preserves user camera control, discloses gaze/passthrough/room telemetry minimization, and provides seated/one-handed/reduced-motion alternatives",
29
+ "fail": "ignores motion sickness, frame headroom, gaze privacy, or non-head-aimed accessibility"
30
+ }
31
+ ],
32
+ "negativeControls": [
33
+ {
34
+ "name": "2d simulator screenshot",
35
+ "input": "the scene renders cleanly in Xcode visionOS Simulator or desktop Chrome",
36
+ "mustNot": "declare XR comfort, stereo depth convergence, input fatigue, or headset frame pacing verified"
37
+ }
38
+ ],
39
+ "baseline": {
40
+ "withoutSkill": "floats glass panels across a wide FOV with tiny text, ignores Android XR and comfort controls, and treats simulator screenshots as headset proof",
41
+ "withSkill": "applies native spatial primitives, ergonomic viewing envelopes, locomotion/comfort settings, gaze/room privacy guardrails, and honest headset not-checked labels"
42
+ }
43
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "state-architecture",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Separate state layers instead of using one global store",
6
+ "contextSnapshot": {
7
+ "surface": "collaborative issue tracker and analytics workspace",
8
+ "platform": "Next.js App Router + React 19",
9
+ "mode": "Operate",
10
+ "states": ["URL-synced filters", "optimistic mutations", "offline draft recovery", "SSR hydration"],
11
+ "constraints": ["shareable filter links", "zero cross-request SSR state leaks", "multi-step retry workflow"]
12
+ },
13
+ "prompt": "Architect the frontend state layers for our Next.js issue tracker (filters, API data with optimistic updates, sidebar UI, multi-step upload workflow, and offline drafts).",
14
+ "expectedRouting": ["pixelcraft-web", "references/state-architecture.md"],
15
+ "forbiddenBehaviors": [
16
+ "puts API cache, URL filters, and local UI toggles into one global Redux or Zustand store",
17
+ "uses a global module-level Zustand singleton during SSR without per-request isolation",
18
+ "stores megabytes of offline drafts synchronously in localStorage"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "state layer separation",
23
+ "pass": "assigns URL filters, server cache, client UI, workflow state, and offline storage to distinct appropriate layers",
24
+ "fail": "collapses all state into a single global store"
25
+ },
26
+ {
27
+ "dimension": "optimistic mutation safety",
28
+ "pass": "cancels in-flight queries, snapshots previous cache, rolls back on error, and invalidates on settled",
29
+ "fail": "mutates cache without cancelQueries or rollback path"
30
+ },
31
+ {
32
+ "dimension": "ssr and persistence safety",
33
+ "pass": "isolates client stores per request in SSR and uses IndexedDB/Dexie with versioned upgrades for offline drafts",
34
+ "fail": "leaks singleton store across SSR requests or puts large drafts in localStorage"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "server data in zustand",
40
+ "input": "fetch issues in useEffect and store them in a global Zustand slice",
41
+ "mustNot": "recommend manual useEffect + global store caching over server-state cache libraries"
42
+ },
43
+ {
44
+ "name": "dexie version edit",
45
+ "input": "modify an already-shipped Dexie db.version(1).upgrade callback in place",
46
+ "mustNot": "approve mutating a shipped version with an upgrader instead of adding version(2)"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "dumps API entities, URL filters, and UI toggles into one global store and overlooks SSR singleton leaks",
51
+ "withSkill": "partitions state across URL (nuqs), server cache (TanStack Query), per-request client store (Zustand), workflow (XState v5), and IndexedDB (Dexie)"
52
+ }
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "styling-ecosystem",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Select and implement build-time styling, atomic compilers, and variant APIs safely",
6
+ "contextSnapshot": {
7
+ "surface": "multi-brand design system and Next.js App Router product UI",
8
+ "platform": "Next.js App Router (RSC) + TypeScript",
9
+ "mode": "Operate",
10
+ "states": ["light/dark themes", "multi-slot component variants", "dynamic accent overrides"],
11
+ "constraints": ["RSC-compatible zero-runtime CSS", "deterministic class overrides", "no silent static-extraction failures"]
12
+ },
13
+ "prompt": "Choose a zero-runtime styling and variant architecture for our multi-brand Next.js App Router design system, avoiding RSC pitfalls and silent CSS extraction failures.",
14
+ "expectedRouting": ["pixelcraft-web", "references/styling-ecosystem.md", "pixelcraft-tokens"],
15
+ "forbiddenBehaviors": [
16
+ "recommends runtime Emotion or styled-components for greenfield React Server Components without flagging RSC and SSR overhead",
17
+ "passes runtime template literals or object spreads into Panda CSS css() calls",
18
+ "mixes default exports or components into StyleX *.stylex.ts defineVars files"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "styling model and RSC fit",
23
+ "pass": "selects a build-time RSC-safe model (CSS Modules, Tailwind v4, Panda CSS, vanilla-extract, StyleX, or UnoCSS) and explains theme contract trade-offs",
24
+ "fail": "defaults to runtime CSS-in-JS for RSC or stacks competing styling frameworks without @layer migration boundaries"
25
+ },
26
+ {
27
+ "dimension": "static extraction correctness",
28
+ "pass": "respects tool-specific compiler constraints (Panda literal tokens/sva/staticCss, vanilla-extract createThemeContract/assignInlineVars, StyleX *.stylex.ts named-only exports, UnoCSS safelist)",
29
+ "fail": "writes dynamic expressions that emit class names with no generated CSS"
30
+ },
31
+ {
32
+ "dimension": "variant conflict handling",
33
+ "pass": "uses typed variant APIs (CVA + tailwind-merge, tailwind-variants tv/slots, Panda sva, or vanilla-extract recipes) with deterministic override behavior",
34
+ "fail": "concatenates conflicting utility classes without merge resolution"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "panda dynamic template literal",
40
+ "input": "use css({ color: `red.${shade}` }) in Panda CSS",
41
+ "mustNot": "approve dynamic template literals inside Panda css() calls"
42
+ },
43
+ {
44
+ "name": "stylex invalid token file exports",
45
+ "input": "export default colors and a React component from tokens.stylex.ts",
46
+ "mustNot": "allow default exports or non-var exports inside *.stylex.ts files"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "picks runtime CSS-in-JS in RSC or writes dynamic Panda/UnoCSS strings that silently drop CSS in production",
51
+ "withSkill": "chooses an RSC-safe build-time styling system, follows static extraction and theme-contract rules, and resolves variant overrides deterministically"
52
+ }
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "token-tooling",
4
+ "skill": "pixelcraft-tokens",
5
+ "title": "Configure Style Dictionary v4, Tokens Studio, and Figma Code Connect pipelines cleanly",
6
+ "contextSnapshot": {
7
+ "surface": "cross-platform design system synced between Figma and Web/iOS/Android",
8
+ "platform": "Style Dictionary v4 + Figma Code Connect",
9
+ "mode": "Operate",
10
+ "states": ["DTCG token build", "semantic CSS var references", "Code Connect prop mapping", "CI drift check"],
11
+ "constraints": ["pure DTCG $value/$type format", "preserve semantic references in CSS", "generated artifacts never hand-edited"]
12
+ },
13
+ "prompt": "Set up a Style Dictionary v4 build pipeline for DTCG tokens with semantic CSS references and Figma Code Connect mappings for our Button component.",
14
+ "expectedRouting": ["pixelcraft-tokens", "references/token-tooling.md", "references/format.md"],
15
+ "forbiddenBehaviors": [
16
+ "mixes legacy value/type and DTCG $value/$type tokens in the same Style Dictionary v4 instance",
17
+ "hand-edits generated dist/tokens.css output instead of source token JSON",
18
+ "flattens semantic CSS variables without outputReferences when runtime theme switching is needed"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "Style Dictionary v4 configuration",
23
+ "pass": "uses consistent DTCG $value/$type (usesDtcg: true), outputReferences for semantic CSS var chains, and @tokens-studio/sd-transforms when using Tokens Studio",
24
+ "fail": "mixes DTCG and legacy token formats or loses semantic variable references"
25
+ },
26
+ {
27
+ "dimension": "Figma Code Connect accuracy",
28
+ "pass": "maps Figma properties via figma.connect with figma.enum/boolean/string/children to real component props and validates in CI",
29
+ "fail": "hardcodes static non-mapped snippets or omits CI validation"
30
+ },
31
+ {
32
+ "dimension": "artifact governance",
33
+ "pass": "treats compiled platform files as generated build outputs and validates references in CI",
34
+ "fail": "instructs developers to patch generated CSS/Swift/Kotlin token files manually"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "mixed dtcg and legacy tokens",
40
+ "input": "put both $value and legacy value keys inside the same Style Dictionary v4 config",
41
+ "mustNot": "approve mixing legacy value/type and DTCG $value/$type in one Style Dictionary v4 instance"
42
+ },
43
+ {
44
+ "name": "manual edit of generated tokens",
45
+ "input": "edit dist/tokens.css directly to tweak the dark mode accent color",
46
+ "mustNot": "recommend hand-editing generated token build outputs"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "mixes DTCG/legacy token syntax, flattens CSS references, and omits Code Connect CI checks",
51
+ "withSkill": "configures pure DTCG Style Dictionary v4 with outputReferences, typed Figma Code Connect mappings, and CI validation"
52
+ }
53
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "tui-go-bubbletea",
4
+ "skill": "pixelcraft-tui",
5
+ "title": "Build a Go Bubble Tea + Lip Gloss interactive database migration TUI with WindowSizeMsg responsiveness and non-TTY fallback",
6
+ "contextSnapshot": {
7
+ "surface": "CLI/TUI interactive schema migration runner",
8
+ "platform": "Go / Bubble Tea + Lip Gloss + Bubbles",
9
+ "mode": "Operate",
10
+ "states": ["pending migrations list", "destructive confirmation prompt", "running progress", "migration error with rollback hint", "non-TTY CI pipe"],
11
+ "constraints": ["handle tea.WindowSizeMsg dynamically", "respect NO_COLOR and non-TTY stdout", "explicit non-destructive default on confirmation"]
12
+ },
13
+ "prompt": "Design and build a Go Bubble Tea + Lip Gloss TUI for inspecting and applying database migrations, including a confirmation guard for destructive steps, dynamic resize handling via WindowSizeMsg, and clean non-TTY fallback for CI logs.",
14
+ "expectedRouting": ["pixelcraft-tui", "references/bubbletea-lipgloss.md", "references/terminal-protocols.md"],
15
+ "forbiddenBehaviors": [
16
+ "blocks Update() with synchronous database I/O instead of returning tea.Cmd messages",
17
+ "ignores tea.WindowSizeMsg or overflows 80-column terminals with fixed Lip Gloss box widths",
18
+ "launches interactive alt-screen UI when stdout is not a TTY or leaks ANSI escape sequences under NO_COLOR=1",
19
+ "defaults destructive confirmation to Yes on Enter"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "Elm-architecture Bubble Tea purity and resize handling",
24
+ "pass": "keeps Update() non-blocking via tea.Cmd, recomputes Lip Gloss widths/viewports on tea.WindowSizeMsg, and degrades cleanly at 80x24",
25
+ "fail": "freezes input during I/O or renders broken wrapped borders on narrow terminals"
26
+ },
27
+ {
28
+ "dimension": "CI pipe, NO_COLOR, and safety ergonomics",
29
+ "pass": "detects non-TTY stdout for plain summary output, honors NO_COLOR via Lip Gloss/termenv, and defaults destructive confirmation to cancel with Esc/q support",
30
+ "fail": "hangs waiting for TTY input in CI or uses color-only migration status"
31
+ },
32
+ {
33
+ "dimension": "evidence discipline",
34
+ "pass": "verifies View() output at 80x24 and NO_COLOR pipe output via tests/check-tui and labels interactive terminal checks honestly",
35
+ "fail": "claims terminal UX passes from go build alone"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "go build without View tests",
41
+ "input": "go build ./... compiles cleanly",
42
+ "mustNot": "claim 80-column Lip Gloss rendering or NO_COLOR pipe hygiene is verified"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "hardcodes fixed Lip Gloss widths, runs blocking queries inside Update(), and breaks when piped in CI",
47
+ "withSkill": "implements non-blocking tea.Cmd flows, responsive WindowSizeMsg layout, safe destructive confirmation, NO_COLOR/non-TTY fallback, and verified evidence"
48
+ }
49
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "tui-rust-ratatui-grapheme-paste-teardown",
4
+ "skill": "pixelcraft-tui",
5
+ "title": "Build a Rust Ratatui SSH log inspector with UAX #29 grapheme widths, DECSET 2004 bracketed paste, OSC 52 copy, and 6-step panic teardown",
6
+ "contextSnapshot": {
7
+ "surface": "Interactive terminal log inspector and filter prompt over SSH/tmux",
8
+ "platform": "Rust Ratatui + Crossterm",
9
+ "mode": "Explore",
10
+ "states": ["80x24 split pane", "multilingual CJK + Vietnamese diacritics + ZWJ emoji log lines", "multi-line filter paste", "OSC 52 remote clipboard copy", "piped --json | head -n 5 non-TTY mode", "panic/SIGINT teardown"],
11
+ "constraints": ["UAX #29 grapheme-cluster width calculation", "DECSET 2004 bracketed paste enabled", "clean SIGPIPE / EPIPE exit when piped", "complete 6-step terminal mode restoration on panic and signals"]
12
+ },
13
+ "prompt": "Create a Rust Ratatui log inspector used over SSH and tmux that renders multilingual logs (Vietnamese diacritics, Japanese CJK, ZWJ emoji), accepts pasted multi-line filter queries safely, copies selected entries to the local laptop clipboard, supports --json | head piping cleanly, and never corrupts the parent shell on crash or Ctrl-C.",
14
+ "expectedRouting": ["pixelcraft-tui", "references/ratatui.md", "references/terminal-protocols.md"],
15
+ "forbiddenBehaviors": [
16
+ "computes column widths with str::len() or chars().count() so CJK, ZWJ emoji, VS16, or NFD Vietnamese diacritics misalign table borders",
17
+ "leaves DECSET 2004 bracketed paste disabled so pasting multi-line text triggers premature Enter submissions",
18
+ "prints TUI ANSI chrome to piped stdout or panics with BrokenPipe on `| head -n 5`",
19
+ "restores only alternate screen on normal exit while leaking mouse tracking, bracketed paste, Kitty keyboard, or hidden cursor on panic"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "Unicode grapheme geometry and paste/clipboard protocols",
24
+ "pass": "uses unicode-segmentation + unicode-width for UAX #29 grapheme column widths (plus --ascii fallback), enables DECSET 2004 bracketed paste, and emits OSC 52 clipboard sequences for SSH/tmux",
25
+ "fail": "counts bytes/code points, executes pasted newlines as Enter submits, or assumes local X11/Wayland clipboard access over SSH"
26
+ },
27
+ {
28
+ "dimension": "stream separation, SIGPIPE resilience, and 6-step teardown",
29
+ "pass": "routes interactive UI to TTY/stderr while keeping --json pure on stdout, exits 0/cleanly on BrokenPipe, and installs a panic + signal hook restoring ?1049l, mouse modes, ?2004l, ?2026l, Kitty keyboard, ?25h, and raw mode",
30
+ "fail": "pollutes piped stdout with ANSI codes, prints a panic backtrace on SIGPIPE, or leaves the user's shell unusable after a crash"
31
+ }
32
+ ],
33
+ "negativeControls": [
34
+ {
35
+ "name": "ASCII-only local terminal run",
36
+ "input": "cargo build succeeds and ASCII English log lines align at 120x40",
37
+ "mustNot": "claim terminal safety without verifying CJK/ZWJ/diacritic widths, bracketed paste, NO_COLOR/pipe behavior via check-tui.mjs, and panic teardown"
38
+ }
39
+ ],
40
+ "baseline": {
41
+ "withoutSkill": "uses chars().count() breaking CJK/emoji borders, submits on pasted newlines, fails over SSH clipboard, panics on | head, and leaks raw/mouse modes on panic",
42
+ "withSkill": "ships a resilient Ratatui inspector with UAX #29 grapheme alignment, DECSET 2004 paste safety, OSC 52 copy, clean pipe/NO_COLOR behavior, and 6-step panic teardown"
43
+ }
44
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "tui-rust-ratatui",
4
+ "skill": "pixelcraft-tui",
5
+ "title": "Build a Rust Ratatui deployment monitor TUI with 80x24 layout adaptation, NO_COLOR support, and panic-safe terminal restore",
6
+ "contextSnapshot": {
7
+ "surface": "Terminal deployment pipeline monitor and log viewer",
8
+ "platform": "Rust / Ratatui + Crossterm",
9
+ "mode": "Operate",
10
+ "states": ["80x24 narrow terminal", "160x48 wide split view", "NO_COLOR=1 monochrome", "stream disconnect error", "panic/SIGINT teardown"],
11
+ "constraints": ["keyboard-only traversal with visible key legend", "clean raw-mode and alternate-screen restoration on panic", "no ANSI leakage when piped or NO_COLOR=1"]
12
+ },
13
+ "prompt": "Build a Rust Ratatui terminal monitor for active deployments with a service list, live log pane, and filter bar that adapts cleanly at 80x24, respects NO_COLOR=1, and guarantees raw-mode restoration on panic or Ctrl-C.",
14
+ "expectedRouting": ["pixelcraft-tui", "references/ratatui.md", "references/terminal-protocols.md"],
15
+ "forbiddenBehaviors": [
16
+ "enters raw mode or alternate screen without installing a panic hook and Drop guard to restore the terminal",
17
+ "hardcodes 120-column widths that clip or panic on an 80x24 terminal",
18
+ "relies on color alone for healthy/degraded/failed status without text or ASCII symbol cues, or emits ANSI codes under NO_COLOR=1",
19
+ "claims 80x24 layout passes from cargo check alone"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "Ratatui architecture and responsive terminal constraints",
24
+ "pass": "uses Constraint-based layout collapsing side-by-side panes to tabbed/stacked mode at <= 80 cols and maintains a clear focus indicator and keybinding bar",
25
+ "fail": "hardcodes column widths or truncates primary status without indication"
26
+ },
27
+ {
28
+ "dimension": "terminal hygiene and NO_COLOR resilience",
29
+ "pass": "restores terminal state on normal exit, SIGINT, and panic hook; honors NO_COLOR=1 and non-TTY stdout fallback cleanly",
30
+ "fail": "leaves the user's shell trapped in raw mode on panic or emits raw ANSI escapes when piped"
31
+ },
32
+ {
33
+ "dimension": "verification rigor",
34
+ "pass": "uses Ratatui TestBackend buffer assertions and/or check-tui NO_COLOR verification with explicit evidence labels",
35
+ "fail": "treats cargo build as visual verification of 80x24 rendering"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "cargo check only",
41
+ "input": "cargo check passes with zero warnings",
42
+ "mustNot": "claim 80x24 rendering, NO_COLOR output, or panic restore is rendered-verified"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "hardcodes wide split columns, uses color-only dots, ignores NO_COLOR, and omits panic-hook terminal teardown",
47
+ "withSkill": "builds an adaptive Ratatui TUI with panic-safe restore, NO_COLOR non-color cues, 80x24 layout collapse, and TestBackend/check-tui evidence"
48
+ }
49
+ }