replica
БесплатноЗапускает вложенные скриптыНе проверенSame-design migration — re-platform a site to AEM Edge Delivery (or any clean front end) keeping its current design near pixel-perfect. Recreates key pages…
от adobe★ 342 звезды на GitHubОб этом скилле
stardust:replica — same-design migration
Same pages, same content, same design — new platform. The target spec IS the captured current state, the only permitted deltas are the entries of an explicit inconsistency register, and every archetype passes a measured source-fidelity gate against the live site before anything ships.
- No creative decisions. The direction step is mechanical promotion of
the captured spec: the stardust
directskill is never invoked and impeccable craft is never delegated to (its redesign gates do not apply — a "tastefully improved" section is a failing section). - Recreation, not copying. Archetypes are clean semantic HTML/CSS authored from captured content and from values MEASURED on the source — never DOM copies, never ported page-level stylesheets. Fidelity is proven by instruments, not asserted.
Inputs
<URL>— required. The site to migrate.--breakpoints <list>— optional. Gate widths, default1440,360; each gets its own gate pass (mobile is not free — gate doc § Per-breakpoint).--target-breakpoints <list>— optional. Mobile-firstmin-widthsteps (e.g.600,900,1200) the delivered site switches layout at instead of the source's. Absent = source breakpoints kept, every target step below skipped. Persisted inDESIGN.jsonextensions.breakpoints.target.--register <file>— optional. Inconsistency items to seed the register (Phase 2). Without it and without an audit the register is empty.--first-page <url|home>— optional; hands-offhome. The page a full-site run delivers first (reference/first-page-first.md).
Setup
- Run the master skill's setup (
../stardust/SKILL.md§ Setup). Flow guard: ifstate.json.flowisredesign, refuse — print the never-mix line and the switch command ($stardust replica --switch-flow; master skill § Two migration flows). Ifflowis absent, stampflow: "replica",flowSource: "user-phrase". - Probe the gate's deps from the project root —
node -e "import('pixelmatch').then(()=>process.exit(0))"(and playwright, pngjs, cheerio) — and only on failure install them AS devDependencies, never--no-save(npm i -D playwright pixelmatch pngjs cheerio --legacy-peer-deps): ESM resolves from the project root, and the delivered repo carries what is installed. - Copy scripts into the project and run them from there: this skill's
scripts/tostardust/scripts/replica/,../stardust/scripts/tostardust/scripts/stardust/,../migrate/scripts/tostardust/scripts/migrate/and../diff/scripts/tostardust/scripts/diff/(siblings — the gates import across them). Never into the project-rootscripts/: that is the EDS boilerplate's.
The context is the budget — read reference/reading-discipline.md once
at Setup. Reference docs by section (section.mjs <doc> --list, then one
heading per call); captures through css-rules.mjs, json-query.mjs and
html-slice.mjs; instrument output through run-bg.mjs wait and
log --grep, never cat; script flags from
../stardust/reference/scripts-index.md, then --help, never the source.
Procedure
Five phases. 1 and 5 delegate to existing skills unchanged; 2–4 are
replica's. A full-site run opens first page first
(reference/first-page-first.md). Every phase opens with
node stardust/scripts/stardust/ledger.mjs replica <phase> start as its
FIRST command and closes with the end line plus its section in
stardust/journal.md (../stardust/reference/run-status.md).
Phase 1 — EXTRACT (delegate to $stardust extract --prep --dynamics)
Invoke $stardust extract <URL> --prep --dynamics, unchanged. Replica
consumes the full migration inventory: stardust/current/pages/<slug>.json
(the verbatim source of every string), the per-page screenshots, the
captured fonts and media, the descriptive PRODUCT.md / DESIGN.md /
DESIGN.json, state.json.pages[].type (each type becomes one archetype)
and DESIGN.json.extensions.modules[] (block candidates).
Surface extract's summary with the flow line first — "Flow: replica — the
design is kept. Say switch to redesign now if it is to change."
(switch to redesign runs $stardust prepare-migration --switch-flow; the
extract is reused, nothing else is.)
Bounded entry (one page, or a pilot): $stardust extract <URL> --single --dynamics (or --pages <slug,...> --dynamics) is a first-class way in. It
provides what recreation needs per page; it skips page typing and module
detection, needed only when Phase 5 fans out, and the descriptive synthesis
(Phase 2 takes the bounded promotion branch).
If extract fell back to headed Chrome, the gate captures need --headed too.
Phase 2 — PRESERVE DIRECTION (mechanical — never invoke the stardust direct skill)
Full contract: reference/preserve-direction.md.
- Promote
stardust/current/PRODUCT.md,DESIGN.md,DESIGN.jsonverbatim to th
Установить replica в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл replica?
Same-design migration — re-platform a site to AEM Edge Delivery (or any clean front end) keeping its current design near pixel-perfect. Recreates key pages (one archetype per page type) as clean re-authored HTML/CSS (never DOM copies), verifies each against the live site with a measured source-fidelity gate (structural + visual + stitched pixel diff per breakpoint), then hands off to migrate/deploy/rollout for site-wide delivery (subsumes prepare-migration's prep cascade — never chain the two). The only permitted design changes are entries in an explicit inconsistency register. Use when the user says "migrate this site keeping its current design", "same-design migration", "pixel-perfect replatform to AEM", or "keep the design, change the platform". NOT for redesigns — those are the stardust core pipeline (direct/prototype) or uplift.
Как установить скилл replica?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл replica запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
frontend-design
Guidance for distinctive, intentional visual design when building new UI or reshaping an existing one. Helps with aesthetic direction, typography, and making…
от Anthropicwebapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing…
от Anthropicbrand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand…
от Anthropicweb-artifacts-builder
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use…
от Anthropic