prototype
БесплатноЗапускает вложенные скриптыНе проверенRender a proposed redesign of a page on the current website as a self-contained static HTML file, then iterate via the impeccable craft loop. Per-page…
от adobe★ 342 звезды на GitHubОб этом скилле
stardust:prototype
For each directed page, render a proposed redesign as a
self-contained static HTML file at
stardust/prototypes/<slug>-proposed.html. Open the file in the
browser; iterate via chat-driven impeccable commands ("make the
hero bolder", "tighten the cup-note grid"). Mark approved once
the user signs off in the conversation.
prototype is not a renderer of its own design — it composes the
target spec written by direct (PRODUCT.md, DESIGN.md,
DESIGN.json, stardust/direction.md) onto the page content captured
by extract (stardust/current/pages/<slug>.json). Visual creativity
is delegated to $impeccable craft and the iteration commands
(bolder, quieter, distill, polish, colorize, typeset,
layout, adapt, animate, delight, overdrive, impeccable).
This file is the outline of the procedure. The text of each phase is in skills/prototype/reference/, in the file the phase names. Read that file in full when you reach the phase; never work from a heading alone.
Inputs
<slug>— optional positional. Prototype just this page. Without it, prototype everydirectedpage that is notstale.--all— prototype everydirectedpage including stale ones.--prep— optional. Run in migrate-prep mode: fill page-type gaps (prototype one representative archetype per type) and, on approval, write canon back tostardust/canon/andDESIGN.json.extensions.canon. See § Prep mode below andreference/canon-extraction.md. Typically invoked via theprepare-migrationorchestrator.--canon-from <slug>— optional. Override the default canon- author (which is the first approved prototype, typicallyhome). Used when a different page should establish the design canon.--publish-sample <slug>— submit the named slug to the stardust showcase. Triggers the publish-sample sub-flow documented inreference/publish-sample.md: eligibility checks, file staging, PR creation against the upstream stardust repo. Requiresghinstalled and authenticated. The showcase is a visual demonstration, not a deployable site — placeholder content is allowed and recorded in the PR body's § Unsourced content section. Design-quality gates stay strict: refuses on unjustified anti-toolbox hits,:roottoken contract failure, data-attributes contract failure, or impeccable hard-rule violations. P0/P1 critique findings warn but don't refuse. The showcase publishes via GitHub Pages on merge.--cinematic— optional. Layer a cinematic motion register on top of the static prototype. The register is read fromDESIGN.json.extensions.motion.register(written bydirect); if absent, the prototype phase picks one using the same heuristic perreference/motion-registers.md§ Selection heuristic. Output filename is<slug>-cinematic.html(alongside the static<slug>-proposed.html, never replacing it). Triggers the cinematic gates in motion validation (reference/motion-validation.md§ Pass 6).--cinematic=<register>— optional. Same as--cinematicbut forces a specific register (arrival,kinetic-display,live-systems,editorial,kinetic-grid). The override is recorded in_provenance.motion.registerSource = "user-override"so reviewers can spot when direction's heuristic was bypassed.
No opt-outs
prototype does not carry --no-* or --skip-* flags. The
quality gates (critique, audit, mobile-adapt audit, anti-toolbox
audit, content-sourcing scan) are the product — they're not
optional. If a gate refuses a file, the remediation is to fix
the file or override the gate by editing the file directly, not
to pass a flag that silently lowers the bar. Manual chat
overrides ("ship as-is", "accept the P1 findings") are still
available; the agent records the override verbatim in
_provenance so downstream consumers see the explicit
acknowledgement.
Setup
- Playwright re-probe (mandatory first step).
--no-saveplaywright installs from earlier phases are pruned by any later realnpm i(extract SKILL.md § Setup →--no-saveinstalls are ephemeral). Before any rendering step, probenode -e "import('playwright').then(()=>process.exit(0))"from the project root and re-install (npm i -D playwright --no-save --legacy-peer-deps) on failure. - Run the master skill's setup
(
skills/stardust/SKILL.md§ Setup). - Verify
stardust/state.jsonexists and contains at least onedirectedpage. If not, recommend$stardust directand stop. - Verify the project-root
DESIGN.mdandDESIGN.jsonexist. If not, the direction was not fully authored — recommend$stardust directand stop. - Verify
stardust/direction.mdhas an active (not pending) direction. Pending directions block prototype. - Validate provenance on every page in scope. Call
validateProvenance(page)perskills/stardust/reference/state-machine.md§ Provenance
Установить prototype в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл prototype?
Render a proposed redesign of a page on the current website as a self-contained static HTML file, then iterate via the impeccable craft loop. Per-page, idempotent, stale-aware. Use when the user asks for a redesign prototype, a before/after comparison, a design preview, a page mockup, a visual diff of the redesign, or invokes `$stardust prototype` (`/stardust:prototype` in Claude Code).
Как установить скилл prototype?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл prototype запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic