sc:design-sync

sc:design-sync is a skill for Claude Code from squadcodercom/squadcoder. It costs 134 tokens per session (1,054 once invoked), scanned A, original, MIT.

A workflow for turning a design reference—such as a screenshot, Figma export, design-token file, or reachable design URL—into matching production code.

In plain words
What is it for?
Use it to inspect colors, spacing, typography, and corner shapes, then update components or styles so the code matches the design.
Why use it?
It helps keep the implementation visually consistent with the reference and reuse the project's existing design tokens instead of creating duplicate styles.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code; mentions Codex; mentions OpenCode.

Good fit Use it to inspect colors, spacing, typography, and corner shapes, then update components or styles so the code matches the design.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/squadcodercom/squadcoder/design-sync
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add squadcodercom/squadcoder --skill design-sync
Clone the repo
git clone --depth 1 https://github.com/squadcodercom/squadcoder

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for sc:design-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/squadcodercom/squadcoder/design-sync/github.svg)](https://agentmods.dev/skills/squadcodercom/squadcoder/design-sync)
Your own site
<a href="https://agentmods.dev/skills/squadcodercom/squadcoder/design-sync"><img src="https://agentmods.dev/badge/skills/squadcodercom/squadcoder/design-sync/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for sc:design-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/squadcodercom/squadcoder/design-sync"><img src="https://agentmods.dev/badge/skills/squadcodercom/squadcoder/design-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 134 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,054 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00134 $0.01054
Opus 5.5 $0.00054 $0.00422
Sonnet 5.5 $0.00027 $0.00211
Haiku 4.5 $0.00013 $0.00105

Measured 1mo ago against content hash c69e9a188753, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sc:design-sync scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.squadcoder/skills/design-sync/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design Sync — design reference → matching code

Convert a design into code that matches the project's existing system, and keep the two in sync. The goal is parity and consistency: never hard-code a value you could pull from an existing token.

This skill is portable — it relies only on a design reference + the repo, so it works the same in Claude Code, Codex, and opencode/SquadCoder. It does not require any hosted design connector.

Step 0 — identify the design reference

Accept any of:

  • Screenshot / image — read it directly (vision); measure spacing/sizes against a known element.
  • Figma export — JSON/design-tokens (W3C tokens), SVG, or a CSS/Tailwind dump.
  • Design-tokens file — tokens.json, theme.css, Style Dictionary, etc.
  • A design URL — if reachable, fetch and read the rendered styles; otherwise ask for an export. If nothing is provided, ask for one — do not invent a design.

Step 1 — read the project's design system FIRST (reuse > duplicate)

Before writing anything, inventory what already exists so you extend it instead of forking it:

  • Token sources: tailwind.config.*, CSS custom properties (--color-*, --space-*), theme.*, any tokens.json, or a design-system package.
  • Existing components that resemble the target (buttons, cards, inputs) — match their API and styling.
  • For SquadCoder/this repo: prefer the shared @squadcoder/ui primitives and the bundled design-system / israeli-ui-design-system skills for token architecture and Hebrew typography.

Step 2 — extract design intent, then map to tokens

  1. Pull the raw values from the reference: palette, type scale, spacing rhythm, radii, shadows, breakpoints, states (hover/active/disabled/focus).
  2. Map each raw value to the nearest existing token. Only mint a new token when there is a real gap, and add it at the right layer (primitive → semantic → component), never inline.
  3. Record the mapping (design value → token) so the sync is auditable and repeatable.

Read the full file on GitHub · 69 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 69 lines · 134 tokens per session scan A c69e9a188753

Subscribe to this mod's changes

sc:design-sync is a skill published in the GitHub repository squadcodercom/squadcoder (12 stars, last pushed 3mo ago), licensed MIT. It adds 134 tokens to every session and 1,054 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

write-zot-themes

Help the user create, install, or package zot themes, including theme-only extensions.

patriceckhart/zot · 23 tokens

hatch3r-design-system-detect

Detects existing design tokens, component library, and theming convention in a project before authoring new UI primitives — output a concise inventory for downstream implementers.

hatch3r/hatch3r · 40 tokens

web-design-guidelines

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

JSK9999/ai-nexus · 44 tokens

cli-anything-photoshop

A command-line tool that controls Adobe Photoshop through Windows automation. It can work with Photoshop documents, layers, selections, text, image adjustments, and exports.

yb2460/harness-anything · 43 tokens

app-screenshot-debug

Drive the running termio app via AppleScript / System Events to reach a UI state (focus the window, click a sidebar project, a terminal pane, a control), capture a pixel-accurate screenshot of just that window, and read it back for visual analysis — for diagnosing layout / spacing / alignment / 'this looks ugly'…

termio-sh/termio · 161 tokens

user-research-cookiy

End-to-end user research assistant — qualitative and quantitative. Use this skill whenever the user mentions user research, user interviews, discussion guides, interview guides, research plans, qualitative research, quantitative research, user surveys, survey design, usability studies, participant recruitment…

cookiy-ai/user-research-skill · 154 tokens