figma-to-code
Skill18 starsChanged 7 months agoMITView on GitHub
Figma 디자인을 Emotion 기반 코드로 변환. Pixel-perfect 구현.
18 other projects use a version of this.
Adopted by
Most recently taken up by
- NoatToan/claude-code-pluginstheir own version, first seen Nov 1, 2026
- sushi-killer/sushiAItheir own version, first seen Oct 20, 2026
- pedroab0/skillstheir own version, first seen Oct 15, 2026
- t4sh/skills4shtheir own version, first seen Sep 28, 2026
- shivams07/figma-to-codetheir own version, first seen Aug 14, 2026
- sueryue/Claude-Skilllstheir own version, first seen Jul 28, 2026
Used with
Projects with it also use systematic-debugging, mcp-builder and 1 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
OpenAISkillsystematic-debugging
Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes
Also in 3 projects that use this
MicrosoftSkillmcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when building MCP servers to integrate external APIs or services, whether in Python (FastMCP) or Node/TypeScript (MCP SDK).
Also in 3 projects that use this
GoogleSkilltdd
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
Also in 3 projects that use this
Other versions18 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 18
- shibit-net/xuanji-community★ 90same name
- scoobynko/claude-code-design-skills★ 39same name
- t4sh/skills4sh★ 5same name
- kevinaimonster/skill-hub★ 4same name
- kyuhyi/BSD_claude_skills★ 2same name
- sushi-killer/sushiAI★ 2same name
- bedomax/webdesigner-agent★ 1same name
- gauravv-g/claude-skills-collection★ 1same name
- gihwan-dev/claude-code-gui★ 1same name
- mintorain/minto_claude_skills★ 1same name
8 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository23 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- cleanupSkill
- codexSkill
- crawlerSkill
- debateSkill
- e2eSkill
- forge-statusSkill
- generate-testSkill
- handoffSkill
- researchSkill
- setup-agent-teamsSkill
- setup-channelsSkill
- setup-e2eSkill
- setupSkill
- setup-testSkill
- smith-buildSkill
- smith-create-agentSkill
- startSkill
- startup-validatorSkill
- statsSkill
- testSkill
- voiceSkill
The file
Files
Figma to Code Skill
Figma 디자인을 Emotion styled 기반 코드로 변환
트리거 조건
| 트리거 | 반응 |
| Figma URL 제공 | 즉시 실행 |
| "Figma 변환", "디자인 구현" | 스킬 활성화 |
/start 커맨드 내 Figma 분석 | 자동 연계 |
워크플로우
Phase 1: 디자인 추출
// Figma MCP 도구로 디자인 컨텍스트 추출
mcp__figma__get_design_context({
fileKey: '{file_key}',
nodeId: '{node_id}',
clientLanguages: 'typescript',
clientFrameworks: 'react',
});추출 항목:
- 레이아웃 구조 (flex, gap, padding)
- 색상 값 (hex → semantic color 매핑)
- 타이포그래피 (font-size, weight, line-height)
- 컴포넌트 계층 구조
Phase 2: 컴포넌트 매핑
파일 구조:
{컴포넌트}/
├── index.tsx # 컴포넌트 로직
└── styled.ts # Emotion styled 정의styled.ts 템플릿:
import styled from '@emotion/styled';
export const Container = styled.div`
display: flex;
flex-direction: column;
gap: 16px;
padding: 24px;
`;
// 상태별 스타일 (transient props: $접두사)
export const FilterButton = styled.button<{ $isSelected: boolean }>`
padding: 8px 16px;
`;index.tsx 템플릿:
import { FC } from 'react';
import { Container, Title, FilterButton } from './styled';
interface Props {
// props 정의
}
export const Component: FC<Props> = ({ ...props }) => {
return (
<Container>
{/* styled 컴포넌트 직접 사용 */}
</Container>
);
};Phase 3: Agent Teams 병렬 구현 (Claude Max)
여러 컴포넌트를 동시에 생성할 때:
TeamCreate({ team_name: 'figma-team', description: 'Figma to Code 변환' });
Task(subagent_type='implementor', team_name='figma-team', name='component-1', model='sonnet',
prompt='FilterButton 컴포넌트 구현');
Task(subagent_type='implementor', team_name='figma-team', name='component-2', model='sonnet',
prompt='DateControls 컴포넌트 구현');
// 완료 후 → shutdown_request → TeamDeleteAgent Teams 미가용 시 Task 병렬 호출로 폴백
Phase 4: 검증
Pixel-perfect 체크리스트:
- 레이아웃 (flex-direction, gap, padding) 일치
- 색상 (semantic color 매핑) 일치
- 폰트 (size, weight, line-height) 일치
- 상태별 스타일 (hover, active, disabled) 일치
- 반응형 동작 (있는 경우)
금지 패턴
| 금지 | 대안 |
| inline style 객체 | Emotion styled |
| 하드코딩 색상 | semantic color |
| px 매직넘버 | 변수화 또는 주석 |
| !important | specificity 조정 |
참조 문서
| 문서 | 용도 |
@${CLAUDE_PLUGIN_ROOT}/instructions/validation/forbidden-patterns.md | 금지 패턴 |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

