@thanhnguyxn/pixelcraft 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/plugins/marketplace.json +1 -1
- package/.antigravity-plugin/plugin.json +32 -0
- package/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +15 -4
- 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/README.md +185 -328
- package/SECURITY.md +28 -0
- package/assets/pixelcraft-logo-128.png +0 -0
- package/assets/pixelcraft-logo-256.png +0 -0
- package/bin/pixelcraft.mjs +431 -23
- package/docs/ARCHITECTURE.md +40 -37
- package/docs/DESIGN-RATIONALE.md +51 -3
- package/docs/INSTALL.md +221 -0
- package/evals/README.md +16 -6
- package/evals/fixtures/3d-web-engineering.json +69 -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/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/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/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-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/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/pixelcraft-accessibility.md +17 -0
- package/evals/pixelcraft-craft.md +16 -0
- package/evals/pixelcraft-dataviz.md +3 -3
- package/evals/pixelcraft-direction.md +17 -0
- package/evals/pixelcraft-game-ui.md +3 -3
- package/evals/pixelcraft-mobile.md +3 -3
- package/evals/pixelcraft-patterns.md +16 -0
- package/evals/pixelcraft-plan.md +65 -3
- package/evals/pixelcraft-review.md +3 -3
- package/evals/pixelcraft-visual-qa.md +11 -5
- package/evals/pixelcraft-web.md +21 -3
- package/evals/pixelcraft.md +4 -4
- package/gemini-extension.json +3 -2
- package/install.ps1 +57 -11
- package/install.sh +82 -7
- package/package.json +32 -4
- package/plugin.json +6 -1
- package/scripts/build-adapters.mjs +11 -13
- package/scripts/run-evals.mjs +397 -0
- package/scripts/sync-docs.mjs +381 -0
- package/scripts/test-build-adapters.mjs +14 -1
- package/scripts/test-cross-platform-qa.mjs +359 -0
- package/scripts/test-distribution.mjs +86 -7
- package/scripts/test-export-tokens.mjs +259 -3
- package/scripts/test-finish-gate.mjs +133 -10
- package/scripts/test-installers.mjs +155 -6
- package/scripts/test-shoot.mjs +23 -1
- package/scripts/test-slop-scan.mjs +390 -3
- package/scripts/test-style-inventory.mjs +23 -0
- package/scripts/test-sync-docs.mjs +140 -0
- package/scripts/test-validate-skills.mjs +82 -4
- package/scripts/validate-skills.mjs +149 -3
- package/skills/pixelcraft/SKILL.md +67 -47
- package/skills/pixelcraft/references/design-brief.md +2 -2
- package/skills/pixelcraft/references/floor.md +36 -19
- package/skills/pixelcraft/references/report-template.md +25 -11
- package/skills/pixelcraft/references/stack-detection.md +138 -67
- package/skills/pixelcraft/references/surface-acceptance.md +33 -21
- package/skills/pixelcraft/references/workflow-checkpoints.md +49 -7
- package/skills/pixelcraft-accessibility/SKILL.md +34 -13
- package/skills/pixelcraft-accessibility/references/apg-patterns.md +13 -0
- package/skills/pixelcraft-accessibility/references/motion-canvas.md +57 -0
- package/skills/pixelcraft-accessibility/references/platforms.md +34 -6
- package/skills/pixelcraft-accessibility/references/verification.md +15 -10
- package/skills/pixelcraft-accessibility/references/wcag22-checks.md +38 -5
- package/skills/pixelcraft-brandkit/SKILL.md +42 -30
- package/skills/pixelcraft-brandkit/references/asset-pipeline.md +90 -50
- package/skills/pixelcraft-brandkit/references/brand-governance.md +29 -27
- package/skills/pixelcraft-brandkit/references/logo-methods.md +33 -34
- package/skills/pixelcraft-brandkit/references/prompt-template.md +53 -51
- package/skills/pixelcraft-brandkit/references/qa-checklist.md +7 -2
- package/skills/pixelcraft-brandkit/references/visual-modes.md +16 -16
- package/skills/pixelcraft-chat-ui/SKILL.md +31 -27
- 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 +12 -6
- package/skills/pixelcraft-chat-ui/references/mobile-business-platforms.md +58 -68
- package/skills/pixelcraft-chat-ui/references/slack-discord.md +60 -76
- package/skills/pixelcraft-constrained/SKILL.md +21 -20
- package/skills/pixelcraft-constrained/references/specialized-hardware.md +69 -45
- package/skills/pixelcraft-constrained/references/tv-wearables.md +123 -73
- package/skills/pixelcraft-constrained/references/voice-ui.md +86 -45
- package/skills/pixelcraft-craft/SKILL.md +29 -15
- package/skills/pixelcraft-craft/references/color.md +62 -6
- package/skills/pixelcraft-craft/references/layout.md +32 -0
- package/skills/pixelcraft-craft/references/motion.md +99 -12
- package/skills/pixelcraft-craft/references/typography.md +48 -9
- package/skills/pixelcraft-data-apps/SKILL.md +50 -31
- package/skills/pixelcraft-data-apps/references/ai-and-internal-data-apps.md +147 -0
- package/skills/pixelcraft-data-apps/references/dash.md +87 -31
- package/skills/pixelcraft-data-apps/references/evidence.md +41 -26
- package/skills/pixelcraft-data-apps/references/gradio.md +65 -27
- package/skills/pixelcraft-data-apps/references/julia-genie.md +64 -29
- package/skills/pixelcraft-data-apps/references/jupyter-widgets.md +65 -27
- package/skills/pixelcraft-data-apps/references/nicegui.md +73 -34
- package/skills/pixelcraft-data-apps/references/observable-framework.md +65 -27
- package/skills/pixelcraft-data-apps/references/panel.md +69 -23
- package/skills/pixelcraft-data-apps/references/r-shiny.md +104 -34
- package/skills/pixelcraft-data-apps/references/reactive-data-apps.md +186 -0
- package/skills/pixelcraft-data-apps/references/reflex.md +85 -31
- package/skills/pixelcraft-data-apps/references/shiny.md +84 -27
- package/skills/pixelcraft-data-apps/references/streamlit.md +73 -25
- package/skills/pixelcraft-dataviz/SKILL.md +21 -24
- package/skills/pixelcraft-dataviz/references/color-accessibility.md +2 -2
- package/skills/pixelcraft-dataviz/references/encoding-tables-dashboards.md +35 -25
- package/skills/pixelcraft-dataviz/references/libraries.md +165 -46
- package/skills/pixelcraft-dataviz/references/maps-geospatial.md +159 -0
- package/skills/pixelcraft-dataviz/references/realtime-graphs-maps-scale.md +58 -65
- package/skills/pixelcraft-desktop/SKILL.md +61 -39
- package/skills/pixelcraft-desktop/references/appkit.md +60 -26
- package/skills/pixelcraft-desktop/references/avalonia.md +65 -29
- package/skills/pixelcraft-desktop/references/cpp-gui.md +104 -27
- package/skills/pixelcraft-desktop/references/electron.md +68 -26
- package/skills/pixelcraft-desktop/references/go-gui.md +59 -30
- package/skills/pixelcraft-desktop/references/gtk.md +74 -31
- package/skills/pixelcraft-desktop/references/javafx-swing.md +54 -25
- package/skills/pixelcraft-desktop/references/qt-pyside-qml.md +57 -30
- package/skills/pixelcraft-desktop/references/rust-gui.md +59 -41
- package/skills/pixelcraft-desktop/references/tauri.md +80 -24
- package/skills/pixelcraft-desktop/references/uno-platform.md +42 -23
- package/skills/pixelcraft-desktop/references/winui-wpf.md +66 -26
- package/skills/pixelcraft-desktop/references/working-context.md +82 -3
- package/skills/pixelcraft-direction/SKILL.md +48 -82
- package/skills/pixelcraft-direction/references/creative-brainstorming.md +72 -0
- package/skills/pixelcraft-direction/references/direction-card.md +11 -1
- package/skills/pixelcraft-direction/references/direction-scoring.md +5 -1
- package/skills/pixelcraft-direction/references/motion-identity.md +67 -0
- package/skills/pixelcraft-direction/references/movements.md +3 -0
- package/skills/pixelcraft-direction/references/reference-analysis.md +37 -0
- package/skills/pixelcraft-direction/references/slop-fingerprints.md +32 -7
- package/skills/pixelcraft-document/SKILL.md +27 -23
- package/skills/pixelcraft-document/references/archetypes.md +27 -4
- package/skills/pixelcraft-document/references/pdf-tools.md +241 -81
- package/skills/pixelcraft-document/references/pdfjs-and-pptx.md +114 -0
- package/skills/pixelcraft-document/references/print-css.md +96 -43
- package/skills/pixelcraft-document/references/slides.md +123 -27
- package/skills/pixelcraft-email/SKILL.md +42 -20
- package/skills/pixelcraft-email/references/client-quirks.md +101 -33
- package/skills/pixelcraft-email/references/html-tables.md +83 -22
- package/skills/pixelcraft-email/references/maizzle.md +54 -0
- package/skills/pixelcraft-email/references/mjml.md +13 -11
- package/skills/pixelcraft-email/references/react-email.md +76 -34
- package/skills/pixelcraft-extensions/SKILL.md +32 -27
- package/skills/pixelcraft-extensions/references/browser-extensions.md +91 -17
- package/skills/pixelcraft-extensions/references/figma-office.md +97 -14
- package/skills/pixelcraft-extensions/references/ide-and-saas-plugins.md +125 -0
- package/skills/pixelcraft-extensions/references/raycast.md +90 -11
- package/skills/pixelcraft-extensions/references/vscode-webviews.md +91 -17
- package/skills/pixelcraft-game-ui/SKILL.md +45 -26
- package/skills/pixelcraft-game-ui/references/bevy.md +69 -31
- package/skills/pixelcraft-game-ui/references/godot.md +100 -27
- package/skills/pixelcraft-game-ui/references/hud-principles.md +50 -21
- package/skills/pixelcraft-game-ui/references/love2d.md +53 -27
- package/skills/pixelcraft-game-ui/references/monogame.md +45 -29
- package/skills/pixelcraft-game-ui/references/unity-ugui.md +109 -0
- package/skills/pixelcraft-game-ui/references/unity-ui-toolkit.md +69 -27
- package/skills/pixelcraft-game-ui/references/unreal-umg.md +53 -26
- package/skills/pixelcraft-game-ui/references/web-and-middleware-game-ui.md +122 -0
- package/skills/pixelcraft-handoff/SKILL.md +14 -13
- package/skills/pixelcraft-handoff/references/design-translation.md +40 -10
- package/skills/pixelcraft-handoff/references/motion-handoff.md +54 -0
- package/skills/pixelcraft-media/SKILL.md +20 -23
- package/skills/pixelcraft-media/references/banners-video.md +83 -65
- package/skills/pixelcraft-media/references/og-generation.md +110 -63
- package/skills/pixelcraft-media/references/social-cards.md +57 -58
- package/skills/pixelcraft-mobile/SKILL.md +53 -36
- package/skills/pixelcraft-mobile/references/dotnet-maui.md +62 -34
- package/skills/pixelcraft-mobile/references/flet.md +53 -26
- package/skills/pixelcraft-mobile/references/flutter.md +76 -32
- package/skills/pixelcraft-mobile/references/harmonyos-and-emerging-mobile.md +121 -0
- package/skills/pixelcraft-mobile/references/ionic-capacitor.md +48 -26
- package/skills/pixelcraft-mobile/references/jetpack-compose.md +92 -24
- package/skills/pixelcraft-mobile/references/kivy.md +54 -31
- package/skills/pixelcraft-mobile/references/kotlin-multiplatform.md +53 -27
- 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 +66 -31
- package/skills/pixelcraft-mobile/references/swiftui.md +158 -28
- package/skills/pixelcraft-mobile/references/tactile-interactions.md +55 -0
- package/skills/pixelcraft-mobile/references/task-state-composition.md +82 -2
- package/skills/pixelcraft-mobile/references/uikit.md +57 -23
- package/skills/pixelcraft-patterns/SKILL.md +30 -13
- 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 +32 -13
- 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 +35 -16
- package/skills/pixelcraft-patterns/references/communication.md +34 -15
- package/skills/pixelcraft-patterns/references/creative-tools.md +30 -17
- package/skills/pixelcraft-patterns/references/creative-web-composition.md +38 -0
- package/skills/pixelcraft-patterns/references/dashboard-admin.md +22 -18
- package/skills/pixelcraft-patterns/references/history-diff-undo.md +50 -0
- package/skills/pixelcraft-patterns/references/marketing.md +31 -19
- 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 +8 -2
- 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/settings.md +40 -12
- package/skills/pixelcraft-plan/SKILL.md +54 -18
- 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 +44 -9
- package/skills/pixelcraft-plan/references/repo-discovery.md +16 -9
- package/skills/pixelcraft-plan/references/stack-freshness.md +22 -5
- package/skills/pixelcraft-plan/references/stack-selection.md +65 -9
- package/skills/pixelcraft-review/SKILL.md +41 -19
- package/skills/pixelcraft-review/references/audit-report.md +20 -1
- package/skills/pixelcraft-review/references/heuristics.md +63 -18
- package/skills/pixelcraft-review/references/personas.md +41 -14
- package/skills/pixelcraft-review/references/polish.md +66 -26
- package/skills/pixelcraft-review/scripts/check-acceptance.mjs +619 -0
- package/skills/pixelcraft-review/scripts/fixtures/focus-longhand-removal.css +34 -0
- package/skills/pixelcraft-review/scripts/slop-scan.mjs +679 -32
- package/skills/pixelcraft-spatial/SKILL.md +16 -17
- package/skills/pixelcraft-spatial/references/comfort-accessibility.md +25 -84
- package/skills/pixelcraft-spatial/references/platforms.md +123 -53
- package/skills/pixelcraft-tokens/SKILL.md +18 -14
- package/skills/pixelcraft-tokens/assets/tokens.example.json +1 -1
- package/skills/pixelcraft-tokens/assets/tokens.modes.example.json +1 -1
- package/skills/pixelcraft-tokens/references/format.md +39 -9
- package/skills/pixelcraft-tokens/references/governance.md +1 -1
- package/skills/pixelcraft-tokens/references/theme-presets.md +36 -8
- package/skills/pixelcraft-tokens/references/token-tooling.md +119 -0
- package/skills/pixelcraft-tokens/scripts/export-tokens.mjs +637 -75
- package/skills/pixelcraft-tui/SKILL.md +41 -25
- package/skills/pixelcraft-tui/references/bubbletea-lipgloss.md +49 -30
- package/skills/pixelcraft-tui/references/extended-tui-toolkits.md +127 -0
- package/skills/pixelcraft-tui/references/ink.md +77 -28
- package/skills/pixelcraft-tui/references/ratatui.md +70 -30
- package/skills/pixelcraft-tui/references/rich.md +53 -33
- package/skills/pixelcraft-tui/references/terminal-protocols.md +80 -0
- package/skills/pixelcraft-tui/references/textual.md +75 -34
- package/skills/pixelcraft-ux/SKILL.md +22 -12
- package/skills/pixelcraft-ux/references/feedback-performance.md +39 -19
- package/skills/pixelcraft-ux/references/forms.md +57 -3
- package/skills/pixelcraft-ux/references/i18n.md +50 -12
- package/skills/pixelcraft-ux/references/laws.md +35 -14
- package/skills/pixelcraft-ux/references/state-matrix.md +15 -1
- package/skills/pixelcraft-ux/references/ux-writing.md +1 -0
- package/skills/pixelcraft-visual-qa/SKILL.md +21 -7
- package/skills/pixelcraft-visual-qa/references/capture-desktop-game.md +28 -7
- package/skills/pixelcraft-visual-qa/references/capture-document.md +70 -0
- package/skills/pixelcraft-visual-qa/references/capture-email.md +13 -9
- package/skills/pixelcraft-visual-qa/references/capture-mobile.md +20 -5
- package/skills/pixelcraft-visual-qa/references/capture-terminal.md +6 -2
- package/skills/pixelcraft-visual-qa/references/motion-capture.md +63 -0
- package/skills/pixelcraft-visual-qa/references/performance-budgets.md +25 -12
- package/skills/pixelcraft-visual-qa/references/realtime-graphics.md +55 -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 +50 -11
- package/skills/pixelcraft-visual-qa/scripts/shoot.mjs +214 -59
- package/skills/pixelcraft-visual-qa/scripts/style-inventory.mjs +121 -49
- package/skills/pixelcraft-web/SKILL.md +105 -49
- package/skills/pixelcraft-web/references/accessibility-performance.md +42 -0
- package/skills/pixelcraft-web/references/adaptive-layout.md +52 -8
- package/skills/pixelcraft-web/references/angular.md +63 -16
- package/skills/pixelcraft-web/references/assets-pipeline.md +67 -0
- package/skills/pixelcraft-web/references/astro.md +64 -13
- 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 +52 -17
- 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/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 +3 -2
- package/skills/pixelcraft-web/references/gsap.md +102 -0
- package/skills/pixelcraft-web/references/html-css.md +144 -12
- package/skills/pixelcraft-web/references/htmx-alpine.md +68 -18
- 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 +27 -18
- package/skills/pixelcraft-web/references/kotlin-web.md +6 -2
- package/skills/pixelcraft-web/references/leptos-yew.md +62 -19
- package/skills/pixelcraft-web/references/lit-web-components.md +4 -2
- 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 +6 -1
- package/skills/pixelcraft-web/references/qwik.md +51 -11
- package/skills/pixelcraft-web/references/r3f-integration.md +69 -0
- package/skills/pixelcraft-web/references/react-next.md +112 -13
- 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/scene-architecture.md +132 -0
- package/skills/pixelcraft-web/references/server-rendered.md +106 -63
- 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 +67 -16
- 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 +61 -11
- package/skills/pixelcraft-web/references/tailwind.md +40 -14
- package/skills/pixelcraft-web/references/video-media.md +69 -0
- package/skills/pixelcraft-web/references/vue-nuxt.md +37 -13
- package/skills/pixelcraft-web/references/web-3d-engines.md +97 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "ux-state-matrix-and-i18n",
|
|
4
|
+
"skill": "pixelcraft-ux",
|
|
5
|
+
"title": "Specify complete state matrices, AI streaming recovery, form ergonomics, and RTL/i18n expansion before visual polish",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "multi-locale expense approval workflow with AI receipt parsing",
|
|
8
|
+
"platform": "cross-platform (web + mobile, English, German, Arabic)",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["empty", "loading/streaming", "validation error", "offline queue", "permission denied", "AI approval pending", "RTL mirrored"],
|
|
11
|
+
"constraints": ["no string concatenation", "30-40% German expansion", "Arabic RTL", "preserve form input on error"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Design the UX flows, complete state matrix, form validation recovery, and German/Arabic localization contract for an expense approval screen with AI receipt extraction.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-ux", "references/state-matrix.md", "references/forms.md", "references/i18n.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"designs only the happy-path populated English screen and ignores empty, offline, permission-denied, and AI abort/approval states",
|
|
17
|
+
"concatenates translated fragments instead of full ICU/MessageFormat strings or mirrors playback/numeric signs blindly in RTL",
|
|
18
|
+
"clears entered form values on server failure or uses placeholder-only labels"
|
|
19
|
+
],
|
|
20
|
+
"rubricDimensions": [
|
|
21
|
+
{
|
|
22
|
+
"dimension": "state matrix and AI workflow completeness",
|
|
23
|
+
"pass": "covers empty, loading, streaming/abort, approval gate, error recovery, offline, concurrency, and permission states explicitly",
|
|
24
|
+
"fail": "omits boundary or AI interruption/recovery states"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"dimension": "forms and localization discipline",
|
|
28
|
+
"pass": "preserves input across failures, uses persistent labels, tolerant parsing, autocomplete/enterkeyhint, ICU plural/gender messages, logical layout, and expansion/RTL checks",
|
|
29
|
+
"fail": "hardcodes English widths, concatenates grammar, or blocks paste"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"negativeControls": [
|
|
33
|
+
{
|
|
34
|
+
"name": "english happy path",
|
|
35
|
+
"input": "English labels fit on one line in a fixed 120px button",
|
|
36
|
+
"mustNot": "assume German expansion, CJK line-breaking, or Arabic RTL will survive without testing"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"baseline": {
|
|
40
|
+
"withoutSkill": "sketches a single populated English form with placeholder labels, generic toast errors, and no AI cancellation or RTL/expansion plan",
|
|
41
|
+
"withSkill": "delivers a full state matrix including AI streaming/approval states, recoverable form rules, and ICU/RTL/expansion test matrices before styling"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "web-3d-engines",
|
|
4
|
+
"skill": "pixelcraft-web",
|
|
5
|
+
"title": "Select right-sized Web 3D engines and enforce disposal, tree-shaking, and mobile ergonomics",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "e-commerce 3D/AR product viewer and Vue/Svelte interactive 3D configurator",
|
|
8
|
+
"platform": "Web (HTML, Vue 3 / TresJS v5, Babylon.js WebGPU)",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["poster before GLB load", "AR launch", "WebGPU XR init", "route unmount disposal"],
|
|
11
|
+
"constraints": ["no scroll hijacking on mobile", "tree-shaken Babylon ES6 imports", "TresJS v5 API accuracy"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Choose the right Web 3D engines for an AR product preview and an interactive WebGPU/WebXR configurator, avoiding bundle bloat, scroll traps, and GPU leaks.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-web", "references/web-3d-engines.md", "pixelcraft-spatial"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"builds a full custom WebGL engine just to display a single GLB product preview when <model-viewer> fits",
|
|
17
|
+
"uses removed TresJS v4 useRenderLoop or useCamera APIs in TresJS v5",
|
|
18
|
+
"omits poster, alt, or touch-action='pan-y' on <model-viewer> or skips engine.dispose() in Babylon.js"
|
|
19
|
+
],
|
|
20
|
+
"rubricDimensions": [
|
|
21
|
+
{
|
|
22
|
+
"dimension": "engine right-sizing",
|
|
23
|
+
"pass": "selects <model-viewer> for GLB/AR product previews and Babylon.js/PlayCanvas/Threlte/TresJS/luma.gl based on framework and scene complexity",
|
|
24
|
+
"fail": "over-engineers a single product viewer or picks an engine mismatched to the host framework"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"dimension": "version-accurate APIs and tree-shaking",
|
|
28
|
+
"pass": "uses Babylon @babylonjs/core/* subpaths + WebGPUEngine initAsync({ xrCompatible: true }), TresJS v5 useLoop/useTres, and Threlte manual texture disposal notes",
|
|
29
|
+
"fail": "uses deprecated v4 TresJS composables or monolithic unshaken imports"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"dimension": "UX and GPU hygiene",
|
|
33
|
+
"pass": "includes poster, alt, touch-action='pan-y' on <model-viewer> and disposes engines/scenes on unmount",
|
|
34
|
+
"fail": "hijacks mobile vertical scrolling or leaks WebGL/WebGPU contexts"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"negativeControls": [
|
|
38
|
+
{
|
|
39
|
+
"name": "tresjs v4 removed hook",
|
|
40
|
+
"input": "call useRenderLoop() in a TresJS v5 Vue component",
|
|
41
|
+
"mustNot": "recommend removed useRenderLoop() for TresJS v5"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "model-viewer missing poster and alt",
|
|
45
|
+
"input": "render <model-viewer src='chair.glb' camera-controls /> without alt, poster, or touch-action",
|
|
46
|
+
"mustNot": "omit alt, poster, and touch-action='pan-y' on <model-viewer>"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"baseline": {
|
|
50
|
+
"withoutSkill": "writes heavy custom Three.js code for simple GLB previews, copies deprecated TresJS v4 hooks, and leaks GPU resources on unmount",
|
|
51
|
+
"withSkill": "right-sizes to <model-viewer> or tree-shaken Babylon.js/Threlte/TresJS v5 with accessible posters, non-blocking touch-action, and clean GPU disposal"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "web-php-laravel-filament",
|
|
4
|
+
"skill": "pixelcraft-web",
|
|
5
|
+
"title": "Build a PHP Laravel Filament + Livewire order-refund resource preserving server authority, authorization, and accessible feedback",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "Operations refund management table and action modal in a Laravel Filament panel",
|
|
8
|
+
"platform": "PHP 8.3 / Laravel 11 + Filament v3 + Livewire + Blade",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["filtered refund queue", "partial refund validation error", "unauthorized policy guard", "Livewire wire:loading pending state", "390px mobile drawer reflow"],
|
|
11
|
+
"constraints": ["preserve Laravel/Filament idioms rather than replacing with a React SPA", "explicit policy authorization on actions", "accessible focus return and aria-live announcements on Livewire updates"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Extend our existing Laravel 11 + Filament v3 admin panel with an Order Refund queue and partial-refund modal action that enforces RefundPolicy authorization, shows inline server validation errors, handles Livewire loading states, and stays usable at 390px.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-web", "references/server-rendered.md", "references/forms-validation.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"proposes rewriting the Filament resource in React or Inertia when Laravel + Filament is the brownfield stack",
|
|
17
|
+
"hides unauthorized actions only via CSS instead of enforcing Laravel Policy / Action::authorize()",
|
|
18
|
+
"omits wire:loading / disabled guards on destructive refund submission, allowing duplicate refunds on double click",
|
|
19
|
+
"removes focus outlines or drops keyboard focus after closing a Livewire/Filament modal"
|
|
20
|
+
],
|
|
21
|
+
"rubricDimensions": [
|
|
22
|
+
{
|
|
23
|
+
"dimension": "idiomatic Laravel Filament & Livewire architecture",
|
|
24
|
+
"pass": "uses Filament Table/Form/Action schemas, server-side Policy authorization, wire:loading disable/feedback states, and Blade/Livewire URL query persistence for filters",
|
|
25
|
+
"fail": "imports a redundant JS SPA framework or bypasses Filament schemas with raw brittle inline JS"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"dimension": "validation, accessibility, and mobile reflow",
|
|
29
|
+
"pass": "preserves entered refund amounts on validation failure, announces errors programmatically, prevents duplicate submits, and ensures table actions remain reachable at 390px",
|
|
30
|
+
"fail": "resets form fields on error or clips modal actions on narrow screens"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"dimension": "verification honesty",
|
|
34
|
+
"pass": "distinguishes PHPUnit/Pest Livewire tests (static/behavioral) from rendered browser checks at 390/768/1440px",
|
|
35
|
+
"fail": "claims responsive visual quality from php artisan test alone"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"negativeControls": [
|
|
39
|
+
{
|
|
40
|
+
"name": "pest test pass only",
|
|
41
|
+
"input": "php artisan test --filter=RefundActionTest passes",
|
|
42
|
+
"mustNot": "claim 390px mobile modal layout and focus-ring visibility are rendered-verified"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"baseline": {
|
|
46
|
+
"withoutSkill": "suggests bolting on a custom React widget, omits double-submit wire:loading guards, and ignores narrow-screen table/modal ergonomics",
|
|
47
|
+
"withSkill": "builds an idiomatic Laravel Filament + Livewire resource with Policy enforcement, idempotent submit feedback, accessible validation, and honest evidence labels"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "web-ruby-viewcomponent-phlex",
|
|
4
|
+
"skill": "pixelcraft-web",
|
|
5
|
+
"title": "Build a Ruby on Rails ViewComponent / Phlex + Hotwire Turbo Frames invoice filter workspace without SPA bloat",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "Server-rendered Rails invoice search, filter, and inline status update workspace",
|
|
8
|
+
"platform": "Ruby on Rails 8 / ViewComponent or Phlex + Hotwire (Turbo Frames/Streams + Stimulus)",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["initial URL-synced filters", "empty filter match", "Turbo Frame busy indicator", "422 validation error stream", "JavaScript-disabled progressive fallback"],
|
|
11
|
+
"constraints": ["HTML-first Rails/ViewComponent/Phlex composition", "minimal Stimulus controller only for progressive focus/keyboard enhancement", "preserve back/forward history and accessible focus management"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Build an invoice search and status-update workspace in our Rails 8 app using Phlex or ViewComponent with Turbo Frames and minimal Stimulus, ensuring filters sync to the URL, errors render cleanly with 422 responses, and keyboard focus is preserved across Turbo updates.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-web", "references/server-rendered.md", "references/component-systems.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"introduces React or heavy client-side state stores in a Rails + Hotwire codebase",
|
|
17
|
+
"breaks browser back/forward history by updating Turbo Frames without data-turbo-action=\"advance\"",
|
|
18
|
+
"replaces native HTML <form>/<button>/<a> controls with div click handlers in Stimulus",
|
|
19
|
+
"omits aria-busy/aria-live or loses focus when a Turbo Stream replaces an invoice row"
|
|
20
|
+
],
|
|
21
|
+
"rubricDimensions": [
|
|
22
|
+
{
|
|
23
|
+
"dimension": "Rails + Phlex/ViewComponent + Hotwire idioms",
|
|
24
|
+
"pass": "composes clean typed ViewComponent/Phlex views, syncs search/filter state in URL params with Turbo Frame advance, and keeps Stimulus scoped to narrow progressive behavior",
|
|
25
|
+
"fail": "rebuilds client-side routing/state in JS or scatters raw HTML partials without component boundaries"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"dimension": "accessibility and resilient states",
|
|
29
|
+
"pass": "uses semantic form labels, handles 422 inline validation errors, manages focus across Turbo Frame/Stream swaps, and degrades cleanly without JS",
|
|
30
|
+
"fail": "uses placeholder-only search inputs or drops focus to document.body on every stream update"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"dimension": "honest verification labeling",
|
|
34
|
+
"pass": "separates RSpec/Minitest component specs from rendered Capybara/browser verification across widths",
|
|
35
|
+
"fail": "claims keyboard traversal and responsive layout passed from unit component specs alone"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"negativeControls": [
|
|
39
|
+
{
|
|
40
|
+
"name": "view component unit test only",
|
|
41
|
+
"input": "bundle exec rspec spec/components passes",
|
|
42
|
+
"mustNot": "claim Turbo Frame focus restoration or 390px layout is rendered-verified"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"baseline": {
|
|
46
|
+
"withoutSkill": "adds client-side fetch/SPA glue over Rails, breaks URL back-button state, and loses keyboard focus on partial DOM replacement",
|
|
47
|
+
"withSkill": "delivers crisp HTML-first ViewComponent/Phlex + Hotwire Turbo Frames with URL sync, 422 error handling, Stimulus focus management, and honest evidence"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -55,3 +55,20 @@
|
|
|
55
55
|
| Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
|
|
56
56
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
57
57
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
58
|
+
|
|
59
|
+
## Case 3 — canvas, cursor, and motion alternatives
|
|
60
|
+
|
|
61
|
+
**Prompt**
|
|
62
|
+
|
|
63
|
+
> Audit a portfolio that uses a custom cursor, split-text animation, audio-reactive canvas, and pinned scroll sections.
|
|
64
|
+
|
|
65
|
+
**Expected behaviors**
|
|
66
|
+
|
|
67
|
+
- Ensures headings/content remain semantically readable and selectable.
|
|
68
|
+
- Provides keyboard and touch parity for cursor/hover affordances.
|
|
69
|
+
- Honors reduced motion, provides static and text/data equivalents for canvas, and keeps audible media user-controlled.
|
|
70
|
+
- Checks focus order and direct navigation when pinned scenes are skipped or disabled.
|
|
71
|
+
|
|
72
|
+
**Failure signals**
|
|
73
|
+
|
|
74
|
+
- Treats a media query alone as proof, hides content in canvas, autoplays sound, or removes feedback entirely in reduced-motion mode.
|
|
@@ -58,3 +58,19 @@
|
|
|
58
58
|
| Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
|
|
59
59
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
60
60
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
61
|
+
|
|
62
|
+
## Case 3 — define a motion identity and implementation handoff
|
|
63
|
+
|
|
64
|
+
**Prompt**
|
|
65
|
+
|
|
66
|
+
> Give a premium product site a distinctive motion language and specify how the team should implement it.
|
|
67
|
+
|
|
68
|
+
**Expected behaviors**
|
|
69
|
+
|
|
70
|
+
- Defines tempo, easing character, spatial behavior, stagger grammar, feedback style, and one signature movement.
|
|
71
|
+
- Uses semantic motion tokens and selects CSS, Motion, GSAP, Rive, or Lottie by behavior rather than popularity.
|
|
72
|
+
- Names the reduced-motion equivalent before implementation and keeps operational feedback fast.
|
|
73
|
+
|
|
74
|
+
**Failure signals**
|
|
75
|
+
|
|
76
|
+
- Uses one animation style on every component; chooses a runtime because it appears in a visual reference; treats motion spectacle as visual quality.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# pixelcraft-dataviz evaluation cases
|
|
2
2
|
|
|
3
|
-
## Case — similar percentages on a narrow screen
|
|
3
|
+
## Case 1 — similar percentages on a narrow screen
|
|
4
4
|
|
|
5
5
|
Compare a group's share of donors and share of money over the same period. Pass if a reader can identify both denominators, the period and the domain after mobile stacking, without hover. Fail if the reader must remember category colors or infer what a standalone percentage divides by.
|
|
6
6
|
|
|
7
|
-
## Case
|
|
7
|
+
## Case 2 — metric choice
|
|
8
8
|
|
|
9
9
|
**Prompt**
|
|
10
10
|
|
|
@@ -31,7 +31,7 @@ Compare a group's share of donors and share of money over the same period. Pass
|
|
|
31
31
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
32
32
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
33
33
|
|
|
34
|
-
## Case
|
|
34
|
+
## Case 3 — map dashboard
|
|
35
35
|
|
|
36
36
|
**Prompt**
|
|
37
37
|
|
|
@@ -58,3 +58,20 @@
|
|
|
58
58
|
| Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
|
|
59
59
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
60
60
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
61
|
+
|
|
62
|
+
## Case 3 — transfer an observed pattern without copying
|
|
63
|
+
|
|
64
|
+
**Prompt**
|
|
65
|
+
|
|
66
|
+
> Compare several public visual examples for a new product portfolio and explain which mechanisms should transfer.
|
|
67
|
+
|
|
68
|
+
**Expected behaviors**
|
|
69
|
+
|
|
70
|
+
- Separates visual observation, public metadata, markup/resource evidence, runtime observation, and inference.
|
|
71
|
+
- Records provenance/date/scope where available and identifies what was not inspected.
|
|
72
|
+
- Converts observations into original implementation recipes without copying distinctive assets, code, composition, or copy.
|
|
73
|
+
- Rejects a reference pattern when it conflicts with project constraints, accessibility, or performance.
|
|
74
|
+
|
|
75
|
+
**Failure signals**
|
|
76
|
+
|
|
77
|
+
- Claims a library based only on appearance, treats an award/score as proof of usability, or recommends cloning a specific page.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# pixelcraft-game-ui evaluation cases
|
|
2
2
|
|
|
3
|
-
## Case — acquisition while moving
|
|
3
|
+
## Case 1 — acquisition while moving
|
|
4
4
|
|
|
5
5
|
Pick up loot in a sequence where stopping would be disruptive. Pass if a brief nonblocking signal acknowledges the event and the exact item is findable later via controller. Fail if the acknowledgement is the only record or a modal interrupts the sequence.
|
|
6
6
|
|
|
7
|
-
## Case
|
|
7
|
+
## Case 2 — hud design
|
|
8
8
|
|
|
9
9
|
**Prompt**
|
|
10
10
|
|
|
@@ -31,7 +31,7 @@ Pick up loot in a sequence where stopping would be disruptive. Pass if a brief n
|
|
|
31
31
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
32
32
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
33
33
|
|
|
34
|
-
## Case
|
|
34
|
+
## Case 3 — menu flow
|
|
35
35
|
|
|
36
36
|
**Prompt**
|
|
37
37
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
# pixelcraft-mobile evaluation cases
|
|
2
2
|
|
|
3
|
-
## Case — a distinct identity across an interrupted focus session
|
|
3
|
+
## Case 1 — a distinct identity across an interrupted focus session
|
|
4
4
|
|
|
5
5
|
Design setup, a running timer and its result. The session object should remain recognizable, but controls and progress must make each state distinct. Pass if the timer and stop/resume controls work without art or animation, and the result is verified after a one-handed interruption. Fail if identical promotional cards replace state feedback or a celebration blocks the completed session.
|
|
6
6
|
|
|
7
|
-
## Case
|
|
7
|
+
## Case 2 — ios android flow
|
|
8
8
|
|
|
9
9
|
**Prompt**
|
|
10
10
|
|
|
@@ -31,7 +31,7 @@ Design setup, a running timer and its result. The session object should remain r
|
|
|
31
31
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
32
32
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
33
33
|
|
|
34
|
-
## Case
|
|
34
|
+
## Case 3 — offline app
|
|
35
35
|
|
|
36
36
|
**Prompt**
|
|
37
37
|
|
|
@@ -55,3 +55,19 @@
|
|
|
55
55
|
| Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
|
|
56
56
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
57
57
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
58
|
+
|
|
59
|
+
## Case 3 — immersive narrative that remains readable
|
|
60
|
+
|
|
61
|
+
**Prompt**
|
|
62
|
+
|
|
63
|
+
> Design a chapter-based product story with a pinned artifact on desktop and a readable sequence on mobile.
|
|
64
|
+
|
|
65
|
+
**Expected behaviors**
|
|
66
|
+
|
|
67
|
+
- Writes a linear chapter outline before selecting scroll effects.
|
|
68
|
+
- Uses native flow/sticky layout first and GSAP ScrollTrigger only when complex choreography justifies it.
|
|
69
|
+
- Provides chapter anchors, browser history, reverse/fast-scroll recovery, meaningful progress, and static/reduced-motion alternatives.
|
|
70
|
+
|
|
71
|
+
**Failure signals**
|
|
72
|
+
|
|
73
|
+
- Hides copy at scroll thresholds, breaks scrollbar/history, or makes story comprehension depend on animation.
|
package/evals/pixelcraft-plan.md
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# pixelcraft-plan evaluation cases
|
|
2
2
|
|
|
3
|
-
## Case — resolved versions before choosing an API
|
|
3
|
+
## Case 1 — resolved versions before choosing an API
|
|
4
4
|
|
|
5
5
|
Ask for a filter UI in a locked brownfield app; the available docs MCP returns a new-major API that conflicts with the lockfile. Repeat for a greenfield app with the MCP rate-limited, then with both version sources offline.
|
|
6
6
|
|
|
7
7
|
Pass: preserve the brownfield lock, locate matching official API docs and record the version/source/date/result before building. Fall back to official docs and the registry without requiring MCP. Offline, document the assumption and affected check without claiming a latest version. Reuse matching evidence instead of looking up the same API again.
|
|
8
8
|
|
|
9
|
-
## Case
|
|
9
|
+
## Case 2 — greenfield plan
|
|
10
10
|
|
|
11
11
|
**Prompt**
|
|
12
12
|
|
|
@@ -35,7 +35,7 @@ Pass: preserve the brownfield lock, locate matching official API docs and record
|
|
|
35
35
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
36
36
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
37
37
|
|
|
38
|
-
## Case
|
|
38
|
+
## Case 3 — brownfield mapping
|
|
39
39
|
|
|
40
40
|
**Prompt**
|
|
41
41
|
|
|
@@ -63,3 +63,65 @@ Pass: preserve the brownfield lock, locate matching official API docs and record
|
|
|
63
63
|
| Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
|
|
64
64
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
65
65
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
## Case 4 — optional discovery for a rough product idea
|
|
69
|
+
|
|
70
|
+
**Prompt**
|
|
71
|
+
|
|
72
|
+
> I have an idea for an app for independent fitness coaches. Help me figure out what to build and what stack makes sense.
|
|
73
|
+
|
|
74
|
+
**Expected behaviors**
|
|
75
|
+
|
|
76
|
+
- Selects the discovery path because the user explicitly asks for product shaping and stack guidance.
|
|
77
|
+
- Summarizes what is known, then asks about the highest-impact unresolved product outcome before framework questions.
|
|
78
|
+
- Offers a small number of plain-language choices with a recommended answer and trade-offs; allows free-form answers.
|
|
79
|
+
- Researches repository/environment facts and current technical facts rather than asking the user to supply them.
|
|
80
|
+
- Resolves dependencies progressively and records user choices, accepted recommendations, assumptions, scope, non-goals, and validation criteria in existing brief/plan artifacts.
|
|
81
|
+
- Stops when material decisions are actionable and obtains approval for a major product/architecture commitment.
|
|
82
|
+
|
|
83
|
+
**Failure signals**
|
|
84
|
+
|
|
85
|
+
- opens with a generic questionnaire or asks every category at once.
|
|
86
|
+
- makes the user choose libraries before clarifying the product's primary job.
|
|
87
|
+
- keeps asking low-impact questions after the plan is actionable.
|
|
88
|
+
- treats the agent's recommendation as user approval.
|
|
89
|
+
|
|
90
|
+
## Case 5 — complete brief does not trigger a grill
|
|
91
|
+
|
|
92
|
+
**Prompt**
|
|
93
|
+
|
|
94
|
+
> In this existing repository, add a CSV export button to the report page. Keep the current stack and design system. The export must include the active date filter, respect the current permission check, and have a loading and error state. Use the existing export utility if one exists.
|
|
95
|
+
|
|
96
|
+
**Expected behaviors**
|
|
97
|
+
|
|
98
|
+
- Inspects the existing report route, export utilities, permission logic, dependencies, and tests.
|
|
99
|
+
- Uses a direct/scoped plan and proceeds without an unnecessary discovery interview.
|
|
100
|
+
- Asks only if a material conflict or missing contract cannot be resolved from repository evidence.
|
|
101
|
+
- Records any small reversible assumption instead of blocking the task.
|
|
102
|
+
|
|
103
|
+
**Failure signals**
|
|
104
|
+
|
|
105
|
+
- asks the user to reselect the stack, platform, or styling system.
|
|
106
|
+
- asks generic questions already answered by the prompt or repository.
|
|
107
|
+
- treats every unknown detail as a reason to stop.
|
|
108
|
+
|
|
109
|
+
## Case 6 — brownfield feature discovery after repository inspection
|
|
110
|
+
|
|
111
|
+
**Prompt**
|
|
112
|
+
|
|
113
|
+
> I want to add collaboration to this app, but I'm not sure what the first version should include.
|
|
114
|
+
|
|
115
|
+
**Expected behaviors**
|
|
116
|
+
|
|
117
|
+
- Maps the existing app, identity/auth model, data ownership, permissions, realtime/offline model, deployment, and current stack before asking.
|
|
118
|
+
- Keeps the existing stack unless a separate runtime is genuinely needed and migration is authorized.
|
|
119
|
+
- Asks about the most consequential unresolved collaboration workflow and MVP boundary, with concrete options and a recommendation.
|
|
120
|
+
- Separates repository facts from user decisions and records resulting data/privacy/permission implications.
|
|
121
|
+
- Defers stack comparison unless evidence shows the current stack cannot satisfy a requirement.
|
|
122
|
+
|
|
123
|
+
**Failure signals**
|
|
124
|
+
|
|
125
|
+
- starts with a fresh technology shortlist before reading the codebase.
|
|
126
|
+
- asks the user for facts already present in manifests, API contracts, or project docs.
|
|
127
|
+
- assumes "collaboration" means realtime multiplayer editing without confirming the intended job.
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
# pixelcraft-review evaluation cases
|
|
2
2
|
|
|
3
|
-
## Case — distinguish brand choices from a broken task
|
|
3
|
+
## Case 1 — distinguish brand choices from a broken task
|
|
4
4
|
|
|
5
5
|
**Prompt:** Review a brownfield dashboard with intentional Inter typography and a purple gradient in the approved wordmark. A card has a repeated decorative rail; one product image is broken and an opaque overlay hides the save control. A separate landing page has an unapproved default gradient and generic copy.
|
|
6
6
|
|
|
7
7
|
**Expected:** Keep justified brand choices with narrowly scoped reasons; flag the landing treatment as an advisory when the brief does not justify it; verify image/overlay issues in the rendered flow with viewport, state and impact. A closed dialog or decorative transparent overlay is a negative control. The review must not turn CSS/JSON findings into a task pass or rewrite the design solely to lower the score.
|
|
8
8
|
|
|
9
|
-
## Case
|
|
9
|
+
## Case 2 — slop review
|
|
10
10
|
|
|
11
11
|
**Prompt**
|
|
12
12
|
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
35
35
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
36
36
|
|
|
37
|
-
## Case
|
|
37
|
+
## Case 3 — state audit
|
|
38
38
|
|
|
39
39
|
**Prompt**
|
|
40
40
|
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# pixelcraft-visual-qa evaluation cases
|
|
2
2
|
|
|
3
|
-
## Case — a dashboard fits three widths but fails by height and input
|
|
3
|
+
## Case 1 — a dashboard fits three widths but fails by height and input
|
|
4
4
|
|
|
5
5
|
Verify a sortable orders workspace. The desktop table and sidebar work with a pointer, but a touch user cannot open row actions; a sticky footer covers the active field in landscape with the keyboard open; resizing clears the draft. The portrait and desktop screenshots look polished.
|
|
6
6
|
|
|
7
7
|
Pass: record distinct touch and pointer/keyboard compositions and preserved semantics in the plan; execute the same order task at the applicable sizes including landscape and short height and during resize. Keep sorting, labels and draft state reachable. Fail if the agent just shrinks the table, hides useful fields or actions, or reports PASS from three static width captures.
|
|
8
8
|
|
|
9
|
-
## Case — attractive capture hides motion, latency, or input failures
|
|
9
|
+
## Case 2 — attractive capture hides motion, latency, or input failures
|
|
10
10
|
|
|
11
11
|
Compare two versions of a responsive product demo, where the more expressive version increases initial payload and relies on an animation to reveal essential text. Repeat for a controller HUD with muted color and a native window with keyboard-only input.
|
|
12
12
|
|
|
13
13
|
Pass: compare like-for-like artifacts and inspect real reduced-motion behavior; use controller/device or native resize/focus evidence where applicable. Report a usable fallback and task outcome, or label missing runtime checks `not-checked`. Fail if gallery medians, a CSS media-rule hit, or browser emulation are presented as proof of usability on every platform.
|
|
14
14
|
|
|
15
|
-
## Case — desktop passes but the responsive task cannot ship
|
|
15
|
+
## Case 3 — desktop passes but the responsive task cannot ship
|
|
16
16
|
|
|
17
17
|
**Prompt:** Verify a local ecommerce search/filter flow. Its wide capture looks polished, but the submit button is covered at 390px and has no visible keyboard focus. A loading fixture never resolves; one error fixture is unavailable. The clipping still reproduces after three scoped repairs. A teammate suggests accepting a new screenshot baseline and calling the build passing.
|
|
18
18
|
|
|
@@ -22,7 +22,7 @@ Pass: compare like-for-like artifacts and inspect real reduced-motion behavior;
|
|
|
22
22
|
| Outcome | Assert filtered results after submit, retain the failure trace, mark the unavailable error fixture `not-checked`. | Treat loading the page, compiling, or showing a spinner as successful search. |
|
|
23
23
|
| Repair/handoff | Preserve assertions and baseline, rerun affected checks, report OPEN with remaining clipping and unchecked scenario. | Hide overflow, weaken tests, make a fourth repair, or call OPEN a pass. |
|
|
24
24
|
|
|
25
|
-
## Case
|
|
25
|
+
## Case 4 — render check
|
|
26
26
|
|
|
27
27
|
**Prompt**
|
|
28
28
|
|
|
@@ -51,7 +51,7 @@ Pass: compare like-for-like artifacts and inspect real reduced-motion behavior;
|
|
|
51
51
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
52
52
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
53
53
|
|
|
54
|
-
## Case
|
|
54
|
+
## Case 5 — fix loop
|
|
55
55
|
|
|
56
56
|
**Prompt**
|
|
57
57
|
|
|
@@ -78,3 +78,9 @@ Pass: compare like-for-like artifacts and inspect real reduced-motion behavior;
|
|
|
78
78
|
| Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
|
|
79
79
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
80
80
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
81
|
+
|
|
82
|
+
## Case 6 — timeline and real-time graphics need more than a screenshot
|
|
83
|
+
|
|
84
|
+
Verify a motion-led landing page with a pinned chapter and a 3D product view. Initial and final screenshots look correct, but the timeline can leak after route changes, the canvas can lose context, and mobile frame time has not been measured.
|
|
85
|
+
|
|
86
|
+
Pass: capture named timeline milestones and interrupted/reduced-motion states; execute reverse/fast scroll, keyboard/touch, route unmount, resize, and context recovery where supported. Record actual device/browser/GPU conditions, asset/transfer cost, frame-time evidence, and remaining not-checked items. Do not treat a static capture or desktop emulation as proof of motion lifecycle or mobile GPU performance.
|
package/evals/pixelcraft-web.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# pixelcraft-web evaluation cases
|
|
2
2
|
|
|
3
|
-
## Case — compact campaign shell with a costly hero
|
|
3
|
+
## Case 1 — compact campaign shell with a costly hero
|
|
4
4
|
|
|
5
5
|
**Prompt**
|
|
6
6
|
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
|
|
17
17
|
- Shrinks wide navigation without testing a touch action; classifies a hidden but eagerly loaded scene as a lightweight fallback; reports reduced-motion support from a media query alone.
|
|
18
18
|
|
|
19
|
-
## Case
|
|
19
|
+
## Case 2 — react app
|
|
20
20
|
|
|
21
21
|
**Prompt**
|
|
22
22
|
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
44
44
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
45
45
|
|
|
46
|
-
## Case
|
|
46
|
+
## Case 3 — pwa request
|
|
47
47
|
|
|
48
48
|
**Prompt**
|
|
49
49
|
|
|
@@ -69,3 +69,21 @@
|
|
|
69
69
|
| Trigger/routing | Implements directly with generic assumptions | Recognizes the domain and applies the matching skill/reference |
|
|
70
70
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
71
71
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
72
|
+
|
|
73
|
+
## Case 4 — combine a timeline, product scene, and GPU effect in a brownfield app
|
|
74
|
+
|
|
75
|
+
**Prompt**
|
|
76
|
+
|
|
77
|
+
> Add a choreographed scroll chapter, a 3D product preview, and a subtle particle layer to an existing Next.js app.
|
|
78
|
+
|
|
79
|
+
**Expected behaviors**
|
|
80
|
+
|
|
81
|
+
- Inspects the installed stack/runtime and routes motion, 3D, and graphics to the existing web references.
|
|
82
|
+
- Uses a narrow client boundary and keeps content, product data, navigation, and purchase actions in semantic DOM.
|
|
83
|
+
- Chooses GSAP only for the complex timeline, R3F/Three.js only for the product scene, and Canvas/Pixi/WebGL only if the particle workload warrants it.
|
|
84
|
+
- Defines poster/loading/error/context-loss, reduced-motion, touch, and static fallbacks.
|
|
85
|
+
- Checks package versions, plugin access, asset compression, lazy loading, and measured device budgets before changing dependencies.
|
|
86
|
+
|
|
87
|
+
**Failure signals**
|
|
88
|
+
|
|
89
|
+
- Hydrates the whole route, installs every library, hides product semantics in canvas, assumes WebGPU, or uses smooth scrolling to hijack input.
|
package/evals/pixelcraft.md
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
# pixelcraft evaluation cases
|
|
2
2
|
|
|
3
|
-
## Case — new project, extension, or rebuild under pressure
|
|
3
|
+
## Case 1 — new project, extension, or rebuild under pressure
|
|
4
4
|
|
|
5
5
|
In one run, ask for a new booking app from an empty project with undecided direction and an existing backend contract. In a second run, ask to add a waitlist screen to an existing app using its current stack, routing and shared booking state. In a third run, ask to rebuild an existing version whose deep links, booking confirmation, localized copy and keyboard flow must keep working. In each run, ask to move quickly, without waiving any check.
|
|
6
6
|
|
|
7
7
|
Pass: follow the phase order and show evidence of actual reading and decisions before implementing the new app. For the extension, read the host conventions and integration points, specify waitlist states before implementation, and verify both joining the waitlist and the existing booking flow. In the rebuild, read the existing contracts, baseline the affected outcomes, and verify them after replacing the UI. Use the current project stack unless a change is authorized. Fail if the agent jumps from a quick scan to building, interprets an extension or rebuild as greenfield, drops preserved behavior, or marks an unavailable check as passing.
|
|
8
8
|
|
|
9
|
-
## Case — narrow repair with a misleading green probe
|
|
9
|
+
## Case 2 — narrow repair with a misleading green probe
|
|
10
10
|
|
|
11
11
|
Give the agent a working settings screen with a broken Save handler, prior stack evidence, labeled demo rows and an unrelated TODO in a test. A browser screenshot looks correct and a shell probe swallows a failing exit code.
|
|
12
12
|
|
|
13
13
|
Pass: reuse the plan, repair Save without redesigning, verify a persisted change or report it unchecked, preserve legitimate fixtures and unrelated TODOs, and never cite the swallowed error as a pass. Under a low budget give a checkpoint with evidence and the next meaningful check rather than rerunning the same commands.
|
|
14
14
|
|
|
15
|
-
## Case
|
|
15
|
+
## Case 3 — full redesign
|
|
16
16
|
|
|
17
17
|
**Prompt**
|
|
18
18
|
|
|
@@ -41,7 +41,7 @@ Pass: reuse the plan, repair Save without redesigning, verify a persisted change
|
|
|
41
41
|
| Constraint fidelity | Relies on common defaults or stale APIs | Uses the exact surface constraints, state model, and platform idioms in the expected behaviors |
|
|
42
42
|
| Verification | Reports code/text output only | Provides appropriate rendered/static/model evidence and labels unavailable checks |
|
|
43
43
|
|
|
44
|
-
## Case
|
|
44
|
+
## Case 4 — brownfield polish
|
|
45
45
|
|
|
46
46
|
**Prompt**
|
|
47
47
|
|
package/gemini-extension.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pixelcraft",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Portable Agent Skills for distinctive UI and rigorous UX across frontend stacks"
|
|
3
|
+
"version": "0.2.0",
|
|
4
|
+
"description": "Portable Agent Skills for distinctive UI and rigorous UX across frontend stacks",
|
|
5
|
+
"contextFileName": "GEMINI.md"
|
|
5
6
|
}
|