@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,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "state-architecture",
|
|
4
|
+
"skill": "pixelcraft-web",
|
|
5
|
+
"title": "Separate state layers instead of using one global store",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "collaborative issue tracker and analytics workspace",
|
|
8
|
+
"platform": "Next.js App Router + React 19",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["URL-synced filters", "optimistic mutations", "offline draft recovery", "SSR hydration"],
|
|
11
|
+
"constraints": ["shareable filter links", "zero cross-request SSR state leaks", "multi-step retry workflow"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Architect the frontend state layers for our Next.js issue tracker (filters, API data with optimistic updates, sidebar UI, multi-step upload workflow, and offline drafts).",
|
|
14
|
+
"expectedRouting": ["pixelcraft-web", "references/state-architecture.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"puts API cache, URL filters, and local UI toggles into one global Redux or Zustand store",
|
|
17
|
+
"uses a global module-level Zustand singleton during SSR without per-request isolation",
|
|
18
|
+
"stores megabytes of offline drafts synchronously in localStorage"
|
|
19
|
+
],
|
|
20
|
+
"rubricDimensions": [
|
|
21
|
+
{
|
|
22
|
+
"dimension": "state layer separation",
|
|
23
|
+
"pass": "assigns URL filters, server cache, client UI, workflow state, and offline storage to distinct appropriate layers",
|
|
24
|
+
"fail": "collapses all state into a single global store"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"dimension": "optimistic mutation safety",
|
|
28
|
+
"pass": "cancels in-flight queries, snapshots previous cache, rolls back on error, and invalidates on settled",
|
|
29
|
+
"fail": "mutates cache without cancelQueries or rollback path"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"dimension": "ssr and persistence safety",
|
|
33
|
+
"pass": "isolates client stores per request in SSR and uses IndexedDB/Dexie with versioned upgrades for offline drafts",
|
|
34
|
+
"fail": "leaks singleton store across SSR requests or puts large drafts in localStorage"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"negativeControls": [
|
|
38
|
+
{
|
|
39
|
+
"name": "server data in zustand",
|
|
40
|
+
"input": "fetch issues in useEffect and store them in a global Zustand slice",
|
|
41
|
+
"mustNot": "recommend manual useEffect + global store caching over server-state cache libraries"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "dexie version edit",
|
|
45
|
+
"input": "modify an already-shipped Dexie db.version(1).upgrade callback in place",
|
|
46
|
+
"mustNot": "approve mutating a shipped version with an upgrader instead of adding version(2)"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"baseline": {
|
|
50
|
+
"withoutSkill": "dumps API entities, URL filters, and UI toggles into one global store and overlooks SSR singleton leaks",
|
|
51
|
+
"withSkill": "partitions state across URL (nuqs), server cache (TanStack Query), per-request client store (Zustand), workflow (XState v5), and IndexedDB (Dexie)"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "styling-ecosystem",
|
|
4
|
+
"skill": "pixelcraft-web",
|
|
5
|
+
"title": "Select and implement build-time styling, atomic compilers, and variant APIs safely",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "multi-brand design system and Next.js App Router product UI",
|
|
8
|
+
"platform": "Next.js App Router (RSC) + TypeScript",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["light/dark themes", "multi-slot component variants", "dynamic accent overrides"],
|
|
11
|
+
"constraints": ["RSC-compatible zero-runtime CSS", "deterministic class overrides", "no silent static-extraction failures"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Choose a zero-runtime styling and variant architecture for our multi-brand Next.js App Router design system, avoiding RSC pitfalls and silent CSS extraction failures.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-web", "references/styling-ecosystem.md", "pixelcraft-tokens"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"recommends runtime Emotion or styled-components for greenfield React Server Components without flagging RSC and SSR overhead",
|
|
17
|
+
"passes runtime template literals or object spreads into Panda CSS css() calls",
|
|
18
|
+
"mixes default exports or components into StyleX *.stylex.ts defineVars files"
|
|
19
|
+
],
|
|
20
|
+
"rubricDimensions": [
|
|
21
|
+
{
|
|
22
|
+
"dimension": "styling model and RSC fit",
|
|
23
|
+
"pass": "selects a build-time RSC-safe model (CSS Modules, Tailwind v4, Panda CSS, vanilla-extract, StyleX, or UnoCSS) and explains theme contract trade-offs",
|
|
24
|
+
"fail": "defaults to runtime CSS-in-JS for RSC or stacks competing styling frameworks without @layer migration boundaries"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"dimension": "static extraction correctness",
|
|
28
|
+
"pass": "respects tool-specific compiler constraints (Panda literal tokens/sva/staticCss, vanilla-extract createThemeContract/assignInlineVars, StyleX *.stylex.ts named-only exports, UnoCSS safelist)",
|
|
29
|
+
"fail": "writes dynamic expressions that emit class names with no generated CSS"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"dimension": "variant conflict handling",
|
|
33
|
+
"pass": "uses typed variant APIs (CVA + tailwind-merge, tailwind-variants tv/slots, Panda sva, or vanilla-extract recipes) with deterministic override behavior",
|
|
34
|
+
"fail": "concatenates conflicting utility classes without merge resolution"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"negativeControls": [
|
|
38
|
+
{
|
|
39
|
+
"name": "panda dynamic template literal",
|
|
40
|
+
"input": "use css({ color: `red.${shade}` }) in Panda CSS",
|
|
41
|
+
"mustNot": "approve dynamic template literals inside Panda css() calls"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "stylex invalid token file exports",
|
|
45
|
+
"input": "export default colors and a React component from tokens.stylex.ts",
|
|
46
|
+
"mustNot": "allow default exports or non-var exports inside *.stylex.ts files"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"baseline": {
|
|
50
|
+
"withoutSkill": "picks runtime CSS-in-JS in RSC or writes dynamic Panda/UnoCSS strings that silently drop CSS in production",
|
|
51
|
+
"withSkill": "chooses an RSC-safe build-time styling system, follows static extraction and theme-contract rules, and resolves variant overrides deterministically"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "token-tooling",
|
|
4
|
+
"skill": "pixelcraft-tokens",
|
|
5
|
+
"title": "Configure Style Dictionary v4, Tokens Studio, and Figma Code Connect pipelines cleanly",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "cross-platform design system synced between Figma and Web/iOS/Android",
|
|
8
|
+
"platform": "Style Dictionary v4 + Figma Code Connect",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["DTCG token build", "semantic CSS var references", "Code Connect prop mapping", "CI drift check"],
|
|
11
|
+
"constraints": ["pure DTCG $value/$type format", "preserve semantic references in CSS", "generated artifacts never hand-edited"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Set up a Style Dictionary v4 build pipeline for DTCG tokens with semantic CSS references and Figma Code Connect mappings for our Button component.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-tokens", "references/token-tooling.md", "references/format.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"mixes legacy value/type and DTCG $value/$type tokens in the same Style Dictionary v4 instance",
|
|
17
|
+
"hand-edits generated dist/tokens.css output instead of source token JSON",
|
|
18
|
+
"flattens semantic CSS variables without outputReferences when runtime theme switching is needed"
|
|
19
|
+
],
|
|
20
|
+
"rubricDimensions": [
|
|
21
|
+
{
|
|
22
|
+
"dimension": "Style Dictionary v4 configuration",
|
|
23
|
+
"pass": "uses consistent DTCG $value/$type (usesDtcg: true), outputReferences for semantic CSS var chains, and @tokens-studio/sd-transforms when using Tokens Studio",
|
|
24
|
+
"fail": "mixes DTCG and legacy token formats or loses semantic variable references"
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"dimension": "Figma Code Connect accuracy",
|
|
28
|
+
"pass": "maps Figma properties via figma.connect with figma.enum/boolean/string/children to real component props and validates in CI",
|
|
29
|
+
"fail": "hardcodes static non-mapped snippets or omits CI validation"
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"dimension": "artifact governance",
|
|
33
|
+
"pass": "treats compiled platform files as generated build outputs and validates references in CI",
|
|
34
|
+
"fail": "instructs developers to patch generated CSS/Swift/Kotlin token files manually"
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
"negativeControls": [
|
|
38
|
+
{
|
|
39
|
+
"name": "mixed dtcg and legacy tokens",
|
|
40
|
+
"input": "put both $value and legacy value keys inside the same Style Dictionary v4 config",
|
|
41
|
+
"mustNot": "approve mixing legacy value/type and DTCG $value/$type in one Style Dictionary v4 instance"
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "manual edit of generated tokens",
|
|
45
|
+
"input": "edit dist/tokens.css directly to tweak the dark mode accent color",
|
|
46
|
+
"mustNot": "recommend hand-editing generated token build outputs"
|
|
47
|
+
}
|
|
48
|
+
],
|
|
49
|
+
"baseline": {
|
|
50
|
+
"withoutSkill": "mixes DTCG/legacy token syntax, flattens CSS references, and omits Code Connect CI checks",
|
|
51
|
+
"withSkill": "configures pure DTCG Style Dictionary v4 with outputReferences, typed Figma Code Connect mappings, and CI validation"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "tui-go-bubbletea",
|
|
4
|
+
"skill": "pixelcraft-tui",
|
|
5
|
+
"title": "Build a Go Bubble Tea + Lip Gloss interactive database migration TUI with WindowSizeMsg responsiveness and non-TTY fallback",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "CLI/TUI interactive schema migration runner",
|
|
8
|
+
"platform": "Go / Bubble Tea + Lip Gloss + Bubbles",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["pending migrations list", "destructive confirmation prompt", "running progress", "migration error with rollback hint", "non-TTY CI pipe"],
|
|
11
|
+
"constraints": ["handle tea.WindowSizeMsg dynamically", "respect NO_COLOR and non-TTY stdout", "explicit non-destructive default on confirmation"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Design and build a Go Bubble Tea + Lip Gloss TUI for inspecting and applying database migrations, including a confirmation guard for destructive steps, dynamic resize handling via WindowSizeMsg, and clean non-TTY fallback for CI logs.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-tui", "references/bubbletea-lipgloss.md", "references/terminal-protocols.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"blocks Update() with synchronous database I/O instead of returning tea.Cmd messages",
|
|
17
|
+
"ignores tea.WindowSizeMsg or overflows 80-column terminals with fixed Lip Gloss box widths",
|
|
18
|
+
"launches interactive alt-screen UI when stdout is not a TTY or leaks ANSI escape sequences under NO_COLOR=1",
|
|
19
|
+
"defaults destructive confirmation to Yes on Enter"
|
|
20
|
+
],
|
|
21
|
+
"rubricDimensions": [
|
|
22
|
+
{
|
|
23
|
+
"dimension": "Elm-architecture Bubble Tea purity and resize handling",
|
|
24
|
+
"pass": "keeps Update() non-blocking via tea.Cmd, recomputes Lip Gloss widths/viewports on tea.WindowSizeMsg, and degrades cleanly at 80x24",
|
|
25
|
+
"fail": "freezes input during I/O or renders broken wrapped borders on narrow terminals"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"dimension": "CI pipe, NO_COLOR, and safety ergonomics",
|
|
29
|
+
"pass": "detects non-TTY stdout for plain summary output, honors NO_COLOR via Lip Gloss/termenv, and defaults destructive confirmation to cancel with Esc/q support",
|
|
30
|
+
"fail": "hangs waiting for TTY input in CI or uses color-only migration status"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"dimension": "evidence discipline",
|
|
34
|
+
"pass": "verifies View() output at 80x24 and NO_COLOR pipe output via tests/check-tui and labels interactive terminal checks honestly",
|
|
35
|
+
"fail": "claims terminal UX passes from go build alone"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"negativeControls": [
|
|
39
|
+
{
|
|
40
|
+
"name": "go build without View tests",
|
|
41
|
+
"input": "go build ./... compiles cleanly",
|
|
42
|
+
"mustNot": "claim 80-column Lip Gloss rendering or NO_COLOR pipe hygiene is verified"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"baseline": {
|
|
46
|
+
"withoutSkill": "hardcodes fixed Lip Gloss widths, runs blocking queries inside Update(), and breaks when piped in CI",
|
|
47
|
+
"withSkill": "implements non-blocking tea.Cmd flows, responsive WindowSizeMsg layout, safe destructive confirmation, NO_COLOR/non-TTY fallback, and verified evidence"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "tui-rust-ratatui-grapheme-paste-teardown",
|
|
4
|
+
"skill": "pixelcraft-tui",
|
|
5
|
+
"title": "Build a Rust Ratatui SSH log inspector with UAX #29 grapheme widths, DECSET 2004 bracketed paste, OSC 52 copy, and 6-step panic teardown",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "Interactive terminal log inspector and filter prompt over SSH/tmux",
|
|
8
|
+
"platform": "Rust Ratatui + Crossterm",
|
|
9
|
+
"mode": "Explore",
|
|
10
|
+
"states": ["80x24 split pane", "multilingual CJK + Vietnamese diacritics + ZWJ emoji log lines", "multi-line filter paste", "OSC 52 remote clipboard copy", "piped --json | head -n 5 non-TTY mode", "panic/SIGINT teardown"],
|
|
11
|
+
"constraints": ["UAX #29 grapheme-cluster width calculation", "DECSET 2004 bracketed paste enabled", "clean SIGPIPE / EPIPE exit when piped", "complete 6-step terminal mode restoration on panic and signals"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Create a Rust Ratatui log inspector used over SSH and tmux that renders multilingual logs (Vietnamese diacritics, Japanese CJK, ZWJ emoji), accepts pasted multi-line filter queries safely, copies selected entries to the local laptop clipboard, supports --json | head piping cleanly, and never corrupts the parent shell on crash or Ctrl-C.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-tui", "references/ratatui.md", "references/terminal-protocols.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"computes column widths with str::len() or chars().count() so CJK, ZWJ emoji, VS16, or NFD Vietnamese diacritics misalign table borders",
|
|
17
|
+
"leaves DECSET 2004 bracketed paste disabled so pasting multi-line text triggers premature Enter submissions",
|
|
18
|
+
"prints TUI ANSI chrome to piped stdout or panics with BrokenPipe on `| head -n 5`",
|
|
19
|
+
"restores only alternate screen on normal exit while leaking mouse tracking, bracketed paste, Kitty keyboard, or hidden cursor on panic"
|
|
20
|
+
],
|
|
21
|
+
"rubricDimensions": [
|
|
22
|
+
{
|
|
23
|
+
"dimension": "Unicode grapheme geometry and paste/clipboard protocols",
|
|
24
|
+
"pass": "uses unicode-segmentation + unicode-width for UAX #29 grapheme column widths (plus --ascii fallback), enables DECSET 2004 bracketed paste, and emits OSC 52 clipboard sequences for SSH/tmux",
|
|
25
|
+
"fail": "counts bytes/code points, executes pasted newlines as Enter submits, or assumes local X11/Wayland clipboard access over SSH"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"dimension": "stream separation, SIGPIPE resilience, and 6-step teardown",
|
|
29
|
+
"pass": "routes interactive UI to TTY/stderr while keeping --json pure on stdout, exits 0/cleanly on BrokenPipe, and installs a panic + signal hook restoring ?1049l, mouse modes, ?2004l, ?2026l, Kitty keyboard, ?25h, and raw mode",
|
|
30
|
+
"fail": "pollutes piped stdout with ANSI codes, prints a panic backtrace on SIGPIPE, or leaves the user's shell unusable after a crash"
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
"negativeControls": [
|
|
34
|
+
{
|
|
35
|
+
"name": "ASCII-only local terminal run",
|
|
36
|
+
"input": "cargo build succeeds and ASCII English log lines align at 120x40",
|
|
37
|
+
"mustNot": "claim terminal safety without verifying CJK/ZWJ/diacritic widths, bracketed paste, NO_COLOR/pipe behavior via check-tui.mjs, and panic teardown"
|
|
38
|
+
}
|
|
39
|
+
],
|
|
40
|
+
"baseline": {
|
|
41
|
+
"withoutSkill": "uses chars().count() breaking CJK/emoji borders, submits on pasted newlines, fails over SSH clipboard, panics on | head, and leaks raw/mouse modes on panic",
|
|
42
|
+
"withSkill": "ships a resilient Ratatui inspector with UAX #29 grapheme alignment, DECSET 2004 paste safety, OSC 52 copy, clean pipe/NO_COLOR behavior, and 6-step panic teardown"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "tui-rust-ratatui",
|
|
4
|
+
"skill": "pixelcraft-tui",
|
|
5
|
+
"title": "Build a Rust Ratatui deployment monitor TUI with 80x24 layout adaptation, NO_COLOR support, and panic-safe terminal restore",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "Terminal deployment pipeline monitor and log viewer",
|
|
8
|
+
"platform": "Rust / Ratatui + Crossterm",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["80x24 narrow terminal", "160x48 wide split view", "NO_COLOR=1 monochrome", "stream disconnect error", "panic/SIGINT teardown"],
|
|
11
|
+
"constraints": ["keyboard-only traversal with visible key legend", "clean raw-mode and alternate-screen restoration on panic", "no ANSI leakage when piped or NO_COLOR=1"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Build a Rust Ratatui terminal monitor for active deployments with a service list, live log pane, and filter bar that adapts cleanly at 80x24, respects NO_COLOR=1, and guarantees raw-mode restoration on panic or Ctrl-C.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-tui", "references/ratatui.md", "references/terminal-protocols.md"],
|
|
15
|
+
"forbiddenBehaviors": [
|
|
16
|
+
"enters raw mode or alternate screen without installing a panic hook and Drop guard to restore the terminal",
|
|
17
|
+
"hardcodes 120-column widths that clip or panic on an 80x24 terminal",
|
|
18
|
+
"relies on color alone for healthy/degraded/failed status without text or ASCII symbol cues, or emits ANSI codes under NO_COLOR=1",
|
|
19
|
+
"claims 80x24 layout passes from cargo check alone"
|
|
20
|
+
],
|
|
21
|
+
"rubricDimensions": [
|
|
22
|
+
{
|
|
23
|
+
"dimension": "Ratatui architecture and responsive terminal constraints",
|
|
24
|
+
"pass": "uses Constraint-based layout collapsing side-by-side panes to tabbed/stacked mode at <= 80 cols and maintains a clear focus indicator and keybinding bar",
|
|
25
|
+
"fail": "hardcodes column widths or truncates primary status without indication"
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"dimension": "terminal hygiene and NO_COLOR resilience",
|
|
29
|
+
"pass": "restores terminal state on normal exit, SIGINT, and panic hook; honors NO_COLOR=1 and non-TTY stdout fallback cleanly",
|
|
30
|
+
"fail": "leaves the user's shell trapped in raw mode on panic or emits raw ANSI escapes when piped"
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"dimension": "verification rigor",
|
|
34
|
+
"pass": "uses Ratatui TestBackend buffer assertions and/or check-tui NO_COLOR verification with explicit evidence labels",
|
|
35
|
+
"fail": "treats cargo build as visual verification of 80x24 rendering"
|
|
36
|
+
}
|
|
37
|
+
],
|
|
38
|
+
"negativeControls": [
|
|
39
|
+
{
|
|
40
|
+
"name": "cargo check only",
|
|
41
|
+
"input": "cargo check passes with zero warnings",
|
|
42
|
+
"mustNot": "claim 80x24 rendering, NO_COLOR output, or panic restore is rendered-verified"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"baseline": {
|
|
46
|
+
"withoutSkill": "hardcodes wide split columns, uses color-only dots, ignores NO_COLOR, and omits panic-hook terminal teardown",
|
|
47
|
+
"withSkill": "builds an adaptive Ratatui TUI with panic-safe restore, NO_COLOR non-color cues, 80x24 layout collapse, and TestBackend/check-tui evidence"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
@@ -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,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "visual-qa-task-evidence",
|
|
4
|
+
"skill": "pixelcraft-visual-qa",
|
|
5
|
+
"title": "Task completion beats page load",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "checkout payment step",
|
|
8
|
+
"platform": "responsive web",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["invalid card", "offline retry", "keyboard input"],
|
|
11
|
+
"constraints": ["390px width", "keyboard-only pass", "light theme"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Verify the implemented checkout flow visually and behaviorally.",
|
|
14
|
+
"expectedRouting": ["pixelcraft-visual-qa", "references/task-verification.md", "references/critique-rubric.md"],
|
|
15
|
+
"forbiddenBehaviors": ["claims task completion because page loads", "hides overflow globally", "updates baseline only to pass"],
|
|
16
|
+
"rubricDimensions": [
|
|
17
|
+
{ "dimension": "task evidence", "pass": "task executed through expected end state or explicitly not run", "fail": "screenshot treated as behavior proof" },
|
|
18
|
+
{ "dimension": "failure capture", "pass": "failure traces preserved before retry", "fail": "evidence overwritten by blind retry" },
|
|
19
|
+
{ "dimension": "critic calibration", "pass": "confidence/localization/root cause recorded", "fail": "repeated speculative visual churn" }
|
|
20
|
+
],
|
|
21
|
+
"negativeControls": [
|
|
22
|
+
{ "name": "successful build", "input": "build passes but no interaction occurs", "mustNot": "label rendered task verification complete" },
|
|
23
|
+
{ "name": "flattering capture", "input": "wide happy-path screenshot only", "mustNot": "claim small/error/input behavior" }
|
|
24
|
+
],
|
|
25
|
+
"baseline": {
|
|
26
|
+
"withoutSkill": "reports compilation and a single screenshot",
|
|
27
|
+
"withSkill": "produces task/outcome evidence with calibrated uncertainty"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
@@ -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
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": 1,
|
|
3
|
+
"id": "workflow-checkpoints",
|
|
4
|
+
"skill": "pixelcraft",
|
|
5
|
+
"title": "Rebuild existing flows without skipping process or losing contracts",
|
|
6
|
+
"contextSnapshot": {
|
|
7
|
+
"surface": "booking flow",
|
|
8
|
+
"platform": "existing web app",
|
|
9
|
+
"mode": "Operate",
|
|
10
|
+
"states": ["deep-link entry", "booking confirmation", "validation failure"],
|
|
11
|
+
"constraints": ["preserve localized content and keyboard flow", "no authorized stack change"]
|
|
12
|
+
},
|
|
13
|
+
"prompt": "Rebuild our existing booking UI from scratch. Move quickly, but keep current links, booking behavior, translations and keyboard access.",
|
|
14
|
+
"expectedRouting": ["pixelcraft", "references/workflow-checkpoints.md", "pixelcraft-plan", "pixelcraft-visual-qa"],
|
|
15
|
+
"forbiddenBehaviors": ["treats the rebuild as greenfield", "starts implementation before inspecting preserved contracts", "claims success from a screenshot alone"],
|
|
16
|
+
"rubricDimensions": [
|
|
17
|
+
{ "dimension": "route", "pass": "classifies the work as a brownfield rebuild and records authorized changes", "fail": "replaces stack or public behavior without authorization" },
|
|
18
|
+
{ "dimension": "phase evidence", "pass": "records read paths and findings, spec, and implementation before claiming verified outcomes", "fail": "only names phases or lists filenames" },
|
|
19
|
+
{ "dimension": "preservation", "pass": "maps and checks links, task outcome, localization and keyboard flow or labels unavailable checks", "fail": "drops a contract or claims untested parity" }
|
|
20
|
+
],
|
|
21
|
+
"negativeControls": [
|
|
22
|
+
{ "name": "empty replacement directory", "input": "a new directory next to the existing booking flow", "mustNot": "classify the replacement as a new project without inspecting the existing product" },
|
|
23
|
+
{ "name": "passing static capture", "input": "a clean screenshot from the rebuilt route, with untested deep links", "mustNot": "treat the image as evidence that legacy entry points or task outcomes still work" },
|
|
24
|
+
{ "name": "add without replacing", "input": "instead of rebuilding, add a new waitlist screen on the current stack", "mustNot": "force a rebuild or greenfield route; map host contracts and plan the new flow before coding" }
|
|
25
|
+
],
|
|
26
|
+
"baseline": {
|
|
27
|
+
"withoutSkill": "starts with new components and accepts visual polish as parity",
|
|
28
|
+
"withSkill": "records the applicable phase outputs, scopes design changes, and checks preserved contracts"
|
|
29
|
+
}
|
|
30
|
+
}
|