.claude/skills/sync-from-figma/SKILL.md
Fetch current Figma design state and apply changes back to React code. Use when user says "sync from Figma", "pull Figma changes", "update from Figma", "apply Figma changes", or wants to bring Figma edits into code.
npx skillsauth add TETRA2000/figma-web-studio sync-from-figmaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
https://figma.com/design/FILE_KEY/...?node-id=NODE_ID)This skill requires the Figma MCP server (figma@claude-plugins-official).
If unavailable, report: "Figma MCP server not connected. Cannot fetch design context. Ensure the plugin is enabled and you are authenticated."
get_design_context with the Figma URLCompare the Figma design context with the current component source:
When design context includes image references:
shared/references/image-handling.md for workflowsrc/assets/images/asset-map.json for existing assetssrc/assets/images/{component-name}/ with content-hash filenamesasset-map.json with new mappings<img> src attributes in the TSX to reference local pathsAfter applying changes:
playwright-cliget_screenshotIf visual discrepancies are detected:
Report:
tools
Automates browser interactions for web testing, form filling, screenshots, and data extraction. Use when the user needs to navigate websites, interact with web pages, fill forms, take screenshots, test web applications, or extract information from web pages.
testing
Import an exported project archive, placing assets into the correct directories. Use when user says "import project", "import bundle", "import package", "unpack project", or has a .tar.gz archive to import.
tools
Push React components and pages to Figma using the Figma MCP server. Use when user says "export to Figma", "push to Figma", "create Figma design", "send to Figma", or wants to create a Figma design from code.
testing
Bundle a page and all its dependent components into a portable archive for sharing. Use when user says "export project", "bundle page", "package page", "export bundle", or wants to share a page with its dependencies.