agentleFS
ItamarZand88ItamarZand88/design-skills/.claude/skills/redesign/SKILL.md

redesign

Skill8 starsChanged 7 months agoMITView on GitHub

Redesign or restyle existing UI to match a specific brand's design system. Use when the user has existing code, components, or an app and wants to transform the visual language to match Apple, Stripe, Linear, Notion, Vercel, or any of 58 curated design systems. Also trigger when the user says "retheme", "restyle", "make this look like [brand]", "apply [brand] design", wants to migrate an app's visual identity, change the look and feel, or apply a new skin to existing UI. This includes partial redesigns like "make just the header look like Linear" or "use Stripe's color palette".

We split this skill into the rules it gives an agent

12 rules. 0 are common, 11 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 12 edited versions we read keep these.

  • 11

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read design-md/_index.md for the full catalog of 58 available design systems.

    line 16
  2. Distinctive:

    Before loading any target design, understand the current code:

    line 22
  3. Distinctive:

    Update weights (some brands are heavy, some are light)

    line 99
  4. Distinctive:

    Add font import/link if needed

    line 101
  5. Distinctive:

    Update container max-widths and gutters

    line 106
  6. Distinctive:

    Update any gradient backgrounds

    line 116
  7. Distinctive:

    Read Section 7 (Do's and Don'ts) of the target DESIGN.md and verify:

    line 125
  8. Distinctive:

    If the user wants to restyle only part of the UI (e.g., "make the header look like Linear"):

    line 149
  9. Distinctive:

    Only transform tokens within the specified scope

    line 151
  10. Distinctive:

    Ensure visual coherence at the boundary between redesigned and original sections

    line 152
  11. Distinctive:

    Test selectors or IDs used by automated tests

    line 162
  12. Distinctive:

    Only change visual presentation — colors, fonts, spacing, shadows, borders, and layout CSS.

    line 164

“Common” is measured: kept by at least 6 in 10 of the 12 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Redesign Existing UI

Transform existing UI code to match a target brand's design system. Unlike building from scratch, redesign requires analyzing what exists, creating a mapping between current and target tokens, and transforming systematically while preserving functionality.

Why redesign is different from building new

Building new UI is additive — you start from nothing. Redesign is transformative — you must understand what exists, identify every visual decision in the current code, and replace each one with the target system's equivalent. The risk is breaking functionality or missing tokens, so the approach must be methodical.

Available Designs

Read design-md/_index.md for the full catalog of 58 available design systems.

Workflow

1. Analyze the existing UI

Before loading any target design, understand the current code:

Inventory the current design tokens:

  • Colors: background, text, borders, accents, interactive states
  • Typography: font families, size scale, weights, line-heights
  • Spacing: padding, margins, gaps — identify the base unit
  • Shadows: elevation levels, shadow colors
  • Border-radius: scale being used
  • Component patterns: button styles, card styles, input styles

Identify the tech stack:

  • What framework (React, Vue, Svelte, plain HTML)?
  • What styling approach (Tailwind, CSS modules, styled-components, inline, CSS vars)?
  • Are there existing theme files, CSS custom properties, or design tokens?

Map the structure:

  • Which files contain styling?
  • Are styles co-located with components or in separate stylesheets?
  • Is there a theme provider or global CSS?

2. Identify the target design

Match the user's request against the catalog in design-md/_index.md. Load the target design-md/{directory}/DESIGN.md.

3. Create the token mapping

This is the most important step. Build an explicit mapping between current tokens and target tokens:

Color mapping:

Current background (#f8f9fa) → Target background (from Section 2)
Current primary text (#212529) → Target heading color (from Section 2)
Current body text (#495057) → Target body text (from Section 2)
Current accent (#0d6efd) → Target primary accent (from Section 2)
Current hover state (#0b5ed7) → Target hover state (from Section 4)

Typography mapping:

Current font-family → Target font families (from Section 3)
Current heading sizes → Target heading hierarchy (from Section 3)
Current body size → Target body size (from Section 3)
Current weights → Target weights (from Section 3)
Current line-heights → Target line-heights (from Section 3)

Spacing mapping:

Current base unit → Target base unit (from Section 5)
Current spacing scale → Target spacing scale (from Section 5)

Shadow mapping:

Current shadow levels → Target shadow system (from Section 6)

Radius mapping:

Current border-radius scale → Target border-radius scale (from Section 5)

4. Transform systematically

Apply the mapping in this order. Each layer builds on the previous one, so the order matters:

Step 1 — Colors: Replace all color values. This is the highest-impact change.

  • Background surfaces
  • Text colors (heading, body, secondary, muted)
  • Border colors
  • Accent/brand colors
  • Interactive states (hover, active, focus, disabled)
  • Shadow colors (often brand-tinted — don't miss this)

Step 2 — Typography: Replace font families, update size hierarchy.

  • Swap font-family declarations
  • Adjust sizes to match the target hierarchy table
  • Update weights (some brands are heavy, some are light)
  • Adjust line-heights and letter-spacing (huge impact on feel)
  • Add font import/link if needed

Step 3 — Spacing: Adjust spacing to match the target system.

  • Remap padding and margins to the target scale
  • Adjust gaps in flex/grid layouts
  • Update container max-widths and gutters

Step 4 — Components: Restyle interactive elements.

  • Buttons: shape, padding, radius, states
  • Cards: border treatment, shadow, radius, padding
  • Inputs: border style, focus ring, padding
  • Navigation: layout pattern, active states

Step 5 — Depth: Replace shadow system.

  • Apply target shadow values at each elevation level
  • Update any gradient backgrounds
  • Adjust overlay/backdrop styles

Step 6 — Responsive: Adjust breakpoints if they differ significantly.

  • Usually the least disruptive — most responsive patterns are similar
  • Focus on touch targets and mobile-specific spacing

5. Check guardrails

Read Section 7 (Do's and Don'ts) of the target DESIGN.md and verify:

  • Nothing in the "Don't" list is present in the output
  • Key items in the "Do" list are followed
  • The overall atmosphere from Section 1 is achieved

6. Present the changes

Show the user a clear summary:

Token mapping table:

TokenBeforeAfter
Background#f8f9fa{target value}
Primary text#212529{target value}
.........

Files modified with a brief note on what changed in each.

Before/after comparison — describe the visual difference the changes create.

Font imports or other dependencies that need to be added.

Partial redesigns

If the user wants to restyle only part of the UI (e.g., "make the header look like Linear"):

  • Still load the full DESIGN.md for reference
  • Only transform tokens within the specified scope
  • Ensure visual coherence at the boundary between redesigned and original sections
  • Warn the user if the partial redesign creates visual inconsistency

Preserving functionality

Never change:

  • Component logic, event handlers, or state management
  • Data flow, API calls, or business logic
  • Accessibility attributes (aria-*, role, tabIndex)
  • Semantic HTML structure (unless the target design requires a different layout pattern)
  • Test selectors or IDs used by automated tests

Only change visual presentation — colors, fonts, spacing, shadows, borders, and layout CSS.

Download now (ZIP)

  • Other versions12 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 12

    1. ParadevAI/Paradev★ 16ksame name
    2. superset-sh/superset★ 16ksame name
    3. plugin87/ux-ui-agent-skills★ 3ksame name
    4. educlopez/ui-craft★ 398same name
    5. arjunkshah/design-skill★ 21same name
    6. VoxTechnologies/transmute-framework★ 5same name
    7. vagkaratzas/skills★ 4same name
    8. Darcos-Loft/fluid★ 3same name
    9. Integralist/agent-skills★ 3same name
    10. F0rger123/CLAUDE-DESIGN-GOD-MODE★ 1same name

    2 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.

  • Used alongsideProjects with it also use critique.

    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.
    • GoogleSkill

      critique

      Expertise in auditing and fixing repository scripts and GitHub Actions workflows to ensure technical robustness and security.

      Also in 4 projects that use this

  • In this repository4 other files it gives its agents.

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.