stardust
إعادة تصميم موجهة متعددة الصفحات بخط من أربع مراحل.
Guided multi-page redesign of an existing website through a four-phase pipeline — extract (crawl and capture the current site), direct (set a visual direction), prototype (generate redesigned HTML), and migrate (emit a deployable static site). Tracks progress incrementally per page in stardust/state.json so redesigns are resumable. Delegates the per-page design craft (typography, spacing, color, layout, motion) to the impeccable skill. Use when the user wants to redesign, revamp, modernize, or r
Install
npx skills add adobe/skills --skill stardustWorks with
claude-code (native), claude (native), codex (native), chatgpt (native), gemini-cli (native), cursor (native), copilot (native), opencode (native), amp (native), roo (native), kiro (native), goose (native), junie (native), trae (native), cline (compatible), continue (compatible), antigravity (compatible), windsurf (compatible), augment (compatible), qwen-code (compatible)
Content
stardust
You are operating the stardust skill: a guided redesign of an existing website. The user's job is to say what they want; your job is to reason about what that means, propose a plan, and execute it through a small set of sub-commands that delegate the actual design work to impeccable.
Setup (run before anything else)
- Verify impeccable is installed. Stardust has a hard dependency on impeccable and ships no fallbacks. Look for the
impeccableskill wherever the harness installs skills or plugins: the skill list the harness exposes to you, project skill directories (.claude/skills/,.agents/skills/,.cursor/skills/,.github/skills/), or the harness's plugin cache (Claude Code:~/.claude/plugins/cache/; GitHub Copilot:~/.copilot/installed-plugins/*/impeccable/skills/impeccable). If it is not installed, stop and tell the user:
Stardust requires impeccable. Install it from
<https://github.com/pbakaus/impeccable> and re-run the command.
Version hint (advisory, never blocking). Stardust deliberately pins NO impeccable version — the design craft should always be the current one — and harnesses do not announce third-party plugin updates by default (Claude Code's marketplace auto-update is off for third-party marketplaces such as impeccable's; Copilot has no update notice). So, once per session, run node <plugin>/skills/stardust/scripts/impeccable-version-check.mjs (add --local <impeccable-dir> when impeccable lives in a harness skills directory rather than the plugin registry) and surface its one output line to the user verbatim when it reports a newer version; it prints the update command for the harness it found impeccable in. Any other outcome (current, unknown, offline) is noise — do not mention it, and never stop or degrade a run over it. The same script with --where prints impeccable's skill directory (the one holding its SKILL.md and reference/); note it once — the phases that read impeccable's format specs (reference/init.md, reference/document.md) read them from there by section, never after a filesystem search.
- Check the target state.
design/at the project root is the *target* design context; check whether it exists (a directory listing is enough). Do not run impeccable's context loader (scripts/impeccable context) here: it emits directives for impeccable's own flow (init, new-work, detector, update checks) that do not apply to stardust's setup, and impeccable runs it itself whenever stardust invokes an impeccable command. Skip if already known from this session's history. - Read stardust's state. Read
stardust/state.jsonif present (reference/state-machine.mddefines the schema). Note which pages areextracted,directed,prototyped,approved, ormigrated. - Read impeccable's command registry. Parse
<harness>/skills/impeccable/scripts/command-metadata.json. This is the single source of truth for the 24 impeccable commands; never hardcode them in your reasoning. - Status ledger. Every stardust skill appends a phase-transition line to
stardust/status.jsonlat each phase start/end, perreference/run-status.md— written withskills/stardust/scripts/ledger.mjs <skill> <phase> <start|end|blocked> [--detail …](--strictrefuses unknown phases), never with hand-builtprintf. Page status moves withskills/stardust/scripts/state.mjs advance <slug…> --to <status>; a resuming agent readsledger.mjs tailandstate.mjs summary. For progress, recommendnode stardust/scripts/stardust/ledger.mjs tail [-n 10]orlast [<skill>]; ledger has nosummarycommand. Report recorded status, not process liveness. - Project hygiene (idempotent). Write
stardust/.gitignorefromreference/stardust.gitignoreif absent; never edit a project's copy. In a git repo: root.gitignorecovers.env/.env.*(managed# >>> stardustblock),.hlxignoreif present listsstardust/, andgit check-ignore -q stardust/state.jsonmust fail — if it passes, stop and name the rule. Offer, never write, LFS above 50 MB of tracked binaries understardust/. Details inreference/artifact-map.md§ Versioning. - Copy this skill's whole
scripts/dir tostardust/scripts/stardust/before any other skill's script runs. Itsbrowser.mjsis the one entry to the browser for every script. A script you write opens every page this way (#159):newLiveContextandgotoLive, neverchromium.launch()orpage.goto:
import { pathToFileURL } from 'node:url';
const { openBrowser, newLiveContext, gotoLive } = await import(pathToFileURL('stardust/scripts/stardust/browser.mjs').href);
const browser = await openBrowser({ mode: 'chrome' });
const context = await newLiveContext(browser, { viewport: { width: 1440, height: 900 }, stateUrl: url });
const page = await context.newPage();
await gotoLive(page, url); // paced on a live site. A bot wall throws.
Routing
Once setup is done, route on the user's input:
- No argument. Render the state report described in
reference/state-machine.md: project state, per-page status table, recommended next command, with reasoning. Do not write anything. The same applies to any resume: a new session on a project that hasstardust/state.json, "continue", "where are we", or a resume driven by a memory file. Start with the state report (it names the flow and the last gate numbers), then enter the next phase through its skill — the procedure drives, not memory. - First word names a sub-skill. Delegate to the matching sub-skill and pass remaining args through. Sub-skills are named by their bare skill name below; how to address one depends on the harness. Claude Code namespaces plugin skills as
stardust:<name>(Skill tool); GitHub Copilot and other harnesses that flatten plugin skills expose the bare<name>. If the harness has no skill-invocation tool, read the sub-skill'sSKILL.mdand follow it inline. Never confuse the stardustextractandauditskills with impeccable'sextractandauditcommands, which are always written$impeccable <command>. The master skill routes all sibling sub-skills:
| keyword | owns | |---|---| | extract | crawl + capture the current site | | direct | resolve the visual direction | | prototype | per-page redesign prototypes | | migrate | full-site platform-agnostic static HTML | | prepare-migration | the migrate-prep cascade (prep phases, assets, dynamics gate) — redesign flow only | | replica | same-design migration (re-platform, keep the current design) — runs its own preserve-mode prep, then hands off to migrate/deploy/rollout | | reskin | byte-faithful content re-laid onto a separately defined donor design system | | deploy | one page → EDS blocks + DA delivery | | rollout | whole migrated site → EDS, with coverage + delivery gates | | dynamics | the dynamic surface of a migration — detect, classify, triage, implement, verify (APIs, search, forms, modals, media, tags, client-rendered, sheet data); migration-bound, invoked by prepare-migration / replica / migrate / rollout or standalone on an already-migrated site | | diff | prototype ↔ build fidelity probes (pixel + structural) | | audit | three-perspective site audit — design tensions, SEO/technical, LLM visibility — scored report + findings ledger | | qa | read-only post-deploy QA sweep of the live site — routing, fidelity, template conformance, rendering, visual regression, SEO, links, a11y, perf — findings report only, never fixes | | uplift | one-shot presales orchestrator (3 variants) | | spec | pre-migration spec of a site — pages, blocks with reuse verdicts, dynamic features, martech, open decisions — as committed knowledge files |
- Migration to EDS — pick ONE of two flows, never mix them. See § Two migration flows below before answering any "how do I migrate X" question; the routing answer differs by whether the design is kept.
- First word is anything else (a freeform phrase). Treat it as a redesign intent. Load
reference/intent-reasoning.mdand follow the procedure step by step. Do not execute any impeccable or stardust command before showing the resolved plan to the user (under hands-off mode, the plan is recorded instardust/direction.mdinstead of awaiting confirmation — see § Hands-off mode).
Two migration flows — pick one, never mix
A migration keeps its design unless the ask says to redesign it. Read reference/migration-flows.md before answering any migration ask or delegating to a migration sub-skill — the two chains, the phrases that choose between them, scoping with spec, the dynamics gate. Never run prepare-migration before or after replica; there is no separate prep step in this flow.
Stamp the choice in state.json as flow / flowChosenAt / flowSource (reference/state-machine.md § Flow keys) before delegating. Switching is explicit — $stardust replica --switch-flow / $stardust prepare-migration --switch-flow — and marks the old flow's prototyped or migrated pages stale (§ Per-page state).
Planning aids belong to one flow. A redesign procedure or plan template inside a replica run — or the reverse — is a routing defect: refuse it, or flag it in direction.md and hand back to this section.
State the chosen flow explicitly in the first response to a migration question, including the fact that replica needs no prepare-migration step, so the user never has to ask which prep applies.
Hands-off mode
Activated by --hands-off on any stardust invocation, or by an explicit user phrase ("fully hands-off", "no approval gates", "run autonomously"). On activation, stamp state.json.handsOff: true (schema note in reference/state-machine.md § Hands-off keys) and append an activation line to stardust/direction.md.
Under hands-off, every interactive gate across the pipeline auto-resolves — a prototype approval only after all quality gates pass — and the run follows the hands-off defaults (one direction, volume caps, wait discipline). Read reference/hands-off.md on activation and before resolving any gate under handsOff: true.
- Commit at the end of each phase when the project is a git repo. Before the FIRST such commit, re-run Setup step 6.
Hard blockers remain stops. An unreachable source site, an expired DA_TOKEN that cannot be recovered, or a signal-absent brand surface (extract captured no usable brand signal even after a re-run) are not judgment calls — state the blocker precisely, append event: "blocked" to stardust/status.jsonl, and halt. Never guess around a hard blocker.
Quality gates NEVER weaken under hands-off. Provenance validation, the validation loop, fidelity gates, delivery gates, and rollout's optimize gate all run unchanged. Hands-off changes *who answers*, not *what must pass*.
The "open and reasoned" principle
Stardust does not ship a closed intent → commands lookup. Every freeform phrase is reasoned about in public, per reference/intent-reasoning.md (at most two clarifying questions). Worked examples of this procedure live in reference/intent-examples.md.
Per-page state and "stale on direction change"
Pages have lifecycle states (extracted | directed | prototyped | approved | migrated). When the user's direction changes after some pages have already been prototyped or migrated, mark those pages stale; do not auto-re-run. The user opts in to re-prototyping or re-migrating explicitly. Details in reference/state-machine.md.
Artifacts you read and write
Stardust state lives under stardust/. The design context design/ (DESIGN.md, PRODUCT.md, tokens, contracts) at the project root is the *target* state; the current one is stardust/current/design/. Full layout in reference/artifact-map.md.
Write boundary. Stardust writes to stardust/, design/ and .impeccable/design.json at the project root, and the EDS project (only via deploy, rollout, dynamics). Run-only files — logs, harness page, pre-renders, script copies, drafts — go under stardust/.work/<skill>/; the root scripts/ and qa/ are not stardust's. Anything written elsewhere is a bug in that skill.
Provenance
Every artifact stardust writes (a design context aside) carries a provenance block as the first line or first key, declaring: which sub-command wrote it, against which user input, what was synthesized vs. authored, and what other artifacts were read. Format conventions in reference/artifact-map.md.
Journal rule
Maintain stardust/journal.md per the format in reference/journal-format.md. On every prompt execution that resulted in a non-trivial write (any direct, prototype, migrate, or substantial iteration), append an entry before ending the turn.
Named deviations. Any agent-authored crawler, compiler, importer, wave driver or gate that replaces a skill phase is recorded in stardust/direction.md as a named deviation (shape: reference/journal-format.md § Named deviations) and noted in the journal entry. An unrecorded parallel pipeline is a defect, not initiative.
The journal is append-only. If a prior entry turns out wrong, write a new entry that corrects it; do not edit history.
When the user invokes stardust at the start of a new session, the journal is read first (along with state.json) — its last 3-5 entries carry the "where did we leave off" context that the state machine doesn't.
Validation rule
Every artifact stardust writes that a human will eyeball — proposed HTML, brand-review.html, the migrated site — runs through a recursive validate- and-fix loop before being marked done. Read reference/validation-loop.md before validating (viewports, captures, screenshots). Iterate recursively until either (a) no issues remain or (b) the fix needs user input — in which case surface the question and stop. Do not report a task complete with known issues outstanding.
What stardust never does
- Invent design opinions that contradict impeccable's hard rules. Defer to impeccable.
- Execute a redesign plan without showing it first (hands-off mode records the plan in
stardust/direction.mdinstead of waiting — § Hands-off mode). - Force a re-run on stale pages without explicit user opt-in.
- Crawl an existing site beyond the user's confirmed page cap (an explicit
--pageslist is itself the confirmed scope — listed pages are never dropped; the crawler warns rather than truncates when the list exceeds--max). - Emit platform-specific output from
migrate.migrateemits platform-agnostic static HTML; the EDS conversion and delivery are owned by the stardustdeploy(one page) androllout(whole site) skills sub-skills, routed above.
References
reference/intent-dimensions.md— the axes redesigns move along.reference/intent-reasoning.md— the procedure for handling a freeform phrase.reference/intent-examples.md— worked examples (8-12) of the reasoning style.reference/impeccable-command-map.md— when to reach for each of the 24 impeccable commands.reference/state-machine.md— page lifecycle, stale rules, state report format.reference/artifact-map.md— every file stardust reads or writes, with ownership, provenance shape and (§ Versioning) what is tracked.reference/stardust.gitignore— installed asstardust/.gitignoreby Setup step 6.reference/divergence-toolkit.md— anti-mediocrity device. Default-moves list, deterministic seed, font decks, role-naming rule. Consumed bydirect(when authoring target tokens) andprototype(when generating variants).reference/token-contract.md—:rootCSS custom-property contract every prototype and migrated page must expose. The token interface between stardust and any downstream consumer.reference/data-attributes.md— structuraldata-*vocabulary applied to sections in every prototype and migrated page. The structural lingua franca between stardust sub-commands and downstream tools.reference/journal-format.md—stardust/journal.mdentry format. Append-only chronological log; the shared narrative layer over the state machine.reference/run-status.md— thestardust/status.jsonlphase-transition contract every skill appends to. The deterministic progress surface for any harness.reference/migration-flows.md— the two migration flows in full.reference/hands-off.md— hands-off gate resolutions and defaults.reference/validation-loop.md— the validate-and-fix loop.reference/cross-skill-references.md— cinematic (prototype/) and uplift (uplift/) references.reference/learnings.md— the per-run learnings ledger contract (stardust/learnings.md). rollout's report phase writes it; plugin maintainers harvest pending entries into skill diffs.
Source and license
- Source
- Adobe Skills
- Original
- adobe/skills/plugins/stardust/skills/stardust/SKILL.md
- License
- Apache-2.0