@thanhnguyxn/pixelcraft 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (376) hide show
  1. package/.agents/plugins/marketplace.json +1 -1
  2. package/.antigravity-plugin/plugin.json +32 -0
  3. package/.claude-plugin/marketplace.json +1 -1
  4. package/.claude-plugin/plugin.json +15 -4
  5. package/.codex-plugin/plugin.json +45 -0
  6. package/.cursor-plugin/marketplace.json +17 -0
  7. package/.cursor-plugin/plugin.json +27 -0
  8. package/.devin-plugin/plugin.json +21 -0
  9. package/.github/plugin/marketplace.json +34 -0
  10. package/CHANGELOG.md +159 -0
  11. package/GEMINI.md +1 -0
  12. package/README.md +185 -328
  13. package/SECURITY.md +28 -0
  14. package/assets/pixelcraft-logo-128.png +0 -0
  15. package/assets/pixelcraft-logo-256.png +0 -0
  16. package/bin/pixelcraft.mjs +431 -23
  17. package/docs/ARCHITECTURE.md +40 -37
  18. package/docs/DESIGN-RATIONALE.md +51 -3
  19. package/docs/INSTALL.md +221 -0
  20. package/evals/README.md +16 -6
  21. package/evals/fixtures/3d-web-engineering.json +69 -0
  22. package/evals/fixtures/acceptance-checklist-rule03-gate.json +43 -0
  23. package/evals/fixtures/ai-ui-libraries.json +53 -0
  24. package/evals/fixtures/audio-visual-accessibility.json +69 -0
  25. package/evals/fixtures/auth-and-checkout-ui.json +53 -0
  26. package/evals/fixtures/brandkit-identity-governance.json +48 -0
  27. package/evals/fixtures/build-and-architecture.json +53 -0
  28. package/evals/fixtures/canvas-and-node-editors.json +53 -0
  29. package/evals/fixtures/chat-ai-exfiltration-ime-hitl-gate.json +43 -0
  30. package/evals/fixtures/completion-gate-scan-until-clean.json +44 -0
  31. package/evals/fixtures/component-systems.json +53 -0
  32. package/evals/fixtures/component-testing.json +53 -0
  33. package/evals/fixtures/constrained-voice-and-tv.json +43 -0
  34. package/evals/fixtures/creative-code-rendering.json +69 -0
  35. package/evals/fixtures/creative-reference-evidence.json +67 -0
  36. package/evals/fixtures/data-app-python-marimo.json +49 -0
  37. package/evals/fixtures/desktop-cpp-juce-audio.json +49 -0
  38. package/evals/fixtures/desktop-csharp-avalonia.json +49 -0
  39. package/evals/fixtures/desktop-native-workspace.json +48 -0
  40. package/evals/fixtures/desktop-python-anti-tkinter.json +49 -0
  41. package/evals/fixtures/document-prepress-pdfx4-tounicode.json +43 -0
  42. package/evals/fixtures/document-rust-typst-invoice.json +49 -0
  43. package/evals/fixtures/document-typst-and-print-css.json +43 -0
  44. package/evals/fixtures/email-mjml-dark-mode.json +49 -0
  45. package/evals/fixtures/email-outlook-and-plaintext.json +43 -0
  46. package/evals/fixtures/enterprise-data-ui.json +53 -0
  47. package/evals/fixtures/extended-tui-toolkits.json +53 -0
  48. package/evals/fixtures/extensions-mv3-and-vscode.json +43 -0
  49. package/evals/fixtures/file-upload-media-ui.json +53 -0
  50. package/evals/fixtures/forms-validation.json +53 -0
  51. package/evals/fixtures/game-go-ebitengine.json +49 -0
  52. package/evals/fixtures/game-godot-gdscript.json +49 -0
  53. package/evals/fixtures/game-ui-hud-and-engines.json +43 -0
  54. package/evals/fixtures/i18n-engineering.json +53 -0
  55. package/evals/fixtures/local-first-sync.json +53 -0
  56. package/evals/fixtures/lynxjs.json +53 -0
  57. package/evals/fixtures/maizzle-email.json +53 -0
  58. package/evals/fixtures/maps-geospatial.json +53 -0
  59. package/evals/fixtures/media-og-and-video-export.json +43 -0
  60. package/evals/fixtures/media-players.json +53 -0
  61. package/evals/fixtures/mobile-compose-16kb-foldable-store-gate.json +44 -0
  62. package/evals/fixtures/mobile-elixir-liveview-native.json +49 -0
  63. package/evals/fixtures/mobile-flutter-dynamic-type.json +49 -0
  64. package/evals/fixtures/mobile-harmonyos-arkui.json +49 -0
  65. package/evals/fixtures/mobile-jetpack-compose.json +49 -0
  66. package/evals/fixtures/mobile-swiftui-ios.json +49 -0
  67. package/evals/fixtures/motion-engineering.json +69 -0
  68. package/evals/fixtures/pdfjs-and-pptx.json +53 -0
  69. package/evals/fixtures/plan-discovery-interview.json +31 -0
  70. package/evals/fixtures/plan-grill-me-brainstorm-gate.json +49 -0
  71. package/evals/fixtures/reactive-data-apps.json +53 -0
  72. package/evals/fixtures/review-evidence-audit.json +43 -0
  73. package/evals/fixtures/rich-text-and-code-editors.json +53 -0
  74. package/evals/fixtures/scrollytelling-resilience.json +70 -0
  75. package/evals/fixtures/spatial-xr-comfort-and-platforms.json +43 -0
  76. package/evals/fixtures/state-architecture.json +53 -0
  77. package/evals/fixtures/styling-ecosystem.json +53 -0
  78. package/evals/fixtures/token-tooling.json +53 -0
  79. package/evals/fixtures/tui-go-bubbletea.json +49 -0
  80. package/evals/fixtures/tui-rust-ratatui-grapheme-paste-teardown.json +44 -0
  81. package/evals/fixtures/tui-rust-ratatui.json +49 -0
  82. package/evals/fixtures/ux-state-matrix-and-i18n.json +43 -0
  83. package/evals/fixtures/web-3d-engines.json +53 -0
  84. package/evals/fixtures/web-php-laravel-filament.json +49 -0
  85. package/evals/fixtures/web-ruby-viewcomponent-phlex.json +49 -0
  86. package/evals/pixelcraft-accessibility.md +17 -0
  87. package/evals/pixelcraft-craft.md +16 -0
  88. package/evals/pixelcraft-dataviz.md +3 -3
  89. package/evals/pixelcraft-direction.md +17 -0
  90. package/evals/pixelcraft-game-ui.md +3 -3
  91. package/evals/pixelcraft-mobile.md +3 -3
  92. package/evals/pixelcraft-patterns.md +16 -0
  93. package/evals/pixelcraft-plan.md +65 -3
  94. package/evals/pixelcraft-review.md +3 -3
  95. package/evals/pixelcraft-visual-qa.md +11 -5
  96. package/evals/pixelcraft-web.md +21 -3
  97. package/evals/pixelcraft.md +4 -4
  98. package/gemini-extension.json +3 -2
  99. package/install.ps1 +57 -11
  100. package/install.sh +82 -7
  101. package/package.json +32 -4
  102. package/plugin.json +6 -1
  103. package/scripts/build-adapters.mjs +11 -13
  104. package/scripts/run-evals.mjs +397 -0
  105. package/scripts/sync-docs.mjs +381 -0
  106. package/scripts/test-build-adapters.mjs +14 -1
  107. package/scripts/test-cross-platform-qa.mjs +359 -0
  108. package/scripts/test-distribution.mjs +86 -7
  109. package/scripts/test-export-tokens.mjs +259 -3
  110. package/scripts/test-finish-gate.mjs +133 -10
  111. package/scripts/test-installers.mjs +155 -6
  112. package/scripts/test-shoot.mjs +23 -1
  113. package/scripts/test-slop-scan.mjs +390 -3
  114. package/scripts/test-style-inventory.mjs +23 -0
  115. package/scripts/test-sync-docs.mjs +140 -0
  116. package/scripts/test-validate-skills.mjs +82 -4
  117. package/scripts/validate-skills.mjs +149 -3
  118. package/skills/pixelcraft/SKILL.md +67 -47
  119. package/skills/pixelcraft/references/design-brief.md +2 -2
  120. package/skills/pixelcraft/references/floor.md +36 -19
  121. package/skills/pixelcraft/references/report-template.md +25 -11
  122. package/skills/pixelcraft/references/stack-detection.md +138 -67
  123. package/skills/pixelcraft/references/surface-acceptance.md +33 -21
  124. package/skills/pixelcraft/references/workflow-checkpoints.md +49 -7
  125. package/skills/pixelcraft-accessibility/SKILL.md +34 -13
  126. package/skills/pixelcraft-accessibility/references/apg-patterns.md +13 -0
  127. package/skills/pixelcraft-accessibility/references/motion-canvas.md +57 -0
  128. package/skills/pixelcraft-accessibility/references/platforms.md +34 -6
  129. package/skills/pixelcraft-accessibility/references/verification.md +15 -10
  130. package/skills/pixelcraft-accessibility/references/wcag22-checks.md +38 -5
  131. package/skills/pixelcraft-brandkit/SKILL.md +42 -30
  132. package/skills/pixelcraft-brandkit/references/asset-pipeline.md +90 -50
  133. package/skills/pixelcraft-brandkit/references/brand-governance.md +29 -27
  134. package/skills/pixelcraft-brandkit/references/logo-methods.md +33 -34
  135. package/skills/pixelcraft-brandkit/references/prompt-template.md +53 -51
  136. package/skills/pixelcraft-brandkit/references/qa-checklist.md +7 -2
  137. package/skills/pixelcraft-brandkit/references/visual-modes.md +16 -16
  138. package/skills/pixelcraft-chat-ui/SKILL.md +31 -27
  139. package/skills/pixelcraft-chat-ui/references/agentic-workspace.md +66 -0
  140. package/skills/pixelcraft-chat-ui/references/ai-ui-libraries.md +259 -0
  141. package/skills/pixelcraft-chat-ui/references/conversation-design.md +12 -6
  142. package/skills/pixelcraft-chat-ui/references/mobile-business-platforms.md +58 -68
  143. package/skills/pixelcraft-chat-ui/references/slack-discord.md +60 -76
  144. package/skills/pixelcraft-constrained/SKILL.md +21 -20
  145. package/skills/pixelcraft-constrained/references/specialized-hardware.md +69 -45
  146. package/skills/pixelcraft-constrained/references/tv-wearables.md +123 -73
  147. package/skills/pixelcraft-constrained/references/voice-ui.md +86 -45
  148. package/skills/pixelcraft-craft/SKILL.md +29 -15
  149. package/skills/pixelcraft-craft/references/color.md +62 -6
  150. package/skills/pixelcraft-craft/references/layout.md +32 -0
  151. package/skills/pixelcraft-craft/references/motion.md +99 -12
  152. package/skills/pixelcraft-craft/references/typography.md +48 -9
  153. package/skills/pixelcraft-data-apps/SKILL.md +50 -31
  154. package/skills/pixelcraft-data-apps/references/ai-and-internal-data-apps.md +147 -0
  155. package/skills/pixelcraft-data-apps/references/dash.md +87 -31
  156. package/skills/pixelcraft-data-apps/references/evidence.md +41 -26
  157. package/skills/pixelcraft-data-apps/references/gradio.md +65 -27
  158. package/skills/pixelcraft-data-apps/references/julia-genie.md +64 -29
  159. package/skills/pixelcraft-data-apps/references/jupyter-widgets.md +65 -27
  160. package/skills/pixelcraft-data-apps/references/nicegui.md +73 -34
  161. package/skills/pixelcraft-data-apps/references/observable-framework.md +65 -27
  162. package/skills/pixelcraft-data-apps/references/panel.md +69 -23
  163. package/skills/pixelcraft-data-apps/references/r-shiny.md +104 -34
  164. package/skills/pixelcraft-data-apps/references/reactive-data-apps.md +186 -0
  165. package/skills/pixelcraft-data-apps/references/reflex.md +85 -31
  166. package/skills/pixelcraft-data-apps/references/shiny.md +84 -27
  167. package/skills/pixelcraft-data-apps/references/streamlit.md +73 -25
  168. package/skills/pixelcraft-dataviz/SKILL.md +21 -24
  169. package/skills/pixelcraft-dataviz/references/color-accessibility.md +2 -2
  170. package/skills/pixelcraft-dataviz/references/encoding-tables-dashboards.md +35 -25
  171. package/skills/pixelcraft-dataviz/references/libraries.md +165 -46
  172. package/skills/pixelcraft-dataviz/references/maps-geospatial.md +159 -0
  173. package/skills/pixelcraft-dataviz/references/realtime-graphs-maps-scale.md +58 -65
  174. package/skills/pixelcraft-desktop/SKILL.md +61 -39
  175. package/skills/pixelcraft-desktop/references/appkit.md +60 -26
  176. package/skills/pixelcraft-desktop/references/avalonia.md +65 -29
  177. package/skills/pixelcraft-desktop/references/cpp-gui.md +104 -27
  178. package/skills/pixelcraft-desktop/references/electron.md +68 -26
  179. package/skills/pixelcraft-desktop/references/go-gui.md +59 -30
  180. package/skills/pixelcraft-desktop/references/gtk.md +74 -31
  181. package/skills/pixelcraft-desktop/references/javafx-swing.md +54 -25
  182. package/skills/pixelcraft-desktop/references/qt-pyside-qml.md +57 -30
  183. package/skills/pixelcraft-desktop/references/rust-gui.md +59 -41
  184. package/skills/pixelcraft-desktop/references/tauri.md +80 -24
  185. package/skills/pixelcraft-desktop/references/uno-platform.md +42 -23
  186. package/skills/pixelcraft-desktop/references/winui-wpf.md +66 -26
  187. package/skills/pixelcraft-desktop/references/working-context.md +82 -3
  188. package/skills/pixelcraft-direction/SKILL.md +48 -82
  189. package/skills/pixelcraft-direction/references/creative-brainstorming.md +72 -0
  190. package/skills/pixelcraft-direction/references/direction-card.md +11 -1
  191. package/skills/pixelcraft-direction/references/direction-scoring.md +5 -1
  192. package/skills/pixelcraft-direction/references/motion-identity.md +67 -0
  193. package/skills/pixelcraft-direction/references/movements.md +3 -0
  194. package/skills/pixelcraft-direction/references/reference-analysis.md +37 -0
  195. package/skills/pixelcraft-direction/references/slop-fingerprints.md +32 -7
  196. package/skills/pixelcraft-document/SKILL.md +27 -23
  197. package/skills/pixelcraft-document/references/archetypes.md +27 -4
  198. package/skills/pixelcraft-document/references/pdf-tools.md +241 -81
  199. package/skills/pixelcraft-document/references/pdfjs-and-pptx.md +114 -0
  200. package/skills/pixelcraft-document/references/print-css.md +96 -43
  201. package/skills/pixelcraft-document/references/slides.md +123 -27
  202. package/skills/pixelcraft-email/SKILL.md +42 -20
  203. package/skills/pixelcraft-email/references/client-quirks.md +101 -33
  204. package/skills/pixelcraft-email/references/html-tables.md +83 -22
  205. package/skills/pixelcraft-email/references/maizzle.md +54 -0
  206. package/skills/pixelcraft-email/references/mjml.md +13 -11
  207. package/skills/pixelcraft-email/references/react-email.md +76 -34
  208. package/skills/pixelcraft-extensions/SKILL.md +32 -27
  209. package/skills/pixelcraft-extensions/references/browser-extensions.md +91 -17
  210. package/skills/pixelcraft-extensions/references/figma-office.md +97 -14
  211. package/skills/pixelcraft-extensions/references/ide-and-saas-plugins.md +125 -0
  212. package/skills/pixelcraft-extensions/references/raycast.md +90 -11
  213. package/skills/pixelcraft-extensions/references/vscode-webviews.md +91 -17
  214. package/skills/pixelcraft-game-ui/SKILL.md +45 -26
  215. package/skills/pixelcraft-game-ui/references/bevy.md +69 -31
  216. package/skills/pixelcraft-game-ui/references/godot.md +100 -27
  217. package/skills/pixelcraft-game-ui/references/hud-principles.md +50 -21
  218. package/skills/pixelcraft-game-ui/references/love2d.md +53 -27
  219. package/skills/pixelcraft-game-ui/references/monogame.md +45 -29
  220. package/skills/pixelcraft-game-ui/references/unity-ugui.md +109 -0
  221. package/skills/pixelcraft-game-ui/references/unity-ui-toolkit.md +69 -27
  222. package/skills/pixelcraft-game-ui/references/unreal-umg.md +53 -26
  223. package/skills/pixelcraft-game-ui/references/web-and-middleware-game-ui.md +122 -0
  224. package/skills/pixelcraft-handoff/SKILL.md +14 -13
  225. package/skills/pixelcraft-handoff/references/design-translation.md +40 -10
  226. package/skills/pixelcraft-handoff/references/motion-handoff.md +54 -0
  227. package/skills/pixelcraft-media/SKILL.md +20 -23
  228. package/skills/pixelcraft-media/references/banners-video.md +83 -65
  229. package/skills/pixelcraft-media/references/og-generation.md +110 -63
  230. package/skills/pixelcraft-media/references/social-cards.md +57 -58
  231. package/skills/pixelcraft-mobile/SKILL.md +53 -36
  232. package/skills/pixelcraft-mobile/references/dotnet-maui.md +62 -34
  233. package/skills/pixelcraft-mobile/references/flet.md +53 -26
  234. package/skills/pixelcraft-mobile/references/flutter.md +76 -32
  235. package/skills/pixelcraft-mobile/references/harmonyos-and-emerging-mobile.md +121 -0
  236. package/skills/pixelcraft-mobile/references/ionic-capacitor.md +48 -26
  237. package/skills/pixelcraft-mobile/references/jetpack-compose.md +92 -24
  238. package/skills/pixelcraft-mobile/references/kivy.md +54 -31
  239. package/skills/pixelcraft-mobile/references/kotlin-multiplatform.md +53 -27
  240. package/skills/pixelcraft-mobile/references/lynxjs.md +110 -0
  241. package/skills/pixelcraft-mobile/references/nativescript-and-skip.md +91 -0
  242. package/skills/pixelcraft-mobile/references/react-native-expo.md +66 -31
  243. package/skills/pixelcraft-mobile/references/swiftui.md +158 -28
  244. package/skills/pixelcraft-mobile/references/tactile-interactions.md +55 -0
  245. package/skills/pixelcraft-mobile/references/task-state-composition.md +82 -2
  246. package/skills/pixelcraft-mobile/references/uikit.md +57 -23
  247. package/skills/pixelcraft-patterns/SKILL.md +30 -13
  248. package/skills/pixelcraft-patterns/references/accessibility-resilience.md +29 -0
  249. package/skills/pixelcraft-patterns/references/ai-and-offline-patterns.md +54 -0
  250. package/skills/pixelcraft-patterns/references/auth-onboarding.md +32 -13
  251. package/skills/pixelcraft-patterns/references/billing-paywalls.md +40 -0
  252. package/skills/pixelcraft-patterns/references/command-workspace.md +56 -0
  253. package/skills/pixelcraft-patterns/references/commerce.md +35 -16
  254. package/skills/pixelcraft-patterns/references/communication.md +34 -15
  255. package/skills/pixelcraft-patterns/references/creative-tools.md +30 -17
  256. package/skills/pixelcraft-patterns/references/creative-web-composition.md +38 -0
  257. package/skills/pixelcraft-patterns/references/dashboard-admin.md +22 -18
  258. package/skills/pixelcraft-patterns/references/history-diff-undo.md +50 -0
  259. package/skills/pixelcraft-patterns/references/marketing.md +31 -19
  260. package/skills/pixelcraft-patterns/references/multi-tenant-rbac.md +47 -0
  261. package/skills/pixelcraft-patterns/references/narrative-systems.md +42 -0
  262. package/skills/pixelcraft-patterns/references/notifications-activity.md +57 -0
  263. package/skills/pixelcraft-patterns/references/pattern-selection.md +8 -2
  264. package/skills/pixelcraft-patterns/references/scheduling-kanban.md +47 -0
  265. package/skills/pixelcraft-patterns/references/scroll-implementation.md +37 -0
  266. package/skills/pixelcraft-patterns/references/settings.md +40 -12
  267. package/skills/pixelcraft-plan/SKILL.md +54 -18
  268. package/skills/pixelcraft-plan/references/discovery-interview.md +110 -0
  269. package/skills/pixelcraft-plan/references/grill-me-protocol.md +63 -0
  270. package/skills/pixelcraft-plan/references/plan-template.md +44 -9
  271. package/skills/pixelcraft-plan/references/repo-discovery.md +16 -9
  272. package/skills/pixelcraft-plan/references/stack-freshness.md +22 -5
  273. package/skills/pixelcraft-plan/references/stack-selection.md +65 -9
  274. package/skills/pixelcraft-review/SKILL.md +41 -19
  275. package/skills/pixelcraft-review/references/audit-report.md +20 -1
  276. package/skills/pixelcraft-review/references/heuristics.md +63 -18
  277. package/skills/pixelcraft-review/references/personas.md +41 -14
  278. package/skills/pixelcraft-review/references/polish.md +66 -26
  279. package/skills/pixelcraft-review/scripts/check-acceptance.mjs +619 -0
  280. package/skills/pixelcraft-review/scripts/fixtures/focus-longhand-removal.css +34 -0
  281. package/skills/pixelcraft-review/scripts/slop-scan.mjs +679 -32
  282. package/skills/pixelcraft-spatial/SKILL.md +16 -17
  283. package/skills/pixelcraft-spatial/references/comfort-accessibility.md +25 -84
  284. package/skills/pixelcraft-spatial/references/platforms.md +123 -53
  285. package/skills/pixelcraft-tokens/SKILL.md +18 -14
  286. package/skills/pixelcraft-tokens/assets/tokens.example.json +1 -1
  287. package/skills/pixelcraft-tokens/assets/tokens.modes.example.json +1 -1
  288. package/skills/pixelcraft-tokens/references/format.md +39 -9
  289. package/skills/pixelcraft-tokens/references/governance.md +1 -1
  290. package/skills/pixelcraft-tokens/references/theme-presets.md +36 -8
  291. package/skills/pixelcraft-tokens/references/token-tooling.md +119 -0
  292. package/skills/pixelcraft-tokens/scripts/export-tokens.mjs +637 -75
  293. package/skills/pixelcraft-tui/SKILL.md +41 -25
  294. package/skills/pixelcraft-tui/references/bubbletea-lipgloss.md +49 -30
  295. package/skills/pixelcraft-tui/references/extended-tui-toolkits.md +127 -0
  296. package/skills/pixelcraft-tui/references/ink.md +77 -28
  297. package/skills/pixelcraft-tui/references/ratatui.md +70 -30
  298. package/skills/pixelcraft-tui/references/rich.md +53 -33
  299. package/skills/pixelcraft-tui/references/terminal-protocols.md +80 -0
  300. package/skills/pixelcraft-tui/references/textual.md +75 -34
  301. package/skills/pixelcraft-ux/SKILL.md +22 -12
  302. package/skills/pixelcraft-ux/references/feedback-performance.md +39 -19
  303. package/skills/pixelcraft-ux/references/forms.md +57 -3
  304. package/skills/pixelcraft-ux/references/i18n.md +50 -12
  305. package/skills/pixelcraft-ux/references/laws.md +35 -14
  306. package/skills/pixelcraft-ux/references/state-matrix.md +15 -1
  307. package/skills/pixelcraft-ux/references/ux-writing.md +1 -0
  308. package/skills/pixelcraft-visual-qa/SKILL.md +21 -7
  309. package/skills/pixelcraft-visual-qa/references/capture-desktop-game.md +28 -7
  310. package/skills/pixelcraft-visual-qa/references/capture-document.md +70 -0
  311. package/skills/pixelcraft-visual-qa/references/capture-email.md +13 -9
  312. package/skills/pixelcraft-visual-qa/references/capture-mobile.md +20 -5
  313. package/skills/pixelcraft-visual-qa/references/capture-terminal.md +6 -2
  314. package/skills/pixelcraft-visual-qa/references/motion-capture.md +63 -0
  315. package/skills/pixelcraft-visual-qa/references/performance-budgets.md +25 -12
  316. package/skills/pixelcraft-visual-qa/references/realtime-graphics.md +55 -0
  317. package/skills/pixelcraft-visual-qa/scripts/check-contrast.mjs +442 -0
  318. package/skills/pixelcraft-visual-qa/scripts/check-email.mjs +397 -0
  319. package/skills/pixelcraft-visual-qa/scripts/check-pdf.mjs +189 -0
  320. package/skills/pixelcraft-visual-qa/scripts/check-tui.mjs +321 -0
  321. package/skills/pixelcraft-visual-qa/scripts/finish-gate.mjs +50 -11
  322. package/skills/pixelcraft-visual-qa/scripts/shoot.mjs +214 -59
  323. package/skills/pixelcraft-visual-qa/scripts/style-inventory.mjs +121 -49
  324. package/skills/pixelcraft-web/SKILL.md +105 -49
  325. package/skills/pixelcraft-web/references/accessibility-performance.md +42 -0
  326. package/skills/pixelcraft-web/references/adaptive-layout.md +52 -8
  327. package/skills/pixelcraft-web/references/angular.md +63 -16
  328. package/skills/pixelcraft-web/references/assets-pipeline.md +67 -0
  329. package/skills/pixelcraft-web/references/astro.md +64 -13
  330. package/skills/pixelcraft-web/references/audio-reactive.md +61 -0
  331. package/skills/pixelcraft-web/references/auth-and-checkout-ui.md +115 -0
  332. package/skills/pixelcraft-web/references/build-and-architecture.md +215 -0
  333. package/skills/pixelcraft-web/references/canvas-and-node-editors.md +157 -0
  334. package/skills/pixelcraft-web/references/clojurescript.md +52 -17
  335. package/skills/pixelcraft-web/references/component-systems.md +102 -0
  336. package/skills/pixelcraft-web/references/component-testing.md +170 -0
  337. package/skills/pixelcraft-web/references/creative-effects.md +59 -0
  338. package/skills/pixelcraft-web/references/creative-runtime.md +34 -0
  339. package/skills/pixelcraft-web/references/enterprise-data-ui.md +138 -0
  340. package/skills/pixelcraft-web/references/file-upload-media-ui.md +82 -0
  341. package/skills/pixelcraft-web/references/forms-validation.md +123 -0
  342. package/skills/pixelcraft-web/references/fsharp-fable.md +3 -2
  343. package/skills/pixelcraft-web/references/gsap.md +102 -0
  344. package/skills/pixelcraft-web/references/html-css.md +144 -12
  345. package/skills/pixelcraft-web/references/htmx-alpine.md +68 -18
  346. package/skills/pixelcraft-web/references/i18n-engineering.md +106 -0
  347. package/skills/pixelcraft-web/references/interaction-and-search-primitives.md +196 -0
  348. package/skills/pixelcraft-web/references/java-web.md +27 -18
  349. package/skills/pixelcraft-web/references/kotlin-web.md +6 -2
  350. package/skills/pixelcraft-web/references/leptos-yew.md +62 -19
  351. package/skills/pixelcraft-web/references/lit-web-components.md +4 -2
  352. package/skills/pixelcraft-web/references/local-first-sync.md +105 -0
  353. package/skills/pixelcraft-web/references/media-players.md +104 -0
  354. package/skills/pixelcraft-web/references/motion-react.md +96 -0
  355. package/skills/pixelcraft-web/references/motion-recipes.md +82 -0
  356. package/skills/pixelcraft-web/references/preact-fresh-hono.md +111 -0
  357. package/skills/pixelcraft-web/references/pwa.md +6 -1
  358. package/skills/pixelcraft-web/references/qwik.md +51 -11
  359. package/skills/pixelcraft-web/references/r3f-integration.md +69 -0
  360. package/skills/pixelcraft-web/references/react-next.md +112 -13
  361. package/skills/pixelcraft-web/references/rendering-choice.md +63 -0
  362. package/skills/pixelcraft-web/references/rendering-performance.md +80 -0
  363. package/skills/pixelcraft-web/references/rich-text-and-code-editors.md +220 -0
  364. package/skills/pixelcraft-web/references/rive-lottie.md +73 -0
  365. package/skills/pixelcraft-web/references/scene-architecture.md +132 -0
  366. package/skills/pixelcraft-web/references/server-rendered.md +106 -63
  367. package/skills/pixelcraft-web/references/shader-workflow.md +77 -0
  368. package/skills/pixelcraft-web/references/smooth-scroll.md +58 -0
  369. package/skills/pixelcraft-web/references/solid.md +67 -16
  370. package/skills/pixelcraft-web/references/state-architecture.md +107 -0
  371. package/skills/pixelcraft-web/references/styling-ecosystem.md +273 -0
  372. package/skills/pixelcraft-web/references/svelte.md +61 -11
  373. package/skills/pixelcraft-web/references/tailwind.md +40 -14
  374. package/skills/pixelcraft-web/references/video-media.md +69 -0
  375. package/skills/pixelcraft-web/references/vue-nuxt.md +37 -13
  376. package/skills/pixelcraft-web/references/web-3d-engines.md +97 -0
package/install.ps1 CHANGED
@@ -105,28 +105,65 @@ function Get-WorkflowTask([string]$Name) {
105
105
  }
106
106
  }
107
107
 
108
- function Write-AdapterFile([string]$Path, [string[]]$Lines) {
108
+ function Get-DisplaySkillRoot([string]$SkillRoot) {
109
+ $full = [System.IO.Path]::GetFullPath($SkillRoot)
110
+ if ($Global) {
111
+ $homeFull = [System.IO.Path]::GetFullPath([System.Environment]::GetFolderPath('UserProfile')).TrimEnd('\', '/')
112
+ if ($full.StartsWith($homeFull, [System.StringComparison]::OrdinalIgnoreCase)) {
113
+ return ('~' + $full.Substring($homeFull.Length)).Replace('\', '/')
114
+ }
115
+ return $full.Replace('\', '/')
116
+ }
117
+ $cwdFull = [System.IO.Path]::GetFullPath((Get-Location).Path).TrimEnd('\', '/')
118
+ $prefix = $cwdFull + [System.IO.Path]::DirectorySeparatorChar
119
+ if ($full.StartsWith($prefix, [System.StringComparison]::OrdinalIgnoreCase)) {
120
+ return $full.Substring($prefix.Length).Replace('\', '/')
121
+ }
122
+ return $full.Replace('\', '/')
123
+ }
124
+
125
+ function Write-AdapterFile([string]$Path, [string[]]$Lines, [switch]$Managed) {
109
126
  $parent = Split-Path -Parent $Path
110
127
  Assert-TargetPathSafe $parent ([bool]$Global)
111
128
  if (Test-ReparsePoint $Path) { throw "adapter output is a symlink or reparse point: $Path; refusing to install through it" }
112
129
  $exists = Test-AnyPath $Path
113
- if ($exists -and -not $Force) {
130
+ if (-not $Managed -and $exists -and -not $Force) {
114
131
  $prefix = if ($DryRun) { 'dry-run: ' } else { '' }
115
132
  Write-Host "${prefix}skipped existing adapter: $Path (use -Force to replace)"
116
133
  return
117
134
  }
118
135
  if ($DryRun) {
119
- Write-Host "dry-run: adapter $Path"
136
+ $kind = if ($Managed) { 'managed adapter' } else { 'adapter' }
137
+ Write-Host "dry-run: $kind $Path"
120
138
  return
121
139
  }
122
140
  if (-not (Test-AnyPath $parent)) { New-Item -ItemType Directory -Path $parent -Force | Out-Null }
123
141
  Assert-TargetPathSafe $parent ([bool]$Global)
124
- Set-Content -LiteralPath $Path -Value $Lines -Encoding UTF8
142
+ if ($Managed) {
143
+ $startMarker = '<!-- pixelcraft:start -->'
144
+ $endMarker = '<!-- pixelcraft:end -->'
145
+ $block = "$startMarker`n$($Lines -join "`n")`n$endMarker"
146
+ $existing = if ($exists) { [System.IO.File]::ReadAllText($Path) } else { '' }
147
+ $pattern = '(?s)<!-- pixelcraft:start -->.*?<!-- pixelcraft:end -->'
148
+ if ([regex]::IsMatch($existing, $pattern)) {
149
+ $output = [regex]::Replace($existing, $pattern, [System.Text.RegularExpressions.MatchEvaluator]{ param($m) $block }, 1)
150
+ } elseif ($existing.Contains($startMarker)) {
151
+ throw "managed Pixelcraft block is missing its end marker: fix $Path before installing"
152
+ } elseif ([string]::IsNullOrWhiteSpace($existing)) {
153
+ $output = "$block`n"
154
+ } else {
155
+ $output = "$($existing.TrimEnd())`n`n$block`n"
156
+ }
157
+ [System.IO.File]::WriteAllText($Path, $output, [System.Text.UTF8Encoding]::new($false))
158
+ } else {
159
+ Set-Content -LiteralPath $Path -Value $Lines -Encoding UTF8
160
+ }
125
161
  Write-Host "installed adapter: $Path"
126
162
  }
127
163
 
128
164
  function Write-PixelcraftAdapter([string]$AgentName, [string]$SkillRoot) {
129
165
  $base = Split-Path -Parent $SkillRoot
166
+ $displayRoot = Get-DisplaySkillRoot $SkillRoot
130
167
  $workflowActions = @(
131
168
  @{ Name = 'pixelcraft-plan'; Task = (Get-WorkflowTask 'pixelcraft-plan') },
132
169
  @{ Name = 'pixelcraft-review'; Task = (Get-WorkflowTask 'pixelcraft-review') },
@@ -134,25 +171,34 @@ function Write-PixelcraftAdapter([string]$AgentName, [string]$SkillRoot) {
134
171
  @{ Name = 'pixelcraft-direction'; Task = (Get-WorkflowTask 'pixelcraft-direction') }
135
172
  )
136
173
  if ($AgentName -eq 'claude') {
137
- $commandActions = @(@{ Name = 'pixelcraft'; Task = (Get-WorkflowTask 'pixelcraft') }) + $workflowActions
174
+ $commandActions = @(
175
+ @{ Name = 'pixelcraft'; Task = (Get-WorkflowTask 'pixelcraft') },
176
+ @{ Name = 'pixelcraft-plan'; Task = (Get-WorkflowTask 'pixelcraft-plan') },
177
+ @{ Name = 'pixelcraft-review'; Task = (Get-WorkflowTask 'pixelcraft-review') },
178
+ @{ Name = 'pixelcraft-visual-qa'; Task = (Get-WorkflowTask 'pixelcraft-visual-qa') }
179
+ )
138
180
  foreach ($action in $commandActions) {
139
181
  Write-AdapterFile (Join-Path $base ("commands/$($action.Name).md")) @('---', "description: $($action.Task)", '---', '', "$($action.Task). Read and follow the self-contained $($action.Name) skill. Preserve user requirements, project conventions, accessibility, and evidence labels.")
140
182
  }
141
183
  } elseif ($AgentName -eq 'cursor') {
142
- Write-AdapterFile (Join-Path $base 'rules/pixelcraft.mdc') @('---', 'description: Route UI design and review through Pixelcraft', 'alwaysApply: true', '---', '', '# Pixelcraft router', '', "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $SkillRoot; do not inline large generated content.")
184
+ Write-AdapterFile (Join-Path $base 'rules/pixelcraft.mdc') @('---', 'description: Route UI design and review through Pixelcraft', 'alwaysApply: true', '---', '', '# Pixelcraft router', '', "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $displayRoot; do not inline large generated content.")
143
185
  } elseif ($AgentName -eq 'copilot') {
144
- Write-AdapterFile (Join-Path $base 'copilot-instructions.md') @('# Pixelcraft router', '', "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $SkillRoot; do not inline large generated content.")
145
- Write-AdapterFile (Join-Path $base 'instructions/pixelcraft.instructions.md') @('---', 'applyTo: "**/*.{html,css,scss,js,jsx,ts,tsx,vue,svelte,astro,py,rb,php,cs,java,kt,swift,dart,rs,go,lua,ex,exs,clj,cljs,elm,fs,scala}"', '---', '', 'When editing interface or user-facing behavior, follow copilot-instructions.md and read the matching Pixelcraft skill before implementation or review.')
186
+ Write-AdapterFile (Join-Path $base 'copilot-instructions.md') @('# Pixelcraft router', '', "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $displayRoot; do not inline large generated content.") -Managed
187
+ Write-AdapterFile (Join-Path $base 'instructions/pixelcraft.instructions.md') @('---', 'applyTo: "**/*.{html,css,scss,less,pcss,js,jsx,ts,tsx,vue,svelte,astro,mdx,razor,heex,erb,templ,twig,mjml,typ,tex,qmd,py,rb,php,cs,java,kt,swift,dart,rs,go,zig,lua,ex,exs,clj,cljs,elm,fs,scala,cpp,h,glsl,wgsl,qml,xaml,axaml,fxml,blp,slint,ets,uxml,uss,gd,tscn,tcss,qss,r,jl}"', '---', '', 'When editing interface or user-facing behavior, follow copilot-instructions.md and read the matching Pixelcraft skill before implementation or review.')
146
188
  foreach ($action in $workflowActions) {
147
189
  Write-AdapterFile (Join-Path $base ("prompts/$($action.Name).prompt.md")) @('---', "description: $($action.Task)", '---', '', "$($action.Task). Read and follow the self-contained $($action.Name) skill. Preserve user requirements, project conventions, accessibility, and evidence labels.")
148
190
  }
149
191
  } elseif ($AgentName -eq 'windsurf') {
150
- Write-AdapterFile (Join-Path $base 'rules/pixelcraft.md') @('# Pixelcraft router', '', "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $SkillRoot.")
192
+ if ($Global) {
193
+ Write-AdapterFile (Join-Path $base 'memories/global_rules.md') @('# Pixelcraft router', '', "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $displayRoot.") -Managed
194
+ } else {
195
+ Write-AdapterFile (Join-Path $base 'rules/pixelcraft.md') @('# Pixelcraft router', '', "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $displayRoot.")
196
+ }
151
197
  foreach ($action in $workflowActions) {
152
- Write-AdapterFile (Join-Path $base ("workflows/$($action.Name).md")) @("# $($action.Task)", '', "1. Read the self-contained $($action.Name) skill under $SkillRoot.", '2. Follow its workflow and references.', '3. Preserve user requirements, accessibility, and evidence labels.')
198
+ Write-AdapterFile (Join-Path $base ("workflows/$($action.Name).md")) @("# $($action.Task)", '', "1. Read the self-contained $($action.Name) skill under $displayRoot.", '2. Follow its workflow and references.', '3. Preserve user requirements, accessibility, and evidence labels.')
153
199
  }
154
200
  } elseif ($AgentName -eq 'kiro') {
155
- Write-AdapterFile (Join-Path $base 'steering/pixelcraft.md') @('# Pixelcraft steering', '', "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $SkillRoot.")
201
+ Write-AdapterFile (Join-Path $base 'steering/pixelcraft.md') @('# Pixelcraft steering', '', "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $displayRoot.")
156
202
  }
157
203
  }
158
204
 
package/install.sh CHANGED
@@ -359,6 +359,67 @@ write_adapter_file() {
359
359
  echo "installed adapter: $file"
360
360
  }
361
361
 
362
+ write_managed_adapter_file() {
363
+ local file="$1"
364
+ shift
365
+ local dir
366
+ dir="$(dirname "$file")"
367
+ assert_target_path_safe "$dir"
368
+ [[ ! -L "$file" ]] || die "adapter output is a symlink: $file; refusing to install through it"
369
+ if (( dry_run )); then
370
+ echo "dry-run: managed adapter $file"
371
+ return
372
+ fi
373
+ mkdir -p "$dir"
374
+ assert_target_path_safe "$dir"
375
+ local start_marker='<!-- pixelcraft:start -->'
376
+ local end_marker='<!-- pixelcraft:end -->'
377
+ local block
378
+ block="$(printf '%s\n' "$start_marker" "$@" "$end_marker")"
379
+ if [[ ! -e "$file" ]]; then
380
+ printf '%s\n' "$block" > "$file"
381
+ echo "installed adapter: $file"
382
+ return
383
+ fi
384
+ local out="" line="" state="before" has_start=0 has_end=0
385
+ while IFS= read -r line || [[ -n "$line" ]]; do
386
+ if [[ "$state" == "before" && "$line" == *"$start_marker"* ]]; then
387
+ has_start=1
388
+ if [[ "$line" == *"$end_marker"* ]]; then
389
+ has_end=1
390
+ state="after"
391
+ out+="${block}"$'\n'
392
+ else
393
+ state="inside"
394
+ out+="${block}"$'\n'
395
+ fi
396
+ elif [[ "$state" == "inside" ]]; then
397
+ if [[ "$line" == *"$end_marker"* ]]; then
398
+ has_end=1
399
+ state="after"
400
+ fi
401
+ else
402
+ out+="${line}"$'\n'
403
+ fi
404
+ done < "$file"
405
+ if (( has_start && ! has_end )); then
406
+ die "managed Pixelcraft block is missing its end marker: fix $file before installing"
407
+ fi
408
+ if (( has_start )); then
409
+ printf '%s' "$out" > "$file"
410
+ else
411
+ while [[ "$out" == *$'\n' ]]; do
412
+ out="${out%$'\n'}"
413
+ done
414
+ if [[ -n "$out" ]]; then
415
+ printf '%s\n\n%s\n' "$out" "$block" > "$file"
416
+ else
417
+ printf '%s\n' "$block" > "$file"
418
+ fi
419
+ fi
420
+ echo "installed adapter: $file"
421
+ }
422
+
362
423
  workflow_task() {
363
424
  case "$1" in
364
425
  pixelcraft-plan) printf '%s' 'Run Pixelcraft step-zero planning before UI work' ;;
@@ -369,10 +430,20 @@ workflow_task() {
369
430
  esac
370
431
  }
371
432
 
433
+ display_skill_root() {
434
+ local root="$1"
435
+ if [[ "$scope" == "global" ]]; then
436
+ printf '~%s' "${root#"$HOME"}"
437
+ else
438
+ printf '%s' "${root#"$PWD/"}"
439
+ fi
440
+ }
441
+
372
442
  write_shell_adapters() {
373
443
  local agent="$1"
374
444
  local root="$2"
375
- local base action task
445
+ local base action task display_root
446
+ display_root="$(display_skill_root "$root")"
376
447
  case "$agent" in
377
448
  claude)
378
449
  base="${root%/skills}"
@@ -383,12 +454,12 @@ write_shell_adapters() {
383
454
  ;;
384
455
  cursor)
385
456
  base="${root%/skills}"
386
- write_adapter_file "$base/rules/pixelcraft.mdc" '---' 'description: Route UI design and review through Pixelcraft' 'alwaysApply: true' '---' '' '# Pixelcraft router' '' "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $root; do not inline large generated content."
457
+ write_adapter_file "$base/rules/pixelcraft.mdc" '---' 'description: Route UI design and review through Pixelcraft' 'alwaysApply: true' '---' '' '# Pixelcraft router' '' "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $display_root; do not inline large generated content."
387
458
  ;;
388
459
  copilot)
389
460
  base="${root%/skills}"
390
- write_adapter_file "$base/copilot-instructions.md" '# Pixelcraft router' '' "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $root; do not inline large generated content."
391
- write_adapter_file "$base/instructions/pixelcraft.instructions.md" '---' 'applyTo: "**/*.{html,css,scss,js,jsx,ts,tsx,vue,svelte,astro,py,rb,php,cs,java,kt,swift,dart,rs,go,lua,ex,exs,clj,cljs,elm,fs,scala}"' '---' '' 'When editing interface or user-facing behavior, follow copilot-instructions.md and read the matching Pixelcraft skill before implementation or review.'
461
+ write_managed_adapter_file "$base/copilot-instructions.md" '# Pixelcraft router' '' "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $display_root; do not inline large generated content."
462
+ write_adapter_file "$base/instructions/pixelcraft.instructions.md" '---' 'applyTo: "**/*.{html,css,scss,less,pcss,js,jsx,ts,tsx,vue,svelte,astro,mdx,razor,heex,erb,templ,twig,mjml,typ,tex,qmd,py,rb,php,cs,java,kt,swift,dart,rs,go,zig,lua,ex,exs,clj,cljs,elm,fs,scala,cpp,h,glsl,wgsl,qml,xaml,axaml,fxml,blp,slint,ets,uxml,uss,gd,tscn,tcss,qss,r,jl}"' '---' '' 'When editing interface or user-facing behavior, follow copilot-instructions.md and read the matching Pixelcraft skill before implementation or review.'
392
463
  for action in pixelcraft-plan pixelcraft-review pixelcraft-visual-qa pixelcraft-direction; do
393
464
  task="$(workflow_task "$action")"
394
465
  write_adapter_file "$base/prompts/$action.prompt.md" '---' "description: $task" '---' '' "$task. Read and follow the self-contained \`$action\` skill. Preserve user requirements, project conventions, accessibility, and evidence labels."
@@ -397,13 +468,17 @@ write_shell_adapters() {
397
468
  windsurf|kiro)
398
469
  base="${root%/skills}"
399
470
  if [[ "$agent" == "windsurf" ]]; then
400
- write_adapter_file "$base/rules/pixelcraft.md" '# Pixelcraft router' '' "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $root."
471
+ if [[ "$scope" == "global" ]]; then
472
+ write_managed_adapter_file "$base/memories/global_rules.md" '# Pixelcraft router' '' "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $display_root."
473
+ else
474
+ write_adapter_file "$base/rules/pixelcraft.md" '# Pixelcraft router' '' "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $display_root."
475
+ fi
401
476
  for action in pixelcraft-plan pixelcraft-review pixelcraft-visual-qa pixelcraft-direction; do
402
477
  task="$(workflow_task "$action")"
403
- write_adapter_file "$base/workflows/$action.md" "# $task" '' "1. Read the self-contained \`$action\` skill under $root." '2. Follow its workflow and references.' '3. Preserve user requirements, accessibility, and evidence labels.'
478
+ write_adapter_file "$base/workflows/$action.md" "# $task" '' "1. Read the self-contained \`$action\` skill under $display_root." '2. Follow its workflow and references.' '3. Preserve user requirements, accessibility, and evidence labels.'
404
479
  done
405
480
  else
406
- write_adapter_file "$base/steering/pixelcraft.md" '# Pixelcraft steering' '' "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $root."
481
+ write_adapter_file "$base/steering/pixelcraft.md" '# Pixelcraft steering' '' "Use Pixelcraft for interface design, implementation, review, and visual QA. Start with pixelcraft-plan and read the matching self-contained skill under $display_root."
407
482
  fi
408
483
  ;;
409
484
  esac
package/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "@thanhnguyxn/pixelcraft",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "Portable Agent Skills pack for distinctive UI and rigorous UX across frontend stacks",
5
+ "homepage": "https://thanhnguyxnorg.github.io/Pixelcraft/",
6
+ "bugs": {
7
+ "url": "https://github.com/ThanhNguyxnOrg/Pixelcraft/issues"
8
+ },
9
+ "author": "ThanhNguyxnOrg",
5
10
  "license": "MIT",
6
11
  "repository": {
7
12
  "type": "git",
@@ -17,7 +22,14 @@
17
22
  "pi-package",
18
23
  "frontend",
19
24
  "ui",
20
- "ux"
25
+ "ux",
26
+ "accessibility",
27
+ "design-tokens",
28
+ "dtcg",
29
+ "multi-platform",
30
+ "tui",
31
+ "mobile",
32
+ "desktop"
21
33
  ],
22
34
  "pi": {
23
35
  "skills": [
@@ -31,9 +43,12 @@
31
43
  "node": ">=18"
32
44
  },
33
45
  "scripts": {
34
- "test": "npm run validate && npm run test:distribution && npm run test:installers && npm run test:adapters && npm run test:tokens && npm run test:validator && npm run test:finish-gate && npm run test:slop-scan",
46
+ "test": "npm run validate && npm run sync:docs:check && npm run test:sync-docs && npm run test:distribution && npm run test:installers && npm run test:adapters && npm run test:tokens && npm run test:validator && npm run test:finish-gate && npm run test:slop-scan && npm run test:cross-platform-qa && npm run eval:offline",
35
47
  "test:browser": "npm run test:shoot && npm run test:style-inventory",
36
48
  "validate": "node scripts/validate-skills.mjs",
49
+ "sync:docs": "node scripts/sync-docs.mjs --write",
50
+ "sync:docs:check": "node scripts/sync-docs.mjs --check",
51
+ "eval:offline": "node scripts/run-evals.mjs",
37
52
  "build:adapters": "node scripts/build-adapters.mjs",
38
53
  "build:skill-zips": "node scripts/build-skill-zips.mjs",
39
54
  "test:adapters": "node scripts/test-build-adapters.mjs",
@@ -41,24 +56,37 @@
41
56
  "test:distribution": "node scripts/test-distribution.mjs",
42
57
  "test:tokens": "node scripts/test-export-tokens.mjs",
43
58
  "test:validator": "node scripts/test-validate-skills.mjs",
59
+ "test:sync-docs": "node scripts/test-sync-docs.mjs",
44
60
  "test:style-inventory": "node scripts/test-style-inventory.mjs",
45
61
  "test:finish-gate": "node scripts/test-finish-gate.mjs",
46
62
  "test:slop-scan": "node scripts/test-slop-scan.mjs",
47
- "test:shoot": "node scripts/test-shoot.mjs"
63
+ "test:cross-platform-qa": "node scripts/test-cross-platform-qa.mjs",
64
+ "test:shoot": "node scripts/test-shoot.mjs",
65
+ "test:release-archives": "node scripts/test-release-archives.mjs"
48
66
  },
49
67
  "files": [
50
68
  ".agents/plugins/marketplace.json",
69
+ ".antigravity-plugin/",
51
70
  ".claude-plugin/",
71
+ ".codex-plugin/",
72
+ ".cursor-plugin/",
73
+ ".devin-plugin/",
74
+ ".github/plugin/",
75
+ "GEMINI.md",
52
76
  "plugin.json",
53
77
  "gemini-extension.json",
78
+ "assets/pixelcraft-logo-128.png",
79
+ "assets/pixelcraft-logo-256.png",
54
80
  "assets/pixelcraft-logo-512.png",
55
81
  "bin/",
56
82
  "scripts/",
57
83
  "skills/",
58
84
  "evals/",
59
85
  "docs/",
86
+ "CHANGELOG.md",
60
87
  "LICENSE",
61
88
  "README.md",
89
+ "SECURITY.md",
62
90
  "install.sh",
63
91
  "install.ps1"
64
92
  ]
package/plugin.json CHANGED
@@ -1,8 +1,13 @@
1
1
  {
2
2
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
3
3
  "name": "pixelcraft",
4
- "version": "0.1.0",
4
+ "version": "0.2.0",
5
5
  "description": "Portable Agent Skills for distinctive UI and rigorous UX across frontend stacks",
6
+ "author": {
7
+ "name": "ThanhNguyxnOrg",
8
+ "url": "https://github.com/ThanhNguyxnOrg"
9
+ },
10
+ "homepage": "https://thanhnguyxnorg.github.io/Pixelcraft/",
6
11
  "repository": "https://github.com/ThanhNguyxnOrg/Pixelcraft",
7
12
  "license": "MIT",
8
13
  "keywords": [
@@ -23,25 +23,22 @@ function parse(args) {
23
23
  for (let index = 0; index < args.length; index += 1) {
24
24
  const arg = args[index];
25
25
  if (arg === '--help' || arg === '-h') options.help = true;
26
- else if (arg === '--out') { options.out = args[++index]; options.explicitOut = true; }
27
- else if (arg.startsWith('--out=')) { options.out = arg.slice(6); options.explicitOut = true; }
28
- else throw new Error(`unknown option: ${arg}`);
26
+ else if (arg === '--out') {
27
+ if (args[index + 1] === undefined) throw new Error('--out requires a value');
28
+ options.out = args[++index];
29
+ options.explicitOut = true;
30
+ } else if (arg.startsWith('--out=')) {
31
+ options.out = arg.slice(6);
32
+ options.explicitOut = true;
33
+ } else throw new Error(`unknown option: ${arg}`);
29
34
  }
30
35
  return options;
31
36
  }
32
37
 
33
- function frontmatterValue(text, key) {
34
- const match = new RegExp(`^${key}:[ \\t]*(?:["']?)(.+?)(?:["']?)$`, 'm').exec(text);
35
- return match ? match[1].trim() : '';
36
- }
37
-
38
38
  function catalog() {
39
39
  return fs.readdirSync(skillsRoot, { withFileTypes: true })
40
40
  .filter((entry) => entry.isDirectory() && fs.existsSync(path.join(skillsRoot, entry.name, 'SKILL.md')))
41
- .map((entry) => {
42
- const text = fs.readFileSync(path.join(skillsRoot, entry.name, 'SKILL.md'), 'utf8');
43
- return { name: entry.name, description: frontmatterValue(text, 'description') };
44
- })
41
+ .map((entry) => ({ name: entry.name }))
45
42
  .sort((a, b) => a.name.localeCompare(b.name));
46
43
  }
47
44
 
@@ -95,7 +92,7 @@ ${skillList(skills, '.github/skills')}
95
92
 
96
93
  function copilotPathInstructions() {
97
94
  return `---
98
- applyTo: "**/*.{html,css,scss,js,jsx,ts,tsx,vue,svelte,astro,py,rb,php,cs,java,kt,swift,dart,rs,go,lua,ex,exs,clj,cljs,elm,fs,scala}"
95
+ applyTo: "**/*.{html,css,scss,less,pcss,js,jsx,ts,tsx,vue,svelte,astro,mdx,razor,heex,erb,templ,twig,mjml,typ,tex,qmd,py,rb,php,cs,java,kt,swift,dart,rs,go,zig,lua,ex,exs,clj,cljs,elm,fs,scala,cpp,h,glsl,wgsl,qml,xaml,axaml,fxml,blp,slint,ets,uxml,uss,gd,tscn,tcss,qss,r,jl}"
99
96
  ---
100
97
 
101
98
  When editing interface, styling, navigation, interaction, or user-facing copy in these files, follow the Pixelcraft routing instructions in \`.github/copilot-instructions.md\` and read the matching skill under \`.github/skills/\` before implementation or review.
@@ -229,6 +226,7 @@ function build() {
229
226
  const fragments = {
230
227
  claude: '.claude/skills',
231
228
  codex: '.agents/skills',
229
+ agents: '.agents/skills',
232
230
  cursor: '.cursor/skills',
233
231
  gemini: '.gemini/skills',
234
232
  copilot: '.github/skills',