0

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

Skill · سكل

Install

npx skills add adobe/skills --skill stardust

Works 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)

  1. Verify impeccable is installed. Stardust has a hard dependency on impeccable and ships no fallbacks. Look for the impeccable skill 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.

  1. 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.
  2. Read stardust's state. Read stardust/state.json if present (reference/state-machine.md defines the schema). Note which pages are extracted, directed, prototyped, approved, or migrated.
  3. 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.
  4. Status ledger. Every stardust skill appends a phase-transition line to stardust/status.jsonl at each phase start/end, per reference/run-status.md — written with skills/stardust/scripts/ledger.mjs <skill> <phase> <start|end|blocked> [--detail …] (--strict refuses unknown phases), never with hand-built printf. Page status moves with skills/stardust/scripts/state.mjs advance <slug…> --to <status>; a resuming agent reads ledger.mjs tail and state.mjs summary. For progress, recommend node stardust/scripts/stardust/ledger.mjs tail [-n 10] or last [<skill>]; ledger has no summary command. Report recorded status, not process liveness.
  5. Project hygiene (idempotent). Write stardust/.gitignore from reference/stardust.gitignore if absent; never edit a project's copy. In a git repo: root .gitignore covers .env / .env.* (managed # >>> stardust block), .hlxignore if present lists stardust/, and git check-ignore -q stardust/state.json must fail — if it passes, stop and name the rule. Offer, never write, LFS above 50 MB of tracked binaries under stardust/. Details in reference/artifact-map.md § Versioning.
  6. Copy this skill's whole scripts/ dir to stardust/scripts/stardust/ before any other skill's script runs. Its browser.mjs is the one entry to the browser for every script. A script you write opens every page this way (#159): newLiveContext and gotoLive, never chromium.launch() or page.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 has stardust/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's SKILL.md and follow it inline. Never confuse the stardust extract and audit skills with impeccable's extract and audit commands, 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.md and 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 in stardust/direction.md instead 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.md instead 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 --pages list 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. migrate emits platform-agnostic static HTML; the EDS conversion and delivery are owned by the stardust deploy (one page) and rollout (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 as stardust/.gitignore by Setup step 6.
  • reference/divergence-toolkit.md — anti-mediocrity device. Default-moves list, deterministic seed, font decks, role-naming rule. Consumed by direct (when authoring target tokens) and prototype (when generating variants).
  • reference/token-contract.md — :root CSS custom-property contract every prototype and migrated page must expose. The token interface between stardust and any downstream consumer.
  • reference/data-attributes.md — structural data-* 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.md entry format. Append-only chronological log; the shared narrative layer over the state machine.
  • reference/run-status.md — the stardust/status.jsonl phase-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