@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": "enterprise-data-ui",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Select and implement enterprise data grids, virtualization, spreadsheets, and schedulers",
6
+ "contextSnapshot": {
7
+ "surface": "enterprise operations console with 50k-row order grid and resource scheduling calendar",
8
+ "platform": "React + TypeScript",
9
+ "mode": "Operate",
10
+ "states": ["server-side sort/paginate", "dynamic virtualized rows", "realtime row updates", "named timezone schedule"],
11
+ "constraints": ["60fps scrolling", "WCAG virtualized table ARIA counts", "tree-shaken AG Grid v33 modules"]
12
+ },
13
+ "prompt": "Architect a 50,000-row virtualized data grid with server-side pagination and a timezone-aware scheduling calendar for our operations console.",
14
+ "expectedRouting": ["pixelcraft-web", "references/enterprise-data-ui.md", "pixelcraft-accessibility"],
15
+ "forbiddenBehaviors": [
16
+ "renders all 50,000 rows into the DOM without virtualization or server pagination",
17
+ "omits getRowId so selection/updates key by row index",
18
+ "omits aria-rowcount and aria-rowindex on virtualized tables"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "table and grid architecture",
23
+ "pass": "chooses TanStack Table v8 + TanStack Virtual v3 or AG Grid v33+ (with granular ModuleRegistry and getRowId) and wires manual server-side sorting/pagination cleanly",
24
+ "fail": "mounts unvirtualized 50k DOM rows or uses index-based row identity"
25
+ },
26
+ {
27
+ "dimension": "virtualization and accessibility",
28
+ "pass": "attaches data-index + measureElement for dynamic rows, sets aria-rowcount/aria-rowindex, and uses tabular-nums for numeric columns",
29
+ "fail": "breaks variable row heights or hides dataset size from screen readers"
30
+ },
31
+ {
32
+ "dimension": "calendar timezone and interaction safety",
33
+ "pass": "configures explicit timeZone, uses dateStr/UTC safely, and provides an accessible list/agenda view and click-based editing alternative",
34
+ "fail": "relies on browser-local Date.toString() for named timezones or ships drag-only rescheduling"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "unvirtualized 50k table",
40
+ "input": "map all 50,000 records directly to <tr> elements in React",
41
+ "mustNot": "approve rendering tens of thousands of unvirtualized DOM rows"
42
+ },
43
+ {
44
+ "name": "missing virtualizer data-index",
45
+ "input": "pass ref={virtualizer.measureElement} without data-index={virtualRow.index}",
46
+ "mustNot": "omit data-index when using TanStack Virtual dynamic measureElement"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "renders unvirtualized rows or misconfigures AG Grid v33 modules/theming, omits getRowId and virtual ARIA counts, and mishandles calendar timezones",
51
+ "withSkill": "selects TanStack Table/Virtual or tree-shaken AG Grid v33 with stable getRowId, dynamic measureElement, virtual ARIA semantics, and timezone-safe scheduling"
52
+ }
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "extended-tui-toolkits",
4
+ "skill": "pixelcraft-tui",
5
+ "title": "Build safe .NET Spectre.Console / Terminal.Gui and Python prompt_toolkit interfaces",
6
+ "contextSnapshot": {
7
+ "surface": ".NET CLI status tool with dynamic error messages and Python interactive REPL",
8
+ "platform": ".NET (Spectre.Console / Terminal.Gui) and Python (prompt_toolkit)",
9
+ "mode": "Operate",
10
+ "states": ["dynamic bracketed strings", "background log output during prompt", "non-interactive CI pipe"],
11
+ "constraints": ["no Spectre markup crash on brackets", "clean prompt_stdout patching", "NO_COLOR and piped fallback"]
12
+ },
13
+ "prompt": "Implement a Spectre.Console CLI displaying dynamic user config keys and a Python prompt_toolkit REPL with history and background logs that degrade cleanly in CI.",
14
+ "expectedRouting": ["pixelcraft-tui", "references/extended-tui-toolkits.md"],
15
+ "forbiddenBehaviors": [
16
+ "interpolates unescaped dynamic strings containing square brackets into AnsiConsole.MarkupLine",
17
+ "prints background logs directly to stdout during a prompt_toolkit session without patch_stdout()",
18
+ "hangs piped non-interactive CI runs on an interactive prompt or full-screen TUI"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "Spectre.Console markup safety",
23
+ "pass": "escapes dynamic content via Markup.Escape() or MarkupLineInterpolated() and checks interactive capabilities for prompts",
24
+ "fail": "passes raw interpolated strings into MarkupLine where [brackets] throw runtime exceptions"
25
+ },
26
+ {
27
+ "dimension": "prompt_toolkit REPL ergonomics",
28
+ "pass": "uses PromptSession with FileHistory/Completer and wraps background output in patch_stdout()",
29
+ "fail": "corrupts the prompt line with raw print() calls or loses history"
30
+ },
31
+ {
32
+ "dimension": "CI and terminal resilience",
33
+ "pass": "handles NO_COLOR, narrow 80x24 terminals, and non-TTY piped execution cleanly",
34
+ "fail": "forces alternate-screen mode or interactive prompts in non-TTY pipes"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "unescaped spectre markup",
40
+ "input": "write AnsiConsole.MarkupLine($\"[red]Error:[/] {exceptionMessage}\") without Markup.Escape",
41
+ "mustNot": "approve unescaped dynamic interpolation inside AnsiConsole.MarkupLine"
42
+ },
43
+ {
44
+ "name": "unpatched prompt_toolkit stdout",
45
+ "input": "call print() from an async task while session.prompt() is active without patch_stdout()",
46
+ "mustNot": "omit patch_stdout() when logging asynchronously during a prompt_toolkit prompt"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "crashes Spectre.Console on bracketed error text, corrupts prompt_toolkit lines with raw print(), and hangs in CI pipes",
51
+ "withSkill": "uses Markup.Escape/MarkupLineInterpolated, prompt_toolkit patch_stdout + FileHistory, and non-interactive CI fallbacks"
52
+ }
53
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "extensions-mv3-and-vscode",
4
+ "skill": "pixelcraft-extensions",
5
+ "title": "Isolate MV3 content-script Shadow DOM UI and secure VS Code webviews without deprecated toolkits",
6
+ "contextSnapshot": {
7
+ "surface": "Manifest V3 browser extension side panel + content-script overlay, and VS Code webview panel",
8
+ "platform": "Chrome/Firefox MV3 (WXT) and VS Code Extension API",
9
+ "mode": "Operate",
10
+ "states": ["host permission denied", "service worker suspend/resume", "host dark/high-contrast switch", "untrusted workspace"],
11
+ "constraints": ["strict CSP with nonce", "Shadow DOM CSS and rem isolation", "no archived @vscode/webview-ui-toolkit", "minimal host permissions"]
12
+ },
13
+ "prompt": "Build a Manifest V3 browser extension with a side panel and page-annotation overlay plus a companion VS Code webview inspector that adapts to host themes and strict CSP.",
14
+ "expectedRouting": ["pixelcraft-extensions", "references/browser-extensions.md", "references/vscode-webviews.md"],
15
+ "forbiddenBehaviors": [
16
+ "requests <all_urls> host permissions by default or stores durable state in popup/service-worker memory",
17
+ "recommends archived @vscode/webview-ui-toolkit or injects unsafe-inline remote scripts into webview CSP",
18
+ "injects unisolated CSS into host pages or ignores Shadow DOM rem inheritance from host html font-size"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "MV3 isolation and permission restraint",
23
+ "pass": "uses Shadow DOM with rem/token isolation, minimal contextual permissions with denied-state fallback, chrome.storage persistence, and Side Panel cross-browser awareness",
24
+ "fail": "leaks host CSS or breaks when the service worker suspends"
25
+ },
26
+ {
27
+ "dimension": "VS Code host-native fidelity and security",
28
+ "pass": "uses strict nonce CSP, asWebviewUri, --vscode-* theme variables, getState/setState serialization, avoids archived webview-ui-toolkit, and picks native QuickPick/TreeView where webview is unnecessary",
29
+ "fail": "hardcodes light colors, bypasses CSP, or relies on archived packages"
30
+ }
31
+ ],
32
+ "negativeControls": [
33
+ {
34
+ "name": "standalone browser tab test",
35
+ "input": "opening the webview HTML directly in Chrome renders with custom CSS",
36
+ "mustNot": "claim VS Code CSP, asWebviewUri asset loading, or host theme adaptation are verified"
37
+ }
38
+ ],
39
+ "baseline": {
40
+ "withoutSkill": "injects global CSS into host pages, requests broad permissions, copies archived @vscode/webview-ui-toolkit snippets, and hardcodes colors instead of host theme tokens",
41
+ "withSkill": "isolates content UI with Shadow DOM, minimizes permissions, uses strict nonce CSP and --vscode-* tokens, and verifies lifecycle interrupts"
42
+ }
43
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "file-upload-media-ui",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Build resumable, accessible file upload, drag-drop, clipboard paste, and preview UI",
6
+ "contextSnapshot": {
7
+ "surface": "media asset uploader supporting 50 MB PDFs/images, drag-drop, and screenshot paste",
8
+ "platform": "Web (React + Uppy / FilePond / dropzone)",
9
+ "mode": "Operate",
10
+ "states": ["idle with limits", "invalid file rejection", "resumable progress/cancel", "preview cleanup"],
11
+ "constraints": ["no leaked object URLs", "keyboard-accessible file trigger", "authoritative server validation noted"]
12
+ },
13
+ "prompt": "Implement a multi-file media uploader with resumable progress, image previews, clipboard paste, and clear validation errors without memory leaks or keyboard barriers.",
14
+ "expectedRouting": ["pixelcraft-web", "references/file-upload-media-ui.md", "pixelcraft-accessibility"],
15
+ "forbiddenBehaviors": [
16
+ "calls URL.createObjectURL() for image previews without revoking them on removal/unmount",
17
+ "builds a drag-and-drop-only upload zone with no keyboard-accessible file picker button",
18
+ "treats client allowedFileTypes or input accept as authoritative security validation"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "upload tooling and lifecycle",
23
+ "pass": "selects Uppy (tus/S3/restrictions + clear/destroy), FilePond, or headless dropzone with explicit size/type limits upfront",
24
+ "fail": "leaves uploads un-cancellable or leaks Uppy instances across route transitions"
25
+ },
26
+ {
27
+ "dimension": "preview memory and client processing",
28
+ "pass": "revokes every createObjectURL preview on remove/unmount and offloads heavy image resizing to OffscreenCanvas in a Worker",
29
+ "fail": "leaks blob URLs or freezes the main thread resizing large photos"
30
+ },
31
+ {
32
+ "dimension": "accessibility and state completeness",
33
+ "pass": "provides keyboard-focusable picker trigger, paste support, and distinct idle/invalid/uploading/paused/error/complete states",
34
+ "fail": "ships drag-only upload zones or silent upload failures"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "leaked object urls",
40
+ "input": "call URL.createObjectURL(file) in render without ever calling URL.revokeObjectURL()",
41
+ "mustNot": "approve unrevoked createObjectURL previews"
42
+ },
43
+ {
44
+ "name": "drag-only dropzone",
45
+ "input": "build a <div onDrop={handleDrop}> upload area with no keyboard-focusable button or file input",
46
+ "mustNot": "approve drag-only file uploaders without keyboard file selection"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "renders a drag-only box, leaks object URLs, treats input accept as security, and fails silently on large files",
51
+ "withSkill": "uses Uppy/dropzone with upfront limits, tus resumability, revoked object URLs, keyboard/paste access, and full upload state coverage"
52
+ }
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "forms-validation",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Select form framework and schema validation without field-array or SSR bugs",
6
+ "contextSnapshot": {
7
+ "surface": "multi-step onboarding and invoice line-item editor",
8
+ "platform": "Next.js App Router + TypeScript",
9
+ "mode": "Operate",
10
+ "states": ["dynamic field array", "debounced async validation", "server field errors", "draft recovery"],
11
+ "constraints": ["progressive enhancement preferred where feasible", "WCAG AA error wiring", "no lost input on failure"]
12
+ },
13
+ "prompt": "Architect form state, repeatable invoice line items, async uniqueness checks, and server-side schema validation for our Next.js app.",
14
+ "expectedRouting": ["pixelcraft-web", "references/forms-validation.md", "pixelcraft-ux"],
15
+ "forbiddenBehaviors": [
16
+ "keys repeatable useFieldArray rows by array index",
17
+ "runs un-debounced async validation on every keystroke without stale-response protection",
18
+ "wipes entered user values when server validation returns field errors"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "framework and schema fit",
23
+ "pass": "evaluates Conform, TanStack Form, and React Hook Form with a shared Standard Schema (Zod/Valibot/ArkType)",
24
+ "fail": "hardcodes duplicate client/server validation or picks a legacy library without justification"
25
+ },
26
+ {
27
+ "dimension": "field array and async safety",
28
+ "pass": "uses stable generated field keys (preserving record id), debounces async checks, and handles stale responses",
29
+ "fail": "uses array index keys or fires unthrottled async requests"
30
+ },
31
+ {
32
+ "dimension": "error and draft recovery",
33
+ "pass": "maps server errors to specific fields with ARIA attributes, preserves input, and specifies draft recovery",
34
+ "fail": "drops form state on error or shows only a generic banner"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "index key in field array",
40
+ "input": "render useFieldArray items using key={index}",
41
+ "mustNot": "accept array index as React key for mutable field arrays"
42
+ },
43
+ {
44
+ "name": "unbounded async check",
45
+ "input": "call fetch('/api/check-slug') on every onChange without debounce",
46
+ "mustNot": "approve un-debounced async validation without race handling"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "wires ad-hoc useState inputs, keys arrays by index, and duplicates validation logic",
51
+ "withSkill": "selects Conform/TanStack Form/RHF with shared Standard Schema, stable field keys, debounced async checks, and server error mapping"
52
+ }
53
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "game-go-ebitengine",
4
+ "skill": "pixelcraft-game-ui",
5
+ "title": "Build a Go Ebitengine tactical HUD and pause menu with HiDPI scaling, gamepad navigation, and safe-area margins",
6
+ "contextSnapshot": {
7
+ "surface": "2D tactical game HUD and pause/settings overlay",
8
+ "platform": "Go / Ebitengine (ebiten/v2 + ebitenui)",
9
+ "mode": "Play",
10
+ "states": ["active combat HUD", "pause overlay", "gamepad focus ring", "16:9 vs 21:9 ultrawide aspect ratio", "reduced screen shake"],
11
+ "constraints": ["keyboard + gamepad + pointer parity", "HiDPI DeviceScaleFactor crisp typography", "non-blocking low-health and pickup signals"]
12
+ },
13
+ "prompt": "Design and implement a Go Ebitengine HUD and pause/settings overlay using ebiten/v2 (with ebitenui or custom retained UI layout) supporting crisp HiDPI text, full D-pad/gamepad focus traversal, safe-area margins, and a reduced-motion toggle.",
14
+ "expectedRouting": ["pixelcraft-game-ui", "references/hud-principles.md", "references/web-and-middleware-game-ui.md"],
15
+ "forbiddenBehaviors": [
16
+ "hardcodes 1280x720 pixel coordinates that clip on ultrawide or Steam Deck 1280x800 displays",
17
+ "requires a mouse cursor to navigate the pause or key-rebind menu",
18
+ "loads fonts or allocates large images inside Draw() every frame instead of pre-caching",
19
+ "claims 60fps HUD legibility from go test without rendering frames"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "HUD clarity and aspect-ratio adaptation",
24
+ "pass": "anchors HUD clusters inside safe-area bounds, scales cleanly with DeviceScaleFactor, and uses silhouette/numeric cues alongside color for health/ammo",
25
+ "fail": "hardcodes pixel offsets or communicates critical danger with red tint alone"
26
+ },
27
+ {
28
+ "dimension": "input modality parity and frame budget",
29
+ "pass": "provides deterministic keyboard/gamepad focus graph with visible focus highlight, Esc/Start cancel flow, and zero per-frame font/texture allocations in Draw()",
30
+ "fail": "relies on hover-only tooltips or stalls frame time allocating assets in Draw()"
31
+ },
32
+ {
33
+ "dimension": "verification honesty",
34
+ "pass": "distinguishes static Go unit tests for focus/layout math from rendered runtime/gamepad testing",
35
+ "fail": "claims visual HUD readability and gamepad feel are rendered-verified from go build"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "headless compile only",
41
+ "input": "go build succeeds on a headless CI runner",
42
+ "mustNot": "claim HiDPI text crispness, frame pacing, or gamepad focus traversal is rendered-verified"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "hardcodes pixel positions for 1280x720, supports mouse-only pause buttons, and allocates text/shapes each Draw() tick",
47
+ "withSkill": "implements aspect-safe Ebitengine HUD clusters, HiDPI text rendering, full gamepad/keyboard focus traversal, reduced-motion controls, and honest evidence labels"
48
+ }
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "game-godot-gdscript",
4
+ "skill": "pixelcraft-game-ui",
5
+ "title": "Build a Godot 4 GDScript inventory and crafting screen using Control Containers, Theme tokens, and joypad focus neighbors",
6
+ "contextSnapshot": {
7
+ "surface": "Godot 4 inventory grid, item inspector, and crafting action screen",
8
+ "platform": "Godot 4 / GDScript (.gd, .tscn, .tres)",
9
+ "mode": "Play",
10
+ "states": ["empty inventory", "selected item comparison", "insufficient materials error", "controller focus navigation", "16:9 vs 16:10 handheld scaling"],
11
+ "constraints": ["Control containers and anchors over absolute pixel placement", "explicit grab_focus() and focus_neighbor_* wiring", "centralized Godot Theme resource (.tres)"]
12
+ },
13
+ "prompt": "Build a Godot 4 inventory and crafting UI in GDScript (.gd) and scene hierarchy (.tscn) using Control containers, a shared Theme resource, deterministic controller focus traversal with grab_focus(), and clear disabled/insufficient-resource feedback.",
14
+ "expectedRouting": ["pixelcraft-game-ui", "references/godot.md", "references/hud-principles.md"],
15
+ "forbiddenBehaviors": [
16
+ "positions Control nodes with raw hardcoded offsets instead of MarginContainer/HBoxContainer/GridContainer and anchors",
17
+ "leaves joypad focus stranded when opening or closing the inventory modal or removing the last stack of an item",
18
+ "duplicates inline StyleBox overrides across every button instead of defining a shared Godot Theme (.tres)",
19
+ "relies on hover tooltips alone to inspect item stats or crafting costs"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "Godot Control layout and Theme discipline",
24
+ "pass": "uses nested Control containers, stretch mode canvas_items with expand aspect handling, and a centralized Theme (.tres) for fonts/StyleBoxes/colors",
25
+ "fail": "hardcodes node coordinates or duplicates per-button inline overrides"
26
+ },
27
+ {
28
+ "dimension": "controller focus lifecycle and state clarity",
29
+ "pass": "calls grab_focus() on open, restores focus when an item stack depletes, maps ui_accept/ui_cancel cleanly, and shows item stats on focus as well as hover",
30
+ "fail": "drops focus to null when crafting consumes an item or requires a mouse to read stats"
31
+ },
32
+ {
33
+ "dimension": "verification honesty",
34
+ "pass": "separates static GDScript/scene checks from live Godot runtime captures across 16:9 and handheld viewports",
35
+ "fail": "claims controller ergonomics passed without running the Godot scene"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "gdscript parse only",
41
+ "input": "godot --headless --check-only exits 0",
42
+ "mustNot": "claim controller focus navigation or safe-area scaling is rendered-verified"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "places Control nodes at fixed coordinates, omits grab_focus() and focus recovery, and depends on mouse hover for item stats",
47
+ "withSkill": "builds responsive Godot 4 Control containers with Theme tokens, deterministic joypad focus recovery, focus-accessible inspection, and explicit evidence labels"
48
+ }
49
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "game-ui-hud-and-engines",
4
+ "skill": "pixelcraft-game-ui",
5
+ "title": "Design controller-first game HUD and inventory UI across Unity uGUI/UI Toolkit, Unreal CommonUI, and Bevy",
6
+ "contextSnapshot": {
7
+ "surface": "action-RPG HUD, pause menu, and inventory grid",
8
+ "platform": "Unity uGUI / Unreal CommonUI + MVVM / Bevy 0.15+",
9
+ "mode": "Play",
10
+ "states": ["active combat motion", "pause menu focus restoration", "input device hot-swap (gamepad/KBM)", "German/CJK localization expansion", "colorblind and subtitle settings"],
11
+ "constraints": ["controller-first navigation", "TV and handheld safe areas", "no color-only status", "current engine APIs"]
12
+ },
13
+ "prompt": "Build an action-RPG HUD and inventory menu supporting instant controller/keyboard glyph swapping, safe areas across 16:9 TV and ultrawide monitors, and current Unity uGUI or Bevy UI idioms.",
14
+ "expectedRouting": ["pixelcraft-game-ui", "references/hud-principles.md", "references/unity-ugui.md", "references/bevy.md"],
15
+ "forbiddenBehaviors": [
16
+ "uses deprecated Bevy Accessible::new instead of accesskit::Node::new or mixes static and rapidly updating Unity uGUI elements on one dirty Canvas",
17
+ "requires a mouse cursor to navigate inventory or drops focus when closing a confirmation modal",
18
+ "claims console certification compliance without inspecting current platform checklists"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "controller-first navigation and HUD resilience",
23
+ "pass": "defines deterministic spatial focus order, focus restoration after popups, dynamic device-matched input glyphs, safe-area/ultrawide clamping, and non-color enemy/rarity encoding",
24
+ "fail": "leaves dead-end focus traps, hardcodes Xbox prompts on PlayStation/KBM, or hides HUD behind motion/particles"
25
+ },
26
+ {
27
+ "dimension": "engine-accurate implementation idioms",
28
+ "pass": "splits static/dynamic Unity uGUI Canvases with TextMeshPro SDF fallback chains, uses Unreal CommonUI/MVVM rather than tick-bound bindings, or uses Bevy 0.15+ Required Components + accesskit::Node",
29
+ "fail": "uses broken legacy APIs or rebuilds the entire HUD canvas every frame"
30
+ }
31
+ ],
32
+ "negativeControls": [
33
+ {
34
+ "name": "paused 1080p editor preview",
35
+ "input": "a static 1080p editor screenshot looks crisp",
36
+ "mustNot": "claim HUD legibility in combat motion, controller navigation, or console certification are verified"
37
+ }
38
+ ],
39
+ "baseline": {
40
+ "withoutSkill": "puts all Unity HUD widgets on one Canvas, hardcodes keyboard labels, ignores controller focus restoration and localization glyph atlases, and copies outdated Bevy syntax",
41
+ "withSkill": "uses idiomatic engine architecture, controller-first focus graphs, dynamic input glyphs, safe-area bounds, localization/accessibility systems, and honest playmode evidence labels"
42
+ }
43
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "i18n-engineering",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Architect localization libraries, ICU formatting, lazy catalogs, RTL, and script fallback",
6
+ "contextSnapshot": {
7
+ "surface": "multilingual SaaS dashboard supporting English, German, Vietnamese, Japanese, and Arabic (RTL)",
8
+ "platform": "Next.js / Vite + TypeScript",
9
+ "mode": "Operate",
10
+ "states": ["locale switch", "pluralized counts", "currency/date formatting", "RTL layout and diacritics"],
11
+ "constraints": ["lazy-loaded locale bundles", "CLDR-accurate plurals", "no clipped Vietnamese/Arabic glyphs"]
12
+ },
13
+ "prompt": "Implement i18n architecture with lazy-loaded catalogs, ICU plural/currency formatting, locale routing, RTL layout support, and script/font fallback across EN, DE, VI, JA, and AR.",
14
+ "expectedRouting": ["pixelcraft-web", "references/i18n-engineering.md", "pixelcraft-ux"],
15
+ "forbiddenBehaviors": [
16
+ "bundles all locale JSON catalogs eagerly into the initial JS bundle",
17
+ "implements pluralization with English-only count === 1 ternaries or hardcoded currency concatenation",
18
+ "omits html lang/dir updates or mirrors non-directional icons like clocks and media scrubbers in RTL"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "library and catalog loading",
23
+ "pass": "selects an appropriate library (i18next, FormatJS, Lingui v5+, Paraglide JS, Vue I18n, or Angular localize) with lazy-loaded catalogs and explicit fallback chains",
24
+ "fail": "bundles all languages eagerly or uses deprecated macro imports / top-level frozen t() calls"
25
+ },
26
+ {
27
+ "dimension": "ICU and Intl formatting",
28
+ "pass": "uses ICU MessageFormat plurals/selects (with required other branch) and Intl.NumberFormat/DateTimeFormat/Collator",
29
+ "fail": "hardcodes English ternary plurals, currency symbols, or MM/DD/YYYY dates"
30
+ },
31
+ {
32
+ "dimension": "RTL and script typography",
33
+ "pass": "syncs html lang and dir, uses CSS logical properties, mirrors only directional icons, and defines unicode-range font fallbacks with diacritic line-height headroom",
34
+ "fail": "leaves physical left/right layout or clips tall Arabic/Vietnamese scripts"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "english ternary plural",
40
+ "input": "format item count as `${count} ${count === 1 ? 'item' : 'items'}` for Arabic and Polish",
41
+ "mustNot": "approve English-only ternary pluralization for multilingual UI"
42
+ },
43
+ {
44
+ "name": "eager all-locales import",
45
+ "input": "statically import all 12 locale JSON files into main.tsx",
46
+ "mustNot": "recommend eagerly bundling every locale into the initial entrypoint"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "bundles all translation JSONs upfront, uses English-only plural ternaries, hardcodes currency formatting, and forgets dir=rtl and font fallbacks",
51
+ "withSkill": "lazy-loads compiled/namespaced catalogs, uses ICU MessageFormat and Intl formatters, syncs lang/dir with logical CSS, and configures script-aware font fallbacks"
52
+ }
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "local-first-sync",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Select and implement local-first CRDT, realtime multiplayer, and offline sync engines safely",
6
+ "contextSnapshot": {
7
+ "surface": "offline-capable collaborative document and task workspace",
8
+ "platform": "Next.js / Vite + TypeScript",
9
+ "mode": "Operate",
10
+ "states": ["offline local edit", "reconnect merge", "multiplayer cursors", "per-user undo"],
11
+ "constraints": ["no lost offline edits", "private room auth", "local-only undo scope"]
12
+ },
13
+ "prompt": "Architect offline persistence, cross-tab sync, and realtime multiplayer collaboration using Yjs, Automerge, Liveblocks, or RxDB.",
14
+ "expectedRouting": ["pixelcraft-web", "references/local-first-sync.md", "pixelcraft-ux"],
15
+ "forbiddenBehaviors": [
16
+ "uses Liveblocks publicApiKey for private authenticated rooms instead of authEndpoint",
17
+ "mutates Automerge doc snapshots directly outside changeDoc()",
18
+ "lets global Undo revert another collaborator's edits or shows 'Saved' while offline"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "sync engine selection",
23
+ "pass": "matches Yjs (rich-text/canvas CRDT), Automerge Repo (local-first JSON docs), Liveblocks (managed rooms/presence), or RxDB (reactive local NoSQL) to the data model",
24
+ "fail": "picks a CRDT or managed platform mismatched to the persistence/query needs"
25
+ },
26
+ {
27
+ "dimension": "lifecycle and security correctness",
28
+ "pass": "uses Y.Doc transact() + destroy(), Automerge changeDoc() + IndexedDBStorageAdapter, Liveblocks authEndpoint + ClientSideSuspense, and RxDB schema indexes",
29
+ "fail": "leaks providers/subscriptions or exposes private rooms with publicApiKey"
30
+ },
31
+ {
32
+ "dimension": "multiplayer and offline UX honesty",
33
+ "pass": "surfaces honest offline/syncing/synced/error states, throttles cursor presence, and scopes undo to the local user",
34
+ "fail": "fakes saved state while offline or undoes teammates' work"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "liveblocks public key on private room",
40
+ "input": "pass publicApiKey='pk_live_...' to LiveblocksProvider for private team documents",
41
+ "mustNot": "recommend publicApiKey instead of authEndpoint for private rooms"
42
+ },
43
+ {
44
+ "name": "direct automerge mutation",
45
+ "input": "mutate doc.count++ directly outside changeDoc()",
46
+ "mustNot": "approve mutating Automerge document snapshots outside changeDoc()"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "leaks Yjs/RxDB providers, uses publicApiKey for private rooms, and displays misleading saved states offline",
51
+ "withSkill": "selects the right CRDT/sync engine with clean teardown, authenticated rooms, local-scoped undo, and honest offline sync indicators"
52
+ }
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "lynxjs",
4
+ "skill": "pixelcraft-mobile",
5
+ "title": "Build dual-threaded LynxJS native mobile UI with main-thread gestures and recycled lists",
6
+ "contextSnapshot": {
7
+ "surface": "mobile product feed with interactive drag-to-scrub card and waterfall gallery",
8
+ "platform": "Lynx / @lynx-js/react (iOS & Android)",
9
+ "mode": "Operate",
10
+ "states": ["main-thread drag gesture", "background tap action", "recycled waterfall list"],
11
+ "constraints": ["60fps gesture response", "native view recycling", "no browser DOM assumptions"]
12
+ },
13
+ "prompt": "Implement a LynxJS product feed with a smooth drag gesture and long scrollable gallery on iOS and Android without frame drops.",
14
+ "expectedRouting": ["pixelcraft-mobile", "references/lynxjs.md", "references/tactile-interactions.md"],
15
+ "forbiddenBehaviors": [
16
+ "uses browser HTML tags like <div>/<span> or document.querySelector in native Lynx components",
17
+ "routes per-pixel touchmove gesture animations through background React state instead of main-thread scripting",
18
+ "renders hundreds of unrecycled items in scroll-view instead of <list> and <list-item>"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "dual-thread separation",
23
+ "pass": "uses 'main thread' directive, useMainThreadRef, and main-thread:bind* for continuous gestures while keeping business logic on the background thread",
24
+ "fail": "round-trips every touchmove frame through background React setState"
25
+ },
26
+ {
27
+ "dimension": "Lynx native primitives and recycling",
28
+ "pass": "uses <view>, <text>, <image>, and <list>/<list-item item-key=...> with real CSS tokens",
29
+ "fail": "writes browser DOM code or unrecycled scroll-view loops"
30
+ },
31
+ {
32
+ "dimension": "mobile ergonomics",
33
+ "pass": "honors safe areas, text scaling, and platform navigation gestures",
34
+ "fail": "clips scaled text in fixed-height containers"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "background-thread drag loop",
40
+ "input": "call setState(e.detail.y) inside background bindtouchmove on every pointer tick",
41
+ "mustNot": "recommend background-thread React state updates for per-frame drag physics in LynxJS"
42
+ },
43
+ {
44
+ "name": "browser dom in lynx",
45
+ "input": "measure layout via document.getElementById('card').getBoundingClientRect()",
46
+ "mustNot": "assume browser DOM APIs exist in native LynxJS targets"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "writes standard web React DOM tags, drives drag gestures via background setState, and omits <list> recycling",
51
+ "withSkill": "uses Lynx native primitives, main-thread gesture scripting, recycled <list-item> keys, and mobile safe-area/type scaling"
52
+ }
53
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "maizzle-email",
4
+ "skill": "pixelcraft-email",
5
+ "title": "Configure Maizzle production inlining, purging, table layouts, and Gmail/Outlook safety",
6
+ "contextSnapshot": {
7
+ "surface": "transactional order confirmation HTML email built with Maizzle and Tailwind",
8
+ "platform": "Maizzle + Outlook / Gmail / Apple Mail",
9
+ "mode": "Operate",
10
+ "states": ["production build", "images blocked", "dark mode", "plaintext companion"],
11
+ "constraints": ["compiled HTML under 102 KB Gmail clip limit", "six-digit hex + inlined CSS", "table-based columns"]
12
+ },
13
+ "prompt": "Set up a Maizzle production config and template structure for a transactional email that survives Outlook, Gmail clipping, dark mode, and image blocking.",
14
+ "expectedRouting": ["pixelcraft-email", "references/maizzle.md", "references/client-quirks.md"],
15
+ "forbiddenBehaviors": [
16
+ "uses CSS Grid or Flexbox for multi-column email layout in Maizzle",
17
+ "ships un-inlined Tailwind classes or oklch() / 3-digit hex colors without sixHex/inline",
18
+ "treats local browser preview as proof of Outlook and Gmail rendering"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "Maizzle build pipeline",
23
+ "pass": "enables css.inline, css.purge, css.safe, and css.sixHex in maizzle.config.ts and checks compiled byte size under 102 KB",
24
+ "fail": "leaves CSS un-inlined or unpurged"
25
+ },
26
+ {
27
+ "dimension": "client-safe layout and parity",
28
+ "pass": "uses role='presentation' tables for columns, Outlook VML conditionals where needed, live text CTAs, and plaintext parity",
29
+ "fail": "relies on CSS Grid/Flexbox or image-only heroes"
30
+ },
31
+ {
32
+ "dimension": "verification honesty",
33
+ "pass": "distinguishes static HTML build checks from real client rendering across dark mode and images-off",
34
+ "fail": "claims universal client compatibility from a browser preview"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "flexbox email columns",
40
+ "input": "build a two-column Maizzle receipt using class='flex justify-between'",
41
+ "mustNot": "recommend Flexbox/Grid for multi-column Outlook-compatible email layouts"
42
+ },
43
+ {
44
+ "name": "browser preview as email proof",
45
+ "input": "mark Outlook compatibility rendered PASS after inspecting maizzle serve in Chrome",
46
+ "mustNot": "treat local browser preview as rendered Outlook/Gmail verification"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "uses Flexbox columns, ships un-inlined Tailwind/oklch CSS, ignores 102 KB Gmail clipping, and tests only in Chrome",
51
+ "withSkill": "enables Maizzle inline/purge/sixHex config, table-based columns, plaintext parity, and honest client-testing verification"
52
+ }
53
+ }