@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,134 @@
|
|
|
1
|
+
# `.pixelcraft/plan.md` template
|
|
2
|
+
|
|
3
|
+
```markdown
|
|
4
|
+
# Pixelcraft plan
|
|
5
|
+
|
|
6
|
+
## Mode and scope
|
|
7
|
+
- Planning mode: brownfield / greenfield / hybrid
|
|
8
|
+
- Task route: new project / extend existing product / edit or fix / redesign or rebuild / behavior-preserving refactor
|
|
9
|
+
- Task:
|
|
10
|
+
- Date/agent:
|
|
11
|
+
- Prior plan change/waiver:
|
|
12
|
+
|
|
13
|
+
## Evidence base
|
|
14
|
+
- Repository areas inspected:
|
|
15
|
+
- Not inspected / uncertainty:
|
|
16
|
+
- Requirement sources:
|
|
17
|
+
- Design brief path/status:
|
|
18
|
+
|
|
19
|
+
| Fact/requirement | Class (`user-provided` / `repo-observed` / `artifact-observed` / `research/analytics` / `assumption` / `unknown`) | Evidence scope/path | Consequence if wrong |
|
|
20
|
+
|---|---|---|---|
|
|
21
|
+
| | | | |
|
|
22
|
+
|
|
23
|
+
## Discovery status
|
|
24
|
+
- Adaptive discovery mode: Grill-Me / Deep Shaping | Fast Confirm | Direct Execution
|
|
25
|
+
- Trigger or reason deep discovery was unnecessary:
|
|
26
|
+
- Business KPIs & 1–2 primary CTAs:
|
|
27
|
+
- 5-second hierarchy goal (what first-time viewers grasp & where they act):
|
|
28
|
+
- Content & CMS ownership (source of truth, post-launch editor workflow, localization ownership):
|
|
29
|
+
- Target regulatory & store regime (App Store, Google Play, Chrome `MV3`, EU `EAA` / `EN 301 549`, Steam Deck/Console `TRC`, Print `PDF/X-4`, Bulk Email `RFC 8058`, or N/A):
|
|
30
|
+
- Anti-goals & hate-list (rejected competitor tropes / visual or UX patterns):
|
|
31
|
+
- Material decisions resolved (user-selected / recommendation accepted / repository-constrained):
|
|
32
|
+
- Assumptions and their consequences:
|
|
33
|
+
- Unresolved decisions, owner, and next check:
|
|
34
|
+
- Approval boundary/status (including Design Approval `<HARD-GATE>` status):
|
|
35
|
+
|
|
36
|
+
## Stack decision
|
|
37
|
+
- Chosen stack:
|
|
38
|
+
- Platform skill: `pixelcraft-…`
|
|
39
|
+
- Framework reference: `references/…` inside that skill
|
|
40
|
+
- Runner-up:
|
|
41
|
+
- Why runner-up lost:
|
|
42
|
+
- Rejected lazy default(s) & rationale (see `references/stack-selection.md`):
|
|
43
|
+
- Hard constraints/gates:
|
|
44
|
+
- Reversal conditions:
|
|
45
|
+
- Confidence:
|
|
46
|
+
- Runtime, package manager, and lockfile:
|
|
47
|
+
- Update ownership and opt-in dependency automation:
|
|
48
|
+
- Creative Direction → Plan feedback loop updates (if a winning direction upgraded the renderer/runtime):
|
|
49
|
+
|
|
50
|
+
### Sub-Stack Capability → Purpose-Built Library Gate
|
|
51
|
+
List every complex UI capability in scope (rich text, code editor, node graph, map, >500-row table, command palette, drawer/sheet, toast, carousel, search UI, drag-and-drop, date/calendar picker, media player, PDF, charts, complex forms). Do not hand-roll DIY substitutes.
|
|
52
|
+
|
|
53
|
+
| Capability in scope | Chosen library / native primitive | Rejected lazy default / DIY substitute | A11y / license / version note |
|
|
54
|
+
|---|---|---|---|
|
|
55
|
+
| | | | |
|
|
56
|
+
|
|
57
|
+
| Package/runtime + resolved version | Version-sensitive API or compatibility question | Version source and matching API docs (date) | Compatibility / verification command + outcome | Evidence (`static` / `not-checked`) |
|
|
58
|
+
|---|---|---|---|---|
|
|
59
|
+
| | | | | |
|
|
60
|
+
|
|
61
|
+
- Record an assumption and its impact when a source could not be verified. Add a row before introducing a new version-sensitive API later in the task.
|
|
62
|
+
|
|
63
|
+
## Design input intake
|
|
64
|
+
- Artifact inventory/classification (specification vs inspiration):
|
|
65
|
+
- Provenance/version/approval state:
|
|
66
|
+
- Breakpoints/modes/locales/input represented:
|
|
67
|
+
- Completeness matrix (`specified` / `partial` / `missing` / `not applicable`):
|
|
68
|
+
- Explicit assumptions and contradictions:
|
|
69
|
+
- Handoff needed? yes / no / partial and scope:
|
|
70
|
+
- Visual-fidelity evidence required:
|
|
71
|
+
|
|
72
|
+
## Repository/system map
|
|
73
|
+
- Language/framework inventory:
|
|
74
|
+
- Entry points:
|
|
75
|
+
- Routing/screens:
|
|
76
|
+
- Existing design system/tokens/theme:
|
|
77
|
+
- Component library/styling approach:
|
|
78
|
+
- State management/data ownership:
|
|
79
|
+
- Content/CMS & asset licensing pipeline:
|
|
80
|
+
- i18n/localization (`IME` & `Unicode NFC` scope):
|
|
81
|
+
- CI/test/visual tooling:
|
|
82
|
+
- Packaging/store/regulatory constraints:
|
|
83
|
+
|
|
84
|
+
## Surfaces and modes
|
|
85
|
+
| Surface/screen | Mode | Input modality | Notes |
|
|
86
|
+
|---|---|---|---|
|
|
87
|
+
|
|
88
|
+
## UX work required
|
|
89
|
+
- Flows to design:
|
|
90
|
+
- State matrices required:
|
|
91
|
+
- Accessibility/legal floor specifics (including sticky-chrome focus & `EAA` statement if applicable):
|
|
92
|
+
- Localization scope (`+30–40%` prose / `+50–100%` short-label expansion, `IME`, RTL):
|
|
93
|
+
|
|
94
|
+
## Adaptive UI by device or window class
|
|
95
|
+
| Class, sample size/aspect, input | Navigation, density, controls and reach | Task/data/state to preserve | Runtime, acceptance check, evidence/status |
|
|
96
|
+
|---|---|---|---|
|
|
97
|
+
| | | | |
|
|
98
|
+
|
|
99
|
+
For responsive web, consider small and large phone portrait, phone landscape, tablet portrait and landscape, foldable or split pane, laptop, desktop, ultrawide and short-height. Record applicable cases or a product-specific reason for exclusion; tool unavailability is `not-checked`. Choose sizes at content/layout transitions, not from user-agent names. For other resizable surfaces use the corresponding platform geometry and inputs.
|
|
100
|
+
|
|
101
|
+
## Design-system authority
|
|
102
|
+
- Existing authoritative decisions:
|
|
103
|
+
- Partial/inconsistent/missing areas:
|
|
104
|
+
- Token export/handoff needs:
|
|
105
|
+
|
|
106
|
+
## Mandatory completion gate & scan-until-clean contract (Definition of Done `<HARD-GATE>`)
|
|
107
|
+
Implementation MUST NOT stop or claim completion until every applicable row below is executed, repaired, and re-verified clean (`exit 0` on all deterministic scans and build checks, `0` `fail`/`pending` rows in `.pixelcraft/acceptance.json`, and **Rule #0.3** satisfied):
|
|
108
|
+
|
|
109
|
+
- Acceptance manifest initialized: `node <path>/check-acceptance.mjs --init <platform> --out .pixelcraft/acceptance.json`
|
|
110
|
+
- Agreed numeric & device thresholds (startup/LCP/INP/CLS/frame-rate, payload/install size, target viewports/devices/clients):
|
|
111
|
+
- Available verification runtimes here: rendered / static / device / browser / simulator / snapshot / CI
|
|
112
|
+
- Genuinely unavailable here (`not-checked` + exact missing binary/device reason):
|
|
113
|
+
|
|
114
|
+
| Gate | Exact command or checklist to execute | Required pass condition before stopping | Final status (`exit 0` / `PASS` / `not-checked`) |
|
|
115
|
+
|---|---|---|---|
|
|
116
|
+
| Slop & floor static scan | `node <path>/slop-scan.mjs <target> --fail-on p2` | `exit 0` (`0` `P0`/`P1`/`P2` findings; `scan → fix → rescan` until clean) | |
|
|
117
|
+
| Surface / token scanners | `<check-contrast.mjs / check-email.mjs / check-tui.mjs / check-pdf.mjs / export-tokens.mjs>` | `exit 0` across all applicable modes/targets (`scan → fix → rescan` until clean) | |
|
|
118
|
+
| Active-language compiler, linter, dep audit & tests | `<strict compiler / typecheck / analyzer / linter / dep-audit / test command>` | `exit 0` with zero newly introduced errors, unpatched advisories, or blanket suppressions | |
|
|
119
|
+
| Mandatory checklists walked item-by-item | `pixelcraft` `floor.md` (`A1–A8`) + `pixelcraft-<platform>` `Pre-submit checklist` + `pixelcraft-review` `polish.md` (`B1–B6`) | 100% of applicable items verified in code/render (fix & re-check any failing row) | |
|
|
120
|
+
| Rendered task QA & finish gate | `<shoot.mjs / simulator / CLI capture + finish-gate.mjs evidence.json>` | `PASS` (up to 3 rendered repair rounds before escalating blocked visual conflict as `OPEN`) | |
|
|
121
|
+
| Studio acceptance manifest (`Rule #0.3`) | `node <path>/check-acceptance.mjs .pixelcraft/acceptance.json` | `0` `fail`/`pending` rows; `rendered` on visual/perf/interactive-a11y; verdict `PASS_STUDIO_10K_20K` / `EXCEEDS_STUDIO` (or `PENDING_RENDERED_ENV` exit `2` if external hardware absent) | |
|
|
122
|
+
|
|
123
|
+
## Existing behavior and replacement boundaries
|
|
124
|
+
| Contract (entry point, flow, content, data, accessibility/localization, etc.) | Inspected source and current evidence | Preserve or authorized change | Baseline and regression check |
|
|
125
|
+
|---|---|---|---|
|
|
126
|
+
| | | | |
|
|
127
|
+
|
|
128
|
+
## Risks and open questions
|
|
129
|
+
- Risks:
|
|
130
|
+
- Questions that materially affect implementation:
|
|
131
|
+
- Explicit waivers:
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
Rules: write facts before recommendations; link key evidence paths; keep the file concise enough for later agents to read; update rather than silently discard prior decisions.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Brownfield repository discovery
|
|
2
|
+
|
|
3
|
+
Read broadly before narrowing. Exclude generated/vendor/build output only after identifying it. Record evidence as `path → meaning`; do not turn absence of evidence into evidence of absence.
|
|
4
|
+
|
|
5
|
+
## Inventory checklist
|
|
6
|
+
|
|
7
|
+
| Area | Inspect |
|
|
8
|
+
|---|---|
|
|
9
|
+
| Repository shape | root files, workspace/package manifests, modules/apps, ownership, generated code, vendor dirs |
|
|
10
|
+
| Language/framework inventory | manifests, lockfiles, compilers, framework imports/config, version constraints |
|
|
11
|
+
| Entry points | main files, app shells, server routes, process entrypoints, window creation, notebook/app startup |
|
|
12
|
+
| Routing/screens | file-system routes, routers/controllers, navigation graph, deep links, scene/window management |
|
|
13
|
+
| Existing design system | DTCG/tokens JSON, CSS variables, Tailwind config/theme, ThemeData, resource dictionaries, asset catalogs, Qt/Godot/UMG themes |
|
|
14
|
+
| Component library | shared components/widgets, wrappers, UI kits, vendored dependencies, ownership and maturity |
|
|
15
|
+
| Styling approach | global CSS, CSS modules, utility classes, inline styles, styled system, native resources, QSS/XAML/theme objects |
|
|
16
|
+
| State management | stores, reactive streams, server state, session ownership, caching, persistence, concurrency model |
|
|
17
|
+
| i18n/localization | locale catalogs, ICU framework, RTL support, font assets/fallback, date/number libraries, translation workflow |
|
|
18
|
+
| Test/visual tooling | unit/component/e2e/golden/snapshot/screenshot/axe tests, fixtures, device matrix, visual CI |
|
|
19
|
+
| CI/release | workflows, required checks, versioning, packaging/signing/notarization/store/release constraints |
|
|
20
|
+
| Constraints | offline/network, performance/hardware, accessibility/legal/privacy/security, platform/store/certification, backend/protocol, deadlines |
|
|
21
|
+
|
|
22
|
+
## High-signal files by ecosystem
|
|
23
|
+
|
|
24
|
+
| Ecosystem / Surface | Signals |
|
|
25
|
+
|---|---|
|
|
26
|
+
| TS/JS web, AI & data | `package.json`, `package-lock.json`, `pnpm-lock.yaml`, `yarn.lock`, `bun.lock`, `deno.json`, `next.config.*`, `vite.config.*`, `react-router.config.*`, `nuxt.config.*`, `svelte.config.*`, `angular.json`, `astro.config.*`, `lynx.config.*`, `tailwind.config.*`, CSS-first Tailwind v4 (`@import "tailwindcss"` / `@theme` in CSS), `components.json`, `terrazzo.config.*`, `style-dictionary.config.*`, AI UI SDKs (`@ai-sdk/*`, `@assistant-ui/*`, `@copilotkit/*`), router directories, `observablehq.config.*`, `evidence.config.yaml`, `theme.yaml`, `pages/`, `sources/` |
|
|
27
|
+
| Rust web/GUI/TUI/game | `Cargo.toml`, `Cargo.lock`, `Leptos.toml`, `Trunk.toml`, `Dioxus.toml`; deps `leptos`, `yew`, `egui`, `slint`, `iced`, `dioxus`, `gpui`, `ratatui`, `bevy` |
|
|
28
|
+
| Kotlin | `build.gradle(.kts)`, `settings.gradle*`, Compose/Android/KMP plugins, Kobweb deps/config |
|
|
29
|
+
| Swift/Apple | `Package.swift`, `*.xcodeproj`, Xcode workspace, asset catalogs, entitlements, `Info.plist` |
|
|
30
|
+
| Dart/Flutter | `pubspec.yaml`, `pubspec.lock`, `analysis_options.yaml`, platform folders, golden tests |
|
|
31
|
+
| .NET | `*.csproj`, `*.fsproj`, `*.sln`, `packages.lock.json`, `App.xaml`, MAUI/WinUI/WPF/Avalonia/Uno/Blazor/Spectre.Console/Terminal.Gui references |
|
|
32
|
+
| Java/JVM | `pom.xml`, `build.gradle*`, JavaFX/Vaadin/Spring dependencies, FXML, templates |
|
|
33
|
+
| Python | `pyproject.toml`, `uv.lock`, `requirements*.txt`, `marimo`, `solara`, `mesop`, `taipy`, `chainlit`, `anywidget`, `prompt_toolkit`, `streamlit`, `gradio`, `reflex`, `nicegui`, `dash`, `panel`, `shiny`, `textual`, `rich`, notebooks |
|
|
34
|
+
| Go | `go.mod`, `go.sum`, templ files, Bubble Tea/Lip Gloss/Fyne/Wails/Gio deps |
|
|
35
|
+
| PHP/Ruby/Elixir | `composer.json`/Laravel, `Gemfile`/Rails, `mix.exs`/Phoenix templates/components |
|
|
36
|
+
| Scala/Clojure/Elm | `build.sbt`, `deps.edn`, `shadow-cljs.edn`, `elm.json` |
|
|
37
|
+
| R/Julia/Lua/Zig/C++ | `DESCRIPTION`, `app.R`, `Project.toml`, `main.lua`+`conf.lua`, `build.zig`, `CMakeLists.txt` |
|
|
38
|
+
| Email | `maizzle.config.*`, `*.mjml`, `@react-email/*` templates, plain-text/multipart renderers |
|
|
39
|
+
| Game | Unity `ProjectSettings`, Godot `project.godot`, Unreal `*.uproject`, Bevy `Cargo.toml`, MonoGame `*.csproj`, LÖVE2D `conf.lua` |
|
|
40
|
+
| Document / print / slides | `*.typ` (Typst), `@page` print CSS, WeasyPrint/Paged.js/Playwright PDF scripts, Gotenberg config, `slides.md` (Slidev/Marp), `pptxgenjs` / `pdfjs-dist` deps |
|
|
41
|
+
| Media / social / video | Satori / `@vercel/og` / Takumi OG route handlers, `remotion.config.*`, Motion Canvas `vite.config.*` + `src/scenes/`, FFmpeg render pipelines, SVG banner templates |
|
|
42
|
+
| Chat / bot / mini-apps | Slack Bolt / Block Kit JSON, Discord.js / Interaction builders, Telegram Mini App / `grammy` / `python-telegram-bot`, WhatsApp Flows JSON, Microsoft Teams Adaptive Cards, LINE LIFF |
|
|
43
|
+
| Extensions / plugins | `manifest.json` (MV3), `wxt.config.*`, `plasmo` config, VS Code `contributes.views` / `webview` in `package.json`, JetBrains `plugin.xml`, Raycast `package.json` (`@raycast/api`), Obsidian `manifest.json`, Figma `manifest.json`, Shopify `shopify.extension.toml`, Atlassian Forge `manifest.yml` |
|
|
44
|
+
| Spatial / XR | visionOS `RealityKit` / `ImmersiveSpace` scenes, Android XR Compose `Subspace`, Horizon OS / OpenXR manifests, WebXR (`navigator.xr`), Unity XR Interaction Toolkit (`com.unity.xr.interaction.toolkit`) |
|
|
45
|
+
| Constrained / TV / hardware | tvOS/Android TV leanback manifests, watchOS/Wear OS targets, LVGL `lv_conf.h`, Slint embedded targets, e-ink refresh drivers, kiosk shell/systemd configs, Alexa/Google/SSML voice schemas |
|
|
46
|
+
|
|
47
|
+
## Repo map output
|
|
48
|
+
|
|
49
|
+
Write concise evidence-backed sections: overview; execution surfaces; routing/screens; design-system authority; state/data ownership; localization; verification tooling; constraints/risks; exact recommended `pixelcraft-*` skill/reference path; unread or uncertain areas. Link facts to paths, not line-perfect guesses.
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
# Stack freshness and repeatable installs
|
|
2
|
+
|
|
3
|
+
## Choose and verify
|
|
4
|
+
|
|
5
|
+
- **Brownfield:** Read the manifest, lockfile, runtime pins and deployment configuration. Consult docs for the installed version or major; do not introduce a dependency, change package managers, or upgrade an unrelated stack by default. For an authorized upgrade, check the migration guide, target runtime, peer dependencies, integrations, build/tests and an affected UI task.
|
|
6
|
+
- **Greenfield:** Choose a supported stable release or LTS that fits deployment, dependency peers and the brief. Treat registry `latest` as a lookup, not a compatibility or support guarantee. For npm, check `npm view <package> dist-tags --json` and `npm view <package>@<version> engines peerDependencies --json`, then confirm the API and config in the provider's versioned official docs and release notes. Use the corresponding official registry for other ecosystems.
|
|
7
|
+
- **Evidence:** Record package/runtime and resolved versions, source URL or command, date, why compatible, and verification command in `.pixelcraft/plan.md`. If a source is unavailable, use repository evidence where available and label any unverified choice `assumption` / `not-checked`; do not guess the latest release.
|
|
8
|
+
- **Context7 is optional.** If available and allowed, resolve the exact library and request docs for the target version and API. Cross-check gaps, stale indexes and new releases against official docs and registry. Do not send secrets or proprietary source in lookup queries. Do not require installation, credentials, or network access to use Pixelcraft.
|
|
9
|
+
- **Reproducibility:** Resolve dependencies at intentional setup or upgrade time; commit lockfiles and declare the supported runtime/package-manager version. Use frozen installs in CI/deploy; never invoke floating `@latest` in automation. Semver ranges in manifests are acceptable when the lockfile controls the build. Keep tool and test versions reproducible and review lockfile changes.
|
|
10
|
+
|
|
11
|
+
Before choosing or changing dependencies or implementing a version-sensitive API, establish the exact package/runtime version from the project or registry, then check the API in official docs for that version. A release tag alone is not API evidence. If a documentation MCP is available, query the exact library/API/version and verify mismatches against its official sources; if the MCP is unavailable or rate-limited, go directly to official docs and the registry. If no verified source is available, record the assumption and the affected API as `not-checked`; prefer an established project API or defer an incompatible/irreversible change. Do not call an assumed selection current. Reuse matching evidence from the task plan while the version, API and compatibility constraints are unchanged.
|
|
12
|
+
|
|
13
|
+
## Registry lookups and frozen installs by ecosystem
|
|
14
|
+
|
|
15
|
+
| Ecosystem | Registry version lookup | Frozen / locked CI install |
|
|
16
|
+
|---|---|---|
|
|
17
|
+
| JS/TS (npm / pnpm / yarn / bun) | `npm view <pkg> dist-tags --json` and `npm view <pkg>@<ver> engines peerDependencies --json` | `npm ci`, `pnpm install --frozen-lockfile`, `yarn install --immutable`, `bun install --frozen-lockfile` |
|
|
18
|
+
| Python (pip / uv) | `pip index versions <pkg>` or `uv pip compile --dry-run` (against `pyproject.toml`) | `uv sync --frozen` or `pip install --require-hashes -r requirements.lock` |
|
|
19
|
+
| Rust (Cargo) | `cargo info <crate>` (Cargo ≥ 1.82) | `cargo build --locked` / `cargo test --locked` |
|
|
20
|
+
| Go | `go list -m -versions <module>` | `go mod download` + `go build -mod=readonly` + `go mod verify` |
|
|
21
|
+
| Dart / Flutter | `dart pub outdated` / `flutter pub outdated` | `dart pub get --enforce-lockfile` / `flutter pub get --enforce-lockfile` |
|
|
22
|
+
| .NET (NuGet) | `dotnet package search <pkg> --exact-match` | `dotnet restore --locked-mode` |
|
|
23
|
+
| Ruby (Bundler) | `gem info <gem> --remote` | `bundle install --frozen` |
|
|
24
|
+
| PHP (Composer) | `composer show --all <vendor/pkg>` | `composer install --no-interaction --prefer-dist` (with committed `composer.lock`) |
|
|
25
|
+
|
|
26
|
+
## Opt-in updates and supply-chain cooldown
|
|
27
|
+
|
|
28
|
+
Offer an update bot for maintained applications with manifests and passing build/test coverage, not for design-only output or disposable prototypes. Do not enable outside repository policy or install both bots for the same dependency. Group routine updates, apply a release cooldown (for example 3–7 days) to reduce supply-chain compromise exposure on non-security updates, review majors separately against official migration notes, and verify build/tests plus a representative UI smoke flow. Keep auto-merge off by default.
|
|
29
|
+
|
|
30
|
+
**Dependabot** is the simplest choice for a GitHub repository. Adapt the example to the actual package ecosystem and lockfile directory; enable Dependabot alerts/security updates separately per repo policy (security updates bypass cooldown):
|
|
31
|
+
|
|
32
|
+
```yaml
|
|
33
|
+
# .github/dependabot.yml
|
|
34
|
+
version: 2
|
|
35
|
+
updates:
|
|
36
|
+
- package-ecosystem: npm
|
|
37
|
+
directory: /
|
|
38
|
+
schedule:
|
|
39
|
+
interval: weekly
|
|
40
|
+
cooldown:
|
|
41
|
+
default-days: 7
|
|
42
|
+
semver-patch-days: 3
|
|
43
|
+
groups:
|
|
44
|
+
routine:
|
|
45
|
+
patterns: ["*"]
|
|
46
|
+
update-types: [minor, patch]
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
**Renovate** is an alternative for multi-ecosystem workspaces or projects needing package rules, a dependency dashboard, and lockfile maintenance. Use the organization's approved app/runner and preset; configure `minimumReleaseAge` so newly published packages mature before automated PRs open:
|
|
50
|
+
|
|
51
|
+
```json
|
|
52
|
+
{
|
|
53
|
+
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
|
|
54
|
+
"extends": ["config:recommended"],
|
|
55
|
+
"dependencyDashboard": true,
|
|
56
|
+
"schedule": ["* 0-3 * * 1"],
|
|
57
|
+
"minimumReleaseAge": "7 days",
|
|
58
|
+
"automerge": false,
|
|
59
|
+
"lockFileMaintenance": { "enabled": true },
|
|
60
|
+
"packageRules": [
|
|
61
|
+
{
|
|
62
|
+
"matchUpdateTypes": ["minor", "patch"],
|
|
63
|
+
"groupName": "routine dependency updates"
|
|
64
|
+
}
|
|
65
|
+
]
|
|
66
|
+
}
|
|
67
|
+
```
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
# Greenfield stack selection
|
|
2
|
+
|
|
3
|
+
Never pick a stack by habit—and **never avoid React, Vue, or Angular artificially** just to look minimal or "anti-default." Generate candidates from the requirement shape, ecosystem dependencies, and the team's actual language/operations constraints. Do not over-correct toward lightweight stacks (such as Svelte, Astro, Solid, or plain HTML/htmx) when the product genuinely depends on deep specialized ecosystems (rich-text/code/node editors, whiteboards, AI-native UI libraries, enterprise data grids, or broad team hiring/longevity) where React (Next.js, TanStack Start, React Router v7), Vue/Nuxt, or Angular is the stronger engineering fit.
|
|
4
|
+
|
|
5
|
+
## Required intake
|
|
6
|
+
|
|
7
|
+
Target platforms and input modalities; audience/locales/accessibility/legal duties; team languages and maintenance capacity; offline/network behavior; performance/startup/battery/hardware limits; distribution/update/store model; backend/protocol/contracts; design ambition/custom rendering needs; test/release maturity; budget/timeline; hard exclusions. Missing hard facts are risks, not permission to assume.
|
|
8
|
+
|
|
9
|
+
## Weighted decision matrix
|
|
10
|
+
|
|
11
|
+
| Criterion | Weight | Candidate A | Candidate B | Candidate C |
|
|
12
|
+
|---|---:|---:|---:|---:|
|
|
13
|
+
| Platform/input fit | 1–5 | score/evidence | | |
|
|
14
|
+
| Team/language fit | 1–5 | | | |
|
|
15
|
+
| Accessibility maturity | 1–5 | | | |
|
|
16
|
+
| Performance/resource fit | 1–5 | | | |
|
|
17
|
+
| Distribution/operations | 1–5 | | | |
|
|
18
|
+
| UX/expressiveness needs | 1–5 | | | |
|
|
19
|
+
| Ecosystem/hiring/longevity | 1–5 | | | |
|
|
20
|
+
| Verification tooling | 1–5 | | | |
|
|
21
|
+
| Time/budget risk | 1–5 | | | |
|
|
22
|
+
|
|
23
|
+
Use hard gates before weights: unsupported target platform, missing legal/accessibility requirement, impossible offline/distribution constraint, or team inability to maintain. Score 1–5 with evidence and confidence; do not manufacture false precision. Include at least three candidates when feasible. Report winner, runner-up, why runner-up lost, and reversal conditions.
|
|
24
|
+
|
|
25
|
+
## Use-case shortlists
|
|
26
|
+
|
|
27
|
+
| Use case | Candidates to compare | Notes |
|
|
28
|
+
|---|---|---|
|
|
29
|
+
| Web application | TypeScript React (Next.js, TanStack Start, React Router v7) / Vue (Nuxt 4) / Angular (Signals) / Svelte (SvelteKit) / Solid / Qwik; htmx/Alpine; Lit (Web Components); Rust Leptos/Yew; Kotlin Kobweb/Compose Web; Elm; ClojureScript Reagent/re-frame; F# Fable; Scala Laminar; Java Vaadin; server-rendered Rails/Laravel/Django/Phoenix/Blazor/Go templ | Match framework weight to ecosystem needs: pick React/Vue/Angular when rich component/editor/AI/grid ecosystems or multi-team hiring dominate; pick htmx/Alpine, Lit, SvelteKit, Solid, or server-rendered when compact runtime, standard Web Components, or low ceremony dominate; WASM/canvas approaches need accessibility/bundle scrutiny |
|
|
30
|
+
| Content site | Astro, plain HTML/CSS, static generators, server-rendered CMS/framework, lightweight islands | Justify any SPA-like choice; rendering performance/reader mode matter |
|
|
31
|
+
| AI-native / Agentic UI | Vercel AI SDK (`@ai-sdk/*`), assistant-ui, CopilotKit / AG-UI, Chainlit, MCP Apps | Evaluate streaming transport, tool-call/approval state lifecycles, generative UI sandboxing, provenance/citations, and fallback when models fail or stream slowly |
|
|
32
|
+
| Mobile | SwiftUI/UIKit, Kotlin Compose, Flutter, React Native/Expo, LynxJS, Kotlin Multiplatform, NativeScript, Skip, Ionic/Capacitor, .NET MAUI, Uno | Platform fidelity vs shared code; store/accessibility/input behavior decide |
|
|
33
|
+
| Cross-platform app | Flutter, React Native, LynxJS, Kotlin Multiplatform/Compose Multiplatform, .NET MAUI, Uno, Tauri v2/Electron for desktop-centric use | “Write once” does not erase platform conventions |
|
|
34
|
+
| Desktop | SwiftUI macOS, AppKit, Tauri v2, Electron, Electrobun, Flutter Desktop, Compose Multiplatform Desktop, Qt C++/PySide/QML, WinUI/WPF, GTK, Avalonia, Uno, JavaFX/Swing, Rust egui/Slint/iced/Dioxus/GPUI, Go Fyne/Wails/Gio | Native integration, memory/startup, accessibility, signing, menus/windowing matter |
|
|
35
|
+
| Internal tool/data app | marimo, Solara, Mesop, Taipy, Streamlit, Gradio, Reflex, NiceGUI, Dash, Panel, Shiny for Python/R, Jupyter widgets/anywidget, Genie (Julia), Observable Framework, Evidence, CRUD server-rendered frameworks | Choose speed/clarity/reproducibility, but inspect session/concurrency/security/freshness limits |
|
|
36
|
+
| CLI/TUI | Textual/Rich/prompt_toolkit (Python), Ink (Node), Bubble Tea/Lip Gloss (Go), Ratatui (Rust), Spectre.Console/Terminal.Gui (.NET), language-native CLI libraries | Character grid, keyboard behavior, terminal capability fallback, snapshot tests |
|
|
37
|
+
| Documents & Slides | Typst, WeasyPrint, Paged.js, Playwright PDF, Gotenberg, PDF.js, PptxGenJS, Slidev, Marp | Separate print pagination, PDF/UA tagging, font embedding, and deterministic raster output from browser layout habits |
|
|
38
|
+
| Media / Video | Satori, Takumi, Remotion, Motion Canvas, FFmpeg | Match deterministic frame/image generation, font loading, safe zones, and headless render throughput |
|
|
39
|
+
| Chat / Bot / Mini-Apps | Slack Block Kit, Discord Components/Modals, Telegram Mini Apps/Bot API, WhatsApp Flows, Adaptive Cards (Teams), LINE LIFF | Host payload/schema caps, interaction ack deadlines, and privacy/fallback rules govern UI design |
|
|
40
|
+
| Extensions / Plugins | WXT / Plasmo (browser MV3), VS Code Webviews/TreeViews, JetBrains Platform, Raycast, Obsidian, Figma Plugins, Shopify UI Extensions / Atlassian Forge | Host CSP, theme tokens, Shadow DOM isolation, and marketplace review rules are hard gates |
|
|
41
|
+
| Spatial / XR | visionOS (SwiftUI/RealityKit), Android XR (Compose XR), Horizon OS / Quest, WebXR, Unity XRI | Embodied comfort, depth/ergonomics, gaze/hand/controller input, and privacy boundaries come first |
|
|
42
|
+
| Game UI | Unity, Godot, Unreal, Bevy (Rust), MonoGame (C#), LÖVE2D (Lua), custom engine | Engine/gameplay architecture comes first; UI accessibility/certification constraints follow |
|
|
43
|
+
| Email | HTML tables, MJML, React Email, Maizzle | Client fragmentation dominates framework preference; plaintext parity mandatory |
|
|
44
|
+
| Embedded/kiosk | Qt/QML, Slint, LVGL/custom native, webview/Tauri/Electron only when resources permit, Flutter embedded where supported | Hardware/input/power/update/security constraints are hard gates |
|
|
45
|
+
|
|
46
|
+
## Lazy-Default Rejection Table
|
|
47
|
+
|
|
48
|
+
Never accept a low-craft or mismatched default merely because it is fast to scaffold. Reject these lazy defaults unless the user explicitly requires them (record an explicit waiver if kept):
|
|
49
|
+
|
|
50
|
+
| Surface | Lazy default to reject | Upgrade / craft-bar replacements | When the default is acceptable (requires explicit reason) |
|
|
51
|
+
|---|---|---|---|
|
|
52
|
+
| **Python desktop** | Tkinter / `ttk` for greenfield desktop products | PySide6 / Qt Quick (QML), Flet, NiceGUI (native mode), Tauri v2 + Python sidecar, or Textual (when terminal-native fits better) | Zero-dependency internal stdlib utility where installing any wheel is prohibited |
|
|
53
|
+
| **Desktop** | Unjustified Electron / heavy WebView wrapper | Tauri v2, SwiftUI / AppKit (macOS), WinUI 3 (Windows), GTK4 / libadwaita (Linux), Avalonia, Slint, or GPUI | Complex Chromium-dependent runtime (e.g., rich extension host, existing web studio) where memory/bundle cost is explicitly budgeted |
|
|
54
|
+
| **Data apps** | Streamlit for multi-user apps, reactive DAG notebooks, or production BI | marimo (reactive DAG), Shiny (Python/R), Panel, Dash, Reflex, NiceGUI, Observable Framework, or Evidence | Throwaway single-analyst script explicitly scoped as a disposable prototype |
|
|
55
|
+
| **CLI / TUI** | Bare `print()` loops, raw ANSI escape spaghetti, or unbuffered `input()` prompts | Ratatui (Rust), Bubble Tea v2 + Lip Gloss v2 (Go), Textual / Rich (Python), Ink (Node), `@clack/prompts` / `prompt_toolkit` | Non-interactive script piping plain line-oriented stdout/JSON (`NO_COLOR`, machine consumption) |
|
|
56
|
+
| **Mobile** | Lazy WebView / Cordova / Kivy wrapper for native consumer apps | SwiftUI (iOS), Jetpack Compose (Android), Flutter, or React Native (New Architecture / Expo) | Thin enterprise intranet wrapper explicitly constrained to an existing web portal |
|
|
57
|
+
| **Document / PDF** | `window.print()` or raster HTML screenshots masquerading as publication PDFs | Typst, WeasyPrint, Quarto, or React-PDF (plus Paged.js / Gotenberg where web-to-print CSS is required) | Ephemeral ad-hoc browser print stylesheet where print pagination/PDF-UA is out of scope |
|
|
58
|
+
| **Email** | Raw Flexbox / CSS Grid HTML (breaks Outlook Word engine & Gmail) | MJML, React Email, or Maizzle (compiling to hybrid table layouts + plaintext parity) | Never for production multi-client transactional/marketing email |
|
|
59
|
+
| **Web UI** | Hand-rolling fragile DIY modals, rich/code editors, charts, large tables, search facets, toasts, drawers, or carousels | Purpose-built accessible libraries below (via the active surface skill) | Trivial single-purpose micro-interaction with full native semantics (`<dialog>`, `<details>`, native `<input>`) |
|
|
60
|
+
|
|
61
|
+
## Sub-Stack Capability → Purpose-Built Library Gate
|
|
62
|
+
|
|
63
|
+
Before entering **Phase 3 (Specify)** or **Phase 4 (Build)**, map every complex UI capability in scope to a vetted, accessible, purpose-built library (or native platform primitive). **Hand-rolling these from scratch is a defect** unless a hard constraint forbids dependencies (record the constraint explicitly):
|
|
64
|
+
|
|
65
|
+
| Capability in scope | Web / JS purpose-built picks (match framework) | Non-web / native equivalents | Never hand-roll |
|
|
66
|
+
|---|---|---|---|
|
|
67
|
+
| **Rich text editor** | TipTap / ProseMirror, Lexical, Plate, BlockNote | AppKit/UIKit `TextKit 2`, Qt `QTextEdit`, Flutter Quill | `contenteditable` div + `execCommand` |
|
|
68
|
+
| **Code editor** | CodeMirror 6, Monaco Editor, Shiki (read-only highlight) | Qt `QPlainTextEdit` + syntax lexer, Zed GPUI / Textual `TextArea` | `<textarea>` overlaid on a regex-colored `<pre>` |
|
|
69
|
+
| **Node graph / canvas flow** | React Flow (`@xyflow/react`), Svelte Flow (`@xyflow/svelte`), Rete.js, Cytoscape.js | Qt Graphics View, egui/Slint custom scene graph | Raw SVG `<line>` dragging with manual zoom math |
|
|
70
|
+
| **Map / geospatial** | MapLibre GL JS, Leaflet, Deck.gl, PMTiles | MapKit (Apple), Google Maps Compose, MapLibre Native | Static image with hardcoded pixel pins |
|
|
71
|
+
| **>500-row / dense table** | TanStack Table + TanStack Virtual, AG Grid, Glide Data Grid | Qt `QTableView` + model, `NSTableView`/`LazyVStack`, Ratatui/Textual `DataTable` | Unvirtualized `<table>` mapping thousands of DOM nodes |
|
|
72
|
+
| **Command palette (`Cmd+K`)** | `cmdk`, KBar, Ninja Keys, Base UI / Ariakit combobox | macOS Spotlight-style `NSPanel`, Raycast API, Textual `CommandPalette` | Custom `keydown` window listener + un-trapped `<div>` |
|
|
73
|
+
| **Drawer / bottom sheet** | Vaul, Radix / Base UI / Ark UI / Headless UI Dialog, native `<dialog>` | SwiftUI `.sheet`, Compose `ModalBottomSheet`, Flutter `showModalBottomSheet` | `position: fixed` div with no focus trap, inert backdrop, or Escape/swipe close |
|
|
74
|
+
| **Toast / status queue** | Sonner, Radix Toast, Ariakit / Ark UI Toast | Android `Snackbar`, Flutter `SnackBar`, desktop native notification API | Stacked `setTimeout` divs missing `aria-live` & pause-on-hover/focus |
|
|
75
|
+
| **Carousel / media strip** | Embla Carousel, Swiper, native CSS Scroll Snap + real controls | SwiftUI `TabView`/scrollTargetBehavior, Compose `HorizontalPager`, Flutter `PageView` | Manual `translateX` slider breaking touch/trackpad/keyboard |
|
|
76
|
+
| **Search & faceting UI** | InstantSearch / Meilisearch / Orama / MiniSearch + URL-synced filter state | Platform search controllers (`UISearchController`, Compose `SearchBar`) | Client-side `.includes()` filter losing state on refresh |
|
|
77
|
+
| **Drag-and-drop** | `@dnd-kit`, Pragmatic Drag and Drop (Atlassian), SortableJS (with WCAG 2.5.7 button/keyboard move) | SwiftUI `.draggable`/transferable, Compose drag modifiers, Qt Drag & Drop | Mouse-only `mousedown`/`mousemove` with no keyboard/single-pointer move |
|
|
78
|
+
| **Date / calendar picker** | React Aria DatePicker, DayPicker, FullCalendar, Schedule-X, native `<input type="date">` (when simple) | SwiftUI `DatePicker`, Compose Material 3 `DatePicker`, Qt `QCalendarWidget` | Hand-rolled month math ignoring timezones, DST, locales, and arrow-key nav |
|
|
79
|
+
| **Media player (audio/video)** | Vidstack, Media Chrome, Plyr, Wavesurfer.js (audio waveform) | AVPlayerViewController, ExoPlayer/Media3, Flutter `video_player` | Uncaptioned `<video>` with custom non-keyboard buttons |
|
|
80
|
+
| **PDF view / generation** | PDF.js (view), Typst / WeasyPrint / React-PDF / Quarto / Gotenberg (generate) | PDFKit (Apple), Android `PdfRenderer`, Qt PDF | `window.print()` screenshots or unsearchable canvas-only dumps |
|
|
81
|
+
| **Charts / dataviz** | ECharts, Vega-Lite, Observable Plot, Visx, Recharts, Highcharts, uPlot, Plotly | Swift Charts, Vico (Compose), fl_chart, PyQtGraph, Matplotlib/Altair | Hand-coded inline SVG `<path>` charts with no axes, tooltips, or accessible table fallback |
|
|
82
|
+
| **Complex forms & validation** | React Hook Form / TanStack Form / Conform / Superforms + Zod / Valibot / ArkType | SwiftUI Form + typed validation, Flutter Form / Reactive Forms, Pydantic | Ad-hoc `useState` per field losing values on error and skipping `aria-invalid`/`aria-describedby` |
|
|
83
|
+
|
|
84
|
+
## Creative rendering
|
|
85
|
+
|
|
86
|
+
For expressive browser work, compare the lightest sufficient option before introducing a renderer: CSS-native View Transitions, Scroll-Driven Animations, Anchor Positioning, and Popover API; DOM/CSS/SVG; Rive or Lottie for authored vector/state-machine motion; Canvas 2D; Motion for React or GSAP; `<model-viewer>` for lightweight embedded 3D; PixiJS/WebGL; Three.js/R3F, Threlte (Svelte), TresJS (Vue), Babylon.js, PlayCanvas, or Spline; and WebGPU as an optional capability path with fallback. Use `pixelcraft-web` for compatibility, asset, lifecycle, accessibility, and performance gates.
|
|
87
|
+
|
|
88
|
+
## Creative Direction → Plan Feedback Loop
|
|
89
|
+
|
|
90
|
+
Planning runs first, but **stack selection is not a cage against a superior approved concept**. If `pixelcraft-direction` proposes a winning direction that genuinely requires a different runtime, renderer, or capability library—for example, interactive state-machine motion (Rive), shader/WebGPU canvas, publication-grade pagination (Typst/WeasyPrint), or a native desktop shell (Tauri v2 / SwiftUI / PySide6)—reopen `.pixelcraft/plan.md` cleanly before Build:
|
|
91
|
+
|
|
92
|
+
1. Record the triggering creative direction and why the earlier stack cannot execute it honestly.
|
|
93
|
+
2. Verify versions, licensing, bundle/performance cost, and accessibility/fallback gates for the added runtime or library.
|
|
94
|
+
3. Update the stack decision and Sub-Stack Capability table in `.pixelcraft/plan.md`, preserving prior decisions and why they changed.
|
|
95
|
+
|
|
96
|
+
## Decision quality bar
|
|
97
|
+
|
|
98
|
+
A valid recommendation explains why this stack fits the user and team, not why it is popular. It names tradeoffs, rejected lazy defaults, purpose-built sub-stack libraries, verification plan, migration/reversal cost, and what would make the runner-up win.
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: pixelcraft-review
|
|
3
|
+
description: Audits, critiques, and polishes UI with evidence-backed findings. Use for UX/design review, heuristic evaluation, accessibility/state/floor audits, implementation polish, slop detection, pre-handoff inspection, redesign critique, persona walkthroughs, or verification reporting. Produces severity-ranked findings with file:line or screenshot evidence, confidence, concrete fixes, distinctiveness/repetition analysis, and honest not-checked labels.
|
|
4
|
+
license: MIT
|
|
5
|
+
metadata:
|
|
6
|
+
version: 0.1.0
|
|
7
|
+
---
|
|
8
|
+
|
|
9
|
+
# Pixelcraft review
|
|
10
|
+
|
|
11
|
+
Review is evidence work, not taste commentary. Never say “looks good” or “accessible” without naming scope and method.
|
|
12
|
+
|
|
13
|
+
Treat detector hits as leads. Confirm task, content, contrast, clipping and focus defects in the actual state. Decorative gradient text, repeated accent rails, familiar fonts/palettes, card stacks, emoji and eyebrow labels require brief or design-system context, not blanket bans. Compare failing and passing examples before adding a rule. For an approved brand exception use the scanner's `--waivers FILE` with a JSON array of `{rule,file,line,reason}` entries (paths relative to the scan root). Keep unused waivers visible and remove stale ones; the scanner only accepts selected aesthetic IDs, not accessibility/task failures.
|
|
14
|
+
|
|
15
|
+
For a substantial review, first critique the brief and captures without detector scores, then audit rendered evidence and scanner hits; combine them by user impact. Limit regression claims to the changed scope or verify against the prior baseline; don't hide pre-existing failures or reset baselines to get a pass.
|
|
16
|
+
|
|
17
|
+
## References
|
|
18
|
+
|
|
19
|
+
- Read [references/heuristics.md](references/heuristics.md) when translating Nielsen's 10 heuristics into concrete checks.
|
|
20
|
+
- Read [references/personas.md](references/personas.md) for structured persona walkthroughs. Treat personas as hypothesis generators.
|
|
21
|
+
- Read [references/polish.md](references/polish.md) for the **Comprehensive Studio-Grade Polish & Delivery Gate**: 5-second hierarchy, Invisible Craft (`B1–B6`), non-happy-path/`404`/`500`/`IME`/`+50–100%` short-label resilience, and stack-neutral engineering & license handoff.
|
|
22
|
+
- Read [references/critique-protocol.md](references/critique-protocol.md) before structured critique/design decision review.
|
|
23
|
+
- Read [references/audit-report.md](references/audit-report.md) before writing an audit report.
|
|
24
|
+
- Run `node scripts/slop-scan.mjs --help` for deterministic fingerprint scanning (use `--fail-on P0|P1|P2|P3` to fail review/CI gates on severity threshold, and `--waivers FILE` only for approved brand rules). The scanner is evidence input, not a judge of good design.
|
|
25
|
+
- Run `node scripts/check-acceptance.mjs --help` to initialize (`--init <platform> --out .pixelcraft/acceptance.json`) and verify (`node scripts/check-acceptance.mjs .pixelcraft/acceptance.json [--json]`) the Baseline `A1–A8` + 12-row Surface Matrix + platform thresholds/checklist/deliverables manifest, enforcing **Evidence Rule #0.3** (`static`/`model-judgment` rejected on visual/perf/interactive-a11y rows) and computing the 3-tier Studio verdict (`FAIL` exit `1`, `PENDING_RENDERED_ENV` exit `2`, `PASS_STUDIO_10K_20K` / `EXCEEDS_STUDIO` exit `0`).
|
|
26
|
+
|
|
27
|
+
## Modes
|
|
28
|
+
|
|
29
|
+
| Mode | Use | Output |
|
|
30
|
+
|---|---|---|
|
|
31
|
+
| audit | verify floor/state/a11y/copy/engineering/handoff against criteria | severity-ranked findings + Studio-Grade Gate + 3-tier verdict + unverified scope |
|
|
32
|
+
| critique | evaluate direction, 5-second hierarchy, distinctiveness, coherence | strengths, risks, alternatives, decision recommendation |
|
|
33
|
+
| polish | harden an accepted implementation to the Studio-Grade bar (`references/polish.md`) without changing direction | concrete fixes across `B1–B6` micro-craft, states, `IME`/i18n, and release hygiene |
|
|
34
|
+
|
|
35
|
+
Do not silently redesign during polish. Do not treat an audit as complete when only static code was inspected (**Evidence Rule #0.3**).
|
|
36
|
+
|
|
37
|
+
## Adversarial Defect-Hunt Iron Law & Rationalization Table
|
|
38
|
+
|
|
39
|
+
**IRON LAW:** Assume defects exist until proven otherwise. Actively hunt unfinished stubs (`// TODO`, ellipsis truncation), dead controls (no-op callbacks, unbound commands, placeholder links), unwired mobile navigation, unguarded `IME` `Enter` submits, missing `404`/`500`/offline/error recovery, lazy DIY substitutes (hand-rolled modals/editors/charts/tables/toasts/drawers/carousels), lazy platform defaults (Tkinter/raw-Flexbox email/`window.print()` PDFs), client-exposed secrets, unverified font/media licenses, and unapproved 3-item hardcoded mock arrays masquerading as live data.
|
|
40
|
+
|
|
41
|
+
| Reviewer rationalization | Reality & required action |
|
|
42
|
+
|---|---|
|
|
43
|
+
| "`slop-scan.mjs` returned 0 findings, so the UI is clean." | Zero static hits proves only absence of scanned regexes. Inspect rendered captures, interactive flows, `B1–B6` micro-craft, keyboard focus, and architectural DIY slop (`references/heuristics.md`, `references/polish.md`). |
|
|
44
|
+
| "Code looks right, so I'll mark visual/perf/a11y rows `pass` with `static` or `model-judgment`." | **Forbidden (`Rule #0.3`).** `static` and `model-judgment` never count as `pass` for visual appearance, measured performance, or interactive/assistive accessibility—supply `rendered` evidence or mark `not-checked`/`waived` honestly. |
|
|
45
|
+
| "The desktop layout looks polished, so mobile is probably fine." | Unwired hamburger toggles, clipped drawers, sticky-chrome focus occlusion (`2.4.11`), and hidden primary actions hide in narrow viewports. Explicitly exercise `320px` reflow and mobile navigation. |
|
|
46
|
+
| "Those 3 sample cards and `+24.5%` stats are fine for a demo." | Unapproved mock arrays and invented KPI deltas violate Truthfulness (`P0`) unless explicitly requested by the user and visibly labeled as fixture/demo data. |
|
|
47
|
+
| "The custom click-only modal works when I click it." | Non-semantic modals break focus trap, `inert` backdrop, `Escape` dismissal, and focus restoration. Flag as Architectural / DIY Slop (`P1`). |
|
|
48
|
+
| "There's a `// TODO` on the secondary action, I'll skip mentioning it." | Dead controls and omitted branches on in-scope UI are delivery defects (`P0`/`P1`). Report every unfinished interactive path with `file:line`. |
|
|
49
|
+
| "I fixed the findings, no need to re-run `slop-scan` / `check-*` / `check-acceptance` / compiler." | **Forbidden.** Fixes frequently introduce new specificity, contrast, focus, or syntax regressions. Always re-run all affected scans and `check-acceptance.mjs` until clean. |
|
|
50
|
+
|
|
51
|
+
## Severity taxonomy
|
|
52
|
+
|
|
53
|
+
| Severity | Meaning | Examples |
|
|
54
|
+
|---|---|---|
|
|
55
|
+
| P0 | floor violation/blocker/deception | inaccessible primary task, sticky-chrome focus trap/total occlusion, invented proof, leaked client secret, unlicensed commercial font/asset, data loss, unapproved fake live data, `Rule #0.3` static-as-rendered falsification |
|
|
56
|
+
| P1 | major UX failure / architectural slop | missing error/`404`/`500`/offline recovery, premature `IME` `Enter` submit, broken back state, unwired mobile nav, dead primary control, DIY broken modal/editor/table, failing strict language/dependency-audit checks |
|
|
57
|
+
| P2 | quality defect affecting comprehension/efficiency/trust | weak 5-second hierarchy, `>2` unjustified font families, `>75ch` prose wall, muddy `#000000` dark-mode shadows (`B4`), jittering proportional digits (`B6`), clipped `+50–100%` short labels, `Unicode NFC` fallback ransom-note glyphs |
|
|
58
|
+
| P3 | polish/craft refinement | `+1–2` unit optical icon centroid nudge (`B2`), concentric radius tweak, asymmetric exit timing (`B3`), warm-tooltip chain (`B1`), microcopy tightening |
|
|
59
|
+
|
|
60
|
+
Every finding requires: severity, evidence (`file:line`, screenshot region/device state, tool output), confidence (`high/medium/low`), user impact, concrete fix, and evidence label (`rendered/static/model-judgment/not-checked/waived`). No unlabeled certainty.
|
|
61
|
+
|
|
62
|
+
## Protocol
|
|
63
|
+
|
|
64
|
+
1. Establish scope, mode, direction card/project system, commit/build state, target platforms, regulatory/store regime, locales, user tasks, and `.pixelcraft/acceptance.json` (initializing with `node scripts/check-acceptance.mjs --init <platform> --out .pixelcraft/acceptance.json` if absent).
|
|
65
|
+
2. Gather deterministic evidence first: run `node scripts/slop-scan.mjs <target> --fail-on p2`, applicable surface CLIs (`check-contrast.mjs`, `check-email.mjs`, `check-tui.mjs`, `check-pdf.mjs`), strict active-language compiler/type/linter/dependency-audit checks, and tests; inspect files; capture rendered/device states via `pixelcraft-visual-qa` where possible.
|
|
66
|
+
3. Walk primary and non-happy-path flows (`loading`, `empty`, `error`, `offline`, `404`/`500`, `permission-denied`, `IME` composition `Enter`, `+50–100%` short-label expansion) using personas as hypotheses; confirm suspected stubs, dead controls, or DIY widgets through the affected interaction.
|
|
67
|
+
4. Walk **100% of applicable checklist rows** across `polish.md` (**Studio Invisible Craft `B1–B6`**, **5-Second Hierarchy**, **Non-Happy-Path & Input Completeness**, **Commercial Handoff Hygiene**), the active platform skill's `Pre-submit checklist`, and `references/heuristics.md`.
|
|
68
|
+
5. Compare against slop fingerprints and `.pixelcraft/history.json`; identify repetition or absence of subject commitment.
|
|
69
|
+
6. Update `.pixelcraft/acceptance.json` with honest evidence labels (**`Rule #0.3`:** `rendered` required on visual/perf/interactive-a11y rows) and rank findings by user impact. When polishing or verifying an implementation, run **`Scan → Fix → Rescan`** until `slop-scan.mjs --fail-on p2`, applicable `check-*` CLIs, compiler/tests, and `node scripts/check-acceptance.mjs .pixelcraft/acceptance.json` have **`0` `fail` and `0` `pending` rows**, then report using `references/audit-report.md`.
|
|
70
|
+
|
|
71
|
+
## Distinctiveness check
|
|
72
|
+
|
|
73
|
+
Ask whether removing the subject would leave a generic interface. Compare composition/type/color/material/motion/imagery/copy fingerprints with history. A repetition is not automatically wrong inside one coherent product; repetition across unrelated surfaces or absence of any subject-derived commitment is a finding.
|
|
74
|
+
|
|
75
|
+
## Scan-until-clean & review termination
|
|
76
|
+
|
|
77
|
+
When verifying or polishing an implementation, **do not stop after a single pass while deterministic scan (`P0–P2`), compiler/test, stub, state, floor-checklist, or `.pixelcraft/acceptance.json` (`fail`/`pending`) defects remain**: fix every confirmed defect and re-run `slop-scan.mjs --fail-on p2`, applicable `check-*` scripts, active-language checks, and `node scripts/check-acceptance.mjs .pixelcraft/acceptance.json` until `0` `fail`/`pending` rows remain. Stop only once deterministic gates pass and remaining observations become purely speculative taste, require unavailable user/business facts, or depend on unavailable external hardware (`PENDING_RENDERED_ENV`, never reported as `pass`).
|
|
78
|
+
|
|
79
|
+
## Pre-submit checklist
|
|
80
|
+
|
|
81
|
+
- [ ] Adversarial defect hunt completed for stubs (`// TODO`, ellipsis), dead controls/links, unwired mobile nav, unguarded `IME` `Enter` handlers, client secrets, unapproved mock data, and lazy DIY substitutes.
|
|
82
|
+
- [ ] **`Scan → Fix → Rescan` loop completed:** `node scripts/slop-scan.mjs --fail-on p2`, applicable `check-*` CLIs, strict active-language compiler/type/analyzer/dependency-audit/test suites, and `node scripts/check-acceptance.mjs .pixelcraft/acceptance.json` re-executed after every edit until `0` `fail` and `0` `pending` rows remain.
|
|
83
|
+
- [ ] **Evidence Rule #0.3 enforced:** zero visual, performance-budget, or interactive/assistive accessibility rows marked `pass` with `static` or `model-judgment` evidence.
|
|
84
|
+
- [ ] Studio-Grade Polish & Delivery Gate (`references/polish.md`) and active platform `Pre-submit checklist` walked row-by-row across 5-second hierarchy, Invisible Craft (`B1–B6`), non-happy-path + `+50–100%` short-label/`NFC` resilience, and `<10m` setup / staging separation / license / 30–90d warranty handoff.
|
|
85
|
+
- [ ] Every finding includes severity (`P0`–`P3`), exact `file:line` or capture evidence, confidence, user impact, concrete fix, and evidence label, plus the **3-Tier Final Verdict** (`FAIL` / `PENDING_RENDERED_ENV` / `PASS_STUDIO_10K_20K` / `EXCEEDS_STUDIO`).
|
|
86
|
+
- [ ] Distinctiveness and `.pixelcraft/history.json` repetition checked; unchecked external devices or regulatory regimes are explicitly listed as `not-checked` with no false "ready to ship" claim.
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# Audit report template
|
|
2
|
+
|
|
3
|
+
```markdown
|
|
4
|
+
# Pixelcraft audit: <surface/commit/date>
|
|
5
|
+
|
|
6
|
+
**Mode:** audit|critique|polish
|
|
7
|
+
**Scope:** <flows/screens/platforms/locales/themes/input modalities>
|
|
8
|
+
**Method:** <rendered/static/tools/personas/model judgment>
|
|
9
|
+
**Direction/system:** <selected direction or existing system inspected>
|
|
10
|
+
|
|
11
|
+
## Summary
|
|
12
|
+
|
|
13
|
+
- P0: n · P1: n · P2: n · P3: n
|
|
14
|
+
- Acceptance manifest (`check-acceptance.mjs`): `FAIL` (exit `1`) | `PENDING_RENDERED_ENV` (exit `2`) | `PASS_STUDIO_10K_20K` (exit `0`) | `EXCEEDS_STUDIO` (exit `0`)
|
|
15
|
+
- Highest-risk unknown: <scope not checked>
|
|
16
|
+
- Overall recommendation: <block/fix-before-release/fix-normal/polish>
|
|
17
|
+
|
|
18
|
+
## Findings
|
|
19
|
+
|
|
20
|
+
| ID | Severity | Finding | Evidence | Label | Confidence | User impact | Concrete fix |
|
|
21
|
+
|---|---|---|---|---|---|---|---|
|
|
22
|
+
| F1 | P0/P1/P2/P3 | <observable defect> | `file:line` or screenshot region/device state | rendered/static/model-judgment | high/med/low | <who/what task> | <specific change> |
|
|
23
|
+
|
|
24
|
+
## Positive evidence
|
|
25
|
+
|
|
26
|
+
- <only material verified strengths; omit praise padding>
|
|
27
|
+
|
|
28
|
+
## Distinctiveness/repetition
|
|
29
|
+
|
|
30
|
+
- History file: `.pixelcraft/history.json` inspected/not present/not writable.
|
|
31
|
+
- Slop scan: <score/findings; note zero ≠ good design>.
|
|
32
|
+
- Subject-derived commitment: <present/weak/absent + evidence>.
|
|
33
|
+
|
|
34
|
+
## Studio-grade delivery & acceptance gate (`polish.md` + `check-acceptance.mjs`)
|
|
35
|
+
|
|
36
|
+
| Pillar | Status (`pass`/`fail`/`not-checked`/`waived`) | Evidence & scope | Label |
|
|
37
|
+
|---|---|---|---|
|
|
38
|
+
| 1. Art direction & 5-second hierarchy (`≤2` fonts+`1` mono, `45–75ch`, 1–2 CTAs) | | | |
|
|
39
|
+
| 2. Invisible craft (`B1` timing, `B2` optical/concentric, `B3` origin/exit, `B4` dark `L`/edge, `B5` hit-slop/Safe Triangle/capture, `B6` `tnum`/`U+2212`) | | | |
|
|
40
|
+
| 3. States, latency (`<=100ms`/`>1s`/`>10s`), a11y (`2.4.11`/`EAA`), `IME` `Enter` guard & `+50–100%` short-label / `NFC` i18n | | | |
|
|
41
|
+
| 4. Stack-neutral engineering (`<10m` setup, strict checks, dep audit, staging split, zero secrets) & license/30–90d warranty handoff | | | |
|
|
42
|
+
| 5. `.pixelcraft/acceptance.json` (`A1–A8` + 12-row Surface Matrix + platform thresholds & deliverables) | | | |
|
|
43
|
+
|
|
44
|
+
## Not checked / waived
|
|
45
|
+
|
|
46
|
+
- `<label>` <scope> — concrete reason, explicit client sign-off (if `waived`), consequence, and next command.
|
|
47
|
+
|
|
48
|
+
## Recommended order
|
|
49
|
+
|
|
50
|
+
1. <P0/P1 sequence>
|
|
51
|
+
2. <risk reduction/verification>
|
|
52
|
+
3. <optional polish>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Do not bury a blocker in prose. Do not convert absence of automated findings into conformance language.
|
|
56
|
+
|
|
57
|
+
## Evidence Rule #0.3 & 3-tier Studio verdict rubric
|
|
58
|
+
|
|
59
|
+
- **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).
|
|
60
|
+
- **3-Tier Final Grading (`check-acceptance.mjs`):**
|
|
61
|
+
- **`FAIL` (`exit 1` — Not Accepted):** any Baseline `A1–A8`, 12-row Surface Matrix, or platform threshold/checklist/deliverable item is `fail` or `pending`, or relies on `static`/`model-judgment` where `rendered` evidence is required (`Rule #0.3`). **Do not approve or claim completion.**
|
|
62
|
+
- **`PASS_STUDIO_10K_20K` (`exit 0` — Studio $10k–$20k Bar)** *(or `PENDING_RENDERED_ENV` `exit 2` when physical hardware/store runtime is genuinely unavailable)*: all applicable rows pass on target environments (`rendered` where required) and any `not-checked`/`waived` row carries concrete justification or explicit user sign-off.
|
|
63
|
+
- **`EXCEEDS_STUDIO` (`exit 0` — Exceeds Bar):** meets `PASS_STUDIO_10K_20K` plus real-user usability testing, live A/B experimentation, deep multi-locale native review, or high-scale systems integration.
|
|
64
|
+
|
|
65
|
+
## Confidence calibration
|
|
66
|
+
|
|
67
|
+
Use `high` only when the evidence directly demonstrates the defect or requirement in the stated scope. Use `medium` when the inference is strong but depends on runtime/user/context not fully inspected. Use `low` for hypotheses that should guide testing, not implementation churn. Every high-confidence critique should identify observable evidence; if it cannot, downgrade it.
|
|
68
|
+
|
|
69
|
+
Record false positives and duplicate/root-cause grouping in the notes when iterating. Do not let repeated model critique manufacture independent findings from one underlying defect. When findings become contradictory or increasingly cosmetic after a repair pass, stop and report residual uncertainty rather than continuing indefinitely.
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
# Structured design critique protocol
|
|
2
|
+
|
|
3
|
+
Use this reference for critique mode. Critique is a decision process: it evaluates whether the design meets intent and exposes risk. It is not a vote about taste and not permission to redesign outside scope.
|
|
4
|
+
|
|
5
|
+
## Before the session
|
|
6
|
+
|
|
7
|
+
Prepare explicit inputs:
|
|
8
|
+
|
|
9
|
+
- design brief/plan, direction card, approved artifact/version, and scope of critique;
|
|
10
|
+
- user/audience/context evidence and open behavioral assumptions;
|
|
11
|
+
- platform/accessibility/localization constraints;
|
|
12
|
+
- state matrix, real content/data inventory, and verification evidence;
|
|
13
|
+
- decision owner and decision deadline;
|
|
14
|
+
- what is fixed versus open for change.
|
|
15
|
+
|
|
16
|
+
If these are absent, critique the missing evidence as a risk instead of filling gaps with personal preference.
|
|
17
|
+
|
|
18
|
+
## Roles
|
|
19
|
+
|
|
20
|
+
| Role | Responsibility |
|
|
21
|
+
|---|---|
|
|
22
|
+
| presenter/author | explain intent, constraints, evidence, and known trade-offs without defending every choice |
|
|
23
|
+
| facilitator | enforce scope/order, separate clarification from evaluation, prevent loudest-voice collapse |
|
|
24
|
+
| reviewers | independently inspect before group discussion; provide evidence-backed observations |
|
|
25
|
+
| decision owner | accept/reject/prioritize outcomes and own unresolved risk |
|
|
26
|
+
| recorder | preserve decision rationale, losing alternatives, waivers, and action owners |
|
|
27
|
+
|
|
28
|
+
In an agent workflow one agent may simulate roles, but must not pretend independent human review occurred. Label role simulation as model judgment.
|
|
29
|
+
|
|
30
|
+
## Independent review first
|
|
31
|
+
|
|
32
|
+
Before discussion or generation of fixes, each reviewer inspects independently against:
|
|
33
|
+
|
|
34
|
+
1. task success and cognitive walkthrough risks;
|
|
35
|
+
2. hierarchy/composition/visual complexity;
|
|
36
|
+
3. state coverage and recovery;
|
|
37
|
+
4. platform/input/accessibility floor;
|
|
38
|
+
5. localization/content truth;
|
|
39
|
+
6. token/component/system coherence;
|
|
40
|
+
7. distinctiveness/repetition against the brief and history.
|
|
41
|
+
|
|
42
|
+
Independent notes prevent anchoring. Require concrete evidence locations: screenshot region, flow step, state, file/component, or behavioral observation.
|
|
43
|
+
|
|
44
|
+
## Session order
|
|
45
|
+
|
|
46
|
+
1. **Restate intent/constraints:** outcome, user, mode, approval scope, hard floors.
|
|
47
|
+
2. **Clarify only:** resolve factual misunderstandings before evaluation.
|
|
48
|
+
3. **Evidence review:** inspect rendered/static/task evidence; separate observed fact from inference.
|
|
49
|
+
4. **Strengths:** identify what must be preserved so critique does not flatten the design.
|
|
50
|
+
5. **Risks/defects:** report severity, confidence, evidence, affected user/task, and scope.
|
|
51
|
+
6. **Alternatives:** generate only after problems are understood; do not jump to a preferred redesign.
|
|
52
|
+
7. **Decision:** accept, revise, escalate, defer, or waive each material issue with rationale.
|
|
53
|
+
|
|
54
|
+
## Feedback taxonomy
|
|
55
|
+
|
|
56
|
+
Classify every comment:
|
|
57
|
+
|
|
58
|
+
| Type | Example | Handling |
|
|
59
|
+
|---|---|---|
|
|
60
|
+
| defect | contrast failure, inaccessible dialog, clipped critical text | fix before release unless explicitly waived |
|
|
61
|
+
| behavioral risk | users may not understand navigation | inspect/test or choose safer convention |
|
|
62
|
+
| requirement conflict | approved design conflicts with localization/legal/platform constraint | escalate according to authority order |
|
|
63
|
+
| hypothesis | denser layout may improve scanning | mark experiment/test needed; do not present as fact |
|
|
64
|
+
| preference | reviewer dislikes hue/typeface | lowest authority; must not silently override brief/project direction |
|
|
65
|
+
| scope expansion | new feature/page/request | record separately; do not hide inside critique |
|
|
66
|
+
|
|
67
|
+
## Decision log
|
|
68
|
+
|
|
69
|
+
```markdown
|
|
70
|
+
| Issue | Severity | Evidence/label | Decision | Owner | Rationale/trade-off | Follow-up |
|
|
71
|
+
|---|---|---|---|---|---|---|
|
|
72
|
+
```
|
|
73
|
+
|
|
74
|
+
Valid decisions include fix, preserve intentionally, test behavior, escalate override, defer with consequence, or waive explicitly. “No decision” is sometimes honest, but record it as unresolved risk rather than implying approval.
|
|
75
|
+
|
|
76
|
+
## Critique anti-patterns
|
|
77
|
+
|
|
78
|
+
- brainstorming fixes before agreeing on the problem;
|
|
79
|
+
- treating novelty as inherently good or bad;
|
|
80
|
+
- averaging conflicting feedback into a bland compromise;
|
|
81
|
+
- criticizing placeholder absence when real content was explicitly unavailable;
|
|
82
|
+
- letting visual polish crowd out floor/state/task blockers;
|
|
83
|
+
- using “users won't understand” without labeling it hypothesis/risk;
|
|
84
|
+
- redesigning approved visual scope without explicit authority;
|
|
85
|
+
- ending with no priority, owner, or preservation rule.
|
|
86
|
+
|
|
87
|
+
## Termination
|
|
88
|
+
|
|
89
|
+
Stop when material issues have decisions, additional comments repeat existing risks, evidence required is unavailable and recorded, or further changes would exceed scope. One focused revision round is normal; endless critique by taste is not verification.
|