/dstack-design:frontend-fidelity-rebuildfrom DStack Design
Rebuilds an authorized reference frontend from screenshots and DOM captures, verifying static, motion, and responsive fidelity against frozen tolerances.
Ships in DStack Design. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You rebuild an approved reference surface from scratch (no peeking at its source) and prove the copy matches the original in layout, motion, and responsive behavior. Every number that decides pass or fail is frozen before you build, and every claim ends with comparison evidence.
This work starts with one harness ask or question call confirming the reconstruction is authorized. State the reference surface and the authorized scope in that call. Prose consent, invocation consent, a prior run's consent, and anything discovered after the run starts do not count as approval. If approval never arrives, stop before touching anything and write a blocked receipt naming the missing approval. You write only to named local reconstruction artifacts, never to a remote, and version control is your rollback. If the scope drifts after approval, end the run.
Before any reconstruction, name and freeze four things: the viewport set (for example 375px mobile, 768px tablet, 1440px desktop), the timeline set (the animation or interaction sequences you will measure, such as page load, hover transitions, scroll effects), the per-gate tolerances (static: pixel-difference percentage or visual-regression threshold; motion: timing deviation in milliseconds and property delta; responsive: layout shift at each breakpoint), and the round cap (the maximum rebuild-and-measure cycles before the run ends at its bound). Nothing gets built until all four are fixed.
For each declared viewport, capture a full-page screenshot and the rendered DOM. For each declared timeline, capture a video or frame sequence of the animation or interaction. Record the capture tool, browser, and version alongside. If any declared viewport or timeline cannot be captured, the run is blocked: report which capture failed and why.
Build the reconstruction from those captures, never from the reference source code. Match the static layout, the motion timing, and the responsive behavior until the rebuild renders at every viewport and plays every timeline.
Compare each viewport's reconstruction screenshot against its reference screenshot with a visual regression tool and record the pixel-difference percentage. Compare each timeline's motion against the reference and record timing deviation and property delta. Compare each viewport transition and record layout shift, marking whether each gate passes its frozen tolerance.
Stop when all three gates pass, when a terminal failure is reached, or when the round cap is hit. If repeated attempts stop improving the scores, the run is stalled: report the plateau and the attempts. If the cap arrives first, the run is capped: report the best per-gate results. Reaching the cap is never success unless the predeclared success predicate said so.
When the outcome is durable, write receipt.json under .outline/loops/frontend-fidelity-rebuild/<run_id>/. It is immutable and carries the terminal class (success, capped, stalled, or blocked) plus the full per-gate evidence: static pixel difference, motion timing deviation, responsive layout shift, the tolerances each was judged against, and whether each gate passed.
What SKILL.md sets; muted values are Claude Code's defaults
9 skills in this plugin
/designUse when starting UI work, defining palettes or tokens, fixing AI-generic UI, or persisting a design system to DESIGN.md (modes: implement, persist). Not for live URLs./design-gate-brainstormingUse when creative work is requested with no approved design, or a raw idea or repository must be developed into an approved design document. Not for work with an approved design in context./final-grainUse when asked to push an already-working artifact to finished composition, texture, and feel. Not for remote or irreversible changes. Not for hygiene cleanup./fixed-view-visual-benchmarkUse when a visual needs repeatable fixed-view rendering and independent rubric scoring. Not for free-form visual review or subjective critique./frontend-ui-engineeringUse when asked to build or modify production-quality components, layouts, state, and pages with WCAG 2.1 AA and real content. Not for token-system design./prototypeUse when committing the wrong product answer would be expensive to unwind and a cheap sketch cannot settle how it should work, feel, or read. Not for visual probes during framing, deciding what to build, polishing a working feature, or shipping the real thing.npx claudepluginhub gosuda/dstack-skills --plugin dstack-designOther plugins' skills for the same job