Skip to content
Back to skills

Design

ASecurity

Prepare proposed UI screenshots and approval evidence before visible packages/web changes. Use when producing UI previews or defining their handoff contract.

  • 3 stars
  • 0 votes
  • 0 copies
  • 9 views
  • Added October 2, 2026
development

Security analysis

A100/100

Scanned December 4, 2026

npx -y skills add ashugaev/spur --skill design --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Design?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Design
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ashugaev-design/badge)](https://www.skillsdirectory.com/skills/ashugaev-design)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.