React Screenshot Recreator
buildfastwithai/gen-ai-experiments
Recreate a UI screenshot, mockup, or design image as production-quality React + TypeScript + Tailwind code with near-pixel-perfect visual fidelity.
Pixel-perfect Figma to React conversion using coderio. An agent skill from MigoXLab/coderio.
$ npx skills add MigoXLab/coderio --skill design-to-code -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install MigoXLab/coderio design-to-code --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/MigoXLab/coderio.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/design-to-code .claude/skills/design-to-code && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "design-to-code" agent skill from https://github.com/MigoXLab/coderio/tree/main/skills/design-to-code into .claude/skills/design-to-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-to-code", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/MigoXLab/coderio/tree/main/skills/design-to-codeType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add MigoXLab/coderio --skill design-to-code -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install MigoXLab/coderio design-to-code --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MigoXLab/coderio.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/design-to-code .agents/skills/design-to-code && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "design-to-code" agent skill from https://github.com/MigoXLab/coderio/tree/main/skills/design-to-code into .agents/skills/design-to-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-to-code", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MigoXLab/coderio --skill design-to-code -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install MigoXLab/coderio design-to-code --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MigoXLab/coderio.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/design-to-code .cursor/skills/design-to-code && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "design-to-code" agent skill from https://github.com/MigoXLab/coderio/tree/main/skills/design-to-code into .cursor/skills/design-to-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-to-code", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/MigoXLab/coderio.git --path skills/design-to-code--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add MigoXLab/coderio --skill design-to-code -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install MigoXLab/coderio design-to-code --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MigoXLab/coderio.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/design-to-code .gemini/skills/design-to-code && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "design-to-code" agent skill from https://github.com/MigoXLab/coderio/tree/main/skills/design-to-code into .gemini/skills/design-to-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-to-code", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install MigoXLab/coderio design-to-codeInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add MigoXLab/coderio --skill design-to-code -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/MigoXLab/coderio.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/design-to-code .github/skills/design-to-code && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "design-to-code" agent skill from https://github.com/MigoXLab/coderio/tree/main/skills/design-to-code into .github/skills/design-to-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-to-code", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add MigoXLab/coderio --skill design-to-code -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install MigoXLab/coderio design-to-code --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/MigoXLab/coderio.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/design-to-code .opencode/skills/design-to-code && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "design-to-code" agent skill from https://github.com/MigoXLab/coderio/tree/main/skills/design-to-code into .opencode/skills/design-to-code/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "design-to-code", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
design-to-codePixel-perfect Figma to React conversion using coderio. An agent skill from MigoXLab/coderio.
Design To Code is an agent skill from MigoXLab/coderio. 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.
Its SKILL.md is about 1.2k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/package.json`).
It sits in Frontend & Design, covering Design to code. It works with Figma, React, TypeScript and Vite. The repository describes itself as: An multi-agent design-to-code tool that generates production-ready React code with high visual fidelity and iterative validation. The licence is Apache-2.0.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 3e17617. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 2 files in scripts/ (JavaScript), which the agent can run.
Shell commands in SKILL.md call:
nodepnpmFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
figma.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Design To Code loads about 1.2k tokens when it runs. Until then it costs about 65 tokens; SKILL.md has 453 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from MigoXLab/coderio at commit 3e17617, republished under its Apache-2.0 licence (© MigoXLab). 453 words, ~1,242 tokens.
.claude/skills/design-to-code/SKILL.md (or your agent's skills folder). This skill also uses 3 other files; get the full folder from GitHub.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 assetsUser 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.mdAI Task (Structure):
process/thumbnail.png (MANDATORY)scripts/structure-prompt.mdscripts/structure-output.json.Process Result:
node scripts/coderio-skill.mjs save-structureList Components:
node scripts/coderio-skill.mjs list-componentsFor EACH component in the list:
a. Generate Prompt:
node scripts/coderio-skill.mjs props-prompt "ComponentName" > scripts/current-props-prompt.mdb. 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 thumbnailnode scripts/coderio-skill.mjs list-gen-tasksThis 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 indexAI 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 indexInject 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...).© MigoXLab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 3 other files (scripts) in skills/design-to-code of MigoXLab/coderio.
Open the folder on GitHubat commit 3e17617
We found 2 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 2 other GitHub owners. This page covers the copy in MigoXLab/coderio, which our catalogue first saw on October 7, 2026.
Design To Code next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Design To Code this skillMigoXLab/coderio | 114 | 2 repos | ~1.2k | Automated safety check: Pass | Apache-2.0 | |
| React Screenshot Recreatorbuildfastwithai/gen-ai-experiments | 785 | — | ~2.9k | Automated safety check: Pass | MIT | |
| Figma To Codemajiayu000/spellbook | 286 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Figma Codegenawdr74100/figwright | 977 | — | ~4.2k | Automated safety check: Pass | MIT | |
| Stitch to React and Vite Dashboardgoogle-labs-code/stitch-skills | 8.4k | — | ~914 | Automated safety check: Notes | Apache-2.0 | |
| Redesign My Landingpageinstructa/agent-skills | 139 | — | ~1.8k | Automated safety check: Pass | None |
buildfastwithai/gen-ai-experiments
Recreate a UI screenshot, mockup, or design image as production-quality React + TypeScript + Tailwind code with near-pixel-perfect visual fidelity.
majiayu000/spellbook
Extract Figma designs and generate production-ready React/Next.js components with TypeScript, Tailwind CSS, and pixel-perfect accuracy.
awdr74100/figwright
Generate framework-aware code from a Figma design. An agent skill from awdr74100/figwright.
google-labs-code/stitch-skills
Turns Stitch screens into a React, Vite and TypeScript dashboard with TanStack Query data fetching, DESIGN.md tokens as CSS variables and optional read-only Web3 data.
instructa/agent-skills
Build, critique, and iterate high-converting marketing or product landing pages using React + Vite + TypeScript + Tailwind and shadcn/ui components, with all icons sourced from Iconify.
IgorWarzocha/Opencode-Workflows
Initialize shadcn/ui + Tailwind CSS v4 in Vite projects (Vite-specific, not Next.js/Remix).
Works with
Categories
Pixel-perfect Figma to React conversion using coderio. An agent skill from MigoXLab/coderio. Design To Code is an agent skill from MigoXLab/coderio. Pixel-perfect Figma to React conversion using coderio.
Design To Code fits situations like: tasks that involve Design to code.
Run `npx skills add MigoXLab/coderio --skill design-to-code -a claude-code`. Or copy the skill folder (skills/design-to-code in MigoXLab/coderio) into .claude/skills/design-to-code in your project. Claude Code loads it when a task matches its description.
Run `npx skills add MigoXLab/coderio --skill design-to-code -a codex`. Or copy the skill folder (skills/design-to-code in MigoXLab/coderio) into .agents/skills/design-to-code in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add MigoXLab/coderio --skill design-to-code -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/design-to-code, .gemini/skills/design-to-code, .github/skills/design-to-code and .opencode/skills/design-to-code in your project.
Going by SKILL.md and its folder, Design To Code needs JavaScript for the scripts in its folder and the command-line tools its instructions call (node and pnpm). Our summary lists: Node.js.
SKILL.md names 1 domain. In commands or code: figma.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Design To Code is published under the Apache-2.0 licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.2k tokens (SKILL.md is roughly 5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Design To Code: React Screenshot Recreator (buildfastwithai/gen-ai-experiments, 785 stars), Figma To Code (majiayu000/spellbook, 286 stars), Figma Codegen (awdr74100/figwright, 977 stars) and Stitch to React and Vite Dashboard (google-labs-code/stitch-skills, 8.4k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
MigoXLab (a GitHub organization) maintains it in MigoXLab/coderio, which has 114 GitHub stars. The repository was last updated on May 22, 2026.
Source: MigoXLab/coderio on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.