AI Skill MartBrowse skillsPromptsProgramsLearnWhat is a Skill?
 
← Back to list

Charles Design Principles (Build & Critique UI)

A 14-principle, number-backed system for building and reviewing UI — alignment lines, optical spacing, OKLCH colour, type by role, layer compositing and fully mapped states.

Design & UIAdvanced★ 409⑂ 33AI score 9/10Last updated: Dec 3, 2026

What it does

Turns Claude into an opinionated design partner for a screen, a component or a whole design system.

  • Routes the work, then reads only what it needs: eight reference docs (layout, style, color, type, layers, motion, states, process).
  • Starts from real content and states: longest name, two-line title, forty rows, empty state — layout comes after.
  • 14 principles with hard numbers: 2–3 dominant verticals per column; 3px less padding on a button's icon side (12 → 9); borders at black/white 6–10%; one neutral temperature, about three neutrals; work in OKLCH with in oklch gradient interpolation; max 5 type sizes, 45–75ch, tracking −0.022em from 48px; mask-image instead of coloured overlays; mapRange with a clamped eased t for scroll/pointer-driven values.
  • Non-negotiable floors: 4.5:1 contrast on the real surface, 44×44px touch targets, a 2px :focus-visible ring, 16px inputs on phones, a reduced-motion path.
  • Review mode: a one-word verdict first (Blocked / Approve with changes / Ship it), then a Before | After | Why table with exact values and the principle number behind each fix.

Who it's for

  • Frontend engineers shipping UI without a designer on hand
  • Anyone staring at a screen that "looks off" and can't name why
  • Teams standardising spacing, colour and type tokens in a design system
  • Reviewers who want a consistent, citable UI review format in PRs

Example uses

  1. Critique a settings page: ask "why does this feel off?" and get back a count of stray vertical alignment lines plus a Before 24px | After 16px | Why principle 1 table.
  2. Build a button component: asymmetric 12/9 icon padding, nested radius computed as outer − border − padding, and every state (hover, focus, disabled, loading, error) designed before code.
  3. Rework a dark-mode palette: migrate HSL tokens to OKLCH, match lightness across same-rank colours, and shift hue plus chroma on the darker steps.

· · · Install guide · · ·

Try it now, no install

Paste this into Claude to use the skill without installing anything.

Read the instructions in this file and follow them to help me:
https://raw.githubusercontent.com/LemonFace0309/charles-skills/HEAD/skills/design/charles-design-principles/SKILL.md

What I want: (describe your task here)

If Claude can't open the link, open it yourself and paste the contents instead.

↓ If it works for you, download the ZIP below and install it. Then it runs on its own — no pasting each time.

Install in the Claude app (no terminal)
  1. Download the ZIP with the button below.
  2. In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
  3. Go to Customize → Skills → + → 'Upload a skill' and upload the ZIP.
↓ Download ZIP
Install in Claude Code

Let Claude do it — paste this into Claude Code

Install the skill I found on AI Skill Mart.
Copy the skills/design/charles-design-principles folder from the GitHub repo LemonFace0309/charles-skills into my ~/.claude/skills/charles-design-principles/.
When it's done, tell me in one line what this skill can do.

Install with a command instead

git clone https://github.com/LemonFace0309/charles-skills.git && mkdir -p ~/.claude/skills && cp -r charles-skills/skills/design/charles-design-principles ~/.claude/skills/

⚠ This is a third-party skill. Check the source repository before installing.

  1. Open a terminal (Terminal on macOS, WSL or Git Bash on Windows).
  2. Clone the repository:
    git clone https://github.com/LemonFace0309/charles-skills.git
    
  3. Make sure the skills folder exists:
    mkdir -p ~/.claude/skills
    
  4. Copy the skill over — the references/ folder must come with it:
    cp -r charles-skills/skills/design/charles-design-principles ~/.claude/skills/
    
  5. Verify the install:
    ls ~/.claude/skills/charles-design-principles/references
    
    You should see layout.md, style.md, color.md, type.md and the rest.
  6. Restart Claude Code and try: "review this screen against the design principles".
  7. Optional: install charles-unslop, charles-polish and charles-ux-animation the same way, since this skill hands off to them.