Przejdź do treści
Biblioteka skilli
Projektowanie i UX · Budowanie i kod

replica-design

/replica-design

Przebudowuje system projektowy klonu aplikacji: kolory, typografię, odstępy, cienie i stany komponentów jako tokeny, z kontrolą kontrastu.

Licencja
MIT
Ostatnia zmiana repozytorium
30.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 30.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Przebudowuje system projektowy klonu aplikacji: kolory, typografię, odstępy, cienie i stany komponentów jako tokeny, z kontrolą kontrastu.

Wyzwalacze z opisu

match the designrebuild the design systemget the colours and fontsmake it look like Xdesign tokens for my clone
Oryginalny opis (EN)

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 the replica-architect skill.

Jak działa

  1. On this computer
  2. The rules
  3. Step 1: measure, do not guess
  4. Step 2: write the tokens
  5. Step 3: component specs
  6. Step 4: build the primitives
  7. Output
Sekcje z nagłówków SKILL.md, w oryginale · 105 linii, 676 słów
Podgląd SKILL.md
---
name: replica-design
description: '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 the replica-architect skill.'
---

# replica-design

## On this computer

Steps 1 to 3 are research. The project directory is `/workspace/<project-slug>/`.
Write `replica/design/` there. Screenshots already live in `replica/screens/`
from recon. Read public pages with web search and by opening URLs. Use the
desktop browser when you need to look again. The user signs in for their own
account. Never type a password, a card, or a live key.

Step 4 writes code. Hand it to a Cursor cloud coding agent on the user's
GitHub repository. Do not edit the repository yourself. The task includes the
token file, `components.md`, and the rules in that step.

The contrast tool and the token template are referenced in the commands below.

Reads `replica/recon.md` and the screenshots in `replica/screens/`. Writes
`replica/design/tokens.json` (template: ${REPLICA_HOME:-/home/box/replica-skill}/cursor/skills/replica-design/tokens.json), `tokens.css`, the
Tailwind mapping, and `replica/design/components.md`.

```bash
python3 "${REPLICA_HOME:-/home/box/replica-skill}/tools/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:

```bash
python3 "${REPLICA_HOME:-/home/box/replica-skill}/tools/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

This step is code. Hand it to a Cursor cloud coding agent on the user's GitHub repository, with the tokens, the component specs, and the rules in this step. Do not edit the repository yourself.

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:
the replica-build skill.

Wersje

RepozytoriumWynikLicencja
Ta strona · letmefind/replica-skill-cursor-grok100MIT
lucasouzadev/agent-kit-skill100MIT
letmefind/replica-skill-cursor-grok100MIT
jakeschincariol/replica-skill100MIT
dmminga1983/minga-replica95MIT

Migawka bazy z 13.11.2026 · wersja paczki fbeef6fdb0b7 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100recreate-design
    Odbudowuje system projektowy aplikacji dla klonu: role kolorów, skalę typografii, odstępy, tokeny i komponenty z własnymi zasobami.
  • 100fxreplica-design
    Odtwarza system designu aplikacji w postaci tokenów, skali typografii i specyfikacji komponentów wraz ze sprawdzaniem kontrastu WCAG.
  • 100swap-design
    Buduje system projektowy zamiennika jako tokeny barw, typografii i odstępów w jasnym i ciemnym motywie, z kontrolą kontrastu WCAG.
  • 100ui-ux-pro-max
    Buduje system UI produktu: tokeny projektowe (skale kolorów i typografii, odstępy, promienie, cienie), inwentarz komponentów ze wszystkimi stanami, siatkę układu i kontrolę kontrastu WCAG w postaci zmiennych CSS.
  • 100direction
    Ustala kierunek wizualny projektu: kolory, czcionki, skalę typograficzną, odstępy, promienie i ruch jako tokeny w pliku DESIGN.md.
  • 100design-tokens
    Generuje lub ulepsza pełny system tokenów obejmujący kolor, typografię, odstępy, promienie, cienie i ruch.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.