@thanhnguyxn/pixelcraft 0.0.0-stage → 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 (455) hide show
  1. package/.agents/plugins/marketplace.json +20 -0
  2. package/.antigravity-plugin/plugin.json +32 -0
  3. package/.claude-plugin/marketplace.json +20 -0
  4. package/.claude-plugin/plugin.json +22 -0
  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/LICENSE +21 -0
  13. package/README.md +264 -2
  14. package/SECURITY.md +28 -0
  15. package/assets/README.md +28 -0
  16. package/assets/pixelcraft-logo-128.png +0 -0
  17. package/assets/pixelcraft-logo-256.png +0 -0
  18. package/assets/pixelcraft-logo-512.png +0 -0
  19. package/bin/pixelcraft.mjs +852 -0
  20. package/docs/ARCHITECTURE.md +105 -0
  21. package/docs/DESIGN-RATIONALE.md +191 -0
  22. package/docs/INSTALL.md +221 -0
  23. package/evals/README.md +37 -0
  24. package/evals/fixtures/3d-web-engineering.json +69 -0
  25. package/evals/fixtures/README.md +36 -0
  26. package/evals/fixtures/acceptance-checklist-rule03-gate.json +43 -0
  27. package/evals/fixtures/ai-ui-libraries.json +53 -0
  28. package/evals/fixtures/audio-visual-accessibility.json +69 -0
  29. package/evals/fixtures/auth-and-checkout-ui.json +53 -0
  30. package/evals/fixtures/brandkit-identity-governance.json +48 -0
  31. package/evals/fixtures/build-and-architecture.json +53 -0
  32. package/evals/fixtures/canvas-and-node-editors.json +53 -0
  33. package/evals/fixtures/chat-ai-exfiltration-ime-hitl-gate.json +43 -0
  34. package/evals/fixtures/completion-gate-scan-until-clean.json +44 -0
  35. package/evals/fixtures/component-systems.json +53 -0
  36. package/evals/fixtures/component-testing.json +53 -0
  37. package/evals/fixtures/constrained-voice-and-tv.json +43 -0
  38. package/evals/fixtures/creative-code-rendering.json +69 -0
  39. package/evals/fixtures/creative-reference-evidence.json +67 -0
  40. package/evals/fixtures/data-app-python-marimo.json +49 -0
  41. package/evals/fixtures/desktop-cpp-juce-audio.json +49 -0
  42. package/evals/fixtures/desktop-csharp-avalonia.json +49 -0
  43. package/evals/fixtures/desktop-native-workspace.json +48 -0
  44. package/evals/fixtures/desktop-python-anti-tkinter.json +49 -0
  45. package/evals/fixtures/direction-prototype-complexity.json +29 -0
  46. package/evals/fixtures/document-prepress-pdfx4-tounicode.json +43 -0
  47. package/evals/fixtures/document-rust-typst-invoice.json +49 -0
  48. package/evals/fixtures/document-typst-and-print-css.json +43 -0
  49. package/evals/fixtures/email-mjml-dark-mode.json +49 -0
  50. package/evals/fixtures/email-outlook-and-plaintext.json +43 -0
  51. package/evals/fixtures/enterprise-data-ui.json +53 -0
  52. package/evals/fixtures/extended-tui-toolkits.json +53 -0
  53. package/evals/fixtures/extensions-mv3-and-vscode.json +43 -0
  54. package/evals/fixtures/file-upload-media-ui.json +53 -0
  55. package/evals/fixtures/finish-gate-anti-slop.json +30 -0
  56. package/evals/fixtures/forms-accessibility-negative.json +29 -0
  57. package/evals/fixtures/forms-validation.json +53 -0
  58. package/evals/fixtures/game-go-ebitengine.json +49 -0
  59. package/evals/fixtures/game-godot-gdscript.json +49 -0
  60. package/evals/fixtures/game-ui-hud-and-engines.json +43 -0
  61. package/evals/fixtures/handoff-fidelity-tolerance.json +29 -0
  62. package/evals/fixtures/i18n-engineering.json +53 -0
  63. package/evals/fixtures/local-first-sync.json +53 -0
  64. package/evals/fixtures/lynxjs.json +53 -0
  65. package/evals/fixtures/maizzle-email.json +53 -0
  66. package/evals/fixtures/maps-geospatial.json +53 -0
  67. package/evals/fixtures/media-og-and-video-export.json +43 -0
  68. package/evals/fixtures/media-players.json +53 -0
  69. package/evals/fixtures/mobile-compose-16kb-foldable-store-gate.json +44 -0
  70. package/evals/fixtures/mobile-elixir-liveview-native.json +49 -0
  71. package/evals/fixtures/mobile-flutter-dynamic-type.json +49 -0
  72. package/evals/fixtures/mobile-harmonyos-arkui.json +49 -0
  73. package/evals/fixtures/mobile-jetpack-compose.json +49 -0
  74. package/evals/fixtures/mobile-swiftui-ios.json +49 -0
  75. package/evals/fixtures/motion-engineering.json +69 -0
  76. package/evals/fixtures/pdfjs-and-pptx.json +53 -0
  77. package/evals/fixtures/plan-brownfield-evidence.json +28 -0
  78. package/evals/fixtures/plan-discovery-interview.json +31 -0
  79. package/evals/fixtures/plan-grill-me-brainstorm-gate.json +49 -0
  80. package/evals/fixtures/reactive-data-apps.json +53 -0
  81. package/evals/fixtures/review-evidence-audit.json +43 -0
  82. package/evals/fixtures/rich-text-and-code-editors.json +53 -0
  83. package/evals/fixtures/scrollytelling-resilience.json +70 -0
  84. package/evals/fixtures/spatial-xr-comfort-and-platforms.json +43 -0
  85. package/evals/fixtures/state-architecture.json +53 -0
  86. package/evals/fixtures/styling-ecosystem.json +53 -0
  87. package/evals/fixtures/token-tooling.json +53 -0
  88. package/evals/fixtures/tui-go-bubbletea.json +49 -0
  89. package/evals/fixtures/tui-rust-ratatui-grapheme-paste-teardown.json +44 -0
  90. package/evals/fixtures/tui-rust-ratatui.json +49 -0
  91. package/evals/fixtures/ux-state-matrix-and-i18n.json +43 -0
  92. package/evals/fixtures/visual-qa-task-evidence.json +29 -0
  93. package/evals/fixtures/web-3d-engines.json +53 -0
  94. package/evals/fixtures/web-php-laravel-filament.json +49 -0
  95. package/evals/fixtures/web-ruby-viewcomponent-phlex.json +49 -0
  96. package/evals/fixtures/workflow-checkpoints.json +30 -0
  97. package/evals/pixelcraft-accessibility.md +74 -0
  98. package/evals/pixelcraft-brandkit.md +58 -0
  99. package/evals/pixelcraft-chat-ui.md +55 -0
  100. package/evals/pixelcraft-constrained.md +55 -0
  101. package/evals/pixelcraft-craft.md +76 -0
  102. package/evals/pixelcraft-data-apps.md +55 -0
  103. package/evals/pixelcraft-dataviz.md +59 -0
  104. package/evals/pixelcraft-desktop.md +55 -0
  105. package/evals/pixelcraft-direction.md +77 -0
  106. package/evals/pixelcraft-document.md +55 -0
  107. package/evals/pixelcraft-email.md +55 -0
  108. package/evals/pixelcraft-extensions.md +55 -0
  109. package/evals/pixelcraft-game-ui.md +59 -0
  110. package/evals/pixelcraft-handoff.md +57 -0
  111. package/evals/pixelcraft-media.md +55 -0
  112. package/evals/pixelcraft-mobile.md +59 -0
  113. package/evals/pixelcraft-patterns.md +73 -0
  114. package/evals/pixelcraft-plan.md +127 -0
  115. package/evals/pixelcraft-review.md +63 -0
  116. package/evals/pixelcraft-spatial.md +55 -0
  117. package/evals/pixelcraft-tokens.md +57 -0
  118. package/evals/pixelcraft-tui.md +55 -0
  119. package/evals/pixelcraft-ux.md +59 -0
  120. package/evals/pixelcraft-visual-qa.md +86 -0
  121. package/evals/pixelcraft-web.md +89 -0
  122. package/evals/pixelcraft.md +70 -0
  123. package/gemini-extension.json +6 -0
  124. package/install.ps1 +341 -0
  125. package/install.sh +512 -0
  126. package/package.json +91 -4
  127. package/plugin.json +29 -0
  128. package/scripts/build-adapters.mjs +288 -0
  129. package/scripts/build-release-archives.mjs +61 -0
  130. package/scripts/build-skill-zips.mjs +94 -0
  131. package/scripts/run-evals.mjs +397 -0
  132. package/scripts/sync-docs.mjs +381 -0
  133. package/scripts/test-build-adapters.mjs +61 -0
  134. package/scripts/test-cross-platform-qa.mjs +359 -0
  135. package/scripts/test-distribution.mjs +203 -0
  136. package/scripts/test-export-tokens.mjs +361 -0
  137. package/scripts/test-finish-gate.mjs +271 -0
  138. package/scripts/test-installers.mjs +216 -0
  139. package/scripts/test-release-archives.mjs +42 -0
  140. package/scripts/test-shoot.mjs +87 -0
  141. package/scripts/test-slop-scan.mjs +416 -0
  142. package/scripts/test-style-inventory.mjs +234 -0
  143. package/scripts/test-sync-docs.mjs +140 -0
  144. package/scripts/test-validate-skills.mjs +195 -0
  145. package/scripts/validate-skills.mjs +658 -0
  146. package/skills/pixelcraft/SKILL.md +155 -0
  147. package/skills/pixelcraft/references/design-brief.md +75 -0
  148. package/skills/pixelcraft/references/floor.md +90 -0
  149. package/skills/pixelcraft/references/report-template.md +49 -0
  150. package/skills/pixelcraft/references/stack-detection.md +226 -0
  151. package/skills/pixelcraft/references/surface-acceptance.md +52 -0
  152. package/skills/pixelcraft/references/workflow-checkpoints.md +71 -0
  153. package/skills/pixelcraft-accessibility/SKILL.md +54 -0
  154. package/skills/pixelcraft-accessibility/references/apg-patterns.md +64 -0
  155. package/skills/pixelcraft-accessibility/references/motion-canvas.md +57 -0
  156. package/skills/pixelcraft-accessibility/references/platforms.md +86 -0
  157. package/skills/pixelcraft-accessibility/references/verification.md +64 -0
  158. package/skills/pixelcraft-accessibility/references/wcag22-checks.md +99 -0
  159. package/skills/pixelcraft-brandkit/SKILL.md +127 -0
  160. package/skills/pixelcraft-brandkit/references/asset-pipeline.md +165 -0
  161. package/skills/pixelcraft-brandkit/references/brand-governance.md +82 -0
  162. package/skills/pixelcraft-brandkit/references/layouts.md +88 -0
  163. package/skills/pixelcraft-brandkit/references/logo-concepting.md +83 -0
  164. package/skills/pixelcraft-brandkit/references/logo-methods.md +97 -0
  165. package/skills/pixelcraft-brandkit/references/pixel-art-logos.md +82 -0
  166. package/skills/pixelcraft-brandkit/references/prompt-template.md +87 -0
  167. package/skills/pixelcraft-brandkit/references/qa-checklist.md +93 -0
  168. package/skills/pixelcraft-brandkit/references/visual-modes.md +123 -0
  169. package/skills/pixelcraft-chat-ui/SKILL.md +57 -0
  170. package/skills/pixelcraft-chat-ui/references/agentic-workspace.md +66 -0
  171. package/skills/pixelcraft-chat-ui/references/ai-ui-libraries.md +259 -0
  172. package/skills/pixelcraft-chat-ui/references/conversation-design.md +84 -0
  173. package/skills/pixelcraft-chat-ui/references/mobile-business-platforms.md +77 -0
  174. package/skills/pixelcraft-chat-ui/references/slack-discord.md +80 -0
  175. package/skills/pixelcraft-constrained/SKILL.md +52 -0
  176. package/skills/pixelcraft-constrained/references/specialized-hardware.md +90 -0
  177. package/skills/pixelcraft-constrained/references/tv-wearables.md +134 -0
  178. package/skills/pixelcraft-constrained/references/voice-ui.md +104 -0
  179. package/skills/pixelcraft-craft/SKILL.md +58 -0
  180. package/skills/pixelcraft-craft/references/color.md +125 -0
  181. package/skills/pixelcraft-craft/references/imagery-icons.md +37 -0
  182. package/skills/pixelcraft-craft/references/layout-quality.md +65 -0
  183. package/skills/pixelcraft-craft/references/layout.md +73 -0
  184. package/skills/pixelcraft-craft/references/motion.md +163 -0
  185. package/skills/pixelcraft-craft/references/typography.md +110 -0
  186. package/skills/pixelcraft-data-apps/SKILL.md +86 -0
  187. package/skills/pixelcraft-data-apps/references/ai-and-internal-data-apps.md +147 -0
  188. package/skills/pixelcraft-data-apps/references/dash.md +109 -0
  189. package/skills/pixelcraft-data-apps/references/evidence.md +90 -0
  190. package/skills/pixelcraft-data-apps/references/gradio.md +103 -0
  191. package/skills/pixelcraft-data-apps/references/julia-genie.md +89 -0
  192. package/skills/pixelcraft-data-apps/references/jupyter-widgets.md +91 -0
  193. package/skills/pixelcraft-data-apps/references/nicegui.md +102 -0
  194. package/skills/pixelcraft-data-apps/references/observable-framework.md +105 -0
  195. package/skills/pixelcraft-data-apps/references/panel.md +99 -0
  196. package/skills/pixelcraft-data-apps/references/r-shiny.md +124 -0
  197. package/skills/pixelcraft-data-apps/references/reactive-data-apps.md +186 -0
  198. package/skills/pixelcraft-data-apps/references/reflex.md +116 -0
  199. package/skills/pixelcraft-data-apps/references/shiny.md +110 -0
  200. package/skills/pixelcraft-data-apps/references/streamlit.md +113 -0
  201. package/skills/pixelcraft-dataviz/SKILL.md +60 -0
  202. package/skills/pixelcraft-dataviz/references/chart-choice.md +55 -0
  203. package/skills/pixelcraft-dataviz/references/color-accessibility.md +112 -0
  204. package/skills/pixelcraft-dataviz/references/encoding-tables-dashboards.md +107 -0
  205. package/skills/pixelcraft-dataviz/references/libraries.md +176 -0
  206. package/skills/pixelcraft-dataviz/references/maps-geospatial.md +159 -0
  207. package/skills/pixelcraft-dataviz/references/realtime-graphs-maps-scale.md +92 -0
  208. package/skills/pixelcraft-desktop/SKILL.md +93 -0
  209. package/skills/pixelcraft-desktop/references/appkit.md +92 -0
  210. package/skills/pixelcraft-desktop/references/avalonia.md +95 -0
  211. package/skills/pixelcraft-desktop/references/cpp-gui.md +129 -0
  212. package/skills/pixelcraft-desktop/references/electron.md +96 -0
  213. package/skills/pixelcraft-desktop/references/go-gui.md +83 -0
  214. package/skills/pixelcraft-desktop/references/gtk.md +97 -0
  215. package/skills/pixelcraft-desktop/references/javafx-swing.md +81 -0
  216. package/skills/pixelcraft-desktop/references/qt-pyside-qml.md +88 -0
  217. package/skills/pixelcraft-desktop/references/rust-gui.md +83 -0
  218. package/skills/pixelcraft-desktop/references/tauri.md +110 -0
  219. package/skills/pixelcraft-desktop/references/uno-platform.md +71 -0
  220. package/skills/pixelcraft-desktop/references/winui-wpf.md +98 -0
  221. package/skills/pixelcraft-desktop/references/working-context.md +84 -0
  222. package/skills/pixelcraft-direction/SKILL.md +120 -0
  223. package/skills/pixelcraft-direction/references/composition-library.md +84 -0
  224. package/skills/pixelcraft-direction/references/creative-brainstorming.md +72 -0
  225. package/skills/pixelcraft-direction/references/direction-card.md +64 -0
  226. package/skills/pixelcraft-direction/references/direction-scoring.md +76 -0
  227. package/skills/pixelcraft-direction/references/motion-identity.md +67 -0
  228. package/skills/pixelcraft-direction/references/movements.md +71 -0
  229. package/skills/pixelcraft-direction/references/reference-analysis.md +37 -0
  230. package/skills/pixelcraft-direction/references/repetition-history.md +75 -0
  231. package/skills/pixelcraft-direction/references/slop-fingerprints.md +83 -0
  232. package/skills/pixelcraft-direction/references/wildcards.md +47 -0
  233. package/skills/pixelcraft-document/SKILL.md +58 -0
  234. package/skills/pixelcraft-document/references/archetypes.md +106 -0
  235. package/skills/pixelcraft-document/references/pdf-tools.md +314 -0
  236. package/skills/pixelcraft-document/references/pdfjs-and-pptx.md +114 -0
  237. package/skills/pixelcraft-document/references/print-css.md +187 -0
  238. package/skills/pixelcraft-document/references/slides.md +198 -0
  239. package/skills/pixelcraft-email/SKILL.md +80 -0
  240. package/skills/pixelcraft-email/references/client-quirks.md +113 -0
  241. package/skills/pixelcraft-email/references/html-tables.md +114 -0
  242. package/skills/pixelcraft-email/references/maizzle.md +54 -0
  243. package/skills/pixelcraft-email/references/mjml.md +54 -0
  244. package/skills/pixelcraft-email/references/react-email.md +95 -0
  245. package/skills/pixelcraft-extensions/SKILL.md +56 -0
  246. package/skills/pixelcraft-extensions/references/browser-extensions.md +105 -0
  247. package/skills/pixelcraft-extensions/references/figma-office.md +106 -0
  248. package/skills/pixelcraft-extensions/references/ide-and-saas-plugins.md +125 -0
  249. package/skills/pixelcraft-extensions/references/raycast.md +98 -0
  250. package/skills/pixelcraft-extensions/references/vscode-webviews.md +100 -0
  251. package/skills/pixelcraft-game-ui/SKILL.md +80 -0
  252. package/skills/pixelcraft-game-ui/references/bevy.md +90 -0
  253. package/skills/pixelcraft-game-ui/references/godot.md +130 -0
  254. package/skills/pixelcraft-game-ui/references/hud-principles.md +67 -0
  255. package/skills/pixelcraft-game-ui/references/love2d.md +77 -0
  256. package/skills/pixelcraft-game-ui/references/monogame.md +68 -0
  257. package/skills/pixelcraft-game-ui/references/unity-ugui.md +109 -0
  258. package/skills/pixelcraft-game-ui/references/unity-ui-toolkit.md +107 -0
  259. package/skills/pixelcraft-game-ui/references/unreal-umg.md +80 -0
  260. package/skills/pixelcraft-game-ui/references/web-and-middleware-game-ui.md +122 -0
  261. package/skills/pixelcraft-handoff/SKILL.md +50 -0
  262. package/skills/pixelcraft-handoff/references/design-translation.md +134 -0
  263. package/skills/pixelcraft-handoff/references/fidelity-tolerance.md +78 -0
  264. package/skills/pixelcraft-handoff/references/motion-handoff.md +54 -0
  265. package/skills/pixelcraft-media/SKILL.md +49 -0
  266. package/skills/pixelcraft-media/references/banners-video.md +130 -0
  267. package/skills/pixelcraft-media/references/og-generation.md +154 -0
  268. package/skills/pixelcraft-media/references/social-cards.md +71 -0
  269. package/skills/pixelcraft-mobile/SKILL.md +86 -0
  270. package/skills/pixelcraft-mobile/references/dotnet-maui.md +91 -0
  271. package/skills/pixelcraft-mobile/references/flet.md +80 -0
  272. package/skills/pixelcraft-mobile/references/flutter.md +113 -0
  273. package/skills/pixelcraft-mobile/references/harmonyos-and-emerging-mobile.md +121 -0
  274. package/skills/pixelcraft-mobile/references/ionic-capacitor.md +87 -0
  275. package/skills/pixelcraft-mobile/references/jetpack-compose.md +129 -0
  276. package/skills/pixelcraft-mobile/references/kivy.md +82 -0
  277. package/skills/pixelcraft-mobile/references/kotlin-multiplatform.md +86 -0
  278. package/skills/pixelcraft-mobile/references/lynxjs.md +110 -0
  279. package/skills/pixelcraft-mobile/references/nativescript-and-skip.md +91 -0
  280. package/skills/pixelcraft-mobile/references/react-native-expo.md +106 -0
  281. package/skills/pixelcraft-mobile/references/swiftui.md +200 -0
  282. package/skills/pixelcraft-mobile/references/tactile-interactions.md +55 -0
  283. package/skills/pixelcraft-mobile/references/task-state-composition.md +85 -0
  284. package/skills/pixelcraft-mobile/references/uikit.md +92 -0
  285. package/skills/pixelcraft-patterns/SKILL.md +75 -0
  286. package/skills/pixelcraft-patterns/references/accessibility-resilience.md +29 -0
  287. package/skills/pixelcraft-patterns/references/ai-and-offline-patterns.md +54 -0
  288. package/skills/pixelcraft-patterns/references/auth-onboarding.md +44 -0
  289. package/skills/pixelcraft-patterns/references/billing-paywalls.md +40 -0
  290. package/skills/pixelcraft-patterns/references/command-workspace.md +56 -0
  291. package/skills/pixelcraft-patterns/references/commerce.md +47 -0
  292. package/skills/pixelcraft-patterns/references/communication.md +45 -0
  293. package/skills/pixelcraft-patterns/references/creative-tools.md +42 -0
  294. package/skills/pixelcraft-patterns/references/creative-web-composition.md +38 -0
  295. package/skills/pixelcraft-patterns/references/dashboard-admin.md +35 -0
  296. package/skills/pixelcraft-patterns/references/history-diff-undo.md +50 -0
  297. package/skills/pixelcraft-patterns/references/marketing.md +44 -0
  298. package/skills/pixelcraft-patterns/references/multi-tenant-rbac.md +47 -0
  299. package/skills/pixelcraft-patterns/references/narrative-systems.md +42 -0
  300. package/skills/pixelcraft-patterns/references/notifications-activity.md +57 -0
  301. package/skills/pixelcraft-patterns/references/pattern-selection.md +80 -0
  302. package/skills/pixelcraft-patterns/references/scheduling-kanban.md +47 -0
  303. package/skills/pixelcraft-patterns/references/scroll-implementation.md +37 -0
  304. package/skills/pixelcraft-patterns/references/search-filtering.md +42 -0
  305. package/skills/pixelcraft-patterns/references/settings.md +51 -0
  306. package/skills/pixelcraft-patterns/references/tables-crud.md +43 -0
  307. package/skills/pixelcraft-plan/SKILL.md +103 -0
  308. package/skills/pixelcraft-plan/references/design-input.md +69 -0
  309. package/skills/pixelcraft-plan/references/discovery-interview.md +110 -0
  310. package/skills/pixelcraft-plan/references/grill-me-protocol.md +63 -0
  311. package/skills/pixelcraft-plan/references/plan-template.md +134 -0
  312. package/skills/pixelcraft-plan/references/repo-discovery.md +49 -0
  313. package/skills/pixelcraft-plan/references/stack-freshness.md +67 -0
  314. package/skills/pixelcraft-plan/references/stack-selection.md +98 -0
  315. package/skills/pixelcraft-review/SKILL.md +86 -0
  316. package/skills/pixelcraft-review/references/audit-report.md +69 -0
  317. package/skills/pixelcraft-review/references/critique-protocol.md +89 -0
  318. package/skills/pixelcraft-review/references/heuristics.md +63 -0
  319. package/skills/pixelcraft-review/references/personas.md +53 -0
  320. package/skills/pixelcraft-review/references/polish.md +78 -0
  321. package/skills/pixelcraft-review/scripts/check-acceptance.mjs +619 -0
  322. package/skills/pixelcraft-review/scripts/fixtures/brand-critique-waivers.json +14 -0
  323. package/skills/pixelcraft-review/scripts/fixtures/brand-critique.css +18 -0
  324. package/skills/pixelcraft-review/scripts/fixtures/clean.html +43 -0
  325. package/skills/pixelcraft-review/scripts/fixtures/focus-after-block.css +4 -0
  326. package/skills/pixelcraft-review/scripts/fixtures/focus-at-rules.css +17 -0
  327. package/skills/pixelcraft-review/scripts/fixtures/focus-comments.css +10 -0
  328. package/skills/pixelcraft-review/scripts/fixtures/focus-html-quote-leak.html +12 -0
  329. package/skills/pixelcraft-review/scripts/fixtures/focus-invalid-replacements.css +27 -0
  330. package/skills/pixelcraft-review/scripts/fixtures/focus-longhand-removal.css +34 -0
  331. package/skills/pixelcraft-review/scripts/fixtures/focus-nested-rules.css +19 -0
  332. package/skills/pixelcraft-review/scripts/fixtures/focus-not-visible-skip.css +8 -0
  333. package/skills/pixelcraft-review/scripts/fixtures/focus-outline-shorthands.css +11 -0
  334. package/skills/pixelcraft-review/scripts/fixtures/focus-unknown-and-border.css +15 -0
  335. package/skills/pixelcraft-review/scripts/fixtures/focus-unknown-last-wins.css +19 -0
  336. package/skills/pixelcraft-review/scripts/fixtures/focus-valid-replacements-extended.css +29 -0
  337. package/skills/pixelcraft-review/scripts/fixtures/focus-visible-no-replacement.css +3 -0
  338. package/skills/pixelcraft-review/scripts/fixtures/focus-visible-valid-replacements.css +9 -0
  339. package/skills/pixelcraft-review/scripts/fixtures/slop.html +28 -0
  340. package/skills/pixelcraft-review/scripts/slop-scan.mjs +1233 -0
  341. package/skills/pixelcraft-spatial/SKILL.md +51 -0
  342. package/skills/pixelcraft-spatial/references/comfort-accessibility.md +39 -0
  343. package/skills/pixelcraft-spatial/references/platforms.md +147 -0
  344. package/skills/pixelcraft-tokens/SKILL.md +60 -0
  345. package/skills/pixelcraft-tokens/assets/tokens.example.json +71 -0
  346. package/skills/pixelcraft-tokens/assets/tokens.modes.example.json +47 -0
  347. package/skills/pixelcraft-tokens/references/adoption.md +55 -0
  348. package/skills/pixelcraft-tokens/references/format.md +84 -0
  349. package/skills/pixelcraft-tokens/references/governance.md +80 -0
  350. package/skills/pixelcraft-tokens/references/state-tokens.md +62 -0
  351. package/skills/pixelcraft-tokens/references/theme-presets.md +122 -0
  352. package/skills/pixelcraft-tokens/references/token-tooling.md +119 -0
  353. package/skills/pixelcraft-tokens/scripts/export-tokens.mjs +847 -0
  354. package/skills/pixelcraft-tui/SKILL.md +76 -0
  355. package/skills/pixelcraft-tui/references/bubbletea-lipgloss.md +79 -0
  356. package/skills/pixelcraft-tui/references/extended-tui-toolkits.md +127 -0
  357. package/skills/pixelcraft-tui/references/ink.md +109 -0
  358. package/skills/pixelcraft-tui/references/ratatui.md +102 -0
  359. package/skills/pixelcraft-tui/references/rich.md +82 -0
  360. package/skills/pixelcraft-tui/references/terminal-protocols.md +80 -0
  361. package/skills/pixelcraft-tui/references/textual.md +108 -0
  362. package/skills/pixelcraft-ux/SKILL.md +56 -0
  363. package/skills/pixelcraft-ux/references/cognitive-walkthrough.md +70 -0
  364. package/skills/pixelcraft-ux/references/feedback-performance.md +50 -0
  365. package/skills/pixelcraft-ux/references/flows-ia.md +44 -0
  366. package/skills/pixelcraft-ux/references/forms.md +151 -0
  367. package/skills/pixelcraft-ux/references/i18n.md +221 -0
  368. package/skills/pixelcraft-ux/references/laws.md +39 -0
  369. package/skills/pixelcraft-ux/references/locale-test-matrix.md +60 -0
  370. package/skills/pixelcraft-ux/references/state-matrix.md +53 -0
  371. package/skills/pixelcraft-ux/references/usability-testing.md +84 -0
  372. package/skills/pixelcraft-ux/references/ux-writing.md +44 -0
  373. package/skills/pixelcraft-visual-qa/SKILL.md +96 -0
  374. package/skills/pixelcraft-visual-qa/references/baseline-governance.md +70 -0
  375. package/skills/pixelcraft-visual-qa/references/capture-desktop-game.md +59 -0
  376. package/skills/pixelcraft-visual-qa/references/capture-document.md +70 -0
  377. package/skills/pixelcraft-visual-qa/references/capture-email.md +38 -0
  378. package/skills/pixelcraft-visual-qa/references/capture-mobile.md +50 -0
  379. package/skills/pixelcraft-visual-qa/references/capture-terminal.md +35 -0
  380. package/skills/pixelcraft-visual-qa/references/critique-rubric.md +71 -0
  381. package/skills/pixelcraft-visual-qa/references/finish-gate.md +35 -0
  382. package/skills/pixelcraft-visual-qa/references/measured-craft.md +30 -0
  383. package/skills/pixelcraft-visual-qa/references/motion-capture.md +63 -0
  384. package/skills/pixelcraft-visual-qa/references/performance-budgets.md +78 -0
  385. package/skills/pixelcraft-visual-qa/references/realtime-graphics.md +55 -0
  386. package/skills/pixelcraft-visual-qa/references/task-verification.md +81 -0
  387. package/skills/pixelcraft-visual-qa/scripts/check-contrast.mjs +442 -0
  388. package/skills/pixelcraft-visual-qa/scripts/check-email.mjs +397 -0
  389. package/skills/pixelcraft-visual-qa/scripts/check-pdf.mjs +189 -0
  390. package/skills/pixelcraft-visual-qa/scripts/check-tui.mjs +321 -0
  391. package/skills/pixelcraft-visual-qa/scripts/finish-gate.mjs +174 -0
  392. package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-aria-modal.html +19 -0
  393. package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-audit.html +34 -0
  394. package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-modal.html +17 -0
  395. package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory-deferred.js +1 -0
  396. package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory-edge.html +52 -0
  397. package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory.html +80 -0
  398. package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory.js +8 -0
  399. package/skills/pixelcraft-visual-qa/scripts/shoot.mjs +668 -0
  400. package/skills/pixelcraft-visual-qa/scripts/style-inventory.mjs +1226 -0
  401. package/skills/pixelcraft-web/SKILL.md +132 -0
  402. package/skills/pixelcraft-web/references/accessibility-performance.md +42 -0
  403. package/skills/pixelcraft-web/references/adaptive-layout.md +69 -0
  404. package/skills/pixelcraft-web/references/angular.md +108 -0
  405. package/skills/pixelcraft-web/references/assets-pipeline.md +67 -0
  406. package/skills/pixelcraft-web/references/astro.md +113 -0
  407. package/skills/pixelcraft-web/references/audio-reactive.md +61 -0
  408. package/skills/pixelcraft-web/references/auth-and-checkout-ui.md +115 -0
  409. package/skills/pixelcraft-web/references/build-and-architecture.md +215 -0
  410. package/skills/pixelcraft-web/references/canvas-and-node-editors.md +157 -0
  411. package/skills/pixelcraft-web/references/clojurescript.md +88 -0
  412. package/skills/pixelcraft-web/references/component-systems.md +102 -0
  413. package/skills/pixelcraft-web/references/component-testing.md +170 -0
  414. package/skills/pixelcraft-web/references/creative-effects.md +59 -0
  415. package/skills/pixelcraft-web/references/creative-runtime.md +34 -0
  416. package/skills/pixelcraft-web/references/elm.md +53 -0
  417. package/skills/pixelcraft-web/references/enterprise-data-ui.md +138 -0
  418. package/skills/pixelcraft-web/references/file-upload-media-ui.md +82 -0
  419. package/skills/pixelcraft-web/references/forms-validation.md +123 -0
  420. package/skills/pixelcraft-web/references/fsharp-fable.md +54 -0
  421. package/skills/pixelcraft-web/references/gsap.md +102 -0
  422. package/skills/pixelcraft-web/references/html-css.md +220 -0
  423. package/skills/pixelcraft-web/references/htmx-alpine.md +103 -0
  424. package/skills/pixelcraft-web/references/i18n-engineering.md +106 -0
  425. package/skills/pixelcraft-web/references/interaction-and-search-primitives.md +196 -0
  426. package/skills/pixelcraft-web/references/java-web.md +61 -0
  427. package/skills/pixelcraft-web/references/kotlin-web.md +57 -0
  428. package/skills/pixelcraft-web/references/leptos-yew.md +97 -0
  429. package/skills/pixelcraft-web/references/lit-web-components.md +63 -0
  430. package/skills/pixelcraft-web/references/local-first-sync.md +105 -0
  431. package/skills/pixelcraft-web/references/media-players.md +104 -0
  432. package/skills/pixelcraft-web/references/motion-react.md +96 -0
  433. package/skills/pixelcraft-web/references/motion-recipes.md +82 -0
  434. package/skills/pixelcraft-web/references/preact-fresh-hono.md +111 -0
  435. package/skills/pixelcraft-web/references/pwa.md +230 -0
  436. package/skills/pixelcraft-web/references/qwik.md +94 -0
  437. package/skills/pixelcraft-web/references/r3f-integration.md +69 -0
  438. package/skills/pixelcraft-web/references/react-next.md +168 -0
  439. package/skills/pixelcraft-web/references/rendering-choice.md +63 -0
  440. package/skills/pixelcraft-web/references/rendering-performance.md +80 -0
  441. package/skills/pixelcraft-web/references/rich-text-and-code-editors.md +220 -0
  442. package/skills/pixelcraft-web/references/rive-lottie.md +73 -0
  443. package/skills/pixelcraft-web/references/scala-laminar.md +53 -0
  444. package/skills/pixelcraft-web/references/scene-architecture.md +132 -0
  445. package/skills/pixelcraft-web/references/server-rendered.md +114 -0
  446. package/skills/pixelcraft-web/references/shader-workflow.md +77 -0
  447. package/skills/pixelcraft-web/references/smooth-scroll.md +58 -0
  448. package/skills/pixelcraft-web/references/solid.md +111 -0
  449. package/skills/pixelcraft-web/references/state-architecture.md +107 -0
  450. package/skills/pixelcraft-web/references/styling-ecosystem.md +273 -0
  451. package/skills/pixelcraft-web/references/svelte.md +111 -0
  452. package/skills/pixelcraft-web/references/tailwind.md +99 -0
  453. package/skills/pixelcraft-web/references/video-media.md +69 -0
  454. package/skills/pixelcraft-web/references/vue-nuxt.md +86 -0
  455. package/skills/pixelcraft-web/references/web-3d-engines.md +97 -0
package/README.md CHANGED
@@ -1,3 +1,265 @@
1
- # Temporary Holding Version
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>
2
4
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
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>
14
+
15
+ # Pixelcraft
16
+
17
+ Portable Agent Skills for distinctive, evidence-verified UI and rigorous UX across **21 programming languages** and **13 rendering surfaces**.
18
+
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.
20
+
21
+ > **[Explore the live multi-stack showcase & 22 before/after proof exhibits →](https://thanhnguyxnorg.github.io/Pixelcraft/)**
22
+
23
+ ---
24
+
25
+ ## Quick Start
26
+
27
+ | Method | Command | Best for |
28
+ |---|---|---|
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 |
35
+
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)**.
37
+
38
+ ---
39
+
40
+ ## What makes Pixelcraft different
41
+
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.
47
+
48
+ ---
49
+
50
+ ## The Pixelcraft loop
51
+
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"]
60
+ ```
61
+
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.
63
+
64
+ Full specification: [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md) and [`docs/DESIGN-RATIONALE.md`](docs/DESIGN-RATIONALE.md).
65
+
66
+ ---
67
+
68
+ ## The 26 skills
69
+
70
+ Organized into **5 architectural layers**. Every folder under `skills/<name>/` is completely self-contained and independently installable.
71
+
72
+ ### 1. Plan & Orchestrate (3)
73
+
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 |
79
+
80
+ ### 2. Core Craft & Design System (5)
81
+
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 |
89
+
90
+ ### 3. Domain Patterns & DataViz (2)
91
+
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 |
96
+
97
+ ### 4. Platform & Channel Surfaces (13)
98
+
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)
116
+
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 |
122
+
123
+ ---
124
+
125
+ ## Supported stacks & 21-language routing
126
+
127
+ <details>
128
+ <summary><strong>Expand full 21-language → skill routing matrix</strong></summary>
129
+
130
+ | Language | Frameworks / surfaces | Pixelcraft skill → reference |
131
+ |---|---|---|
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
+ ---
157
+
158
+ ## Example prompts
159
+
160
+ ```text
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.
162
+ ```
163
+
164
+ ```text
165
+ Audit this checkout flow with pixelcraft-review. Separate floor violations from polish findings and label rendered evidence versus static inference.
166
+ ```
167
+
168
+ ```text
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.
170
+ ```
171
+
172
+ ```text
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.
174
+ ```
175
+
176
+ ```text
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.
178
+ ```
179
+
180
+ ---
181
+
182
+ ## CLI & runnable verification tools
183
+
184
+ All scripts are zero-dependency Node.js (`>=18`) `.mjs` files supporting `--help`.
185
+
186
+ ### Developer CLI (`bin/pixelcraft.mjs`)
187
+
188
+ ```bash
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
196
+ ```
197
+
198
+ ### 10 zero-dependency QA & token scripts
199
+
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` |
211
+
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.
213
+
214
+ ### Repository validation, test suites & offline evals
215
+
216
+ ```bash
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
222
+ ```
223
+
224
+ ---
225
+
226
+ ## Repository layout
227
+
228
+ ```text
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
248
+ ```
249
+
250
+ ---
251
+
252
+ ## Roadmap
253
+
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.
258
+
259
+ ---
260
+
261
+ ## Contributing, security & license
262
+
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).
package/SECURITY.md ADDED
@@ -0,0 +1,28 @@
1
+ # Security Policy
2
+
3
+ ## Supported Versions
4
+
5
+ Security fixes apply to the latest release on the `main` branch (`0.1.x`).
6
+
7
+ ## Scope
8
+
9
+ Pixelcraft is a portable Agent Skills pack with zero-dependency Node.js, Bash, and PowerShell installers plus static verification scripts. Security-relevant areas include:
10
+
11
+ - **Installers (`bin/pixelcraft.mjs`, `install.sh`, `install.ps1`):** path traversal, symlink/reparse-point handling, archive extraction safety, unintended overwrites, or command injection.
12
+ - **Verification scripts (`skills/*/scripts/*.mjs`):** local file server boundaries in `shoot.mjs` / `style-inventory.mjs` (dot-segment refusal, root scoping), archive/JSON parsing, and subprocess handling in `check-tui.mjs`.
13
+ - **Showcase website (`website/`):** static server (`serve.mjs`) path confinement and client-side XSS.
14
+
15
+ ## Reporting a Vulnerability
16
+
17
+ Please **do not** open a public GitHub issue for suspected security vulnerabilities.
18
+
19
+ 1. Use [GitHub Private Vulnerability Reporting](https://github.com/ThanhNguyxnOrg/Pixelcraft/security/advisories/new) on `ThanhNguyxnOrg/Pixelcraft` (preferred), or contact the maintainers via the organization profile.
20
+ 2. Include the affected file/command, reproduction steps, environment details (OS, Node/shell version), and impact.
21
+ 3. We aim to acknowledge reports within **72 hours** and share a remediation timeline or fix plan once confirmed.
22
+
23
+ ## Installer Safety Guarantees
24
+
25
+ - Installers never invoke `sudo` or request privilege escalation.
26
+ - Installers default to **project scope** and refuse symlinked or reparse-point target skill directories.
27
+ - Existing skill folders are skipped unless `--force` (`-Force`) is explicitly passed for requested skills.
28
+ - Use `--dry-run` (`-DryRun`) before writing files and pin `--ref <tag|commit-sha>` in automated setups.
@@ -0,0 +1,28 @@
1
+ # Pixelcraft brand assets
2
+
3
+ The supplied PixelCraft artwork is the source for these assets. Use the ready-to-publish exports for new placements; keep the source artwork for larger crops or future exports.
4
+
5
+ | Asset | Dimensions | Use |
6
+ |---|---:|---|
7
+ | [Source logo](originals/pixelcraft-logo.png) | 1254 × 1254 | Transparent source artwork |
8
+ | [Source theme](originals/pixelcraft-theme.png) | 1672 × 941 | Full composition with wordmark and tagline |
9
+ | [Banner](pixelcraft-banner.png) | 1120 × 630 | Repository README and documentation headers |
10
+ | Logo: [512](pixelcraft-logo-512.png), [256](pixelcraft-logo-256.png), [128](pixelcraft-logo-128.png) | Square | Transparent logo in three sizes for avatars and marks |
11
+ | Favicon: [ICO](pixelcraft-favicon.ico), [PNG](pixelcraft-logo-32.png) | 32 × 32 | Browser tabs and other small placements |
12
+ | [Social preview](pixelcraft-social-preview.png) | 1280 × 640 | GitHub repository social preview; upload in repository settings to activate it |
13
+
14
+ ## Palette
15
+
16
+ Representative colors sampled from the supplied artwork, not semantic UI tokens:
17
+
18
+ | Color | Hex | Role in the artwork |
19
+ |---|---|---|
20
+ | Midnight navy | `#01072A` | Theme background |
21
+ | Deep navy | `#020835` | Logo outlines and inner field |
22
+ | Electric cyan | `#03F0ED` | Code glyph and cool highlights |
23
+ | Bright blue | `#028BF3` | Cool-side shading |
24
+ | Violet | `#6E25FA` | Gear and transition accents |
25
+ | Neon magenta | `#F908F5` | Warm-side gear highlights |
26
+ | Signal orange | `#FC9126` | Upper-right pixel accents |
27
+
28
+ Keep the transparent logo on a background that separates its navy silhouette. Treat the bright colors as accents, and check contrast for any text or controls that use them.
Binary file
Binary file
Binary file