@thanhnguyxn/pixelcraft 0.0.0-stage → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/plugins/marketplace.json +20 -0
- package/.antigravity-plugin/plugin.json +32 -0
- package/.claude-plugin/marketplace.json +20 -0
- package/.claude-plugin/plugin.json +22 -0
- package/.codex-plugin/plugin.json +45 -0
- package/.cursor-plugin/marketplace.json +17 -0
- package/.cursor-plugin/plugin.json +27 -0
- package/.devin-plugin/plugin.json +21 -0
- package/.github/plugin/marketplace.json +34 -0
- package/CHANGELOG.md +159 -0
- package/GEMINI.md +1 -0
- package/LICENSE +21 -0
- package/README.md +264 -2
- package/SECURITY.md +28 -0
- package/assets/README.md +28 -0
- package/assets/pixelcraft-logo-128.png +0 -0
- package/assets/pixelcraft-logo-256.png +0 -0
- package/assets/pixelcraft-logo-512.png +0 -0
- package/bin/pixelcraft.mjs +852 -0
- package/docs/ARCHITECTURE.md +105 -0
- package/docs/DESIGN-RATIONALE.md +191 -0
- package/docs/INSTALL.md +221 -0
- package/evals/README.md +37 -0
- package/evals/fixtures/3d-web-engineering.json +69 -0
- package/evals/fixtures/README.md +36 -0
- package/evals/fixtures/acceptance-checklist-rule03-gate.json +43 -0
- package/evals/fixtures/ai-ui-libraries.json +53 -0
- package/evals/fixtures/audio-visual-accessibility.json +69 -0
- package/evals/fixtures/auth-and-checkout-ui.json +53 -0
- package/evals/fixtures/brandkit-identity-governance.json +48 -0
- package/evals/fixtures/build-and-architecture.json +53 -0
- package/evals/fixtures/canvas-and-node-editors.json +53 -0
- package/evals/fixtures/chat-ai-exfiltration-ime-hitl-gate.json +43 -0
- package/evals/fixtures/completion-gate-scan-until-clean.json +44 -0
- package/evals/fixtures/component-systems.json +53 -0
- package/evals/fixtures/component-testing.json +53 -0
- package/evals/fixtures/constrained-voice-and-tv.json +43 -0
- package/evals/fixtures/creative-code-rendering.json +69 -0
- package/evals/fixtures/creative-reference-evidence.json +67 -0
- package/evals/fixtures/data-app-python-marimo.json +49 -0
- package/evals/fixtures/desktop-cpp-juce-audio.json +49 -0
- package/evals/fixtures/desktop-csharp-avalonia.json +49 -0
- package/evals/fixtures/desktop-native-workspace.json +48 -0
- package/evals/fixtures/desktop-python-anti-tkinter.json +49 -0
- package/evals/fixtures/direction-prototype-complexity.json +29 -0
- package/evals/fixtures/document-prepress-pdfx4-tounicode.json +43 -0
- package/evals/fixtures/document-rust-typst-invoice.json +49 -0
- package/evals/fixtures/document-typst-and-print-css.json +43 -0
- package/evals/fixtures/email-mjml-dark-mode.json +49 -0
- package/evals/fixtures/email-outlook-and-plaintext.json +43 -0
- package/evals/fixtures/enterprise-data-ui.json +53 -0
- package/evals/fixtures/extended-tui-toolkits.json +53 -0
- package/evals/fixtures/extensions-mv3-and-vscode.json +43 -0
- package/evals/fixtures/file-upload-media-ui.json +53 -0
- package/evals/fixtures/finish-gate-anti-slop.json +30 -0
- package/evals/fixtures/forms-accessibility-negative.json +29 -0
- package/evals/fixtures/forms-validation.json +53 -0
- package/evals/fixtures/game-go-ebitengine.json +49 -0
- package/evals/fixtures/game-godot-gdscript.json +49 -0
- package/evals/fixtures/game-ui-hud-and-engines.json +43 -0
- package/evals/fixtures/handoff-fidelity-tolerance.json +29 -0
- package/evals/fixtures/i18n-engineering.json +53 -0
- package/evals/fixtures/local-first-sync.json +53 -0
- package/evals/fixtures/lynxjs.json +53 -0
- package/evals/fixtures/maizzle-email.json +53 -0
- package/evals/fixtures/maps-geospatial.json +53 -0
- package/evals/fixtures/media-og-and-video-export.json +43 -0
- package/evals/fixtures/media-players.json +53 -0
- package/evals/fixtures/mobile-compose-16kb-foldable-store-gate.json +44 -0
- package/evals/fixtures/mobile-elixir-liveview-native.json +49 -0
- package/evals/fixtures/mobile-flutter-dynamic-type.json +49 -0
- package/evals/fixtures/mobile-harmonyos-arkui.json +49 -0
- package/evals/fixtures/mobile-jetpack-compose.json +49 -0
- package/evals/fixtures/mobile-swiftui-ios.json +49 -0
- package/evals/fixtures/motion-engineering.json +69 -0
- package/evals/fixtures/pdfjs-and-pptx.json +53 -0
- package/evals/fixtures/plan-brownfield-evidence.json +28 -0
- package/evals/fixtures/plan-discovery-interview.json +31 -0
- package/evals/fixtures/plan-grill-me-brainstorm-gate.json +49 -0
- package/evals/fixtures/reactive-data-apps.json +53 -0
- package/evals/fixtures/review-evidence-audit.json +43 -0
- package/evals/fixtures/rich-text-and-code-editors.json +53 -0
- package/evals/fixtures/scrollytelling-resilience.json +70 -0
- package/evals/fixtures/spatial-xr-comfort-and-platforms.json +43 -0
- package/evals/fixtures/state-architecture.json +53 -0
- package/evals/fixtures/styling-ecosystem.json +53 -0
- package/evals/fixtures/token-tooling.json +53 -0
- package/evals/fixtures/tui-go-bubbletea.json +49 -0
- package/evals/fixtures/tui-rust-ratatui-grapheme-paste-teardown.json +44 -0
- package/evals/fixtures/tui-rust-ratatui.json +49 -0
- package/evals/fixtures/ux-state-matrix-and-i18n.json +43 -0
- package/evals/fixtures/visual-qa-task-evidence.json +29 -0
- package/evals/fixtures/web-3d-engines.json +53 -0
- package/evals/fixtures/web-php-laravel-filament.json +49 -0
- package/evals/fixtures/web-ruby-viewcomponent-phlex.json +49 -0
- package/evals/fixtures/workflow-checkpoints.json +30 -0
- package/evals/pixelcraft-accessibility.md +74 -0
- package/evals/pixelcraft-brandkit.md +58 -0
- package/evals/pixelcraft-chat-ui.md +55 -0
- package/evals/pixelcraft-constrained.md +55 -0
- package/evals/pixelcraft-craft.md +76 -0
- package/evals/pixelcraft-data-apps.md +55 -0
- package/evals/pixelcraft-dataviz.md +59 -0
- package/evals/pixelcraft-desktop.md +55 -0
- package/evals/pixelcraft-direction.md +77 -0
- package/evals/pixelcraft-document.md +55 -0
- package/evals/pixelcraft-email.md +55 -0
- package/evals/pixelcraft-extensions.md +55 -0
- package/evals/pixelcraft-game-ui.md +59 -0
- package/evals/pixelcraft-handoff.md +57 -0
- package/evals/pixelcraft-media.md +55 -0
- package/evals/pixelcraft-mobile.md +59 -0
- package/evals/pixelcraft-patterns.md +73 -0
- package/evals/pixelcraft-plan.md +127 -0
- package/evals/pixelcraft-review.md +63 -0
- package/evals/pixelcraft-spatial.md +55 -0
- package/evals/pixelcraft-tokens.md +57 -0
- package/evals/pixelcraft-tui.md +55 -0
- package/evals/pixelcraft-ux.md +59 -0
- package/evals/pixelcraft-visual-qa.md +86 -0
- package/evals/pixelcraft-web.md +89 -0
- package/evals/pixelcraft.md +70 -0
- package/gemini-extension.json +6 -0
- package/install.ps1 +341 -0
- package/install.sh +512 -0
- package/package.json +91 -4
- package/plugin.json +29 -0
- package/scripts/build-adapters.mjs +288 -0
- package/scripts/build-release-archives.mjs +61 -0
- package/scripts/build-skill-zips.mjs +94 -0
- package/scripts/run-evals.mjs +397 -0
- package/scripts/sync-docs.mjs +381 -0
- package/scripts/test-build-adapters.mjs +61 -0
- package/scripts/test-cross-platform-qa.mjs +359 -0
- package/scripts/test-distribution.mjs +203 -0
- package/scripts/test-export-tokens.mjs +361 -0
- package/scripts/test-finish-gate.mjs +271 -0
- package/scripts/test-installers.mjs +216 -0
- package/scripts/test-release-archives.mjs +42 -0
- package/scripts/test-shoot.mjs +87 -0
- package/scripts/test-slop-scan.mjs +416 -0
- package/scripts/test-style-inventory.mjs +234 -0
- package/scripts/test-sync-docs.mjs +140 -0
- package/scripts/test-validate-skills.mjs +195 -0
- package/scripts/validate-skills.mjs +658 -0
- package/skills/pixelcraft/SKILL.md +155 -0
- package/skills/pixelcraft/references/design-brief.md +75 -0
- package/skills/pixelcraft/references/floor.md +90 -0
- package/skills/pixelcraft/references/report-template.md +49 -0
- package/skills/pixelcraft/references/stack-detection.md +226 -0
- package/skills/pixelcraft/references/surface-acceptance.md +52 -0
- package/skills/pixelcraft/references/workflow-checkpoints.md +71 -0
- package/skills/pixelcraft-accessibility/SKILL.md +54 -0
- package/skills/pixelcraft-accessibility/references/apg-patterns.md +64 -0
- package/skills/pixelcraft-accessibility/references/motion-canvas.md +57 -0
- package/skills/pixelcraft-accessibility/references/platforms.md +86 -0
- package/skills/pixelcraft-accessibility/references/verification.md +64 -0
- package/skills/pixelcraft-accessibility/references/wcag22-checks.md +99 -0
- package/skills/pixelcraft-brandkit/SKILL.md +127 -0
- package/skills/pixelcraft-brandkit/references/asset-pipeline.md +165 -0
- package/skills/pixelcraft-brandkit/references/brand-governance.md +82 -0
- package/skills/pixelcraft-brandkit/references/layouts.md +88 -0
- package/skills/pixelcraft-brandkit/references/logo-concepting.md +83 -0
- package/skills/pixelcraft-brandkit/references/logo-methods.md +97 -0
- package/skills/pixelcraft-brandkit/references/pixel-art-logos.md +82 -0
- package/skills/pixelcraft-brandkit/references/prompt-template.md +87 -0
- package/skills/pixelcraft-brandkit/references/qa-checklist.md +93 -0
- package/skills/pixelcraft-brandkit/references/visual-modes.md +123 -0
- package/skills/pixelcraft-chat-ui/SKILL.md +57 -0
- package/skills/pixelcraft-chat-ui/references/agentic-workspace.md +66 -0
- package/skills/pixelcraft-chat-ui/references/ai-ui-libraries.md +259 -0
- package/skills/pixelcraft-chat-ui/references/conversation-design.md +84 -0
- package/skills/pixelcraft-chat-ui/references/mobile-business-platforms.md +77 -0
- package/skills/pixelcraft-chat-ui/references/slack-discord.md +80 -0
- package/skills/pixelcraft-constrained/SKILL.md +52 -0
- package/skills/pixelcraft-constrained/references/specialized-hardware.md +90 -0
- package/skills/pixelcraft-constrained/references/tv-wearables.md +134 -0
- package/skills/pixelcraft-constrained/references/voice-ui.md +104 -0
- package/skills/pixelcraft-craft/SKILL.md +58 -0
- package/skills/pixelcraft-craft/references/color.md +125 -0
- package/skills/pixelcraft-craft/references/imagery-icons.md +37 -0
- package/skills/pixelcraft-craft/references/layout-quality.md +65 -0
- package/skills/pixelcraft-craft/references/layout.md +73 -0
- package/skills/pixelcraft-craft/references/motion.md +163 -0
- package/skills/pixelcraft-craft/references/typography.md +110 -0
- package/skills/pixelcraft-data-apps/SKILL.md +86 -0
- package/skills/pixelcraft-data-apps/references/ai-and-internal-data-apps.md +147 -0
- package/skills/pixelcraft-data-apps/references/dash.md +109 -0
- package/skills/pixelcraft-data-apps/references/evidence.md +90 -0
- package/skills/pixelcraft-data-apps/references/gradio.md +103 -0
- package/skills/pixelcraft-data-apps/references/julia-genie.md +89 -0
- package/skills/pixelcraft-data-apps/references/jupyter-widgets.md +91 -0
- package/skills/pixelcraft-data-apps/references/nicegui.md +102 -0
- package/skills/pixelcraft-data-apps/references/observable-framework.md +105 -0
- package/skills/pixelcraft-data-apps/references/panel.md +99 -0
- package/skills/pixelcraft-data-apps/references/r-shiny.md +124 -0
- package/skills/pixelcraft-data-apps/references/reactive-data-apps.md +186 -0
- package/skills/pixelcraft-data-apps/references/reflex.md +116 -0
- package/skills/pixelcraft-data-apps/references/shiny.md +110 -0
- package/skills/pixelcraft-data-apps/references/streamlit.md +113 -0
- package/skills/pixelcraft-dataviz/SKILL.md +60 -0
- package/skills/pixelcraft-dataviz/references/chart-choice.md +55 -0
- package/skills/pixelcraft-dataviz/references/color-accessibility.md +112 -0
- package/skills/pixelcraft-dataviz/references/encoding-tables-dashboards.md +107 -0
- package/skills/pixelcraft-dataviz/references/libraries.md +176 -0
- package/skills/pixelcraft-dataviz/references/maps-geospatial.md +159 -0
- package/skills/pixelcraft-dataviz/references/realtime-graphs-maps-scale.md +92 -0
- package/skills/pixelcraft-desktop/SKILL.md +93 -0
- package/skills/pixelcraft-desktop/references/appkit.md +92 -0
- package/skills/pixelcraft-desktop/references/avalonia.md +95 -0
- package/skills/pixelcraft-desktop/references/cpp-gui.md +129 -0
- package/skills/pixelcraft-desktop/references/electron.md +96 -0
- package/skills/pixelcraft-desktop/references/go-gui.md +83 -0
- package/skills/pixelcraft-desktop/references/gtk.md +97 -0
- package/skills/pixelcraft-desktop/references/javafx-swing.md +81 -0
- package/skills/pixelcraft-desktop/references/qt-pyside-qml.md +88 -0
- package/skills/pixelcraft-desktop/references/rust-gui.md +83 -0
- package/skills/pixelcraft-desktop/references/tauri.md +110 -0
- package/skills/pixelcraft-desktop/references/uno-platform.md +71 -0
- package/skills/pixelcraft-desktop/references/winui-wpf.md +98 -0
- package/skills/pixelcraft-desktop/references/working-context.md +84 -0
- package/skills/pixelcraft-direction/SKILL.md +120 -0
- package/skills/pixelcraft-direction/references/composition-library.md +84 -0
- package/skills/pixelcraft-direction/references/creative-brainstorming.md +72 -0
- package/skills/pixelcraft-direction/references/direction-card.md +64 -0
- package/skills/pixelcraft-direction/references/direction-scoring.md +76 -0
- package/skills/pixelcraft-direction/references/motion-identity.md +67 -0
- package/skills/pixelcraft-direction/references/movements.md +71 -0
- package/skills/pixelcraft-direction/references/reference-analysis.md +37 -0
- package/skills/pixelcraft-direction/references/repetition-history.md +75 -0
- package/skills/pixelcraft-direction/references/slop-fingerprints.md +83 -0
- package/skills/pixelcraft-direction/references/wildcards.md +47 -0
- package/skills/pixelcraft-document/SKILL.md +58 -0
- package/skills/pixelcraft-document/references/archetypes.md +106 -0
- package/skills/pixelcraft-document/references/pdf-tools.md +314 -0
- package/skills/pixelcraft-document/references/pdfjs-and-pptx.md +114 -0
- package/skills/pixelcraft-document/references/print-css.md +187 -0
- package/skills/pixelcraft-document/references/slides.md +198 -0
- package/skills/pixelcraft-email/SKILL.md +80 -0
- package/skills/pixelcraft-email/references/client-quirks.md +113 -0
- package/skills/pixelcraft-email/references/html-tables.md +114 -0
- package/skills/pixelcraft-email/references/maizzle.md +54 -0
- package/skills/pixelcraft-email/references/mjml.md +54 -0
- package/skills/pixelcraft-email/references/react-email.md +95 -0
- package/skills/pixelcraft-extensions/SKILL.md +56 -0
- package/skills/pixelcraft-extensions/references/browser-extensions.md +105 -0
- package/skills/pixelcraft-extensions/references/figma-office.md +106 -0
- package/skills/pixelcraft-extensions/references/ide-and-saas-plugins.md +125 -0
- package/skills/pixelcraft-extensions/references/raycast.md +98 -0
- package/skills/pixelcraft-extensions/references/vscode-webviews.md +100 -0
- package/skills/pixelcraft-game-ui/SKILL.md +80 -0
- package/skills/pixelcraft-game-ui/references/bevy.md +90 -0
- package/skills/pixelcraft-game-ui/references/godot.md +130 -0
- package/skills/pixelcraft-game-ui/references/hud-principles.md +67 -0
- package/skills/pixelcraft-game-ui/references/love2d.md +77 -0
- package/skills/pixelcraft-game-ui/references/monogame.md +68 -0
- package/skills/pixelcraft-game-ui/references/unity-ugui.md +109 -0
- package/skills/pixelcraft-game-ui/references/unity-ui-toolkit.md +107 -0
- package/skills/pixelcraft-game-ui/references/unreal-umg.md +80 -0
- package/skills/pixelcraft-game-ui/references/web-and-middleware-game-ui.md +122 -0
- package/skills/pixelcraft-handoff/SKILL.md +50 -0
- package/skills/pixelcraft-handoff/references/design-translation.md +134 -0
- package/skills/pixelcraft-handoff/references/fidelity-tolerance.md +78 -0
- package/skills/pixelcraft-handoff/references/motion-handoff.md +54 -0
- package/skills/pixelcraft-media/SKILL.md +49 -0
- package/skills/pixelcraft-media/references/banners-video.md +130 -0
- package/skills/pixelcraft-media/references/og-generation.md +154 -0
- package/skills/pixelcraft-media/references/social-cards.md +71 -0
- package/skills/pixelcraft-mobile/SKILL.md +86 -0
- package/skills/pixelcraft-mobile/references/dotnet-maui.md +91 -0
- package/skills/pixelcraft-mobile/references/flet.md +80 -0
- package/skills/pixelcraft-mobile/references/flutter.md +113 -0
- package/skills/pixelcraft-mobile/references/harmonyos-and-emerging-mobile.md +121 -0
- package/skills/pixelcraft-mobile/references/ionic-capacitor.md +87 -0
- package/skills/pixelcraft-mobile/references/jetpack-compose.md +129 -0
- package/skills/pixelcraft-mobile/references/kivy.md +82 -0
- package/skills/pixelcraft-mobile/references/kotlin-multiplatform.md +86 -0
- package/skills/pixelcraft-mobile/references/lynxjs.md +110 -0
- package/skills/pixelcraft-mobile/references/nativescript-and-skip.md +91 -0
- package/skills/pixelcraft-mobile/references/react-native-expo.md +106 -0
- package/skills/pixelcraft-mobile/references/swiftui.md +200 -0
- package/skills/pixelcraft-mobile/references/tactile-interactions.md +55 -0
- package/skills/pixelcraft-mobile/references/task-state-composition.md +85 -0
- package/skills/pixelcraft-mobile/references/uikit.md +92 -0
- package/skills/pixelcraft-patterns/SKILL.md +75 -0
- package/skills/pixelcraft-patterns/references/accessibility-resilience.md +29 -0
- package/skills/pixelcraft-patterns/references/ai-and-offline-patterns.md +54 -0
- package/skills/pixelcraft-patterns/references/auth-onboarding.md +44 -0
- package/skills/pixelcraft-patterns/references/billing-paywalls.md +40 -0
- package/skills/pixelcraft-patterns/references/command-workspace.md +56 -0
- package/skills/pixelcraft-patterns/references/commerce.md +47 -0
- package/skills/pixelcraft-patterns/references/communication.md +45 -0
- package/skills/pixelcraft-patterns/references/creative-tools.md +42 -0
- package/skills/pixelcraft-patterns/references/creative-web-composition.md +38 -0
- package/skills/pixelcraft-patterns/references/dashboard-admin.md +35 -0
- package/skills/pixelcraft-patterns/references/history-diff-undo.md +50 -0
- package/skills/pixelcraft-patterns/references/marketing.md +44 -0
- package/skills/pixelcraft-patterns/references/multi-tenant-rbac.md +47 -0
- package/skills/pixelcraft-patterns/references/narrative-systems.md +42 -0
- package/skills/pixelcraft-patterns/references/notifications-activity.md +57 -0
- package/skills/pixelcraft-patterns/references/pattern-selection.md +80 -0
- package/skills/pixelcraft-patterns/references/scheduling-kanban.md +47 -0
- package/skills/pixelcraft-patterns/references/scroll-implementation.md +37 -0
- package/skills/pixelcraft-patterns/references/search-filtering.md +42 -0
- package/skills/pixelcraft-patterns/references/settings.md +51 -0
- package/skills/pixelcraft-patterns/references/tables-crud.md +43 -0
- package/skills/pixelcraft-plan/SKILL.md +103 -0
- package/skills/pixelcraft-plan/references/design-input.md +69 -0
- package/skills/pixelcraft-plan/references/discovery-interview.md +110 -0
- package/skills/pixelcraft-plan/references/grill-me-protocol.md +63 -0
- package/skills/pixelcraft-plan/references/plan-template.md +134 -0
- package/skills/pixelcraft-plan/references/repo-discovery.md +49 -0
- package/skills/pixelcraft-plan/references/stack-freshness.md +67 -0
- package/skills/pixelcraft-plan/references/stack-selection.md +98 -0
- package/skills/pixelcraft-review/SKILL.md +86 -0
- package/skills/pixelcraft-review/references/audit-report.md +69 -0
- package/skills/pixelcraft-review/references/critique-protocol.md +89 -0
- package/skills/pixelcraft-review/references/heuristics.md +63 -0
- package/skills/pixelcraft-review/references/personas.md +53 -0
- package/skills/pixelcraft-review/references/polish.md +78 -0
- package/skills/pixelcraft-review/scripts/check-acceptance.mjs +619 -0
- package/skills/pixelcraft-review/scripts/fixtures/brand-critique-waivers.json +14 -0
- package/skills/pixelcraft-review/scripts/fixtures/brand-critique.css +18 -0
- package/skills/pixelcraft-review/scripts/fixtures/clean.html +43 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-after-block.css +4 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-at-rules.css +17 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-comments.css +10 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-html-quote-leak.html +12 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-invalid-replacements.css +27 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-longhand-removal.css +34 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-nested-rules.css +19 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-not-visible-skip.css +8 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-outline-shorthands.css +11 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-unknown-and-border.css +15 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-unknown-last-wins.css +19 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-valid-replacements-extended.css +29 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-visible-no-replacement.css +3 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-visible-valid-replacements.css +9 -0
- package/skills/pixelcraft-review/scripts/fixtures/slop.html +28 -0
- package/skills/pixelcraft-review/scripts/slop-scan.mjs +1233 -0
- package/skills/pixelcraft-spatial/SKILL.md +51 -0
- package/skills/pixelcraft-spatial/references/comfort-accessibility.md +39 -0
- package/skills/pixelcraft-spatial/references/platforms.md +147 -0
- package/skills/pixelcraft-tokens/SKILL.md +60 -0
- package/skills/pixelcraft-tokens/assets/tokens.example.json +71 -0
- package/skills/pixelcraft-tokens/assets/tokens.modes.example.json +47 -0
- package/skills/pixelcraft-tokens/references/adoption.md +55 -0
- package/skills/pixelcraft-tokens/references/format.md +84 -0
- package/skills/pixelcraft-tokens/references/governance.md +80 -0
- package/skills/pixelcraft-tokens/references/state-tokens.md +62 -0
- package/skills/pixelcraft-tokens/references/theme-presets.md +122 -0
- package/skills/pixelcraft-tokens/references/token-tooling.md +119 -0
- package/skills/pixelcraft-tokens/scripts/export-tokens.mjs +847 -0
- package/skills/pixelcraft-tui/SKILL.md +76 -0
- package/skills/pixelcraft-tui/references/bubbletea-lipgloss.md +79 -0
- package/skills/pixelcraft-tui/references/extended-tui-toolkits.md +127 -0
- package/skills/pixelcraft-tui/references/ink.md +109 -0
- package/skills/pixelcraft-tui/references/ratatui.md +102 -0
- package/skills/pixelcraft-tui/references/rich.md +82 -0
- package/skills/pixelcraft-tui/references/terminal-protocols.md +80 -0
- package/skills/pixelcraft-tui/references/textual.md +108 -0
- package/skills/pixelcraft-ux/SKILL.md +56 -0
- package/skills/pixelcraft-ux/references/cognitive-walkthrough.md +70 -0
- package/skills/pixelcraft-ux/references/feedback-performance.md +50 -0
- package/skills/pixelcraft-ux/references/flows-ia.md +44 -0
- package/skills/pixelcraft-ux/references/forms.md +151 -0
- package/skills/pixelcraft-ux/references/i18n.md +221 -0
- package/skills/pixelcraft-ux/references/laws.md +39 -0
- package/skills/pixelcraft-ux/references/locale-test-matrix.md +60 -0
- package/skills/pixelcraft-ux/references/state-matrix.md +53 -0
- package/skills/pixelcraft-ux/references/usability-testing.md +84 -0
- package/skills/pixelcraft-ux/references/ux-writing.md +44 -0
- package/skills/pixelcraft-visual-qa/SKILL.md +96 -0
- package/skills/pixelcraft-visual-qa/references/baseline-governance.md +70 -0
- package/skills/pixelcraft-visual-qa/references/capture-desktop-game.md +59 -0
- package/skills/pixelcraft-visual-qa/references/capture-document.md +70 -0
- package/skills/pixelcraft-visual-qa/references/capture-email.md +38 -0
- package/skills/pixelcraft-visual-qa/references/capture-mobile.md +50 -0
- package/skills/pixelcraft-visual-qa/references/capture-terminal.md +35 -0
- package/skills/pixelcraft-visual-qa/references/critique-rubric.md +71 -0
- package/skills/pixelcraft-visual-qa/references/finish-gate.md +35 -0
- package/skills/pixelcraft-visual-qa/references/measured-craft.md +30 -0
- package/skills/pixelcraft-visual-qa/references/motion-capture.md +63 -0
- package/skills/pixelcraft-visual-qa/references/performance-budgets.md +78 -0
- package/skills/pixelcraft-visual-qa/references/realtime-graphics.md +55 -0
- package/skills/pixelcraft-visual-qa/references/task-verification.md +81 -0
- package/skills/pixelcraft-visual-qa/scripts/check-contrast.mjs +442 -0
- package/skills/pixelcraft-visual-qa/scripts/check-email.mjs +397 -0
- package/skills/pixelcraft-visual-qa/scripts/check-pdf.mjs +189 -0
- package/skills/pixelcraft-visual-qa/scripts/check-tui.mjs +321 -0
- package/skills/pixelcraft-visual-qa/scripts/finish-gate.mjs +174 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-aria-modal.html +19 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-audit.html +34 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/shoot-modal.html +17 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory-deferred.js +1 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory-edge.html +52 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory.html +80 -0
- package/skills/pixelcraft-visual-qa/scripts/fixtures/style-inventory.js +8 -0
- package/skills/pixelcraft-visual-qa/scripts/shoot.mjs +668 -0
- package/skills/pixelcraft-visual-qa/scripts/style-inventory.mjs +1226 -0
- package/skills/pixelcraft-web/SKILL.md +132 -0
- package/skills/pixelcraft-web/references/accessibility-performance.md +42 -0
- package/skills/pixelcraft-web/references/adaptive-layout.md +69 -0
- package/skills/pixelcraft-web/references/angular.md +108 -0
- package/skills/pixelcraft-web/references/assets-pipeline.md +67 -0
- package/skills/pixelcraft-web/references/astro.md +113 -0
- package/skills/pixelcraft-web/references/audio-reactive.md +61 -0
- package/skills/pixelcraft-web/references/auth-and-checkout-ui.md +115 -0
- package/skills/pixelcraft-web/references/build-and-architecture.md +215 -0
- package/skills/pixelcraft-web/references/canvas-and-node-editors.md +157 -0
- package/skills/pixelcraft-web/references/clojurescript.md +88 -0
- package/skills/pixelcraft-web/references/component-systems.md +102 -0
- package/skills/pixelcraft-web/references/component-testing.md +170 -0
- package/skills/pixelcraft-web/references/creative-effects.md +59 -0
- package/skills/pixelcraft-web/references/creative-runtime.md +34 -0
- package/skills/pixelcraft-web/references/elm.md +53 -0
- package/skills/pixelcraft-web/references/enterprise-data-ui.md +138 -0
- package/skills/pixelcraft-web/references/file-upload-media-ui.md +82 -0
- package/skills/pixelcraft-web/references/forms-validation.md +123 -0
- package/skills/pixelcraft-web/references/fsharp-fable.md +54 -0
- package/skills/pixelcraft-web/references/gsap.md +102 -0
- package/skills/pixelcraft-web/references/html-css.md +220 -0
- package/skills/pixelcraft-web/references/htmx-alpine.md +103 -0
- package/skills/pixelcraft-web/references/i18n-engineering.md +106 -0
- package/skills/pixelcraft-web/references/interaction-and-search-primitives.md +196 -0
- package/skills/pixelcraft-web/references/java-web.md +61 -0
- package/skills/pixelcraft-web/references/kotlin-web.md +57 -0
- package/skills/pixelcraft-web/references/leptos-yew.md +97 -0
- package/skills/pixelcraft-web/references/lit-web-components.md +63 -0
- package/skills/pixelcraft-web/references/local-first-sync.md +105 -0
- package/skills/pixelcraft-web/references/media-players.md +104 -0
- package/skills/pixelcraft-web/references/motion-react.md +96 -0
- package/skills/pixelcraft-web/references/motion-recipes.md +82 -0
- package/skills/pixelcraft-web/references/preact-fresh-hono.md +111 -0
- package/skills/pixelcraft-web/references/pwa.md +230 -0
- package/skills/pixelcraft-web/references/qwik.md +94 -0
- package/skills/pixelcraft-web/references/r3f-integration.md +69 -0
- package/skills/pixelcraft-web/references/react-next.md +168 -0
- package/skills/pixelcraft-web/references/rendering-choice.md +63 -0
- package/skills/pixelcraft-web/references/rendering-performance.md +80 -0
- package/skills/pixelcraft-web/references/rich-text-and-code-editors.md +220 -0
- package/skills/pixelcraft-web/references/rive-lottie.md +73 -0
- package/skills/pixelcraft-web/references/scala-laminar.md +53 -0
- package/skills/pixelcraft-web/references/scene-architecture.md +132 -0
- package/skills/pixelcraft-web/references/server-rendered.md +114 -0
- package/skills/pixelcraft-web/references/shader-workflow.md +77 -0
- package/skills/pixelcraft-web/references/smooth-scroll.md +58 -0
- package/skills/pixelcraft-web/references/solid.md +111 -0
- package/skills/pixelcraft-web/references/state-architecture.md +107 -0
- package/skills/pixelcraft-web/references/styling-ecosystem.md +273 -0
- package/skills/pixelcraft-web/references/svelte.md +111 -0
- package/skills/pixelcraft-web/references/tailwind.md +99 -0
- package/skills/pixelcraft-web/references/video-media.md +69 -0
- package/skills/pixelcraft-web/references/vue-nuxt.md +86 -0
- package/skills/pixelcraft-web/references/web-3d-engines.md +97 -0
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
# Platform accessibility translations
|
|
2
|
+
|
|
3
|
+
Evidence: Apple HIG, Material, WCAG, generated-code accessibility research.
|
|
4
|
+
|
|
5
|
+
## Web/HTML
|
|
6
|
+
|
|
7
|
+
- Use button/input/select/a/label/dialog/table/list/heading semantics before div/ARIA. First rule of ARIA: don't use it when native HTML exists.
|
|
8
|
+
- Labels are programmatically associated; errors use accessible description/live status where appropriate.
|
|
9
|
+
- Dialogs: initial focus inside, logical containment/inert background, Escape close where safe, restore focus to invoker. Follow APG only as pattern guidance.
|
|
10
|
+
- Never remove outline without visible replacement. Manage focus on route/content deletion; preserve scroll restoration separately.
|
|
11
|
+
- Do not use positive tabindex. Use DOM order and roving tabindex only for composite widgets that need it.
|
|
12
|
+
|
|
13
|
+
## iOS / macOS
|
|
14
|
+
|
|
15
|
+
- VoiceOver: accessibility label, traits, value, hint only when useful; correct ordering/grouping; custom actions/rotor where relevant.
|
|
16
|
+
- Dynamic Type: scale text without clipping essential content; use system text styles where appropriate. Touch baseline 44×44 pt.
|
|
17
|
+
- Honor Reduce Motion, Increase Contrast, Differentiate Without Color, Bold Text, Reduce Transparency, Voice Control, Switch Control, Full Keyboard Access.
|
|
18
|
+
- Respect safe areas/focus engine on tvOS and keyboard shortcuts/modified-state semantics on macOS.
|
|
19
|
+
|
|
20
|
+
## Android
|
|
21
|
+
|
|
22
|
+
- TalkBack: contentDescription only where needed, correct traversal order, state descriptions, live regions/assertive politeness sparingly.
|
|
23
|
+
- Use sp for text and dp for layout; preserve scaling. Touch baseline 48×48 dp.
|
|
24
|
+
- Support keyboard/d-pad/controller focus, predictive back, color contrast, reduced animation, magnification, switch access, and autofill.
|
|
25
|
+
|
|
26
|
+
## Flutter / React Native / LynxJS
|
|
27
|
+
|
|
28
|
+
- Flutter: Semantics widgets/labels/liveRegion/button/header flags; test TalkBack/VoiceOver rather than trusting compile-time semantics. TextScaler and focus traversal must survive custom painters.
|
|
29
|
+
- React Native: accessibilityRole/Label/State/Hint, importantForAccessibility, accessibilityLiveRegion; native components first. Do not strip focus or rely on nested text hacks.
|
|
30
|
+
- LynxJS: set native accessibility attributes (`accessibility-element`, `accessibility-label`, `accessibility-traits`) on interactive views so VoiceOver/TalkBack receive real native traits rather than opaque host containers.
|
|
31
|
+
|
|
32
|
+
## Data-app UIs
|
|
33
|
+
|
|
34
|
+
marimo, Solara, Mesop, Taipy, Streamlit, Gradio, Reflex, NiceGUI, Dash, Panel, Shiny, Jupyter widgets/anywidget, R Shiny, Genie, Observable Framework, and Evidence expose varying semantic control. Inspect actual rendered DOM/native output where possible; label every input/filter, preserve keyboard traversal across reactive reruns, avoid canvas/image-only outputs, provide data-table/text alternatives for charts, and record framework accessibility limits honestly.
|
|
35
|
+
|
|
36
|
+
## Desktop
|
|
37
|
+
|
|
38
|
+
- Qt/QML/PySide: accessible names/descriptions/roles where exposed; keyboard focus chain, shortcuts/mnemonics, platform high-contrast themes, scalable fonts. Test NVDA/JAWS/Narrator/Orca/VoiceOver by platform where possible.
|
|
39
|
+
- Electron/Tauri are web inside but must also honor desktop keyboard/window conventions (menu bar, focus return after closing dialogs/windows, OS reduced-motion and high-contrast themes).
|
|
40
|
+
- **Rust GUIs & AccessKit:** egui, iced, Slint, GPUI, Dioxus Desktop, and Bevy UI should expose semantic trees through **AccessKit** (bridging natively to Windows UI Automation, macOS NSAccessibility, and Linux AT-SPI); never ship custom-painted desktop controls invisible to platform screen readers.
|
|
41
|
+
- WinUI/WPF/AppKit/GTK/Avalonia/Uno: use native accessibility APIs/control patterns; never draw custom controls without exposing UI Automation/Accessibility/AT-SPI equivalents.
|
|
42
|
+
|
|
43
|
+
## TUI
|
|
44
|
+
|
|
45
|
+
- Do not rely on color alone; provide symbols/text state and honor `NO_COLOR`/terminal contrast.
|
|
46
|
+
- Mouse support is optional enhancement; complete keyboard path is mandatory.
|
|
47
|
+
- Announce/preserve meaningful focus/cursor location where screen readers can interpret terminal output; avoid rapid full-screen redraw noise.
|
|
48
|
+
- Provide non-Unicode/limited-color fallback for box glyphs/braille/sparklines when applicable.
|
|
49
|
+
|
|
50
|
+
## Email
|
|
51
|
+
|
|
52
|
+
- Semantic heading structure where clients permit, real text rather than image-only copy, meaningful alt text, table roles/layout isolation, visible focus, sufficient contrast, dark-mode resilience, plaintext parity, and no tiny clustered tap targets.
|
|
53
|
+
- Do not depend on background images, custom fonts, animation, forms, or exact pixel layout.
|
|
54
|
+
|
|
55
|
+
## Documents and PDF/UA
|
|
56
|
+
|
|
57
|
+
- Export tagged PDFs conforming to **PDF/UA** (ISO 14289): logical reading order, real heading hierarchy (`H1`–`H6`), language tag (`/Lang`), table headers (`TH` + `Scope`), alt text on figures, and artifact tagging on decorative headers/footers/page rules.
|
|
58
|
+
- Never rasterize text or tables into flat images inside PDFs or slide decks; verify selectable text and reading order with `pdftotext` and accessibility tag inspection.
|
|
59
|
+
|
|
60
|
+
## Chat UI and Mini-Apps
|
|
61
|
+
|
|
62
|
+
- Author concise, self-contained fallback text (`text` / notification preview) alongside rich cards/blocks so screen readers, watch notifications, and compact clients convey full meaning.
|
|
63
|
+
- Respect host modal/form focus management, avoid emoji-only button labels, and keep payload structures shallow so keyboard/assistive users do not traverse dozens of redundant dividers.
|
|
64
|
+
|
|
65
|
+
## Extensions and Plugins
|
|
66
|
+
|
|
67
|
+
- **Shadow DOM focus crossing:** in browser content-script overlays using closed/open Shadow DOM, enable `delegatesFocus: true` where appropriate, manage `Tab`/`Shift+Tab` boundaries cleanly, and ensure `aria-labelledby`/`aria-describedby` references stay within the same shadow root (IDREFs do not cross shadow boundaries natively without Element Internals/ARIA Reflection).
|
|
68
|
+
- **Host integration:** honor host theme/high-contrast tokens (VS Code `--vscode-*`, Figma, Raycast), avoid colliding with host keyboard shortcuts, and keep popups/sidebars operable at 200% zoom.
|
|
69
|
+
|
|
70
|
+
## Spatial / XR
|
|
71
|
+
|
|
72
|
+
- Support gaze + pinch, hand tracking, controller pointer, voice commands, and dwell/switch alternatives; never require sustained arm elevation (“gorilla arm”) or wide physical head rotation for routine tasks.
|
|
73
|
+
- Size targets generously (`≥ 60 pt` angular equivalent at comfortable viewing distance), maintain high foreground contrast against variable passthrough environments via adaptive backing/scrims, and provide comfort-mode/reduced-motion alternatives (snap turn, teleport, disable world-locked drift).
|
|
74
|
+
|
|
75
|
+
## Constrained surfaces (TV, Wearables, E-Ink, Kiosk, Automotive)
|
|
76
|
+
|
|
77
|
+
- **TV / 10-foot UI:** unmistakable focus highlight (`≥ 3:1` + scale/outline) for directional D-pad navigation, logical 2D spatial focus map, legible distance typography, and closed-caption controls.
|
|
78
|
+
- **Wearables / E-Ink:** glanceable high-contrast typography, large tap/crown/bezel targets, minimal nested scrolling, and crisp non-color indicators on monochrome e-ink displays.
|
|
79
|
+
- **Kiosk / Hardware:** physical reach/height ergonomics, audio jack/screen-reader mode where mandated, generous timeout extension prompts, and zero silent dead-ends.
|
|
80
|
+
|
|
81
|
+
## Game UI
|
|
82
|
+
|
|
83
|
+
- Subtitles/captions: speaker, sound cues where useful, size/background/contrast controls.
|
|
84
|
+
- Input remapping, hold/toggle options, sensitivity/dead zones, controller/keyboard/mouse parity, no mandatory rapid repeated input where avoidable.
|
|
85
|
+
- Colorblind-safe team/status differentiation using shape/icon/text; scalable HUD; screenreader/menu narration where platform supports it.
|
|
86
|
+
- Photosensitivity: avoid high-frequency flashes (`≤ 3 flashes/s`); provide reduction options. Motion sickness settings for camera/UI movement.
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
# Accessibility verification split
|
|
2
|
+
|
|
3
|
+
Evidence: WCAG, axe-core, generated-code accessibility repair research.
|
|
4
|
+
|
|
5
|
+
## Automated evidence (`rendered` in live browser/emulator vs. `static` in source)
|
|
6
|
+
|
|
7
|
+
Distinguish where the tool executes when assigning Pixelcraft evidence labels:
|
|
8
|
+
|
|
9
|
+
- **Browser/renderer-executed scans** (`@axe-core/playwright`, Storybook `@storybook/addon-a11y`, Lighthouse accessibility, Playwright `toMatchAriaSnapshot()`, Xcode Accessibility Inspector, Android Accessibility Scanner) inspect a live rendered DOM or platform accessibility tree → label **`rendered` (automated subset — not manual proof)**.
|
|
10
|
+
- **Source linters and static scanners** (`eslint-plugin-jsx-a11y`, `svelte-check`, `slop-scan.mjs`, template AST checks) inspect source files without rendering → label **`static`**.
|
|
11
|
+
|
|
12
|
+
| Tool / surface | Evidence label | Detects | Does not prove |
|
|
13
|
+
|---|---|---|---|
|
|
14
|
+
| `@axe-core/playwright` / live axe-core scan | `rendered` (automated subset) | missing labels/names, computed contrast, invalid ARIA, landmarks, duplicate IDs in real browser states | task usability, logical focus order, meaningful copy, screen-reader ergonomics |
|
|
15
|
+
| Playwright `toMatchAriaSnapshot()` | `rendered` (regression) | unintended accessibility-tree role/name/hierarchy regressions across states | visual contrast, focus visibility, or whether the snapshot itself is good UX |
|
|
16
|
+
| Storybook `@storybook/addon-a11y` | `rendered` (isolated component) | per-variant/state axe violations during component development | page-level landmark hierarchy, keyboard focus restoration across flows |
|
|
17
|
+
| `eslint-plugin-jsx-a11y` / static scanners | `static` | missing `alt`/labels, click-on-div without keyboard handler, banned patterns at edit time | computed contrast, CSS hiding/occlusion, runtime focus management |
|
|
18
|
+
| Accessibility Inspector (Xcode) / Accessibility Scanner (Android) | `rendered` (automated subset) | native accessibility tree, touch target size, label/trait audits | real VoiceOver/TalkBack task completion |
|
|
19
|
+
|
|
20
|
+
Automated zero means “no detected violations in scanned scope,” never “accessible.”
|
|
21
|
+
|
|
22
|
+
## Manual protocol
|
|
23
|
+
|
|
24
|
+
1. Keyboard/controller only: complete primary task (stopping before final payment or other irreversible commit unless running in an explicitly isolated sandbox, mock, or test mode), reverse direction, close/escape, recover after error.
|
|
25
|
+
2. Screen reader: inspect name/role/value/order/status/error/form behavior. Use the platform pairing realistically (NVDA/JAWS+Chrome/Edge, VoiceOver+Safari/iOS, TalkBack+Android/Chrome, Orca+Linux).
|
|
26
|
+
3. Zoom/reflow/text scaling: 200% or platform largest text where practical; verify clipping/overlap/truncation.
|
|
27
|
+
4. Visual modes: dark/light/high contrast/increased contrast/forced colors; inspect state boundaries and focus.
|
|
28
|
+
5. Input modalities: touch target one-hand, keyboard, mouse, controller/switch/voice where applicable.
|
|
29
|
+
6. Motion/audio: reduced motion, captions/subtitles, flashing, autoplay control.
|
|
30
|
+
7. Forms/auth: paste/password manager/autofill, preserve input, error association/recovery, redundant entry.
|
|
31
|
+
8. Record scope: build/commit, OS/browser/assistive tech versions, viewport/device, locale/direction, test data, exact task path.
|
|
32
|
+
|
|
33
|
+
## Reporting language
|
|
34
|
+
|
|
35
|
+
Use: “`eslint-plugin-jsx-a11y` passed on `<scope>` `static`; `@axe-core/playwright` scan of rendered checkout states reported zero violations `rendered` (automated subset); keyboard checkout flow verified up to final payment confirmation `rendered`; live payment submission `not-checked` (no isolated sandbox/test mode); VoiceOver screen-reader walkthrough `not-checked`.”
|
|
36
|
+
|
|
37
|
+
Never use: “WCAG compliant” unless the full scoped conformance process actually happened and legal/conformance language is intended.
|
|
38
|
+
|
|
39
|
+
## Composite-widget scripts
|
|
40
|
+
|
|
41
|
+
For custom dialogs, menus, tabs, comboboxes, disclosures, grids, trees, carousels, live regions, tooltips, and drag/drop, write the expected interaction contract before manual testing. At minimum verify:
|
|
42
|
+
|
|
43
|
+
- entry: how focus/attention enters the widget and whether context is announced;
|
|
44
|
+
- movement: arrows/tab/home/end/escape/controller equivalents and direction reversal;
|
|
45
|
+
- activation vs selection: when each happens and whether async state is pending;
|
|
46
|
+
- exit/restoration: where focus goes after close, delete, submit, error, or route change;
|
|
47
|
+
- hidden state: inactive content is neither focusable nor announced as active;
|
|
48
|
+
- async refresh: focus does not disappear and status is concise/truthful;
|
|
49
|
+
- mode stress: text scaling, RTL, high contrast/forced colors, reduced motion, touch target behavior.
|
|
50
|
+
|
|
51
|
+
Record exact assistive technology/platform versions when available. If only keyboard inspection is possible, do not infer screen-reader quality from it.
|
|
52
|
+
|
|
53
|
+
## Regression minimum
|
|
54
|
+
|
|
55
|
+
When fixing one accessibility defect, retest:
|
|
56
|
+
|
|
57
|
+
1. the original failing task path;
|
|
58
|
+
2. reverse navigation/focus restoration;
|
|
59
|
+
3. one error/recovery path;
|
|
60
|
+
4. smallest supported geometry or text scaling;
|
|
61
|
+
5. relevant dark/high-contrast/forced-colors mode;
|
|
62
|
+
6. any composite-widget state touched by the fix.
|
|
63
|
+
|
|
64
|
+
Do not close a defect because the automated scanner became quiet.
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
# WCAG 2.2 AA operational checks
|
|
2
|
+
|
|
3
|
+
Primary source; new-criteria overview. This is a practical floor, not legal certification.
|
|
4
|
+
|
|
5
|
+
## Regulatory & standards scope
|
|
6
|
+
|
|
7
|
+
WCAG 2.2 AA is Pixelcraft's mandatory engineering floor (not legal certification; escalate formal compliance to legal/accessibility counsel):
|
|
8
|
+
|
|
9
|
+
- **EU European Accessibility Act (EAA, effective June 28, 2025)** & **EN 301 549:** covers consumer digital products, e-commerce, banking, transport, e-books, and communications sold in the EU (referencing WCAG 2.1/2.2 AA + non-web software/document requirements).
|
|
10
|
+
- **US ADA Title II (compliance deadlines starting April 24, 2026 for larger state/local public entities, April 2027 for smaller entities):** mandates WCAG 2.1 AA minimum (meeting WCAG 2.2 AA satisfies and exceeds 2.1 AA).
|
|
11
|
+
- **APCA / WCAG 3.0 cross-reference:** keep WCAG 2.2 AA luminance ratios (`4.5:1` / `3:1`) as the normative legal floor, and pair them with **APCA (`|Lc|`)** perceptual contrast checks (see `pixelcraft-craft`) to catch dark-mode halation and thin-weight legibility defects as WCAG 3.0 matures.
|
|
12
|
+
|
|
13
|
+
## Perceivable
|
|
14
|
+
|
|
15
|
+
- Text contrast: `4.5:1` normal, `3:1` large; non-text UI/icons `3:1` unless exempt. Check states, placeholders, focus indicators, diagrams/charts, and composited translucency. Supplement with APCA `|Lc|` checks on dark surfaces.
|
|
16
|
+
- Resize/reflow: 200% zoom/text scaling and 320 CSS px-equivalent width without two-dimensional scrolling or loss of content/function, subject to exceptions.
|
|
17
|
+
- **1.4.12 Text Spacing:** layout survives user overrides of line height ≥ `1.5×` font size, paragraph spacing ≥ `2×`, letter spacing ≥ `0.12×`, and word spacing ≥ `0.16×` with zero clipping, overlap, or lost controls.
|
|
18
|
+
- **1.4.13 Content on Hover or Focus:** tooltips, hovercards, and submenus triggered by hover/focus must be **dismissible** (`Esc` without moving pointer/focus), **hoverable** (pointer can move onto the revealed content without it vanishing), and **persistent** until the user dismisses or moves away.
|
|
19
|
+
- Meaning does not depend on color, shape, position, sound, or sensory characteristic alone.
|
|
20
|
+
- Media: captions/subtitles, transcripts/audio description as applicable; no flashing above safe thresholds (`≤ 3 flashes/s`).
|
|
21
|
+
- Content adapts orientation unless essential; meaningful images have appropriate alternative text or are marked decorative.
|
|
22
|
+
|
|
23
|
+
## Operable
|
|
24
|
+
|
|
25
|
+
| Criterion | Concrete check |
|
|
26
|
+
|---|---|
|
|
27
|
+
| keyboard/focus | every action reachable/operable; no keyboard trap; visible focus with sufficient contrast |
|
|
28
|
+
| **2.1.4 Character Key Shortcuts** | single-character shortcuts (`j`, `k`, `/`, `?`) can be turned off, remapped, or are active only while a relevant component has focus |
|
|
29
|
+
| **2.4.11 Focus Not Obscured (AA)** & **2.4.12 (Enhanced, AAA)** | sticky headers, banners, overlays, keyboards, and floating actions never hide the focused component (AA: not *entirely* hidden; AAA 2.4.12: *no part* obscured—prefer 2.4.12 via `scroll-margin-block`) |
|
|
30
|
+
| **2.4.13 Focus Appearance (AAA target)** | recommended focus ring geometry: enclosing area at least equivalent to a `2px` perimeter with `≥ 3:1` contrast change between unfocused and focused pixels |
|
|
31
|
+
| bypass/navigation | skip/landmarks/headings or platform equivalent; logical reading/focus order; meaningful page/screen titles |
|
|
32
|
+
| link/control purpose | destination/action understandable in context; avoid repeated vague names |
|
|
33
|
+
| **2.5.3 Label in Name** | accessible name (`aria-label`, `alt`, computed name) contains the exact visible text label (ideally starting with it) so Voice Control / speech-input users can say what they see |
|
|
34
|
+
| **2.5.7 Dragging Movements** | every dragging movement has a single-pointer alternative (buttons, menu, keyboard, direct input) |
|
|
35
|
+
| **2.5.8 Target Size (Minimum)** | web AA minimum `24×24` CSS px unless spacing/inline/essential/user-agent exception applies; native touch baselines are larger (`44pt` iOS / `48dp` Android) |
|
|
36
|
+
| gestures/motion | multipoint/path gestures have simple alternatives; motion actuation can be disabled/substituted |
|
|
37
|
+
| timing | user can extend/disable/control nonessential time limits; no unexpected context change on input/focus |
|
|
38
|
+
|
|
39
|
+
## Understandable
|
|
40
|
+
|
|
41
|
+
- Language of page/parts declared; consistent navigation/identification; icons/controls behave consistently.
|
|
42
|
+
- Errors are identified in text, associated with the input, and suggestions are provided when correction rules are known.
|
|
43
|
+
- 3.3.7 redundant entry: do not require re-entering information already supplied in the same process unless essential/security/revalidation exception applies.
|
|
44
|
+
- 3.3.8 accessible authentication: no cognitive function test (memory, puzzle, transcription) unless an allowed alternative/mechanism such as password manager/paste/passkey path exists.
|
|
45
|
+
- Help appears consistently when repeated across pages/screens.
|
|
46
|
+
|
|
47
|
+
## Robust
|
|
48
|
+
|
|
49
|
+
- Use valid native semantics first; ARIA only where needed and correct. Name/role/value/state must update programmatically.
|
|
50
|
+
- Status messages are exposed without moving focus where platform supports it.
|
|
51
|
+
- Custom components preserve focus, selection, input method, screen-reader ordering, and platform accessibility tree behavior.
|
|
52
|
+
|
|
53
|
+
## Automatic failures to scan/fix
|
|
54
|
+
|
|
55
|
+
`outline:none` without replacement, positive tabindex, placeholder-as-label, missing form label, mouse-only handlers, blocked paste, disabled zoom, color-only state, missing reduced-motion path, focus removed/unmanaged in dialogs, keyboard-inaccessible drag/drop/menu/grid, target padding counted as visual target when hit box is smaller.
|
|
56
|
+
|
|
57
|
+
## WCAG 2.2 addition test matrix
|
|
58
|
+
|
|
59
|
+
| Addition | Test procedure | Pass evidence | Exception handling |
|
|
60
|
+
|---|---|---|---|
|
|
61
|
+
| focus not obscured (minimum) | tab forward/backward through sticky headers/footers, banners, overlays, cookie/consent UI, virtual keyboards, floating actions | focused component is not fully hidden; enough visible pixels/state remain to identify it | enhanced visibility is stricter; document intentional overlay behavior |
|
|
62
|
+
| dragging movements | inspect every drag sort/resize/canvas/slider/map gesture | single-pointer click/tap alternative exists and achieves equivalent result; keyboard path remains required where applicable | exception only when dragging is essential to the activity; record why |
|
|
63
|
+
| target size minimum | measure rendered interactive target, not padding alone, at supported densities/viewports | 24×24 CSS px-equivalent minimum on web AA unless spacing/inline/equivalent/user-agent/essential exception applies | platform baseline may require larger; use stricter platform rule |
|
|
64
|
+
| consistent help | identify each help/contact/support/human-escalation mechanism and compare only the pages/steps where that mechanism repeats | repeated mechanism appears in the same relative order/location across the set; absence from some steps is not itself a violation | help need not exist on every page/step; evaluate consistency only where a repeated mechanism is provided |
|
|
65
|
+
| redundant entry | complete multi-step form/process and induce validation/server errors | previously supplied information is retained or selectable; no unnecessary retyping | essential/security/revalidation exceptions must be explicit and justified |
|
|
66
|
+
| accessible authentication | attempt login/recovery with password manager/paste/passkey/biometric/magic-link paths where supported | no cognitive memory test, puzzle, or transcription-only requirement blocks authentication | object recognition/manual transcription may be permitted only through specified alternative/mechanism; verify actual path |
|
|
67
|
+
|
|
68
|
+
Run these tests in the actual rendering/input context. A static line of code is not proof when sticky elements, viewport occlusion, scaling, hit slop, or asynchronous validation determine the outcome.
|
|
69
|
+
|
|
70
|
+
## Manual verification scripts
|
|
71
|
+
|
|
72
|
+
Use short repeatable scripts rather than vague manual inspection:
|
|
73
|
+
|
|
74
|
+
1. **Keyboard reverse-path script:** complete the primary flow forward, then reverse with Shift+Tab/platform equivalent; verify focus visibility, logical order, escape/close behavior, and restoration.
|
|
75
|
+
2. **Occlusion script:** zoom/resize to the smallest supported geometry, enable any sticky/floating UI and virtual keyboard emulation where relevant, tab through all controls, and inspect whether focused controls remain visible.
|
|
76
|
+
3. **Authentication script:** enter incorrect credentials, correct one field, use paste/manager/autofill, trigger recovery, and verify no memory/puzzle/transcription-only barrier or redundant entry.
|
|
77
|
+
4. **Dragging alternative script:** identify every drag interaction, complete the same outcome using its single-pointer/keyboard alternative, cancel midway, and verify state/announcement.
|
|
78
|
+
5. **Error recovery script:** submit invalid input, correct only one field, verify prompt revalidation, preserved input, summary freshness, and focus behavior.
|
|
79
|
+
6. **Scaling script:** set 200% text/zoom or platform-large text, complete the task in light/dark/high-contrast modes, and inspect clipping, overlap, target size, and focus visibility.
|
|
80
|
+
|
|
81
|
+
## Sticky and fixed chrome focus-unobscured remediation (`WCAG 2.4.11` / `2.4.12`)
|
|
82
|
+
|
|
83
|
+
Sticky headers, floating action bars, bottom tab/composer bars, cookie/consent banners, and software keyboards routinely hide controls reached via `Tab` or `Shift+Tab`. Enforce unobscured focus (`2.4.12` zero-occlusion target; `2.4.11` AA floor) structurally across platforms:
|
|
84
|
+
|
|
85
|
+
| Platform | Structural remediation pattern |
|
|
86
|
+
|---|---|
|
|
87
|
+
| **Web CSS / DOM** | Declare `scroll-padding-top` and `scroll-padding-bottom` on the scrolling container (`html` or overflow pane) matching tokenized sticky chrome heights (`scroll-padding-block: calc(var(--sticky-header-h, 0px) + 12px) calc(var(--sticky-footer-h, 0px) + 12px);`), and set `scroll-margin-block` on anchor targets. Dismiss or reserve flow space for consent/cookie banners so they never float over focused fields. |
|
|
88
|
+
| **SwiftUI / UIKit** | Mount persistent bars with `.safeAreaInset(edge: .top / .bottom)` rather than uncompensated `ZStack` overlays so `ScrollView` and keyboard avoidance automatically inset focusable bounds; pair `@FocusState` with `ScrollViewReader` when custom chrome changes height dynamically. |
|
|
89
|
+
| **Jetpack Compose / Android** | Pass `Scaffold` `innerPadding` into scrollable containers, apply `Modifier.imePadding()` + `WindowInsets.safeDrawing`, and use `BringIntoViewRequester` on custom focusable rows so focused inputs clear bottom sheets and keyboards completely. |
|
|
90
|
+
| **Desktop / TUI / Game UI** | Subtract pinned toolbar/status-bar dimensions from scroll-into-view calculations (Qt `QScrollArea::ensureWidgetVisible`, WinUI/WPF/Avalonia `BringIntoView`, TUI/HUD viewport row clamping on keyboard/controller focus step). |
|
|
91
|
+
|
|
92
|
+
## European Accessibility Act (`EAA` / `EN 301 549`) production readiness
|
|
93
|
+
|
|
94
|
+
For B2C digital products, e-commerce checkouts, consumer banking/fintech, passenger transport services, e-books, and communications serving EU users, technical `WCAG 2.2 AA` / `EN 301 549` conformance must be paired with operational release readiness (escalating final legal sign-off to counsel):
|
|
95
|
+
|
|
96
|
+
1. **Public Accessibility Statement:** link persistently from global navigation, footer, app settings, or store listing; state the applied technical standard (`EN 301 549` / `WCAG 2.2 AA`), publication/review date, and honest conformance status (`fully`, `partially`, or `non-conformant`).
|
|
97
|
+
2. **Known limitations & accessible workarounds:** explicitly list any unresolved third-party embeds, archival documents, or exempted media alongside a concrete alternative path to complete the same user task.
|
|
98
|
+
3. **Assistive-technology verification matrix:** document the real OS, browser/runtime, keyboard, text-zoom (`200%`), and screen-reader combinations actually tested (`VoiceOver`, `NVDA`, `TalkBack`, `Narrator`, `Orca`); mark unverified combinations `not-checked` rather than implying universal certification.
|
|
99
|
+
4. **Accessible feedback & escalation channel:** provide a barrier-free contact mechanism (accessible form/email/support route free of cognitive CAPTCHAs) with expected response timing and jurisdiction-appropriate enforcement/ombudsman contact placeholders for the product owner to populate.
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pixelcraft-brandkit
|
|
3
|
+
description: Creates art-directed brand-kit and identity-board image generation briefs for brand kits, logo systems, brand guidelines, moodboards, identity decks, visual-world presentations, launch identities, logo concepts, palette/type systems, and implementation-ready brand direction. Use when a user asks for a brand kit, identity board, moodboard, logo system, brand guidelines image, visual identity, rebrand, refresh, or brand mockup board.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
version: 0.1.0
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Pixelcraft Brandkit
|
|
10
|
+
|
|
11
|
+
Construct coherent, art-directed brand-kit and identity-board image briefs grounded in brand strategy, symbolic reduction, disciplined grids, and production usability.
|
|
12
|
+
|
|
13
|
+
Do **not** generate generic logos, uncoordinated mockups, or cluttered AI moodboards. Build one repeatable identity system in a single structured board.
|
|
14
|
+
|
|
15
|
+
## Core principle
|
|
16
|
+
|
|
17
|
+
A brand kit is a structured visual argument for what the brand stands for, not surface decoration. Every board must answer concretely:
|
|
18
|
+
|
|
19
|
+
1. What does this brand represent?
|
|
20
|
+
2. What is the core metaphor?
|
|
21
|
+
3. How does the mark express that metaphor cleanly at small and large sizes?
|
|
22
|
+
4. How does the system hold together across UI, print, imagery, and detail?
|
|
23
|
+
5. What single deliberate rule makes the system ownable?
|
|
24
|
+
|
|
25
|
+
## Quality bar and reference DNA
|
|
26
|
+
|
|
27
|
+
Unless the brief specifies otherwise, enforce the layout discipline of production identity-guidelines boards:
|
|
28
|
+
|
|
29
|
+
- deliberate dark charcoal or calibrated light outer canvas;
|
|
30
|
+
- strict grid-based panels with consistent gutters and exact edge alignment;
|
|
31
|
+
- restrained density, sparse legible typography, and generous negative space;
|
|
32
|
+
- cohesive atmosphere and a single simple, memorable mark repeated consistently;
|
|
33
|
+
- realistic touchpoints (browser chrome, app header, terminal frame, physical label, or icon crop) rather than dense fake dashboards;
|
|
34
|
+
- image-led panels with purposeful surface treatments (halftone, paper grain, print registration, or photography) tied to the brand's material world;
|
|
35
|
+
- geometric construction diagrams, hairlines, alignment marks, and sparse index labels;
|
|
36
|
+
- one disciplined accent system repeated across panels without palette drift;
|
|
37
|
+
- one core identity idea per board using identical mark proportions across every panel.
|
|
38
|
+
|
|
39
|
+
References calibrate restraint, proportion, and presentation rhythm—never a fixed skin and never assets to copy.
|
|
40
|
+
|
|
41
|
+
## When to use
|
|
42
|
+
|
|
43
|
+
Use for new brand kits, identity boards, logo concept systems, brand guideline overview images, visual-world explorations, rebrands/refreshes, moodboards with systemic intent, and implementation-oriented brand direction. Do not use it for ordinary UI implementation; return to the `pixelcraft` orchestrator for that.
|
|
44
|
+
|
|
45
|
+
## Intake flow
|
|
46
|
+
|
|
47
|
+
Before image generation, determine whether the work is:
|
|
48
|
+
|
|
49
|
+
- **create from scratch** — full concept generation;
|
|
50
|
+
- **build on existing brand** — preserve supplied name/logo/colors/type/assets exactly;
|
|
51
|
+
- **refresh/rebrand** — change only the explicitly requested scope.
|
|
52
|
+
|
|
53
|
+
Use the request, earlier context, and supplied assets first. Do not ask again for information already provided. Inspiration or mood references alone do not establish an existing identity; treat them as constraints only when the user identifies them that way.
|
|
54
|
+
|
|
55
|
+
If essential information is missing, walk unresolved intake items **one focused question at a time** (never bundle 5 questions into a single wall)—covering only what is actually unknown in priority order: (1) create vs. extend vs. refresh scope, (2) existing logo/wordmark & assets to preserve, (3) palette & typography constraints, and (4) visual world & anti-goals. For each question, state why it matters in one sentence, offer 2–4 concrete options leading with **(Recommended)**, and allow free-form / "you decide" / "skip". If required existing assets are unavailable, request them and wait before generation. An explicit refresh/rebrand request takes priority. Existing identity constraints outrank style, palette, and new-logo defaults.
|
|
56
|
+
|
|
57
|
+
## Required workflow
|
|
58
|
+
|
|
59
|
+
### 1. Strategy first
|
|
60
|
+
|
|
61
|
+
Infer and write down the brand strategy before prompting: category, audience, product function, emotional promise, cultural position, trust level, visual world, symbolic metaphor, and what the brand must avoid. The visual system must be based on meaning. Never pick symbols randomly.
|
|
62
|
+
|
|
63
|
+
### 2. Diverge into 2–3 brand worlds
|
|
64
|
+
|
|
65
|
+
Consistent with the `pixelcraft-direction` skill, create 2–3 materially different brand-world concepts before generating. Each concept must differ in symbolic metaphor, visual mode, palette posture, image direction, and presentation mood—not merely hue. Score them briefly against strategy, audience, ownability, implementation fit, and anti-generic risk.
|
|
66
|
+
|
|
67
|
+
Select one and record why the others lost. If the user supplied a fixed existing identity, divergence happens within those constraints and must not reinterpret the logo or discard supplied assets.
|
|
68
|
+
|
|
69
|
+
### 3. Concept and logo system
|
|
70
|
+
|
|
71
|
+
If a new logo is needed or requested, choose one logo method, or combine at most two, using `references/logo-methods.md`. The result must be simple, memorable, symbolic, scalable, ownable, balanced, connected to strategy, and usable as icon, wordmark, badge, UI mark, and pattern. For an existing logo, reuse it consistently without redesign unless the user explicitly requested logo scope.
|
|
72
|
+
|
|
73
|
+
### 4. Layout and canvas adaptation
|
|
74
|
+
|
|
75
|
+
Default output is one brand-kit overview image in a `3 × 3` grid, with `4:3` or `16:10` aspect ratio. Honor requested width × height, aspect ratio, orientation, or layout over defaults. Canvas dimensions describe the whole output image, not panel count. If the generator cannot produce exact dimensions, use the closest supported ratio, explain the limitation, and report actual output size; ask only when cropping/resizing materially affects composition.
|
|
76
|
+
|
|
77
|
+
Use `references/layouts.md` for `3×3`, `2×3`, `2×2`, `1×3`, `4×2`, custom layouts, panel rhythm, canvas adaptation, text/tagline/image/mockup/color rules, and finishing detail rules.
|
|
78
|
+
|
|
79
|
+
### 5. Visual mode, Dual Screen <-> Print color master, and multi-target token export
|
|
80
|
+
|
|
81
|
+
Select the mode in `references/visual-modes.md` based on strategy rather than fashion. Keep one dominant palette: base color, primary accent, optional secondary accent, and neutrals. Accents repeat across panels; no random rainbow; no default purple-blue AI glow unless genuinely justified.
|
|
82
|
+
|
|
83
|
+
For production handoff:
|
|
84
|
+
- Define a **Dual Screen (`OKLCH` + `sRGB HEX` + `Display-P3`) <-> Print (`CMYK` + `Pantone`) color master table**—**never auto-convert vibrant RGB/P3 neons into muddy 4-plate CMYK** without hand-tuned ink formulas (`TAC <= 300%`, `C0 M0 Y0 K100` body black).
|
|
85
|
+
- Author **dedicated small-size optical reductions (`16 px`, `24 px`, `32 px` favicon & social avatar proofs)** with simplified stroke/counter geometry rather than mechanically shrinking a complex hero lockup, plus **real-world application mockups** spanning **business cards, letterhead, slide deck templates, social profiles/cards, and packaging or signage** relevant to the brand.
|
|
86
|
+
- Run a **preliminary trademark & visual-similarity screening** across category competitors and public registries—**explicitly stating in the handoff that preliminary screening is a design-risk check only and does NOT replace formal trademark counsel or legal clearance**.
|
|
87
|
+
- Use the `pixelcraft-tokens` skill to emit **multi-target DTCG `tokens.json` exports** (`CSS` / `Swift` / `Kotlin` / `Desktop`) and attach a **Commercial Font & Asset License Manifest** verifying Webfont pageviews, Mobile App embedding, Server PDF generation, and Desktop redistribution rights.
|
|
88
|
+
|
|
89
|
+
### 6. Prompt and generation
|
|
90
|
+
|
|
91
|
+
Build the internal generation prompt using `references/prompt-template.md`. Include identity mode, supplied assets to preserve, brand-world choice, canvas/size behavior, layout, panel inventory, visual mode, disciplined palette, text limits, logo treatment, and anti-copy instructions.
|
|
92
|
+
|
|
93
|
+
Use supplied references for rhythm, spacing, density, logo placement, image treatment, and quality. Do not copy exact logos, names, compositions, slogans, or unique assets.
|
|
94
|
+
|
|
95
|
+
### 7. QA before delivery
|
|
96
|
+
|
|
97
|
+
Before presenting the result, perform the self-critique in `references/qa-checklist.md`. Check logo consistency across panels, dedicated **`16–32 px` favicon/avatar proofs**, **real-world application mockups** (business cards, letterhead, slides, social, packaging/signage), Dual Screen <-> Print color specs, preliminary trademark-similarity screening note, sparse legible text, panel rhythm, correct use of supplied assets, and commercial license manifest completeness.
|
|
98
|
+
|
|
99
|
+
## Hard rules
|
|
100
|
+
|
|
101
|
+
- Never invent replacements for supplied logos, names, colors, typography, or assets.
|
|
102
|
+
- Never generate long paragraphs, lorem ipsum, dense explanations, unreadable labels, fake tiny UI, or generic corporate slogans.
|
|
103
|
+
- Never copy exact reference logos, names, compositions, slogans, or unique visual assets, and never imply legal trademark clearance (always pair preliminary similarity screening with an explicit formal-counsel disclaimer).
|
|
104
|
+
- Never auto-convert `sRGB`/`Display-P3` screen neons into muddy auto-profile `CMYK`, and never shrink a complex multi-line hero lockup directly into a `16–32 px` favicon/avatar without an optical reduction proof.
|
|
105
|
+
- Enforce measurable grid geometry, single-mark consistency, real-world application mockups, contrast-verified palettes, multi-target DTCG `tokens.json` export (`CSS`/Swift/Kotlin/Desktop), and a complete **Commercial Font & Asset License Manifest** (Webfont, Mobile App, Server PDF, Desktop redistribution).
|
|
106
|
+
- Report the actual output size/aspect ratio; never promise unsupported dimensions.
|
|
107
|
+
|
|
108
|
+
## Pre-submit checklist
|
|
109
|
+
|
|
110
|
+
- [ ] Missing intake items resolved one focused question at a time (with concrete options + recommendation); supplied brand assets preserved verbatim.
|
|
111
|
+
- [ ] 2–3 genuinely different brand worlds diverged and scored before generation; losing worlds documented.
|
|
112
|
+
- [ ] Identical mark proportions across panels + **dedicated `16–32 px` (`16 px` / `24 px` / `32 px`) favicon & avatar optical proof** + **real-world application mockups** (business cards, letterhead, slides, social, packaging/signage) verified or flagged `not-checked`.
|
|
113
|
+
- [ ] **Dual Screen (`OKLCH` + `sRGB HEX` + `Display-P3`) <-> Print (`CMYK` + `Pantone`) color master table** + **multi-target DTCG `tokens.json` export** (`CSS`/Swift/Kotlin/Desktop via `pixelcraft-tokens`) prepared.
|
|
114
|
+
- [ ] **Commercial Font & Asset License Manifest** (Webfont, Mobile App, Server PDF, Desktop redistribution + C2PA/AI provenance) and **preliminary trademark-similarity screening note** (explicitly noting it does not replace formal trademark counsel) included.
|
|
115
|
+
- [ ] **Checklist-Until-Passing Stop-Gate (`<HARD-GATE>`):** walk every checklist item above (`references/qa-checklist.md`) + run `slop-scan.mjs --fail-on p2`, `check-contrast.mjs`, `export-tokens.mjs`, rendered `16–32 px` & board inspection, and `check-acceptance.mjs .pixelcraft/acceptance.json` (`pixelcraft-review`) in a `Fix → Re-verify` loop until passing (`0` `fail`/`pending` rows, `rendered` evidence on visual/contrast/small-size legibility per `Rule #0.3`).
|
|
116
|
+
|
|
117
|
+
## Reference routing
|
|
118
|
+
|
|
119
|
+
- Read [references/logo-methods.md](references/logo-methods.md) when selecting the structural method for a new logo.
|
|
120
|
+
- Read [references/logo-concepting.md](references/logo-concepting.md) when running strategy-to-metaphor concepting, mascot/character design, reduction, or scalability critique.
|
|
121
|
+
- Read [references/pixel-art-logos.md](references/pixel-art-logos.md) when the identity uses pixel art, bitmap lettering, sprite/mascot geometry, stepped gradients, dithering, or tiny icon reduction.
|
|
122
|
+
- Read [references/layouts.md](references/layouts.md) when choosing panels, adapting to canvas size, writing text/taglines, directing imagery/mockups, or enforcing palette discipline.
|
|
123
|
+
- Read [references/visual-modes.md](references/visual-modes.md) when selecting the visual world.
|
|
124
|
+
- Read [references/prompt-template.md](references/prompt-template.md) before prompting any image model.
|
|
125
|
+
- Read [references/qa-checklist.md](references/qa-checklist.md) before delivering or selecting a generated result.
|
|
126
|
+
- Read [references/asset-pipeline.md](references/asset-pipeline.md) when turning the identity into optical `16/24/32 px` favicons, app icons, optimized SVG, multi-target DTCG tokens, or font subsets.
|
|
127
|
+
- Read [references/brand-governance.md](references/brand-governance.md) before finalizing Dual Screen/Print color masters, the Commercial Font & Asset License Manifest, clearspace, minimum sizes, or incorrect-use guidance.
|
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
# Brand asset pipeline
|
|
2
|
+
|
|
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
|
+
|
|
5
|
+
## Dedicated small-size optical reduction (`16 px` / `24 px` / `32 px`) & favicon set
|
|
6
|
+
|
|
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:
|
|
16
|
+
|
|
17
|
+
| Asset | Requirement |
|
|
18
|
+
|---|---|
|
|
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 |
|
|
24
|
+
|
|
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.
|
|
26
|
+
|
|
27
|
+
## Native app icons
|
|
28
|
+
|
|
29
|
+
Use platform-native source generation rather than manually resizing arbitrarily.
|
|
30
|
+
|
|
31
|
+
### iOS / iPadOS / macOS (iOS 18+ Dark/Tinted & Apple 26 Icon Composer `.icon`)
|
|
32
|
+
|
|
33
|
+
Modern Apple platforms require layered appearance-aware icons rather than a single flat light-mode square:
|
|
34
|
+
|
|
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.
|
|
38
|
+
|
|
39
|
+
### Android adaptive icons
|
|
40
|
+
|
|
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.
|
|
42
|
+
|
|
43
|
+
### Windows and Linux desktop
|
|
44
|
+
|
|
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.
|
|
46
|
+
- Linux/desktop: provide scalable SVG plus PNG sizes required by the shell/theme target.
|
|
47
|
+
|
|
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
|
+
};
|
|
69
|
+
```
|
|
70
|
+
|
|
71
|
+
Rules:
|
|
72
|
+
|
|
73
|
+
- always preserve `viewBox` (modern SVGO keeps `viewBox` by default inside `preset-default`);
|
|
74
|
+
- keep `<title>`/`<desc>` and accessible IDs when inline SVG must expose meaning;
|
|
75
|
+
- do not collapse/merge paths when that destroys mask/animation/semantic structure;
|
|
76
|
+
- convert text to paths for portable logo artwork or embed a properly licensed font; do both consciously;
|
|
77
|
+
- inspect optimizer diff visually—small numeric rounding can deform pixel-aligned marks;
|
|
78
|
+
- sanitize untrusted SVG before serving it;
|
|
79
|
+
- retain unminified source in version control or a design artifact store.
|
|
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
|
+
|
|
89
|
+
## Font subsetting
|
|
90
|
+
|
|
91
|
+
Subsetting is a licensing, script, shaping, and runtime decision—not merely byte reduction.
|
|
92
|
+
|
|
93
|
+
Tools:
|
|
94
|
+
|
|
95
|
+
```sh
|
|
96
|
+
pyftsubset Input.ttf \
|
|
97
|
+
--output-file=brand-subset.woff2 \
|
|
98
|
+
--flavor=woff2 \
|
|
99
|
+
--unicodes="U+0000-00FF,U+0100-017F,U+1EA0-1EFF" \
|
|
100
|
+
--layout-features='kern,liga,ccmp,mark,mkmk' \
|
|
101
|
+
--name-IDs='*'
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
`glyphhanger` can measure actual Unicode coverage in rendered content and drive subset input. Rules:
|
|
105
|
+
|
|
106
|
+
- preserve all scripts the product truly uses; Latin-only subsets fail names/locations/brand text;
|
|
107
|
+
- keep combining marks and positioning features for Vietnamese/stacked diacritics;
|
|
108
|
+
- keep shaping/positioning features for Arabic/Indic scripts; naive Unicode-range subsetting can break contextual forms;
|
|
109
|
+
- emit `unicode-range` so browsers download only matching subsets;
|
|
110
|
+
- WOFF2 is the normal web delivery format; keep WOFF/TTF/OTF only where a renderer/platform requires them;
|
|
111
|
+
- verify license permission for embedding/subsetting/conversion.
|
|
112
|
+
|
|
113
|
+
## Raster image format choice and `<picture>` fallback
|
|
114
|
+
|
|
115
|
+
| Format | Use | Avoid |
|
|
116
|
+
|---|---|---|
|
|
117
|
+
| SVG | logos/icons/simple vector art | complex photographic texture or untrusted active content |
|
|
118
|
+
| AVIF | high compression photos/gradients paired with WebP/JPEG fallback | bare `<img src="*.avif">` without fallback for older viewers/mail clients |
|
|
119
|
+
| WebP | broad modern photographic/alpha compression baseline | assuming it is always smaller/better than AVIF/JPEG |
|
|
120
|
+
| PNG | lossless UI, transparency, pixel-aligned artwork, compatibility | large photos where lossy compression is appropriate |
|
|
121
|
+
| JPEG | universal photographic compatibility without alpha | text/line art/transparency/repeated editing |
|
|
122
|
+
|
|
123
|
+
Use `<picture>` with ordered `<source>` candidates and a universally decodable fallback `<img>`:
|
|
124
|
+
|
|
125
|
+
```html
|
|
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>
|
|
141
|
+
```
|
|
142
|
+
|
|
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.
|
|
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
|
+
|
|
156
|
+
## Pipeline checklist
|
|
157
|
+
|
|
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.
|