replica-design
Was er macht
Diese Fähigkeit richtet die visuelle Grundlage einer neuen App ein, mit Farben, Schrift, Abständen und Komponenten samt ihren Zuständen. Sie ist für Designer und Entwickler gedacht, die eine einheitliche, gut lesbare Oberfläche mit offenen Icon-Sets und Schriften wollen.
Wann du ihn nutzt
- ✓Wenn du ein Designsystem mit Farbrollen, Schriftgrößen und Abständen für eine neue App brauchst.
- ✓Wenn du jede Komponente, etwa Buttons und Formulare, mit ihren Zuständen festlegen willst.
- ✓Wenn du prüfen musst, ob Textfarben die Kontraststufen der Barrierefreiheit erfüllen.
Link zum Skill
https://github.com/Jakeschincariol/replica-skill/blob/main/replica-design/SKILL.mdKopiere ihn und füge ihn in deine KI ein (Claude, ChatGPT oder Cursor) mit der Bitte, den Anweisungen zu folgen.
So nutzt du ihn
Am einfachsten: Kopiere die Nachricht und füge sie in deine KI ein. Sie liest den Skill und folgt den Anweisungen.
Fertige Nachricht zum Einfügen
Für Claude Code, Codex oder Cursor: Führe den Befehl in deinem Projektordner aus, dann wird der Skill installiert.
Lade die SKILL.md herunter und lege sie in den Skills-Ordner deines Agenten.
Beispielanfrage an deine KI
“Kannst du ein Designsystem für meine App mit Farbrollen, Schriftgrößen und Komponenten einrichten und den Textkontrast prüfen?”
5 neue Skills pro Woche. 1 Minute Lesezeit.
So funktioniert es
Der Agent misst die Muster in den Referenz-Screenshots und macht sie zu Design-Tokens für Farben, Schrift, Abstände und Radien. Er schreibt Komponentenbeschreibungen und prüft den Kontrast jedes Textpaares.
Technischer Inhalt (originale SKILL.md)
Originaltext des Autors, auf Englisch, direkt von 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.
Häufige Fragen
Kopiert sie Logos oder Schriften?
Nein. Laut der Fähigkeit werden offene Icon-Sets und offene Schriften genutzt und eigene Illustrationen erstellt.
Was macht die Kontrastprüfung?
Ein Skript berechnet für jedes Textfarbpaar in den Design-Tokens das WCAG-Kontrastverhältnis.
Wird die Markenfarbe übernommen?
Nein. Die ursprüngliche Markenfarbe wird als Rolle erfasst, bis deine eigene Marke feststeht, bleibt ein neutraler Platzhalter.
Details
Originalbeschreibung des Autors
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.
Beliebtheit
- GitHub-Sterne
- 7.1k
- Platz im Ranking
- #13580
- Lizenz
- MIT
- Aktualisiert
- 3.10.2026
Kommentare
- …
Weitere Skills aus diesem Repository
replica-architect
7.1kHilft deinem Agenten, Stack, Datenbank und API für eine neue App aus einer Funktionskarte zu planen und mit einer schlanken Scheibe zu starten.
replica-backend
7.1kHilft deinem Agenten, die Serverseite einer App mit Anmeldung, Datenbankregeln, Stripe-Zahlungen, E-Mail und Hintergrundjobs mit offiziellen APIs zu bauen.
replica-brand
7.1kHilft deinem Agenten, deine App abzugrenzen: mit Namensprüfungen, neuer Farbpalette, Logo-Briefing und Suche nach Resten fremder Namen.
replica-build
7.1kHilft deinem Agenten, eine neue App Bildschirm für Bildschirm anhand einer Funktionskarte zu bauen, zuerst eine Hülle, dann einen Kernablauf, alles neu geschrieben.
Ähnliche Skills
canvas
394kLässt deinen Agenten ein gehostetes visuelles Widget auf einem verbundenen Mac-Panel zeigen und das Panel danach ausblenden oder auf eine andere Seite verschieben.
control-ui
394kHilft deinem Agenten, die OpenClaw-Control-UI zu ordnen und zu prüfen, einschließlich Sitzungen, Dashboards und verbundener Gateways.
diagram-maker
394kHilft deinem Agenten, klare Diagramme als SVG, HTML oder bearbeitbare Excalidraw-Dateien zu erstellen, für Prozesse, Systemarchitekturen und Whiteboard-Skizzen.