@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": "maps-geospatial",
4
+ "skill": "pixelcraft-dataviz",
5
+ "title": "Select and implement vector maps, GPU overlays, 3D globes, and accessible map fallbacks",
6
+ "contextSnapshot": {
7
+ "surface": "fleet logistics map displaying 250,000 live GPS points over city streets",
8
+ "platform": "React + TypeScript",
9
+ "mode": "Operate",
10
+ "states": ["initial basemap load", "interleaved GPU scatter layer", "route unmount cleanup", "keyboard list fallback"],
11
+ "constraints": ["open-source vector basemap", "readable map labels above data", "no WebGL context leak"]
12
+ },
13
+ "prompt": "Build an interactive map displaying 250,000 live vehicle positions with readable city labels, open-source vector tiles, and an accessible fallback.",
14
+ "expectedRouting": ["pixelcraft-dataviz", "references/maps-geospatial.md", "pixelcraft-accessibility"],
15
+ "forbiddenBehaviors": [
16
+ "renders 250,000 individual DOM markers in Leaflet",
17
+ "omits map.remove() or viewer.destroy() cleanup on unmount",
18
+ "leaves location data accessible only via WebGL pointer hover with no list/table alternative"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "engine and data-scale fit",
23
+ "pass": "selects MapLibre GL JS + deck.gl MapLibreOverlay (interleaved: true, beforeId) with binary Float32Array attributes for 250k points",
24
+ "fail": "mounts DOM pins for 250k points or picks CesiumJS/Leaflet for a 2D high-density fleet map"
25
+ },
26
+ {
27
+ "dimension": "WebGL lifecycle and cartography",
28
+ "pass": "waits for map load before adding sources/layers, preserves basemap attribution and label legibility, and disposes the map on unmount",
29
+ "fail": "leaks WebGL contexts or obscures street labels"
30
+ },
31
+ {
32
+ "dimension": "map accessibility",
33
+ "pass": "provides keyboard pan/zoom controls and a searchable/sortable list or table alternative",
34
+ "fail": "makes map data hover-only and inaccessible to keyboard/screen-reader users"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "leaflet 250k dom markers",
40
+ "input": "create 250,000 L.marker() DOM elements in Leaflet",
41
+ "mustNot": "approve rendering hundreds of thousands of DOM markers in Leaflet"
42
+ },
43
+ {
44
+ "name": "missing webgl cleanup",
45
+ "input": "instantiate new maplibregl.Map() in useEffect without returning () => map.remove()",
46
+ "mustNot": "omit map.remove() cleanup on unmount"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "renders heavy DOM markers or non-interleaved overlays, leaks WebGL contexts on navigation, and provides no accessible alternative",
51
+ "withSkill": "pairs MapLibre GL JS with interleaved deck.gl binary layers, enforces map.remove() cleanup, preserves labels/attribution, and includes an accessible list view"
52
+ }
53
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "media-og-and-video-export",
4
+ "skill": "pixelcraft-media",
5
+ "title": "Generate legible OG social cards and programmatic release videos respecting safe zones and renderer constraints",
6
+ "contextSnapshot": {
7
+ "surface": "1200x630 Open Graph card, YouTube 1280x720 thumbnail, and 16:9/9:16 release clip",
8
+ "platform": "Satori / Takumi / Remotion / FFmpeg",
9
+ "mode": "Communicate",
10
+ "states": ["small feed thumbnail scale", "dark and light embed surround", "caption track on", "cache-busted OG URL"],
11
+ "constraints": ["no invented metrics or badges", "renderer-supported CSS and embedded fonts", "yuv420p +faststart video compatibility"]
12
+ },
13
+ "prompt": "Build an automated Open Graph card generator and a short release announcement video pipeline with safe zones for X/LinkedIn/Discord/YouTube and captions.",
14
+ "expectedRouting": ["pixelcraft-media", "references/social-cards.md", "references/og-generation.md", "references/banners-video.md"],
15
+ "forbiddenBehaviors": [
16
+ "uses unsupported CSS Grid or missing font buffers inside Satori without switching to Takumi or Playwright capture",
17
+ "places essential text inside YouTube bottom-right timestamp or social crop edges, or invents user counts/awards",
18
+ "exports uncaptioned video or uses incompatible pixel formats without yuv420p/faststart verification"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "safe zones and thumbnail legibility",
23
+ "pass": "keeps focal message inside conservative platform safe zones, verifies legibility at feed thumbnail scale, and preserves truthfulness",
24
+ "fail": "packs dense tiny code screenshots or puts labels in platform overlay zones"
25
+ },
26
+ {
27
+ "dimension": "renderer and export fidelity",
28
+ "pass": "respects Satori vs Takumi/Sharp/Playwright constraints, loads fonts properly, handles Next.js Node vs Edge runtime limits, and exports captioned yuv420p/+faststart video with cache-busting metadata",
29
+ "fail": "assumes full browser CSS inside Satori or ignores video playback compatibility and captions"
30
+ }
31
+ ],
32
+ "negativeControls": [
33
+ {
34
+ "name": "full-size 1200x630 inspection only",
35
+ "input": "the card looks crisp at 100% zoom on a 4K display",
36
+ "mustNot": "claim feed thumbnail legibility or platform recompression survival without inspecting scaled output"
37
+ }
38
+ ],
39
+ "baseline": {
40
+ "withoutSkill": "writes CSS Grid inside Satori that fails at runtime, crowds text into crop zones, adds generic sparkle badges, and skips video captions and yuv420p flags",
41
+ "withSkill": "matches the renderer to layout needs, respects platform safe zones and thumbnail scale, keeps claims truthful, and verifies export metadata and captions"
42
+ }
43
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "media-players",
4
+ "skill": "pixelcraft-web",
5
+ "title": "Select and implement adaptive video players, waveform audio, and Web Audio DSP safely",
6
+ "contextSnapshot": {
7
+ "surface": "course platform with HLS/DASH video lessons and 60-minute podcast waveform player",
8
+ "platform": "Web (Chromium + iOS Safari) + TypeScript",
9
+ "mode": "Operate",
10
+ "states": ["Safari native HLS fallback", "fatal media error recovery", "pre-computed waveform peaks", "captions enabled"],
11
+ "constraints": ["no client-side 60-minute MP3 decode spike", "WCAG 1.2.2 captions", "clean unmount disposal"]
12
+ },
13
+ "prompt": "Implement an adaptive HLS/DASH video player that works on both Chromium and iOS Safari, plus a waveform player for hour-long podcasts and interactive Web Audio controls.",
14
+ "expectedRouting": ["pixelcraft-web", "references/media-players.md", "pixelcraft-accessibility"],
15
+ "forbiddenBehaviors": [
16
+ "uses hls.js without checking video.canPlayType('application/vnd.apple.mpegurl') for iOS Safari fallback",
17
+ "decodes an entire 60-minute audio file client-side in wavesurfer.js instead of passing pre-computed peaks and duration",
18
+ "autoplays unmuted audio or triggers Tone.js playback outside a user gesture"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "streaming and cross-browser playback",
23
+ "pass": "branches Hls.isSupported() with native Safari HLS fallback (or Shaka Player with polyfill/isBrowserSupported/probeSupport) and throttled fatal error recovery",
24
+ "fail": "breaks on iOS Safari or loops infinitely on fatal media errors"
25
+ },
26
+ {
27
+ "dimension": "audio performance and gesture unlock",
28
+ "pass": "passes pre-computed peaks + duration to wavesurfer.js, unlocks Tone.js via await Tone.start() inside a user gesture, and disposes instances on unmount",
29
+ "fail": "downloads/decodes huge audio files just to draw peaks or leaks AudioContext/MSE instances"
30
+ },
31
+ {
32
+ "dimension": "media accessibility",
33
+ "pass": "provides <track kind='captions'>, keyboard-operable controls, muted playsInline for ambient video, and prefers-reduced-motion respect",
34
+ "fail": "ships uncaptioned video, unmuted autoplay, or pointer-only scrubbers"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "missing safari hls fallback",
40
+ "input": "instantiate new Hls() unconditionally without Hls.isSupported() or canPlayType fallback",
41
+ "mustNot": "omit Safari native HLS fallback when using hls.js"
42
+ },
43
+ {
44
+ "name": "tonejs autoplay on mount",
45
+ "input": "call synth.triggerAttackRelease('C4', '8n') inside useEffect on page load without Tone.start()",
46
+ "mustNot": "schedule Tone.js audio before awaiting Tone.start() in a user gesture"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "breaks HLS on iOS Safari, decodes massive audio files client-side for waveforms, triggers Tone.js before user gesture, and leaks player instances",
51
+ "withSkill": "wires Safari HLS fallback, throttled error recovery, pre-computed wavesurfer peaks, user-gesture Tone.start(), captions, and clean unmount disposal"
52
+ }
53
+ }
@@ -0,0 +1,44 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "mobile-compose-16kb-foldable-store-gate",
4
+ "skill": "pixelcraft-mobile",
5
+ "title": "Ship a Google Play 2026-ready Jetpack Compose finance app meeting targetSdk 36, Edge-to-Edge, foldable sw>=600dp, and 16 KB page alignment",
6
+ "contextSnapshot": {
7
+ "surface": "Consumer mobile banking and transfer flow",
8
+ "platform": "Kotlin Jetpack Compose (Android 16 / targetSdk 36)",
9
+ "mode": "Execute",
10
+ "states": ["biometric unlock", "transfer amount entry with IME", "foldable tabletop/unfolded posture", "offline queued transfer", "background RAM process-death restoration"],
11
+ "constraints": ["mandatory Edge-to-Edge WindowInsets across status/nav/IME", "no portrait orientation lock on sw >= 600dp tablets and foldables", "16 KB native .so memory page alignment and Android Keystore token storage"]
12
+ },
13
+ "prompt": "Prepare a Kotlin Jetpack Compose consumer transfer flow for 2026 Google Play submission on Android 16 (targetSdk 36), supporting Pixel Fold / tablet postures, Edge-to-Edge insets, Predictive Back, process-death state survival, and native library 16 KB memory page compliance.",
14
+ "expectedRouting": ["pixelcraft-mobile", "references/jetpack-compose.md", "references/tactile-interactions.md"],
15
+ "forbiddenBehaviors": [
16
+ "hard-locks android:screenOrientation=\"portrait\" globally so foldables and tablets fail adaptive layout requirements",
17
+ "stores OAuth/session tokens in plaintext SharedPreferences instead of Android Keystore / Jetpack Tink",
18
+ "uses .dp instead of .sp for typography or ignores 200% system font scaling",
19
+ "ships unverified native .so dependencies without checking 16 KB ELF page alignment (zipalign -c -P 16) or skips adb shell am kill process-death restoration"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "Google Play 2026 store and hardware compliance",
24
+ "pass": "targets API 36 (.aab), enables Edge-to-Edge with WindowInsets.safeDrawing and WindowInsets.ime, adapts cleanly across compact and sw >= 600dp foldable postures without portrait locks, and verifies 16 KB native page alignment",
25
+ "fail": "locks orientation to portrait, clips bottom CTAs behind gesture nav/IME, or ignores 16 KB native library alignment"
26
+ },
27
+ {
28
+ "dimension": "state restoration, security, and tactile craft",
29
+ "pass": "persists draft state across adb shell am kill via rememberSaveable / SavedStateHandle, stores credentials in Keystore, supports Predictive Back, and uses sp + tabular numerals for currency amounts",
30
+ "fail": "loses transfer form state on background eviction, uses plaintext storage, or breaks layout at 200% font scale"
31
+ }
32
+ ],
33
+ "negativeControls": [
34
+ {
35
+ "name": "portrait emulator happy path only",
36
+ "input": "single 412x915 portrait emulator screenshot compiles and renders transfer screen",
37
+ "mustNot": "claim Google Play readiness without checking Edge-to-Edge IME insets, foldable/tablet adaptive posture, process-death survival, and 16 KB alignment"
38
+ }
39
+ ],
40
+ "baseline": {
41
+ "withoutSkill": "locks portrait in AndroidManifest.xml, clips buttons under gesture navigation, loses state on background kill, and misses 16 KB native page alignment",
42
+ "withSkill": "delivers an adaptive Edge-to-Edge Compose flow with Predictive Back, Keystore security, SavedStateHandle survival, 200% font-scale resilience, and verified 16 KB Play Store compliance"
43
+ }
44
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "mobile-elixir-liveview-native",
4
+ "skill": "pixelcraft-mobile",
5
+ "title": "Build an Elixir Phoenix LiveView Native SwiftUI format screen with disconnect recovery and native iOS navigation",
6
+ "contextSnapshot": {
7
+ "surface": "iOS real-time warehouse pick-list screen powered by Phoenix LiveView Native",
8
+ "platform": "Elixir / Phoenix LiveView Native (SwiftUI client format)",
9
+ "mode": "Operate",
10
+ "states": ["connected live pick queue", "socket disconnected / reconnecting banner", "optimistic scan confirmation", "scan mismatch error", "Dynamic Type large text"],
11
+ "constraints": ["idiomatic SwiftUI format templates (.swiftui.heex) rather than HTML tags", "explicit network disconnect/reconnect resilience", "VoiceOver labels and >= 44pt tap targets"]
12
+ },
13
+ "prompt": "Implement a warehouse pick-list screen in our Elixir Phoenix LiveView Native app targeting iOS SwiftUI (.swiftui.heex), handling live item-claim updates, temporary WebSocket disconnects in warehouse dead zones, and Dynamic Type legibility.",
14
+ "expectedRouting": ["pixelcraft-mobile", "references/harmonyos-and-emerging-mobile.md", "references/swiftui.md"],
15
+ "forbiddenBehaviors": [
16
+ "renders HTML <div>/<table> markup inside a LiveView Native SwiftUI template instead of native SwiftUI elements (<List>, <VStack>, <Button>)",
17
+ "assumes continuous WebSocket connectivity without an explicit offline/reconnecting banner and pending-action guard",
18
+ "triggers server round-trips on every text-field keystroke without phx-debounce or local buffering",
19
+ "claims Xcode Simulator rendering passed from mix test alone"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "LiveView Native SwiftUI idioms",
24
+ "pass": "uses clean .swiftui.heex templates with native SwiftUI views/modifiers, Dynamic Type text styles, and shared Elixir LiveView state without leaking HTML idioms",
25
+ "fail": "copies web HEEx HTML tags or hardcodes pixel frame sizes"
26
+ },
27
+ {
28
+ "dimension": "connectivity resilience and ergonomics",
29
+ "pass": "exposes clear reconnecting/stale-data feedback in dead zones, disables conflicting mutations during disconnect, debounces search/scan input, and maintains >= 44pt targets",
30
+ "fail": "silently drops taps while disconnected or spams server events per keystroke"
31
+ },
32
+ {
33
+ "dimension": "verification honesty",
34
+ "pass": "distinguishes mix test LiveView state tests from rendered Xcode Simulator / iOS device checks",
35
+ "fail": "equates Elixir unit tests with rendered iOS SwiftUI verification"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "mix test pass only",
41
+ "input": "mix test passes all LiveView controller assertions",
42
+ "mustNot": "claim iOS SwiftUI layout, VoiceOver focus, or Dynamic Type scaling is rendered-verified"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "leaks HTML/Tailwind markup into LiveView Native templates, ignores dead-zone reconnect states, and omits Dynamic Type and VoiceOver considerations",
47
+ "withSkill": "builds idiomatic Phoenix LiveView Native SwiftUI templates with disconnect resilience, debounced events, native accessibility, and explicit evidence labels"
48
+ }
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "mobile-flutter-dynamic-type",
4
+ "skill": "pixelcraft-mobile",
5
+ "title": "Build a Flutter Dart transfer review screen that preserves MediaQuery TextScaler and disableAnimations",
6
+ "contextSnapshot": {
7
+ "surface": "Cross-platform mobile transfer confirmation screen",
8
+ "platform": "Flutter / Dart",
9
+ "mode": "Operate",
10
+ "states": ["review summary", "biometric/PIN confirmation", "insufficient funds error", "200% text scaling", "disableAnimations enabled"],
11
+ "constraints": ["never lock TextScaler.noScaling or textScaleFactor: 1.0", "honor MediaQuery.disableAnimationsOf(context)", "semantic Theme.of(context) tokens"]
12
+ },
13
+ "prompt": "Build a Flutter transfer confirmation screen in Dart that adapts cleanly between iOS and Android, preserves OS Dynamic Type / text scaling up to 200%, honors reduced motion, and handles insufficient-funds and network-retry errors.",
14
+ "expectedRouting": ["pixelcraft-mobile", "references/flutter.md", "references/task-state-composition.md"],
15
+ "forbiddenBehaviors": [
16
+ "wraps the app or screen in MediaQuery with TextScaler.noScaling or textScaleFactor: 1.0",
17
+ "runs AnimationController transitions without checking MediaQuery.disableAnimationsOf(context)",
18
+ "hardcodes fixed-height Row cells that trigger yellow-and-black RenderFlex overflow at 200% text scale",
19
+ "uses hardcoded Color(0xFF...) literals instead of Theme.of(context).colorScheme"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "text scaling and overflow resilience",
24
+ "pass": "preserves MediaQuery textScaler and switches dense key-value rows to vertical layout via LayoutBuilder/Wrap when scale increases",
25
+ "fail": "clamps TextScaler to 1.0 or overflows horizontally at large text scales"
26
+ },
27
+ {
28
+ "dimension": "reduced motion and Semantics tree",
29
+ "pass": "checks MediaQuery.disableAnimationsOf(context) for AnimationController/AnimatedSwitcher and exposes explicit Semantics labels and button roles",
30
+ "fail": "runs unguarded animations or relies on raw GestureDetector without Semantics"
31
+ },
32
+ {
33
+ "dimension": "evidence discipline",
34
+ "pass": "reports widget tests / golden runs distinctly from real-device iOS/Android checks",
35
+ "fail": "claims device accessibility compliance from dart analyze alone"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "flutter analyze only",
41
+ "input": "flutter analyze reports zero lint warnings",
42
+ "mustNot": "claim zero RenderFlex overflow at 200% text scale without a rendered widget test or device capture"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "clamps TextScaler.noScaling to hide overflow bugs, hardcodes hex colors, and leaves AnimationController unguarded",
47
+ "withSkill": "preserves OS text scaling with responsive reflow, honors disableAnimations, wires Semantics, and labels static vs rendered widget tests honestly"
48
+ }
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "mobile-harmonyos-arkui",
4
+ "skill": "pixelcraft-mobile",
5
+ "title": "Build a HarmonyOS NEXT ArkUI (ArkTS) adaptive transit-pass screen across phone and foldable breakpoints",
6
+ "contextSnapshot": {
7
+ "surface": "HarmonyOS NEXT transit pass and recent-trips screen",
8
+ "platform": "HarmonyOS NEXT / ArkUI (ArkTS .ets)",
9
+ "mode": "Operate",
10
+ "states": ["active pass", "offline NFC cached", "expired pass error", "compact sm vs foldable md/lg breakpoint", "large font scale"],
11
+ "constraints": ["ArkUI GridRow/Navigation adaptive layout", "vp/fp units (fp for scalable text)", "ArkUI accessibilityText/accessibilityGroup semantics"]
12
+ },
13
+ "prompt": "Implement a HarmonyOS NEXT ArkUI screen in ArkTS (.ets) displaying a rider's transit pass and trip history that adapts across phone (sm) and unfolded foldable (md/lg) breakpoints, preserves fp font scaling, and works cleanly offline.",
14
+ "expectedRouting": ["pixelcraft-mobile", "references/harmonyos-and-emerging-mobile.md", "references/task-state-composition.md"],
15
+ "forbiddenBehaviors": [
16
+ "translates React/CSS flexbox or Android XML idioms literally instead of idiomatic ArkUI declarative components",
17
+ "uses vp instead of fp for body text sizes or locks text scaling",
18
+ "ignores HarmonyOS foldable breakpoints and safe-area avoid zones",
19
+ "claims DevEco Simulator rendering passed without executing it"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "ArkUI idioms and breakpoint adaptation",
24
+ "pass": "uses ArkUI @Component/@State, Navigation/GridRow breakpoint adaptation between single-column phone and split foldable view, and vp/fp units accurately",
25
+ "fail": "stretches a fixed phone layout across a foldable display or invents web/Android APIs"
26
+ },
27
+ {
28
+ "dimension": "accessibility and offline robustness",
29
+ "pass": "uses fp text scaling, accessibilityText/accessibilityGroup semantics, explicit offline cached-pass indicator, and expired-pass recovery flow",
30
+ "fail": "omits accessibility attributes or blocks transit pass display when offline"
31
+ },
32
+ {
33
+ "dimension": "verification truthfulness",
34
+ "pass": "marks DevEco Previewer/Emulator checks not-checked when unavailable on the host OS",
35
+ "fail": "claims rendered foldable verification on a host without HarmonyOS tooling"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "unavailable DevEco emulator",
41
+ "input": "Linux host has no DevEco Studio or HarmonyOS simulator",
42
+ "mustNot": "claim foldable rendering or screen reader behavior is rendered-verified"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "hallucinates Android/React-style syntax, uses fixed px/vp fonts, and ignores foldable split layouts and offline pass states",
47
+ "withSkill": "writes idiomatic ArkUI (.ets) with breakpoint adaptation, fp scaling, accessibility semantics, offline state design, and honest not-checked labels"
48
+ }
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "mobile-jetpack-compose",
4
+ "skill": "pixelcraft-mobile",
5
+ "title": "Build an Android Jetpack Compose field-work order screen using .sp text, edge-to-edge insets, and TalkBack semantics",
6
+ "contextSnapshot": {
7
+ "surface": "Android Jetpack Compose work-order checklist and status screen",
8
+ "platform": "Android Kotlin / Jetpack Compose Material 3",
9
+ "mode": "Operate",
10
+ "states": ["pending sync", "offline queued", "validation error", "fontScale 2.0", "keyboard IME open"],
11
+ "constraints": ["edge-to-edge WindowInsets handling", "48dp minimum touch targets", "font sizing in .sp only"]
12
+ },
13
+ "prompt": "Implement an Android Jetpack Compose work-order screen in Kotlin where technicians update job status offline, attach notes with the IME open, and read checklists cleanly at 200% Android system font scaling.",
14
+ "expectedRouting": ["pixelcraft-mobile", "references/jetpack-compose.md", "references/tactile-interactions.md"],
15
+ "forbiddenBehaviors": [
16
+ "specifies text fontSize in .dp instead of .sp, breaking Android font scaling",
17
+ "omits imePadding() / navigationBarsPadding() so the software keyboard covers the submit bar",
18
+ "hardcodes ARGB Color(0xFF...) hex literals instead of MaterialTheme.colorScheme tokens",
19
+ "ignores TalkBack semantics or ANIMATOR_DURATION_SCALE reduced-motion checks"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "Compose scaling and inset correctness",
24
+ "pass": "uses .sp / MaterialTheme.typography for all text, avoids fixed-dp heights on text containers, and applies Scaffold innerPadding plus imePadding()",
25
+ "fail": "uses .dp font sizes or clips text and submit actions behind system bars or keyboard"
26
+ },
27
+ {
28
+ "dimension": "offline state and TalkBack accessibility",
29
+ "pass": "models queued/error/retry states with explicit non-color badges, 48dp touch targets, and merged Semantics descriptions",
30
+ "fail": "shows a permanent spinner offline or relies on color dots without contentDescription"
31
+ },
32
+ {
33
+ "dimension": "verification honesty",
34
+ "pass": "separates static Gradle/Compose inspection from rendered emulator/Compose UI test verification",
35
+ "fail": "claims emulator TalkBack or 200% font scale passed without running instrumented UI checks"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "gradle assembleDebug only",
41
+ "input": "./gradlew assembleDebug succeeds",
42
+ "mustNot": "claim edge-to-edge insets, IME clearance, or TalkBack order are rendered-verified"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "hardcodes .dp text and fixed row heights, ignores edge-to-edge IME insets, and omits offline queue recovery states",
47
+ "withSkill": "delivers idiomatic Kotlin Compose using MaterialTheme tokens, .sp scaling, edge-to-edge WindowInsets, explicit offline states, and honest evidence labels"
48
+ }
49
+ }
@@ -0,0 +1,49 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "mobile-swiftui-ios",
4
+ "skill": "pixelcraft-mobile",
5
+ "title": "Build an iOS SwiftUI medication schedule screen with Dynamic Type, VoiceOver, and Reduce Motion",
6
+ "contextSnapshot": {
7
+ "surface": "iOS SwiftUI daily schedule and dose-confirmation screen",
8
+ "platform": "iOS 18 Swift / SwiftUI",
9
+ "mode": "Operate",
10
+ "states": ["due dose", "confirmed with undo", "missed dose", "Dynamic Type AX3", "Reduce Motion enabled"],
11
+ "constraints": ["native NavigationStack and Sheet idioms", "44x44pt minimum touch targets", "semantic Color asset tokens"]
12
+ },
13
+ "prompt": "Build an iOS SwiftUI medication schedule screen where a user can confirm or undo a dose, inspect upcoming reminders, and remain fully legible at Accessibility Extra Large (AX3) text sizes with VoiceOver and Reduce Motion enabled.",
14
+ "expectedRouting": ["pixelcraft-mobile", "references/swiftui.md", "references/tactile-interactions.md", "references/task-state-composition.md"],
15
+ "forbiddenBehaviors": [
16
+ "hardcodes fixed font point sizes instead of semantic Font text styles or @ScaledMetric",
17
+ "animates state transitions with withAnimation without reading @Environment(\\.accessibilityReduceMotion)",
18
+ "uses raw Color.blue or Color.red literals instead of semantic asset catalog or system colors",
19
+ "claims iOS Simulator rendering passed from swift build alone"
20
+ ],
21
+ "rubricDimensions": [
22
+ {
23
+ "dimension": "SwiftUI platform idioms and state clarity",
24
+ "pass": "uses NavigationStack, semantic text styles, @ScaledMetric layout switching at AX sizes, and reversible dose confirmation with clear non-color status cues",
25
+ "fail": "recreates web-style card chrome with fixed heights that clip at AX3"
26
+ },
27
+ {
28
+ "dimension": "accessibility and motion discipline",
29
+ "pass": "gates withAnimation on accessibilityReduceMotion, groups VoiceOver rows with combined labels/actions, and keeps >= 44pt tap targets",
30
+ "fail": "leaves unlabeled icon buttons or forces spring motion regardless of Reduce Motion"
31
+ },
32
+ {
33
+ "dimension": "honest verification labeling",
34
+ "pass": "labels source checks static and marks Simulator/VoiceOver/Dynamic Type checks rendered only when executed or not-checked otherwise",
35
+ "fail": "treats Xcode/Swift compilation as visual or VoiceOver proof"
36
+ }
37
+ ],
38
+ "negativeControls": [
39
+ {
40
+ "name": "compile-only pass",
41
+ "input": "swift build exits 0 on macOS",
42
+ "mustNot": "claim AX3 Dynamic Type layout or VoiceOver navigation is rendered-verified"
43
+ }
44
+ ],
45
+ "baseline": {
46
+ "withoutSkill": "hardcodes fixed frame heights, raw hex colors, unguarded withAnimation springs, and omits AX3 reflow and undo state",
47
+ "withSkill": "builds idiomatic SwiftUI with Dynamic Type reflow, Reduce Motion gating, VoiceOver grouping, tactile confirmation with undo, and honest evidence labels"
48
+ }
49
+ }
@@ -0,0 +1,69 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "motion-engineering",
4
+ "skill": "pixelcraft-craft",
5
+ "title": "Motion lifecycle and input parity",
6
+ "contextSnapshot": {
7
+ "surface": "agency landing page",
8
+ "platform": "responsive web",
9
+ "mode": "Persuade",
10
+ "states": [
11
+ "loading",
12
+ "hover/focus",
13
+ "touch",
14
+ "reduced motion",
15
+ "route change"
16
+ ],
17
+ "constraints": [
18
+ "existing React app",
19
+ "normal scroll preserved",
20
+ "no animation-only content"
21
+ ]
22
+ },
23
+ "prompt": "Implement a kinetic agency landing page with an animated loader, SVG line reveal, magnetic CTA, and scroll-linked chapters.",
24
+ "expectedRouting": [
25
+ "pixelcraft-craft",
26
+ "pixelcraft-web",
27
+ "pixelcraft-accessibility",
28
+ "pixelcraft-visual-qa"
29
+ ],
30
+ "forbiddenBehaviors": [
31
+ "scrolljacking",
32
+ "hover-only CTA",
33
+ "unbounded timeline/listener lifecycle",
34
+ "assuming GSAP plugin access without checking"
35
+ ],
36
+ "rubricDimensions": [
37
+ {
38
+ "dimension": "runtime choice",
39
+ "pass": "selects CSS/Motion/GSAP by task and avoids overlapping property ownership",
40
+ "fail": "installs all animation libraries without rationale"
41
+ },
42
+ {
43
+ "dimension": "lifecycle",
44
+ "pass": "scopes and cleans timelines/listeners across unmount and route changes",
45
+ "fail": "leaks animation work after navigation"
46
+ },
47
+ {
48
+ "dimension": "accessibility",
49
+ "pass": "keeps semantic text and provides focus, touch, and reduced-motion paths",
50
+ "fail": "requires animation or hover to access content"
51
+ }
52
+ ],
53
+ "negativeControls": [
54
+ {
55
+ "name": "static screenshot",
56
+ "input": "Only a desktop screenshot is available",
57
+ "mustNot": "claim timeline or touch behavior was verified"
58
+ },
59
+ {
60
+ "name": "smooth scroll fashion",
61
+ "input": "Reference site uses Lenis",
62
+ "mustNot": "add Lenis without user-facing requirement"
63
+ }
64
+ ],
65
+ "baseline": {
66
+ "withoutSkill": "adds generic transitions and claims visual polish",
67
+ "withSkill": "selects a scoped animation runtime and provides lifecycle, fallback and test evidence"
68
+ }
69
+ }
@@ -0,0 +1,53 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "pdfjs-and-pptx",
4
+ "skill": "pixelcraft-document",
5
+ "title": "Build accessible PDF.js viewers and master-based PptxGenJS decks cleanly",
6
+ "contextSnapshot": {
7
+ "surface": "in-app PDF contract viewer and programmatic executive PPTX report exporter",
8
+ "platform": "Web (pdfjs-dist) + Node/Browser (pptxgenjs)",
9
+ "mode": "Operate",
10
+ "states": ["worker PDF load", "rapid zoom/page switch", "selectable text layer", "16x9 master slide export"],
11
+ "constraints": ["no main-thread PDF parsing", "accessible selectable PDF text", "native editable PPTX tables/text"]
12
+ },
13
+ "prompt": "Implement an in-browser PDF.js viewer with selectable text and clean teardown, plus a PptxGenJS exporter for 16:9 executive decks.",
14
+ "expectedRouting": ["pixelcraft-document", "references/pdfjs-and-pptx.md", "references/slides.md"],
15
+ "forbiddenBehaviors": [
16
+ "omits GlobalWorkerOptions.workerSrc or loadingTask.destroy() in PDF.js",
17
+ "renders only a PDF.js canvas with no TextLayer so text cannot be selected or read by assistive tech",
18
+ "flattens entire PptxGenJS slides into raster PNG images instead of native addText/addTable objects"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "PDF.js worker and lifecycle safety",
23
+ "pass": "configures GlobalWorkerOptions.workerSrc, cancels superseded RenderTasks, renders TextLayer for selection/a11y, and calls loadingTask.destroy() on unmount",
24
+ "fail": "parses PDFs on the main thread, races concurrent canvas renders, or leaks workers"
25
+ },
26
+ {
27
+ "dimension": "PptxGenJS deck craft",
28
+ "pass": "configures LAYOUT_16x9 and defineSlideMaster, uses native addText/addTable in inches, and passes { fileName } to writeFile()",
29
+ "fail": "embeds full-slide screenshots or uses deprecated string writeFile() without master layouts"
30
+ },
31
+ {
32
+ "dimension": "artifact verification",
33
+ "pass": "checks rendered HiDPI/text-layer behavior in browser and inspects exported .pptx in PowerPoint/Impress",
34
+ "fail": "assumes code compilation proves visual slide or PDF legibility"
35
+ }
36
+ ],
37
+ "negativeControls": [
38
+ {
39
+ "name": "canvas-only pdf viewer",
40
+ "input": "render PDF.js pages onto <canvas> with no TextLayer and no loadingTask.destroy()",
41
+ "mustNot": "approve canvas-only PDF rendering without TextLayer or destroy cleanup"
42
+ },
43
+ {
44
+ "name": "screenshot pptx slides",
45
+ "input": "capture DOM slides with html2canvas and insert each as a full-bleed addImage() in PptxGenJS",
46
+ "mustNot": "recommend flattening editable PPTX decks into full-slide PNG screenshots"
47
+ }
48
+ ],
49
+ "baseline": {
50
+ "withoutSkill": "runs PDF.js without worker/cleanup/TextLayer and exports uneditable screenshot-based PPTX slides",
51
+ "withSkill": "wires PDF.js worker, RenderTask cancellation, TextLayer, and loadingTask.destroy() alongside native master-driven PptxGenJS decks"
52
+ }
53
+ }
@@ -0,0 +1,31 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "plan-discovery-interview",
4
+ "skill": "pixelcraft-plan",
5
+ "title": "Optional product discovery and decision interview",
6
+ "contextSnapshot": {
7
+ "surface": "new product concept with a possible existing codebase",
8
+ "platform": "not yet selected",
9
+ "mode": "Operate",
10
+ "states": ["rough idea", "unresolved MVP boundary", "possible platform and stack choices"],
11
+ "constraints": ["user is not expected to know framework details", "agent must inspect available context and research current technical facts"]
12
+ },
13
+ "prompt": "I want to create a service for independent tutors, but I'm not sure what the first version should do or what technology to use. Help me think it through.",
14
+ "expectedRouting": ["pixelcraft-plan", "references/discovery-interview.md", "references/stack-selection.md", "references/plan-template.md"],
15
+ "forbiddenBehaviors": ["starts with a generic long questionnaire", "asks the user to choose frameworks before clarifying the product outcome", "asks for facts discoverable in the repository or current official docs", "treats a recommendation as approval"],
16
+ "rubricDimensions": [
17
+ { "dimension": "trigger discipline", "pass": "uses discovery because the user explicitly asks for help shaping the idea", "fail": "skips discovery or makes discovery mandatory for unrelated scoped work" },
18
+ { "dimension": "adaptive interview", "pass": "asks about the highest-impact unresolved decision with clear options, a recommendation, trade-offs, and free-form response", "fail": "presents a broad form or asks dependent questions prematurely" },
19
+ { "dimension": "technical judgment", "pass": "researches current technical facts and recommends stack options only after product constraints are understood", "fail": "defaults to a popular stack or delegates technical research to the user" },
20
+ { "dimension": "decision ownership", "pass": "records user decisions, accepted recommendations, assumptions, open risks, and approval boundary", "fail": "silently converts assumptions into user-approved requirements" }
21
+ ],
22
+ "negativeControls": [
23
+ { "name": "complete implementation brief", "input": "a fully specified scoped change with current stack and acceptance criteria", "mustNot": "start a long discovery interview" },
24
+ { "name": "brownfield knowledge available", "input": "the repository already defines auth, APIs, framework and data ownership", "mustNot": "ask the user to restate those facts or select a replacement stack" },
25
+ { "name": "dependent decision", "input": "the hosting choice depends on whether users need realtime collaboration", "mustNot": "ask for hosting before resolving the collaboration requirement" }
26
+ ],
27
+ "baseline": {
28
+ "withoutSkill": "asks generic questions, chooses a familiar framework too early, or silently assumes product requirements",
29
+ "withSkill": "uses optional, evidence-first discovery to resolve only material decisions and produce an actionable user-aligned plan"
30
+ }
31
+ }