Design To Code
ListedGenerates functional code snippets from design specifications, sketches, or natural language descriptions for rapid prototyping.
Install on your platform
Showing Claude Code. One command installs this skill into any of the agents below.
- 1
Run this in your project
terminal$ npx skills add davila7/claude-code-templates --skill design-to-code -a claude-code Uses the open-source
skillsCLI and needs Node.js. Add-gto install it for your user instead of this project.
What we know about this skill
Publisher
davila7
Taken from the source listing. We haven't verified who controls this account.
Install target
Live repository
Not pinned. Installing fetches whatever the repository holds at the time you run the command.
Automated safety checks
This skill failed 1 of 6 checks. A failure is not proof of bad intent; it means something in the code needs a human to look at it before you run it.
No undeclared network calls: failed
Contacts 1 host that is neither well-known infrastructure nor declared in the skill's frontmatter: figma.com.
Every host the skill dials — from its scripts, its config endpoints or the commands it tells the agent to run — is either well-known package and API infrastructure or declared in its own frontmatter. Links in documentation are not counted.
Hosts contacted
figma.comundeclaredWhat it found
- cli-tool/components/skills/design-to-code/SKILL.md:60contacts figma.com
node scripts/coderio-skill.mjs fetch-figma "https://figma.com/file/..." "figd_..."
Declares what it does: passed
SKILL.md parses and declares a name and a description.
SKILL.md exists, its frontmatter parses, and it declares a name and a description.
No obfuscated payloads: passed
No encoded or obfuscated payloads.
No base64, hex or compressed blob is decoded and then executed, and no encoded shell commands.
No credential access: passed
Reads no keys, tokens, keychains or credential files.
Neither the code nor the SKILL.md instructions read SSH keys, cloud credentials, keychains, token stores, browser cookie databases or dotfiles that hold secrets.
No pipe-to-shell installers: passed
No pipe-to-shell or download-and-run installers.
No `curl … | sh` pattern, in the code or in the instructions, that runs code fetched at run time.
Pinned to a commit: passed
Scanned davila7/claude-code-templates at 79182c51fb.
The exact upstream commit SHA that was scanned is recorded, so the result refers to specific bytes.
- Commit
- 79182c51fb
- Scanned
- 4 files, 447 lines
About this skill
What it does
This skill converts Figma designs into production-ready React + TypeScript components. It utilizes a helper script to minimize errors and ensure pixel-perfect results, streamlining UI development workflows. The process involves setting up a local environment, fetching data from Figma using an API token, generating a design protocol (structure and props), and finally producing the code for components and associated assets.
When to use it
- When you need to quickly translate designs from Figma into functional React code.
- For rapid prototyping of user interfaces.
- To reduce manual coding effort when recreating UI elements from existing Figma files.
Key capabilities
- Generates React + TypeScript components from Figma designs.
- Uses a helper script for accuracy and pixel-perfect results.
- Creates design protocols outlining component structure and props.
- Includes an optional project scaffolding feature.
- Fetches data directly from Figma files using API tokens.
Example prompts
- "Generate React code for the UI in this Figma file: [Figma File URL]"
- "Create a component based on the design at [Figma File URL], ensuring pixel-perfect accuracy."
- "Can you fetch the structure and props from this Figma design? [Figma File URL]"
Tips & gotchas
- You'll need a Figma API token to use this skill. Find it in your Figma account settings under Personal Access Tokens.
- Node.js version 18 or higher is required.
- The
coderiopackage must be installed within thescripts/folder during setup.