@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
@@ -2,62 +2,75 @@
2
2
 
3
3
  A logo concept is not production identity until it survives favicons, adaptive masks, app stores, font licensing, raster compression, and build automation. Generate assets from source vectors; never upscale screenshots.
4
4
 
5
- ## Web favicon and manifest set
5
+ ## Dedicated small-size optical reduction (`16 px` / `24 px` / `32 px`) & favicon set
6
6
 
7
- Minimum practical set:
7
+ Shrinking a complex hero lockup linearly down to `16×16 px` collapses counters into muddy gray antialiasing. Ship **dedicated optical-size masters** snapped to integer pixel grids:
8
+
9
+ | Optical tier | Target sizes | Required geometric simplification |
10
+ |---|---|---|
11
+ | **Hero / Lockup** | `>= 64 px` height | Full mark + wordmark lockup, hairline construction details, optional tagline |
12
+ | **Standard UI / App Icon (`32 px` / `24 px`)** | `24×24 px`, `32×32 px`, taskbar/dock | Drop wordmark & tagline; thicken strokes by `+15–25%`, widen internal negative-space counters (`>= 2 px` gap), and snap vertical/horizontal stems to integer pixels |
13
+ | **Micro Favicon (`16 px`)** | `16×16 px` browser tab, tray icon | Reduce to the single boldest silhouette/monogram primitive (`<= 2–3` shapes, stroke width `>= 1.5–2 px`, zero internal filigree) |
14
+
15
+ Minimum web favicon and manifest set:
8
16
 
9
17
  | Asset | Requirement |
10
18
  |---|---|
11
- | `favicon.svg` | vector source with `viewBox`; include a scoped `@media (prefers-color-scheme: dark)` rule only when the mark remains recognizable without inversion artifacts |
12
- | `favicon.ico` | include a real 32×32 entry; multi-resolution ICO commonly also carries 16×16/48×48 depending legacy support |
13
- | `apple-touch-icon.png` | 180×180, opaque background appropriate to the mark; Apple expects no transparency-dependent composition |
14
- | manifest icon | 192×192 PNG for baseline PWA/install use |
15
- | manifest icon | 512×512 PNG for install/splash use |
16
- | maskable icon | 512×512 PNG with `purpose: "maskable"` and critical artwork inside the platform safe zone |
17
-
18
- Validate the SVG separately from raster exports. A dark-mode media query inside SVG only affects contexts that execute SVG styling; raster conversions and some icon consumers ignore it. Export explicit light/dark raster variants where needed rather than assuming live SVG behavior.
19
+ | `favicon.svg` | optical-reduced mark with `viewBox`; include a scoped `@media (prefers-color-scheme: dark)` rule + high-contrast outline/backing where needed |
20
+ | `favicon.ico` | multi-resolution `16×16` (dedicated `16 px` optical master) + `32×32` (`32 px` master) |
21
+ | `apple-touch-icon.png` | `180×180`, opaque background appropriate to the mark; Apple expects no transparency-dependent composition |
22
+ | manifest icons | `192×192` PNG and `512×512` PNG for PWA/install/splash use |
23
+ | maskable icon | `512×512` PNG with `purpose: "maskable"` and critical artwork inside the central `80%` (`410×410 px`) safe circle |
19
24
 
20
- Maskable icons need generous quiet space because Android masks crop corners/circles/squircles differently. Test actual mask shapes; do not merely center the normal logo.
25
+ Validate the SVG separately from raster exports. Export explicit light/dark raster variants where needed rather than assuming live SVG `@media` execution, and test Android maskable icons across circle, squircle, and teardrop masks.
21
26
 
22
27
  ## Native app icons
23
28
 
24
29
  Use platform-native source generation rather than manually resizing arbitrarily.
25
30
 
26
- ### iOS/iPadOS
31
+ ### iOS / iPadOS / macOS (iOS 18+ Dark/Tinted & Apple 26 Icon Composer `.icon`)
27
32
 
28
- Modern Xcode asset catalogs normally use a single **1024×1024** App Store/icon source from which required variants are produced. Rules:
33
+ Modern Apple platforms require layered appearance-aware icons rather than a single flat light-mode square:
29
34
 
30
- - supply square artwork without transparency in the final icon;
31
- - do not add rounded corners manually—the system applies the mask;
32
- - keep critical detail away from edges because cropping/scaling is platform-controlled;
33
- - verify small sizes, Spotlight/settings scale, dark/tinted icon variants where supported, and App Store rendering.
35
+ - **iOS 18+ App Icons (Asset Catalog):** supply three distinct **1024×1024** variants when targeting iOS 18+: **Any Appearance (Light)** (opaque background, no manual rounded corners), **Dark** (transparent foreground artwork over dark system backdrop or custom dark ground), and **Tinted** (grayscale/monochrome foreground alpha mask so iOS tinting stays crisp without muddy contrast).
36
+ - **iOS 26 / macOS 26 Liquid Glass Icon Composer (`.icon` bundles):** author multi-layer `.icon` bundles via Apple **Icon Composer** (layered SVG/PNG foreground, specular glass material parameters, background fill) so the OS renders dynamic specular highlights, depth parallax, clear/tinted modes, and Reduce Transparency fallbacks automatically across iOS, iPadOS, macOS, and watchOS.
37
+ - Keep critical artwork away from outer edges because platform masks and optical specular rims crop/refract near boundaries; verify Spotlight, Settings, Dock magnification, and small-size legibility.
34
38
 
35
39
  ### Android adaptive icons
36
40
 
37
41
  Android adaptive icons use foreground/background layers and runtime masks. The canonical design canvas is **108×108dp**, with the inner **72×72dp** treated as the visible safe zone; outer regions can be cropped by masks. Current Android also supports monochrome themed icons. Test foreground/background separation, monochrome recognizability, round/squircle masks, scaling, and themed contrast. Verify current platform guidance before release because mask and themed-icon behavior evolves.
38
42
 
39
- ### macOS and Windows
43
+ ### Windows and Linux desktop
40
44
 
41
- - macOS: preserve platform depth/shape conventions and test Dock magnification/dark context; use asset-catalog generation rather than embedding fake rounded-rectangle chrome inside every layer.
42
45
  - Windows: produce ICO/MSIX/Store assets according to target packaging. ICO commonly includes 16/24/32/48/256 px entries, but packaging requirements depend on installer/store target—verify current documentation instead of treating that list as law.
43
46
  - Linux/desktop: provide scalable SVG plus PNG sizes required by the shell/theme target.
44
47
 
45
- ## SVG optimization
46
-
47
- Use SVGO or equivalent in the pipeline, but configure preservation deliberately:
48
-
49
- ```json
50
- {
51
- "plugins": [
52
- { "name": "removeViewBox", "active": false },
53
- { "name": "cleanupIds", "params": { "preserve": ["pixelcraft-title", "pixelcraft-desc"] } }
54
- ]
55
- }
48
+ ## SVG optimization and raster-to-vector tracing caveats
49
+
50
+ Use **SVGO (v3/v4)** extending `preset-default` rather than overriding the entire plugin array (`removeViewBox` is deprecated/disabled by default in modern SVGO—do not pass removed plugin keys):
51
+
52
+ ```js
53
+ // svgo.config.mjs
54
+ export default {
55
+ multipass: true,
56
+ plugins: [
57
+ {
58
+ name: 'preset-default',
59
+ params: {
60
+ overrides: {
61
+ cleanupIds: {
62
+ preserve: ['brand-logo-title', 'brand-logo-desc'],
63
+ },
64
+ },
65
+ },
66
+ },
67
+ ],
68
+ };
56
69
  ```
57
70
 
58
71
  Rules:
59
72
 
60
- - never strip `viewBox`; width/height can still be controlled by consumers;
73
+ - always preserve `viewBox` (modern SVGO keeps `viewBox` by default inside `preset-default`);
61
74
  - keep `<title>`/`<desc>` and accessible IDs when inline SVG must expose meaning;
62
75
  - do not collapse/merge paths when that destroys mask/animation/semantic structure;
63
76
  - convert text to paths for portable logo artwork or embed a properly licensed font; do both consciously;
@@ -65,6 +78,14 @@ Rules:
65
78
  - sanitize untrusted SVG before serving it;
66
79
  - retain unminified source in version control or a design artifact store.
67
80
 
81
+ ### Raster-to-vector tracing caveats (Recraft SVG / VTracer)
82
+
83
+ Image generators and auto-tracers (**Recraft SVG** native vector output, **VTracer** color raster tracing) are starting points, not finished master logos:
84
+
85
+ - Inspect node counts, redundant overlapping fills, unclosed paths, tiny stray speckles, and uneven Bézier handles in a real vector editor (Figma, Illustrator, Inkscape) before shipping.
86
+ - Rebuild geometric marks cleanly from true primitives/grid geometry rather than shipping auto-traced splines with wobbling curves.
87
+ - Verify crisp rendering at `16×16` and `32×32 px` before exporting favicons or app icons.
88
+
68
89
  ## Font subsetting
69
90
 
70
91
  Subsetting is a licensing, script, shaping, and runtime decision—not merely byte reduction.
@@ -89,37 +110,56 @@ pyftsubset Input.ttf \
89
110
  - WOFF2 is the normal web delivery format; keep WOFF/TTF/OTF only where a renderer/platform requires them;
90
111
  - verify license permission for embedding/subsetting/conversion.
91
112
 
92
- ## Raster image format choice
113
+ ## Raster image format choice and `<picture>` fallback
93
114
 
94
115
  | Format | Use | Avoid |
95
116
  |---|---|---|
96
117
  | SVG | logos/icons/simple vector art | complex photographic texture or untrusted active content |
97
- | AVIF | high compression photos/gradients where support/encode cost is acceptable | requiring universal legacy fallback without alternative |
118
+ | AVIF | high compression photos/gradients paired with WebP/JPEG fallback | bare `<img src="*.avif">` without fallback for older viewers/mail clients |
98
119
  | WebP | broad modern photographic/alpha compression baseline | assuming it is always smaller/better than AVIF/JPEG |
99
120
  | PNG | lossless UI, transparency, pixel-aligned artwork, compatibility | large photos where lossy compression is appropriate |
100
- | JPEG | legacy photographic compatibility without alpha | text/line art/transparency/repeated editing |
121
+ | JPEG | universal photographic compatibility without alpha | text/line art/transparency/repeated editing |
101
122
 
102
- Use responsive markup deliberately:
123
+ Use `<picture>` with ordered `<source>` candidates and a universally decodable fallback `<img>`:
103
124
 
104
125
  ```html
105
- <img
106
- src="hero-1024.avif"
107
- srcset="hero-640.avif 640w, hero-1024.avif 1024w, hero-1920.avif 1920w"
108
- sizes="(max-width: 720px) 100vw, 60vw"
109
- width="1024" height="640" alt="..." />
126
+ <picture>
127
+ <source
128
+ type="image/avif"
129
+ srcset="hero-640.avif 640w, hero-1024.avif 1024w, hero-1920.avif 1920w"
130
+ sizes="(max-width: 720px) 100vw, 60vw" />
131
+ <source
132
+ type="image/webp"
133
+ srcset="hero-640.webp 640w, hero-1024.webp 1024w, hero-1920.webp 1920w"
134
+ sizes="(max-width: 720px) 100vw, 60vw" />
135
+ <img
136
+ src="hero-1024.jpg"
137
+ srcset="hero-640.jpg 640w, hero-1024.jpg 1024w, hero-1920.jpg 1920w"
138
+ sizes="(max-width: 720px) 100vw, 60vw"
139
+ width="1024" height="640" alt="Descriptive alt text" />
140
+ </picture>
110
141
  ```
111
142
 
112
143
  `srcset` width descriptors describe image resource width; `sizes` tells the browser the rendered layout width. Density descriptors (`1x/2x/3x`) fit fixed-size icons/thumbnails, while width descriptors fit fluid layout. Do not ship retina multiplication when the source lacks detail or text becomes illegible.
113
144
 
145
+ ## Multi-target DTCG token export (`tokens.json` -> Web / Mobile / Desktop)
146
+
147
+ A brand kit is incomplete if engineers have to eyedropper PNG swatches. Author canonical **W3C DTCG `tokens.json`** (`color`, `fontFamily`, `dimension`, `shadow`, light/dark mode aliases) and compile via the `pixelcraft-tokens` exporter (`export-tokens.mjs --format all`) into **CSS custom properties (`OKLCH` + `sRGB` fallback)**, **iOS/macOS Swift (`Color` / `UIColor`)**, **Android Jetpack Compose Kotlin**, and **Desktop (`Qt QSS`, `GTK4`, `Slint`, `XAML`)** targets from one source of truth.
148
+
149
+ ## Provenance and C2PA Content Credentials
150
+
151
+ Preserve or attach **C2PA Content Credentials** (`c2patool` / generator-signed manifests) on AI-generated or AI-edited brand imagery whenever publishing externally or handing off to legal/brand teams:
152
+
153
+ - Do not strip existing C2PA provenance manifests blindly during raster recompression without policy approval; configure export pipelines to preserve or re-sign assertions.
154
+ - Record clearly in brand governance which assets are human-authored vectors, licensed photography, or AI-generated concept imagery (copyrightability and trademark clearance depend on honest provenance).
155
+
114
156
  ## Pipeline checklist
115
157
 
116
- - [ ] master vector has correct geometry/viewBox/metadata/license attribution;
117
- - [ ] text is converted to paths or the font license permits embedding;
118
- - [ ] light/dark/mono variants are deliberate, not automatic inversion;
119
- - [ ] SVG optimization preserves viewBox/a11y/geometry and visual output is diffed;
120
- - [ ] favicon ICO/SVG/apple touch/manifest/maskable files match documented dimensions;
121
- - [ ] native adaptive/store assets tested in real masks/scales;
122
- - [ ] font subsets include required scripts/features and license/name metadata;
123
- - [ ] raster images use correct format/color profile/DPI-agnostic scaling/srcset;
124
- - [ ] generated outputs are reproducible from source and never hand-edited;
125
- - [ ] tiny-size legibility, contrast, transparency, dark background, and compression are inspected.
158
+ - [ ] master vector has clean geometry (not unedited auto-trace), `viewBox`, metadata, and **dedicated `16 px` / `24 px` / `32 px` optical reductions**;
159
+ - [ ] **multi-target DTCG `tokens.json`** compiled cleanly to CSS, Swift, Kotlin, and Desktop token files (`pixelcraft-tokens`);
160
+ - [ ] text is converted to paths in standalone logo marks, and font licenses explicitly permit Webfont, Mobile App, Server PDF, and Desktop embedding where bundled;
161
+ - [ ] light/dark/tinted/mono variants are deliberate, not automatic inversion;
162
+ - [ ] SVGO v3/v4 (`preset-default`) output preserves `viewBox`/a11y/geometry and is visually diffed;
163
+ - [ ] favicon ICO/SVG/apple-touch/manifest/maskable and iOS 18+/26 `.icon` + Android `108×108 dp` (`72×72 dp` safe zone) assets verified in real masks;
164
+ - [ ] font subsets preserve Vietnamese/CJK/Arabic shaping features (`kern,liga,ccmp,mark,mkmk`);
165
+ - [ ] raster images use `<picture>` AVIF/WebP/JPEG fallback, explicit `width`/`height`, and C2PA provenance records.
@@ -42,39 +42,41 @@ Document concise rules with examples where possible:
42
42
 
43
43
  Also document what is allowed: approved monochrome/reverse modes, partner lockup clearspace, localized/tagline lockups, motion behavior, and adaptation ownership.
44
44
 
45
- ## Legal, licensing, and provenance boundary
45
+ ## Dual Screen (`OKLCH` / `sRGB` / `Display-P3`) <-> Print (`CMYK` / `Pantone`) color master
46
46
 
47
- Record what is known and unknown:
47
+ High-chroma screen primaries (`Display-P3` / `sRGB` electric blues, emerald greens, and violet neons) collapse into dull muddy slate when auto-converted to CMYK by a browser or PDF export! Every production brand kit must publish a **hand-calibrated Dual Screen <-> Print Color Master Table**:
48
48
 
49
- - font licenses and redistribution rights;
50
- - stock/image/illustration licenses;
51
- - generated-asset provenance/tool constraints;
52
- - trademark search/registration status;
53
- - similarity risks discovered during review;
54
- - ownership/assignment status of commissioned work;
55
- - expiration/territory/channel restrictions.
49
+ | Semantic role | Perceptual `OKLCH` | `sRGB HEX` fallback | Wide-gamut `Display-P3` | Hand-tuned `CMYK` (`FOGRA39` / `GRACoL`, `TAC <= 300%`) | Spot `Pantone` (Coated / Uncoated) |
50
+ |---|---|---|---|---|---|
51
+ | `brand.primary` | `oklch(0.58 0.21 258)` | `#1D63ED` | `color(display-p3 0.16 0.39 0.94)` | `C88 M58 Y0 K0` *(hand-tuned clean cobalt; zero black mud)* | `PMS 2728 C` / `2728 U` |
52
+ | `ink.body` | `oklch(0.18 0.01 255)` | `#111827` | `color(display-p3 0.07 0.09 0.15)` | **`C0 M0 Y0 K100`** *(100% K overprint for `< 18pt` body text; `C60 M40 Y40 K100` rich black strictly for large solid fills)* | `PMS Black 6 C` |
53
+ | `surface.paper` | `oklch(0.985 0.004 95)` | `#FAF9F5` | `color(display-p3 0.98 0.98 0.96)` | `C0 M1 Y4 K0` *(or unprinted stock white)* | Paper stock |
56
54
 
57
- Do not give legal advice or claim a mark is clear/registerable. Escalate trademark/legal clearance to qualified counsel or the project owner. Absence of a discovered conflict is not proof of legal availability.
55
+ Never ship auto-generated RGB-to-CMYK values on packaging, stationery, signage, or `PDF/X-4` collateral without soft-proofing under the target ICC profile (`FOGRA39` / `GRACoL 2013`).
58
56
 
59
- ## Accessibility and implementation checks
57
+ ## Commercial Font & Asset License Manifest + Preliminary Trademark Screening
60
58
 
61
- Before implementation use:
59
+ Font EULAs restrict usage by **deployment surface**, not merely "commercial vs personal." A desktop `.otf` trial or basic webfont license frequently **forbids** bundling `.ttf` files inside an iOS/Android app binary, running headless server PDF invoices, or redistributing fonts in open-source repos! Ship an explicit **Commercial License Manifest** with every brand handoff:
62
60
 
63
- - verify approved foreground/background pairs by semantic role rather than logo color in isolation;
64
- - ensure essential meaning does not depend solely on a color or decorative mascot detail;
65
- - inspect reduced/monochrome/high-contrast/forced-color behavior;
66
- - validate small-size legibility and pixel fidelity;
67
- - check text expansion/localized tagline behavior;
68
- - keep raster exports sharp at actual display density;
69
- - ensure SVG/vector assets do not depend on missing fonts—outline or ship licensed fonts according to project/legal constraints.
61
+ | Asset / Typeface | Foundry / Source & License (`OFL-1.1` / Commercial EULA) | Webfont (`@font-face` monthly pageview cap) | Mobile App Embedding (`.ipa` / `.apk` binary) | Server / Cloud PDF & OG Generation (headless SaaS) | Desktop App / Repo Redistribution |
62
+ |---|---|---|---|---|---|
63
+ | Primary UI / Display Font | e.g. `Inter` (`SIL OFL 1.1`) or Commercial Foundry | Verified (`Unlimited` / Tier cap) | Verified (`App License` or `OFL`) | Verified (`Server/CPU License` or `OFL`) | Verified (`Permitted` vs `Prohibited` in public Git) |
64
+ | Brand Photography / 3D / Icons | Commissioned / Licensed Stock / Internal Vector | Verified | Verified | Verified (print run cap checked) | Verified (C2PA / AI provenance logged) |
70
65
 
71
- ## Governance workflow
66
+ **Preliminary trademark-similarity screening:** Run a preliminary visual and verbal similarity check against direct category competitors and public trademark databases (`USPTO`, `EUIPO`, `WIPO`, or local registry) to surface obvious collisions early—**explicitly documenting in the handoff that preliminary design screening does NOT replace formal trademark counsel or legal clearance**.
67
+
68
+ ## Accessibility, `16–32 px` proofs & real-world application mockups
69
+
70
+ Before delivery:
72
71
 
73
- 1. Freeze the approved master/source version and record approval owner/date/scope.
74
- 2. Create implementation tokens/assets through controlled export rather than manual copying.
75
- 3. Validate small sizes, contrast pairs, dark/light modes, and prohibited-use rules.
76
- 4. Version changes and deprecate superseded exports explicitly.
77
- 5. Review use in real surfaces before broad rollout.
78
- 6. Revisit governance when product scope, licensing, trademark status, platforms, or identity strategy changes.
72
+ - verify approved foreground/background pairs (`WCAG 2.2 AA` + `APCA Lc`) across both `sRGB` and `Display-P3` light/dark tokens (`pixelcraft-tokens`);
73
+ - inspect dedicated **`16–32 px` (`16 px`, `24 px`, `32 px`) favicon & social avatar optical proofs**, monochrome/reversed marks, and localized tagline expansion (`rendered`);
74
+ - validate system coherence across **real-world application mockups** (**business cards, letterhead, slide deck templates, social profiles/cards, and packaging or signage**);
75
+ - confirm standalone logo SVGs convert wordmark type to paths while UI/document pipelines ship only EULA-verified fonts.
76
+
77
+ ## Governance workflow
79
78
 
80
- A brand without ownership/versioning quickly fragments into incompatible exports. Keep the system lightweight but explicit.
79
+ 1. Freeze the approved master vectors (hero lockup + **`16/24/32 px` favicon/avatar optical reductions**) and record owner/date/version.
80
+ 2. Publish the **Dual Screen <-> Print Color Master**, real-world application mockups, and multi-target **DTCG `tokens.json`** (`CSS`/Swift/Kotlin/Desktop).
81
+ 3. Complete the **Commercial Font & Asset License Manifest** and **preliminary trademark-similarity screening note** (with explicit formal-counsel disclaimer).
82
+ 4. Validate contrast pairs, dark/light/monochrome modes, and prohibited-use rules before broad rollout.
@@ -8,63 +8,62 @@ Infer category, audience, product function, emotional promise, cultural position
8
8
 
9
9
  | Category | Core ideas | Possible symbol logic |
10
10
  |---|---|---|
11
- | Developer tool | building, speed, precision, control | cursor, frame, bolt, scaffold, grid |
12
- | AI assistant | delegation, intelligence, clarity | spark, orbit, signal, path, node |
13
- | Security | protection, vigilance, boundary | shield, eye, seal, protected core |
14
- | Gaming / betting | chance, reward, tension, speed | dice, gem, card, signal, trophy |
15
- | Voice AI | sound, rhythm, command, flow | waveform, mic, orb, speech path |
16
- | Compliance | trust, order, rules, protection | seal, dog, badge, document, shield |
17
- | Drone / robotics | flight, control, vision, mission | wing, owl, crosshair, path, zone |
18
- | Luxury / editorial | taste, material, ritual, restraint | monogram, seal, paper, emboss, mark |
19
- | Productivity | focus, momentum, clarity | path, check, block, calendar, light |
11
+ | Developer tool | building, precision, composition, control | bracket, frame, modular block, scaffold, grid |
12
+ | AI assistant | delegation, synthesis, clarity | signal, conduit, path, node, lens |
13
+ | Security | protection, vigilance, boundary | shield, aperture, seal, protected core |
14
+ | Interactive / games | rules, momentum, play, craft | token, tile, emblem, crest, geometric pawn |
15
+ | Voice / audio | sound, rhythm, clarity, flow | waveform, acoustic slit, mic grille, speech path |
16
+ | Compliance / legal | trust, order, verification, record | seal, stamp, folded document, ledger mark, shield |
17
+ | Robotics / aerospace | flight, guidance, sensing, precision | airfoil, reticle, vector path, horizon, chassis cut |
18
+ | Craft / editorial | material, proportion, permanence, restraint | monogram, blind emboss, colophon, registration mark |
19
+ | Productivity | focus, sequence, completion, clarity | path, check, modular grid, index tab, compass |
20
20
 
21
21
  These are starting hypotheses, not mandatory clip art.
22
22
 
23
23
  ## Logo generation standard
24
24
 
25
- The logo must be professional: simple, memorable, symbolic, scalable, ownable, visually balanced, connected to the brand idea, and usable as icon, wordmark, badge, UI mark, and pattern. It should feel like it came from research and reduction.
25
+ The logo must be simple, memorable, symbolic, scalable, ownable, visually balanced, connected to the brand strategy, and usable as icon, wordmark, badge, UI mark, and pattern. It should read as the output of research and reduction.
26
26
 
27
- Avoid generic lightning bolts unless strongly justified, random animals, fake luxury crests, copied famous marks, overcomplicated symbols, clipart-style icons, meaningless sparkles, inconsistent logo variants, and boring initial-in-a-box marks.
27
+ Avoid generic lightning bolts, random animals, glowing orbs, fake luxury crests, copied famous marks, overcomplicated symbols, clipart-style icons, meaningless sparkles, inconsistent logo variants, and generic initial-in-a-box marks.
28
28
 
29
29
  Use one method below, or combine at most two.
30
30
 
31
31
  ## 1. Monogram + meaning
32
32
 
33
- Combine the brand initial with a metaphor:
33
+ Combine the brand initial with a structural metaphor derived from the product:
34
34
 
35
- - `K` + kite / frame / direction
36
- - `N` + path / folded system
37
- - `S` + sound wave / speech flow
38
- - `A` + ascent / architecture / momentum
35
+ - initial + directional fold / architectural corner
36
+ - initial + continuous path / conduit
37
+ - initial + acoustic wave / rhythmic bar
38
+ - initial + split bracket / modular frame
39
39
 
40
- Do not make a boring letter icon. Use negative space, cuts, folds, modular geometry, directional stress, or hidden behavior.
40
+ Do not make a plain letter inside a square. Use negative space, cuts, folds, modular geometry, directional stress, or interlocking forms.
41
41
 
42
42
  ## 2. Product action
43
43
 
44
- Turn the product's main action into a symbol:
44
+ Turn the product's main action into a reduced geometric symbol:
45
45
 
46
- - build → frame, scaffold, block, cursor
47
- - protect → shield, boundary, watch mark
48
- - convert → switch, arrow, transformation shape
49
- - speak → waveform, mic, pulse
50
- - hunt threats → eye, raptor, radar, trace
51
- - automate → loop, handoff, path
46
+ - build → frame, scaffold, modular block, interlocking joint
47
+ - protect → shield, boundary seam, watch reticle
48
+ - convert → switch, split arrow, transformation fold
49
+ - speak → waveform, acoustic grille, resonance bar
50
+ - monitor → aperture, radar sweep, calibrated trace
51
+ - automate → continuous loop, relay node, handoff path
52
52
 
53
- Make it abstract and premium, not literal or clipart-like.
53
+ Keep forms geometric and reductive, not literal illustration or clipart.
54
54
 
55
55
  ## 3. Metaphor fusion
56
56
 
57
- Combine two meaningful ideas into one reduced mark:
57
+ Combine two domain-specific ideas into one reduced mark:
58
58
 
59
- - owl + drone vision
60
- - shield + mountain
61
- - moon + waveform
62
- - dog + compliance seal
63
- - dice + mobile game economy
64
- - cursor + lightning speed
65
- - kite + product frame
59
+ - protective boundary + architectural pillar (security / trust)
60
+ - horizon line + compass needle (navigation / travel)
61
+ - modular grid + speech bracket (collaborative tooling)
62
+ - folded ledger page + verification notch (audit / finance)
63
+ - acoustic wave + letterform stem (audio / communications)
64
+ - lens aperture + coordinate crosshair (optical / spatial hardware)
66
65
 
67
- The fusion must be subtle and readable at small sizes. If it requires explanation to notice, simplify.
66
+ The fusion must be subtle and readable at `16–24 px`. If it requires a paragraph to explain, simplify.
68
67
 
69
68
  ## 4. Negative space
70
69
 
@@ -1,77 +1,79 @@
1
1
  # Internal image-generation prompt template
2
2
 
3
- Use this structure internally. Fill every bracket with strategy-backed specifics. Do not expose hidden reasoning unless the user asks; do expose chosen direction, output size, and verification notes in the final report.
3
+ Keep decision reasoning separate from the text sent to the image model. Diffusion and multimodal image generators suffer from **concept leakage**: naming rejected metaphors or discarded aesthetics inside the generation prompt frequently causes the model to render those unwanted elements onto the board.
4
+
5
+ ## 1. Pre-prompt decision log (DO NOT send to the image model)
6
+
7
+ Record this internally before composing the prompt (and summarize in the final report):
8
+
9
+ ```text
10
+ Identity mode: [create from scratch / build on existing brand / requested refresh]
11
+ Supplied assets to preserve: [exact logos/colors/fonts, or none]
12
+ Rejected brand worlds (kept OUT of the image prompt):
13
+ - [Concept A] — rejected because [criterion: audience fit / ownability / scalability]
14
+ - [Concept B] — rejected because [criterion]
15
+ Selected brand world: [selected concept]
16
+ Signature / ownable rule: [single strongest repeatable identity behavior]
17
+ Explicit anti-goals (translate into positive visual choices below): [clichés avoided]
18
+ ```
19
+
20
+ ## 2. Image-generation prompt block (positive visual brief only)
21
+
22
+ Fill every bracket with concrete, strategy-backed specifics describing **only** what should appear:
4
23
 
5
24
  ```text
6
- Create a premium brand-kit overview image for "[BRAND NAME]".
25
+ Create a cohesive brand-kit overview board for "[BRAND NAME]".
7
26
 
8
- Brand strategy:
27
+ Brand direction:
9
28
  - identity mode: [create from scratch / build on existing brand / requested refresh]
10
- - existing assets: [supplied elements to preserve exactly, or none]
11
- - category: [category]
12
- - audience: [audience]
13
- - product function: [function]
14
- - emotional promise: [promise]
15
- - cultural position: [position]
16
- - trust level: [trust requirement]
17
- - personality: [traits]
18
- - core metaphor: [metaphor]
19
- - visual world: [world]
20
- - avoid: [explicit anti-goals and inappropriate clichés]
21
-
22
- Divergent selection:
23
- - rejected concepts: [1–2 brief alternatives and why they lost]
24
- - selected brand world: [selected concept]
25
- - signature/ownable idea: [the single strongest identity behavior]
29
+ - existing assets: [supplied elements to preserve verbatim, or none]
30
+ - category & audience: [category] for [audience]
31
+ - core metaphor: [selected metaphor]
32
+ - selected brand world: [selected visual world]
33
+ - signature identity rule: [the single repeatable graphic/material behavior]
26
34
 
27
35
  Canvas:
28
36
  [requested width × height, aspect ratio, or orientation; otherwise 4:3 or 16:10].
29
37
  The dimensions describe the complete output image, not individual panels.
30
- If exact dimensions are unsupported, preserve the closest supported ratio and do not invent unsupported pixel dimensions.
38
+ Preserve the closest supported aspect ratio without distorting geometry.
31
39
 
32
40
  Layout:
33
- [3×3 / 2×3 / 2×2 / 1×3 / 4×2 / custom] grid on a [dark/light/specific] presentation canvas with strong gutters, clean alignment, refined negative space, and unequal but coherent panel hierarchy.
41
+ [3×3 / 2×3 / 2×2 / 1×3 / 4×2 / custom] grid on a [dark/light/specific] presentation canvas with crisp gutters, exact edge alignment, generous negative space, and clear focal hierarchy.
34
42
 
35
43
  Panels:
36
44
  - logo cover: [cover behavior]
37
- - logo concept / construction: [construction logic or correct existing-logo usage]
38
- - digital application: [browser/app/terminal/UI artifact]
45
+ - logo construction: [geometric construction grid or exact supplied-logo lockup]
46
+ - digital application: [minimal browser/app/terminal/UI fragment]
39
47
  - tagline / brand essence: [exact short line, if used]
40
48
  - color system: [swatch/chip/disc/strip treatment]
41
49
  - typography: [specimen/pairing behavior]
42
- - physical application: [object/mockup]
50
+ - physical application: [tactile object/label/packaging mockup]
43
51
  - image direction: [art-directed scene/texture]
44
52
  - system detail: [chips/icons/pattern/input/detail]
45
- [adapt/omit/reorder only to match the chosen layout]
53
+ [adapt/omit/reorder strictly to match the chosen layout]
46
54
 
47
- Visual mode:
48
- [selected visual mode and concrete interpretation]
49
-
50
- Palette:
51
- [base + primary accent + optional secondary accent + neutrals; exact colors if supplied]
52
- Accents repeat consistently across panels. No random rainbow and no generic purple-blue AI glow.
55
+ Visual mode & palette:
56
+ - mode: [selected visual mode and concrete material interpretation]
57
+ - palette: [base + primary accent + optional secondary accent + neutrals; exact hex/values if supplied]
58
+ - repeat the same palette strictly across all panels.
53
59
 
54
60
  Logo:
55
- [reuse the supplied logo without redesign, preserving exact shapes/proportions/assets] OR [create a professional, symbolic, simple, scalable, ownable mark using METHOD: monogram+meaning / product action / metaphor fusion / negative space / construction geometry].
56
- Repeat the same mark consistently across panels. No inconsistent variants and no copied famous marks.
57
-
58
- Typography:
59
- Readable, minimal, high hierarchy, sparse; no tiny fake body copy; no lorem ipsum; no dense menus or paragraphs.
60
-
61
- Text inventory:
62
- - brand name: [name]
63
- - tagline: [one short specific line]
64
- - optional URL/command: [at most one]
65
- - labels/chips: [2–5 maximum]
66
-
67
- Image direction:
68
- [cinematic / halftone / material / editorial / product-world treatment matched to palette and metaphor; avoid stock people, offices, robots, and unrelated scenes]
69
-
70
- Mockup direction:
71
- Minimal believable identity applications only: [browser chrome / URL bar / terminal / app icon / badge / folder / label / dashboard fragment]. No dense fake dashboards, cheap gloss, device overload, or feature-demo screens.
72
-
73
- Style:
74
- Premium, sparse, cinematic, intentional, polished brand-guidelines deck. Strong negative space, exact alignment, coherent gutters, restrained texture, art-directed imagery, implementation-ready identity system. No clutter, no copied inspiration logos/names/compositions/slogans/unique assets, no generic startup gradient, no random floating icons.
61
+ [reuse the supplied logo verbatim with exact shapes and proportions] OR [render one crisp, simple, scalable mark built with METHOD: monogram+meaning / product action / metaphor fusion / negative space / construction geometry].
62
+ Repeat the exact same mark consistently across every panel.
63
+
64
+ Typography & exact text inventory:
65
+ - keep typography clean, high-contrast, and sparse; render only the listed text cleanly with zero filler body copy:
66
+ - brand name: [name]
67
+ - tagline: [one short specific line, or omit]
68
+ - optional URL/command: [at most one, or omit]
69
+ - labels/chips: [2–5 short labels maximum]
70
+
71
+ Image & mockup direction:
72
+ - imagery: [editorial / material / halftone / architectural / product-world scene matched to the palette]
73
+ - applications: minimal believable touchpoints only ([browser header / terminal bar / app icon / printed badge / folder / label]).
74
+
75
+ Finish:
76
+ Crisp studio identity-guidelines deck with disciplined negative space, aligned grid seams, controlled lighting, cohesive material texture, and clean vector-grade mark edges.
75
77
  ```
76
78
 
77
79
  ## Reference usage clause
@@ -81,8 +81,13 @@ Reject or revise if the output contains random floating icons, generic startup g
81
81
 
82
82
  ## Final output standard
83
83
 
84
- The image must look like a premium identity deck, senior designer's presentation board, brand-system case study, visual launch direction, or professional logo concept board. It should be clean, strategic, symbolic, minimal, coherent, premium, art-directed, implementation-friendly, and stronger than ordinary AI-generated brand visuals.
84
+ Pass the board only when every observable visual-system criterion holds:
85
+ - **Exact grid geometry:** uniform gutters, aligned panel edges, and one clear anchor panel with deliberate density contrast across panels.
86
+ - **Single-mark fidelity & optical reduction:** identical mark proportions repeated across panels, plus **dedicated `16 px` / `24 px` / `32 px` small-size optical reductions** (simplified stroke/counter geometry, never a shrunken hero lockup).
87
+ - **Dual Screen <-> Print color master & contrast:** one dominant base, neutral ramp, and 1–2 repeating accents with `>= 4.5:1` text contrast and a **hand-tuned Screen (`OKLCH` + `sRGB HEX` + `Display-P3`) <-> Print (`CMYK` + `Pantone`) master table**.
88
+ - **Sparse, legible, domain-real text:** exact brand spelling, zero lorem ipsum, zero tiny unreadable copy, and zero generic AI tagline clichés.
89
+ - **Multi-target tokens & license manifest:** DTCG `tokens.json` ready for CSS/Swift/Kotlin/Desktop export (`pixelcraft-tokens`) plus a **Commercial Font & Asset License Manifest** covering Webfont pageviews, Mobile App embedding, Server PDF generation, and Desktop redistribution.
85
90
 
86
91
  ## Delivery report
87
92
 
88
- Include: selected concept; rejected alternatives; actual output size; evidence label; what was inspected; unresolved issues; whether palette/type should be exported as tokens for implementation.
93
+ Include: selected concept; rejected alternatives; actual output size; evidence label (`rendered`, `static`, `model-judgment`, `not-checked`, `waived`); Dual Screen/Print palette summary; `16/24/32 px` optical reduction status; Commercial License Manifest status; and multi-target DTCG token export readiness.