cli-tool/components/skills/design-to-code/SKILL.md
Pixel-perfect Figma to React conversion using coderio. Generates production-ready code (TypeScript, Vite, TailwindCSS V4) with high visual fidelity. Features robust error handling, checkpoint recovery, and streamlined execution via helper script.
npx skillsauth add davila7/claude-code-templates design-to-codeInstall 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.
High-fidelity UI restoration from Figma designs to production-ready React + TypeScript components. This SKILL uses a robust helper script to minimize manual errors and ensure pixel-perfect results.
scripts/ folder (handled by Setup phase)Phase 0: SETUP → Create helper script and script environment
Phase 1: PROTOCOL → Generate design protocol (Structure & Props)
Phase 2: CODE → Generate components and assets
User Action: Run these commands to create the execution helper and isolate its dependencies.
mkdir -p scripts
# 1. Copy script files
# Note: Ensure you have the 'skills/design-to-code/scripts' directory available
cp skills/design-to-code/scripts/package.json scripts/package.json
cp skills/design-to-code/scripts/coderio-skill.mjs scripts/coderio-skill.mjs
# 2. Install coderio in scripts directory (adjust version if needed)
cd scripts && pnpm install && cd ..
If starting a new project:
node scripts/coderio-skill.mjs scaffold-prompt "MyApp"# Replace with your URL and Token
node scripts/coderio-skill.mjs fetch-figma "https://figma.com/file/..." "figd_..."
Verify: process/thumbnail.png should exist.
Generate Prompt:
node scripts/coderio-skill.mjs structure-prompt > scripts/structure-prompt.md
AI Task (Structure):
process/thumbnail.png (MANDATORY)scripts/structure-prompt.mdscripts/structure-output.json.Process Result:
node scripts/coderio-skill.mjs save-structure
List Components:
node scripts/coderio-skill.mjs list-components
For EACH component in the list:
a. Generate Prompt:
node scripts/coderio-skill.mjs props-prompt "ComponentName" > scripts/current-props-prompt.md
b. AI Task (Props):
process/thumbnail.png (MANDATORY)scripts/current-props-prompt.mdscripts/ComponentName-props.json.c. Save & Validate:
node scripts/coderio-skill.mjs save-props "ComponentName"
# If this fails, re-do step 'b' with better attention to the thumbnail
node scripts/coderio-skill.mjs list-gen-tasks
This outputs a list of tasks with indices (0, 1, 2...).
For EACH task index (starting from 0):
Generate Prompt:
node scripts/coderio-skill.mjs code-prompt 0 > scripts/code-prompt.md
# Replace '0' with current task index
AI Task (Code):
process/thumbnail.png (MANDATORY)scripts/code-prompt.mdscripts/code-output.txt.Save Code:
node scripts/coderio-skill.mjs save-code 0
# Replace '0' with current task index
Inject the root component into App.tsx. Use the path found in the last task of Phase 2.1.
process/thumbnail.png was attached and visible to the AI. Retry the props generation step.node scripts/coderio-skill.mjs save-code was run for the child component before the parent component. Phase 2 must be done in order (0, 1, 2...).tools
No-code automation democratizes workflow building. Zapier and Make (formerly Integromat) let non-developers automate business processes without writing code. But no-code doesn't mean no-complexity - these platforms have their own patterns, pitfalls, and breaking points. This skill covers when to use which platform, how to build reliable automations, and when to graduate to code-based solutions. Key insight: Zapier optimizes for simplicity and integrations (7000+ apps), Make optimizes for power
tools
Use only when the user explicitly asks to stage, commit, push, and open a GitHub pull request in one flow using the GitHub CLI (`gh`).
tools
Workflow automation is the infrastructure that makes AI agents reliable. Without durable execution, a network hiccup during a 10-step payment flow means lost money and angry customers. With it, workflows resume exactly where they left off. This skill covers the platforms (n8n, Temporal, Inngest) and patterns (sequential, parallel, orchestrator-worker) that turn brittle scripts into production-grade automation. Key insight: The platforms make different tradeoffs. n8n optimizes for accessibility
development
Trigger.dev expert for background jobs, AI workflows, and reliable async execution with excellent developer experience and TypeScript-first design. Use when: trigger.dev, trigger dev, background task, ai background job, long running task.