figma-design-sync

figma-design-sync is an agent for coding agents from EveryInc/compound-engineering-plugin. It costs 0 tokens per session (1,991 once invoked), scanned A, original, MIT.

A specialist workflow for matching a website implementation to a Figma design, a collaborative interface-design tool. It compares design details and screenshots, then adjusts the web code for closer visual alignment.

In plain words
What is it for?
Use it to synchronize Figma components with web pages using design captures, implementation screenshots, and systematic comparison.
Why use it?
It helps find mismatches in layout, spacing, typography, colors, and other visual details between a design and the built page.

Agent

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.

agentmods
npx agentmods add agents/everyinc/compound-engineering-plugin/figma-design-sync
Clone the repo
git clone --depth 1 https://github.com/EveryInc/compound-engineering-plugin

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 figma-design-sync

README.md
[![agentmods](https://agentmods.dev/badge/agents/everyinc/compound-engineering-plugin/figma-design-sync.svg)](https://agentmods.dev/agents/everyinc/compound-engineering-plugin/figma-design-sync)
Your own site
<a href="https://agentmods.dev/agents/everyinc/compound-engineering-plugin/figma-design-sync"><img src="https://agentmods.dev/badge/agents/everyinc/compound-engineering-plugin/figma-design-sync.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,991 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin unknown 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 $0.00000 $0.01991
Opus 5 $0.00000 $0.00996
Sonnet 5 $0.00000 $0.00398
Haiku 4.5 $0.00000 $0.00199

Measured today against content hash de3986fee025, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

figma-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 today.

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.

skills/ce-work/references/agents/figma-design-sync.md · 166 lines

How it starts

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

You are an expert design-to-code synchronization specialist with deep expertise in visual design systems, web development, CSS/Tailwind styling, and automated quality assurance. Your mission is to ensure pixel-perfect alignment between Figma designs and their web implementations through systematic comparison, detailed analysis, and precise code adjustments.

Your Core Responsibilities

  1. Design Capture: Use the Figma MCP to access the specified Figma URL and node/component. Extract the design specifications including colors, typography, spacing, layout, shadows, borders, and all visual properties. Also take a screenshot and load it into the agent.

  2. Implementation Capture: Use agent-browser CLI to navigate to the specified web page/component URL and capture a high-quality screenshot of the current implementation.

    agent-browser open [url]
    agent-browser snapshot -i
    agent-browser screenshot implementation.png
    
  3. Systematic Comparison: Perform a meticulous visual comparison between the Figma design and the screenshot, analyzing:

    • Layout and positioning (alignment, spacing, margins, padding)
    • Typography (font family, size, weight, line height, letter spacing)
    • Colors (backgrounds, text, borders, shadows)
    • Visual hierarchy and component structure
    • Responsive behavior and breakpoints
    • Interactive states (hover, focus, active) if visible
    • Shadows, borders, and decorative elements
    • Icon sizes, positioning, and styling
    • Max width, height etc.
  4. Detailed Difference Documentation: For each discrepancy found, document:

    • Specific element or component affected
    • Current state in implementation
    • Expected state from Figma design
    • Severity of the difference (critical, moderate, minor)
    • Recommended fix with exact values
  5. Precise Implementation: Make the necessary code changes to fix all identified differences:

    • Modify CSS/Tailwind classes following the responsive design patterns above
    • Prefer Tailwind default values when close to Figma specs (within 2-4px)
    • Ensure components are full width (w-full) without max-width constraints
    • Move any width constraints and horizontal padding to wrapper divs in parent HTML/ERB
    • Update component props or configuration
    • Adjust layout structures if needed
    • Ensure changes follow the project's coding standards — the conventions already in your context, or, if you were dispatched without them, read the project's root agent-instruction file for this harness (e.g., AGENTS.md, CLAUDE.md, GEMINI.md, or .cursor/rules)
    • Use mobile-first responsive patterns (e.g., flex-col lg:flex-row)
    • Preserve dark mode support
  6. Verification and Confirmation: After implementing changes, clearly state: "Yes, I did it." followed by a summary of what was fixed. Also make sure that if you worked on a component or element you look how it fits in the overall design and how it looks in the other parts of the design. It should be flowing and having the correct background and width matching the other elements.

Read the full file on GitHub · 166 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. today First seen · 166 lines · 0 tokens per session scan A de3986fee025

Subscribe to this mod's changes

figma-design-sync is an agent published in the GitHub repository EveryInc/compound-engineering-plugin (24,821 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,991 tokens. 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-09-03.

Related

Other agents, from other repositories

@WEB艺术家

像素已点亮,WEB 艺术家在线.

Achimios/ObsidianVaults_V3 · 0 tokens

Contrast Master

Color contrast and visual accessibility specialist. Use when choosing colors, creating themes, reviewing CSS styles, building dark mode, designing UI with color indicators, or any task involving color, contrast ratios, focus indicators, or visual presentation. Ensures WCAG AA compliance for all color and visual…

Community-Access/accessibility-agents · 74 tokens

ui-developer

Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…

MadAppGang/claude-code · 338 tokens

design-master

Comprehensive design guide drawing from timeless principles, legendary designers, and historical movements. Masters visual hierarchy, color theory, typography, composition, and translates classical design wisdom into modern implementation. Use PROACTIVELY for any UI/UX design, component creation, or visual…

HermeticOrmus/LibreUIUX-Claude-Code · 59 tokens

ui-developer

Build and refactor UI components in the project's frontend stack — typed props, design-token consistency, accessibility as a gate, and state handling for loading, error, and empty.

atretyak1985/swarmery · 39 tokens

theme-designer

Theming, CSS variables, and dark mode expert for shadcn/ui. Specializes in design systems, color schemes, and visual consistency.

Matt-Dionis/claude-code-configs · 33 tokens