replica-design
하는 일
이 스킬은 새 앱의 시각 체계를 세웁니다. 색상, 글자, 간격과 상태별 구성 요소를 다룹니다. 공개 아이콘 세트와 글꼴을 바탕으로 일관되고 접근하기 쉬운 화면을 원하는 디자이너와 개발자를 위한 스킬입니다.
사용하는 경우
- ✓새 앱에 색상 역할, 글자 크기, 간격을 정한 디자인 시스템이 필요할 때.
- ✓버튼이나 양식처럼 각 구성 요소를 상태와 함께 정의하고 싶을 때.
- ✓텍스트 색상이 접근성 대비 기준을 충족하는지 확인해야 할 때.
스킬 링크
https://github.com/Jakeschincariol/replica-skill/blob/main/replica-design/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 앱의 디자인 시스템을 만들어 주세요. 색상 역할, 글자 크기, 구성 요소를 정하고 텍스트 대비도 확인해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 참고 스크린샷의 패턴을 측정하고, 이를 색상, 글자, 간격, 모서리 둥글기의 디자인 토큰으로 바꿉니다. 구성 요소 명세를 작성하고, 모든 텍스트 색상 쌍에 대비 검사를 실행합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
replica-design
Reads replica/recon.md and the screenshots in replica/screens/. Writes
replica/design/tokens.json (template in this folder), tokens.css, the
Tailwind mapping, and replica/design/components.md.
python3 contrast.py replica/design/tokens.json # every text pair, WCAG ratio
The rules
What you rebuild is the system: the roles, the scale, the patterns, the way a form or a modal behaves. Those are not ownable, and users expect them. What you never take:
- Logos, icons, illustrations, photos, sounds. Use an open icon set (Lucide, Phosphor, Heroicons, Tabler, all MIT or similar) and make or commission your own illustrations. Do not trace theirs.
- Licensed fonts. If the original uses a paid or proprietary font, pick an open one with the same job: Inter, Geist, IBM Plex, Manrope, Source Serif.
- Their copy. Every label and empty state gets written fresh.
- Their brand colour. Record it as a role (
accent), use a neutral placeholder now, and replica-brand gives you your own. The signature colour plus the signature layout is trade dress, and it changes before launch.
Step 1: measure, do not guess
From the screenshots (zoom in, use a colour picker on the user's machine):
- Colour roles, not colours: bg, surface, border, border-input, text, text-muted, accent, on-accent, danger, success, warning. Count how many greys the app really uses. Usually 5 to 7.
- Type scale: sizes, line heights, weights. Snap to a scale (12, 14, 16, 20, 28, 40 is common). Note the font category, not the font file.
- Spacing: measure gaps between elements. It is almost always a 4 or 8 base. Write the scale.
- Radius, shadow, motion: two or three of each.
- Layout: max content width, grid, breakpoints, sidebar width, header height.
Step 2: write the tokens
Fill tokens.json. Keep the role names. replica-brand only changes values.
Generate tokens.css as custom properties and map them into Tailwind's theme
so components use bg-surface text-muted, never raw hex.
Add a pairs list for every text and background combination the app uses,
then:
python3 contrast.py replica/design/tokens.json
AA is the floor: 4.5:1 for body text, 3:1 for large text and for input borders and focus rings. It exits 1 on a failure. Fix it in the tokens, not per component.
Step 3: component specs
For every component in the recon list, one block in components.md:
Button
variants primary, secondary, ghost, danger
sizes sm 32px, md 40px, lg 48px
states default, hover, active, focus-visible (2px ring, accent), disabled, loading
tokens bg accent, text on-accent, radius md, font sm/600
a11y real <button>, visible focus, loading keeps the label for screen readers
used on S02, S07, S09
Every state the recon saw, plus the ones it should have: focus, disabled, loading, error, empty. Keyboard and screen reader behaviour is part of the spec.
Step 4: build the primitives
Build the components in code once, in isolation (a /design route or
Storybook), before any screen. Use an accessible base if the stack has one
(Radix, shadcn/ui, React Aria). Screenshot the page. That is the design system
check.
Output
tokens.json, tokens.css, the Tailwind config, components.md, the
primitives built, and a contrast report with zero AA failures. Next:
/replica-build.
자주 묻는 질문
로고나 글꼴을 복사하나요?
아니요. 이 스킬은 공개 아이콘 세트와 공개 글꼴을 사용하고, 일러스트는 직접 만들도록 안내합니다.
대비 검사기는 무엇을 하나요?
디자인 토큰에 있는 텍스트 색상 쌍마다 WCAG 대비 비율을 계산하는 스크립트입니다.
브랜드 색상은 그대로 유지되나요?
아니요. 원래 브랜드 색상은 하나의 역할로 기록하고, 여러분의 브랜드가 정해질 때까지 중립적인 임시 색상을 사용합니다.
상세 정보
작성자의 원본 설명
Rebuilds an app's design system for a clone: colour roles, type scale, spacing, radius, shadows and every component with its states, as design tokens plus component specs, with original assets instead of the target's logos, icons, illustrations or licensed fonts. Includes a WCAG contrast checker. Use when the user says "match the design", "rebuild the design system", "get the colours and fonts", "make it look like X", "design tokens for my clone", or after /replica-architect.
인기도
- GitHub 스타
- 7.1k
- 순위
- #13580
- 라이선스
- MIT
- 업데이트
- 2026. 10. 3.
댓글
- …
이 저장소의 다른 스킬
replica-architect
7.1k에이전트가 기능 지도를 바탕으로 새 앱의 스택, 데이터베이스, API를 계획하고 작은 작동 조각부터 빌드하도록 돕습니다.
replica-backend
7.1k에이전트가 공식 API를 사용해 로그인, 데이터베이스 규칙, Stripe 결제, 이메일, 백그라운드 작업이 있는 서버 측을 만들도록 돕습니다.
replica-brand
7.1k에이전트가 앱에 고유한 이름과 색상 팔레트를 주고, 남아 있는 다른 브랜드 흔적을 찾아내도록 돕습니다.
replica-build
7.1k에이전트가 기능 지도를 따라 새 앱을 셸부터 핵심 흐름, 나머지 화면 순서로 처음부터 만들도록 돕습니다.
비슷한 스킬
canvas
394k에이전트가 연결된 Mac 패널에 호스팅된 시각적 위젯을 띄우고, 패널을 숨기거나 다른 페이지로 옮기도록 돕습니다.
control-ui
394k에이전트가 세션, 대시보드, 연결된 Gateway를 포함해 OpenClaw Control UI를 정리하고 문제를 해결하도록 돕습니다.
diagram-maker
394k에이전트가 프로세스, 시스템 구조, 화이트보드 스케치를 위해 SVG, HTML, 편집 가능한 Excalidraw 파일로 명확한 다이어그램을 만들도록 돕습니다.