@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
@@ -29,32 +29,36 @@ The architecture has five layers: **Plan** (`pixelcraft-plan`), **Core** (orches
29
29
 
30
30
  | Skill | Role |
31
31
  |---|---|
32
- | `pixelcraft` | Orchestrator: detect stack + surface mode, run the loop, route to other skills, final report contract |
33
- | `pixelcraft-plan` | Step 0: brownfield repo discovery, greenfield requirements intake, weighted stack selection, `.pixelcraft/plan.md` consumed by later skills |
34
- | `pixelcraft-direction` | Divergence engine: brief/material extraction, verbalized-sampling directions, movement catalog, signature element, slop fingerprints, history |
35
- | `pixelcraft-craft` | Visual craft: typography, color (OKLCH, contrast), layout/composition, motion, imagery, iconography |
36
- | `pixelcraft-tokens` | DTCG 2025.10 tokens, theming/modes, export to CSS/Tailwind/Swift/Compose/Flutter/Python/Qt/Textual |
37
- | `pixelcraft-ux` | UX before and during build: JTBD, flows, IA, full state coverage, forms, feedback, navigation, cognitive load, i18n, UX writing |
38
- | `pixelcraft-patterns` | Patterns layer: surface-independent dashboards/admin, commerce, creative tools, communication, auth/onboarding, marketing, settings, search/filtering, tables/CRUD |
39
- | `pixelcraft-dataviz` | Patterns layer for evidence communication: chart choice, encoding, color/accessibility, tables/dashboards, streaming, node graphs, maps, rendering scale, cross-language libraries |
40
- | `pixelcraft-accessibility` | WCAG 2.2 floor + platform translations (HIG, Material, desktop, TUI, email, game) and verification split |
41
- | `pixelcraft-review` | Audit / critique / polish: heuristic scoring with evidence + confidence, persona walkthroughs, slop scan script |
42
- | `pixelcraft-visual-qa` | Quality-layer render/screenshot/critique/fix loop, cross-surface capture guidance, contrast/overflow/clipping evidence, performance budgets |
43
- | `pixelcraft-extensions` | Host-constrained extension/plugin surfaces: MV3 browser UI, content-script Shadow DOM, VS Code webviews, Raycast, Figma/Office |
44
- | `pixelcraft-web` | HTML/CSS, React/Next, Vue/Nuxt, Svelte, Solid, Angular, Astro, Qwik, htmx/Alpine, Lit, server-rendered (Rails, Laravel, Django, Phoenix, Blazor, templ), Rust/Kotlin/Elm/Clojure/F#/Scala/Java web |
45
- | `pixelcraft-mobile` | SwiftUI, UIKit, Jetpack Compose, Flutter, React Native/Expo, KMP, Ionic, .NET MAUI, Flet, Kivy |
46
- | `pixelcraft-data-apps` | Streamlit, Gradio, Reflex, NiceGUI, Dash, Panel, Shiny, Jupyter widgets, R Shiny, Julia Genie, Observable Framework, Evidence |
47
- | `pixelcraft-desktop` | Tauri, Electron, Qt/PySide/QML, WinUI/WPF, AppKit, GTK, Avalonia, Rust GUIs, JavaFX/Swing, C++ Qt/ImGui/wx, Go GUI, Uno |
48
- | `pixelcraft-tui` | Textual, Rich, Ink, Bubble Tea, Ratatui |
49
- | `pixelcraft-email` | HTML email / MJML / React Email: tables, inline CSS, dark mode, image blocking, plaintext parity |
50
- | `pixelcraft-document` | Print/paged-media surface: print CSS, PDF toolchains, invoices/reports/CVs, slide decks, physical typography and final-artifact verification |
51
- | `pixelcraft-media` | External media surface: social cards/OG generation, SVG banners, platform safe zones, thumbnail legibility, motion/video export constraints |
52
- | `pixelcraft-chat-ui` | Messaging/conversation surface: host-native cards, keyboards, modals, mini apps, payload limits, privacy, fallback and interaction lifecycle |
53
- | `pixelcraft-constrained` | Hardware/input-constrained surfaces: TV/wearables/e-ink/kiosk/embedded/automotive/voice, spatial focus, glanceability, physical safety and budgets |
54
- | `pixelcraft-handoff` | Design-to-code bridge: approved-design translation, variables/modes, existing-component reuse, missing states and measured fidelity |
55
- | `pixelcraft-spatial` | XR/spatial surface: visionOS/WebXR/Quest/Unity XRI, depth/ergonomics, locomotion comfort, spatial privacy, legibility and accessibility |
56
- | `pixelcraft-game-ui` | Unity UI Toolkit, Godot, Unreal UMG, LÖVE2D, Bevy, MonoGame: HUD legibility, controller nav, safe areas, localization |
57
- | `pixelcraft-brandkit` | Premium brand-kit / identity-board image generation (art direction for image models) |
32
+ | `pixelcraft` | Orchestrator: detect stack + surface mode, enforce anti-laziness iron laws, run the loop, route to other skills, final report contract |
33
+ | `pixelcraft-plan` | Step 0: brownfield repo discovery, greenfield intake, Grill-Me Socratic interview (one question at a time with recommendations), lazy-default rejection & sub-stack library craft gate, `.pixelcraft/plan.md` |
34
+ | `pixelcraft-direction` | Divergence & creative brainstorming engine: brief/material extraction, 3-tier ambition pitch, ASCII wireframe + real-copy draft, pre-code Design Approval gate, movements, motion identity, slop fingerprints, history |
35
+ | `pixelcraft-craft` | Visual craft: typography, color (OKLCH, contrast), layout/composition, motion language, imagery, iconography |
36
+ | `pixelcraft-tokens` | DTCG 2025.10 tokens (`$root`, `$deprecated`, Resolver), Style Dictionary/Terrazzo/Figma MCP, theming/modes, zero-dep export to 19 targets (CSS/Tailwind/SCSS/TS/Swift/Kotlin/Android XML/Dart/Python/Qt/Textual/XAML/Rust/Go Lip Gloss/Godot/Unity USS/Slint/GTK4/Typst) |
37
+ | `pixelcraft-ux` | UX before and during build: JTBD, IA/flow divergence, full state coverage (incl. AI/streaming), forms, feedback, navigation, cognitive load, i18n, UX writing |
38
+ | `pixelcraft-patterns` | Patterns layer: dashboards/admin, commerce, SaaS billing/paywalls, multi-tenant/RBAC/audit logs, notifications/inbox, scheduling/Kanban, history/diff/undo, AI-in-app & offline sync, creative tools, communication, auth/onboarding, marketing, scrollytelling, settings, search/filtering, tables/CRUD, sub-stack library escalation |
39
+ | `pixelcraft-dataviz` | Patterns layer for evidence communication: chart choice, encoding, color/accessibility, tables/dashboards, streaming, node graphs, maps/PMTiles/Turf, BI plugins (Grafana/Superset), rendering scale, cross-language libraries |
40
+ | `pixelcraft-accessibility` | WCAG 2.2 floor + platform translations (incl. AccessKit), native HTML APG replacements, reduced-motion, canvas/graphics alternatives, media controls, and verification split |
41
+ | `pixelcraft-review` | Adversarial audit / critique / polish: heuristic + DIY-slop scoring with evidence + confidence, persona walkthroughs, multi-language slop scan script (`--fail-on`) |
42
+ | `pixelcraft-visual-qa` | Quality-layer render/screenshot/video/trace/critique/fix loop, surface-typed `finish-gate.mjs`, and cross-platform zero-dep CLIs (`check-contrast`, `check-email`, `check-tui`, `check-pdf`) |
43
+ | `pixelcraft-extensions` | Host-constrained extension/plugin surfaces: MV3 browser UI (WXT/Plasmo/Safari), content-script Shadow DOM, VS Code webviews/Chat/MCP, Raycast, Figma plugins/widgets, Office, JetBrains, Obsidian, Shopify/Forge |
44
+ | `pixelcraft-web` | HTML/CSS/JS & non-JS web frameworks (incl. Filament, Symfony UX, WordPress Gutenberg, ViewComponent/Phlex, MudBlazor/FluentUI Blazor, Gomponents, Jaspr), styling/component/interaction-search primitives (`cmdk`/`vaul`/`sonner`/`embla`/Pagefind/Orama), editors, grids, sync, GSAP/Motion/Theatre.js/Spline/Three.js/WebGPU, and browser media players |
45
+ | `pixelcraft-mobile` | SwiftUI (incl. TCA), UIKit, Jetpack Compose, Flutter, React Native/Expo, LynxJS, KMP, NativeScript/Skip, HarmonyOS ArkUI/ArkTS, Elixir LiveView Native, Taro/uni-app, Ionic/Capacitor, .NET MAUI, Flet, Kivy |
46
+ | `pixelcraft-data-apps` | Streamlit, Gradio, marimo/Solara/Mesop/Taipy (Polars/Narwhals), Chainlit/FastHTML/Preswald/internal tools, Reflex, NiceGUI, Dash, Panel, Shiny, Jupyter/AnyWidget, R Shiny, Julia Genie, Observable Framework, Evidence |
47
+ | `pixelcraft-desktop` | Tauri v2, Electron/Electrobun, Qt 6/PySide6/PyQt6/QML (anti-Tkinter guard), WinUI 3/WPF, AppKit/SwiftUI macOS, GTK4/libadwaita, Avalonia, Rust GUIs (GPUI/Slint/Dioxus/Iced/`libcosmic`/Vizia/egui), JavaFX/Swing, C++/Zig GUI (incl. JUCE audio/GTKmm/Nuklear), Go GUI (Wails v3/Fyne/Gio), Uno |
48
+ | `pixelcraft-tui` | Textual, Rich, Ink, Bubble Tea v2/Lip Gloss v2, Ratatui, Terminal.Gui v2, Spectre.Console, prompt_toolkit, OpenTUI, FTXUI, CLI prompts, and modern terminal protocols |
49
+ | `pixelcraft-email` | HTML tables, MJML, React Email, Maizzle, Vue Email: Classic & New Outlook, Gmail 102 KB limits, dark mode, image blocking, BIMI, plaintext parity |
50
+ | `pixelcraft-document` | Print/paged-media surface: print CSS, Typst/LaTeX/WeasyPrint/Paged.js/Playwright PDF/Gotenberg/React-PDF/`pdf-lib`/Quarto, PDF.js/PptxGenJS, invoices/reports/CVs, slide decks, PDF/UA verification |
51
+ | `pixelcraft-media` | External media surface: social cards/OG generation (Satori/Takumi/Resvg/Sharp/Playwright), SVG banners, platform safe zones, thumbnail legibility, Remotion/Motion Canvas/Revideo/FFmpeg export |
52
+ | `pixelcraft-chat-ui` | Conversational surfaces across two tracks: host-constrained messaging/mini apps (Slack/Discord/Telegram/Zalo/WhatsApp/Teams/LINE/WeChat) and app-owned AI/agentic workspaces (Vercel AI SDK, assistant-ui, CopilotKit, AG-UI, MCP Apps, OpenAI Apps SDK, A2UI, LangGraph) |
53
+ | `pixelcraft-constrained` | Hardware/input-constrained surfaces: TV (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) |
54
+ | `pixelcraft-handoff` | Design-to-code bridge: Figma MCP/Code Connect/Variables, Penpot, approved-design translation, existing-component reuse, motion handoff, missing states and measured fidelity |
55
+ | `pixelcraft-spatial` | XR/spatial surface: visionOS 2/26, Android XR, Meta Horizon OS/Spatial SDK, WebXR (`@react-three/xr` v6/Wonderland/Needle), Unity XRI, Unreal OpenXR — embodied input, depth/ergonomics, comfort, privacy, accessibility |
56
+ | `pixelcraft-game-ui` | Unity UI Toolkit & uGUI, Godot (GDScript/C#), Unreal UMG/CommonUI/MVVM, LÖVE2D, Bevy, MonoGame, Ebitengine, Macroquad, Flame, Pygame/Arcade, HTML5/middleware game UI (Phaser/PixiJS/NoesisGUI/RmlUi/Dear ImGui/Raylib/SDL3) |
57
+ | `pixelcraft-brandkit` | Brand-kit / identity-board image generation, logo methods, governance, small-size icon pipelines, and token handoff |
58
+
59
+ ### Creative engineering ownership
60
+
61
+ Creative engineering extends existing skills rather than creating a parallel catalog. `pixelcraft-craft` owns motion design intent; `pixelcraft-web` owns browser runtimes and implementation (GSAP/Motion/Lenis/Theatre.js/Spline, 3D engines including Three.js/R3F/Babylon/PlayCanvas/Threlte/TresJS/`<model-viewer>`, Canvas/PixiJS/WebGL/WebGPU/TSL, interaction/search primitives, and browser audio/video players); `pixelcraft-patterns` owns narrative/scrollytelling and pattern-to-library escalation; `pixelcraft-direction` owns creative brainstorming, pre-code design sign-off, and evidence-based reference analysis; `pixelcraft-accessibility` owns motion/canvas/media alternatives; `pixelcraft-visual-qa` owns timeline, device, contrast, TUI, email, and PDF evidence; `pixelcraft-handoff` owns motion specifications. `pixelcraft-spatial` stays focused on embodied XR/VR/AR rather than ordinary browser 3D; `pixelcraft-media` stays focused on external image/social/video asset generation rather than embedded browser players.
58
62
 
59
63
  Each skill is self-contained (installable alone). Skills refer to each other **by name**
60
64
  ("use the `pixelcraft-ux` skill"), never by relative path across skill folders.
@@ -63,16 +67,14 @@ many stacks via progressive disclosure.
63
67
 
64
68
  ## The Pixelcraft loop (owned by `pixelcraft`)
65
69
 
66
- 0. **Plan** – `pixelcraft-plan`: brownfield repo map or greenfield constraints/stack decision in `.pixelcraft/plan.md`.
70
+ 0. **Plan** – `pixelcraft-plan`: brownfield repo map, optional Grill-Me one-question-at-a-time discovery, lazy-default rejection & sub-stack library craft gate in `.pixelcraft/plan.md`.
67
71
  1. **Frame** – stack + surface detection, mode (Persuade / Operate / Read / Experience / Play /
68
72
  Communicate), audience, job-to-be-done, real material inventory, existing design system.
69
- 2. **Diverge** – `pixelcraft-direction`: 3–5 directions with probabilities, scored; pick; log why
70
- others lost; check history.
73
+ 2. **Diverge** – `pixelcraft-direction`: 3–5 directions across IA, visual posture, and craft ambition with ASCII wireframes and real-copy drafts; pre-code Design Approval gate; check history.
71
74
  3. **Specify** – direction card + tokens (`pixelcraft-tokens`) + UX plan (flows + state matrix,
72
75
  `pixelcraft-ux`).
73
- 4. **Build** – via the platform skill; floor rules applied by default, not repaired later.
74
- 5. **Verify** – `pixelcraft-review` plus `pixelcraft-visual-qa`: slop scan, a11y checks, rendered screenshots/captures where possible,
75
- heuristic critique, persona walkthrough, performance-budget evidence.
76
+ 4. **Build** – via the platform skill; floor rules and zero-stub discipline applied by default, not repaired later.
77
+ 5. **Verify** – `pixelcraft-review` plus `pixelcraft-visual-qa`: adversarial defect-hunt, multi-language slop scan, WCAG+APCA contrast & surface checks (`check-email`/`check-tui`/`check-pdf`), rendered screenshots/captures, finish gate.
76
78
  6. **Report** – what was verified and how, open risks, decisions.
77
79
 
78
80
  ## Conventions for SKILL.md
@@ -90,13 +92,14 @@ many stacks via progressive disclosure.
90
92
 
91
93
  ```
92
94
  skills/<skill>/SKILL.md, references/, scripts/, assets/
93
- bin/pixelcraft.mjs # zero-dependency installer CLI and wizard
95
+ bin/pixelcraft.mjs # zero-dependency CLI (add, list, doctor, remove, init-router, check, wizard)
94
96
  install.sh, install.ps1 # Node-free shell and PowerShell installers
95
- scripts/ # validator, adapter builder, and contract tests
96
- evals/ # 26 behavioural eval guides + JSON fixtures
97
+ scripts/ # validator, adapter builder, offline eval runner, and contract tests
98
+ evals/ # 26 behavioural eval guides + 72 multi-language JSON fixtures (26/26 skills)
99
+ website/ # multi-stack showcase site and 6-exhibit gallery capture scripts
97
100
  assets/ # brand artwork and icons
98
- docs/ARCHITECTURE.md, docs/DESIGN-RATIONALE.md
101
+ docs/ARCHITECTURE.md, docs/DESIGN-RATIONALE.md, docs/INSTALL.md
99
102
  plugin.json, gemini-extension.json
100
103
  .claude-plugin/, .agents/plugins/
101
- .github/workflows/ # CI validation and tag-release workflows
104
+ .github/workflows/ # CI validation, website deploy, and tag-release workflows
102
105
  ```
@@ -14,6 +14,14 @@ Public standards and platform guidelines such as WCAG 2.2, WAI-ARIA, Apple Human
14
14
 
15
15
  The design brief and evidence classification exist because agents otherwise mix user facts, repository observations, visual-source inference, research, assumptions, and unknowns into one confident narrative. Keeping those classes separate makes escalation and waiver decisions auditable without requiring a heavyweight requirements process.
16
16
 
17
+ ## Discovery without compulsory questionnaires
18
+
19
+ **Rule:** distinguish planning from discovery. Always gather enough evidence to plan safely, but interview the user only when they ask for help shaping the idea or when an unresolved decision could materially change product scope, outcome, platform, architecture, data, or major constraints.
20
+
21
+ **Why:** agents can discover repository facts, current APIs, dependencies, and existing conventions themselves. The user should not have to repeat those facts or choose technology without understanding its consequences. At the same time, a vague product idea cannot be made precise by silently filling every gap with model assumptions.
22
+
23
+ **Trade-off:** too little questioning hides important product decisions; too much questioning turns simple work into bureaucracy and makes users do the agent's research. Pixelcraft therefore uses an adaptive interview: ask about the highest-impact unknown, present a small set of credible options with a recommendation and trade-offs, respect user ownership of priorities, and stop when the plan is actionable. Complete briefs and scoped fixes use a direct path. Durable decisions are recorded in existing plan/brief artifacts; ADRs and glossaries are created only when their specific value justifies them.
24
+
17
25
  ## Authority order
18
26
 
19
27
  **Rule:** the explicit user brief outranks project conventions; project conventions outrank platform defaults; platform and legal constraints outrank Pixelcraft guidance; model taste is last.
@@ -94,11 +102,11 @@ Governance, state matrices, and adoption guidance exist because a token file is
94
102
 
95
103
  ## Visual QA and verification
96
104
 
97
- **Rule:** claims must carry evidence labels. Rendered inspection, screenshots, overlays, measurements, accessibility checks, and performance evidence outrank compile success or confident prose.
105
+ **Rule:** claims must carry evidence labels, and **Golden Evidence Rule (`Rule #0.3`)** forbids counting `static` or `model-judgment` as `pass` / accepted for visual appearance, measured performance budgets, or interactive/assistive accessibility requirements—those claims require `rendered` evidence, or must be recorded honestly as `not-checked` (with concrete environment reason) or `waived` (with explicit user authorization, scope, and consequence).
98
106
 
99
- **Why:** agents overestimate visual quality when they inspect only source code. Rendering exposes clipping, contrast failure, font fallback, motion cost, overflow, state mismatch, rasterization differences, and broken interaction.
107
+ **Why:** agents overestimate visual quality when they inspect only source code or judge screenshots heuristically without runtime measurements. Rendering and instrumentation expose clipping, contrast failure, font fallback, motion jank, overflow, state mismatch, rasterization differences, and broken assistive interaction that static source inspection systematically misses.
100
108
 
101
- **Trade-off:** verification is environment-dependent and sometimes impossible. Pixelcraft requires honest `not-checked` or `waived` labels instead of fabricated certainty.
109
+ **Trade-off:** verification is environment-dependent and sometimes impossible inside a headless sandbox. Pixelcraft requires honest `not-checked` (`PENDING_RENDERED_ENV`) or user-signed `waived` labels instead of fabricated certainty or downgraded static passes.
102
110
 
103
111
  Task-driven QA, critic calibration, fidelity tolerance, and screenshot-baseline governance exist because visual verification is itself fallible. A screenshot can look convincing while the task fails; model critique can hallucinate or degrade through iteration; pixel diffs can hide hard state failures; baselines can become meaningless when updated merely to pass. These rules preserve evidence provenance and stop conditions.
104
112
 
@@ -138,6 +146,46 @@ Brand governance exists because generated imagery is not yet a usable identity s
138
146
 
139
147
  **Trade-off:** measurements can be misread as targets or false proof. Pixelcraft therefore treats corpus ranges as calibration, labels heuristic extraction limits, and requires human inspection plus task verification. The goal is not imitation by number; it is preventing taste adjectives and celebrated surfaces from overriding evidence.
140
148
 
149
+ ## Creative engineering without skill sprawl
150
+
151
+ **Rule:** extend the existing skill that owns the design or platform concern before creating a new skill. Split only when a capability has an independent trigger, workflow, verification contract, and installation value that cannot stay coherent as a reference of an existing skill.
152
+
153
+ **Why:** motion, 3D, shaders, scrollytelling, and interactive media share browser/runtime constraints with existing craft, web, patterns, accessibility, and visual QA work. Parallel skills would duplicate routing and fragment source-of-truth.
154
+
155
+ **Trade-off:** reference files can become deep. Progressive disclosure keeps top-level skills concise while adding detailed implementation guidance without expanding the install catalog. A future standalone skill requires evidence of independent usage and an evaluation showing that the split improves behavior.
156
+
157
+ ## Anti-laziness enforcement, Grill-Me discovery, and pre-code sign-off
158
+
159
+ **Rule:** pair polite principles with adversarial Iron Laws, rationalization tables, concrete pre-submit checklists, one-question-at-a-time Grill-Me discovery for unresolved scope, and a pre-code Design Approval gate before implementing greenfield or undecided redesign work.
160
+
161
+ **Why:** under turn pressure, models systematically rationalize skipping planning, guessing vague requirements, leaving `// TODO` or empty click handlers, reusing one screenshot across breakpoints, and self-approving conventional templates. Explicit refusal tables and structural ASCII wireframes close those shortcuts without turning narrow bug fixes or approved handoffs into bureaucracy.
162
+
163
+ **Trade-off:** asking one targeted question per turn and confirming a direction card adds conversational turns on open briefs. Pixelcraft accepts that cost on greenfield and redesign work while preserving a direct execution path for narrowly scoped edits and approved specifications.
164
+
165
+ ## Stack and sub-stack library craft
166
+
167
+ **Rule:** reject path-of-least-resistance platform defaults (such as Tkinter for greenfield Python desktop, unjustified heavy WebViews, bare `print()` TUIs, `window.print()` PDFs, or Flexbox HTML emails) and resolve complex UI capabilities (rich text, code editors, large grids, maps, search, command palettes, drawers, toasts, carousels, drag-and-drop) to native platform primitives or vetted purpose-built libraries rather than fragile DIY substitutes.
168
+
169
+ **Why:** choosing a macro framework alone does not stop agents from hand-rolling broken `contenteditable` editors, static-pixel charts, or keyboard-trapping custom overlays. Escalating sub-stack capabilities during planning prevents structural defects that visual polish cannot repair.
170
+
171
+ **Trade-off:** purpose-built libraries add dependency evaluation and version verification work. Pixelcraft still prefers native HTML/OS primitives whenever they cover the interaction cleanly, escalating to specialized libraries only where native semantics fall short.
172
+
173
+ ## Invisible craft, composition safety, and release-grade delivery
174
+
175
+ **Rule:** pair macro aesthetic direction with frequency-calibrated interaction physics, optical geometry, dark-surface luminance elevation, input-method and script-shaping safety, and reproducible commercial release gates across every target stack.
176
+
177
+ **Why:** the distance between a convincing static mockup and a studio-grade product lives in sub-second, sub-pixel, and operational execution. High-frequency menus or command palettes that animate like ceremonial reveals feel sluggish by the twentieth repetition; asymmetric glyphs centered by bounding box appear off-axis; dark surfaces built by mechanical inversion or black drop shadows collapse into muddy halation; compact icon controls without expanded invisible hit-slop or diagonal submenu corridors punish ordinary pointer and touch travel; proportional numerals jitter live counters, timers, and financial columns. At the text-entry boundary, treating `Enter` as submit during active input-method (`IME`) composition corrupts Vietnamese Telex/VNI, Japanese Kana-to-Kanji, Korean Hangul, and Chinese Pinyin input, while unnormalized combining marks (`NFD` vs `NFC`) or incomplete font subsets produce mid-word fallback glyphs across Latin diacritics, CJK, and RTL scripts. Finally, an interface is not release-ready if a clean clone takes hours to boot, strict language-appropriate static analyzers or dependency vulnerability audits fail, staging shares production data, secrets leak into client artifacts, store or regulatory regimes (`EAA`, App Store, Google Play, `MV3`, `PDF/X-4`, `RFC 8058`) go unaddressed, or commercial font/media licenses, defect-warranty triage handoff, and root account credentials stay locked to the implementer.
178
+
179
+ **Trade-off:** micro-physical calibration, composition-aware input guards, and commercial handoff verification require discipline that a single happy-path screenshot never rewards. Pixelcraft accepts that cost because durable quality is judged on the hundredth daily interaction, across every writing system, and at the moment a client or engineering team takes legal and operational ownership of the build.
180
+
181
+ ## Completion gate, acceptance manifest, and scan-until-clean
182
+
183
+ **Rule:** bind a mandatory Definition-of-Done completion contract inside `.pixelcraft/plan.md` plus a structured `.pixelcraft/acceptance.json` manifest (`check-acceptance.mjs --init <platform>`) during planning, and enforce a hard `Phase 5 → Phase 6` exit gate requiring the agent to walk every applicable checklist (`floor.md`, the active platform skill's `Pre-submit checklist`, and `polish.md`) and run a `scan → fix → rescan` loop until all deterministic scanners (`slop-scan.mjs --fail-on p2`, `check-contrast.mjs`, `check-email.mjs`, `check-tui.mjs`, `check-pdf.mjs`), active-language compiler/linter/test suites, and `check-acceptance.mjs .pixelcraft/acceptance.json` pass with zero `fail` or `pending` rows under a 3-tier Studio verdict (`FAIL`, `PASS_STUDIO_10K_20K`, `EXCEEDS_STUDIO`) before stopping.
184
+
185
+ **Why:** defining checklists and static scanners is useless if an agent writes `.pixelcraft/plan.md` without measurable target thresholds, runs zero or one perfunctory pass after coding, marks visual/performance/accessibility rows as passed from static source reading (`Rule #0.3` violation), and stops while fixable `P0–P2` defects, compiler errors, or `pending` acceptance rows remain. Separating deterministic and measurable acceptance defects from subjective visual oscillation solves both failure modes: deterministic scan, build, state, floor, and acceptance-manifest failures must be fixed and re-verified until clean (`0` `fail`/`pending`), whereas rendered layout/pixel critique remains bounded at three documented `finish-gate.mjs` rounds so agents never loop endlessly by taste or overwrite baselines to fake a pass.
186
+
187
+ **Trade-off:** mandatory checklist execution, acceptance-manifest tracking, and rescan loops cost extra verification turns at the end of implementation. Pixelcraft accepts that cost because shipping after a single unverified pass defeats every upstream planning and craft rule.
188
+
141
189
  ## Changing these rules
142
190
 
143
191
  Do not weaken a rule merely because a task is inconvenient. Change the rule when the underlying trade-off changed, when evidence shows the rule produces worse outcomes, or when a platform/standard changed. Record the reason in the commit and update affected skills, evals, and verification tooling together.
@@ -0,0 +1,221 @@
1
+ # Installing Pixelcraft
2
+
3
+ Pixelcraft uses one canonical `skills/` tree across every supported coding-agent host, plugin manifest, archive, and installer. No duplicate copies of skill bodies are maintained.
4
+
5
+ For the fast path, see the [Quick Start](../README.md#quick-start) in the root README. This guide documents every installer flag, all 20 host targets, offline release archives, per-skill uploads, and maintainer release packaging.
6
+
7
+ ## Guided and direct Node.js installer
8
+
9
+ Clone the repository once, then run the bundled zero-dependency installer from the project that should receive the skills:
10
+
11
+ ```bash
12
+ git clone https://github.com/ThanhNguyxnOrg/Pixelcraft.git "$HOME/Pixelcraft"
13
+ node "$HOME/Pixelcraft/bin/pixelcraft.mjs"
14
+ ```
15
+
16
+ The interactive wizard asks for one or more agents, all skills or a numbered subset, project or user-level scope, and whether to display optional Context7 documentation MCP setup guidance. It uses Node.js built-ins only (`>=18` floor; current Node.js LTS recommended).
17
+
18
+ ### CLI commands and flags
19
+
20
+ ```bash
21
+ # Install all 26 skills for one agent in the current project
22
+ node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add all --agent claude
23
+
24
+ # Install a subset for multiple agents (comma-separated or repeated --agent)
25
+ node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add pixelcraft-web pixelcraft-review --agent claude,cursor
26
+
27
+ # User-level installation
28
+ node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add all --agent claude --global
29
+
30
+ # Preview changes without writing files, or overwrite explicitly requested skills
31
+ node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add all --agent all --dry-run
32
+ node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add all --agent claude --force
33
+
34
+ # List skills, verify installed skills, remove skills, generate router block, or run checks
35
+ node "$HOME/Pixelcraft/bin/pixelcraft.mjs" list
36
+ node "$HOME/Pixelcraft/bin/pixelcraft.mjs" doctor
37
+ node "$HOME/Pixelcraft/bin/pixelcraft.mjs" remove pixelcraft-game-ui --agent claude
38
+ node "$HOME/Pixelcraft/bin/pixelcraft.mjs" init-router --dir . --write AGENTS.md
39
+ node "$HOME/Pixelcraft/bin/pixelcraft.mjs" check src --fail-on p0
40
+ ```
41
+
42
+ **Safety guarantees:**
43
+
44
+ - Requesting any subset automatically adds `pixelcraft` (orchestrator) and `pixelcraft-plan` (step-zero skill) when missing and prints a note.
45
+ - `--force` applies only to explicitly requested skills; auto-added core skills are never silently overwritten.
46
+ - Existing skill directories are skipped unless `--force` is passed so local edits are preserved.
47
+ - Symlinked target directories are refused rather than followed outside the project.
48
+
49
+ ### Bundled agent targets
50
+
51
+ Canonical `--agent` names: `claude`, `codex`, `agents`, `devin`, `cursor`, `gemini`, `copilot`, `windsurf`, `opencode`, `kiro`, `cline`, `roo`, `droid`, `antigravity`, and `all`.
52
+
53
+ Aliases: `amp`, `zed`, and `goose` route to the shared `agents` directory; `claude-code`, `gemini-cli`, `github-copilot`, `open-code`, `roo-code`, and `factory` map to their canonical targets. `--agent all` deduplicates shared `.agents/skills` destinations.
54
+
55
+ | Agent | Project path | User path | What Pixelcraft installs |
56
+ |---|---|---|---|
57
+ | Claude Code | `.claude/skills` | `~/.claude/skills` | Native skills + `.claude/commands` adapter files |
58
+ | Codex / generic agents / Devin | `.agents/skills` | `~/.agents/skills` | Native skills only |
59
+ | Cursor | `.cursor/skills` | `~/.cursor/skills` | Native skills + `.cursor/rules/pixelcraft.mdc` |
60
+ | Gemini CLI | `.gemini/skills` | `~/.gemini/skills` | Native skills only |
61
+ | GitHub Copilot | `.github/skills` | `~/.copilot/skills` | Native skills + instruction/prompt adapter files |
62
+ | OpenCode | `.opencode/skills` | `~/.config/opencode/skills` | Native skills only |
63
+ | Windsurf | `.windsurf` | `~/.codeium/windsurf` | Native skills under `skills/` + rules/memory and workflow routers |
64
+ | Kiro | `.kiro/skills` | `~/.kiro/skills` | Native skills + steering adapter |
65
+ | Cline | `.cline/skills` | `~/.cline/skills` | Native skills |
66
+ | Roo Code | `.roo/skills` | `~/.roo/skills` | Native skills |
67
+ | Factory Droid | `.factory/skills` | `~/.factory/skills` | Native skills |
68
+ | Google Antigravity | `.agents/skills` | `~/.gemini/config/skills` | Native skills; project path works with both app and CLI |
69
+
70
+ ### Optional version-freshness docs lookup (`--docs-mcp`)
71
+
72
+ For version-sensitive API work, Pixelcraft instructs the agent to check resolved dependency versions against official docs and package registries. [Context7](https://github.com/upstash/context7#readme) can assist when a host supports MCP. Pass `--docs-mcp` (Node or Bash) or `-DocsMcp` (PowerShell) to print setup guidance, including with `--dry-run`. This never installs tools, modifies MCP configuration, or requests API keys. Never send secrets or proprietary code in lookup queries.
73
+
74
+ ## Vercel `skills` CLI
75
+
76
+ Requires Node.js 22.20+:
77
+
78
+ ```bash
79
+ # Interactive cross-agent install
80
+ npx skills add ThanhNguyxnOrg/Pixelcraft
81
+
82
+ # Non-interactive subset install
83
+ npx skills add ThanhNguyxnOrg/Pixelcraft --skill pixelcraft --skill pixelcraft-plan --skill pixelcraft-web -a claude-code
84
+
85
+ # List available skills (telemetry-free smoke check)
86
+ DISABLE_TELEMETRY=1 npx skills add ThanhNguyxnOrg/Pixelcraft --list
87
+ ```
88
+
89
+ Pass `-g` for user-level installation. The external `skills` CLI manages its own agent detection and [skills.sh](https://www.skills.sh/docs/faq) listing telemetry.
90
+
91
+ ## Claude Code plugin marketplace
92
+
93
+ Both the marketplace and plugin are named `pixelcraft` in [`.claude-plugin/marketplace.json`](../.claude-plugin/marketplace.json):
94
+
95
+ ```text
96
+ /plugin marketplace add ThanhNguyxnOrg/Pixelcraft
97
+ /plugin install pixelcraft@pixelcraft
98
+ ```
99
+
100
+ Equivalent shell commands:
101
+
102
+ ```bash
103
+ claude plugin marketplace add ThanhNguyxnOrg/Pixelcraft
104
+ claude plugin install pixelcraft@pixelcraft
105
+ ```
106
+
107
+ In Claude Desktop/Cowork, enter `ThanhNguyxnOrg/Pixelcraft` under **Plugins → Add marketplace**. Claude Code CLI marketplace validation and install were verified locally (`static` / local CLI); Desktop/Cowork sync is `not-checked`.
108
+
109
+ ## Claude web/Desktop and ChatGPT sessions
110
+
111
+ - **Claude web/Desktop per-skill ZIP upload:** Clone this repository and run `npm run build:skill-zips` (zero dependencies). In **Customize → Skills → + → Upload a skill**, select an archive such as `skill-zips/pixelcraft.zip`, then upload `pixelcraft-plan` and the skills for your target stack. Requires 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; do not upload the full release archive as a single skill. Use `npm run build:skill-zips -- --out <directory>` to write to a custom empty directory.
112
+ - **ChatGPT Agent Plugins:** Pixelcraft is a skills-only [OpenAI Agent Plugin](https://developers.openai.com/plugins/build/plugins) (not a legacy ChatGPT plugin or server-backed Apps SDK integration). In the ChatGPT desktop app, open this repository as a project and select Pixelcraft from the project marketplace. For managed workspaces, 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.
113
+ - **ChatGPT personal skills:** Where enabled, use **Plugins → Skills → Create → Upload from your computer** or **Create with editor**. The [ChatGPT help page](https://help.openai.com/en/articles/20001066-skills-in-chatgpt) does not specify the exact accepted archive layout; Pixelcraft's per-skill ZIPs follow Claude's documented layout, and ChatGPT ZIP upload acceptance is `not-checked`.
114
+
115
+ ## Native host installation paths
116
+
117
+ "Not checked" means the host path is documented and manifest-validated (`static`), but was not exercised inside its client UI. No entry below implies listing in a vendor's curated catalog until submitted and approved.
118
+
119
+ | Host | Installation | Verification status |
120
+ |---|---|---|
121
+ | [Claude Code](https://code.claude.com/docs/en/plugins/marketplace-reference) | `/plugin marketplace add ThanhNguyxnOrg/Pixelcraft` then `/plugin install pixelcraft@pixelcraft`; loads `.claude-plugin/plugin.json` and discovers `skills/`. | CLI install checked. |
122
+ | [Claude Desktop / Cowork / web](https://support.claude.com/en/articles/12512198-how-to-create-custom-skills) | Marketplace or per-skill ZIP upload above. | ZIP contents checked; client sync `not-checked`. |
123
+ | [Google Antigravity](https://antigravity.google/docs/plugins/) | `agy plugin install https://github.com/ThanhNguyxnOrg/Pixelcraft` (reads `.antigravity-plugin/plugin.json` with logo & starter prompts), or `pixelcraft add all --agent antigravity` into `.agents/skills`. | Manifest schema checked (`static`); client install `not-checked`. |
124
+ | [Cursor](https://cursor.com/docs/reference/plugins) | Bundled Cursor installer (`--agent cursor`), Cursor marketplace import via `.cursor-plugin/marketplace.json`, or copy `.cursor-plugin/plugin.json` + `skills/` into `~/.cursor/plugins/local/pixelcraft/`. | Manifest schema & installer checked (`static`); IDE plugin loading `not-checked`. |
125
+ | [Codex CLI and App](https://developers.openai.com/plugins/build/plugins#package-and-distribute-plugins) | CLI: `codex plugin marketplace add ThanhNguyxnOrg/Pixelcraft`, then `codex plugin add pixelcraft@pixelcraft` (reads `.codex-plugin/plugin.json` & `.agents/plugins/marketplace.json`). IDE: `pixelcraft add all --agent codex`. | Local CLI plugin & manifest checked; IDE `not-checked`. |
126
+ | [ChatGPT](https://learn.chatgpt.com/docs/plugins) | Portable `plugin.json` + `.codex-plugin/plugin.json` + `.agents/plugins/marketplace.json`, or Skills editor. | Manifest checked (`static`); client/workspace `not-checked`. |
127
+ | [GitHub Copilot CLI & VS Code](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-finding-installing) | CLI: `copilot plugin marketplace add ThanhNguyxnOrg/Pixelcraft` then `copilot plugin install pixelcraft@pixelcraft` (reads `.github/plugin/marketplace.json` & Agent Plugins 1.0 `plugin.json`). VS Code: `pixelcraft add all --agent copilot`. | Local catalog & installer placement checked; IDE discovery `not-checked`. |
128
+ | [Gemini CLI](https://geminicli.com/docs/extensions/reference/) | `gemini extensions install https://github.com/ThanhNguyxnOrg/Pixelcraft` and restart (loads `gemini-extension.json` + `GEMINI.md` context bootstrap). | Local extension install checked. |
129
+ | [Devin CLI](https://docs.devin.ai/) | `devin plugins install ThanhNguyxnOrg/Pixelcraft` (reads `.devin-plugin/plugin.json`), or `pixelcraft add all --agent devin`. | Manifest & installer checked (`static`); Devin CLI client `not-checked`. |
130
+ | [Qwen Code](https://github.com/QwenLM/qwen-code) | `qwen extensions install ThanhNguyxnOrg/Pixelcraft` (consumes `.claude-plugin/marketplace.json`). | Manifest checked (`static`); client `not-checked`. |
131
+ | [OpenCode](https://opencode.ai/docs/skills/) | Bundled installer `--agent opencode`, or add checkout's `skills/` path to OpenCode `skills` config. | Local CLI discovered 26 skills. |
132
+ | [Pi](https://docs.pi.dev/latest/packages) | `pi install npm:@thanhnguyxn/pixelcraft` or `pi install git:github.com/ThanhNguyxnOrg/Pixelcraft`. | Local package install checked. |
133
+ | [Factory Droid](https://docs.factory.com/harness/plugins) | `droid plugin marketplace add ThanhNguyxnOrg/Pixelcraft` then `droid plugin install pixelcraft@Pixelcraft`, or `--agent droid` into `.factory/skills`. | Local marketplace plugin install checked. |
134
+ | [Windsurf Cascade](https://docs.windsurf.com/windsurf/cascade/skills) | Bundled installer `--agent windsurf` or copy into the client's skills directory. | Installer placement checked; client discovery `not-checked`. |
135
+ | [Kiro](https://kiro.dev/docs/skills/) | `pixelcraft add all --agent kiro` into `.kiro/skills` (or `--global`). Native Agent Skills, not a Kiro Power. | Installer placement checked; client discovery `not-checked`. |
136
+ | [Amp](https://ampcode.com/docs/customize/skills) | `amp skill add https://github.com/ThanhNguyxnOrg/Pixelcraft` or `--agent amp` into `.agents/skills`. | Client discovery `not-checked`. |
137
+ | [Cline](https://docs.cline.bot/customization/skills) | `pixelcraft add all --agent cline` into `.cline/skills`. | Installer placement checked; client discovery `not-checked`. |
138
+ | [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`. |
139
+ | [Zed](https://zed.dev/docs/ai/skills) | `pixelcraft add all --agent zed` into `.agents/skills`; inspect via Skills in Zed Settings Editor. | Installer placement checked; client discovery `not-checked`. |
140
+ | [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. |
141
+ | [skills.sh](https://www.skills.sh/docs/cli) | `npx skills add ThanhNguyxnOrg/Pixelcraft`; no npm package required. | Local pack discovery checked. |
142
+
143
+ ## Shell installers without Node.js
144
+
145
+ ### Linux / macOS (`install.sh`)
146
+
147
+ ```bash
148
+ curl -fsSL https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.sh | bash -s -- --agent claude --skills all
149
+ ```
150
+
151
+ Supported flags:
152
+
153
+ ```text
154
+ --agent claude,cursor target agent(s); default agents
155
+ --skills all comma-separated skills or all; default all
156
+ --global user-level scope; project scope is the default
157
+ --force replace explicitly requested existing skills
158
+ --dry-run print copies without writing files
159
+ --docs-mcp print optional Context7 documentation MCP setup guidance
160
+ --ref <tag|sha> branch, tag, or commit archive; default main
161
+ --repo owner/name override GitHub repository source
162
+ --archive path.tar.gz use a local tarball instead of downloading
163
+ ```
164
+
165
+ Requires only `curl` or `wget` plus `tar`. Never runs `sudo`, refuses symlinked target folders, skips existing folders unless `--force` is passed for explicitly requested skills, and writes the same lightweight router adapters as the Node installer.
166
+
167
+ ### Windows (`install.ps1`)
168
+
169
+ Default project-level installation into `.agents/skills`:
170
+
171
+ ```powershell
172
+ irm https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.ps1 | iex
173
+ ```
174
+
175
+ Pass parameters via script block invocation:
176
+
177
+ ```powershell
178
+ iex "& { $(irm https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.ps1) } -Agent claude -Skill pixelcraft-web"
179
+ ```
180
+
181
+ Parameters mirror `install.sh`: `-Agent`, `-Skill`, `-Global`, `-Force`, `-DryRun`, `-DocsMcp`, `-Ref`, `-Repo`, and `-Archive` (expects a local `.zip`). Never elevates privileges, refuses reparse-point targets, and preserves existing folders unless `-Force` is passed for explicitly selected skills.
182
+
183
+ ## Offline release archives and manual git copy
184
+
185
+ ### GitHub Release archive
186
+
187
+ Download `pixelcraft-skills.zip` or `pixelcraft-skills.tar.gz` from [Releases](https://github.com/ThanhNguyxnOrg/Pixelcraft/releases):
188
+
189
+ ```bash
190
+ gh release download <tag> --repo ThanhNguyxnOrg/Pixelcraft --pattern pixelcraft-skills.zip
191
+ ```
192
+
193
+ Each archive contains canonical `skills/` and generated `adapters/<agent>/` project-root fragments.
194
+
195
+ ### Manual `git clone` and copy
196
+
197
+ ```bash
198
+ git clone --depth 1 https://github.com/ThanhNguyxnOrg/Pixelcraft.git
199
+ mkdir -p .agents/skills
200
+ cp -R Pixelcraft/skills/pixelcraft-web .agents/skills/
201
+ ```
202
+
203
+ Do not construct cross-skill relative links after copying; every skill folder is self-contained.
204
+
205
+ ## npm package and maintainer release flow
206
+
207
+ Install the published CLI globally from npm (zero runtime dependencies, Node.js `>=18`):
208
+
209
+ ```bash
210
+ npm i -g @thanhnguyxn/pixelcraft
211
+ pixelcraft add all --agent cursor
212
+ ```
213
+
214
+ Pi users can install directly from npm as well:
215
+
216
+ ```bash
217
+ pi install npm:@thanhnguyxn/pixelcraft
218
+ ```
219
+
220
+ **Maintainers:** Run `npm run test:distribution`, `npm run sync:docs:check`, and `npm run test:release-archives` to inspect packaging without publishing. The [organization Release Controller](https://github.com/ThanhNguyxnOrg/.github/blob/main/docs/agent-automation.md#release-safety) opens a release PR with synchronized version bumps across all manifests (`release-policy.json` in `ThanhNguyxnOrg/.github`) and changelog updates; merging it approves tag creation, GitHub Release archive publishing, and npm provenance publishing (requires an `NPM_TOKEN` authorized for `@thanhnguyxn/pixelcraft`).
221
+
package/evals/README.md CHANGED
@@ -1,21 +1,31 @@
1
1
  # Pixelcraft evaluation corpus
2
2
 
3
- This directory contains lightweight behavioral evaluations for every skill. Each skill has one markdown file named `evals/<skill-name>.md` with two prompt cases. A case records the prompt, expected behaviors, failure signals, and comparison criteria for a with-skill versus without-skill run.
3
+ This directory contains behavioral evaluations for all 26 Pixelcraft skills. Each skill has one markdown guide named `evals/<skill-name>.md` containing 2–6 prompt cases, paired with machine-readable JSON fixtures under `evals/fixtures/` (72 fixtures covering all 26 skills, including non-JS/TS ecosystems and Grill-Me/Brainstorming gates). Each case records the prompt, expected behaviors, failure signals, and comparison criteria for a with-skill versus without-skill run.
4
4
 
5
- ## How to run an evaluation
5
+ ## Automated offline contract & fixture checks
6
+
7
+ Run the deterministic offline evaluation runner before opening a PR:
8
+
9
+ ```sh
10
+ npm run eval:offline
11
+ ```
12
+
13
+ `scripts/run-evals.mjs` verifies that every JSON fixture in `evals/fixtures/` resolves valid skills and reference files on disk, checks router expectations against real stack detection rules, and confirms zero orphaned or malformed cases.
14
+
15
+ ## How to run a live model evaluation
6
16
 
7
17
  1. Choose one case and create two matched runs in the same repository/fixture: one baseline run without the skill available and one treatment run with the skill available.
8
18
  2. Use the same model, temperature, tools, repository state, time budget, and user prompt. Do not give the treatment run extra manual hints.
9
19
  3. Inspect the final artifact and process transcript. Score each expected behavior as pass, partial, fail, or not applicable.
10
20
  4. Inspect failure signals independently; a polished final screenshot does not cancel privacy, truthfulness, accessibility, or state-model failures.
11
21
  5. Compare dimensions using the case table. Prefer concrete evidence: file diffs, command output, rendered screenshots, interaction recordings, validator results, and labeled uncertainty.
12
- 6. Record model/version/date/fixture/result in the evaluation notes. These cases are behavioral prompts, not deterministic unit tests.
22
+ 6. Record model/version/date/fixture/result in the evaluation notes. Live behavioral prompts complement—not replace—deterministic script tests.
13
23
 
14
- For finish-gate and anti-slop changes, compare a landing page, a dashboard, and a brownfield design with justified brand choices. Keep task success, brief fidelity, missed confirmed failures and false positives separate; record repair rounds, elapsed time and tool cost. Spot-check rendered outcomes and include cases the reviewer has not optimized the rules against.
24
+ For finish-gate and anti-slop changes, compare a landing page, a dashboard, a non-JS surface (such as TUI, SwiftUI, or Typst), and a brownfield design with justified brand choices. Keep task success, brief fidelity, missed confirmed failures, and false positives separate; record repair rounds, elapsed time, and tool cost. Spot-check rendered outcomes and include cases the reviewer has not optimized the rules against.
15
25
 
16
26
  ## Interpretation
17
27
 
18
- For scoped-work or freshness experiments use the same model, task, lockfile and fixture for both runs. Record repeated file reads, duplicate tool calls, input/output tokens when exposed, tool time, repair rounds, and confirmed task outcomes. Do not reward reduced cost if it comes from skipping applicable verification. Keep agent-backed evaluation opt-in.
28
+ For scoped-work or freshness experiments use the same model, task, lockfile, and fixture for both runs. Record repeated file reads, duplicate tool calls, input/output tokens when exposed, tool time, repair rounds, and confirmed task outcomes. Do not reward reduced cost if it comes from skipping applicable verification. Keep agent-backed evaluation opt-in.
19
29
 
20
30
  - The baseline can still pass; the goal is measuring whether the skill improves routing, specificity, verification, and constraint fidelity.
21
31
  - Do not score keyword presence alone. A response that names a skill but ignores its constraints is a failure.
@@ -24,4 +34,4 @@ For scoped-work or freshness experiments use the same model, task, lockfile and
24
34
 
25
35
  ## Validator contract
26
36
 
27
- `npm run validate` requires every skill folder in `skills/` to have a matching `evals/<skill-name>.md` file containing at least one `## Case` heading. It also validates the structure of machine-readable JSON fixtures under `evals/fixtures/`: unique filename-matched IDs, existing skill references, context snapshots, expected routing, forbidden behaviors, rubric dimensions, negative controls, and baselines. The validator enforces presence/structure only; evaluators judge semantic quality.
37
+ `npm run validate` requires every skill folder in `skills/` to have a matching `evals/<skill-name>.md` file containing at least one `## Case` heading. It also validates the structure of machine-readable JSON fixtures under `evals/fixtures/`: unique filename-matched IDs, existing skill references, context snapshots, expected routing, forbidden behaviors, rubric dimensions, negative controls, and baselines. The validator enforces presence and structure; `npm run eval:offline` checks routing consistency; human or model evaluators judge semantic quality.
@@ -0,0 +1,69 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "3d-web-engineering",
4
+ "skill": "pixelcraft-web",
5
+ "title": "3D product preview with semantic fallback",
6
+ "contextSnapshot": {
7
+ "surface": "product detail page",
8
+ "platform": "Next.js web",
9
+ "mode": "Operate",
10
+ "states": [
11
+ "loading",
12
+ "ready",
13
+ "unsupported",
14
+ "context lost",
15
+ "mobile touch",
16
+ "reduced motion"
17
+ ],
18
+ "constraints": [
19
+ "keep purchase controls in DOM",
20
+ "mobile GPU budget",
21
+ "existing brownfield stack"
22
+ ]
23
+ },
24
+ "prompt": "Add a rotatable product scene to a working product page and verify it on representative devices.",
25
+ "expectedRouting": [
26
+ "pixelcraft-web",
27
+ "pixelcraft-plan",
28
+ "pixelcraft-visual-qa"
29
+ ],
30
+ "forbiddenBehaviors": [
31
+ "all content inside canvas",
32
+ "uncompressed assets",
33
+ "WebGPU-only path",
34
+ "state updates on every frame"
35
+ ],
36
+ "rubricDimensions": [
37
+ {
38
+ "dimension": "renderer choice",
39
+ "pass": "selects R3F/Three.js/Spline or no 3D from actual needs",
40
+ "fail": "defaults to 3D for decoration"
41
+ },
42
+ {
43
+ "dimension": "asset pipeline",
44
+ "pass": "compresses and lazy-loads models/textures with poster/loading state",
45
+ "fail": "eagerly ships oversized assets"
46
+ },
47
+ {
48
+ "dimension": "recovery",
49
+ "pass": "handles context loss, resize, cleanup and static fallback",
50
+ "fail": "no failure state or teardown"
51
+ }
52
+ ],
53
+ "negativeControls": [
54
+ {
55
+ "name": "latest API temptation",
56
+ "input": "WebGPU is newer",
57
+ "mustNot": "treat it as a universal production baseline"
58
+ },
59
+ {
60
+ "name": "beautiful canvas",
61
+ "input": "Canvas screenshot looks correct",
62
+ "mustNot": "claim keyboard, mobile, or semantic verification"
63
+ }
64
+ ],
65
+ "baseline": {
66
+ "withoutSkill": "adds a canvas without accessibility or asset planning",
67
+ "withSkill": "documents renderer decision, asset preparation, fallbacks and device evidence"
68
+ }
69
+ }
@@ -0,0 +1,43 @@
1
+ {
2
+ "schemaVersion": 1,
3
+ "id": "acceptance-checklist-rule03-gate",
4
+ "skill": "pixelcraft-review",
5
+ "title": "Enforce Studio $10k-$20k Acceptance Checklist (check-acceptance.mjs) and Rule #0.3 forbidding static/model-judgment passes on visual, performance, and accessibility gates",
6
+ "contextSnapshot": {
7
+ "surface": "Commercial client handoff audit across responsive web and transactional email",
8
+ "platform": "Cross-platform acceptance gate (check-acceptance.mjs + slop-scan.mjs + check-email.mjs)",
9
+ "mode": "Operate",
10
+ "states": ["initialized pending .pixelcraft/acceptance.json", "first scan revealing static-only a11y/perf claims and unfilled {{name}} email tag", "repair + rendered measurement pass", "final PASS_STUDIO_10K_20K sign-off"],
11
+ "constraints": ["initialize .pixelcraft/acceptance.json for target platform", "enforce Rule #0.3: static and model-judgment never count as pass for visual, performance, or interactive accessibility rows", "loop Fix -> Re-scan -> check-acceptance.mjs until exit 0 (or honest PENDING_RENDERED_ENV when physical hardware is absent)"]
12
+ },
13
+ "prompt": "Run a full Studio-Grade ($10k-$20k bar) acceptance audit and polish pass before client handoff on a billing portal and its receipt email. Initialize and execute the Pixelcraft acceptance checklist, fix any failing gates, and do not stop until acceptance passes honestly.",
14
+ "expectedRouting": ["pixelcraft-review", "pixelcraft-visual-qa", "references/polish.md", "references/audit-report.md"],
15
+ "forbiddenBehaviors": [
16
+ "marks visual layout, Core Web Vitals/Lighthouse performance, or screen-reader/keyboard accessibility rows as pass using static code reading or model-judgment (violating Rule #0.3)",
17
+ "leaves .pixelcraft/acceptance.json uninitialized or stops while check-acceptance.mjs, slop-scan.mjs --fail-on p2, or check-email.mjs still exits non-zero with fixable failures",
18
+ "claims PASS_STUDIO_10K_20K when real-device or rendered runtime checks were skipped instead of recording concrete not-checked reasons (PENDING_RENDERED_ENV) or client-signed waivers"
19
+ ],
20
+ "rubricDimensions": [
21
+ {
22
+ "dimension": "Rule #0.3 rendered-evidence discipline and honest 3-tier grading",
23
+ "pass": "uses rendered evidence (3-run Lighthouse/captures/keyboard/screen-reader/client previews) for visual, performance, and interactive a11y rows, uses not-checked with concrete missing-hardware reasons or client-approved waived entries where blocked, and grades FAIL vs PENDING_RENDERED_ENV vs PASS_STUDIO_10K_20K vs EXCEEDS_STUDIO accurately",
24
+ "fail": "treats static source inspection or heuristic AI judgment as a passing visual/performance/accessibility sign-off"
25
+ },
26
+ {
27
+ "dimension": "executable checklist loop until passing",
28
+ "pass": "initializes .pixelcraft/acceptance.json via check-acceptance.mjs --init, runs slop-scan.mjs --fail-on p2 and check-email.mjs, fixes defects (such as {{name}} merge leaks or >16KB/@layer email styles), and re-runs check-acceptance.mjs until zero failing or pending rows remain",
29
+ "fail": "ticks markdown checkboxes superficially without running check-acceptance.mjs or stops while failing/pending checklist items remain"
30
+ }
31
+ ],
32
+ "negativeControls": [
33
+ {
34
+ "name": "static source inspection claimed as accessibility & CWV pass",
35
+ "input": "TypeScript compiles and JSX contains aria-label attributes, but no browser, Lighthouse, keyboard, or screen-reader run was executed",
36
+ "mustNot": "mark A4-accessibility-floor, M8-measured-performance, or WEB-1-cwv-and-3run-lighthouse as pass with static or model-judgment"
37
+ }
38
+ ],
39
+ "baseline": {
40
+ "withoutSkill": "ticks off a checklist from reading source code alone, misses Rule #0.3 rendered requirements, overlooks email @layer/{{name}} bugs, and claims $10k-$20k readiness prematurely",
41
+ "withSkill": "drives completion through check-acceptance.mjs, enforces Rule #0.3 rendered evidence on visual/perf/a11y gates, repairs scanner defects in a loop until exit 0, and emits an honest 3-tier Studio acceptance verdict"
42
+ }
43
+ }