@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,155 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pixelcraft
|
|
3
|
+
description: Orchestrates distinctive, evidence-verified UI work across any frontend stack. Use when designing, building, redesigning, auditing, brainstorming, grilling requirements, or polishing web apps, mobile apps, desktop windows, data apps, terminal UI, game UI, emails, paginated documents/PDFs/slides, social/video media, chat/bot/AI assistant UI, spatial/XR, constrained TV/wearable/voice/embedded surfaces, browser/IDE extensions, dataviz dashboards, brand kits, or Figma design handoffs. Detects the stack and surface mode, runs the Pixelcraft loop with Grill-Me discovery, creative divergence, anti-slop iron laws, and produces an evidence-labeled final report.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
version: 0.1.0
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Pixelcraft orchestrator
|
|
10
|
+
|
|
11
|
+
Use this skill first whenever the task creates or changes a user-facing interface. It coordinates other Pixelcraft skills by name; each skill is independently installable and intentionally not imported by path.
|
|
12
|
+
|
|
13
|
+
## Authority order
|
|
14
|
+
|
|
15
|
+
Apply constraints in this order and stop at the first conflict:
|
|
16
|
+
|
|
17
|
+
1. explicit user brief;
|
|
18
|
+
2. existing project design system, tokens, components, content, and conventions;
|
|
19
|
+
3. platform conventions, legal requirements, and the accessibility floor;
|
|
20
|
+
4. Pixelcraft guidance;
|
|
21
|
+
5. model taste.
|
|
22
|
+
|
|
23
|
+
Never override a user or project decision because it resembles a common pattern. Flag conflict instead of silently replacing it.
|
|
24
|
+
|
|
25
|
+
## Approved-design rule
|
|
26
|
+
|
|
27
|
+
When the user asks to implement an approved design, do **not** run divergence or change visual direction. Route through `pixelcraft-handoff` to preserve layout, hierarchy, token/color/type decisions, interaction meaning, and accessibility while translating into the actual stack. Divergence applies only to undecided parts: missing states/breakpoints/behavior, token or accessibility gaps, and regions explicitly classified as inspiration rather than specification.
|
|
28
|
+
|
|
29
|
+
## Iron laws and rationalization table
|
|
30
|
+
|
|
31
|
+
| Excuse the agent is tempted to use | Required reality |
|
|
32
|
+
|---|---|
|
|
33
|
+
| "This is a quick demo / small page, skip Plan & Diverge." | Scale depth proportionally, never skip checkpoints. Only narrow bug fixes, copy tweaks, or approved designs use Direct Execution. |
|
|
34
|
+
| "I'll guess requirements and jump straight to code to save a turn." | When scope or direction is open, inspect the repo first, run `pixelcraft-plan` Grill-Me one question at a time, and stop at the pre-code Design Approval gate. |
|
|
35
|
+
| "Tkinter / Electron / Streamlit / raw `print()` / DIY modal is faster." | Reject lazy defaults and fragile DIY widgets. Use the Stack & Library Craft Gate in `pixelcraft-plan` to pick native primitives or purpose-built libraries. |
|
|
36
|
+
| "I'll leave `// TODO`, `// ...`, empty `onClick`, or 3 mock rows for now." | Zero stubs, zero ellipsis truncation, zero dead handlers, zero unapproved mock data posing as live state. |
|
|
37
|
+
| "Playwright/device isn't handy, so `not-checked` or `static` means pass." | Attempt available local tools first (`slop-scan`, `check-*`, `check-acceptance`, runtime/test runner). **Rule #0.3:** `static` or `model-judgment` **never** counts as `pass` for visual appearance, performance budgets, or interactive/assistive a11y; never claim "ready to ship" on `not-checked` scope. |
|
|
38
|
+
| "Code is written / I did one quick pass, so I can stop now." | **Forbidden.** Enforce the **Completion & Scan-Until-Clean `<HARD-GATE>`**: walk every applicable checklist (`floor.md`, platform `Pre-submit`, `polish.md`) and run `scan → fix → rescan` until all deterministic scans (`slop-scan --fail-on p2`, `check-*`, compiler/linter/tests) and `check-acceptance.mjs .pixelcraft/acceptance.json` pass with `0` `fail`/`pending` rows. |
|
|
39
|
+
|
|
40
|
+
## References
|
|
41
|
+
|
|
42
|
+
- Read [references/stack-detection.md](references/stack-detection.md) when identifying the frontend stack, rendering surface, input modality, or existing design system.
|
|
43
|
+
- Read [references/design-brief.md](references/design-brief.md) during framing whenever the work changes a user-facing surface.
|
|
44
|
+
- Read [references/workflow-checkpoints.md](references/workflow-checkpoints.md) before planning; it selects Grill-Me vs Fast Confirm vs Direct Execution and defines hard phase exit gates.
|
|
45
|
+
- Read [references/surface-acceptance.md](references/surface-acceptance.md) before choosing platform-specific acceptance evidence.
|
|
46
|
+
- Read [references/floor.md](references/floor.md) before implementation and again before reporting; every rule is mandatory unless the user explicitly waives it.
|
|
47
|
+
- Read [references/report-template.md](references/report-template.md) before the final response or handoff.
|
|
48
|
+
|
|
49
|
+
## Frame before designing
|
|
50
|
+
|
|
51
|
+
Inspect available context first (repository, tokens, manifests, existing screens). Then select the planning mode in `pixelcraft-plan`:
|
|
52
|
+
- **Grill-Me / Deep Shaping:** greenfield products, vague briefs, major redesigns, or when the user asks to brainstorm/grill — walk unresolved branches **one question per turn** with 2–4 options leading with **(Recommended)**.
|
|
53
|
+
- **Fast Confirm:** clear feature with a few open direction/library choices.
|
|
54
|
+
- **Direct Execution:** narrow bug fix, copy edit, or already-approved design.
|
|
55
|
+
|
|
56
|
+
Classify the surface using evidence in the repository rather than assumptions:
|
|
57
|
+
|
|
58
|
+
| Mode | User success | Expression budget | Typical surfaces |
|
|
59
|
+
|---|---|---|---|
|
|
60
|
+
| Persuade | understand or choose an offering | highest | landing pages, campaigns, portfolios |
|
|
61
|
+
| Operate | complete a task efficiently | restrained, earned familiarity | dashboards, settings, forms, admin/product UI |
|
|
62
|
+
| Read | comprehend content | typography and measure first | docs, editorial, reports |
|
|
63
|
+
| Experience | inhabit a memorable artifact | high but controlled | exhibitions, interactive stories, launches |
|
|
64
|
+
| Play | play, explore, or compete | high within legibility/HUD constraints | games, toys, playful education |
|
|
65
|
+
| Communicate | receive a clear message across clients/locales | constrained by medium | email, notifications, documents |
|
|
66
|
+
|
|
67
|
+
Hybrid surfaces pick one primary mode per screen or region. Do not let a persuasive visual system leak into high-frequency operational UI.
|
|
68
|
+
|
|
69
|
+
## The Pixelcraft loop
|
|
70
|
+
|
|
71
|
+
0. **Plan** — use the `pixelcraft-plan` skill first. In brownfield work, map the repository systematically and write `.pixelcraft/plan.md`; in greenfield or ambiguous work, run Grill-Me / Discovery one question at a time, reject lazy tech-stack defaults, resolve purpose-built sub-stack libraries, justify stack selection with evidence, **initialize `.pixelcraft/acceptance.json` (`check-acceptance.mjs --init <platform> --out .pixelcraft/acceptance.json` in `pixelcraft-review`) with agreed numeric/device thresholds upfront**, and **lock in the Mandatory Completion Gate & Scan-Until-Clean Contract** inside `.pixelcraft/plan.md` before visual direction. If `pixelcraft-plan` is not installed, meet the Plan checkpoint inline and record missing evidence as `not-checked`.
|
|
72
|
+
1. **Frame** — detect stack/surface/input modality; identify audience, job-to-be-done, real material inventory, constraints, locale scope, and existing design system. Update the design brief using `references/design-brief.md`; classify facts as user-provided, repo-observed, artifact-observed, research/analytics, assumption, or unknown.
|
|
73
|
+
2. **Diverge** — only for undecided visual/IA scope. Use `pixelcraft-direction` (plus `pixelcraft-ux` for competing IA/workflow shapes) to generate 3–5 far-apart directions across IA, visual posture, and craft ambition, each with an ASCII structural skeleton and real-copy draft. Enforce the **Pre-Code Design Approval `<HARD-GATE>`**: present top contrasting options + `(Recommended)` pick and confirm before coding on greenfield/redesign scope unless the user explicitly asks to decide and build directly. Allow a feedback loop back to `pixelcraft-plan` if the winning concept requires upgrading the stack. For brand-kit/logo image generation, route through `pixelcraft-brandkit`.
|
|
74
|
+
3. **Specify** — produce the direction card (with ASCII skeleton + real-copy draft); use `pixelcraft-tokens` for DTCG 2025.10 tokens, `pixelcraft-handoff` for Figma/approved-design translation, `pixelcraft-ux` for flows + complete state matrix, `pixelcraft-patterns` for named product patterns (escalating complex widgets to vetted libraries), and `pixelcraft-dataviz` for quantitative dashboards, maps, or graphs.
|
|
75
|
+
4. **Build** — use the matching platform skill by name (`pixelcraft-web`, `pixelcraft-mobile`, `pixelcraft-data-apps`, `pixelcraft-desktop`, `pixelcraft-tui`, `pixelcraft-email`, `pixelcraft-document`, `pixelcraft-media`, `pixelcraft-chat-ui`, `pixelcraft-constrained`, `pixelcraft-spatial`, `pixelcraft-game-ui`, or `pixelcraft-extensions`). Translate idiomatically without importing web assumptions. Deliver complete in-scope behavior: zero `// TODO`, zero ellipsis truncation, zero empty handlers, zero unapproved mocks. Verify version-sensitive APIs against versioned official docs/registries and commit reproducible locks (never floating `@latest`).
|
|
76
|
+
5. **Verify (`Completion & Scan-Until-Clean <HARD-GATE>`)** — **never stop after Build.** Execute the planned verification contract in `pixelcraft-review` and `pixelcraft-visual-qa`: (a) walk every applicable row of `references/floor.md`, the active platform skill's `Pre-submit checklist`, and `pixelcraft-review`'s `polish.md`; (b) run `slop-scan.mjs <target> --fail-on p2`, applicable surface CLIs (`check-contrast.mjs`, `check-email.mjs`, `check-tui.mjs`, `check-pdf.mjs`), and strict active-language compiler/type/linter/test suites; (c) run rendered QA (`shoot.mjs`, simulator/device/CLI capture, and `finish-gate.mjs` where applicable); (d) update `.pixelcraft/acceptance.json` and run `check-acceptance.mjs .pixelcraft/acceptance.json` (enforcing **Evidence Rule #0.3** and 3-tier Studio grading). **If any deterministic scan, compiler/test check, checklist item, or acceptance row fails or remains `pending`, fix the root cause and re-run the scans until `0` `fail` and `0` `pending` rows remain before advancing to Report.**
|
|
77
|
+
6. **Report** — only after passing the Phase 5 `<HARD-GATE>`, report the 3-tier Studio verdict (`PASS_STUDIO_10K_20K` / `EXCEEDS_STUDIO`, or `PENDING_RENDERED_ENV` when external hardware is unavailable—never `FAIL`), decisions, executed scan commands + exit codes, checklist sign-off, verification evidence by label, unresolved risks, and waived items using `references/report-template.md`.
|
|
78
|
+
|
|
79
|
+
Deterministic scan, compiler/test, stub, state, and floor-checklist failures have **zero repair-round shortcut**: keep fixing and rescanning until clean (never suppress errors, delete essential content, or invent waivers). For rendered layout/pixel loops under `finish-gate.mjs`, use at most three documented rendered repair rounds before escalating a genuinely blocked visual conflict as `OPEN` alongside unchecked scope. A command with a suppressed failure is a probe, not evidence of a passing check.
|
|
80
|
+
|
|
81
|
+
## Scoped work and stopping
|
|
82
|
+
|
|
83
|
+
- Before editing, name the affected route/interaction, preserved behavior, and the smallest check that can disprove success. For narrow changes, reuse the current plan and approved direction; read only the relevant reference sections. New or materially changed flows still require the applicable finish gate.
|
|
84
|
+
- Reuse recorded repository and version evidence unless scope, inputs, or dependencies change. Run the affected check first; expand coverage for shared behavior or demonstrated risk.
|
|
85
|
+
- If the tool/time/context budget runs low, preserve revision, changed scope, evidence paths, unchecked checks, and the next discriminating command in the handoff. Never trade outcome evidence for a completion claim.
|
|
86
|
+
|
|
87
|
+
## Platform routing
|
|
88
|
+
|
|
89
|
+
After detecting the stack, use the matching platform skill by name and read only the relevant framework reference inside it:
|
|
90
|
+
|
|
91
|
+
| Platform skill | Framework and surface references |
|
|
92
|
+
|---|---|
|
|
93
|
+
| `pixelcraft-web` | Frameworks: `html-css`, `react-next`, `vue-nuxt`, `svelte`, `solid`, `angular`, `astro`, `qwik`, `preact-fresh-hono`, `htmx-alpine`, `lit-web-components`, `server-rendered`, `leptos-yew`, `kotlin-web`, `elm`, `clojurescript`, `fsharp-fable`, `scala-laminar`, `java-web`; Engineering: `tailwind`, `styling-ecosystem`, `component-systems`, `interaction-and-search-primitives`, `state-architecture`, `forms-validation`, `enterprise-data-ui`, `rich-text-and-code-editors`, `canvas-and-node-editors`, `local-first-sync`, `auth-and-checkout-ui`, `file-upload-media-ui`, `i18n-engineering`, `build-and-architecture`, `component-testing`, `adaptive-layout`, `pwa`; Motion/3D/Media: `gsap`, `motion-react`, `smooth-scroll`, `motion-recipes`, `rive-lottie`, `scene-architecture`, `r3f-integration`, `web-3d-engines`, `assets-pipeline`, `rendering-choice`, `rendering-performance`, `shader-workflow`, `creative-effects`, `creative-runtime`, `media-players`, `video-media`, `audio-reactive`, `accessibility-performance` |
|
|
94
|
+
| `pixelcraft-mobile` | `swiftui`, `uikit`, `jetpack-compose`, `flutter`, `react-native-expo`, `lynxjs`, `kotlin-multiplatform`, `nativescript-and-skip`, `harmonyos-and-emerging-mobile`, `ionic-capacitor`, `dotnet-maui`, `flet`, `kivy`, `tactile-interactions`, `task-state-composition` |
|
|
95
|
+
| `pixelcraft-data-apps` | `streamlit`, `gradio`, `reactive-data-apps`, `ai-and-internal-data-apps`, `reflex`, `nicegui`, `dash`, `panel`, `shiny`, `jupyter-widgets`, `r-shiny`, `julia-genie`, `observable-framework`, `evidence` |
|
|
96
|
+
| `pixelcraft-desktop` | `tauri`, `electron`, `qt-pyside-qml`, `winui-wpf`, `appkit`, `gtk`, `avalonia`, `rust-gui`, `javafx-swing`, `cpp-gui`, `go-gui`, `uno-platform`, `working-context` |
|
|
97
|
+
| `pixelcraft-tui` | `textual`, `rich`, `ink`, `bubbletea-lipgloss`, `ratatui`, `extended-tui-toolkits`, `terminal-protocols` |
|
|
98
|
+
| `pixelcraft-email` | `html-tables`, `mjml`, `react-email`, `maizzle`, `client-quirks` |
|
|
99
|
+
| `pixelcraft-document` | `print-css`, `pdf-tools`, `pdfjs-and-pptx`, `archetypes`, `slides` |
|
|
100
|
+
| `pixelcraft-media` | `social-cards`, `og-generation`, `banners-video` |
|
|
101
|
+
| `pixelcraft-chat-ui` | `slack-discord`, `mobile-business-platforms`, `conversation-design`, `agentic-workspace`, `ai-ui-libraries` |
|
|
102
|
+
| `pixelcraft-constrained` | `tv-wearables`, `specialized-hardware`, `voice-ui` |
|
|
103
|
+
| `pixelcraft-handoff` | `design-translation`, `fidelity-tolerance`, `motion-handoff` |
|
|
104
|
+
| `pixelcraft-spatial` | `platforms`, `comfort-accessibility` |
|
|
105
|
+
| `pixelcraft-game-ui` | `unity-ui-toolkit`, `unity-ugui`, `godot`, `unreal-umg`, `hud-principles`, `love2d`, `bevy`, `monogame`, `web-and-middleware-game-ui` |
|
|
106
|
+
| `pixelcraft-extensions` | `browser-extensions`, `vscode-webviews`, `raycast`, `figma-office`, `ide-and-saas-plugins` |
|
|
107
|
+
|
|
108
|
+
References are named here for routing only. Do not construct relative paths across skill folders; read the file inside the installed platform skill.
|
|
109
|
+
|
|
110
|
+
Use `pixelcraft-craft` for motion design intent; `pixelcraft-web` for browser implementation including GSAP/Motion, scroll controllers, Canvas/PixiJS, shaders, Three.js/R3F/Babylon/PlayCanvas/Threlte/TresJS/`<model-viewer>`/Theatre.js/Spline, WebGPU/TSL fallbacks, and browser audio/video players. `pixelcraft-spatial` remains responsible for embodied XR/VR/AR interaction; ordinary browser 3D scenes route through `pixelcraft-web`.
|
|
111
|
+
|
|
112
|
+
## Domain and brand routing
|
|
113
|
+
|
|
114
|
+
- **Dataviz:** Use `pixelcraft-dataviz` alongside the platform skill whenever the deliverable depends on charts, analytical tables, metrics dashboards, streaming visualization, node graphs, maps, or BI plugins.
|
|
115
|
+
- **Brand identity:** Use `pixelcraft-brandkit` alongside `pixelcraft-direction` for brand kits, identity boards, logo systems, moodboards, or visual-world boards, and `pixelcraft-tokens` to export DTCG tokens.
|
|
116
|
+
|
|
117
|
+
## Mandatory floor summary
|
|
118
|
+
|
|
119
|
+
The full floor in `references/floor.md` is normative. At minimum:
|
|
120
|
+
|
|
121
|
+
- truthfulness & completeness: no invented facts, metrics, logos, or testimonials; zero `// TODO`, zero ellipsis truncation, zero no-op handlers/commands/links, zero unapproved mock arrays posing as live data;
|
|
122
|
+
- accessibility: native semantic controls, persistent names/labels, visible & unobscured keyboard/focus path (`WCAG 2.4.11`), contrast floor, reduced-motion & reduced-transparency paths, text scaling/reflow, no color-only meaning, plus `EAA`/`EN 301 549` statement readiness where applicable;
|
|
123
|
+
- interaction & invisible craft: frequency-calibrated timing, origin-aware overlays, optical alignment, forgiving hit-slop, tabular numerals, cancellation/undo/escape, no conflicting gestures, complete states;
|
|
124
|
+
- adaptation: restructure across sizes, orientations, input modalities, and platform idioms;
|
|
125
|
+
- localization: `+30–40%` prose and `+50–100%` short-label expansion, logical directionality, `Unicode NFC` diacritic & font-glyph integrity, active `IME` `Enter`-commit safety, locale formatting;
|
|
126
|
+
- performance: instant orientation, stable layout, asset budgets, nonblocking interaction;
|
|
127
|
+
- robustness: zero/one/many/long/missing/error/offline/permission/interruption/concurrency/AI-streaming states;
|
|
128
|
+
- coherence: semantic tokens and consistent hierarchy, affordances, motion, iconography, and copy;
|
|
129
|
+
- distinctiveness: at least one deliberate subject-specific commitment when mode permits;
|
|
130
|
+
- engineering & handoff hygiene: strict compiler/type/analyzer checks for the active language, clean ecosystem dependency vulnerability audit alongside lockfiles, staging separated from production, `< 10m` clean-clone setup, isolated state previews where supported, zero client-exposed secrets, verified commercial font/icon/media licenses, owner-level account/key handoff, and 30–90 day defect-warranty triage handoff note;
|
|
131
|
+
- verifiability: no claim without an evidence label (`references/surface-acceptance.md` covers the 12-row Surface Matrix and 3-tier Studio verdict).
|
|
132
|
+
|
|
133
|
+
The floor never mandates a hero, card, palette, typeface, border radius, shadow, layout shape, or visual movement.
|
|
134
|
+
|
|
135
|
+
## Evidence labels
|
|
136
|
+
|
|
137
|
+
| Label | Meaning |
|
|
138
|
+
|---|---|
|
|
139
|
+
| `rendered` | inspected actual rendered output, screenshot, device, simulator, terminal buffer, or runtime profiler |
|
|
140
|
+
| `static` | inferred from source, schema, configuration, or deterministic static analysis |
|
|
141
|
+
| `model-judgment` | heuristic/model evaluation; useful hypothesis, not proof |
|
|
142
|
+
| `not-checked` | relevant but not inspected; state concrete environment reason and next command when material |
|
|
143
|
+
| `waived` | user/brief explicitly overrides the rule; record client sign-off, scope, and consequence |
|
|
144
|
+
|
|
145
|
+
**Golden Evidence Rule (`Rule #0.3`):** **`static` or `model-judgment` NEVER counts as `pass` / accepted for visual appearance, measured performance budgets, or interactive/assistive accessibility requirements.** Those rows require `rendered` evidence—or must be recorded honestly as `not-checked` (with concrete reason) or `waived` (with explicit user authorization, scope, and consequence).
|
|
146
|
+
|
|
147
|
+
## Pre-submit checklist
|
|
148
|
+
|
|
149
|
+
- [ ] planning mode selected honestly (`Grill-Me` / `Fast Confirm` / `Direct Execution`), repo inspected first, and `.pixelcraft/acceptance.json` initialized (`check-acceptance.mjs --init <platform>`) with agreed numeric/device thresholds;
|
|
150
|
+
- [ ] lazy stack defaults rejected and complex UI capabilities routed to native primitives or purpose-built libraries;
|
|
151
|
+
- [ ] pre-code Design Approval gate met for greenfield/redesign/undecided scope (or approved design preserved via `pixelcraft-handoff`);
|
|
152
|
+
- [ ] zero `// TODO`, zero ellipsis stubs, zero dead controls/handlers, zero unwired mobile navigation, zero client secrets, zero unapproved fake proof/mocks;
|
|
153
|
+
- [ ] mandatory floor (`A1–A8`: a11y, `<=100ms`/`>1s`/`>10s` latency ladder, states, adaptation, `+50–100%` short-label i18n & `IME`/`NFC` safety, invisible craft, tokens, strict language & dependency vulnerability checks, staging separation, license & 30–90d warranty handoff) applied natively;
|
|
154
|
+
- [ ] **Completion & Scan-Until-Clean `<HARD-GATE>` passed:** every applicable checklist (`floor.md`, active platform `Pre-submit checklist`, and `pixelcraft-review` `polish.md`) walked item-by-item, and `slop-scan.mjs --fail-on p2`, applicable `check-*` CLIs, compiler/type/linter/test suites, `finish-gate.mjs`, and `check-acceptance.mjs .pixelcraft/acceptance.json` re-run after fixes until `0` `fail`/`pending` rows remain (enforcing **Rule #0.3**);
|
|
155
|
+
- [ ] final response reports the 3-tier Studio verdict (`PASS_STUDIO_10K_20K` / `EXCEEDS_STUDIO` / `PENDING_RENDERED_ENV`, never `FAIL`), selected direction, executed scan commands + exit codes, 12-row Surface Matrix, `not-checked`/`waived` items, and open risks.
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
# Design brief contract
|
|
2
|
+
|
|
3
|
+
Use this reference before direction, handoff, or implementation whenever the work changes a user-facing surface. The brief is the alignment object: it records what must be true before taste, exploration, or framework choice begins. Keep it short enough that a later agent can read it in one pass.
|
|
4
|
+
|
|
5
|
+
## Required brief artifact
|
|
6
|
+
|
|
7
|
+
Write or update `.pixelcraft/brief.md` when the project directory is writable. If it is not writable, include the same fields in the working plan/report.
|
|
8
|
+
|
|
9
|
+
```markdown
|
|
10
|
+
# Design brief
|
|
11
|
+
|
|
12
|
+
## Outcome
|
|
13
|
+
- User/business outcome:
|
|
14
|
+
- Primary task and success signal:
|
|
15
|
+
- Failure cost if the task fails:
|
|
16
|
+
- Frequency/criticality:
|
|
17
|
+
|
|
18
|
+
## Audience and context
|
|
19
|
+
- Actors/personas backed by evidence:
|
|
20
|
+
- Expertise, accessibility, locale/language, input modality:
|
|
21
|
+
- Environment/device/network constraints:
|
|
22
|
+
|
|
23
|
+
## Evidence
|
|
24
|
+
| Fact or requirement | Class | Source/scope |
|
|
25
|
+
|---|---|---|
|
|
26
|
+
| | user-provided / repo-observed / artifact-observed / research/analytics / assumption / unknown | |
|
|
27
|
+
|
|
28
|
+
## Constraints and authority
|
|
29
|
+
- Explicit user decisions:
|
|
30
|
+
- Existing project authority:
|
|
31
|
+
- Platform/legal/accessibility constraints:
|
|
32
|
+
- Performance/privacy/security constraints:
|
|
33
|
+
- Approval owner and approval state:
|
|
34
|
+
|
|
35
|
+
## Material inventory
|
|
36
|
+
- Real copy/data/media/assets available:
|
|
37
|
+
- Missing material that must not be invented:
|
|
38
|
+
- Content tone/language constraints:
|
|
39
|
+
|
|
40
|
+
## Boundaries
|
|
41
|
+
- Non-goals:
|
|
42
|
+
- Explicit anti-goals/taboo patterns:
|
|
43
|
+
- Approved visual scope vs undecided scope:
|
|
44
|
+
- Deadline/cost/implementation budget:
|
|
45
|
+
|
|
46
|
+
## Validation plan
|
|
47
|
+
- Success measurement:
|
|
48
|
+
- Required states/breakpoints/locales:
|
|
49
|
+
- Rendered/device evidence required:
|
|
50
|
+
- What may be marked `not-checked` and why:
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Field rules
|
|
54
|
+
|
|
55
|
+
1. **Outcome before appearance.** “Increase activation by improving first-run completion” is actionable; “make it modern” is not.
|
|
56
|
+
2. **Evidence class is mandatory.** Do not blend user facts, repository facts, visual-source observations, research/analytics evidence, assumptions, and unknowns into one undifferentiated list.
|
|
57
|
+
3. **Approval ownership names a role/person when known.** “Team” or “everyone” is not an approval owner.
|
|
58
|
+
4. **Missing material is a constraint.** Record absent copy, data, imagery, legal text, logo assets, and customer evidence so the agent does not fabricate them.
|
|
59
|
+
5. **Anti-goals must be behavioral.** “No dashboard clone” is weak; “do not use a three-card feature row as the main structure” is checkable.
|
|
60
|
+
6. **Validation is part of the brief.** A visual goal without a measurement/rendering plan is incomplete.
|
|
61
|
+
7. **Update rather than fork.** When scope changes, preserve the old decision, record who/what changed it, and keep the waiver history.
|
|
62
|
+
|
|
63
|
+
## Minimum viable brief
|
|
64
|
+
|
|
65
|
+
For a small task, do not skip the brief; compress it. Record at least: primary task, audience, evidence class for key facts, hard constraints, approved-vs-undecided visual scope, non-goals, missing material, validation plan, and unresolved questions.
|
|
66
|
+
|
|
67
|
+
## Escalation triggers
|
|
68
|
+
|
|
69
|
+
Ask or stop when any missing fact changes the outcome materially:
|
|
70
|
+
|
|
71
|
+
- the target user or primary task is unknown;
|
|
72
|
+
- legal/safety/destructive behavior is implied but not specified;
|
|
73
|
+
- visual direction is claimed to be approved but no artifact/scope/version exists;
|
|
74
|
+
- success means a metric but no baseline or measurement source exists;
|
|
75
|
+
- required real content/data/assets are absent and cannot be truthfully represented.
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# Mandatory cross-platform floor
|
|
2
|
+
|
|
3
|
+
Evidence base: WCAG 2.2, platform target-size guidance, response-time principles, and cross-platform hardening practice.
|
|
4
|
+
|
|
5
|
+
The floor is non-negotiable unless the user explicitly waives a scoped item. It constrains quality, not appearance.
|
|
6
|
+
|
|
7
|
+
## 1. Truthfulness & completeness (`A7`)
|
|
8
|
+
|
|
9
|
+
- Do not invent facts, testimonials, usage counts, customer logos, case studies, screenshots, measurements, certifications, or image content.
|
|
10
|
+
- Missing material must be omitted, requested, or visibly marked as a *user-requested* placeholder (never a silent agent-invented filler).
|
|
11
|
+
- Never use stock-looking fake proof to fill a layout. Empty space is better than false evidence.
|
|
12
|
+
- Generated imagery must match the brief and must not accidentally include illegible pseudo-text unless intentionally abstract.
|
|
13
|
+
- Deliver the complete in-scope behavior, never a stub or half-wired shell:
|
|
14
|
+
- zero `// TODO`, `// FIXME`, or unimplemented comments standing in for requested UI or logic;
|
|
15
|
+
- zero ellipsis code truncation (`// ... rest`, `/* ... */`, omitted branches);
|
|
16
|
+
- zero empty or no-op handlers (empty action closures, unbound commands, no-op callbacks, dead placeholder links, or decorative buttons that do nothing);
|
|
17
|
+
- zero unwired mobile navigation (e.g. a hamburger toggle that never opens, traps focus, or omits desktop routes);
|
|
18
|
+
- zero unapproved 3-item hardcoded mock arrays masquerading as live or persisted data.
|
|
19
|
+
- User-requested placeholders, explicit test fixtures, and intentional UI display truncation are not defects; visibly label any requested demo/fixture data and never present it as live production truth.
|
|
20
|
+
|
|
21
|
+
## 2. Accessibility (`A4`)
|
|
22
|
+
|
|
23
|
+
- Use real interactive semantics before adding roles or keyboard handlers.
|
|
24
|
+
- Every control needs an accessible name; every input needs a persistent visible label or platform-equivalent labeling behavior.
|
|
25
|
+
- Keyboard/touch/controller/remote paths must complete the primary task. Focus is visible, logical, and never obscured by sticky UI.
|
|
26
|
+
- Meet the applicable contrast floor. For WCAG 2.2 AA web work: normal text 4.5:1, large text 3:1, non-text UI 3:1 unless exempt.
|
|
27
|
+
- Respect reduced-motion settings and provide a non-motion way to perceive state changes.
|
|
28
|
+
- Text scaling must not clip, overlap, or truncate essential content. Test dynamic type/sp scaling or platform equivalent where available.
|
|
29
|
+
- Do not encode meaning by color alone; pair color with text, shape, icon, position, or pattern.
|
|
30
|
+
- Dragging requires a single-pointer alternative. Authentication must not require a cognitive memory test or block paste/password managers.
|
|
31
|
+
|
|
32
|
+
## 3. Interaction & state matrix (`A3`)
|
|
33
|
+
|
|
34
|
+
- Enforce the explicit **response-latency ladder**: **`<= 100 ms`** immediate visual/tactile response for direct manipulation; **`> 1 s`** visible progress indicator so the user knows the system is working; **`> 10 s`** explicit **cancellable action** (plus percent/step progress or background continuation where supported).
|
|
35
|
+
- Targets obey platform units: web floor 24×24 CSS px for WCAG 2.2 AA unless an exception applies; iOS baseline 44×44 pt; Android/Material baseline 48×48 dp.
|
|
36
|
+
- Every asynchronous action exposes loading, success, failure, cancellation/retry, and duplicate-submission behavior.
|
|
37
|
+
- Destructive actions use confirmation or undo proportionate to consequence.
|
|
38
|
+
- Escape/cancel/back behavior is consistent with the platform and never traps the user.
|
|
39
|
+
- Gesture conflicts, edge swipes, nested scrolling, hover-only affordances, and focus loss are checked explicitly.
|
|
40
|
+
|
|
41
|
+
## 4. Adaptation and responsiveness (`M1–M4`)
|
|
42
|
+
|
|
43
|
+
- Restructure rather than stretch. Reflow across narrow/wide, portrait/landscape, window resizing, split screen, text scaling, and input modality.
|
|
44
|
+
- Plan and verify the primary task for each supported layout/input class; preserve task access, content meaning, input and focus as the presentation changes. A different mobile and desktop composition is allowed; a mobile task cut just to fit is not.
|
|
45
|
+
- No unintentional clipping, overlap, horizontal scrolling, unreachable controls, or hidden primary actions.
|
|
46
|
+
- Respect safe areas, system bars, on-screen keyboards, display cutouts, system chrome, and minimum practical viewport/window sizes.
|
|
47
|
+
- Use platform navigation idioms instead of transplanting UI patterns across operating systems.
|
|
48
|
+
|
|
49
|
+
## 5. Localization and internationalization (`A5`)
|
|
50
|
+
|
|
51
|
+
- Split text-expansion budgets by element class: budget **`+30–40%`** for prose and multi-sentence paragraphs, and **`+50–100%`** for short buttons, tabs, chips, column headers, and badges (where compact English words like `"Save"` or `"Views"` double in German, Vietnamese, or Finnish); test CJK horizontal contraction alongside vertical line-height and line-count growth.
|
|
52
|
+
- Enforce **IME composition safety**: pressing `Enter` or `Escape` during active input-method composition (Vietnamese Telex/VNI, Japanese Kana-to-Kanji, Korean Hangul, Chinese Pinyin) commits or cancels candidate text and never prematurely submits forms, search bars, chat composers, or inline edits.
|
|
53
|
+
- Enforce **combining and precomposed diacritic integrity**: normalize and test `Unicode NFC` strings and verify full font glyph coverage (including Vietnamese horn/circumflex/breve + stacked tone marks such as `ư, ơ, ệ, ử, ẫ` and target scripts) so custom fonts never drop marks, clip ascenders, or fall back mid-word to mismatched system glyphs.
|
|
54
|
+
- Use logical direction (`inline-start`, trailing/leading) rather than physical left/right assumptions in directional layout.
|
|
55
|
+
- Support RTL mirroring where directionality is semantic; do not mirror numerals, clocks, playback direction, or culturally asymmetric symbols blindly.
|
|
56
|
+
- Use locale-aware plural, gender/case, date, time, number, currency, calendar, sorting, input method, and name formatting. Do not concatenate translated fragments.
|
|
57
|
+
- Treat color symbolism, gestures, imagery, formality, humor, reading order, and trust cues as localizable design decisions, not translation afterthoughts.
|
|
58
|
+
|
|
59
|
+
## 6. Performance and resilience (`A6`)
|
|
60
|
+
|
|
61
|
+
- Honor the **`<= 100 ms` direct-manipulation / `> 1 s` progress indicator / `> 10 s` cancellable action** latency ladder under real runtime load, keeping layout stable while assets load (reserve dimensions or geometry-matched skeleton structure without fake content).
|
|
62
|
+
- Prioritize the primary content/action. Defer decorative media and heavy effects.
|
|
63
|
+
- Cover zero, one, many, very long, missing, malformed, offline, permission-denied, interrupted, concurrent, slow, and error states.
|
|
64
|
+
- Preserve user input after validation/server failures. Error text identifies the problem and recovery path.
|
|
65
|
+
- Avoid blocking interaction during animation or network activity unless the operation truly is modal.
|
|
66
|
+
|
|
67
|
+
## 7. Coherence, tokens, and distinctiveness (`A1–A2`)
|
|
68
|
+
|
|
69
|
+
- Use semantic tokens for color, spacing, type, elevation, motion, and state rather than raw one-off values.
|
|
70
|
+
- Establish hierarchy through scale, weight, spacing, position, and contrast—not decoration everywhere.
|
|
71
|
+
- Keep affordance consistent: things that look interactive must be interactive; identical actions use identical language and behavior.
|
|
72
|
+
- Iconography has one metaphor system, stroke/fill logic, optical size, and meaning inventory.
|
|
73
|
+
- Copy uses consistent action vocabulary, active voice, and user-centered naming.
|
|
74
|
+
- When mode permits, make at least one deliberate subject-specific commitment (composition, material, imagery, motion behavior, typography, or interaction detail) and check repetition history so “distinctive” does not collapse into a repeating template.
|
|
75
|
+
|
|
76
|
+
## 8. Engineering, security, and commercial handoff (`A8`)
|
|
77
|
+
|
|
78
|
+
- Zero dead interactive controls: every visible button, menu item, command, shortcut, toggle, or link executes wired behavior across supported input paths (never a no-op callback, unbound command, or placeholder target).
|
|
79
|
+
- Strict compiler, type, analyzer, and linter checks pass cleanly for the active language and toolchain without blanket rule suppressions.
|
|
80
|
+
- **Clean dependency vulnerability audit & reproducible `< 10 minute` setup**: committed lockfiles/toolchain pins pass the active ecosystem's dependency vulnerability audit (`0` unaddressed critical/high advisories), paired with a documented configuration template and single-command bootstrap + verification path.
|
|
81
|
+
- **Staging isolated from production**: staging/preview environments use separate credentials, databases, storage buckets, and payment/messaging sandboxes so QA never mutates live customer state.
|
|
82
|
+
- Isolated component or screen state previews exist where the target stack supports them, covering non-happy-path states.
|
|
83
|
+
- Zero hardcoded secrets, private API keys, signing credentials, or privileged tokens in client-visible source, bundles, binaries, or debug output.
|
|
84
|
+
- Verified commercial licenses for all shipped fonts, icon sets, imagery, 3D/audio media, and restricted packages, paired with clean owner-level transfer boundaries (domains, store accounts, analytics/error DSNs, signing keys, billing) and an explicit **30–90 day defect-warranty / severity-triage handoff note** for commercial deliveries.
|
|
85
|
+
|
|
86
|
+
## 9. Verifiability & Golden Evidence Rule (`Rule #0.3`)
|
|
87
|
+
|
|
88
|
+
- Every compliance claim carries `rendered`, `static`, `model-judgment`, `not-checked`, or `waived` plus method/scope.
|
|
89
|
+
- **Golden Evidence Rule (`Rule #0.3`):** **`static` or `model-judgment` NEVER counts as `pass` / accepted for visual appearance, measured performance budgets, or interactive/assistive accessibility requirements.** Those rows require `rendered` evidence—or must be recorded honestly as `not-checked` (with concrete environment reason) or `waived` (with explicit user authorization, scope, and consequence).
|
|
90
|
+
- A successful build, static AST check, or uninspected process launch is never evidence that visual, performance, or assistive UX quality passed.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Evidence-labeled report template
|
|
2
|
+
|
|
3
|
+
Use this structure for substantial UI creation or review. Compress it for tiny changes, but never omit unverified floor risks or violate Evidence Rule #0.3.
|
|
4
|
+
|
|
5
|
+
```markdown
|
|
6
|
+
## Pixelcraft report
|
|
7
|
+
|
|
8
|
+
**Final Studio verdict:** `PASS_STUDIO_10K_20K` | `EXCEEDS_STUDIO` | `PENDING_RENDERED_ENV` *(never submit on `FAIL`)*
|
|
9
|
+
**Direction selected:** <name> — <one-sentence rationale>.
|
|
10
|
+
**Rejected directions:** <names> — <why each lost, terse>.
|
|
11
|
+
**Surface/mode:** <stack/render surface/input modality>; <Persuade/Operate/Read/Experience/Play/Communicate>.
|
|
12
|
+
|
|
13
|
+
### Implemented & deliverable artifacts
|
|
14
|
+
- <user-visible change, files/surface affected, and required deliverable capture/profiler/proof paths>
|
|
15
|
+
|
|
16
|
+
### Executed scans & checklist gate (`Scan-Until-Clean`)
|
|
17
|
+
| Gate / Scanner / Checklist | Command or checklist walked | Repair rounds | Final result |
|
|
18
|
+
|---|---|---|---|
|
|
19
|
+
| Slop & floor static scan | `node .../slop-scan.mjs <target> --fail-on p2` | <0..N> | `exit 0` (score <N>, 0 P0–P2) |
|
|
20
|
+
| Surface / token / build / audit checks | `<check-contrast / check-email / check-tui / check-pdf / compiler / dep-audit / tests>` | <0..N> | `exit 0` / `<not-checked reason>` |
|
|
21
|
+
| Checklist walk | `floor.md` (`A1–A8`) + `pixelcraft-<platform>` Pre-submit + `polish.md` (`B1–B6`) | <0..N> | `<all applicable rows passed>` |
|
|
22
|
+
| Rendered finish gate | `node .../finish-gate.mjs <evidence.json>` | <0..3> | `PASS` / `OPEN` / `not-checked` |
|
|
23
|
+
| Studio acceptance manifest | `node .../check-acceptance.mjs .pixelcraft/acceptance.json` | <0..N> | `PASS_STUDIO_10K_20K` / `EXCEEDS_STUDIO` / `PENDING_RENDERED_ENV` (`0` fail/pending) |
|
|
24
|
+
|
|
25
|
+
### 12-row surface acceptance & floor verification
|
|
26
|
+
| Claim / Universal row | Evidence label | Method/scope | Result |
|
|
27
|
+
|---|---|---|---|
|
|
28
|
+
| 1. Responsive/adaptive layout | rendered/not-checked/waived | <viewports, orientation, split-pane> | <pass/not-checked/waived> |
|
|
29
|
+
| 2–5. Navigation, Input/IME, Focus, States | rendered/not-checked/waived | <task path, IME, interruption, state captures> | <pass/not-checked/waived> |
|
|
30
|
+
| 6–8. A11y/SR, Text scale/i18n, Performance | rendered/not-checked/waived | <assistive tool, 200% scale/locale, profiler budget> | <pass/not-checked/waived> |
|
|
31
|
+
| 9–12. Safe geometry, Captures, Privacy, Idiom | rendered/static/not-checked/waived | <safe areas, deliverables, audit/licenses/warranty> | <pass/not-checked/waived> |
|
|
32
|
+
|
|
33
|
+
### Not checked / waived
|
|
34
|
+
- `<label>` <item> — concrete reason, user sign-off (if `waived`), consequence, and next command.
|
|
35
|
+
|
|
36
|
+
### Open risks
|
|
37
|
+
- <risk, affected user/context, suggested next check>
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Rules
|
|
41
|
+
|
|
42
|
+
- Use only the five canonical labels: `rendered`, `static`, `model-judgment`, `not-checked`, `waived`.
|
|
43
|
+
- **Golden Evidence Rule (`Rule #0.3`):** **`static` or `model-judgment` NEVER counts as `pass` / accepted for visual appearance, measured performance budgets, or interactive/assistive accessibility requirements.** Those rows require `rendered` evidence—or must be recorded honestly as `not-checked` (with concrete reason) or `waived` (with explicit user sign-off, scope, and consequence).
|
|
44
|
+
- **3-Tier Final Grading Rubric:**
|
|
45
|
+
- `FAIL (Not Accepted)` (`FAIL`, exit `1`): any Baseline `A1–A8`, 12-row Surface Matrix, or platform threshold/checklist item is `fail`/`pending`, or violates `Rule #0.3`. **Keep fixing and re-verifying; never claim completion.**
|
|
46
|
+
- `PASS (Studio $10k–$20k Bar)` (`PASS_STUDIO_10K_20K`, exit `0`; or `PENDING_RENDERED_ENV` exit `2` when external physical hardware/store runtime is genuinely unavailable): all applicable rows pass on target environments (`rendered` where required) and any `not-checked`/`waived` row is explicitly justified.
|
|
47
|
+
- `EXCEEDS` (`EXCEEDS_STUDIO`, exit `0`): adds real-user research/usability testing, A/B experimentation, deep multi-locale validation, or high-scale systems integration.
|
|
48
|
+
- State scope: viewport/device/window, orientation, locale/script/direction, input modality, theme/contrast/motion setting, and dataset size when relevant.
|
|
49
|
+
- Never hide a material unknown in prose. Put it in “Not checked / waived.”
|