synerise-design: Skill for Claude Code

.claude/skills/figma-code-connect/SKILL.md

figma-code-connect is a skill for Claude Code from Synerise/synerise-design. It costs 23 tokens per session (1,867 once invoked), scanned A, original, MIT.

A generator for a Figma Code Connect file that links a React component to its matching Figma design. Figma is a design tool, and Code Connect records how design variants and properties map to code.

In plain words
What is it for?
Use it to inspect a component's props and exports, then create a .figma.tsx file mapping those details to Figma variants and nested design properties.
Why use it?
It reduces the manual work of documenting the relationship between a design-system component and its implementation.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

This is Synerise/synerise-design's own configuration. It tells Claude Code how to work on synerise-design itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything synerise-design configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Synerise/synerise-design. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Synerise/synerise-design/master/.claude/skills/figma-code-connect/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/Synerise/synerise-design

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 figma-code-connect

README.md
[![agentmods](https://agentmods.dev/badge/skills/synerise/synerise-design/figma-code-connect.svg)](https://agentmods.dev/skills/synerise/synerise-design/figma-code-connect)
Your own site
<a href="https://agentmods.dev/skills/synerise/synerise-design/figma-code-connect"><img src="https://agentmods.dev/badge/skills/synerise/synerise-design/figma-code-connect.svg" alt="Measured on agentmods" height="20"></a>
Per session 23 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,867 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Supply Chain · line 50
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
  • medium Data Exfiltration · line 50
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
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.00023 $0.01867
Opus 5 $0.00012 $0.00933
Sonnet 5 $0.00005 $0.00373
Haiku 4.5 $0.00002 $0.00187

Measured 3d ago against content hash cadca8134a44, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

figma-code-connect scanned grade A with 1 finding 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 3d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -H "X-Figma-Token: <token>" "https://api.figma.com/v1/files/fsSZONXpVvtrDsCgtu01Jb/component_sets" \
.claude/skills/figma-code-connect/SKILL.md · 152 lines

How it starts

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

Overview

Generate a <ComponentName>.figma.tsx file that connects a React component to its Figma design using the @figma/code-connect library.

Arguments

The user must provide:

  1. Component name — e.g., Switch, Button, Avatar

The user may optionally provide:

  • Figma URL — the Figma node URL for the component (from Figma dev mode)
  • Figma variant properties and their values
  • Which props map to which Figma properties
  • Nested component props (e.g., Label, Description sub-layers)

Figma Design System File

  • File key: fsSZONXpVvtrDsCgtu01Jb
  • URL pattern: https://www.figma.com/design/fsSZONXpVvtrDsCgtu01Jb/Synerise-Design-System?node-id=<nodeId>&m=dev

Workflow

Step 1 — Locate the component

Find the component source files:

packages/components/<component-name>/src/<ComponentName>.tsx
packages/components/<component-name>/src/<ComponentName>.types.ts
packages/components/<component-name>/src/index.ts

Read these files to understand:

  • The component's props interface (from .types.ts)
  • Named exports and default export (from index.ts and the main component file)
  • What the component renders and how props affect it

Step 2 — Get Figma structure via MCP

If the Figma MCP server is available (tools like mcp__figma__get_design_context exist), use it to get the component details:

  1. If the user provided a Figma URL, extract fileKey and nodeId from it.
  2. If no URL was provided, search for the component using the Figma REST API:
    curl -s -H "X-Figma-Token: <token>" "https://api.figma.com/v1/files/fsSZONXpVvtrDsCgtu01Jb/component_sets" \
      | python3 -c "import sys,json; [print(json.dumps({...})) for cs in json.load(sys.stdin)['meta']['component_sets'] if '<name>' in cs['name'].lower()]"
    
  3. Call mcp__figma__get_design_context with the nodeId and fileKey to get design context, screenshots, and code suggestions.
  4. If MCP suggests Code Connect mappings (via get_code_connect_suggestions), follow the flow to map sub-components (like Button) and then use the returned design context.

Read the full file on GitHub · 152 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. 3d ago First seen · 152 lines · 23 tokens per session scan A cadca8134a44

Subscribe to this mod's changes

figma-code-connect is a skill published in the GitHub repository Synerise/synerise-design (96 stars, last pushed today), licensed MIT. It adds 23 tokens to every session and 1,867 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.

Related

Other skills, from other repositories

suanfish-design-system

A Chinese design system for creating and reviewing web interfaces, with multiple design perspectives working together. It focuses on React and Tailwind-based projects.

SuanFishXYY/suanfish-design-system · 293 tokens

shadcn

Manages shadcn components and projects — adding, searching, fixing, debugging, styling, and composing UI, including chat interfaces. Provides project context, component docs, and usage examples. Applies when working with shadcn/ui, component registries, presets, --preset codes, or any project with a components.json…

shadcn-ui/ui · 94 tokens

design

Use when the user wants the visual/experiential design of a product done systematically — a design system, a screen, a landing page, or a visual identity — grounded in researched real-world prior art and free of AI slop. Establishes/extends the design system, invokes the matching local taste skill, dispatches the…

jeremylongshore/tons-of-skills-marketplace · 126 tokens

seed-design

An integration guide for SEED Design, covering shared component specifications and foundations plus React and Lynx implementation guidance.

daangn/seed-design · 33 tokens

ss-studio

Turn a product brief and optional references into three distinct creative directions, a human-selected StyleSeed interaction plan, generated image/video asset jobs, a working UI prototype, and a verified prototype-first showcase reel. Use for client concepts, app interaction exploration, trendy but coherent UI…

bitjaru/styleseed · 75 tokens

ss-lint

Quick automated lint — detects common design system violations in seconds.

bitjaru/styleseed · 15 tokens