Prepare proposed UI screenshots and approval evidence before visible packages/web changes. Use when producing UI previews or defining their handoff contract.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Design?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ashugaev-design)
---
name: design
description: Prepare proposed UI screenshots and approval evidence before visible packages/web changes. Use when producing UI previews or defining their handoff contract.
---
DESIGN: screenshot contract; workflow in docs/design-workflow.md.
PREVIEW
Render proposed UI in isolated sidecar or local HTML preview, any runtime.
Load design-system; use existing components and tokens.
Save screenshot before dependent implementation; preview code stays in artifacts.
CONTRAST: every actionable element (button, icon, link, control) and its label.
Background: surface it renders on, incl. images, translucent and overlay layers, both themes.
Thresholds and token fixes: design-system references/contrast.md.
Measure rendered pixels or computed colors, never token names.
Fail: fix before handoff.
USER DESIGN: design the user supplies (Figma, Claude Design export, HTML, screenshot) is the approved spec.
Build pixel-perfect: sizes, spacing, radius, borders, type, colors, shadows, icons, every state shown.
Measure the rendered design: computed styles, bounding boxes. Never estimate by eye.
Value with no matching token: list it; never swap in the nearest token silently.
Case the design omits, or needing data or behavior the app lacks: add to gap list, report to user; never invent.
Scope: elements the design shows and surfaces they open.
HANDOFF: $SPUR_SESSION_ARTIFACTS_DIR/design/, never committed.
proposed-ui.png screenshot of changed components and affected states, at phone, iPad mini and desktop widths (design-system patterns.md TARGET SIZES)
design-spec.md current -> proposed behavior; screenshot paths;
components/states; acceptance criteria;
Approval status: pending | approved by user @ <ISO>;
approval message and scope; Telegram delivery evidence or none: no channel
*.html local preview when used
APPROVAL
Ask approval in current session chat; typed reply there is approval. Mirror to authorized session Telegram only when session has Telegram; follow agent-protocol.md.
Request is screenshot plus one-line request, never prose current -> proposed restatement.
Session has Telegram: attach screenshot to Telegram through `telegram` skill, never substitute a link; route text/buttons and screenshot to one authorized recipient.
Missing channel never blocks.
Reuse prior approval matching scope; still save screenshot proof, send it when session has Telegram.
Return APPROVED or PENDING_APPROVAL; manager owns wait and revisions.
Downstream agents read design-spec.md; changed scope needs matching approval.