Skills for Real Engineers. Straight from my .agents directory.
design-to-code
Agent skill fromdavila7/claude-code-templates
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.
How to install design-to-code
npx skills add davila7/claude-code-templates# or add only this skill to Claude Code: copy the folder
cli-tool/components/skills/design-to-code/
# into
~/.claude/skills/design-to-code/ (all projects)
.claude/skills/design-to-code/ (one project)
1# Design to Code23High-fidelity UI restoration from Figma designs to production-ready React + TypeScript components.4This SKILL uses a **robust helper script** to minimize manual errors and ensure pixel-perfect results.56## Prerequisites781. **Figma API Token**: Get from Figma → Settings → Personal Access Tokens92. **Node.js**: Version 18+103. **coderio**: Installed in `scripts/` folder (handled by Setup phase)1112## Workflow Overview1314```15Phase 0: SETUP → Create helper script and script environment16Phase 1: PROTOCOL → Generate design protocol (Structure & Props)17Phase 2: CODE → Generate components and assets18```1920---2122# Phase 0: Setup2324## Step 0.1: Initialize Helper Script2526**User Action**: Run these commands to create the execution helper and isolate its dependencies.2728```bash29mkdir -p scripts3031# 1. Copy script files32# Note: Ensure you have the 'skills/design-to-code/scripts' directory available33cp skills/design-to-code/scripts/package.json scripts/package.json34cp skills/design-to-code/scripts/coderio-skill.mjs scripts/coderio-skill.mjs3536# 2. Install coderio in scripts directory (adjust version if needed)37cd scripts && pnpm install && cd ..38```3940## Step 0.2: Scaffold Project (Optional)4142If starting a new project:43441. Run: `node scripts/coderio-skill.mjs scaffold-prompt "MyApp"`452. **AI Task**: Follow the instructions output by the command to create files.4647---4849# Phase 1: Protocol Generation5051## Step 1.1: Fetch Data5253```bash54# Replace with your URL and Token55…
Excerpt shown under the repository's MIT license.
More skills in claude-code-templates
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
An AI skill that provides design intelligence for building professional UI/UX across multiple platforms.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
