~ / rigs / senlindesign / claude2figma

senlindesign/claude2figma

An enforcement layer for Claude Code + Figma — 4 skills that keep AI on your Design System rails. Components stay linked, tokens stay bound, nothing goes off-spec.

↗ GitHub ★ 204 MIT updated 5mo ago project Claude Code Claude plugin
share on X
ARCHETYPE
Pragmatist
A balanced, no-drama setup: some rules, some tools, nothing extreme.
CONTEXT TAX · EVERY TURN
~313 tokens
Featherweight · median rig: 2.3k · breakdown
GUARDRAILS
1/5
No YOLO mode · details

Copy this rig

# review before running: this installs third-party code
$ npx degit senlindesign/claude2figma/.claude ./rig-claude2figma  # inspect, then merge into .claude/

MCP servers are added to Claude Code at local scope; env vars are shown as YOUR_… placeholders — we never store values. Files are fetched with degit into a separate folder so you can review before merging.

$ npx degit senlindesign/claude2figma/.claude/skills/component-rules .claude/skills/component-rules
$ npx degit senlindesign/claude2figma/.claude/skills/figma-preflight .claude/skills/figma-preflight
$ npx degit senlindesign/claude2figma/.claude/skills/figma-style-binding .claude/skills/figma-style-binding
$ npx degit senlindesign/claude2figma/.claude/skills/reference-interpreter .claude/skills/reference-interpreter

This rig commits no guardrails. Here is the community baseline instead — the deny/ask rules most often found across all 6,974 rigs:

{
  "permissions": {
    "deny": [
      "Read(./.env)",
      "Read(**/.env)",
      "Read(~/.ssh/**)",
      "Bash(rm -rf *)",
      "Read(**/*.pem)",
      "Bash(rm -rf /)",
      "Bash(git push --force:*)",
      "Bash(sudo *)",
      "Read(~/.aws/**)",
      "Bash(rm -rf /*)",
      "Read(./.env.*)",
      "Read(.env)",
      "Bash(git push --force*)",
      "Bash(rm -rf:*)",
      "Read(**/.env.*)",
      "Read(**/*.key)",
      "Bash(sudo:*)",
      "Bash(git reset --hard*)",
      "Bash(git reset --hard:*)",
      "Read(.env.*)"
    ],
    "ask": [
      "Bash(git push:*)",
      "Bash(git push *)",
      "Bash(git commit:*)",
      "Bash(rm *)",
      "Bash(rm:*)",
      "Bash(npm publish:*)",
      "Bash(wget *)",
      "Bash(git rebase *)",
      "Bash(gh pr merge *)",
      "Bash(git commit *)"
    ]
  }
}

Skills (4)

Hooks (1)

eventmatcherruns
PostToolUsemcp__figma__use_figmaecho 'QA: Verify style/variable bindings on all returned node IDs.'

Permissions

deny (0)
—
ask (0)
—
allow (7)
mcp__figma__whoami
mcp__figma__get_metadata
mcp__figma__get_libraries
mcp__figma__use_figma
mcp__figma__get_screenshot
mcp__figma__search_design_system
mcp__figma__get_variable_defs

Similar rigs

copied ✓