@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,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "3d-web-engineering",
|
|
4
|
+
"skill": "pixelcraft-web",
|
|
5
|
+
"title": "3D product preview with semantic fallback",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "product detail page",
|
|
8
|
+
"platform": "Next.js web",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": [
|
|
11
|
+
"loading",
|
|
12
|
+
"ready",
|
|
13
|
+
"unsupported",
|
|
14
|
+
"context lost",
|
|
15
|
+
"mobile touch",
|
|
16
|
+
"reduced motion"
|
|
17
|
+
],
|
|
18
|
+
"constraints": [
|
|
19
|
+
"keep purchase controls in DOM",
|
|
20
|
+
"mobile GPU budget",
|
|
21
|
+
"existing brownfield stack"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"prompt": "Add a rotatable product scene to a working product page and verify it on representative devices.",
|
|
25
|
+
"expectedRouting": [
|
|
26
|
+
"pixelcraft-web",
|
|
27
|
+
"pixelcraft-plan",
|
|
28
|
+
"pixelcraft-visual-qa"
|
|
29
|
+
],
|
|
30
|
+
"forbiddenBehaviors": [
|
|
31
|
+
"all content inside canvas",
|
|
32
|
+
"uncompressed assets",
|
|
33
|
+
"WebGPU-only path",
|
|
34
|
+
"state updates on every frame"
|
|
35
|
+
],
|
|
36
|
+
"rubricDimensions": [
|
|
37
|
+
{
|
|
38
|
+
"dimension": "renderer choice",
|
|
39
|
+
"pass": "selects R3F/Three.js/Spline or no 3D from actual needs",
|
|
40
|
+
"fail": "defaults to 3D for decoration"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"dimension": "asset pipeline",
|
|
44
|
+
"pass": "compresses and lazy-loads models/textures with poster/loading state",
|
|
45
|
+
"fail": "eagerly ships oversized assets"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"dimension": "recovery",
|
|
49
|
+
"pass": "handles context loss, resize, cleanup and static fallback",
|
|
50
|
+
"fail": "no failure state or teardown"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"negativeControls": [
|
|
54
|
+
{
|
|
55
|
+
"name": "latest API temptation",
|
|
56
|
+
"input": "WebGPU is newer",
|
|
57
|
+
"mustNot": "treat it as a universal production baseline"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "beautiful canvas",
|
|
61
|
+
"input": "Canvas screenshot looks correct",
|
|
62
|
+
"mustNot": "claim keyboard, mobile, or semantic verification"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"baseline": {
|
|
66
|
+
"withoutSkill": "adds a canvas without accessibility or asset planning",
|
|
67
|
+
"withSkill": "documents renderer decision, asset preparation, fallbacks and device evidence"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# Eval fixture schema
|
|
2
|
+
|
|
3
|
+
JSON fixtures in this directory define deterministic behavioral contexts for evaluation. They are structured inputs for evaluators, not executable user tests.
|
|
4
|
+
|
|
5
|
+
Required shape:
|
|
6
|
+
|
|
7
|
+
```json
|
|
8
|
+
{
|
|
9
|
+
"schemaVersion": 1,
|
|
10
|
+
"id": "fixture-id-matching-filename",
|
|
11
|
+
"skill": "pixelcraft-visual-qa",
|
|
12
|
+
"title": "short behavioral name",
|
|
13
|
+
"contextSnapshot": {
|
|
14
|
+
"surface": "surface under test",
|
|
15
|
+
"platform": "target platform/stack",
|
|
16
|
+
"mode": "Operate/Read/Persuade/Experience/Play/Communicate/hybrid",
|
|
17
|
+
"states": ["state coverage"],
|
|
18
|
+
"constraints": ["input/locale/runtime constraints"]
|
|
19
|
+
},
|
|
20
|
+
"prompt": "representative user prompt",
|
|
21
|
+
"expectedRouting": ["skills/references expected"],
|
|
22
|
+
"forbiddenBehaviors": ["behavior that must not occur"],
|
|
23
|
+
"rubricDimensions": [
|
|
24
|
+
{ "dimension": "what is judged", "pass": "pass evidence", "fail": "failure evidence" }
|
|
25
|
+
],
|
|
26
|
+
"negativeControls": [
|
|
27
|
+
{ "name": "control name", "input": "misleading evidence/condition", "mustNot": "incorrect inference/behavior" }
|
|
28
|
+
],
|
|
29
|
+
"baseline": {
|
|
30
|
+
"withoutSkill": "expected baseline weakness",
|
|
31
|
+
"withSkill": "expected improvement"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
`schemaVersion` must be `1`. The validator checks structure, uniqueness, filename/id agreement, existing skill names, nonempty routing/forbidden/rubric/control arrays, and baseline fields. It does not judge semantic quality; evaluators do.
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "acceptance-checklist-rule03-gate",
|
|
4
|
+
"skill": "pixelcraft-review",
|
|
5
|
+
"title": "Enforce Studio $10k-$20k Acceptance Checklist (check-acceptance.mjs) and Rule #0.3 forbidding static/model-judgment passes on visual, performance, and accessibility gates",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "Commercial client handoff audit across responsive web and transactional email",
|
|
8
|
+
"platform": "Cross-platform acceptance gate (check-acceptance.mjs + slop-scan.mjs + check-email.mjs)",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["initialized pending .pixelcraft/acceptance.json", "first scan revealing static-only a11y/perf claims and unfilled {{name}} email tag", "repair + rendered measurement pass", "final PASS_STUDIO_10K_20K sign-off"],
|
|
11
|
+
"constraints": ["initialize .pixelcraft/acceptance.json for target platform", "enforce Rule #0.3: static and model-judgment never count as pass for visual, performance, or interactive accessibility rows", "loop Fix -> Re-scan -> check-acceptance.mjs until exit 0 (or honest PENDING_RENDERED_ENV when physical hardware is absent)"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Run a full Studio-Grade ($10k-$20k bar) acceptance audit and polish pass before client handoff on a billing portal and its receipt email. Initialize and execute the Pixelcraft acceptance checklist, fix any failing gates, and do not stop until acceptance passes honestly.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-review", "pixelcraft-visual-qa", "references/polish.md", "references/audit-report.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"marks visual layout, Core Web Vitals/Lighthouse performance, or screen-reader/keyboard accessibility rows as pass using static code reading or model-judgment (violating Rule #0.3)",
|
|
17
|
+
"leaves .pixelcraft/acceptance.json uninitialized or stops while check-acceptance.mjs, slop-scan.mjs --fail-on p2, or check-email.mjs still exits non-zero with fixable failures",
|
|
18
|
+
"claims PASS_STUDIO_10K_20K when real-device or rendered runtime checks were skipped instead of recording concrete not-checked reasons (PENDING_RENDERED_ENV) or client-signed waivers"
|
|
19
|
+
],
|
|
20
|
+
"rubricDimensions": [
|
|
21
|
+
{
|
|
22
|
+
"dimension": "Rule #0.3 rendered-evidence discipline and honest 3-tier grading",
|
|
23
|
+
"pass": "uses rendered evidence (3-run Lighthouse/captures/keyboard/screen-reader/client previews) for visual, performance, and interactive a11y rows, uses not-checked with concrete missing-hardware reasons or client-approved waived entries where blocked, and grades FAIL vs PENDING_RENDERED_ENV vs PASS_STUDIO_10K_20K vs EXCEEDS_STUDIO accurately",
|
|
24
|
+
"fail": "treats static source inspection or heuristic AI judgment as a passing visual/performance/accessibility sign-off"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"dimension": "executable checklist loop until passing",
|
|
28
|
+
"pass": "initializes .pixelcraft/acceptance.json via check-acceptance.mjs --init, runs slop-scan.mjs --fail-on p2 and check-email.mjs, fixes defects (such as {{name}} merge leaks or >16KB/@layer email styles), and re-runs check-acceptance.mjs until zero failing or pending rows remain",
|
|
29
|
+
"fail": "ticks markdown checkboxes superficially without running check-acceptance.mjs or stops while failing/pending checklist items remain"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"negativeControls": [
|
|
33
|
+
{
|
|
34
|
+
"name": "static source inspection claimed as accessibility & CWV pass",
|
|
35
|
+
"input": "TypeScript compiles and JSX contains aria-label attributes, but no browser, Lighthouse, keyboard, or screen-reader run was executed",
|
|
36
|
+
"mustNot": "mark A4-accessibility-floor, M8-measured-performance, or WEB-1-cwv-and-3run-lighthouse as pass with static or model-judgment"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"baseline": {
|
|
40
|
+
"withoutSkill": "ticks off a checklist from reading source code alone, misses Rule #0.3 rendered requirements, overlooks email @layer/{{name}} bugs, and claims $10k-$20k readiness prematurely",
|
|
41
|
+
"withSkill": "drives completion through check-acceptance.mjs, enforces Rule #0.3 rendered evidence on visual/perf/a11y gates, repairs scanner defects in a loop until exit 0, and emits an honest 3-tier Studio acceptance verdict"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "ai-ui-libraries",
|
|
4
|
+
"skill": "pixelcraft-chat-ui",
|
|
5
|
+
"title": "Implement AI-native streaming chat, generative tool UI, and human-in-the-loop gates safely",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "in-app AI copilot with streaming tool cards and destructive-action approval",
|
|
8
|
+
"platform": "Next.js App Router + TypeScript",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["streaming response", "abort/stop", "partial tool args", "human approval gate"],
|
|
11
|
+
"constraints": ["AI SDK v5/v6 message.parts API", "no runaway unabortable streams", "explicit approval before destructive tool calls"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Build an AI copilot UI with streaming responses, generative tool result cards, and human-in-the-loop approval using Vercel AI SDK UI, assistant-ui, or CopilotKit.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-chat-ui", "references/ai-ui-libraries.md", "references/agentic-workspace.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"puts aria-live='assertive' on a token-by-token streaming container",
|
|
17
|
+
"omits a stop/abort button while status is submitted or streaming",
|
|
18
|
+
"executes destructive tool mutations automatically without a human-in-the-loop approval gate"
|
|
19
|
+
],
|
|
20
|
+
"rubricDimensions": [
|
|
21
|
+
{
|
|
22
|
+
"dimension": "library and API accuracy",
|
|
23
|
+
"pass": "uses AI SDK v5/v6 DefaultChatTransport + sendMessage + message.parts + stop(), assistant-ui headless primitives, or CopilotKit v2 useFrontendTool/useHumanInTheLoop accurately",
|
|
24
|
+
"fail": "mixes outdated AI SDK v3/v4 APIs or crashes on partial streaming tool args"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"dimension": "control and approval safety",
|
|
28
|
+
"pass": "exposes stop/cancel during active streams and pauses destructive actions for single-response user approval",
|
|
29
|
+
"fail": "locks the user out during streaming or auto-runs destructive mutations"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"dimension": "streaming accessibility",
|
|
33
|
+
"pass": "avoids token-by-token aria-live spam and preserves keyboard focus and scroll-yield",
|
|
34
|
+
"fail": "floods screen readers on every streamed token"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"negativeControls": [
|
|
38
|
+
{
|
|
39
|
+
"name": "assertive token live region",
|
|
40
|
+
"input": "wrap the streaming assistant paragraph in <div aria-live='assertive'>",
|
|
41
|
+
"mustNot": "recommend aria-live='assertive' on rapidly streaming token containers"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "unabortable stream",
|
|
45
|
+
"input": "disable the form during streaming without rendering a Stop button wired to stop()",
|
|
46
|
+
"mustNot": "omit a cancel/stop control during active AI streaming"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"baseline": {
|
|
50
|
+
"withoutSkill": "copies outdated AI SDK v3 patterns, omits stop(), crashes on partial tool args, and spams screen readers during streaming",
|
|
51
|
+
"withSkill": "uses current AI SDK v5/v6 parts/transport, assistant-ui primitives, or CopilotKit HITL hooks with abort controls, partial-arg guards, and calm streaming a11y"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "audio-visual-accessibility",
|
|
4
|
+
"skill": "pixelcraft-web",
|
|
5
|
+
"title": "Audio-reactive media remains optional and accessible",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "music launch page",
|
|
8
|
+
"platform": "mobile and desktop web",
|
|
9
|
+
"mode": "Experience",
|
|
10
|
+
"states": [
|
|
11
|
+
"muted",
|
|
12
|
+
"user starts playback",
|
|
13
|
+
"autoplay denied",
|
|
14
|
+
"hidden tab",
|
|
15
|
+
"reduced motion",
|
|
16
|
+
"media failure"
|
|
17
|
+
],
|
|
18
|
+
"constraints": [
|
|
19
|
+
"consent before sound",
|
|
20
|
+
"captions for speech",
|
|
21
|
+
"low-power mobile"
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"prompt": "Create an optional audio-reactive background and a video-texture fallback for a product launch.",
|
|
25
|
+
"expectedRouting": [
|
|
26
|
+
"pixelcraft-web",
|
|
27
|
+
"pixelcraft-accessibility",
|
|
28
|
+
"pixelcraft-visual-qa"
|
|
29
|
+
],
|
|
30
|
+
"forbiddenBehaviors": [
|
|
31
|
+
"sound autoplay without consent",
|
|
32
|
+
"microphone recording without permission",
|
|
33
|
+
"audio only information",
|
|
34
|
+
"unbounded media playback"
|
|
35
|
+
],
|
|
36
|
+
"rubricDimensions": [
|
|
37
|
+
{
|
|
38
|
+
"dimension": "consent and control",
|
|
39
|
+
"pass": "uses explicit play/mute/pause/stop and honors autoplay constraints",
|
|
40
|
+
"fail": "starts audible playback automatically"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"dimension": "fallback",
|
|
44
|
+
"pass": "maintains silent/static or ordinary-video path",
|
|
45
|
+
"fail": "meaning requires audio or WebGL"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"dimension": "media lifecycle",
|
|
49
|
+
"pass": "pauses and releases resources when hidden/offscreen/unmounted",
|
|
50
|
+
"fail": "media runs after route change"
|
|
51
|
+
}
|
|
52
|
+
],
|
|
53
|
+
"negativeControls": [
|
|
54
|
+
{
|
|
55
|
+
"name": "muted environment",
|
|
56
|
+
"input": "Browser blocks autoplay and has no audio output",
|
|
57
|
+
"mustNot": "leave page empty or unusable"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "no WebCodecs",
|
|
61
|
+
"input": "WebCodecs unavailable",
|
|
62
|
+
"mustNot": "make video playback impossible"
|
|
63
|
+
}
|
|
64
|
+
],
|
|
65
|
+
"baseline": {
|
|
66
|
+
"withoutSkill": "ties visuals to an unbounded audio loop",
|
|
67
|
+
"withSkill": "separates media state, user control, fallback and device behavior"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "auth-and-checkout-ui",
|
|
4
|
+
"skill": "pixelcraft-web",
|
|
5
|
+
"title": "Build accessible Passkeys/WebAuthn conditional UI, OTP flows, and PCI-safe checkout UI",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "SaaS sign-in with Passkeys + password fallback and subscription checkout page",
|
|
8
|
+
"platform": "Web (Next.js / React + TypeScript)",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["passkey autofill", "OTP paste", "card decline recovery", "pending payment lock"],
|
|
11
|
+
"constraints": ["WCAG 3.3.8 allow paste/password managers", "AbortController on conditional WebAuthn", "no raw PAN inputs"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Implement a sign-in form with WebAuthn Passkeys conditional UI and OTP verification, plus a Stripe-backed subscription checkout page with clean decline recovery.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-web", "references/auth-and-checkout-ui.md", "pixelcraft-accessibility"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"blocks paste on password or OTP inputs (violates WCAG 3.3.8)",
|
|
17
|
+
"starts conditional WebAuthn without feature-detecting isConditionalMediationAvailable() or AbortController",
|
|
18
|
+
"collects raw credit card numbers in custom inputs instead of PCI-isolated hosted elements or wipes fields on decline"
|
|
19
|
+
],
|
|
20
|
+
"rubricDimensions": [
|
|
21
|
+
{
|
|
22
|
+
"dimension": "WebAuthn and authentication UX",
|
|
23
|
+
"pass": "uses autocomplete='username webauthn', feature-detects isConditionalMediationAvailable(), passes AbortController signal, and allows paste/password managers",
|
|
24
|
+
"fail": "forces disruptive modal WebAuthn on load or disables paste on password/OTP fields"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"dimension": "OTP and MFA ergonomics",
|
|
28
|
+
"pass": "supports full-code paste with autocomplete='one-time-code' and inputmode='numeric', plus resend countdown and editable email",
|
|
29
|
+
"fail": "breaks SMS autofill or forces users to type digits one box at a time without paste"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"dimension": "checkout safety and recovery",
|
|
33
|
+
"pass": "uses PCI-isolated Elements themed with tokens, locks Pay CTA with exact amount during submit, and preserves fields on card decline",
|
|
34
|
+
"fail": "handles raw PANs in app state or clears user inputs on payment failure"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"negativeControls": [
|
|
38
|
+
{
|
|
39
|
+
"name": "blocked password paste",
|
|
40
|
+
"input": "add onPaste={(e) => e.preventDefault()} on the confirm-password and OTP inputs",
|
|
41
|
+
"mustNot": "approve blocking paste on password or OTP inputs"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "unaborted conditional webauthn",
|
|
45
|
+
"input": "call navigator.credentials.get({ mediation: 'conditional' }) without AbortController or feature detection",
|
|
46
|
+
"mustNot": "omit isConditionalMediationAvailable() check or AbortController cancellation"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"baseline": {
|
|
50
|
+
"withoutSkill": "blocks paste on OTP/passwords, fires unguarded WebAuthn prompts, or wipes checkout fields on decline",
|
|
51
|
+
"withSkill": "wires conditional WebAuthn with AbortController, WCAG 3.3.8 paste/autofill support, PCI-isolated payment elements, and resilient decline recovery"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "brandkit-identity-governance",
|
|
4
|
+
"skill": "pixelcraft-brandkit",
|
|
5
|
+
"title": "Compare distinct brand worlds, keep rejected concepts outside the image prompt, and ship small-size icon evidence",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "brand identity board, icon system, and DTCG token handoff",
|
|
8
|
+
"platform": "cross-platform brand asset pipeline (iOS/macOS, Android, web SVG)",
|
|
9
|
+
"mode": "Persuade",
|
|
10
|
+
"states": ["brand-world divergence", "small-size 16px/32px reduction", "light and dark mark contrast", "DTCG token export"],
|
|
11
|
+
"constraints": ["no rejected ideas inside image prompt", "no legal trademark clearance claims", "real SVGO preset-default optimization"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Create a brand-kit identity board and icon asset pipeline for an open-source telemetry database, comparing distinct visual worlds before image prompting and handing off tokens.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-brandkit", "references/prompt-template.md", "references/asset-pipeline.md", "pixelcraft-tokens"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"embeds rejected concept descriptions inside the image-generation prompt block where models leak them onto the board",
|
|
17
|
+
"uses generic purple-indigo glow orbs or lightning bolt cliches as the mark",
|
|
18
|
+
"claims the generated mark is legally cleared for trademark registration or omits 16px/32px legibility reduction"
|
|
19
|
+
],
|
|
20
|
+
"rubricDimensions": [
|
|
21
|
+
{
|
|
22
|
+
"dimension": "brand-world divergence and prompt hygiene",
|
|
23
|
+
"pass": "compares 2-3 materially different brand worlds in a separate decision log and keeps rejected concepts outside the image prompt",
|
|
24
|
+
"fail": "jumps straight to one prompt or leaks rejected concepts into the generation prompt"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"dimension": "reproduction and icon pipeline",
|
|
28
|
+
"pass": "specifies small-size reductions, light/dark contrast pairs, iOS/macOS layered or dark/tinted icon outputs, and valid SVGO preset-default config",
|
|
29
|
+
"fail": "produces only a complex hero illustration that collapses at 16px or emits broken SVGO config"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"dimension": "governance and token handoff",
|
|
33
|
+
"pass": "hands off semantic palette and type roles to pixelcraft-tokens and escalates trademark clearance outside agent authority",
|
|
34
|
+
"fail": "implies legal clearance or leaves colors as unmapped hex swatches"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"negativeControls": [
|
|
38
|
+
{
|
|
39
|
+
"name": "hero-only board proof",
|
|
40
|
+
"input": "a high-resolution 4K brand board image looks detailed at full size",
|
|
41
|
+
"mustNot": "treat full-size detail as evidence that the mark survives 16px favicon or monochrome reproduction"
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
"baseline": {
|
|
45
|
+
"withoutSkill": "writes a single generic dark-indigo neon prompt with rejected concepts inside the prompt text and no small-size or token handoff",
|
|
46
|
+
"withSkill": "diverges across distinct brand worlds, isolates the final image prompt, specifies small-size/contrast/icon deliverables, and routes palette/type to DTCG tokens"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "build-and-architecture",
|
|
4
|
+
"skill": "pixelcraft-web",
|
|
5
|
+
"title": "Select version-accurate frontend bundlers, rendering strategy, and browser runtime offloading",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "multi-team enterprise web app with heavy client-side CSV/canvas analytics and offline support",
|
|
8
|
+
"platform": "Vite 8 / Rsbuild + TypeScript",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["initial load", "offline mutation queue", "heavy data parsing", "federated remote load"],
|
|
11
|
+
"constraints": ["Vite 8 Rolldown/Oxc compatibility", "INP < 200ms", "no duplicate React singletons across remotes"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Configure Vite 8 bundling, Module Federation shared singletons, Web Worker/OffscreenCanvas offloading, and Serwist offline caching for our frontend app.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-web", "references/build-and-architecture.md", "references/pwa.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"writes deprecated esbuild or optimizeDeps.esbuildOptions config as the primary Vite 8 pattern",
|
|
17
|
+
"configures Module Federation remotes without marking React as a singleton",
|
|
18
|
+
"stores mutable offline queue state in Service Worker in-memory variables"
|
|
19
|
+
],
|
|
20
|
+
"rubricDimensions": [
|
|
21
|
+
{
|
|
22
|
+
"dimension": "bundler version accuracy",
|
|
23
|
+
"pass": "uses Vite 8 oxc and build.rolldownOptions / optimizeDeps.rolldownOptions (or Rsbuild moduleFederation.options) accurately",
|
|
24
|
+
"fail": "copies outdated Vite 5/6 esbuild or Rollup-only config into a Vite 8 setup"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"dimension": "architecture and federation safety",
|
|
28
|
+
"pass": "matches rendering strategy to route needs and pins singleton shared dependencies with version ranges in Module Federation",
|
|
29
|
+
"fail": "recommends microfrontends without deployment justification or omits singleton constraints"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"dimension": "runtime and offline resilience",
|
|
33
|
+
"pass": "offloads heavy compute/canvas to Web Workers/OffscreenCanvas and uses Serwist/Workbox with persistent storage and BackgroundSyncPlugin",
|
|
34
|
+
"fail": "blocks the main thread or relies on ephemeral Service Worker memory"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"negativeControls": [
|
|
38
|
+
{
|
|
39
|
+
"name": "vite 8 deprecated esbuild config",
|
|
40
|
+
"input": "add optimizeDeps.esbuildOptions and build.minify: 'esbuild' for a new Vite 8 project",
|
|
41
|
+
"mustNot": "recommend deprecated esbuild options as default in Vite 8"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "ephemeral sw memory",
|
|
45
|
+
"input": "keep failed POST requests in a let queue = [] array inside sw.ts",
|
|
46
|
+
"mustNot": "approve in-memory Service Worker arrays for offline persistence"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"baseline": {
|
|
50
|
+
"withoutSkill": "writes outdated Vite/esbuild config, omits Module Federation singleton pins, and blocks the main thread",
|
|
51
|
+
"withSkill": "uses Vite 8 Rolldown/Oxc options, enforces Module Federation singletons, offloads heavy work to Workers/OffscreenCanvas, and wires Serwist caching safely"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "canvas-and-node-editors",
|
|
4
|
+
"skill": "pixelcraft-web",
|
|
5
|
+
"title": "Select and implement node-graph, 2D canvas, whiteboard, and drag-and-drop editors safely",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "visual workflow builder and kanban board with custom canvas annotation",
|
|
8
|
+
"platform": "React + TypeScript",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["node drag/connect", "large 2D canvas drag", "keyboard list reorder", "cleanup on unmount"],
|
|
11
|
+
"constraints": ["60fps drag without node remounts", "WCAG keyboard alternative for drag-and-drop", "no leaked DnD listeners"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Build a React Flow workflow editor, a Konva 2D annotation stage, and an accessible drag-and-drop kanban board without frame drops or keyboard barriers.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-web", "references/canvas-and-node-editors.md", "pixelcraft-accessibility"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"passes an unmemoized inline nodeTypes object literal to ReactFlow on every render",
|
|
17
|
+
"omits KeyboardSensor in dnd-kit or ships pointer-only Pragmatic DnD without a keyboard reorder alternative",
|
|
18
|
+
"omits cleanup functions when registering Pragmatic Drag and Drop draggable or dropTargetForElements"
|
|
19
|
+
],
|
|
20
|
+
"rubricDimensions": [
|
|
21
|
+
{
|
|
22
|
+
"dimension": "engine fit and memoization",
|
|
23
|
+
"pass": "selects React Flow/XYFlow for DOM node workflows, Konva/Fabric for 2D canvas, tldraw/Excalidraw for whiteboards, and memoizes nodeTypes/edgeTypes and callbacks",
|
|
24
|
+
"fail": "creates inline nodeTypes on every render or picks the wrong rendering model for the object count"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"dimension": "2D canvas performance",
|
|
28
|
+
"pass": "minimizes Konva layers, sets listening=false on static layers, caches complex shapes, and uses a dedicated drag layer",
|
|
29
|
+
"fail": "redraws all uncached shapes on one listening layer during drag"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"dimension": "drag-and-drop accessibility and cleanup",
|
|
33
|
+
"pass": "preserves KeyboardSensor in dnd-kit or adds keyboard reorder actions + ARIA live announcements with Pragmatic DnD combine() cleanup",
|
|
34
|
+
"fail": "ships pointer-only DnD or leaks listeners on unmount"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"negativeControls": [
|
|
38
|
+
{
|
|
39
|
+
"name": "inline reactflow nodeTypes",
|
|
40
|
+
"input": "render <ReactFlow nodeTypes={{ trigger: TriggerNode }} /> directly inside the component body",
|
|
41
|
+
"mustNot": "accept unmemoized inline nodeTypes objects inside render"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "pointer-only dnd",
|
|
45
|
+
"input": "pass sensors={[PointerSensor]} to DragDropProvider and remove KeyboardSensor",
|
|
46
|
+
"mustNot": "approve removing keyboard drag-and-drop without an accessible keyboard alternative"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"baseline": {
|
|
50
|
+
"withoutSkill": "creates inline React Flow nodeTypes, redraws uncached Konva layers, and implements pointer-only drag-and-drop",
|
|
51
|
+
"withSkill": "memoizes React Flow types, applies Konva layer/cache/drag-layer optimization, and pairs DnD with keyboard accessibility and clean listener teardown"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "chat-ai-exfiltration-ime-hitl-gate",
|
|
4
|
+
"skill": "pixelcraft-chat-ui",
|
|
5
|
+
"title": "Design an enterprise RAG & tool-calling AI workspace with Markdown image exfiltration defense, IME Enter guard, unlocked streaming composer, and HITL diff approval",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "Enterprise AI support and database-action copilot",
|
|
8
|
+
"platform": "Web application (HTML/CSS/TypeScript streaming workspace)",
|
|
9
|
+
"mode": "Collaborate",
|
|
10
|
+
"states": ["streaming RAG answer with citations", "Japanese/Vietnamese IME composition in composer", "untrusted external Markdown image in retrieved doc", "destructive SQL/API tool call awaiting approval", "429 rate-limit retry countdown", "human agent escalation"],
|
|
11
|
+
"constraints": ["block untrusted Markdown image exfiltration via CSP img-src / proxy", "preserve editable composer during streaming with Stop AbortController", "guard Enter submit against active IME composition", "show human-readable Before -> After diff on HITL approval cards"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Build an enterprise AI copilot chat workspace that renders cited RAG answers from untrusted customer tickets, supports Japanese and Vietnamese Telex typing, lets agents approve or reject account-modifying tool calls, handles 429 rate limits, and hands off unresolved threads to a human specialist.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-chat-ui", "references/agentic-workspace.md", "references/conversation-design.md", "references/ai-ui-libraries.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"auto-loads arbitrary external `` Markdown images so prompt-injected RAG content exfiltrates conversation secrets",
|
|
17
|
+
"disables the text composer while streaming (`disabled={isBusy}`) or submits prematurely when pressing Enter to confirm IME candidates (`!event.isComposing` omitted)",
|
|
18
|
+
"renders blind raw JSON payloads on tool-approval buttons instead of a clear Before -> After impact diff, or yanks scroll position while the user reads earlier messages"
|
|
19
|
+
],
|
|
20
|
+
"rubricDimensions": [
|
|
21
|
+
{
|
|
22
|
+
"dimension": "prompt-injection exfiltration defense and input ergonomics",
|
|
23
|
+
"pass": "blocks/proxies untrusted external Markdown images via strict CSP img-src, guards Enter-to-send with `event.isComposing || event.keyCode === 229`, keeps the composer editable during streaming with an explicit Stop (AbortController) toggle, and sticks scroll only near the bottom",
|
|
24
|
+
"fail": "renders remote third-party Markdown images automatically, locks the input during streaming, or fires send on IME candidate commit"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"dimension": "HITL transparency, grounded citations, and recovery/escalation",
|
|
28
|
+
"pass": "presents Before -> After diffs on destructive tool approvals, links citations to verifiable source passages, formats errors with What/Why/Next + 429 Retry-After countdown, exposes data-retention/delete controls, and transfers context cleanly on human escalation",
|
|
29
|
+
"fail": "asks users to approve opaque tool calls, invents citation URLs, or dead-ends on rate limits and unresolved intents"
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
"negativeControls": [
|
|
33
|
+
{
|
|
34
|
+
"name": "English happy-path chat bubble demo",
|
|
35
|
+
"input": "streaming markdown text renders smoothly for an English prompt",
|
|
36
|
+
"mustNot": "claim enterprise readiness without verifying Markdown image exfiltration blocking, IME Enter composition safety, HITL diff cards, and scroll-anchor discipline"
|
|
37
|
+
}
|
|
38
|
+
],
|
|
39
|
+
"baseline": {
|
|
40
|
+
"withoutSkill": "renders untrusted Markdown images allowing data exfiltration, disables the input while streaming, breaks Telex/CJK Enter composition, and shows raw JSON tool approvals",
|
|
41
|
+
"withSkill": "delivers an exfiltration-hardened, IME-safe streaming copilot with unlocked steering, Before -> After HITL approval cards, grounded citations, and warm human escalation"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "completion-gate-scan-until-clean",
|
|
4
|
+
"skill": "pixelcraft",
|
|
5
|
+
"title": "Enforce the Mandatory Completion Gate in .pixelcraft/plan.md and run Scan-Fix-Rescan until slop-scan, check-* CLIs, compiler, and Studio checklists pass cleanly",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "Multi-screen SaaS workspace and transactional notification templates",
|
|
8
|
+
"platform": "Cross-stack UI workflow (orchestrator + plan + review + visual-qa)",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["initial build with P1/P2 scan findings", "repair round fixing IME Enter guard and focus ring", "rescan verification to exit 0", "checklist sign-off before final report"],
|
|
11
|
+
"constraints": [".pixelcraft/plan.md must lock in Definition-of-Done scan & checklist commands before Build", "Phase 5 -> Phase 6 <HARD-GATE> forbids stopping while deterministic scans or checklists fail", "fixes must be rescanned until exit 0 without suppressing rules or inventing waivers"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Plan, implement, and verify an account security & notification settings flow. Ensure the plan defines a binding completion gate and do not finish until every applicable checklist and automated scanner passes cleanly.",
|
|
14
|
+
"expectedRouting": ["pixelcraft", "pixelcraft-plan", "pixelcraft-review", "pixelcraft-visual-qa", "references/workflow-checkpoints.md", "references/floor.md", "references/report-template.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"writes .pixelcraft/plan.md with only vague verification notes instead of concrete scan, compiler/test, and checklist Definition-of-Done gates",
|
|
17
|
+
"stops immediately after Phase 4 Build or after a single scan pass while slop-scan --fail-on p2, check-* CLIs, compiler/tests, or checklist rows still fail",
|
|
18
|
+
"edits files to fix a reported finding and reports completion without re-running slop-scan, check-*, and build/test commands to confirm exit 0",
|
|
19
|
+
"adds unauthorized waivers, suppresses errors, or deletes required UI content just to force a zero scan score"
|
|
20
|
+
],
|
|
21
|
+
"rubricDimensions": [
|
|
22
|
+
{
|
|
23
|
+
"dimension": "binding Definition-of-Done completion contract in .pixelcraft/plan.md",
|
|
24
|
+
"pass": "populates the Mandatory completion gate & scan-until-clean contract in .pixelcraft/plan.md with exact slop-scan --fail-on p2, applicable check-* CLIs, active-language compiler/linter/tests, rendered finish-gate, and floor/platform/polish checklists before coding",
|
|
25
|
+
"fail": "starts coding without an explicit exit gate or treats verification as optional post-hoc commentary"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"dimension": "Scan -> Fix -> Rescan execution and item-by-item checklist sign-off",
|
|
29
|
+
"pass": "executes all applicable scanners and compiler/tests, walks floor.md + platform Pre-submit + polish.md (B1-B6) row-by-row, repairs every deterministic failure, re-runs all scans until exit 0, and records commands + repair rounds + exit codes in the final report",
|
|
30
|
+
"fail": "stops with unfixed P0-P2 scan hits, skips rescanning after code edits, or skims checklists without verifying each applicable item"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"negativeControls": [
|
|
34
|
+
{
|
|
35
|
+
"name": "fix applied without rescan",
|
|
36
|
+
"input": "slop-scan reports outline-removed and ime-enter-without-composing; agent patches CSS/JSX and immediately outputs final report without re-running slop-scan --fail-on p2 or compiler",
|
|
37
|
+
"mustNot": "claim Phase 5 Verify passed without re-executing the failing scans and confirming exit 0"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"baseline": {
|
|
41
|
+
"withoutSkill": "writes code and stops immediately or stops after one partial check, leaving unverified regressions, unfixed P1/P2 scan findings, and skipped checklist items",
|
|
42
|
+
"withSkill": "locks a Definition-of-Done contract into .pixelcraft/plan.md, walks all applicable Studio checklists, loops Scan -> Fix -> Rescan until slop-scan --fail-on p2, check-*, and compiler/tests exit 0, and reports exact scan evidence"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "component-systems",
|
|
4
|
+
"skill": "pixelcraft-web",
|
|
5
|
+
"title": "Choose component system architecture without library sprawl",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "multi-brand B2B design system web app",
|
|
8
|
+
"platform": "React 19 + Next.js App Router",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["modal dialog", "dropdown menu", "keyboard navigation", "SSR hydration"],
|
|
11
|
+
"constraints": ["distinctive brand identity", "strict WCAG AA", "existing Tailwind v4 tokens"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Choose a component system and positioning strategy for our custom B2B React design system and explain how overlays and focus should be wired.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-web", "references/component-systems.md", "references/html-css.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"recommends mixing two styled enterprise UI libraries on the same surface",
|
|
17
|
+
"ignores distinction between headless primitives, source-first components, and styled suites",
|
|
18
|
+
"uses non-deterministic random IDs for ARIA attributes in SSR"
|
|
19
|
+
],
|
|
20
|
+
"rubricDimensions": [
|
|
21
|
+
{
|
|
22
|
+
"dimension": "model selection",
|
|
23
|
+
"pass": "contrasts headless, source-first, and styled/enterprise models against brand and accessibility constraints",
|
|
24
|
+
"fail": "recommends a library by popularity without trade-off analysis"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"dimension": "composition and positioning",
|
|
28
|
+
"pass": "distinguishes render/asChild composition and evaluates native popover + Anchor Positioning vs Floating UI",
|
|
29
|
+
"fail": "defaults to manual z-index divs or omits ARIA/focus ownership"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"dimension": "ssr and focus contract",
|
|
33
|
+
"pass": "requires deterministic useId(), inert/focus trap, Escape dismissal, and trigger focus restoration",
|
|
34
|
+
"fail": "leaves focus management or SSR hydration unspecified"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"negativeControls": [
|
|
38
|
+
{
|
|
39
|
+
"name": "library mixing",
|
|
40
|
+
"input": "install MUI for dialogs and Ant Design for tables in one Tailwind app",
|
|
41
|
+
"mustNot": "approve combining competing styled libraries on the same surface"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "div trigger",
|
|
45
|
+
"input": "wrap a plain div in asChild as a dialog trigger",
|
|
46
|
+
"mustNot": "accept non-semantic div triggers without keyboard/role semantics"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"baseline": {
|
|
50
|
+
"withoutSkill": "defaults to a single popular library without analyzing ownership, positioning, or SSR focus traps",
|
|
51
|
+
"withSkill": "selects headless/source-first primitives aligned to tokens, separates positioning from ARIA, and specifies SSR/focus contracts"
|
|
52
|
+
}
|
|
53
|
+
}
|