pair — Claude Code and Cursor slash command: fuse two site designs
pair merges two extracted site designs into one hybrid identity, so colour and spacing come from one site while type and wording come from the other.
MIT ★ 5,183 updated 2026-10-23
/plugin marketplace add Manavarya09/design-extract
/plugin install designlang@designlangWhat pair does
Two URLs go in, one hybrid identity comes out. The command extracts both sites at once, spends roughly 30 seconds, and writes everything to ./design-extract-output/.
Expect an HTML pair card with a cover and an axis matrix, a markdown table naming the source of each axis, and a JSON file of the deltas. --brand adds a separate HTML brand book for the merged identity. --format narrows the output types, --open launches the card.
The stock split leans on site A for visuals (colour, spacing, shape, motion) and on site B for words (typography, voice, component anatomy). Flip a single axis with flags like --colors-from a|b. Pass fewer than two URLs and the command stops to ask for the missing one.
What it helps with
- merge one site's layout with another site's type system
- generate a brand book for the combined identity
- record which axis came from which source as JSON
- compare two design languages side by side before picking one
- open the crossover as one HTML card for the team
Example prompts for the agent
- Fuse
stripe.comandlinear.app, taking typography and voice from the second one. - Run
/paironvercel.comandapple.comwith--brand, I want the brand book. - Switch the colour source to site B with
--colors-from b.
How to install pair
1Plugin marketplace
/plugin marketplace add Manavarya09/design-extract/plugin install designlang@designlang2Manually: put the files in place
.claude/commands/pair.mdCall it with /pair. For all projects use ~/.claude/commands/
Manually: put the files in place
~/.codex/prompts/pair.mdCall it with /prompts:pair. Codex marks this format deprecated in favour of skills
Manually: put the files in place
.github/prompts/pair.prompt.mdManually: put the files in place
.gemini/commands/pair.tomlGemini stores commands as TOML: the prompt text goes into the prompt field
Questions about pair
How do I install pair in Claude Code?
Run /plugin marketplace add Manavarya09/design-extract, then /plugin install designlang@designlang. The command file lands at .claude/commands/pair.md.
What does pair do?
It reads two sites and builds one hybrid identity axis by axis: colour, spacing, shape, motion, typography, voice, components. Output goes to ./design-extract-output/.
What if I give it only one URL?
It asks for the second one and waits. Two addresses are required.
Source text
pair.md · MIT
--- description: Fuse two extracted designs into a single hybrid identity. Pick which axis (colour, typography, spacing, shape, motion, voice, components) comes from which site. Defaults to "visual A × voice B" — same colours/spacing as the first URL, type/voice/components from the second. argument-hint: <urlA> <urlB> [--colors-from a|b] [--typography-from a|b] [--brand] --- Fuse the design DNA of two sites and emit an editorial pair card showing the crossover. ```bash npx designlang pair $ARGUMENTS ``` If `$ARGUMENTS` doesn't contain at least two URLs, ask the user for the second one. Both sites are extracted in parallel (~30s total). Outputs land in `./design-extract-output/`: - `*-x-*.pair.html` — editorial pair card with cover, axis matrix, fused specimen - `*-x-*.pair.md` — markdown summary (axis source table) - `*-x-*.pair.json` — structured deltas (which axis came from where) - `*-x-*.pair.brand.html` — full brand-guidelines book of the fused identity (only with `--brand`) After the run completes: 1. Read the markdown to summarise: which axis came from A, which from B 2. Highlight the most distinctive crossover (the fused specimen quotes a real headline from whichever site contributed the voice) 3. Offer to open the HTML pair card ## Default axis split | Axis | Default source | Why | |---|---|---| | Colour | A | Brand identity tends to lead with colour | | Spacing | A | Spacing co-varies with the visual layout | | Shape | A | Radii + shadows belong with the visual surface | | Motion | A | Motion is part of the visual feel | | **Typography** | **B** | The crossover moment — different voice | | **Voice** | **B** | Tone, headings, CTA verbs from B | | **Components** | **B** | Anatomy from B's library | So the default is "Site A's visuals + Site B's words". Override any axis with `--<axis>-from a|b`. ## Useful flags | Flag | Effect | |---|---| | `--colors-from <a\|b>` | Force colour source | | `--typography-from <a\|b>` | Force typography source | | `--spacing-from <a\|b>` | Force spacing source | | `--shape-from <a\|b>` | Force radii + shadows source | | `--motion-from <a\|b>` | Force motion source | | `--voice-from <a\|b>` | Force voice / tone / heading source | | `--components-from <a\|b>` | Force component anatomy source | | `--brand` | Also emit a full brand-guidelines book of the fused identity | | `--format html\|md\|json\|all` | Pick output formats | | `--open` | Open the HTML pair card | ## Example experiments ``` npx designlang pair stripe.com linear.app # default split npx designlang pair stripe.com linear.app --type-from a # Stripe everything except components/voice from Linear npx designlang pair vercel.com apple.com --brand # fused identity as a hand-off brand book ``` ## Pairs nicely with - `/grade <url>` — grade either source side individually before pairing - `/brand <url>` — generate a brand book of one source for comparison - `/battle <urlA> <urlB>` — head-to-head graded comparison (the inverse of `pair`)
© Manavarya Singh · MIT · Manavarya09/design-extract