@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
package/README.md CHANGED
@@ -1,312 +1,164 @@
1
- # Pixelcraft
2
-
3
- Portable Agent Skills for distinctive, evidence-verified UI and rigorous UX across frontend stacks.
4
-
5
- Pixelcraft is an open-source skill pack for coding agents. It helps agents move beyond interchangeable “AI-generated” interfaces by forcing design divergence before implementation, applying a cross-platform UX/accessibility floor, translating decisions idiomatically into the target stack, and reporting what was actually verified.
6
-
7
- ## Why Pixelcraft exists
8
-
9
- LLM-generated interfaces often converge on the same visual and interaction patterns: centered heroes, generic gradients, default fonts, decorative cards, template copy, shallow states, and web-centric assumptions. Pixelcraft counters that convergence with explicit planning, authority ordering, divergence only where direction is undecided, complete UX states, accessibility and localization floors, platform-specific translation, and evidence-labeled verification.
10
-
11
- Pixelcraft treats this as a process problem rather than a prompt slogan. It does not merely say “make it beautiful”; it changes how the agent frames, diverges, specifies, builds, verifies, and reports UI work.
12
-
13
- ## What makes it different
14
-
15
- - **Divergence before commitment:** generate multiple materially different directions or brand worlds, score them, select one, and record why alternatives lost.
16
- - **A mandatory floor:** accessibility, interaction, adaptation, localization, performance, state completeness, truthfulness, coherence, and evidence labeling are default constraints—not later cleanup.
17
- - **Any frontend stack:** web, server-rendered UI, mobile, data apps, desktop, TUI, email, and game UI receive framework-specific guidance rather than copied web assumptions.
18
- - **Honest verification:** findings are labeled `rendered`, `static`, `model-judgment`, `not-checked`, or `waived`. A successful build or page load is not presented as proof of visual quality.
19
- - **Portable packaging:** skills follow the Agent Skills format and can be installed across multiple coding-agent hosts.
20
-
21
- ## The loop
22
-
23
- ```mermaid
24
- flowchart LR
25
- P[Plan<br/>repo map or greenfield<br/>stack decision] --> A[Frame<br/>stack, surface, audience,<br/>job, constraints]
26
- A --> B[Diverge<br/>far-apart directions<br/>or brand worlds]
27
- B --> C[Specify<br/>direction card, tokens,<br/>flows, state matrix]
28
- C --> D[Build<br/>platform idioms,<br/>floor applied by default]
29
- D --> E[Verify<br/>slop scan, accessibility,<br/>states, rendered evidence]
30
- E --> F[Report<br/>decisions, evidence labels,<br/>risks, waivers]
31
- ```
1
+ <p align="center">
2
+ <img src="assets/pixelcraft-banner.png" alt="Pixelcraft — Portable Agent Skills for distinctive UI and rigorous UX" width="100%" />
3
+ </p>
4
+
5
+ <p align="center">
6
+ <a href="https://github.com/ThanhNguyxnOrg/Pixelcraft/actions/workflows/validate.yml"><img src="https://github.com/ThanhNguyxnOrg/Pixelcraft/actions/workflows/validate.yml/badge.svg" alt="CI Validate" /></a>
7
+ <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="MIT License" /></a>
8
+ <img src="https://img.shields.io/badge/skills-26-00b894.svg" alt="26 Skills" />
9
+ <img src="https://img.shields.io/badge/references-247-0984e3.svg" alt="247 References" />
10
+ <img src="https://img.shields.io/badge/QA_%26_token_CLIs-10-6c5ce7.svg" alt="10 Zero-Dependency CLIs" />
11
+ <img src="https://img.shields.io/badge/node-%3E%3D18-339933.svg" alt="Node >= 18" />
12
+ <a href="https://thanhnguyxnorg.github.io/Pixelcraft/"><img src="https://img.shields.io/badge/showcase-live_site-111827.svg" alt="Live Showcase" /></a>
13
+ </p>
32
14
 
33
- The full architecture is documented in [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md).
15
+ # Pixelcraft
34
16
 
35
- ## Skills
17
+ Portable Agent Skills for distinctive, evidence-verified UI and rigorous UX across **21 programming languages** and **13 rendering surfaces**.
36
18
 
37
- | Skill | Purpose |
38
- |---|---|
39
- | `pixelcraft` | Orchestrator: stack/surface detection, mode classification, plan-first loop, mandatory floor, evidence-labeled reporting |
40
- | `pixelcraft-plan` | Step-zero planning: brownfield repo mapping, greenfield requirements intake, weighted stack selection, `.pixelcraft/plan.md` |
41
- | `pixelcraft-direction` | Divergent visual direction, scoring, direction cards, repetition history, anti-slop fingerprints, design movements |
42
- | `pixelcraft-craft` | Typography, color, layout, motion, imagery, and icon craft across platforms |
43
- | `pixelcraft-tokens` | DTCG token structure and multi-platform token export |
44
- | `pixelcraft-ux` | JTBD, flows, information architecture, state matrices, forms, feedback, i18n UX, UX writing |
45
- | `pixelcraft-patterns` | Dashboard/admin, commerce, editors/canvas, communication, auth/onboarding, marketing, settings, search/filtering, tables/CRUD |
46
- | `pixelcraft-dataviz` | Chart choice, encoding, truthful labeling, colorblind-safe palettes, tables/dashboards, streaming, node graphs, maps, scalable rendering, chart accessibility |
47
- | `pixelcraft-accessibility` | WCAG 2.2 AA floor translated into concrete platform checks and verification methods |
48
- | `pixelcraft-review` | Audit/critique/polish modes, severity taxonomy, Nielsen checks, persona walkthroughs, slop scanning |
49
- | `pixelcraft-visual-qa` | Render/screenshot/self-critique/fix loop, capture matrices, contrast/overflow/clipping audits, performance budgets |
50
- | `pixelcraft-extensions` | Browser MV3 extensions, content-script Shadow DOM UI, VS Code webviews, Raycast commands, Figma/Office plugins |
51
- | `pixelcraft-web` | HTML/CSS, React/Next, Vue/Nuxt, Svelte, Solid, Angular, Astro, Qwik, htmx/Alpine, Lit, Tailwind, server-rendered web, Rust/Kotlin/Elm/ClojureScript/F#/Scala/Java web |
52
- | `pixelcraft-mobile` | SwiftUI, UIKit, Jetpack Compose, Flutter, React Native/Expo, Kotlin Multiplatform, Ionic/Capacitor, .NET MAUI, Flet, Kivy |
53
- | `pixelcraft-data-apps` | Streamlit, Gradio, Reflex, NiceGUI, Dash, Panel, Shiny, Jupyter widgets, R Shiny, Julia Genie, Observable Framework, Evidence |
54
- | `pixelcraft-desktop` | Tauri, Electron, Qt/PySide/QML, WinUI/WPF, AppKit, GTK, Avalonia, Rust GUI, JavaFX/Swing, C++ GUI, Go GUI, Uno |
55
- | `pixelcraft-tui` | Textual, Rich, Ink, Bubble Tea/Lip Gloss, Ratatui |
56
- | `pixelcraft-email` | Table HTML email, MJML, React Email, client quirks, dark mode, image blocking, plaintext |
57
- | `pixelcraft-document` | Print CSS/paged media, PDF pipelines, invoices/reports/CVs, slides, projector/document legibility |
58
- | `pixelcraft-media` | OG/social cards, SVG banners, platform safe zones, thumbnail legibility, Remotion/Motion Canvas |
59
- | `pixelcraft-chat-ui` | Slack Block Kit, Discord components, Telegram/Mini Apps, Zalo, WhatsApp, Teams Adaptive Cards, conversation design |
60
- | `pixelcraft-constrained` | TV/10-foot, wearables, e-ink, kiosk, embedded/LVGL, automotive templates, voice UI |
61
- | `pixelcraft-handoff` | Approved-design translation, variables-to-token mapping, component reuse, missing states and visual fidelity loops |
62
- | `pixelcraft-spatial` | visionOS, WebXR/Three.js/R3F/A-Frame, Quest Interaction SDK, Unity XRI, XR comfort/ergonomics/accessibility |
63
- | `pixelcraft-game-ui` | Unity UI Toolkit, Godot, Unreal UMG, LÖVE2D, Bevy, MonoGame, HUD principles |
64
- | `pixelcraft-brandkit` | Brand kits, identity boards, logo systems, moodboards, visual-world presentations, brand-specific prompting and QA |
65
-
66
- ## Supported stacks
67
-
68
- | Surface | Coverage |
69
- |---|---|
70
- | Web | HTML/CSS, React/Next.js, Vue/Nuxt, Svelte/SvelteKit, Solid, Angular, Astro, Qwik, htmx/Alpine, Lit/Web Components, Tailwind CSS v4, Leptos/Yew, Kotlin web, Elm, ClojureScript, F#/Fable, Scala/Laminar, Vaadin/Thymeleaf |
71
- | Server-rendered | Rails/Hotwire, Laravel Blade/Livewire, Django/Jinja, Phoenix LiveView, Blazor, Go templ/templates |
72
- | Mobile/cross-platform apps | SwiftUI, UIKit, Jetpack Compose, Flutter, React Native/Expo, Kotlin Multiplatform, Ionic/Capacitor, .NET MAUI, Flet, Kivy |
73
- | Data apps/internal tools | Streamlit, Gradio, Reflex, NiceGUI, Dash, Panel, Shiny for Python/R, Jupyter widgets, Julia Genie, Observable Framework, Evidence |
74
- | Desktop | Tauri, Electron, Qt/PySide/QML, WinUI/WPF, AppKit, GTK/libadwaita, Avalonia, egui/Slint/Dioxus/iced, JavaFX/Swing, Qt C++/ImGui/wxWidgets, Fyne/Wails/Gio, Uno |
75
- | Terminal | Textual, Rich, Ink, Bubble Tea/Lip Gloss, Ratatui |
76
- | Email | HTML tables, MJML, React Email, Outlook/Gmail/Apple Mail constraints |
77
- | Game UI | Unity UI Toolkit, Godot Control/Theme, Unreal UMG/Slate/CommonUI, LÖVE2D, Bevy, MonoGame, HUD/focus/safe-area principles |
78
- | Identity | Brand-kit and visual-world generation workflows with token handoff |
19
+ Pixelcraft counters generic "AI-generated" interfaces at the process level: codebase-first Socratic discovery (**Grill-Me**), 3-tier creative brainstorming with a pre-code design approval gate, a Stack Craft Gate that blocks low-craft defaults, a cross-platform accessibility/UX floor, idiomatic framework translation, and 10 zero-dependency verification CLIs with strict evidence labeling.
79
20
 
21
+ > **[Explore the live multi-stack showcase & 22 before/after proof exhibits →](https://thanhnguyxnorg.github.io/Pixelcraft/)**
80
22
 
81
- ### Language routing overview
23
+ ---
82
24
 
83
- | Language | Frameworks/surfaces | Pixelcraft skill → reference |
84
- |---|---|---|
85
- | C# | Blazor, MAUI, WinUI/WPF, Avalonia, Uno, MonoGame | `pixelcraft-web` → `server-rendered`; `pixelcraft-mobile` → `dotnet-maui`; `pixelcraft-desktop` → `winui-wpf`/`avalonia`/`uno-platform`; `pixelcraft-game-ui` → `monogame` |
86
- | C++ | Qt/QML, Dear ImGui, wxWidgets | `pixelcraft-desktop` → `cpp-gui` |
87
- | Clojure | ClojureScript/Reagent/re-frame | `pixelcraft-web` → `clojurescript` |
88
- | Dart | Flutter mobile/web/desktop | `pixelcraft-mobile` → `flutter`; apply `pixelcraft-web` checks for browser-dominant surfaces |
89
- | Elm | Elm Browser UI | `pixelcraft-web` → `elm` |
90
- | Elixir | Phoenix LiveView | `pixelcraft-web` → `server-rendered` |
91
- | F# | Fable/Feliz/Elmish, .NET UI | `pixelcraft-web` → `fsharp-fable`; desktop by actual framework |
92
- | Go | templ/templates, Bubble Tea/Lip Gloss, Fyne/Wails/Gio | `pixelcraft-web` → `server-rendered`; `pixelcraft-tui` → `bubbletea-lipgloss`; `pixelcraft-desktop` → `go-gui` |
93
- | Java | Vaadin/Thymeleaf, JavaFX/Swing | `pixelcraft-web` → `java-web`; `pixelcraft-desktop` → `javafx-swing` |
94
- | Julia | Genie/Stipple | `pixelcraft-data-apps` → `julia-genie` |
95
- | Kotlin | Compose, KMP, Compose Web/Kobweb | `pixelcraft-mobile` → `jetpack-compose`/`kotlin-multiplatform`; `pixelcraft-web` → `kotlin-web` |
96
- | Lua | LÖVE2D | `pixelcraft-game-ui` → `love2d` |
97
- | PHP | Laravel Blade/Livewire | `pixelcraft-web` → `server-rendered` |
98
- | Python | Streamlit/Gradio/Reflex/NiceGUI/Dash/Panel/Shiny/Jupyter; Flet/Kivy; Qt/PySide; Textual/Rich | `pixelcraft-data-apps` matching reference; `pixelcraft-mobile` → `flet`/`kivy`; `pixelcraft-desktop` → `qt-pyside-qml`; `pixelcraft-tui` → `textual`/`rich` |
99
- | R | Shiny/bslib | `pixelcraft-data-apps` → `r-shiny` |
100
- | Ruby | Rails/Hotwire | `pixelcraft-web` → `server-rendered` |
101
- | Rust | Leptos/Yew, egui/Slint/Dioxus/iced, Ratatui, Bevy | `pixelcraft-web` → `leptos-yew`; `pixelcraft-desktop` → `rust-gui`; `pixelcraft-tui` → `ratatui`; `pixelcraft-game-ui` → `bevy` |
102
- | Scala | Scala.js/Laminar | `pixelcraft-web` → `scala-laminar` |
103
- | Swift | SwiftUI, UIKit, AppKit | `pixelcraft-mobile` → `swiftui`/`uikit`; `pixelcraft-desktop` → `appkit` |
104
- | TS/JS | React/Next, Vue/Nuxt, Svelte, Solid, Angular, Astro, Qwik, htmx/Alpine, Lit, Observable Framework, Evidence, Electron/Tauri, Ink | `pixelcraft-web` matching reference; `pixelcraft-data-apps` → `observable-framework`/`evidence`; `pixelcraft-desktop`/`pixelcraft-tui` matching reference |
105
- | Zig | no dedicated substantive reference yet | plan manually in `pixelcraft-plan`; inspect actual UI/library constraints |
106
-
107
- ## Install
25
+ ## Quick Start
108
26
 
109
27
  | Method | Command | Best for |
110
28
  |---|---|---|
111
- | Guided installer | `node <checkout>/bin/pixelcraft.mjs` | First-time setup; choose agents, skills, and scope interactively |
112
- | Direct CLI | `node <checkout>/bin/pixelcraft.mjs add all --agent claude` | Reproducible Node-based setup and automation |
113
- | Vercel `skills` CLI | `npx skills add ThanhNguyxnOrg/Pixelcraft` | The cross-agent skills ecosystem and agent auto-detection |
114
- | Claude Code plugin | `/plugin marketplace add ThanhNguyxnOrg/Pixelcraft` then `/plugin install pixelcraft@pixelcraft` | Claude Code users who want plugin-managed updates |
115
- | curl/bash installer | `curl -fsSL https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.sh \| bash -s -- --agent claude --skills all` | Linux/macOS without Node.js |
116
- | PowerShell installer | `irm https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.ps1 \| iex` | Windows without Node.js |
117
- | GitHub Release asset | Download `pixelcraft-skills.zip` or `pixelcraft-skills.tar.gz` from Releases | Controlled offline/manual distribution |
118
- | git clone/copy | `git clone --depth 1 https://github.com/ThanhNguyxnOrg/Pixelcraft.git` | Pinning, inspection, and manual per-agent copying |
119
-
120
- Details and target-specific paths follow. The matrix below records the targets implemented by Pixelcraft's bundled installers. Agent directories evolve quickly; verify target behavior in the host before depending on it in automation.
29
+ | **Vercel `skills` CLI** | `npx skills add ThanhNguyxnOrg/Pixelcraft` | Auto-detecting coding agents (Node `>=22.20`) |
30
+ | **npm global CLI** | `npm i -g @thanhnguyxn/pixelcraft && pixelcraft` | Interactive Node.js (`>=18`) wizard & `doctor`/`check` CLI |
31
+ | **Claude Code plugin** | `/plugin marketplace add ThanhNguyxnOrg/Pixelcraft` → `/plugin install pixelcraft@pixelcraft` | Plugin-managed updates in Claude Code |
32
+ | **Google Antigravity** | `agy plugin install https://github.com/ThanhNguyxnOrg/Pixelcraft` | Native Antigravity App & CLI plugin install |
33
+ | **curl / bash** | `curl -fsSL https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.sh \| bash -s -- --agent claude --skills all` | Linux / macOS without Node.js |
34
+ | **PowerShell** | `irm https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.ps1 \| iex` | Windows without Node.js |
121
35
 
122
- ### Guided and direct Pixelcraft installer
36
+ For all **native host paths** (Claude Desktop/web ZIPs, ChatGPT/Codex `.codex-plugin/`, Cursor `.cursor-plugin/`, Antigravity `.antigravity-plugin/`, GitHub Copilot `.github/plugin/`, Gemini CLI, Devin CLI, Qwen Code, OpenCode, Windsurf, Kiro, Cline, Roo Code, Factory Droid, Zed, Amp, Goose, Pi), offline release archives, and maintainer release packaging, see **[`docs/INSTALL.md`](docs/INSTALL.md)**.
123
37
 
124
- Clone the repository once, then run the bundled installer from the project that should receive the skills. Replace the example checkout path if you use a different location:
38
+ ---
125
39
 
126
- ```bash
127
- git clone https://github.com/ThanhNguyxnOrg/Pixelcraft.git "$HOME/Pixelcraft"
128
- node "$HOME/Pixelcraft/bin/pixelcraft.mjs"
129
- ```
130
-
131
- The wizard asks for one or more agents, all skills or a numbered subset, project or user-level scope, and whether to show optional Context7 setup guidance. It uses Node's `readline` only; there are no package dependencies. Prefer a supported Node.js LTS release; `>=18` is a compatibility floor, not a recommendation to run an end-of-life runtime. Non-interactive flags remain available for automation:
40
+ ## What makes Pixelcraft different
132
41
 
133
- ```bash
134
- # Everything for one agent in the current project
135
- node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add all --agent claude
42
+ - **Grill-Me discovery & Pre-Code Design Approval Gate:** Inspects the repository first, asks one sharp decision question per turn with `(Recommended)` choices when scope is open, and pitches 3 materially different directions—each with an ASCII wireframe and real-copy draft—before writing implementation code. Narrow fixes skip straight to direct execution.
43
+ - **Anti-Laziness Iron Laws & Stack Craft Gate:** Explicit rationalization guards ban `TODO` UI stubs, dead click handlers, invented metrics/testimonials, and lazy stack defaults (`Tkinter`, unstyled raw HTML, hand-rolled datepickers/editors/comboboxes) when production primitives exist.
44
+ - **A mandatory floor, never a uniform look:** Truthfulness, accessibility (WCAG 2.2 AA), interaction ergonomics, responsiveness, localization/RTL, performance, complete UX states, coherence, distinctiveness, and verifiability are mandatory. Heroes, cards, colors, fonts, and layout shapes are never mandated.
45
+ - **True multi-stack parity beyond React/Tailwind:** First-class skills, token exporters (19 targets), QA scripts, and offline eval fixtures across Rust, Swift, Kotlin, Python, Go, C#, C++, Dart, Java, PHP, Ruby, Elixir, R, Julia, Elm, Clojure, F#, Scala, Lua, Zig, Typst, MJML, and JS/TS.
46
+ - **Honest, evidence-labeled verification:** Every compliance claim must carry an explicit label—`rendered`, `static`, `model-judgment`, `not-checked`, or `waived`. Compiling or loading a page is never reported as visual proof.
136
47
 
137
- # A subset for multiple agents; repeat --agent instead of using commas if preferred
138
- node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add pixelcraft-web pixelcraft-review --agent claude,cursor
48
+ ---
139
49
 
140
- # User-level installation
141
- node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add all --agent claude --global
50
+ ## The Pixelcraft loop
142
51
 
143
- # Preview and controlled replacement
144
- node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add all --agent all --dry-run
145
- node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add all --agent claude --force
52
+ ```mermaid
53
+ flowchart LR
54
+ P["Plan & Grill-Me<br/>repo map, Socratic Q&A,<br/>Stack Craft Gate"] --> A["Frame<br/>surface, audience,<br/>job, constraints"]
55
+ A --> B["Brainstorm & Diverge<br/>3-tier pitch, wireframes,<br/>Pre-Code Design Gate"]
56
+ B --> C["Specify<br/>direction card, DTCG tokens,<br/>flows, state matrix"]
57
+ C --> D["Build<br/>idiomatic target stack,<br/>zero stubs, floor on"]
58
+ D --> E["Verify<br/>slop-scan, check-*,<br/>rendered QA, finish-gate"]
59
+ E --> F["Report<br/>decisions, evidence labels,<br/>waivers, open risks"]
146
60
  ```
147
61
 
148
- When a subset is requested, the installer automatically includes the required `pixelcraft` orchestrator and `pixelcraft-plan` step-zero skill and prints a note. Auto-added core skills install only when missing; `--force` applies only to explicitly requested skills. Without `--force`, existing skill directories are skipped so local edits are not silently deleted. The installer refuses symlinked target skill directories rather than following them outside the project.
62
+ **Authority order** (highest priority first): **1.** Explicit user brief → **2.** Existing project design system & conventions → **3.** Platform, legal & accessibility floor → **4.** Pixelcraft guidance → **5.** Model taste.
149
63
 
150
- Installer agent names are `claude`, `codex`, `agents`, `devin`, `cursor`, `gemini`, `copilot`, `windsurf`, `opencode`, `kiro`, `cline`, `roo`, `droid`, `antigravity`, and `all`. Amp, Zed, and Goose can use `--agent amp`, `--agent zed`, and `--agent goose`, which select the shared `agents` directory. Other aliases: `claude-code`, `gemini-cli`, `github-copilot`, `open-code`, `roo-code`, and `factory`.
64
+ Full specification: [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) and [`docs/DESIGN-RATIONALE.md`](docs/DESIGN-RATIONALE.md).
151
65
 
152
- | Agent | Project path | User path | What Pixelcraft installs |
153
- |---|---|---|---|
154
- | Claude Code | `.claude/skills` | `~/.claude/skills` | Native skills plus `.claude/commands` adapter files |
155
- | Codex / generic agents / Devin | `.agents/skills` | `~/.agents/skills` | Native skills only |
156
- | Cursor | `.cursor/skills` | `~/.cursor/skills` | Native skills plus `.cursor/rules/pixelcraft.mdc` |
157
- | Gemini CLI | `.gemini/skills` | `~/.gemini/skills` | Native skills only |
158
- | GitHub Copilot | `.github/skills` | `~/.copilot/skills` | Native skills plus instruction/prompt adapter files |
159
- | OpenCode | `.opencode/skills` | `~/.config/opencode/skills` | Native skills only |
160
- | Windsurf | `.windsurf` | `~/.codeium/windsurf` | Native skills under `skills/` plus rules/memory and workflow routers |
161
- | Kiro | `.kiro/skills` | `~/.kiro/skills` | Native skills plus the steering adapter |
162
- | Cline | `.cline/skills` | `~/.cline/skills` | Native skills |
163
- | Roo Code | `.roo/skills` | `~/.roo/skills` | Native skills |
164
- | Factory Droid | `.factory/skills` | `~/.factory/skills` | Native skills |
165
- | Google Antigravity | `.agents/skills` | `~/.gemini/config/skills` | Native skills; project path works with the app and CLI |
66
+ ---
166
67
 
167
- `--agent all` installs every target and deduplicates shared `.agents/skills` destinations.
68
+ ## The 26 skills
168
69
 
169
- For version-sensitive work, Pixelcraft asks the agent to check the resolved version against official docs and the relevant registry. [Context7](https://github.com/upstash/context7#readme) can help retrieve docs when a host supports it. Use `--docs-mcp` (Node or Bash) or `-DocsMcp` (PowerShell) to print setup guidance, including with dry-run. This does not install tools, edit MCP config, or request keys. Reuse an approved existing MCP connection; otherwise use official docs and registry lookup. Never send secrets or proprietary code in lookup queries.
70
+ Organized into **5 architectural layers**. Every folder under `skills/<name>/` is completely self-contained and independently installable.
170
71
 
171
- ### Vercel `skills` CLI
72
+ ### 1. Plan & Orchestrate (3)
172
73
 
173
- The external `skills` CLI supports GitHub shorthand discovery and interactive agent selection. It requires Node.js 22.20 or newer:
174
-
175
- ```bash
176
- npx skills add ThanhNguyxnOrg/Pixelcraft
177
- ```
178
-
179
- A non-interactive selection uses its documented flags, for example:
180
-
181
- ```bash
182
- npx skills add ThanhNguyxnOrg/Pixelcraft --skill pixelcraft --skill pixelcraft-plan --skill pixelcraft-web -a claude-code
183
- ```
74
+ | Skill | Purpose |
75
+ |---|---|
76
+ | `pixelcraft` | Orchestrator: stack/surface detection, mode classification, Iron Laws, plan-first loop, mandatory floor, evidence-labeled reporting |
77
+ | `pixelcraft-plan` | Step-zero planning: codebase-first inspection, Grill-Me single-question Socratic discovery, Stack Craft Gate, weighted stack selection, `.pixelcraft/plan.md` |
78
+ | `pixelcraft-direction` | Creative brainstorming (3-tier ambition pitch, ASCII wireframes, Pre-Code Design Approval gate), direction scoring, repetition history, anti-slop fingerprints |
184
79
 
185
- Add `-g` for user-level installation. That CLI owns its own detection behavior and supports more agents than Pixelcraft's bundled installer.
80
+ ### 2. Core Craft & Design System (5)
186
81
 
187
- Discover the pack with `npx skills add ThanhNguyxnOrg/Pixelcraft --list`. The [skills.sh leaderboard](https://www.skills.sh/docs/faq) is driven by install telemetry from its CLI, not a separate npm publish step. Use `DISABLE_TELEMETRY=1` for a telemetry-free smoke check. A working Git install does not by itself prove a public listing.
82
+ | Skill | Purpose |
83
+ |---|---|
84
+ | `pixelcraft-craft` | Typography, color systems, composition, motion language, animation principles, imagery, and icon craft |
85
+ | `pixelcraft-tokens` | DTCG 2025.10 tokens (`$root`, `$deprecated`, Resolver), Style Dictionary/Terrazzo/Figma MCP, and multi-platform export (**19 targets**) |
86
+ | `pixelcraft-ux` | JTBD, user flows, information architecture, state matrices (incl. AI/streaming/offline), forms, feedback, i18n UX, and concrete UX writing |
87
+ | `pixelcraft-accessibility` | WCAG 2.2 AA floor, native HTML APG replacements, AccessKit, reduced motion, canvas/graphics alternatives, media controls, and verification |
88
+ | `pixelcraft-brandkit` | Brand kits, identity boards, logo systems, moodboards, governance, small-size icon pipelines, and DTCG token handoff |
188
89
 
189
- ### Claude Code plugin marketplace
90
+ ### 3. Domain Patterns & DataViz (2)
190
91
 
191
- Inside Claude Code, add the repository as a marketplace and install the plugin. Both the marketplace and plugin are named `pixelcraft` in `.claude-plugin/marketplace.json`:
92
+ | Skill | Purpose |
93
+ |---|---|
94
+ | `pixelcraft-patterns` | Dashboards, commerce, SaaS billing/paywalls, RBAC/audit logs, inbox/notifications, Kanban/scheduling, diff/undo, AI-in-app, local-first sync, editors/canvas, auth, marketing, scrollytelling, search, tables/CRUD |
95
+ | `pixelcraft-dataviz` | Chart selection, truthful scales, colorblind-safe palettes, Apache ECharts, Observable Plot, Vega-Lite, Grafana/Superset, maps (MapLibre/Leaflet/Mapbox/PMTiles/Turf), streaming, node graphs, chart accessibility |
192
96
 
193
- ```text
194
- /plugin marketplace add ThanhNguyxnOrg/Pixelcraft
195
- /plugin install pixelcraft@pixelcraft
196
- ```
97
+ ### 4. Platform & Channel Surfaces (13)
197
98
 
198
- The equivalent shell commands are `claude plugin marketplace add ThanhNguyxnOrg/Pixelcraft` and `claude plugin install pixelcraft@pixelcraft`. In Claude Desktop/Cowork, enter `ThanhNguyxnOrg/Pixelcraft` in **Plugins → Add marketplace**. Claude Code CLI marketplace validation and install were verified locally; Desktop/Cowork sync is `not-checked`.
99
+ | Skill | Purpose |
100
+ |---|---|
101
+ | `pixelcraft-web` | HTML/CSS, JS/TS & non-JS web frameworks, component/interaction/search primitives (`cmdk`, Vaul, Sonner, Embla, Pagefind, Orama, Fontsource, Unpic), styling/sync/auth/editors/grids, GSAP/Motion/Lenis, Three.js WebGPU/Babylon/PlayCanvas/Threlte/TresJS, browser media players |
102
+ | `pixelcraft-mobile` | SwiftUI (iOS 26 Liquid Glass, TCA), UIKit, Jetpack Compose (M3E), Flutter, React Native/Expo, LynxJS, KMP, NativeScript/Skip, HarmonyOS ArkUI, Elixir LiveView Native, Taro/uni-app, Ionic/Capacitor, .NET MAUI, Flet, Kivy |
103
+ | `pixelcraft-desktop` | Tauri v2, Electron/Electrobun, Qt 6/PySide6/PyQt6/QML, WinUI 3/WPF, AppKit/SwiftUI macOS, GTK4/libadwaita, Avalonia 11, Rust GUI (GPUI/Slint/Dioxus/Iced/egui/libcosmic/Vizia), JavaFX/Swing, C++/Zig GUI (JUCE/GTKmm/ImGui/Nuklear/Ultralight/DVUI), Go GUI (Wails v3/Fyne/Gio), Uno |
104
+ | `pixelcraft-tui` | Textual, Rich, Ink, Bubble Tea v2/Lip Gloss v2, Ratatui, Terminal.Gui v2, Spectre.Console, prompt_toolkit, OpenTUI, FTXUI, CLI prompts, `NO_COLOR` parity, and modern terminal protocols |
105
+ | `pixelcraft-data-apps` | marimo, Solara, Mesop, Taipy, Streamlit, Gradio 5/6, Chainlit, FastHTML, Preswald, Polars/Narwhals, Reflex, NiceGUI, Dash 3, Panel, Shiny (Python/R), Jupyter/AnyWidget, Julia Genie, Observable Framework, Evidence, internal tools |
106
+ | `pixelcraft-email` | Table HTML email, MJML, React Email, Maizzle, Vue Email; Classic & New Outlook quirks, Gmail 102 KB limits, dark mode, image blocking, BIMI, plaintext parity |
107
+ | `pixelcraft-document` | Print CSS (`@page`), Typst, LaTeX, WeasyPrint, Paged.js, Playwright PDF, Gotenberg, React-PDF, `pdf-lib`, Quarto, PDF.js, PptxGenJS, Slidev/reveal.js/Marp, PDF/UA verification |
108
+ | `pixelcraft-media` | OG/social cards (Satori, Takumi, Resvg, Sharp, Playwright), SVG banners, platform safe zones, thumbnail legibility, Remotion, Motion Canvas, Revideo, FFmpeg |
109
+ | `pixelcraft-chat-ui` | Slack Block Kit, Discord Components V2, Telegram Mini Apps, Zalo, WhatsApp Flows, Teams Adaptive Cards, LINE LIFF, WeChat; Vercel AI SDK, assistant-ui, CopilotKit, AG-UI, MCP Apps, OpenAI Apps SDK, A2UI, LangGraph |
110
+ | `pixelcraft-extensions` | Chrome/Firefox/Safari MV3 (WXT, Plasmo), Shadow DOM UI, VS Code webviews/Chat/MCP, Raycast, Figma plugins/widgets, Office Add-ins, JetBrains Jewel, Obsidian, Shopify/Forge |
111
+ | `pixelcraft-constrained` | TV/10-foot (tvOS, Compose for TV, Roku, Fire TV), wearables (watchOS, Wear OS), e-ink, kiosk/POS/ISA-101 HMI, embedded (LVGL, Slint MCU, `embedded-graphics`), automotive (CarPlay, AAOS), voice (SSML & Realtime Voice AI) |
112
+ | `pixelcraft-spatial` | visionOS 2/26, Android XR, Meta Horizon OS/Spatial SDK, WebXR (`@react-three/xr` v6, Wonderland, Needle), Unity XRI, Unreal OpenXR — ergonomics, comfort, privacy, XR accessibility |
113
+ | `pixelcraft-game-ui` | Unity UI Toolkit & uGUI, Godot 4.5 (GDScript & C#), Unreal UMG/CommonUI/MVVM, LÖVE2D, Bevy, MonoGame, Ebitengine, Macroquad, Flame, Pygame/Arcade, HTML5/middleware (Phaser/PixiJS/NoesisGUI/RmlUi/Dear ImGui/Raylib/SDL3) |
114
+
115
+ ### 5. Quality, Verification & Handoff (3)
199
116
 
200
- ### Claude and ChatGPT sessions
117
+ | Skill | Purpose |
118
+ |---|---|
119
+ | `pixelcraft-review` | Adversarial audit/critique/polish modes, P0–P3 severity taxonomy, Nielsen + AI heuristics, persona walkthroughs, multi-language `slop-scan.mjs` |
120
+ | `pixelcraft-visual-qa` | Render/screenshot/video/trace QA, keyboard probes, contrast (`check-contrast`), email (`check-email`), terminal (`check-tui`), PDF/UA (`check-pdf`), animation & GPU evidence, `finish-gate.mjs` |
121
+ | `pixelcraft-handoff` | Approved-design translation, Figma MCP/Code Connect/Variables, Penpot, component reuse, motion handoff, missing states, visual fidelity loops |
201
122
 
202
- - **Claude web/Desktop:** For a personal skill upload rather than a marketplace install, download or clone this repository and run `npm run build:skill-zips` from it (no dependency install needed). In **Customize → Skills → + → Upload a skill**, select an archive such as `skill-zips/pixelcraft.zip`. Upload and enable additional skills individually, starting with `pixelcraft-plan` and the skills for your platform or task. Use an [eligible Claude plan with code execution enabled](https://support.claude.com/en/articles/12512180-use-skills-in-claude). Each ZIP contains exactly one skill folder and its supporting files; don't upload the full release archive as a single skill. To build again, use an empty destination with `npm run build:skill-zips -- --out <directory>`.
203
- - **ChatGPT plugins:** Pixelcraft is a skills-only [OpenAI Agent Plugin](https://developers.openai.com/plugins/build/plugins), not a legacy ChatGPT plugin or a server-backed Apps SDK integration. For local development in the ChatGPT desktop app, open the repository as a project and select Pixelcraft from the project's plugin marketplace. For a managed ChatGPT workspace, an eligible admin can [import and sync the GitHub marketplace](https://developers.openai.com/codex/enterprise/plugin-management) using `ThanhNguyxnOrg/Pixelcraft` with **Path** left empty. Install it from **Plugins** and start a new session. Availability depends on the client and workspace settings.
204
- - **ChatGPT skills:** If your workspace allows personal skill uploads, use **Plugins → Skills → Create → Upload from your computer**, or use **Create with editor**. The [ChatGPT help page](https://help.openai.com/en/articles/20001066-skills-in-chatgpt) documents upload and admin permissions but does not specify the accepted archive layout. Pixelcraft's per-skill ZIPs follow Claude's documented layout; ChatGPT ZIP acceptance has not been verified. Use the plugin marketplace for the full pack where available.
123
+ ---
205
124
 
206
- ### Native host installation without npx
125
+ ## Supported stacks & 21-language routing
207
126
 
208
- The same canonical `skills/` tree is used by the manifests; no copy of the skill bodies is maintained. “Not checked” means the host path is documented but was not exercised in its client. None of the marketplace or gallery options below imply that Pixelcraft has been submitted to a public host catalog.
127
+ <details>
128
+ <summary><strong>Expand full 21-language → skill routing matrix</strong></summary>
209
129
 
210
- | Host | Installation | Status |
130
+ | Language | Frameworks / surfaces | Pixelcraft skill → reference |
211
131
  |---|---|---|
212
- | [Claude Code](https://code.claude.com/docs/en/plugins/marketplace-reference) | Marketplace commands above; the GitHub source loads `.claude-plugin/plugin.json` and discovers the bundled `skills/`. | CLI install checked. |
213
- | [Claude Desktop / Cowork / web](https://support.claude.com/en/articles/12512198-how-to-create-custom-skills) | Marketplace or per-skill ZIP upload as described above. | ZIP contents checked; client sync and upload not checked. |
214
- | [ChatGPT](https://learn.chatgpt.com/docs/plugins) | Use the portable `plugin.json` with `.agents/plugins/marketplace.json` in supported sessions, or use the Skills editor where available. | Client and workspace not checked. |
215
- | [Cursor](https://cursor.com/docs/reference/plugins) | Use the bundled Cursor installer, or for local plugin testing place `plugin.json` and `skills/` under `~/.cursor/plugins/local/pixelcraft/`. The root manifest is also suitable for Cursor marketplaces. | Plugin loading in Cursor not checked. |
216
- | [OpenCode](https://opencode.ai/docs/skills/) | Use the bundled installer with `--agent opencode` or add the checkout's `skills/` path to OpenCode's `skills` config. This is a skills pack, not an executable OpenCode plugin. | Local CLI discovered 26 skills. |
217
- | [Pi](https://docs.pi.dev/latest/packages) | `pi install git:github.com/ThanhNguyxnOrg/Pixelcraft` (or `pi install ./Pixelcraft` from a local clone's parent). | Local package install checked. |
218
- | [Codex CLI and IDE](https://developers.openai.com/plugins/build/plugins#package-and-distribute-plugins) | CLI: `codex plugin marketplace add ThanhNguyxnOrg/Pixelcraft`, then `codex plugin add pixelcraft@pixelcraft` or use `/plugins`. IDE: use `pixelcraft add all --agent codex` for project skills; the IDE extension does not support plugin installation. | Local CLI plugin install checked; IDE not checked. |
219
- | [Gemini CLI](https://geminicli.com/docs/extensions/reference/) | `gemini extensions install https://github.com/ThanhNguyxnOrg/Pixelcraft` and restart the session. | Local extension install checked. |
220
- | [GitHub Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-finding-installing) | `copilot plugin marketplace add ThanhNguyxnOrg/Pixelcraft`, then `copilot plugin install pixelcraft@pixelcraft`. | Local catalog and plugin install checked. |
221
- | [GitHub Copilot in VS Code](https://docs.github.com/en/copilot/concepts/customizations/agent-skills) | `pixelcraft add all --agent copilot` into the workspace's `.github/skills`; start a new chat and ask for a Pixelcraft skill by name. | Installer placement checked; IDE discovery not checked. |
222
- | [Windsurf Cascade](https://docs.windsurf.com/fr/windsurf/cascade/skills) | Use the bundled installer with `--agent windsurf` or copy into the client's supported skills directory. | Installer placement checked; client discovery not checked. |
223
- | [Kiro](https://kiro.dev/docs/skills/) | `pixelcraft add all --agent kiro` into `.kiro/skills` (or use `--global` on local clients). This is native Agent Skills packaging, not a Kiro Power. | Installer placement checked; client discovery not checked. |
224
- | [Amp](https://ampcode.com/docs/customize/skills) | `amp skill add https://github.com/ThanhNguyxnOrg/Pixelcraft` or use the bundled project's `.agents/skills` install. No executable Amp plugin required. | Client discovery not checked. |
225
- | [Cline](https://docs.cline.bot/customization/skills) | `pixelcraft add all --agent cline` into `.cline/skills`. | Installer placement checked; client discovery not checked. |
226
- | [Roo Code](https://roocodeinc.github.io/Roo-Code/features/skills/) | `pixelcraft add all --agent roo` into `.roo/skills`. | Installer placement checked; client discovery not checked. |
227
- | [Zed](https://zed.dev/docs/ai/skills) | `pixelcraft add all --agent zed` into `.agents/skills`; use Skills in the Zed Settings Editor to inspect discovery. | Installer placement checked; client discovery not checked. |
228
- | [Factory Droid](https://docs.factory.com/harness/plugins) | `droid plugin marketplace add ThanhNguyxnOrg/Pixelcraft`, then `droid plugin install pixelcraft@Pixelcraft` (use the marketplace name Droid prints), or `pixelcraft add all --agent droid` into `.factory/skills`. | Local marketplace plugin install checked. |
229
- | [Goose](https://github.com/block/goose/blob/main/documentation/docs/guides/context-engineering/using-skills.md) | `pixelcraft add all --agent goose` into `.agents/skills`, then `goose skills list`. | Local CLI discovered 26 skills. |
230
- | [Google Antigravity](https://antigravity.google/docs/skills) | `pixelcraft add all --agent antigravity` into `.agents/skills`; inspect skills via Customizations in the app. | Installer placement checked; client discovery not checked. |
231
- | [skills.sh](https://www.skills.sh/docs/cli) | The cross-agent Git discovery command above; no Pixelcraft npm package required. | Local discovery of the full skill pack checked; public listing not checked. |
232
-
233
- ### curl/bash installer without Node.js
234
-
235
- ```bash
236
- curl -fsSL https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.sh | bash -s -- --agent claude --skills all
237
- ```
238
-
239
- The script downloads the GitHub source tarball, extracts it temporarily, and copies self-contained skill folders. It supports:
240
-
241
- ```text
242
- --agent claude,cursor target agent(s); default agents
243
- --skills all comma-separated skills or all; default all
244
- --global user-level scope; project scope is the default
245
- --force replace explicitly requested existing skills
246
- --dry-run print copies without writing files
247
- --ref v0.1.0 branch, tag, or commit archive; default main
248
- --archive path.tar.gz use a local tarball instead of downloading
249
- ```
250
-
251
- It never uses sudo, requires only curl or wget plus tar, refuses symlinked targets/skill folders, and skips existing folders unless `--force` is passed. Existing auto-added core skills are skipped whether `--force` is present or not. For hosts with native rule/workflow/steering surfaces, it also writes the same small router adapters as the Node installer without inlining skill bodies.
252
-
253
- ### PowerShell installer without Node.js
254
-
255
- Default installation into the universal project `.agents/skills` directory:
256
-
257
- ```powershell
258
- irm https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.ps1 | iex
259
- ```
260
-
261
- Pass parameters by invoking the downloaded script as a script block:
262
-
263
- ```powershell
264
- iex "& { $(irm https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.ps1) } -Agent claude -Skill pixelcraft-web"
265
- ```
266
-
267
- Parameters mirror the shell script: `-Agent`, `-Skill`, `-Global`, `-Force`, `-DryRun`, `-DocsMcp`, `-Ref`, `-Repo`, and `-Archive` (`-Archive` expects a local `.zip`; the shell script's `--archive` expects `.tar.gz`). The script downloads the repository zip with `Invoke-WebRequest`, expands it with `Expand-Archive`, never uses sudo/elevation, refuses reparse-point targets, and preserves existing folders unless `-Force` is passed for explicitly selected skills.
268
-
269
- ### GitHub Release download
270
-
271
- After a published release, download `pixelcraft-skills.zip` or `pixelcraft-skills.tar.gz` from the repository's Releases page, or with GitHub CLI:
272
-
273
- ```bash
274
- gh release download <tag> --repo ThanhNguyxnOrg/Pixelcraft --pattern pixelcraft-skills.zip
275
- ```
276
-
277
- Each archive contains canonical `skills/` plus generated `adapters/`. Either copy a canonical `skills/<name>` directory into a verified target or copy the matching generated project-root fragment from `adapters/<agent>/`.
278
-
279
- ### npm package (pending the first approved release)
280
-
281
- After `@thanhnguyxn/pixelcraft` is publicly available on npm, install the CLI without `npx`:
282
-
283
- ```bash
284
- npm i -g @thanhnguyxn/pixelcraft
285
- pixelcraft add all --agent cursor
286
- ```
287
-
288
- Pi can then also install it with `pi install npm:@thanhnguyxn/pixelcraft`. Until release, use the Git-based or local installers above.
289
-
290
- Maintainers: use `npm run test:distribution` to inspect the package without publishing. The [organization Release Controller](https://github.com/ThanhNguyxnOrg/.github/blob/main/docs/agent-automation.md#release-safety) opens a release PR with the version changes and changelog. Merge it to approve the release (keep the release PR title if squashing). The controller creates the tag, and this repository's adapter checks that it matches the package version, builds the archives, and calls the shared GitHub Release publisher. Only after that succeeds does the shared npm publisher upload the package with provenance. The repository still needs an `NPM_TOKEN` authorized to publish `@thanhnguyxn/pixelcraft` publicly. No per-release variable or manual tag is required.
291
-
292
- ### Manual git clone/copy
293
-
294
- Clone once, choose a target directory, and copy either all skills or selected self-contained folders:
295
-
296
- ```bash
297
- git clone --depth 1 https://github.com/ThanhNguyxnOrg/Pixelcraft.git
298
- mkdir -p .agents/skills
299
- cp -R Pixelcraft/skills/pixelcraft-web .agents/skills/
300
- ```
301
-
302
- Use the support matrix above for the destination matching the agent. Adapter rows require copying both the skill payload and the small router files; release archive fragments preserve that layout.
303
-
304
- Do not construct cross-skill relative links after copying; each skill folder is self-contained.
132
+ | **C / C++** | Qt/QML, JUCE, GTKmm, Dear ImGui, Nuklear, Ultralight, wxWidgets, FLTK, Clay, raygui, LVGL, FTXUI, Notcurses, RmlUi, NoesisGUI, SDL3, Raylib | `pixelcraft-desktop` → `cpp-gui`; `pixelcraft-tui` → `extended-tui-toolkits`; `pixelcraft-constrained` → `specialized-hardware`; `pixelcraft-game-ui` → `web-and-middleware-game-ui` |
133
+ | **C#** | Blazor, MAUI, WinUI 3/WPF, Avalonia 11, Uno, Terminal.Gui/Spectre.Console, Unity uGUI/UI Toolkit, Godot C#, MonoGame | `pixelcraft-web` → `server-rendered`; `pixelcraft-mobile` → `dotnet-maui`; `pixelcraft-desktop` → `winui-wpf`/`avalonia`/`uno-platform`; `pixelcraft-tui` → `extended-tui-toolkits`; `pixelcraft-game-ui` → `unity-ugui`/`unity-ui-toolkit`/`godot`/`monogame` |
134
+ | **Clojure** | ClojureScript, Reagent, re-frame, UIx, Helix | `pixelcraft-web` → `clojurescript` |
135
+ | **Dart** | Flutter (mobile/web/desktop), Flame game engine | `pixelcraft-mobile` → `flutter`; `pixelcraft-game-ui` → `web-and-middleware-game-ui` |
136
+ | **Elm** | Elm Browser UI | `pixelcraft-web` → `elm` |
137
+ | **Elixir** | Phoenix LiveView 1.0, LiveView Native | `pixelcraft-web` → `server-rendered`; `pixelcraft-mobile` → `harmonyos-and-emerging-mobile` |
138
+ | **F#** | Fable/Feliz/Elmish, .NET desktop UI | `pixelcraft-web` → `fsharp-fable`; desktop by target toolkit |
139
+ | **Go** | templ/templates, Bubble Tea v2/Lip Gloss v2/Huh/tview, Wails v3/Fyne/Gio, Ebitengine | `pixelcraft-web` → `server-rendered`; `pixelcraft-tui` → `bubbletea-lipgloss`/`extended-tui-toolkits`; `pixelcraft-desktop` → `go-gui`; `pixelcraft-game-ui` → `web-and-middleware-game-ui` |
140
+ | **Java** | Vaadin/Hilla/Thymeleaf/JTE/Qute, JavaFX/Swing/FlatLaf | `pixelcraft-web` → `java-web`; `pixelcraft-desktop` → `javafx-swing` |
141
+ | **Julia** | Genie/Stipple, Makie | `pixelcraft-data-apps` → `julia-genie`; `pixelcraft-dataviz` → `libraries` |
142
+ | **Kotlin** | Compose Android/TV/Wear/XR, KMP, Compose Web `wasmJs`/Kobweb, JetBrains Jewel/UI DSL | `pixelcraft-mobile` → `jetpack-compose`/`kotlin-multiplatform`; `pixelcraft-web` → `kotlin-web`; `pixelcraft-constrained` → `tv-wearables`; `pixelcraft-spatial` → `platforms`; `pixelcraft-extensions` → `ide-and-saas-plugins` |
143
+ | **Lua** | LÖVE2D, Defold | `pixelcraft-game-ui` → `love2d`/`web-and-middleware-game-ui` |
144
+ | **PHP** | Laravel Blade/Livewire/Filament, Symfony Twig/UX, Inertia v2 | `pixelcraft-web` → `server-rendered` |
145
+ | **Python** | marimo/Solara/Mesop/Taipy/Polars/Narwhals/Streamlit/Gradio/Chainlit/Reflex/NiceGUI/Dash/Panel/Shiny/Jupyter/AnyWidget/FastHTML; Django; Flet/Kivy; PySide6/PyQt6; Textual/Rich/prompt_toolkit; Pygame/Arcade; WeasyPrint/ReportLab | `pixelcraft-data-apps` matching ref; `pixelcraft-web` → `server-rendered`; `pixelcraft-mobile` → `flet`/`kivy`; `pixelcraft-desktop` → `qt-pyside-qml`; `pixelcraft-tui` → `textual`/`rich`/`extended-tui-toolkits`; `pixelcraft-game-ui` → `web-and-middleware-game-ui`; `pixelcraft-document` → `pdf-tools` |
146
+ | **R** | Shiny/bslib, ggplot2, Quarto | `pixelcraft-data-apps` → `r-shiny`; `pixelcraft-dataviz` → `libraries`; `pixelcraft-document` → `pdf-tools` |
147
+ | **Ruby** | Rails 8/Hotwire/Turbo 8/Inertia | `pixelcraft-web` → `server-rendered` |
148
+ | **Rust** | Leptos/Yew/Dioxus Web, GPUI/Slint/Dioxus/Iced/egui/Floem/Xilem/Relm4/libcosmic/Vizia, Ratatui, Bevy/Macroquad, Typst, `embedded-graphics`/Slint MCU | `pixelcraft-web` → `leptos-yew`; `pixelcraft-desktop` → `rust-gui`; `pixelcraft-tui` → `ratatui`; `pixelcraft-game-ui` → `bevy`/`web-and-middleware-game-ui`; `pixelcraft-document` → `pdf-tools`; `pixelcraft-constrained` → `specialized-hardware` |
149
+ | **Scala** | Scala.js/Laminar | `pixelcraft-web` → `scala-laminar` |
150
+ | **Swift** | SwiftUI/TCA/UIKit, AppKit/SwiftUI macOS, visionOS, Skip, tvOS/watchOS, Siri App Intents | `pixelcraft-mobile` → `swiftui`/`uikit`/`nativescript-and-skip`; `pixelcraft-desktop` → `appkit`; `pixelcraft-spatial` → `platforms`; `pixelcraft-constrained` → `tv-wearables`/`voice-ui` |
151
+ | **TS / JS / ArkTS** | React/Next/RR7/TanStack Start, Vue/Nuxt, Svelte 5, Solid, Angular, Astro 5, Qwik, Preact/Fresh/Hono, htmx/Alpine/Datastar, Lit, RN/Expo/LynxJS/NativeScript/Ionic/HarmonyOS ArkUI/Taro/uni-app, Tauri/Electron/Electrobun, Ink/OpenTUI/Clack, Observable/Evidence, React Email/Maizzle/MJML, Slidev/PDF.js/PptxGenJS, Satori/Remotion, AI SDK/assistant-ui/CopilotKit, WXT/VS Code/Raycast/Figma, Phaser/PixiJS | route by surface (`pixelcraft-web`, `pixelcraft-mobile`, `pixelcraft-desktop`, `pixelcraft-tui`, `pixelcraft-data-apps`, `pixelcraft-email`, `pixelcraft-document`, `pixelcraft-media`, `pixelcraft-chat-ui`, `pixelcraft-extensions`, `pixelcraft-game-ui`) |
152
+ | **Zig** | DVUI, C interop (`clay`/`raygui`/`SDL3`), Electrobun host | `pixelcraft-desktop` → `cpp-gui`/`electron` |
153
+
154
+ </details>
155
+
156
+ ---
305
157
 
306
158
  ## Example prompts
307
159
 
308
160
  ```text
309
- Use Pixelcraft to redesign this repository's settings screen. Detect the stack first, generate divergent directions, implement the selected direction idiomatically, and report verification evidence.
161
+ Use Pixelcraft to design a new developer billing console from scratch. Run Grill-Me discovery one question at a time, pitch 3 contrasting directions with ASCII wireframes for approval before writing code, and verify with slop-scan and contrast checks.
310
162
  ```
311
163
 
312
164
  ```text
@@ -314,95 +166,100 @@ Audit this checkout flow with pixelcraft-review. Separate floor violations from
314
166
  ```
315
167
 
316
168
  ```text
317
- Build the dashboard empty, loading, error, offline, and permission-denied states using pixelcraft-ux and the matching platform skill.
169
+ Build a Rust Ratatui deployment monitor with 120×36 and 80×24 NO_COLOR=1 parity using pixelcraft-tui, and verify terminal cleanliness with check-tui.mjs.
318
170
  ```
319
171
 
320
172
  ```text
321
- Create a premium brand-kit identity board for a developer-tool startup. Use pixelcraft-brandkit, compare distinct brand worlds before prompting, and export the selected palette/type as DTCG tokens.
173
+ Create a distinctive brand-kit identity board for a developer-tool startup using pixelcraft-brandkit. Compare three materially distinct brand worlds before prompting, and export the selected palette and type tokens as DTCG JSON + CSS/Swift/Rust outputs.
322
174
  ```
323
175
 
324
176
  ```text
325
- Adapt this landing page for Arabic and German. Check RTL behavior, expansion, locale formatting, font fallback, and localized copy rather than only translating strings.
177
+ Adapt this landing page for Arabic and German. Check RTL behavior, 35% string expansion, locale number/date formatting, font fallback, and idiomatic copy rather than only translating strings.
326
178
  ```
327
179
 
328
- ## Tools
180
+ ---
329
181
 
330
- Validate all skill metadata, line limits, scripts, and local links:
182
+ ## CLI & runnable verification tools
331
183
 
332
- ```bash
333
- npm run validate
334
- ```
335
-
336
- Scan a directory for recurring AI-slop fingerprints:
337
-
338
- ```bash
339
- node skills/pixelcraft-review/scripts/slop-scan.mjs <directory>
340
- node skills/pixelcraft-review/scripts/slop-scan.mjs <directory> --json
341
- ```
184
+ All scripts are zero-dependency Node.js (`>=18`) `.mjs` files supporting `--help`.
342
185
 
343
- Export the example DTCG tokens:
186
+ ### Developer CLI (`bin/pixelcraft.mjs`)
344
187
 
345
188
  ```bash
346
- node skills/pixelcraft-tokens/scripts/export-tokens.mjs skills/pixelcraft-tokens/assets/tokens.example.json --format css
347
- node skills/pixelcraft-tokens/scripts/export-tokens.mjs skills/pixelcraft-tokens/assets/tokens.example.json --format all --out-dir generated/tokens
189
+ node bin/pixelcraft.mjs --help
190
+ node bin/pixelcraft.mjs list # list all 26 skills
191
+ node bin/pixelcraft.mjs add all --agent all --dry-run # preview cross-agent install
192
+ node bin/pixelcraft.mjs doctor # audit installed skills, adapters & Node runtime
193
+ node bin/pixelcraft.mjs init-router # detect repo stack & print AGENTS.md router block
194
+ node bin/pixelcraft.mjs check <target> # run slop-scan / QA checks on a target path
195
+ node bin/pixelcraft.mjs remove <skill> --agent claude # uninstall selected skills cleanly
348
196
  ```
349
197
 
350
- Supported export formats are `css`, `tailwind`, `swift`, `kotlin`, `dart`, `python`, `qt`, `textual`, and `all`.
351
-
352
- Capture browser visual QA evidence when Playwright is installed:
198
+ ### 10 zero-dependency QA & token scripts
353
199
 
354
- ```bash
355
- node skills/pixelcraft-visual-qa/scripts/shoot.mjs dist/index.html --out visual-qa
356
- ```
200
+ | Script | Purpose & example command |
201
+ |---|---|
202
+ | `slop-scan.mjs` | Multi-language static scanner (59 UI extensions; detects `outline-removed`, TODO stubs, dead handlers, AI clichés, Compose `.dp` fonts, Flutter zoom locks, missing reduced-motion).<br/>`node skills/pixelcraft-review/scripts/slop-scan.mjs <dir> --fail-on p0 [--waivers FILE] [--json]` |
203
+ | `export-tokens.mjs` | DTCG 2025.10 exporter (`$root`, `$deprecated`, modes) across **19 targets**: `css`, `tailwind`, `swift`, `kotlin`, `dart`, `python`, `qt`, `textual`, `ts`, `scss`, `xaml`, `android-xml`, `rust`, `go-lipgloss`, `godot`, `unity-uss`, `slint`, `gtk4`, `typst` (`--format all`).<br/>`node skills/pixelcraft-tokens/scripts/export-tokens.mjs skills/pixelcraft-tokens/assets/tokens.example.json --format all --out-dir generated/tokens` |
204
+ | `check-contrast.mjs` | Exact WCAG 2.2 luminance contrast + APCA Lc (SAPC 0.0.98G-4g) directly on DTCG token JSON across modes.<br/>`node skills/pixelcraft-visual-qa/scripts/check-contrast.mjs tokens.json --mode dark [--pairs FILE] [--json]` |
205
+ | `check-email.mjs` | HTML email QA: Gmail 102 KB clip threshold, Outlook Word-engine unsafe CSS, missing `alt` / `role="presentation"`, plaintext parity.<br/>`node skills/pixelcraft-visual-qa/scripts/check-email.mjs receipt.html --plaintext receipt.txt [--json]` |
206
+ | `check-tui.mjs` | Terminal QA: inspects captured output or executes a CLI under `NO_COLOR=1` and non-TTY pipes for ANSI leaks and 80-col overflow.<br/>`node skills/pixelcraft-visual-qa/scripts/check-tui.mjs --cols 80 -- ./my-cli status` |
207
+ | `check-pdf.mjs` | Static PDF binary inspector: `%PDF-` header, size, page count, PDF/UA markers (`/StructTreeRoot`, `/MarkInfo`, `/Lang`, `/Title`), embedded fonts.<br/>`node skills/pixelcraft-visual-qa/scripts/check-pdf.mjs invoice.pdf [--json]` |
208
+ | `shoot.mjs` | Playwright browser capture across breakpoints, light/dark/reduced-motion modes, and `--keyboard` Tab focus probes.<br/>`node skills/pixelcraft-visual-qa/scripts/shoot.mjs dist/index.html --keyboard --out visual-qa` |
209
+ | `style-inventory.mjs` | Browser measurement of rendered fonts, type ratios, quantized palette clusters, motion signals, and payload.<br/>`node skills/pixelcraft-visual-qa/scripts/style-inventory.mjs dist/index.html --breakpoints 390x844,768x1024,1440x900 --out inventory.json` |
210
+ | `finish-gate.mjs` | Surface-typed evidence manifest gate (rejects reused breakpoint artifacts and lazy `n/a` excuses; exits `0` PASS, `1` FAIL/OPEN, `2` NOT CHECKED).<br/>`node skills/pixelcraft-visual-qa/scripts/finish-gate.mjs visual-qa/evidence.json` |
357
211
 
358
- For local files, `shoot.mjs` serves only the file's own directory by default. Use `--root` only when shared parent assets are required; it exposes every non-dotfile beneath that root to page scripts during capture (`.env`, `.git/` and other dot-segments are refused). HTTP error pages are captured with their `status` recorded; use `--allow-http-error` only when intentionally reviewing 404/500 designs.
212
+ > **Local capture safety:** `shoot.mjs` serves only the target file's directory by default and refuses `.env`, `.git/`, and dot-segments. Pass `--root` only when parent assets are required, and `--allow-http-error` only when intentionally reviewing 404/500 designs.
359
213
 
360
- Measure typography, color, estimated geometry, motion signals and payload on a browser surface:
214
+ ### Repository validation, test suites & offline evals
361
215
 
362
216
  ```bash
363
- node skills/pixelcraft-visual-qa/scripts/style-inventory.mjs dist/index.html --breakpoints 390x844,768x1024,1440x900 --out inventory.json
217
+ npm run validate # validate 26 skills, frontmatter, links, headings, routing sync & evals
218
+ npm run sync:docs # auto-sync live counts & versions across README, docs, and manifests
219
+ npm test # run full validator, doc-sync check, distribution, installer, adapter, token, QA & slop-scan tests
220
+ npm run eval:offline # run deterministic offline routing & fixture contract checks (72 JSON fixtures)
221
+ npm --prefix website test # verify showcase sync, 6-exhibit gallery scores & website/src slop-scan === 0
364
222
  ```
365
223
 
366
- Use identical settings and fixtures for before/after, keep the JSON beside screenshots and task evidence, and use native device/client evidence for non-browser surfaces. See the [measured craft guide](skills/pixelcraft-visual-qa/references/measured-craft.md) for limits and platform alternatives.
367
-
368
- Inspect installer behavior:
369
-
370
- ```bash
371
- node bin/pixelcraft.mjs --help
372
- node bin/pixelcraft.mjs add all --agent all --dry-run
373
- ```
224
+ ---
374
225
 
375
226
  ## Repository layout
376
227
 
377
228
  ```text
378
- bin/ zero-dependency Node installer and wizard
379
- install.sh curl/bash installer (no Node required; pass --ref <tag> for a release or --ref <commit-sha> for a content-stable pin)
380
- install.ps1 PowerShell installer (no Node required; pass -Ref <tag> for a release or -Ref <commit-sha> for a content-stable pin)
381
- scripts/ validation, adapter builder, and contract test suites
382
- skills/ 26 self-contained Agent Skills
383
- evals/ 26 behavioural eval guides and machine-readable JSON fixtures
384
- assets/ brand artwork and icons
385
- docs/ARCHITECTURE.md system design and conventions
386
- docs/DESIGN-RATIONALE.md contributor rationale for major rules
387
- plugin.json portable plugin manifest
388
- gemini-extension.json Gemini CLI extension manifest
389
- .claude-plugin/ Claude marketplace and plugin manifests
390
- .agents/plugins/ Codex local plugin catalog metadata
391
- .github/workflows/ validation and tag-release workflows
229
+ bin/ zero-dependency Node CLI (add, list, doctor, remove, init-router, check)
230
+ install.sh curl/bash installer (no Node required; pin with --ref <tag|sha>)
231
+ install.ps1 PowerShell installer (no Node required; pin with -Ref <tag|sha>)
232
+ scripts/ validator, adapter & ZIP builders, offline eval runner, and contract tests
233
+ skills/ 26 self-contained Agent Skills (247 reference docs, 10 zero-dep CLIs)
234
+ evals/ 26 behavioral eval guides + 72 machine-readable JSON fixtures
235
+ website/ 7-section React/Vite/Tailwind showcase + 22-exhibit multi-stack gallery
236
+ assets/ brand artwork, banner, and icons
237
+ docs/ARCHITECTURE.md system architecture and loop contract
238
+ docs/DESIGN-RATIONALE.md contributor rationale for rules and trade-offs
239
+ docs/INSTALL.md native host installation paths, ZIP uploads, and release notes
240
+ plugin.json Agent Plugins 1.0 portable manifest
241
+ gemini-extension.json Gemini CLI extension manifest (+ GEMINI.md context bootstrap)
242
+ .claude-plugin/ Claude Code, Cowork, Droid & Qwen marketplace/plugin manifests
243
+ .cursor-plugin/ Cursor Marketplace plugin and catalog manifests
244
+ .antigravity-plugin/ Google Antigravity App & CLI plugin manifest
245
+ .codex-plugin/ OpenAI Codex / ChatGPT plugin manifest (+ .agents/plugins/)
246
+ .devin-plugin/ Devin CLI plugin manifest
247
+ .github/ GitHub Copilot plugin marketplace, CI workflows, and templates
392
248
  ```
393
249
 
394
- ## Roadmap
250
+ ---
395
251
 
396
- - automated model-execution eval harness on top of the existing `evals/` guides and JSON fixtures, plus expanding fixture coverage across all 26 skills;
397
- - showcase site with verified examples across supported stacks;
398
- - deeper framework coverage and version-specific verification matrices;
399
- - richer design-token conversion and implementation handoff;
400
- - internationalization of contributor documentation where useful, while keeping skill content consistently machine-readable.
252
+ ## Roadmap
401
253
 
402
- ## Contributing
254
+ - Live multi-model benchmark runner layered on top of the shipped 72-fixture offline harness (`npm run eval:offline`);
255
+ - Native CI visual-regression fixtures for desktop (Qt/Slint), mobile (SwiftUI/Compose), and game UI engines alongside the 22 showcase exhibits;
256
+ - Expanded DTCG Resolver alias/theme compilation and Figma Code Connect bridge examples;
257
+ - Optional localized contributor guides while preserving machine-readable English skill instructions.
403
258
 
404
- See [`CONTRIBUTING.md`](CONTRIBUTING.md) and [`AGENTS.md`](AGENTS.md). Before changing a rule, read the rationale in [`docs/DESIGN-RATIONALE.md`](docs/DESIGN-RATIONALE.md). Contributions must preserve the Agent Skills format, zero-dependency tooling, self-contained skill folders, evidence-label discipline, and the distinction between verified facts and model judgment.
259
+ ---
405
260
 
406
- ## License
261
+ ## Contributing, security & license
407
262
 
408
- MIT — see [`LICENSE`](LICENSE).
263
+ - **Contributing:** Read [`CONTRIBUTING.md`](CONTRIBUTING.md), [`AGENTS.md`](AGENTS.md), and [`docs/DESIGN-RATIONALE.md`](docs/DESIGN-RATIONALE.md) before modifying rules.
264
+ - **Community & security:** Participation follows [`CODE_OF_CONDUCT.md`](CODE_OF_CONDUCT.md); report security issues via [`SECURITY.md`](SECURITY.md).
265
+ - **License:** MIT — see [`LICENSE`](LICENSE).