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 oklchgradient interpolation; max 5 type sizes, 45–75ch, tracking −0.022em from 48px;mask-imageinstead of coloured overlays;mapRangewith a clamped easedtfor scroll/pointer-driven values. - Non-negotiable floors: 4.5:1 contrast on the real surface, 44×44px touch targets, a 2px
:focus-visiblering, 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
- 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.
- 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.
- 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)
- Download the ZIP with the button below.
- In Claude, open Settings → Capabilities and turn on 'Code execution and file creation'. (one time)
- Go to Customize → Skills → + → 'Upload a skill' and upload the 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.
- Open a terminal (Terminal on macOS, WSL or Git Bash on Windows).
- Clone the repository:
git clone https://github.com/LemonFace0309/charles-skills.git - Make sure the skills folder exists:
mkdir -p ~/.claude/skills - Copy the skill over — the
references/folder must come with it:cp -r charles-skills/skills/design/charles-design-principles ~/.claude/skills/ - Verify the install:
You should see layout.md, style.md, color.md, type.md and the rest.ls ~/.claude/skills/charles-design-principles/references - Restart Claude Code and try: "review this screen against the design principles".
- Optional: install charles-unslop, charles-polish and charles-ux-animation the same way, since this skill hands off to them.
View source on GitHub ↗License: MIT