reskin
БесплатноЗапускает вложенные скриптыНе проверенRebuild an existing site's pages with byte-faithful content on a separately-defined donor design system — another live site, local static HTML prototypes, or…
от adobe★ 342 звезды на GitHubОб этом скилле
stardust:reskin — same content, donor design
The user has a site (the content source) and a design that already exists somewhere else (the donor: another live site, or a directory of static HTML prototypes, or a Figma file). Reskin rebuilds the content site's pages so that every visible byte of content survives — text, ordered images, CTAs, SEO metadata — while the surface comes entirely from the donor's tokens and module vocabulary.
The two halves have different contracts:
- Content is non-negotiable. The gate is byte equality of whitespace-normalized visible text, the ordered visible-image set, and full metadata carry-over. Not "close" — equal, after an explicitly declared, executable normalization ledger.
- Design is flexible. Content is re-laid-out onto donor modules (a
carousel may become a card grid). Structure gates only where a Figma
page template fits the type (
reference/templates.md).
The decisive rule: the page is generated programmatically from the captured content model — content strings are never retyped. Byte fidelity then holds by construction.
Inputs
<content-url>— required. The site whose content is preserved.- Donor, exactly one of:
--donor <url>— a live site whose design system is adopted.--donor-dir <path>— a directory of local static HTML prototypes (claude-design / Mobirise / Relume / Lovable / v0 / hand-coded). Served on localhost and captured through the same path — recipe inreference/donor-sources.md§ Local prototypes.--donor-figma <url>— a Figma file (a design, file, proto or branch URL; the whole file is read, anode-idonly recorded), read headlessly over the REST API. Needs a personal access token inFIGMA_TOKEN. Optional--frames <ids>and--confidential(refuses to write anything git would track; sticky forcurateandstamp). Flags, schemas, exit codes:figma-donor.mjs --help.
--pages <slug,slug,...>— optional. Restrict the content capture (Phases 2–5) to specific pages. Default: the archetype set (one page per page type; a spec'sarchetypes.jsonnames them; scale to siblings happens in Phase 6 viamigrate). Never restricts the inventory: Phase 1 still crawls the whole site.--scope <selectors>— optional. Pre-declare the content-root scope for a single-page run (comma-separated,!suffix keeps a scope whole; seereference/content-model.md§ Scope declaration). Without it, run the scope-discovery procedure per page.
Setup
- Run the master skill's setup (
../stardust/SKILL.md§ Setup): impeccable dep check, context loader, state read. Flow. Stampstate.json.flow: "reskin"if unset (../stardust/reference/state-machine.md§ Flow keys); if another flow is set, print it and the switch command ($stardust reskin --switch-flow) instead of running. - Node 22+ and an import probe from
stardust/forplaywright,pixelmatchandpngjs. On failure install intostardust/as its own package root, never into the project (a root install can rewrite the lockfile and prune the project's dev tooling), and never--no-save. After any installgit diff --stat package-lock.jsonmust be empty. Commands:reference/gates.md§ Install. Re-run the probe at the start of every phase that renders. - Copy the scripts into the project and run the copies,
byte-identical, into sibling dirs under
stardust/scripts/{reskin,stardust,diff,replica,deploy,prototype}/: every reskin gate script resolves the master skill'sbrowser.mjsthere and exits 2 without it. List:reference/gates.md§ Project copies. Never edit a copied script (orstardust/rollout/encoder/): a script that can't handle the page is a residual. Read image sizes with node (pngjs, Playwright); python PIL is not assumed. - Origin collision — if
stardust/state.jsonrecords a differentsite.originUrl, stop and ask before mixing sites, per../extract/SKILL.md§ Setup. - Full-inventory check — on resume, and again after Phase 1's
crawl: a capped crawl is a setup error; re-crawl with
--all(reference/full-site.md§ Full-inventory check).
Procedure
Phase 1 — INGEST DONOR
The donor's design system is captured separately from the content
site, into stardust/canon-source/. The same extract run crawls the
content site, always --all and never --prep
(reference/full-site.md). Recipes per donor type in
reference/donor-sources.md; summary:
- Live URL (
--donor <url>):$stardust extract <content-url> --all --design-source <donor-url>, unchanged; it stampsstate.json.designSource(../extract/SKILL.md§ Cross-site brand sources). - Local prototype dir (
--donor-dir <path>): serve it on localhost and run the same--design-sourcecapture against that origin, recording the real provenance incanon-source/_crawl-log.json. - **Figma
Установить reskin в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл reskin?
Rebuild an existing site's pages with byte-faithful content on a separately-defined donor design system — another live site, local static HTML prototypes, or a Figma file read headlessly over the REST API. Content fidelity is gated byte-level (text, ordered images, SEO metadata); design application is flexible (content re-laid-out onto donor modules). Use when the user says "reskin my site with this design", "apply this design system to my content", "restyle my site to look like <other site>", "new design, same content", "rebrand my site using these prototypes", "use this Figma design for my site", or names a content site plus a design donor. NOT for redesigning from intent (that's the stardust core extract/direct/prototype chain) and NOT for keeping the current design while migrating (that's the replica flow).
Как установить скилл reskin?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл reskin запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic