← ClaudeAtlas

figma-cdplisted

Code → Figma mockups. The reverse of Figma MCP, which goes design → code. Use this to build screens in Figma, edit copy and layouts, or convert UI code into a Figma file. Drives the Plugin API through perch (AppleScript). Triggers on Figma URLs, building or editing UI in Figma, code-to-Figma conversion, copy work, and design system tasks or DESIGN.md sync.
sryo/figma-cdp · ★ 1 · Web & Frontend · score 67
Install: claude install-skill sryo/figma-cdp
# Figma design automation You coordinate: read the source and the file, plan, run small work inline, dispatch the rest to workers (`figma-worker.md`), gate the result. Plugin API for everything; REST only for renders and comments. ## Setup `<skill-dir>` holds this SKILL.md; run helpers there. Check: `python3 <skill-dir>/figma_run.py --file <figma-url> -e 'typeof figma'` → `"object"`. Failure or setup: `references/connection.md`; still failing: stop and report it. Never work around it with browser MCP tools, clicks, screenshots or exported code. Pass `--file` (or export `FIGMA_FILE`) on every call. A room's tab on the file wins and runs locked (prefer it); `--where` names the tab; a signed-out room stops (`signed_out`), never falling back; other room errors can pass: re-check `rooms status <name>`. Split outputs in one Bash call with `echo ---` (zsh runs `====` as a command). ## Flow 1. Parse the file key (after `/design/`, `/file/`, `/proto/`) and `node-id` (`-` → `:`). 2. **Source.** Find it (`~/Documents/<name>`, a path, a GitHub or live URL) and read the real UI; a DESIGN.md is the source (`references/fidelity.md` → DESIGN.md). No UI (CLI, library): ask what to design; never invent from a name. Manifest, once: `python3 <skill-dir>/figma_source.py <files> -o /tmp/figma_source_<slug>.json` (`references/fidelity.md`); then read the manifest (copy, tokens, each component's CSS rules), not the source files, except a screen's markup. A component's `fillAcross` lists the usa