@thanhnguyxn/pixelcraft 0.0.0-stage → 0.1.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/.claude-plugin/marketplace.json +20 -0
- package/.claude-plugin/plugin.json +11 -0
- package/LICENSE +21 -0
- package/README.md +407 -2
- package/assets/README.md +28 -0
- package/assets/pixelcraft-logo-512.png +0 -0
- package/bin/pixelcraft.mjs +444 -0
- package/docs/ARCHITECTURE.md +102 -0
- package/docs/DESIGN-RATIONALE.md +143 -0
- package/evals/README.md +27 -0
- package/evals/fixtures/README.md +36 -0
- package/evals/fixtures/direction-prototype-complexity.json +29 -0
- package/evals/fixtures/finish-gate-anti-slop.json +30 -0
- package/evals/fixtures/forms-accessibility-negative.json +29 -0
- package/evals/fixtures/handoff-fidelity-tolerance.json +29 -0
- package/evals/fixtures/plan-brownfield-evidence.json +28 -0
- package/evals/fixtures/visual-qa-task-evidence.json +29 -0
- package/evals/fixtures/workflow-checkpoints.json +30 -0
- package/evals/pixelcraft-accessibility.md +57 -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 +60 -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 +60 -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 +57 -0
- package/evals/pixelcraft-plan.md +65 -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 +80 -0
- package/evals/pixelcraft-web.md +71 -0
- package/evals/pixelcraft.md +70 -0
- package/gemini-extension.json +5 -0
- package/install.ps1 +295 -0
- package/install.sh +437 -0
- package/package.json +63 -4
- package/plugin.json +24 -0
- package/scripts/build-adapters.mjs +290 -0
- package/scripts/build-release-archives.mjs +61 -0
- package/scripts/build-skill-zips.mjs +94 -0
- package/scripts/test-build-adapters.mjs +48 -0
- package/scripts/test-distribution.mjs +124 -0
- package/scripts/test-export-tokens.mjs +105 -0
- package/scripts/test-finish-gate.mjs +148 -0
- package/scripts/test-installers.mjs +67 -0
- package/scripts/test-release-archives.mjs +42 -0
- package/scripts/test-shoot.mjs +65 -0
- package/scripts/test-slop-scan.mjs +29 -0
- package/scripts/test-style-inventory.mjs +211 -0
- package/scripts/test-validate-skills.mjs +117 -0
- package/scripts/validate-skills.mjs +512 -0
- package/skills/pixelcraft/SKILL.md +135 -0
- package/skills/pixelcraft/references/design-brief.md +75 -0
- package/skills/pixelcraft/references/floor.md +73 -0
- package/skills/pixelcraft/references/report-template.md +35 -0
- package/skills/pixelcraft/references/stack-detection.md +155 -0
- package/skills/pixelcraft/references/surface-acceptance.md +40 -0
- package/skills/pixelcraft/references/workflow-checkpoints.md +29 -0
- package/skills/pixelcraft-accessibility/SKILL.md +33 -0
- package/skills/pixelcraft-accessibility/references/apg-patterns.md +51 -0
- package/skills/pixelcraft-accessibility/references/platforms.md +58 -0
- package/skills/pixelcraft-accessibility/references/verification.md +59 -0
- package/skills/pixelcraft-accessibility/references/wcag22-checks.md +66 -0
- package/skills/pixelcraft-brandkit/SKILL.md +115 -0
- package/skills/pixelcraft-brandkit/references/asset-pipeline.md +125 -0
- package/skills/pixelcraft-brandkit/references/brand-governance.md +80 -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 +98 -0
- package/skills/pixelcraft-brandkit/references/pixel-art-logos.md +82 -0
- package/skills/pixelcraft-brandkit/references/prompt-template.md +85 -0
- package/skills/pixelcraft-brandkit/references/qa-checklist.md +88 -0
- package/skills/pixelcraft-brandkit/references/visual-modes.md +123 -0
- package/skills/pixelcraft-chat-ui/SKILL.md +53 -0
- package/skills/pixelcraft-chat-ui/references/conversation-design.md +78 -0
- package/skills/pixelcraft-chat-ui/references/mobile-business-platforms.md +87 -0
- package/skills/pixelcraft-chat-ui/references/slack-discord.md +96 -0
- package/skills/pixelcraft-constrained/SKILL.md +51 -0
- package/skills/pixelcraft-constrained/references/specialized-hardware.md +66 -0
- package/skills/pixelcraft-constrained/references/tv-wearables.md +84 -0
- package/skills/pixelcraft-constrained/references/voice-ui.md +63 -0
- package/skills/pixelcraft-craft/SKILL.md +44 -0
- package/skills/pixelcraft-craft/references/color.md +69 -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 +41 -0
- package/skills/pixelcraft-craft/references/motion.md +76 -0
- package/skills/pixelcraft-craft/references/typography.md +71 -0
- package/skills/pixelcraft-data-apps/SKILL.md +67 -0
- package/skills/pixelcraft-data-apps/references/dash.md +53 -0
- package/skills/pixelcraft-data-apps/references/evidence.md +75 -0
- package/skills/pixelcraft-data-apps/references/gradio.md +65 -0
- package/skills/pixelcraft-data-apps/references/julia-genie.md +54 -0
- package/skills/pixelcraft-data-apps/references/jupyter-widgets.md +53 -0
- package/skills/pixelcraft-data-apps/references/nicegui.md +63 -0
- package/skills/pixelcraft-data-apps/references/observable-framework.md +67 -0
- package/skills/pixelcraft-data-apps/references/panel.md +53 -0
- package/skills/pixelcraft-data-apps/references/r-shiny.md +54 -0
- package/skills/pixelcraft-data-apps/references/reflex.md +62 -0
- package/skills/pixelcraft-data-apps/references/shiny.md +53 -0
- package/skills/pixelcraft-data-apps/references/streamlit.md +65 -0
- package/skills/pixelcraft-dataviz/SKILL.md +63 -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 +97 -0
- package/skills/pixelcraft-dataviz/references/libraries.md +57 -0
- package/skills/pixelcraft-dataviz/references/realtime-graphs-maps-scale.md +99 -0
- package/skills/pixelcraft-desktop/SKILL.md +71 -0
- package/skills/pixelcraft-desktop/references/appkit.md +58 -0
- package/skills/pixelcraft-desktop/references/avalonia.md +59 -0
- package/skills/pixelcraft-desktop/references/cpp-gui.md +52 -0
- package/skills/pixelcraft-desktop/references/electron.md +54 -0
- package/skills/pixelcraft-desktop/references/go-gui.md +54 -0
- package/skills/pixelcraft-desktop/references/gtk.md +54 -0
- package/skills/pixelcraft-desktop/references/javafx-swing.md +52 -0
- package/skills/pixelcraft-desktop/references/qt-pyside-qml.md +61 -0
- package/skills/pixelcraft-desktop/references/rust-gui.md +65 -0
- package/skills/pixelcraft-desktop/references/tauri.md +54 -0
- package/skills/pixelcraft-desktop/references/uno-platform.md +52 -0
- package/skills/pixelcraft-desktop/references/winui-wpf.md +58 -0
- package/skills/pixelcraft-desktop/references/working-context.md +5 -0
- package/skills/pixelcraft-direction/SKILL.md +154 -0
- package/skills/pixelcraft-direction/references/composition-library.md +84 -0
- package/skills/pixelcraft-direction/references/direction-card.md +54 -0
- package/skills/pixelcraft-direction/references/direction-scoring.md +72 -0
- package/skills/pixelcraft-direction/references/movements.md +68 -0
- package/skills/pixelcraft-direction/references/repetition-history.md +75 -0
- package/skills/pixelcraft-direction/references/slop-fingerprints.md +58 -0
- package/skills/pixelcraft-direction/references/wildcards.md +47 -0
- package/skills/pixelcraft-document/SKILL.md +54 -0
- package/skills/pixelcraft-document/references/archetypes.md +83 -0
- package/skills/pixelcraft-document/references/pdf-tools.md +154 -0
- package/skills/pixelcraft-document/references/print-css.md +134 -0
- package/skills/pixelcraft-document/references/slides.md +102 -0
- package/skills/pixelcraft-email/SKILL.md +58 -0
- package/skills/pixelcraft-email/references/client-quirks.md +45 -0
- package/skills/pixelcraft-email/references/html-tables.md +53 -0
- package/skills/pixelcraft-email/references/mjml.md +52 -0
- package/skills/pixelcraft-email/references/react-email.md +53 -0
- package/skills/pixelcraft-extensions/SKILL.md +51 -0
- package/skills/pixelcraft-extensions/references/browser-extensions.md +31 -0
- package/skills/pixelcraft-extensions/references/figma-office.md +23 -0
- package/skills/pixelcraft-extensions/references/raycast.md +19 -0
- package/skills/pixelcraft-extensions/references/vscode-webviews.md +26 -0
- package/skills/pixelcraft-game-ui/SKILL.md +61 -0
- package/skills/pixelcraft-game-ui/references/bevy.md +52 -0
- package/skills/pixelcraft-game-ui/references/godot.md +57 -0
- package/skills/pixelcraft-game-ui/references/hud-principles.md +38 -0
- package/skills/pixelcraft-game-ui/references/love2d.md +51 -0
- package/skills/pixelcraft-game-ui/references/monogame.md +52 -0
- package/skills/pixelcraft-game-ui/references/unity-ui-toolkit.md +65 -0
- package/skills/pixelcraft-game-ui/references/unreal-umg.md +53 -0
- package/skills/pixelcraft-handoff/SKILL.md +49 -0
- package/skills/pixelcraft-handoff/references/design-translation.md +104 -0
- package/skills/pixelcraft-handoff/references/fidelity-tolerance.md +78 -0
- package/skills/pixelcraft-media/SKILL.md +52 -0
- package/skills/pixelcraft-media/references/banners-video.md +112 -0
- package/skills/pixelcraft-media/references/og-generation.md +107 -0
- package/skills/pixelcraft-media/references/social-cards.md +72 -0
- package/skills/pixelcraft-mobile/SKILL.md +69 -0
- package/skills/pixelcraft-mobile/references/dotnet-maui.md +63 -0
- package/skills/pixelcraft-mobile/references/flet.md +53 -0
- package/skills/pixelcraft-mobile/references/flutter.md +69 -0
- package/skills/pixelcraft-mobile/references/ionic-capacitor.md +65 -0
- package/skills/pixelcraft-mobile/references/jetpack-compose.md +61 -0
- package/skills/pixelcraft-mobile/references/kivy.md +59 -0
- package/skills/pixelcraft-mobile/references/kotlin-multiplatform.md +60 -0
- package/skills/pixelcraft-mobile/references/react-native-expo.md +71 -0
- package/skills/pixelcraft-mobile/references/swiftui.md +70 -0
- package/skills/pixelcraft-mobile/references/task-state-composition.md +5 -0
- package/skills/pixelcraft-mobile/references/uikit.md +58 -0
- package/skills/pixelcraft-patterns/SKILL.md +58 -0
- package/skills/pixelcraft-patterns/references/auth-onboarding.md +25 -0
- package/skills/pixelcraft-patterns/references/commerce.md +28 -0
- package/skills/pixelcraft-patterns/references/communication.md +26 -0
- package/skills/pixelcraft-patterns/references/creative-tools.md +29 -0
- package/skills/pixelcraft-patterns/references/dashboard-admin.md +31 -0
- package/skills/pixelcraft-patterns/references/marketing.md +32 -0
- package/skills/pixelcraft-patterns/references/pattern-selection.md +74 -0
- package/skills/pixelcraft-patterns/references/search-filtering.md +42 -0
- package/skills/pixelcraft-patterns/references/settings.md +23 -0
- package/skills/pixelcraft-patterns/references/tables-crud.md +43 -0
- package/skills/pixelcraft-plan/SKILL.md +67 -0
- package/skills/pixelcraft-plan/references/design-input.md +69 -0
- package/skills/pixelcraft-plan/references/plan-template.md +99 -0
- package/skills/pixelcraft-plan/references/repo-discovery.md +42 -0
- package/skills/pixelcraft-plan/references/stack-freshness.md +50 -0
- package/skills/pixelcraft-plan/references/stack-selection.md +42 -0
- package/skills/pixelcraft-review/SKILL.md +64 -0
- package/skills/pixelcraft-review/references/audit-report.md +50 -0
- package/skills/pixelcraft-review/references/critique-protocol.md +89 -0
- package/skills/pixelcraft-review/references/heuristics.md +18 -0
- package/skills/pixelcraft-review/references/personas.md +26 -0
- package/skills/pixelcraft-review/references/polish.md +38 -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-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 +586 -0
- package/skills/pixelcraft-spatial/SKILL.md +52 -0
- package/skills/pixelcraft-spatial/references/comfort-accessibility.md +98 -0
- package/skills/pixelcraft-spatial/references/platforms.md +77 -0
- package/skills/pixelcraft-tokens/SKILL.md +56 -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 +54 -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 +94 -0
- package/skills/pixelcraft-tokens/scripts/export-tokens.mjs +285 -0
- package/skills/pixelcraft-tui/SKILL.md +60 -0
- package/skills/pixelcraft-tui/references/bubbletea-lipgloss.md +60 -0
- package/skills/pixelcraft-tui/references/ink.md +60 -0
- package/skills/pixelcraft-tui/references/ratatui.md +62 -0
- package/skills/pixelcraft-tui/references/rich.md +62 -0
- package/skills/pixelcraft-tui/references/textual.md +67 -0
- package/skills/pixelcraft-ux/SKILL.md +46 -0
- package/skills/pixelcraft-ux/references/cognitive-walkthrough.md +70 -0
- package/skills/pixelcraft-ux/references/feedback-performance.md +30 -0
- package/skills/pixelcraft-ux/references/flows-ia.md +44 -0
- package/skills/pixelcraft-ux/references/forms.md +97 -0
- package/skills/pixelcraft-ux/references/i18n.md +183 -0
- package/skills/pixelcraft-ux/references/laws.md +18 -0
- package/skills/pixelcraft-ux/references/locale-test-matrix.md +60 -0
- package/skills/pixelcraft-ux/references/state-matrix.md +39 -0
- package/skills/pixelcraft-ux/references/usability-testing.md +84 -0
- package/skills/pixelcraft-ux/references/ux-writing.md +43 -0
- package/skills/pixelcraft-visual-qa/SKILL.md +82 -0
- package/skills/pixelcraft-visual-qa/references/baseline-governance.md +70 -0
- package/skills/pixelcraft-visual-qa/references/capture-desktop-game.md +38 -0
- package/skills/pixelcraft-visual-qa/references/capture-email.md +34 -0
- package/skills/pixelcraft-visual-qa/references/capture-mobile.md +35 -0
- package/skills/pixelcraft-visual-qa/references/capture-terminal.md +31 -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/performance-budgets.md +65 -0
- package/skills/pixelcraft-visual-qa/references/task-verification.md +81 -0
- package/skills/pixelcraft-visual-qa/scripts/finish-gate.mjs +135 -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 +513 -0
- package/skills/pixelcraft-visual-qa/scripts/style-inventory.mjs +1154 -0
- package/skills/pixelcraft-web/SKILL.md +76 -0
- package/skills/pixelcraft-web/references/adaptive-layout.md +25 -0
- package/skills/pixelcraft-web/references/angular.md +61 -0
- package/skills/pixelcraft-web/references/astro.md +62 -0
- package/skills/pixelcraft-web/references/clojurescript.md +53 -0
- package/skills/pixelcraft-web/references/elm.md +53 -0
- package/skills/pixelcraft-web/references/fsharp-fable.md +53 -0
- package/skills/pixelcraft-web/references/html-css.md +88 -0
- package/skills/pixelcraft-web/references/htmx-alpine.md +53 -0
- package/skills/pixelcraft-web/references/java-web.md +52 -0
- package/skills/pixelcraft-web/references/kotlin-web.md +53 -0
- package/skills/pixelcraft-web/references/leptos-yew.md +54 -0
- package/skills/pixelcraft-web/references/lit-web-components.md +61 -0
- package/skills/pixelcraft-web/references/pwa.md +225 -0
- package/skills/pixelcraft-web/references/qwik.md +54 -0
- package/skills/pixelcraft-web/references/react-next.md +69 -0
- package/skills/pixelcraft-web/references/scala-laminar.md +53 -0
- package/skills/pixelcraft-web/references/server-rendered.md +71 -0
- package/skills/pixelcraft-web/references/solid.md +60 -0
- package/skills/pixelcraft-web/references/svelte.md +61 -0
- package/skills/pixelcraft-web/references/tailwind.md +73 -0
- package/skills/pixelcraft-web/references/vue-nuxt.md +62 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pixelcraft",
|
|
3
|
+
"interface": {
|
|
4
|
+
"displayName": "Pixelcraft"
|
|
5
|
+
},
|
|
6
|
+
"plugins": [
|
|
7
|
+
{
|
|
8
|
+
"name": "pixelcraft",
|
|
9
|
+
"source": {
|
|
10
|
+
"source": "local",
|
|
11
|
+
"path": "./"
|
|
12
|
+
},
|
|
13
|
+
"policy": {
|
|
14
|
+
"installation": "AVAILABLE",
|
|
15
|
+
"authentication": "ON_INSTALL"
|
|
16
|
+
},
|
|
17
|
+
"category": "Productivity"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pixelcraft",
|
|
3
|
+
"owner": {
|
|
4
|
+
"name": "Pixelcraft contributors"
|
|
5
|
+
},
|
|
6
|
+
"metadata": {
|
|
7
|
+
"description": "Portable Agent Skills for distinctive UI and rigorous UX across frontend stacks"
|
|
8
|
+
},
|
|
9
|
+
"plugins": [
|
|
10
|
+
{
|
|
11
|
+
"name": "pixelcraft",
|
|
12
|
+
"description": "Portable Agent Skills for distinctive UI and rigorous UX across frontend stacks",
|
|
13
|
+
"version": "0.1.0",
|
|
14
|
+
"author": {
|
|
15
|
+
"name": "Pixelcraft contributors"
|
|
16
|
+
},
|
|
17
|
+
"source": "./"
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pixelcraft",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Portable Agent Skills for distinctive UI and rigorous UX across frontend stacks",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Pixelcraft contributors"
|
|
7
|
+
},
|
|
8
|
+
"homepage": "https://github.com/ThanhNguyxnOrg/Pixelcraft",
|
|
9
|
+
"repository": "https://github.com/ThanhNguyxnOrg/Pixelcraft",
|
|
10
|
+
"license": "MIT"
|
|
11
|
+
}
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Pixelcraft contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.md
CHANGED
|
@@ -1,3 +1,408 @@
|
|
|
1
|
-
#
|
|
1
|
+
# Pixelcraft
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Portable Agent Skills for distinctive, evidence-verified UI and rigorous UX across frontend stacks.
|
|
4
|
+
|
|
5
|
+
Pixelcraft is an open-source skill pack for coding agents. It helps agents move beyond interchangeable “AI-generated” interfaces by forcing design divergence before implementation, applying a cross-platform UX/accessibility floor, translating decisions idiomatically into the target stack, and reporting what was actually verified.
|
|
6
|
+
|
|
7
|
+
## Why Pixelcraft exists
|
|
8
|
+
|
|
9
|
+
LLM-generated interfaces often converge on the same visual and interaction patterns: centered heroes, generic gradients, default fonts, decorative cards, template copy, shallow states, and web-centric assumptions. Pixelcraft counters that convergence with explicit planning, authority ordering, divergence only where direction is undecided, complete UX states, accessibility and localization floors, platform-specific translation, and evidence-labeled verification.
|
|
10
|
+
|
|
11
|
+
Pixelcraft treats this as a process problem rather than a prompt slogan. It does not merely say “make it beautiful”; it changes how the agent frames, diverges, specifies, builds, verifies, and reports UI work.
|
|
12
|
+
|
|
13
|
+
## What makes it different
|
|
14
|
+
|
|
15
|
+
- **Divergence before commitment:** generate multiple materially different directions or brand worlds, score them, select one, and record why alternatives lost.
|
|
16
|
+
- **A mandatory floor:** accessibility, interaction, adaptation, localization, performance, state completeness, truthfulness, coherence, and evidence labeling are default constraints—not later cleanup.
|
|
17
|
+
- **Any frontend stack:** web, server-rendered UI, mobile, data apps, desktop, TUI, email, and game UI receive framework-specific guidance rather than copied web assumptions.
|
|
18
|
+
- **Honest verification:** findings are labeled `rendered`, `static`, `model-judgment`, `not-checked`, or `waived`. A successful build or page load is not presented as proof of visual quality.
|
|
19
|
+
- **Portable packaging:** skills follow the Agent Skills format and can be installed across multiple coding-agent hosts.
|
|
20
|
+
|
|
21
|
+
## The loop
|
|
22
|
+
|
|
23
|
+
```mermaid
|
|
24
|
+
flowchart LR
|
|
25
|
+
P[Plan<br/>repo map or greenfield<br/>stack decision] --> A[Frame<br/>stack, surface, audience,<br/>job, constraints]
|
|
26
|
+
A --> B[Diverge<br/>far-apart directions<br/>or brand worlds]
|
|
27
|
+
B --> C[Specify<br/>direction card, tokens,<br/>flows, state matrix]
|
|
28
|
+
C --> D[Build<br/>platform idioms,<br/>floor applied by default]
|
|
29
|
+
D --> E[Verify<br/>slop scan, accessibility,<br/>states, rendered evidence]
|
|
30
|
+
E --> F[Report<br/>decisions, evidence labels,<br/>risks, waivers]
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
The full architecture is documented in [`docs/ARCHITECTURE.md`](docs/ARCHITECTURE.md).
|
|
34
|
+
|
|
35
|
+
## Skills
|
|
36
|
+
|
|
37
|
+
| Skill | Purpose |
|
|
38
|
+
|---|---|
|
|
39
|
+
| `pixelcraft` | Orchestrator: stack/surface detection, mode classification, plan-first loop, mandatory floor, evidence-labeled reporting |
|
|
40
|
+
| `pixelcraft-plan` | Step-zero planning: brownfield repo mapping, greenfield requirements intake, weighted stack selection, `.pixelcraft/plan.md` |
|
|
41
|
+
| `pixelcraft-direction` | Divergent visual direction, scoring, direction cards, repetition history, anti-slop fingerprints, design movements |
|
|
42
|
+
| `pixelcraft-craft` | Typography, color, layout, motion, imagery, and icon craft across platforms |
|
|
43
|
+
| `pixelcraft-tokens` | DTCG token structure and multi-platform token export |
|
|
44
|
+
| `pixelcraft-ux` | JTBD, flows, information architecture, state matrices, forms, feedback, i18n UX, UX writing |
|
|
45
|
+
| `pixelcraft-patterns` | Dashboard/admin, commerce, editors/canvas, communication, auth/onboarding, marketing, settings, search/filtering, tables/CRUD |
|
|
46
|
+
| `pixelcraft-dataviz` | Chart choice, encoding, truthful labeling, colorblind-safe palettes, tables/dashboards, streaming, node graphs, maps, scalable rendering, chart accessibility |
|
|
47
|
+
| `pixelcraft-accessibility` | WCAG 2.2 AA floor translated into concrete platform checks and verification methods |
|
|
48
|
+
| `pixelcraft-review` | Audit/critique/polish modes, severity taxonomy, Nielsen checks, persona walkthroughs, slop scanning |
|
|
49
|
+
| `pixelcraft-visual-qa` | Render/screenshot/self-critique/fix loop, capture matrices, contrast/overflow/clipping audits, performance budgets |
|
|
50
|
+
| `pixelcraft-extensions` | Browser MV3 extensions, content-script Shadow DOM UI, VS Code webviews, Raycast commands, Figma/Office plugins |
|
|
51
|
+
| `pixelcraft-web` | HTML/CSS, React/Next, Vue/Nuxt, Svelte, Solid, Angular, Astro, Qwik, htmx/Alpine, Lit, Tailwind, server-rendered web, Rust/Kotlin/Elm/ClojureScript/F#/Scala/Java web |
|
|
52
|
+
| `pixelcraft-mobile` | SwiftUI, UIKit, Jetpack Compose, Flutter, React Native/Expo, Kotlin Multiplatform, Ionic/Capacitor, .NET MAUI, Flet, Kivy |
|
|
53
|
+
| `pixelcraft-data-apps` | Streamlit, Gradio, Reflex, NiceGUI, Dash, Panel, Shiny, Jupyter widgets, R Shiny, Julia Genie, Observable Framework, Evidence |
|
|
54
|
+
| `pixelcraft-desktop` | Tauri, Electron, Qt/PySide/QML, WinUI/WPF, AppKit, GTK, Avalonia, Rust GUI, JavaFX/Swing, C++ GUI, Go GUI, Uno |
|
|
55
|
+
| `pixelcraft-tui` | Textual, Rich, Ink, Bubble Tea/Lip Gloss, Ratatui |
|
|
56
|
+
| `pixelcraft-email` | Table HTML email, MJML, React Email, client quirks, dark mode, image blocking, plaintext |
|
|
57
|
+
| `pixelcraft-document` | Print CSS/paged media, PDF pipelines, invoices/reports/CVs, slides, projector/document legibility |
|
|
58
|
+
| `pixelcraft-media` | OG/social cards, SVG banners, platform safe zones, thumbnail legibility, Remotion/Motion Canvas |
|
|
59
|
+
| `pixelcraft-chat-ui` | Slack Block Kit, Discord components, Telegram/Mini Apps, Zalo, WhatsApp, Teams Adaptive Cards, conversation design |
|
|
60
|
+
| `pixelcraft-constrained` | TV/10-foot, wearables, e-ink, kiosk, embedded/LVGL, automotive templates, voice UI |
|
|
61
|
+
| `pixelcraft-handoff` | Approved-design translation, variables-to-token mapping, component reuse, missing states and visual fidelity loops |
|
|
62
|
+
| `pixelcraft-spatial` | visionOS, WebXR/Three.js/R3F/A-Frame, Quest Interaction SDK, Unity XRI, XR comfort/ergonomics/accessibility |
|
|
63
|
+
| `pixelcraft-game-ui` | Unity UI Toolkit, Godot, Unreal UMG, LÖVE2D, Bevy, MonoGame, HUD principles |
|
|
64
|
+
| `pixelcraft-brandkit` | Brand kits, identity boards, logo systems, moodboards, visual-world presentations, brand-specific prompting and QA |
|
|
65
|
+
|
|
66
|
+
## Supported stacks
|
|
67
|
+
|
|
68
|
+
| Surface | Coverage |
|
|
69
|
+
|---|---|
|
|
70
|
+
| Web | HTML/CSS, React/Next.js, Vue/Nuxt, Svelte/SvelteKit, Solid, Angular, Astro, Qwik, htmx/Alpine, Lit/Web Components, Tailwind CSS v4, Leptos/Yew, Kotlin web, Elm, ClojureScript, F#/Fable, Scala/Laminar, Vaadin/Thymeleaf |
|
|
71
|
+
| Server-rendered | Rails/Hotwire, Laravel Blade/Livewire, Django/Jinja, Phoenix LiveView, Blazor, Go templ/templates |
|
|
72
|
+
| Mobile/cross-platform apps | SwiftUI, UIKit, Jetpack Compose, Flutter, React Native/Expo, Kotlin Multiplatform, Ionic/Capacitor, .NET MAUI, Flet, Kivy |
|
|
73
|
+
| Data apps/internal tools | Streamlit, Gradio, Reflex, NiceGUI, Dash, Panel, Shiny for Python/R, Jupyter widgets, Julia Genie, Observable Framework, Evidence |
|
|
74
|
+
| Desktop | Tauri, Electron, Qt/PySide/QML, WinUI/WPF, AppKit, GTK/libadwaita, Avalonia, egui/Slint/Dioxus/iced, JavaFX/Swing, Qt C++/ImGui/wxWidgets, Fyne/Wails/Gio, Uno |
|
|
75
|
+
| Terminal | Textual, Rich, Ink, Bubble Tea/Lip Gloss, Ratatui |
|
|
76
|
+
| Email | HTML tables, MJML, React Email, Outlook/Gmail/Apple Mail constraints |
|
|
77
|
+
| Game UI | Unity UI Toolkit, Godot Control/Theme, Unreal UMG/Slate/CommonUI, LÖVE2D, Bevy, MonoGame, HUD/focus/safe-area principles |
|
|
78
|
+
| Identity | Brand-kit and visual-world generation workflows with token handoff |
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
### Language routing overview
|
|
82
|
+
|
|
83
|
+
| Language | Frameworks/surfaces | Pixelcraft skill → reference |
|
|
84
|
+
|---|---|---|
|
|
85
|
+
| C# | Blazor, MAUI, WinUI/WPF, Avalonia, Uno, MonoGame | `pixelcraft-web` → `server-rendered`; `pixelcraft-mobile` → `dotnet-maui`; `pixelcraft-desktop` → `winui-wpf`/`avalonia`/`uno-platform`; `pixelcraft-game-ui` → `monogame` |
|
|
86
|
+
| C++ | Qt/QML, Dear ImGui, wxWidgets | `pixelcraft-desktop` → `cpp-gui` |
|
|
87
|
+
| Clojure | ClojureScript/Reagent/re-frame | `pixelcraft-web` → `clojurescript` |
|
|
88
|
+
| Dart | Flutter mobile/web/desktop | `pixelcraft-mobile` → `flutter`; apply `pixelcraft-web` checks for browser-dominant surfaces |
|
|
89
|
+
| Elm | Elm Browser UI | `pixelcraft-web` → `elm` |
|
|
90
|
+
| Elixir | Phoenix LiveView | `pixelcraft-web` → `server-rendered` |
|
|
91
|
+
| F# | Fable/Feliz/Elmish, .NET UI | `pixelcraft-web` → `fsharp-fable`; desktop by actual framework |
|
|
92
|
+
| Go | templ/templates, Bubble Tea/Lip Gloss, Fyne/Wails/Gio | `pixelcraft-web` → `server-rendered`; `pixelcraft-tui` → `bubbletea-lipgloss`; `pixelcraft-desktop` → `go-gui` |
|
|
93
|
+
| Java | Vaadin/Thymeleaf, JavaFX/Swing | `pixelcraft-web` → `java-web`; `pixelcraft-desktop` → `javafx-swing` |
|
|
94
|
+
| Julia | Genie/Stipple | `pixelcraft-data-apps` → `julia-genie` |
|
|
95
|
+
| Kotlin | Compose, KMP, Compose Web/Kobweb | `pixelcraft-mobile` → `jetpack-compose`/`kotlin-multiplatform`; `pixelcraft-web` → `kotlin-web` |
|
|
96
|
+
| Lua | LÖVE2D | `pixelcraft-game-ui` → `love2d` |
|
|
97
|
+
| PHP | Laravel Blade/Livewire | `pixelcraft-web` → `server-rendered` |
|
|
98
|
+
| Python | Streamlit/Gradio/Reflex/NiceGUI/Dash/Panel/Shiny/Jupyter; Flet/Kivy; Qt/PySide; Textual/Rich | `pixelcraft-data-apps` matching reference; `pixelcraft-mobile` → `flet`/`kivy`; `pixelcraft-desktop` → `qt-pyside-qml`; `pixelcraft-tui` → `textual`/`rich` |
|
|
99
|
+
| R | Shiny/bslib | `pixelcraft-data-apps` → `r-shiny` |
|
|
100
|
+
| Ruby | Rails/Hotwire | `pixelcraft-web` → `server-rendered` |
|
|
101
|
+
| Rust | Leptos/Yew, egui/Slint/Dioxus/iced, Ratatui, Bevy | `pixelcraft-web` → `leptos-yew`; `pixelcraft-desktop` → `rust-gui`; `pixelcraft-tui` → `ratatui`; `pixelcraft-game-ui` → `bevy` |
|
|
102
|
+
| Scala | Scala.js/Laminar | `pixelcraft-web` → `scala-laminar` |
|
|
103
|
+
| Swift | SwiftUI, UIKit, AppKit | `pixelcraft-mobile` → `swiftui`/`uikit`; `pixelcraft-desktop` → `appkit` |
|
|
104
|
+
| TS/JS | React/Next, Vue/Nuxt, Svelte, Solid, Angular, Astro, Qwik, htmx/Alpine, Lit, Observable Framework, Evidence, Electron/Tauri, Ink | `pixelcraft-web` matching reference; `pixelcraft-data-apps` → `observable-framework`/`evidence`; `pixelcraft-desktop`/`pixelcraft-tui` matching reference |
|
|
105
|
+
| Zig | no dedicated substantive reference yet | plan manually in `pixelcraft-plan`; inspect actual UI/library constraints |
|
|
106
|
+
|
|
107
|
+
## Install
|
|
108
|
+
|
|
109
|
+
| Method | Command | Best for |
|
|
110
|
+
|---|---|---|
|
|
111
|
+
| Guided installer | `node <checkout>/bin/pixelcraft.mjs` | First-time setup; choose agents, skills, and scope interactively |
|
|
112
|
+
| Direct CLI | `node <checkout>/bin/pixelcraft.mjs add all --agent claude` | Reproducible Node-based setup and automation |
|
|
113
|
+
| Vercel `skills` CLI | `npx skills add ThanhNguyxnOrg/Pixelcraft` | The cross-agent skills ecosystem and agent auto-detection |
|
|
114
|
+
| Claude Code plugin | `/plugin marketplace add ThanhNguyxnOrg/Pixelcraft` then `/plugin install pixelcraft@pixelcraft` | Claude Code users who want plugin-managed updates |
|
|
115
|
+
| curl/bash installer | `curl -fsSL https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.sh \| bash -s -- --agent claude --skills all` | Linux/macOS without Node.js |
|
|
116
|
+
| PowerShell installer | `irm https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.ps1 \| iex` | Windows without Node.js |
|
|
117
|
+
| GitHub Release asset | Download `pixelcraft-skills.zip` or `pixelcraft-skills.tar.gz` from Releases | Controlled offline/manual distribution |
|
|
118
|
+
| git clone/copy | `git clone --depth 1 https://github.com/ThanhNguyxnOrg/Pixelcraft.git` | Pinning, inspection, and manual per-agent copying |
|
|
119
|
+
|
|
120
|
+
Details and target-specific paths follow. The matrix below records the targets implemented by Pixelcraft's bundled installers. Agent directories evolve quickly; verify target behavior in the host before depending on it in automation.
|
|
121
|
+
|
|
122
|
+
### Guided and direct Pixelcraft installer
|
|
123
|
+
|
|
124
|
+
Clone the repository once, then run the bundled installer from the project that should receive the skills. Replace the example checkout path if you use a different location:
|
|
125
|
+
|
|
126
|
+
```bash
|
|
127
|
+
git clone https://github.com/ThanhNguyxnOrg/Pixelcraft.git "$HOME/Pixelcraft"
|
|
128
|
+
node "$HOME/Pixelcraft/bin/pixelcraft.mjs"
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
The wizard asks for one or more agents, all skills or a numbered subset, project or user-level scope, and whether to show optional Context7 setup guidance. It uses Node's `readline` only; there are no package dependencies. Prefer a supported Node.js LTS release; `>=18` is a compatibility floor, not a recommendation to run an end-of-life runtime. Non-interactive flags remain available for automation:
|
|
132
|
+
|
|
133
|
+
```bash
|
|
134
|
+
# Everything for one agent in the current project
|
|
135
|
+
node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add all --agent claude
|
|
136
|
+
|
|
137
|
+
# A subset for multiple agents; repeat --agent instead of using commas if preferred
|
|
138
|
+
node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add pixelcraft-web pixelcraft-review --agent claude,cursor
|
|
139
|
+
|
|
140
|
+
# User-level installation
|
|
141
|
+
node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add all --agent claude --global
|
|
142
|
+
|
|
143
|
+
# Preview and controlled replacement
|
|
144
|
+
node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add all --agent all --dry-run
|
|
145
|
+
node "$HOME/Pixelcraft/bin/pixelcraft.mjs" add all --agent claude --force
|
|
146
|
+
```
|
|
147
|
+
|
|
148
|
+
When a subset is requested, the installer automatically includes the required `pixelcraft` orchestrator and `pixelcraft-plan` step-zero skill and prints a note. Auto-added core skills install only when missing; `--force` applies only to explicitly requested skills. Without `--force`, existing skill directories are skipped so local edits are not silently deleted. The installer refuses symlinked target skill directories rather than following them outside the project.
|
|
149
|
+
|
|
150
|
+
Installer agent names are `claude`, `codex`, `agents`, `devin`, `cursor`, `gemini`, `copilot`, `windsurf`, `opencode`, `kiro`, `cline`, `roo`, `droid`, `antigravity`, and `all`. Amp, Zed, and Goose can use `--agent amp`, `--agent zed`, and `--agent goose`, which select the shared `agents` directory. Other aliases: `claude-code`, `gemini-cli`, `github-copilot`, `open-code`, `roo-code`, and `factory`.
|
|
151
|
+
|
|
152
|
+
| Agent | Project path | User path | What Pixelcraft installs |
|
|
153
|
+
|---|---|---|---|
|
|
154
|
+
| Claude Code | `.claude/skills` | `~/.claude/skills` | Native skills plus `.claude/commands` adapter files |
|
|
155
|
+
| Codex / generic agents / Devin | `.agents/skills` | `~/.agents/skills` | Native skills only |
|
|
156
|
+
| Cursor | `.cursor/skills` | `~/.cursor/skills` | Native skills plus `.cursor/rules/pixelcraft.mdc` |
|
|
157
|
+
| Gemini CLI | `.gemini/skills` | `~/.gemini/skills` | Native skills only |
|
|
158
|
+
| GitHub Copilot | `.github/skills` | `~/.copilot/skills` | Native skills plus instruction/prompt adapter files |
|
|
159
|
+
| OpenCode | `.opencode/skills` | `~/.config/opencode/skills` | Native skills only |
|
|
160
|
+
| Windsurf | `.windsurf` | `~/.codeium/windsurf` | Native skills under `skills/` plus rules/memory and workflow routers |
|
|
161
|
+
| Kiro | `.kiro/skills` | `~/.kiro/skills` | Native skills plus the steering adapter |
|
|
162
|
+
| Cline | `.cline/skills` | `~/.cline/skills` | Native skills |
|
|
163
|
+
| Roo Code | `.roo/skills` | `~/.roo/skills` | Native skills |
|
|
164
|
+
| Factory Droid | `.factory/skills` | `~/.factory/skills` | Native skills |
|
|
165
|
+
| Google Antigravity | `.agents/skills` | `~/.gemini/config/skills` | Native skills; project path works with the app and CLI |
|
|
166
|
+
|
|
167
|
+
`--agent all` installs every target and deduplicates shared `.agents/skills` destinations.
|
|
168
|
+
|
|
169
|
+
For version-sensitive work, Pixelcraft asks the agent to check the resolved version against official docs and the relevant registry. [Context7](https://github.com/upstash/context7#readme) can help retrieve docs when a host supports it. Use `--docs-mcp` (Node or Bash) or `-DocsMcp` (PowerShell) to print setup guidance, including with dry-run. This does not install tools, edit MCP config, or request keys. Reuse an approved existing MCP connection; otherwise use official docs and registry lookup. Never send secrets or proprietary code in lookup queries.
|
|
170
|
+
|
|
171
|
+
### Vercel `skills` CLI
|
|
172
|
+
|
|
173
|
+
The external `skills` CLI supports GitHub shorthand discovery and interactive agent selection. It requires Node.js 22.20 or newer:
|
|
174
|
+
|
|
175
|
+
```bash
|
|
176
|
+
npx skills add ThanhNguyxnOrg/Pixelcraft
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
A non-interactive selection uses its documented flags, for example:
|
|
180
|
+
|
|
181
|
+
```bash
|
|
182
|
+
npx skills add ThanhNguyxnOrg/Pixelcraft --skill pixelcraft --skill pixelcraft-plan --skill pixelcraft-web -a claude-code
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
Add `-g` for user-level installation. That CLI owns its own detection behavior and supports more agents than Pixelcraft's bundled installer.
|
|
186
|
+
|
|
187
|
+
Discover the pack with `npx skills add ThanhNguyxnOrg/Pixelcraft --list`. The [skills.sh leaderboard](https://www.skills.sh/docs/faq) is driven by install telemetry from its CLI, not a separate npm publish step. Use `DISABLE_TELEMETRY=1` for a telemetry-free smoke check. A working Git install does not by itself prove a public listing.
|
|
188
|
+
|
|
189
|
+
### Claude Code plugin marketplace
|
|
190
|
+
|
|
191
|
+
Inside Claude Code, add the repository as a marketplace and install the plugin. Both the marketplace and plugin are named `pixelcraft` in `.claude-plugin/marketplace.json`:
|
|
192
|
+
|
|
193
|
+
```text
|
|
194
|
+
/plugin marketplace add ThanhNguyxnOrg/Pixelcraft
|
|
195
|
+
/plugin install pixelcraft@pixelcraft
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
The equivalent shell commands are `claude plugin marketplace add ThanhNguyxnOrg/Pixelcraft` and `claude plugin install pixelcraft@pixelcraft`. In Claude Desktop/Cowork, enter `ThanhNguyxnOrg/Pixelcraft` in **Plugins → Add marketplace**. Claude Code CLI marketplace validation and install were verified locally; Desktop/Cowork sync is `not-checked`.
|
|
199
|
+
|
|
200
|
+
### Claude and ChatGPT sessions
|
|
201
|
+
|
|
202
|
+
- **Claude web/Desktop:** For a personal skill upload rather than a marketplace install, download or clone this repository and run `npm run build:skill-zips` from it (no dependency install needed). In **Customize → Skills → + → Upload a skill**, select an archive such as `skill-zips/pixelcraft.zip`. Upload and enable additional skills individually, starting with `pixelcraft-plan` and the skills for your platform or task. Use an [eligible Claude plan with code execution enabled](https://support.claude.com/en/articles/12512180-use-skills-in-claude). Each ZIP contains exactly one skill folder and its supporting files; don't upload the full release archive as a single skill. To build again, use an empty destination with `npm run build:skill-zips -- --out <directory>`.
|
|
203
|
+
- **ChatGPT plugins:** Pixelcraft is a skills-only [OpenAI Agent Plugin](https://developers.openai.com/plugins/build/plugins), not a legacy ChatGPT plugin or a server-backed Apps SDK integration. For local development in the ChatGPT desktop app, open the repository as a project and select Pixelcraft from the project's plugin marketplace. For a managed ChatGPT workspace, an eligible admin can [import and sync the GitHub marketplace](https://developers.openai.com/codex/enterprise/plugin-management) using `ThanhNguyxnOrg/Pixelcraft` with **Path** left empty. Install it from **Plugins** and start a new session. Availability depends on the client and workspace settings.
|
|
204
|
+
- **ChatGPT skills:** If your workspace allows personal skill uploads, use **Plugins → Skills → Create → Upload from your computer**, or use **Create with editor**. The [ChatGPT help page](https://help.openai.com/en/articles/20001066-skills-in-chatgpt) documents upload and admin permissions but does not specify the accepted archive layout. Pixelcraft's per-skill ZIPs follow Claude's documented layout; ChatGPT ZIP acceptance has not been verified. Use the plugin marketplace for the full pack where available.
|
|
205
|
+
|
|
206
|
+
### Native host installation without npx
|
|
207
|
+
|
|
208
|
+
The same canonical `skills/` tree is used by the manifests; no copy of the skill bodies is maintained. “Not checked” means the host path is documented but was not exercised in its client. None of the marketplace or gallery options below imply that Pixelcraft has been submitted to a public host catalog.
|
|
209
|
+
|
|
210
|
+
| Host | Installation | Status |
|
|
211
|
+
|---|---|---|
|
|
212
|
+
| [Claude Code](https://code.claude.com/docs/en/plugins/marketplace-reference) | Marketplace commands above; the GitHub source loads `.claude-plugin/plugin.json` and discovers the bundled `skills/`. | CLI install checked. |
|
|
213
|
+
| [Claude Desktop / Cowork / web](https://support.claude.com/en/articles/12512198-how-to-create-custom-skills) | Marketplace or per-skill ZIP upload as described above. | ZIP contents checked; client sync and upload not checked. |
|
|
214
|
+
| [ChatGPT](https://learn.chatgpt.com/docs/plugins) | Use the portable `plugin.json` with `.agents/plugins/marketplace.json` in supported sessions, or use the Skills editor where available. | Client and workspace not checked. |
|
|
215
|
+
| [Cursor](https://cursor.com/docs/reference/plugins) | Use the bundled Cursor installer, or for local plugin testing place `plugin.json` and `skills/` under `~/.cursor/plugins/local/pixelcraft/`. The root manifest is also suitable for Cursor marketplaces. | Plugin loading in Cursor not checked. |
|
|
216
|
+
| [OpenCode](https://opencode.ai/docs/skills/) | Use the bundled installer with `--agent opencode` or add the checkout's `skills/` path to OpenCode's `skills` config. This is a skills pack, not an executable OpenCode plugin. | Local CLI discovered 26 skills. |
|
|
217
|
+
| [Pi](https://docs.pi.dev/latest/packages) | `pi install git:github.com/ThanhNguyxnOrg/Pixelcraft` (or `pi install ./Pixelcraft` from a local clone's parent). | Local package install checked. |
|
|
218
|
+
| [Codex CLI and IDE](https://developers.openai.com/plugins/build/plugins#package-and-distribute-plugins) | CLI: `codex plugin marketplace add ThanhNguyxnOrg/Pixelcraft`, then `codex plugin add pixelcraft@pixelcraft` or use `/plugins`. IDE: use `pixelcraft add all --agent codex` for project skills; the IDE extension does not support plugin installation. | Local CLI plugin install checked; IDE not checked. |
|
|
219
|
+
| [Gemini CLI](https://geminicli.com/docs/extensions/reference/) | `gemini extensions install https://github.com/ThanhNguyxnOrg/Pixelcraft` and restart the session. | Local extension install checked. |
|
|
220
|
+
| [GitHub Copilot CLI](https://docs.github.com/en/copilot/how-tos/copilot-cli/customize-copilot/plugins-finding-installing) | `copilot plugin marketplace add ThanhNguyxnOrg/Pixelcraft`, then `copilot plugin install pixelcraft@pixelcraft`. | Local catalog and plugin install checked. |
|
|
221
|
+
| [GitHub Copilot in VS Code](https://docs.github.com/en/copilot/concepts/customizations/agent-skills) | `pixelcraft add all --agent copilot` into the workspace's `.github/skills`; start a new chat and ask for a Pixelcraft skill by name. | Installer placement checked; IDE discovery not checked. |
|
|
222
|
+
| [Windsurf Cascade](https://docs.windsurf.com/fr/windsurf/cascade/skills) | Use the bundled installer with `--agent windsurf` or copy into the client's supported skills directory. | Installer placement checked; client discovery not checked. |
|
|
223
|
+
| [Kiro](https://kiro.dev/docs/skills/) | `pixelcraft add all --agent kiro` into `.kiro/skills` (or use `--global` on local clients). This is native Agent Skills packaging, not a Kiro Power. | Installer placement checked; client discovery not checked. |
|
|
224
|
+
| [Amp](https://ampcode.com/docs/customize/skills) | `amp skill add https://github.com/ThanhNguyxnOrg/Pixelcraft` or use the bundled project's `.agents/skills` install. No executable Amp plugin required. | Client discovery not checked. |
|
|
225
|
+
| [Cline](https://docs.cline.bot/customization/skills) | `pixelcraft add all --agent cline` into `.cline/skills`. | Installer placement checked; client discovery not checked. |
|
|
226
|
+
| [Roo Code](https://roocodeinc.github.io/Roo-Code/features/skills/) | `pixelcraft add all --agent roo` into `.roo/skills`. | Installer placement checked; client discovery not checked. |
|
|
227
|
+
| [Zed](https://zed.dev/docs/ai/skills) | `pixelcraft add all --agent zed` into `.agents/skills`; use Skills in the Zed Settings Editor to inspect discovery. | Installer placement checked; client discovery not checked. |
|
|
228
|
+
| [Factory Droid](https://docs.factory.com/harness/plugins) | `droid plugin marketplace add ThanhNguyxnOrg/Pixelcraft`, then `droid plugin install pixelcraft@Pixelcraft` (use the marketplace name Droid prints), or `pixelcraft add all --agent droid` into `.factory/skills`. | Local marketplace plugin install checked. |
|
|
229
|
+
| [Goose](https://github.com/block/goose/blob/main/documentation/docs/guides/context-engineering/using-skills.md) | `pixelcraft add all --agent goose` into `.agents/skills`, then `goose skills list`. | Local CLI discovered 26 skills. |
|
|
230
|
+
| [Google Antigravity](https://antigravity.google/docs/skills) | `pixelcraft add all --agent antigravity` into `.agents/skills`; inspect skills via Customizations in the app. | Installer placement checked; client discovery not checked. |
|
|
231
|
+
| [skills.sh](https://www.skills.sh/docs/cli) | The cross-agent Git discovery command above; no Pixelcraft npm package required. | Local discovery of the full skill pack checked; public listing not checked. |
|
|
232
|
+
|
|
233
|
+
### curl/bash installer without Node.js
|
|
234
|
+
|
|
235
|
+
```bash
|
|
236
|
+
curl -fsSL https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.sh | bash -s -- --agent claude --skills all
|
|
237
|
+
```
|
|
238
|
+
|
|
239
|
+
The script downloads the GitHub source tarball, extracts it temporarily, and copies self-contained skill folders. It supports:
|
|
240
|
+
|
|
241
|
+
```text
|
|
242
|
+
--agent claude,cursor target agent(s); default agents
|
|
243
|
+
--skills all comma-separated skills or all; default all
|
|
244
|
+
--global user-level scope; project scope is the default
|
|
245
|
+
--force replace explicitly requested existing skills
|
|
246
|
+
--dry-run print copies without writing files
|
|
247
|
+
--ref v0.1.0 branch, tag, or commit archive; default main
|
|
248
|
+
--archive path.tar.gz use a local tarball instead of downloading
|
|
249
|
+
```
|
|
250
|
+
|
|
251
|
+
It never uses sudo, requires only curl or wget plus tar, refuses symlinked targets/skill folders, and skips existing folders unless `--force` is passed. Existing auto-added core skills are skipped whether `--force` is present or not. For hosts with native rule/workflow/steering surfaces, it also writes the same small router adapters as the Node installer without inlining skill bodies.
|
|
252
|
+
|
|
253
|
+
### PowerShell installer without Node.js
|
|
254
|
+
|
|
255
|
+
Default installation into the universal project `.agents/skills` directory:
|
|
256
|
+
|
|
257
|
+
```powershell
|
|
258
|
+
irm https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.ps1 | iex
|
|
259
|
+
```
|
|
260
|
+
|
|
261
|
+
Pass parameters by invoking the downloaded script as a script block:
|
|
262
|
+
|
|
263
|
+
```powershell
|
|
264
|
+
iex "& { $(irm https://raw.githubusercontent.com/ThanhNguyxnOrg/Pixelcraft/main/install.ps1) } -Agent claude -Skill pixelcraft-web"
|
|
265
|
+
```
|
|
266
|
+
|
|
267
|
+
Parameters mirror the shell script: `-Agent`, `-Skill`, `-Global`, `-Force`, `-DryRun`, `-DocsMcp`, `-Ref`, `-Repo`, and `-Archive` (`-Archive` expects a local `.zip`; the shell script's `--archive` expects `.tar.gz`). The script downloads the repository zip with `Invoke-WebRequest`, expands it with `Expand-Archive`, never uses sudo/elevation, refuses reparse-point targets, and preserves existing folders unless `-Force` is passed for explicitly selected skills.
|
|
268
|
+
|
|
269
|
+
### GitHub Release download
|
|
270
|
+
|
|
271
|
+
After a published release, download `pixelcraft-skills.zip` or `pixelcraft-skills.tar.gz` from the repository's Releases page, or with GitHub CLI:
|
|
272
|
+
|
|
273
|
+
```bash
|
|
274
|
+
gh release download <tag> --repo ThanhNguyxnOrg/Pixelcraft --pattern pixelcraft-skills.zip
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
Each archive contains canonical `skills/` plus generated `adapters/`. Either copy a canonical `skills/<name>` directory into a verified target or copy the matching generated project-root fragment from `adapters/<agent>/`.
|
|
278
|
+
|
|
279
|
+
### npm package (pending the first approved release)
|
|
280
|
+
|
|
281
|
+
After `@thanhnguyxn/pixelcraft` is publicly available on npm, install the CLI without `npx`:
|
|
282
|
+
|
|
283
|
+
```bash
|
|
284
|
+
npm i -g @thanhnguyxn/pixelcraft
|
|
285
|
+
pixelcraft add all --agent cursor
|
|
286
|
+
```
|
|
287
|
+
|
|
288
|
+
Pi can then also install it with `pi install npm:@thanhnguyxn/pixelcraft`. Until release, use the Git-based or local installers above.
|
|
289
|
+
|
|
290
|
+
Maintainers: use `npm run test:distribution` to inspect the package without publishing. The [organization Release Controller](https://github.com/ThanhNguyxnOrg/.github/blob/main/docs/agent-automation.md#release-safety) opens a release PR with the version changes and changelog. Merge it to approve the release (keep the release PR title if squashing). The controller creates the tag, and this repository's adapter checks that it matches the package version, builds the archives, and calls the shared GitHub Release publisher. Only after that succeeds does the shared npm publisher upload the package with provenance. The repository still needs an `NPM_TOKEN` authorized to publish `@thanhnguyxn/pixelcraft` publicly. No per-release variable or manual tag is required.
|
|
291
|
+
|
|
292
|
+
### Manual git clone/copy
|
|
293
|
+
|
|
294
|
+
Clone once, choose a target directory, and copy either all skills or selected self-contained folders:
|
|
295
|
+
|
|
296
|
+
```bash
|
|
297
|
+
git clone --depth 1 https://github.com/ThanhNguyxnOrg/Pixelcraft.git
|
|
298
|
+
mkdir -p .agents/skills
|
|
299
|
+
cp -R Pixelcraft/skills/pixelcraft-web .agents/skills/
|
|
300
|
+
```
|
|
301
|
+
|
|
302
|
+
Use the support matrix above for the destination matching the agent. Adapter rows require copying both the skill payload and the small router files; release archive fragments preserve that layout.
|
|
303
|
+
|
|
304
|
+
Do not construct cross-skill relative links after copying; each skill folder is self-contained.
|
|
305
|
+
|
|
306
|
+
## Example prompts
|
|
307
|
+
|
|
308
|
+
```text
|
|
309
|
+
Use Pixelcraft to redesign this repository's settings screen. Detect the stack first, generate divergent directions, implement the selected direction idiomatically, and report verification evidence.
|
|
310
|
+
```
|
|
311
|
+
|
|
312
|
+
```text
|
|
313
|
+
Audit this checkout flow with pixelcraft-review. Separate floor violations from polish findings and label rendered evidence versus static inference.
|
|
314
|
+
```
|
|
315
|
+
|
|
316
|
+
```text
|
|
317
|
+
Build the dashboard empty, loading, error, offline, and permission-denied states using pixelcraft-ux and the matching platform skill.
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
```text
|
|
321
|
+
Create a premium brand-kit identity board for a developer-tool startup. Use pixelcraft-brandkit, compare distinct brand worlds before prompting, and export the selected palette/type as DTCG tokens.
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
```text
|
|
325
|
+
Adapt this landing page for Arabic and German. Check RTL behavior, expansion, locale formatting, font fallback, and localized copy rather than only translating strings.
|
|
326
|
+
```
|
|
327
|
+
|
|
328
|
+
## Tools
|
|
329
|
+
|
|
330
|
+
Validate all skill metadata, line limits, scripts, and local links:
|
|
331
|
+
|
|
332
|
+
```bash
|
|
333
|
+
npm run validate
|
|
334
|
+
```
|
|
335
|
+
|
|
336
|
+
Scan a directory for recurring AI-slop fingerprints:
|
|
337
|
+
|
|
338
|
+
```bash
|
|
339
|
+
node skills/pixelcraft-review/scripts/slop-scan.mjs <directory>
|
|
340
|
+
node skills/pixelcraft-review/scripts/slop-scan.mjs <directory> --json
|
|
341
|
+
```
|
|
342
|
+
|
|
343
|
+
Export the example DTCG tokens:
|
|
344
|
+
|
|
345
|
+
```bash
|
|
346
|
+
node skills/pixelcraft-tokens/scripts/export-tokens.mjs skills/pixelcraft-tokens/assets/tokens.example.json --format css
|
|
347
|
+
node skills/pixelcraft-tokens/scripts/export-tokens.mjs skills/pixelcraft-tokens/assets/tokens.example.json --format all --out-dir generated/tokens
|
|
348
|
+
```
|
|
349
|
+
|
|
350
|
+
Supported export formats are `css`, `tailwind`, `swift`, `kotlin`, `dart`, `python`, `qt`, `textual`, and `all`.
|
|
351
|
+
|
|
352
|
+
Capture browser visual QA evidence when Playwright is installed:
|
|
353
|
+
|
|
354
|
+
```bash
|
|
355
|
+
node skills/pixelcraft-visual-qa/scripts/shoot.mjs dist/index.html --out visual-qa
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
For local files, `shoot.mjs` serves only the file's own directory by default. Use `--root` only when shared parent assets are required; it exposes every non-dotfile beneath that root to page scripts during capture (`.env`, `.git/` and other dot-segments are refused). HTTP error pages are captured with their `status` recorded; use `--allow-http-error` only when intentionally reviewing 404/500 designs.
|
|
359
|
+
|
|
360
|
+
Measure typography, color, estimated geometry, motion signals and payload on a browser surface:
|
|
361
|
+
|
|
362
|
+
```bash
|
|
363
|
+
node skills/pixelcraft-visual-qa/scripts/style-inventory.mjs dist/index.html --breakpoints 390x844,768x1024,1440x900 --out inventory.json
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
Use identical settings and fixtures for before/after, keep the JSON beside screenshots and task evidence, and use native device/client evidence for non-browser surfaces. See the [measured craft guide](skills/pixelcraft-visual-qa/references/measured-craft.md) for limits and platform alternatives.
|
|
367
|
+
|
|
368
|
+
Inspect installer behavior:
|
|
369
|
+
|
|
370
|
+
```bash
|
|
371
|
+
node bin/pixelcraft.mjs --help
|
|
372
|
+
node bin/pixelcraft.mjs add all --agent all --dry-run
|
|
373
|
+
```
|
|
374
|
+
|
|
375
|
+
## Repository layout
|
|
376
|
+
|
|
377
|
+
```text
|
|
378
|
+
bin/ zero-dependency Node installer and wizard
|
|
379
|
+
install.sh curl/bash installer (no Node required; pass --ref <tag> for a release or --ref <commit-sha> for a content-stable pin)
|
|
380
|
+
install.ps1 PowerShell installer (no Node required; pass -Ref <tag> for a release or -Ref <commit-sha> for a content-stable pin)
|
|
381
|
+
scripts/ validation, adapter builder, and contract test suites
|
|
382
|
+
skills/ 26 self-contained Agent Skills
|
|
383
|
+
evals/ 26 behavioural eval guides and machine-readable JSON fixtures
|
|
384
|
+
assets/ brand artwork and icons
|
|
385
|
+
docs/ARCHITECTURE.md system design and conventions
|
|
386
|
+
docs/DESIGN-RATIONALE.md contributor rationale for major rules
|
|
387
|
+
plugin.json portable plugin manifest
|
|
388
|
+
gemini-extension.json Gemini CLI extension manifest
|
|
389
|
+
.claude-plugin/ Claude marketplace and plugin manifests
|
|
390
|
+
.agents/plugins/ Codex local plugin catalog metadata
|
|
391
|
+
.github/workflows/ validation and tag-release workflows
|
|
392
|
+
```
|
|
393
|
+
|
|
394
|
+
## Roadmap
|
|
395
|
+
|
|
396
|
+
- automated model-execution eval harness on top of the existing `evals/` guides and JSON fixtures, plus expanding fixture coverage across all 26 skills;
|
|
397
|
+
- showcase site with verified examples across supported stacks;
|
|
398
|
+
- deeper framework coverage and version-specific verification matrices;
|
|
399
|
+
- richer design-token conversion and implementation handoff;
|
|
400
|
+
- internationalization of contributor documentation where useful, while keeping skill content consistently machine-readable.
|
|
401
|
+
|
|
402
|
+
## Contributing
|
|
403
|
+
|
|
404
|
+
See [`CONTRIBUTING.md`](CONTRIBUTING.md) and [`AGENTS.md`](AGENTS.md). Before changing a rule, read the rationale in [`docs/DESIGN-RATIONALE.md`](docs/DESIGN-RATIONALE.md). Contributions must preserve the Agent Skills format, zero-dependency tooling, self-contained skill folders, evidence-label discipline, and the distinction between verified facts and model judgment.
|
|
405
|
+
|
|
406
|
+
## License
|
|
407
|
+
|
|
408
|
+
MIT — see [`LICENSE`](LICENSE).
|
package/assets/README.md
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# Pixelcraft brand assets
|
|
2
|
+
|
|
3
|
+
The supplied PixelCraft artwork is the source for these assets. Use the ready-to-publish exports for new placements; keep the source artwork for larger crops or future exports.
|
|
4
|
+
|
|
5
|
+
| Asset | Dimensions | Use |
|
|
6
|
+
|---|---:|---|
|
|
7
|
+
| [Source logo](originals/pixelcraft-logo.png) | 1254 × 1254 | Transparent source artwork |
|
|
8
|
+
| [Source theme](originals/pixelcraft-theme.png) | 1672 × 941 | Full composition with wordmark and tagline |
|
|
9
|
+
| [Banner](pixelcraft-banner.png) | 1120 × 630 | Repository README and documentation headers |
|
|
10
|
+
| Logo: [512](pixelcraft-logo-512.png), [256](pixelcraft-logo-256.png), [128](pixelcraft-logo-128.png) | Square | Transparent logo in three sizes for avatars and marks |
|
|
11
|
+
| Favicon: [ICO](pixelcraft-favicon.ico), [PNG](pixelcraft-logo-32.png) | 32 × 32 | Browser tabs and other small placements |
|
|
12
|
+
| [Social preview](pixelcraft-social-preview.png) | 1280 × 640 | GitHub repository social preview; upload in repository settings to activate it |
|
|
13
|
+
|
|
14
|
+
## Palette
|
|
15
|
+
|
|
16
|
+
Representative colors sampled from the supplied artwork, not semantic UI tokens:
|
|
17
|
+
|
|
18
|
+
| Color | Hex | Role in the artwork |
|
|
19
|
+
|---|---|---|
|
|
20
|
+
| Midnight navy | `#01072A` | Theme background |
|
|
21
|
+
| Deep navy | `#020835` | Logo outlines and inner field |
|
|
22
|
+
| Electric cyan | `#03F0ED` | Code glyph and cool highlights |
|
|
23
|
+
| Bright blue | `#028BF3` | Cool-side shading |
|
|
24
|
+
| Violet | `#6E25FA` | Gear and transition accents |
|
|
25
|
+
| Neon magenta | `#F908F5` | Warm-side gear highlights |
|
|
26
|
+
| Signal orange | `#FC9126` | Upper-right pixel accents |
|
|
27
|
+
|
|
28
|
+
Keep the transparent logo on a background that separates its navy silhouette. Treat the bright colors as accents, and check contrast for any text or controls that use them.
|
|
Binary file
|