Agent skill

UI Craft

by educlopez in educlopez/ui-craft

A skill your agent uses for UI design and implementation work to avoid generic AI-looking interfaces.

MITAuto-check passedFrontend & Design

Install UI Craft

skills CLI
$ npx skills add educlopez/ui-craft --skill ui-craft -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install educlopez/ui-craft ui-craft --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/educlopez/ui-craft.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/ui-craft .claude/skills/ui-craft && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
ui-craft
GitHub stars
371
Token cost
~9.5k tokens
SKILL.md length
4,593 words
Files
35 (incl. references)
Skills in repo
13
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses for UI design and implementation work to avoid generic AI-looking interfaces.

  • Works in 3 steps: Project Analysis → Ask the User (Quick Ask) → Apply Decisions
  • UI design and implementation work to avoid generic AI-looking interfaces
  • SKILL.md covers The Ladder (use this when…, Knobs (ask during Discovery,…, Quick Start: Top 12 and Routing, plus 6 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

UI Craft is an agent skill from educlopez/ui-craft. Use for UI design and implementation work to avoid generic AI-looking interfaces. Provides anti-slop rules, a required discovery phase before coding, and guidance for layout, typography, color, motion, accessibility, dashboards, tables, landing pages, theming, and polish. Trigger when editing UI code or reviewing and refining components, pages, screens, layouts, animations, responsive behavior, or design systems.

Its SKILL.md is about 9.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 35 other files, including reference files (for example `references/accessibility.md`, `references/agents.md` and `references/ai-chat.md`).

It sits in Frontend & Design, covering Humanizing AI text, Design systems and UI design. The repository describes itself as: Design engineering system for AI coding agents — ship UI with craft-level quality. Install as an agent skill. The licence is MIT.

When your agent uses it

  • UI design and implementation work to avoid generic AI-looking interfaces
  • Editing UI code
  • Reviewing and refining components
  • Responsive behavior

Example prompts

  • “/ui-craft”

Workflow steps

3 steps, taken from the step headings in SKILL.md.

  1. Project Analysis
  2. Ask the User (Quick Ask)
  3. Apply Decisions

What it can do on your machine

Read from SKILL.md and the folder at commit ceecc8e. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

UI Craft loads about 9.5k tokens when it runs, and up to ~124k if it reads all its reference files. Until then it costs about 106 tokens; SKILL.md has 4,593 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~106
When it runs · the whole SKILL.md, loaded when a task matches
~9.5k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~124k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from educlopez/ui-craft at commit ceecc8e, republished under its MIT licence (© educlopez). 4,593 words, ~9,513 tokens.

Download SKILL.mdSave it as .claude/skills/ui-craft/SKILL.md (or your agent's skills folder). This skill also uses 34 other files; get the full folder from GitHub.
name
ui-craft
description
Use for UI design and implementation work to avoid generic AI-looking interfaces. Provides anti-slop rules, a required discovery phase before coding, and guidance for layout, typography, color, motion, accessibility, dashboards, tables, landing pages, theming, and polish. Trigger when editing UI code or reviewing and refining components, pages, screens, layouts, animations, responsive behavior, or design systems.
argument-hint
[action: build|animate|review|polish|audit] [target]

UI Craft

You are a design engineer. Every decision below is one you make deliberately and can defend — never a default you inherited.

The Ladder (use this when explaining ui-craft to the user)

One progression, four rungs. Never describe ui-craft as "layers" or "modes" — use these rung names, and name the rung the user is on before suggesting a command.

RungUser wantsThey doThey getEffort
0 · Askbetter UI, zero effortask for UI as alwaystaste by default: real hierarchy, system tokens, no slopnone
1 · Directcontrol one pass/craft, /critique, /polish, /animate, …a focused pass on one surfaceone command
2 · Persistconsistency across sessions/brief, /tokens, /rememberdurable design context every future session readswrite once
3 · Enforceit can't regress/finalize, review agents, MCP gates, score, ui-craft-detectgates in review/CI + a 0-100 numberwire once

/sddesign is not a rung — it is the express lane that walks rungs 1 to 3 for one big surface. When a pass finishes, name the natural next step (/craft → /finalize, /brief → /tokens, /audit → /harden).

Knobs (ask during Discovery, 1-10)

Knobs are fallback defaults applied only when the user declines to specify. When the user gives explicit guidance during Discovery — "make it dense", "minimal motion", "ship-fast" — those override the defaults. Knobs are not a starting position; they are a graceful fallback.

  • CRAFT_LEVEL (default 7) — refinement depth. 3 ships fast, 9 is pixel-perfect.
  • MOTION_INTENSITY (default 5) — 1 = hover only, 10 = scroll-triggered, magnetic, page transitions.
  • VISUAL_DENSITY (default 5) — 1 = whitespace-heavy editorial, 10 = dashboard-dense.
  • DESIGN_VARIANCE (default by surface — see craft-intent.md) — 1 = symmetric/safe layout, 10 = experimental composition. Dashboards default 4; landings 7; portfolios 8. Gates layout risk separately from density.

Behavior: CRAFT_LEVEL 8+ → run Polish Pass (review.md). ≤4 → skip it. MOTION_INTENSITY ≤3 → hover only, no entrance/stagger/scroll animations. 4-7 → standard entrances + hover, one scroll reveal max per section. 8+ → scroll-linked, page transitions, magnetic cursor OK (still honor prefers-reduced-motion); load stack.md if user opts in. VISUAL_DENSITY ≤3 → wide spacing, 1-2 items/row. 8+ → dashboard-dense (dashboard.md). DESIGN_VARIANCE ≤4 → symmetric grids, safe product layouts. 5-7 → split heroes, alternating rows, one layout break. 8+ → display-scale drama, asymmetric marketing compositions; 9-10 only when user asks for experimental or brief demands it (craft-intent.md).

Quick Start: Top 12

The rules that make the biggest difference between "AI-generated" and "designed by a human":

  1. Ask before assuming — never default accent, font, or style. Analyze project, then ask. Use Knob defaults only when the user explicitly declines to specify.
  2. Sentence case by default — uppercase = template. Exception: 11-13px category labels with wide tracking — an eyebrow above every heading is template grammar; budget formula in recipe-landing.md (Eyebrow budget).
  3. 90%+ neutral, one accent — mostly black/white/gray; single brand color. NEVER default to blue — if your brand is blue, that's different.
  4. Vary border-radius — 6px inputs, 10px cards, 14px modals (steps from the radius token scale in tokens.md); uniform radii look stamped out.
  5. Real SVG icons, not emoji — use the project's existing icon set first; if none, pick one consistent SVG library (Lucide, Heroicons, Phosphor) and never mix two.
  6. Tight letter-spacing on large headings — tracking-tight or -0.02em+ above 24px.
  7. One body font, optionally a second for display — never mix three by accident. Inter/Geist/DM Sans are safe fallbacks when no brand font exists.
  8. Layered shadows over flat borders — ambient + direct light.
  9. Exit faster than enter — ~75% of entrance duration.
  10. Plain secondary text for comparisons — "+12.5% from last month", not a colored pill.
  11. Accent budget: one accent color, 3-5 placements of it per above-the-fold viewport — CTA, one key metric, active states. Why: Hick's Law — every accent placement competes for attention budget; >5 dilutes the focal point. Modals and overlays count as their own viewport.
  12. Every section earns its space — if it doesn't answer a question or drive action, cut it.
  13. One signature detail per UI — subtle motif, layout break, custom markers, distinctive hover. On /craft, pick and build it in the first pass (craft-intent.md) — not only at polish.

Before writing ANY code: For non-trivial projects, run /brief and /tokens first — durable artifacts beat per-session re-derivation. Then run Stack Detection + Discovery Phase. Use existing tokens if any token system is present. If none exists, establish a minimal token set before writing components — at minimum: spacing scale, neutral ramp, one accent, two type sizes for body and display (see layout.md and color.md). If preferences are missing, ask.

Routing

If the ui-craft MCP server is connected, call route_task with the user's own words before reading anything below. It returns the ranked references, commands and tools that cover the task plus the first move, and it resolves vocabulary this table cannot: "an analytics panel" reaches recipe-dashboard.md, "pricing block" reaches recipe-landing.md. Why: a table only fires when the user's words match our filenames, and they usually don't. The table below is the fallback when no MCP is available — and it stays authoritative for what each entry is, since route_task returns pointers only.

IntentPass / Reference
New here / unsure where to beginRun /start → reads the project, reports what's available now, routes you to the right next step
Pre-build: write the project's design briefRun /brief → see brief.md
Pre-build: establish or audit token spineRun /tokens → see tokens.md
Build a surface end-to-end with the full spec-driven pipeline (brief → tokens → shape → craft → converge → ship)Run /sddesign → walks all gates, writes .ui-craft/spec.md, orchestrates existing phase commands
Build a surface in one shot (known composition, no pipeline needed)Run /craft <surface> → outcome recipes: recipe-dashboard.md, recipe-landing.md, recipe-auth.md
Pick a ready-made theme (no token system exists)themes.md — 4 production token presets
Building new UIBuild pass (rung 0/1) — this file + relevant references
Adding/fixing animationsMotion pass — motion.md
Reviewing existing UIReview pass — review.md — ends with a Craft Report
Polishing existing UIPolish pass — this file + review.md Polish Pass — ends with a Craft Report
Multi-stage animationsanimation-storyboard.md
Layout / spacinglayout.md
Typography (focused pass: /typeset)typography.md
Color / theming / dark mode (focused pass: /colorize)color.md
Accessibility / a11y audit (technical audit: /audit)accessibility.md
UX critique, no code changesRun /critique — review.md + inspiration.md
Production hardening (states, i18n, edge cases)Run /harden — state-design.md + coverage.md
"What's missing from this screen?" / completeness check on a table, settings, checkout, pricing, docs, invite, delete-confirm, onboardingCall ux_coverage (MCP) or read coverage.md — the completeness axis, reported beside distinction, never folded into a score
Cut noise / simplify an over-built surfaceRun /distill
Redesign / modernize an existing site without losing brand, IA, or SEORun /redesign — audit first, preserve list, refresh/reskin/rebuild scope
Amplify personality / "make it bolder"Run /bolder — craft-intent.md
Tone down / "quieter", "more restrained"Run /quieter — craft-intent.md
Extract repeated patterns into components/tokensRun /extract — layout.md, typography.md, color.md
Purposeful micro-interactionsRun /delight — motion.md
Animation performancemotion.md — Rendering Performance section
Advanced CSS / View Transitionsmodern-css.md
Sound designsound.md
UX copy / voice / tone / microcopy (focused pass: /clarify)copy.md — errors, empty states, CTAs, voice matrix, reading level, locale, inclusive language
Responsive (focused pass: /adapt)responsive.md
Page metadata correctness (title/description/canonical, social cards, structured data, favicons)metadata.md
Three.js / GSAP / Motionstack.md — OPT-IN ONLY — do not load unless user chose Motion/GSAP/Three.js in Discovery Step 2
Scored critique / PM-ready auditheuristics.md + personas.md — load for /heuristic
State-first design (before happy path)state-design.md — load for /unhappy
Data visualization / charts / dashboardsdataviz.md — Cleveland-McGill, color for data, Tufte
Motion system / tokens / choreographymotion.md — duration + easing scale, motion budget
Wireframe-first / shape a new screenRun /shape before coding; see state lattice + content inventory
AI / chat / streaming surfacesai-chat.md — streaming contract, tool traces, citations, feedback
Forms (multi-step, validation timing, autosave)forms.md — holistic form system design
Component anatomy (buttons, menus, modals, search, cards, nav)components.md — contracts below the surface level
Pre-ship: finalize gate (full bar before merge)Run /finalize → see finish-bar.md
Iterate a surface until a quality bar passes (converge, not one-shot)loops.md — loop engine + presets; wired into /finalize, /unhappy, /tokens
Remember a design correction (record as a learned constraint)Run /remember → brief.md
Parallel design + a11y verify (fresh-context, read-only, run both simultaneously on a diff/file)Delegate ui-craft:design-reviewer + ui-craft:a11y-auditor together → agents.md. Agents = fresh-context parallel delegation; /critique + /audit = inline commands in the caller's context. Use agents for dedicated review passes and PR audits; use commands for interactive build sessions.
AmbiguousAsk which mode

Overlap with other skills: defer marketing copy to a copywriting skill; defer SEO strategy to an SEO skill — UI Craft covers the correctness of metadata already being emitted (metadata.md), not keyword or ranking strategy. UI Craft is the visual and interaction layer.

Out of scope. These are surface classes the recipes do not help with. Say so, name the right tool, and still apply UI Craft to the web surfaces around them — a brief containing one of these is rarely only that.

Not thisUse instead
Code editor surfaces (syntax, gutters, diff views)Monaco or CodeMirror with their own theming API
Native mobile appsApple HIG or Material directly — UI Craft covers web
Realtime collaboration UI (presence, live cursors, conflict states)Liveblocks, or Yjs / Automerge if you own the sync layer — the recipes assume a single actor
HTML emailMJML or a dedicated email framework — the CSS rules here are void in mail clients

Refusing with a pointer beats confident bad output. Silence produces the second one.


Stack Detection (Always Run First)

Detect the styling approach from signals: Tailwind (tailwind.config.*, @tailwind), CSS Modules (*.module.css), styled-components/Emotion (styled(...), css\...`), CSS-in-JS (*.styles.ts, vanilla-extract, Stitches), SFC (<style scoped>` in Vue/Svelte/Astro), or Vanilla CSS.

Rules: never fight the project's stack; never mix approaches. The design rules hold across stacks — only the syntax changes. (Context can still invert a rule — that's When Rules Break, and it's about the design context, never the stack.) Reference files are CSS-first with Tailwind translations. When in doubt, match existing patterns.

Tailwind Translations (common)

tracking-tighter / tabular-nums / text-balance / motion-reduce: / focus-visible:ring-2 / touch-manipulation / min-h-11 (44px). Use ease-[cubic-bezier(...)] for custom easing.

Tailwind anti-slop: avoid bg-gradient-to-r from-purple-500 to-cyan-500, animate-bounce, heavy glow shadows. Tailwind makes it easier to ship slop faster.


Discovery Phase (Always Run First)

Before applying any design decisions, discover what the project has and what the user wants. Never default to blue, Inter, or any style without checking — if the brand calls for blue, that's different.

Step 1: Project Analysis

Design Memory (.ui-craft/ directory). This is the project's typed design context. It replaces the single brief.md with a structured directory — all files are plain markdown, committable to git.

Always-load on every UI task (small, define project taste/tokens):

  • .ui-craft/brief.md — product identity, design intent, audience, voice, constraints. See references/brief.md for the format guide.
  • .ui-craft/tokens.md — the project's actual token decisions (colors, type, spacing, radius, shadows).

Lazy-load only when the task needs them (growing logs — always loading bloats context unnecessarily):

  • .ui-craft/decisions.md — append-only date-stamped design decision log. Load when the user asks to reference prior rationale or past decisions.
  • .ui-craft/patterns.md — validated component/layout compositions. Load when the task references a known pattern or the user asks to reuse one.
  • .ui-craft/surfaces/<name>.md — per-surface notes (layout, components, edge cases). Load only the surface file matching the current task; do NOT load all surface files eagerly.

If .ui-craft/ is absent: proceed without error — no design memory files are loaded. Recommend ui-craft install to scaffold the directory when the user wants to establish project-level design context.

The brief includes Learned constraints — corrections the user made on this project, each a binding design fact. Apply them like principles: they override skill defaults, never the a11y/correctness floor.

Scan for existing tokens: CSS variables (--color-*, --font-*, --accent-*), Tailwind config (theme.extend.*), globals.css, font imports, next/font, component library theme (shadcn, MUI), design-tokens files. Build an inventory (accent, fonts, radius, shadows). If the project has an intentional system, respect it. Don't override.

If a token system is present but incomplete (no semantic layer, no intentional dark mode, missing categories), recommend /tokens to audit and fill gaps. Cross-ref tokens.md for the 3-layer contract.

Step 2: Ask the User (Quick Ask)

If tokens are missing or ambiguous, ask in one compact prompt:

"Before I build: (1) Design style — minimal, soft modern, sharp geometric, editorial, dark premium, or playful? (2) Accent color preference? (3) Font — clean sans-serif, geometric, humanist, monospace, or system? (4) Animation stack — Motion / GSAP / Three.js / none? (I'll load references/stack.md only if you opt in.)"

Style choices (brief): Minimal Clean (whitespace-heavy, monochrome + one accent, hairline borders, tight type), Soft Modern (rounded cards, generous spacing, gradient-tinted neutrals, soft shadows), Sharp Geometric (precise grids, mono numbers, hard edges, semantic palette), Rich Editorial (serif display + humanist body, wide reading column, deliberate asymmetry), Dark Premium (deep neutrals, restrained accent, surface elevation via tint over shadow), Playful Bold (saturated palette, asymmetric layouts, expressive type, custom illustration). Style is independent of color scheme — default to light unless user asks for dark.

Step 3: Apply Decisions

The project's own code becomes the source of truth — no external config file. Shortcut: if user provides accent + font + style in the prompt, skip Discovery. See style-to-CSS mapping in layout.md.

Craft Read (full surfaces)

When building a complete surface (dashboard, landing, auth, settings shell, portfolio page) — including /craft — output the Craft Read before writing code, in exactly this form:

Craft Read: [surface kind] for [audience], [product | marketing] language, [theme/accent hint], variance [N], signature bet: [choice].

The template is here rather than only in craft-intent.md on purpose. Why: an instruction to emit a form, with the form in another file, produces the right elements in an improvised shape whenever that file is not loaded — a planning paragraph instead of the line the user can react to. A pointer to a form is not the form.

Then load the recipe for the surface before writing code, not after: dashboard → recipe-dashboard.md, landing → recipe-landing.md, auth → recipe-auth.md. Why: every numeric limit that keeps a surface from reading as a template lives in its recipe (hero subtext ≤20 words, eyebrow budget, form column width, acceptance bar). Skipping the recipe does not soften those limits — it removes them, and the build breaches them without ever seeing them. If the MCP server is connected, route_task names the recipe for you.

Pick DESIGN_VARIANCE and a signature bet in that line; full rationale, variance defaults and worked examples in craft-intent.md. The user steers in plain language ("more like X", "bolder", "quieter") — no design vocabulary required.


Core Rules (Always Apply)

The Anti-Slop Test

Before shipping any UI, ask: "If someone said AI made this, would they believe it immediately?" If yes, start over.

Critical (immediately reads as AI):

  • Identical card grids (icon + heading + text, 3-6x repeated)
  • ALL CAPS on headings, labels, tables, nav, buttons (exception: 11-13px category labels)
  • Purple/cyan gradient everything
  • Emoji as feature icons
  • Bounce/elastic easing curves
  • Glassmorphism on dark + neon accents

Major (designers notice):

  • Colored pills on trend percentages — use plain secondary text
  • Thick colored left/top borders on cards — use elevation or bg tint
  • Uniform border-radius on everything — vary by element
  • Gradient text on hero metrics
  • Vertical bar charts for time-series — use area/line (horizontal bars OK for categorical)
  • transition: all — list specific properties
  • Decorative glow as primary affordance
  • Soft blurry gradient blobs/orbs
  • Generic CTAs ("Learn more", "Click here") — be specific
  • Walls of text — no landing section > 2-3 sentences
  • "OR" divider in caps between auth options — lowercase it: "or with email"
  • Full-bleed saturated brand panel beside a sign-in form — tinted neutral surface with one proof asset (recipe-auth.md)
  • Uppercase tracked eyebrow above every section heading — ration to max 1 per 3 sections; one deliberate kicker is voice, one per section is template grammar
  • Numbered section eyebrows ("01 · About", "02 / Process") — numbers earn their place only when content is a real ordered sequence
  • Scroll cues ("Scroll to explore", ↓ arrows) — the fold composition should imply continuation, not label it
  • Two CTA labels with the same intent on one page ("Get in touch" + "Let's talk") — one label per intent, reused everywhere
  • Fake product screenshots built from styled <div> rectangles — use a real screenshot, a real mini component, or editorial imagery; never a div mockup
  • Logo walls as plain text wordmarks — use real SVG marks; for invented brands, a simple monogram mark, never a styled <span>
  • Carousels without narrative purpose — a carousel earns its place only when order tells a story (steps, timeline); as a "fit more stuff" device it hides content and reads as template
  • App UI built from stacked cards instead of a real layout — cards are for peer items in a collection; wrapping every section in a rounded card is avoidance of layout decisions
  • Em-dash flood in UI strings — 3+ em dashes in visible copy is prose grammar leaking into interface grammar; restructure with periods, colons, or separate elements

Minor (polish that separates good from great — full list in review.md Polish Pass): no tabular-nums on data, missing text-wrap: balance, straight quotes, no &nbsp; in brand names, testimonial star ratings, hero metric without adjacent context.

Show full SKILL.md (1,849 more words)Show less
The Craft Test (What TO Do)

Anti-slop says what to avoid. Craft says what to aim for.

General craft:

  • One accent, 3-5 placements per above-the-fold viewport. Never two competing accents at the same chroma + saturation — the eye reads them as a tie and stalls. Two accent hues are acceptable when one is clearly subordinate (lower chroma, smaller surface).
  • White backgrounds with barely-there borders or whitespace. Numbers large, undecorated, tabular-nums.
  • Comparisons plain secondary text. One chart color at different opacities. Area fill fades ~15% → 0%.
  • Functional color only — dots for status, flags for countries. Real content, not placeholders.

Landing pages (detail in inspiration.md):

  • Hero — center is fine if asymmetric supporting elements break the symmetry (offset badges, staggered social proof, side-weighted graphics). Avoid is center-everything with every row perfectly symmetrical — that reads as template. One headline (48-72px, tight tracking), one paragraph, dual CTAs, social proof below.
  • Features: 2-3 asymmetric rows with real visuals (chart, timeline, funnel). NEVER uniform 3-column icon grids.
  • Sections breathe: 80-160px between majors, varied for rhythm (dense products sit low, editorial high — production range in inspiration.md). Every section answers one question.
  • Prefer specific metrics over vague praise ("Build times 7m → 40s" beats "trusted by thousands").

Dashboards (detail in dashboard.md):

  • Sidebar: subtle bg tint, NOT full dark (common AI pattern).
  • Metric cards: primary gets accent tint; others neutral. Sparklines on all. NEVER identical colored top borders.
  • At least 3 content types per dashboard viewport (e.g., chart + table + metric). Why: uniform grids of identical cards trigger the AI-template tell; variety signals editorial decision. Chart type matches data story (area/horizontal bar/sparkline). Never pie or 3D.
When Rules Break

Every rule above has a context where it inverts. Stating the rule is half the work; knowing when it doesn't apply is the other half.

  • "Never ALL CAPS on headings" — small category labels (10-13px) with positive tracking are an exception in editorial layouts. The size shift removes the shouty-bigness; the tracking compensates for descender loss.
  • "One accent only" — multi-tenant dashboards (where each tenant has its own brand) and editorial sites with explicit color systems are exceptions. The rule is "one accent per consistent design surface", not "one accent ever".
  • "Avoid pie charts" — for two-segment proportional comparisons (e.g., used vs. free storage on a single device), a donut with center label is acceptable. The rule covers multi-segment pies, which fail Cleveland-McGill perceptual ordering.
  • "No emoji as feature icons" — affordance contexts where emoji are user content (reactions, message-thread emoji rosters) are not slop, they are content. The rule covers decorative emoji standing in for designed icons.
  • "Never gradient text on metrics" — branded marketing pages can use gradient on a single hero metric where the gradient is the brand expression, not decoration. Inside-the-product metrics still follow the rule.
  • "Never mix three typefaces" — deliberate three-family type systems (display serif + body sans + mono for data/code) are standard in editorial and data-heavy products. The rule targets accidental font accumulation, not a designed hierarchy where each family has a named role.

The general principle: every rule encodes a default that prevents the most common failure mode. When the context inverts the failure mode, the rule may invert too. The work is recognizing the inversion, not memorizing exceptions.

Convergence

Commands can iterate until their quality gate passes rather than producing a single-shot output. The engine never fakes a render and always reports honest confidence. See loops.md.

Self-Correction

When the user corrects design output — "not like that", "I don't like this", "always do X here", "never Z", or a reversal that reads as a standing preference — record it as a learned constraint in the brief (section 6; run /remember). Capture the why, not just the what, so it generalizes; confirm in one line where it landed; don't re-litigate a correction already recorded. Learned constraints rank with the principles: they override skill defaults but never the a11y/correctness floor — if a correction would breach the floor, apply the closest compliant interpretation and say so.

This is project-scoped and lives in the brief by design — ui-craft is a UI skill, not a general memory engine. Cross-project corrections ("in all my projects") are general memory: mirror them to an external memory service if one is available, else note that cross-project recall needs one. Full behavior → brief.md (Self-Correction).

Animation Decision Ladder

Should this animate? → High-frequency? No. Not communicating hierarchy/state/space? Cut it. Otherwise: ≤400ms (most UI 150-300ms; 400ms only for page transitions/drawers), GPU-only, prefers-reduced-motion honored.

Full ladder, easing, springs, stagger, interaction contract → motion.md (Decision Ladder).

Design Rules (core)

Layered shadows (ambient + direct). Semi-transparent borders + shadows for crisp edges. Hue-consistent borders/shadows/text on colored surfaces. APCA over WCAG 2. Interactions increase contrast. color-scheme + theme-color match theme. OKLCH for scales. Full detail in layout.md and color.md.


Review Format (Required)

When reviewing UI code, use a markdown table. Never use "Before:"/"After:" on separate lines.

BeforeAfterWhy
transition: all 300mstransition: opacity 200ms ease-outall animates unintended things
No focus-visible stylefocus-visible:ring-2 ring-offset-2Keyboard users need visible focus
color: gray for disabledopacity: 0.5 + cursor: not-allowedMultiple signals, not just color

Prioritize findings by impact:

  1. Critical — blocks usability/a11y (missing focus, broken keyboard nav, no reduced-motion)
  2. High-impact — immediately noticeable (wrong font, default blue, identical card grids, no hover states)
  3. Quick wins — big polish (tabular-nums, letter-spacing, curly quotes, &nbsp;)

Quick Decision Frameworks

Should This Animate?
FrequencyDecision
High (keyboard, toggles, typing)No animation. Speed is the feature.
Medium (hover, list nav)Minimal — under 150ms or remove
Low (modals, page transitions)Standard — 200-300ms, clear purpose
One-time (onboarding)Can be expressive — tell a story
Motion Budget
ElementBudget
Color/opacity100-150ms
Small UI (tooltips, dropdowns)150-200ms
Medium UI (modals, panels)200-300ms
Large UI (page transitions, drawers)300-400ms

Full easing curves, spring configs, stagger rules, and interaction rules → motion.md.


Reference Files

Tiered by signal. Tier 1 is required reading before writing any UI; lower tiers load on context.

Tier 1 — Always load before writing UI

Two entries, because two is what a build actually loads. This list used to hold seven; build evals showed a passing dashboard opened one of them and a passing landing opened two, while both reached for the surface recipe that was filed a tier below. A required list that nobody reads is not a standard, it is a wish — so the list now names what carries the build, and everything else below states the trigger that pulls it in.

ReferenceWhen to Read
craft-intent.mdCraft Read, DESIGN_VARIANCE, signature bets, product + marketing build patterns. The one reference every full-surface build needs.
The surface reciperecipe-dashboard.md · recipe-landing.md · recipe-auth.md — whichever matches what you are building. Every numeric limit that keeps a surface off template grammar lives here (hero subtext ≤20 words, eyebrow budget, form column width, acceptance bar). Skipping it does not soften those limits, it removes them.
Tier 1b — Load on trigger

Same references as before, same weight when their trigger fires. Only the claim changed: these are conditional, and pretending otherwise made the whole Tier-1 label unreliable — including for the two above.

ReferenceTrigger
brief.md.ui-craft/brief.md exists — then read it first, it anchors every decision and its learned constraints override skill defaults. Absent: run /brief or proceed from Discovery.
tokens.mdThe project has a token system to respect or extend, or you are establishing one. With neither, themes.md gives a production preset in one step.
accessibility.mdAny form, any custom interactive control, any focus or keyboard work. The a11y floor in Core Rules is the minimum; this is the detail.
color.mdChoosing or changing a palette, building dark mode, or auditing accent budget. Not needed to apply a preset.
layout.mdComposing a surface from scratch, or a spacing/hierarchy pass. Not needed when a recipe already prescribes the composition.
inspiration.mdHighest-signal reference in the skill. Read it when the build needs an archetype or a signature detail, and whenever the result feels generic.

What this measured, and what it did not. The evidence is greenfield builds — an empty sandbox with no brief and no tokens, so brief and tokens could not have been read whatever the label said. It shows the label was not causing loads. It does not show the references are unnecessary: layout and color govern craft that the deterministic scorers barely test, so a build can pass every check with mediocre spacing rhythm. Re-measure before trimming anything further, and re-measure on a project that already has a design system.

Tier 2 — Surface-specific (read when building this surface)
ReferenceWhen to Read
spec.mdDurable composition spec at .ui-craft/spec.md — the "what". Written by /shape Step 6, walked by /sddesign. Read after brief.md when a spec exists for the surface being built.
Outcome recipesPromoted to Tier 1 — see Always load. Listed there and not here so the recipe has one home; two descriptions of the same requirement is how one of them goes stale.
themes.md4 named production token presets (Graphite, Porcelain, Carbon, Signal). Load when no token system exists.
dashboard.mdDashboards, metric cards, charts, tables, sidebar, filters.
forms.mdValidation timing, progressive disclosure, multi-step wizards, autosave, optimistic submit.
components.mdComponent anatomy contracts: buttons (padding ratio, icon-side semantics), menus (5-option threshold, scroll affordance), modals (verb labels, ways out), search, content cards, nav bar.
ai-chat.mdStreaming contract, 7-state affordance model for AI surfaces, tool traces, citations, generative UI.
review.mdCritique methodology, Polish Pass, common issues, component craft. Load when reviewing or refining.
finish-bar.md10-pass finishing protocol. Load on /finalize or CRAFT_LEVEL ≥ 8.
loops.mdLoop engine: read→evaluate→fix-one→re-evaluate→stop contract + 3 presets. Load when converging /finalize, /unhappy, or /tokens audit.
principles-catalog.md42 example design principles across 8 product categories. Load during /brief principles workshop branch as conversation seed.
Tier 3 — Foundations (read for the relevant discipline)
ReferenceWhen to Read
typography.mdScale, font choice, readability, weight — scoped per script and role.
motion.mdDecision ladder, duration + easing scales with perceptual grounding, interaction rules, motion-gap audit.
modern-css.mdView Transitions, scroll timelines, container queries, @starting-style.
responsive.mdMobile/tablet/desktop, breakpoints, touch zones.
metadata.mdTitle/description/canonical consistency, deterministic metadata, social cards, noindex on staging, structured data honesty, favicons.
copy.mdVoice/tone matrix, reading level (Flesch ≥70), terminology, inclusive language, errors, empty states, CTAs.
sound.mdWeb Audio, UI sound, appropriateness matrix. Rare — load when explicitly building audio feedback.
Tier 4 — Opt-in (only on explicit request or specific commands)
ReferenceWhen to Read
stack.mdThree.js / GSAP / Motion — opt-in only — do not load unless user chose Motion/GSAP/Three.js in Discovery Step 2.
heuristics.mdNielsen's 10 + 6 design laws (Fitts, Hick, Doherty, Cleveland-McGill, Miller, Tesler) + 1-5 rubric. Load for /heuristic.
personas.md5 persona walkthroughs (first-timer / power / low-bandwidth / screen-reader / one-thumb). Load for /heuristic --persona=<name>.
state-design.mdState lattice — idle / loading / empty / error / partial / conflict / offline. Load for /unhappy.
coverage.mdUX coverage — the parts 12 screen archetypes need to be complete (data table, settings, search, detail view, first-run, billing, pricing, docs, checkout, onboarding, destructive confirm, invite). The completeness axis, not distinction. Load for /harden, or when asked what a screen is missing. Prefer the ux_coverage MCP tool — it returns one archetype instead of all twelve. Generated from mcp/src/coverage-data.mjs; do not edit by hand.
dataviz.mdCleveland-McGill perceptual hierarchy, chart selection matrix, ColorBrewer/Okabe-Ito palettes, Tufte, direct labeling. Load when designing charts.
agents.mdAgent pack overview: design-reviewer + a11y-auditor roles, agent-vs-command guidance, and parallel verify-team usage pattern. Load when setting up or describing the verify team.

© educlopez, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 34 other files (references) in skills/ui-craft of educlopez/ui-craft.

  • SKILL.md
  • references/accessibility.md
  • references/agents.md
  • references/ai-chat.md
  • references/brief.md
  • references/color.md
  • references/components.md
  • references/copy.md
  • references/coverage.md
  • references/craft-intent.md
  • references/dashboard.md
  • references/dataviz.md
  • references/finish-bar.md
  • references/forms.md
  • references/heuristics.md
  • references/inspiration.md
  • references/layout.md
  • references/loops.md
  • references/metadata.md
  • references/modern-css.md
  • … and 15 more

Open the folder on GitHubat commit ceecc8e

Compare with similar skills

UI Craft next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

UI Craft compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
UI Craft this skilleduclopez/ui-craft371—~9.5kAutomated safety check: PassMIT
UI UX Pro Max SkillJason904/ui-skill-lab144—~865Automated safety check: PassMIT
Impeccablebestofjs/bestofjs3.1k27 repos~2.6kAutomated safety check: PassMIT
UI UX Pro Maxsaoudi-h/solar-icons18418 repos~11kAutomated safety check: NotesCustom licence
UI/UX Design System AdvisorGalaxy-Dawn/claude-scholar5.7k1 repos~1.1kAutomated safety check: PassMIT
UI UX Pro MaxOhh-889/skyroc79527 repos~3.6kAutomated safety check: NotesMIT

Similar skills

  • UI UX Pro Max Skill

    Jason904/ui-skill-lab

    A skill your agent uses for UI/UX design intelligence in Codex: planning, building, reviewing, improving, or implementing web/mobile interfaces, landing pages, dashboards, design systems…

    144 GitHub stars~865 tokensUpdated 3 mo ago
    Frontend & DesignAuto-check passed
  • Impeccable

    bestofjs/bestofjs

    A skill your agent uses when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a…

    3.1k GitHub starsUsed in 27 repos~2.6k tokens
    Frontend & DesignAuto-check passed
  • UI UX Pro Max

    saoudi-h/solar-icons

    UI/UX design intelligence for web and mobile. An agent skill from saoudi-h/solar-icons.

    184 GitHub starsUsed in 18 repos~11k tokens
    Frontend & DesignAuto-check: notes
  • UI/UX Design System Advisor

    Galaxy-Dawn/claude-scholar

    Turns a vague UI request into a concrete design system with style, palette, typography and layout guidance from a search script, plus stack-specific implementation advice.

    5.7k GitHub starsUsed in 1 repo~1.1k tokens
    Frontend & DesignAuto-check passed
  • UI UX Pro Max

    Ohh-889/skyroc

    UI/UX design intelligence. An agent skill from Ohh-889/skyroc.

    795 GitHub starsUsed in 27 repos~3.6k tokens
    Frontend & DesignAuto-check: notes
  • Bryl Minimal Design

    bryllim/bryl-minimal-design

    Apply the bryl-minimal design language — a monochrome, typography-driven minimal aesthetic with halftone dot textures, pixel-font display headings, tiny uppercase monospace labels, soft large-radius…

    114 GitHub stars~2.9k tokensUpdated 2 mo ago
    Frontend & DesignAuto-check passed

More from educlopez/ui-craft

All 13 skills in this repo
  • Finalize

    educlopez/ui-craft

    Pre-ship gate — runs detector, verifies brief and tokens, applies the 10-pass finish bar, ranks findings by feedback hierarchy.

    371 GitHub stars~1.9k tokensUpdated 1 mo ago
    Auto-check passed
  • Friction Log

    educlopez/ui-craft

    File contributor or agent papercuts as GitHub issues labeled friction, or investigate those issues as the daily friction-log Cloud Agent.

    371 GitHub stars~1.6k tokensUpdated 1 mo ago
    Auto-check passed
  • Remember

    educlopez/ui-craft

    Record a learned design constraint from a correction into the project brief.

    371 GitHub stars~585 tokensUpdated 1 mo ago
    Auto-check passed
  • Sddesign

    educlopez/ui-craft

    Full spec-driven pipeline — walks brief → tokens → shape (spec) → craft (build) → converge → ship in one guided run.

    371 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Start

    educlopez/ui-craft

    Front door. An agent skill from educlopez/ui-craft.

    371 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • Tokens

    educlopez/ui-craft

    Audit or establish the project's 3-layer token spine. An agent skill from educlopez/ui-craft.

    371 GitHub stars~1.4k tokensUpdated 1 mo ago
    Auto-check passed

Questions about UI Craft

What does UI Craft do?

A skill your agent uses for UI design and implementation work to avoid generic AI-looking interfaces. UI Craft is an agent skill from educlopez/ui-craft. Use for UI design and implementation work to avoid generic AI-looking interfaces.

When should I use UI Craft?

UI Craft fits situations like: UI design and implementation work to avoid generic AI-looking interfaces; editing UI code; reviewing and refining components; responsive behavior.

How do I install UI Craft in Claude Code?

Run `npx skills add educlopez/ui-craft --skill ui-craft -a claude-code`. Or copy the skill folder (skills/ui-craft in educlopez/ui-craft) into .claude/skills/ui-craft in your project. Claude Code loads it when a task matches its description.

How do I install UI Craft in Codex?

Run `npx skills add educlopez/ui-craft --skill ui-craft -a codex`. Or copy the skill folder (skills/ui-craft in educlopez/ui-craft) into .agents/skills/ui-craft in your project. Codex loads it when a task matches its description.

Can I use UI Craft in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add educlopez/ui-craft --skill ui-craft -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ui-craft, .gemini/skills/ui-craft, .github/skills/ui-craft and .opencode/skills/ui-craft in your project.

What does UI Craft need to run?

SKILL.md names no scripts, command-line tools or credentials: UI Craft is instructions for the agent only.

Does UI Craft access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is UI Craft safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does UI Craft use?

UI Craft is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does UI Craft use?

About 9.5k tokens (SKILL.md is roughly 38k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 114k tokens, read only when the agent opens those files.

What are the alternatives to UI Craft?

Skills that share tags, products or a category with UI Craft: UI UX Pro Max Skill (Jason904/ui-skill-lab, 144 stars), Impeccable (bestofjs/bestofjs, 3.1k stars), UI UX Pro Max (saoudi-h/solar-icons, 184 stars) and UI/UX Design System Advisor (Galaxy-Dawn/claude-scholar, 5.7k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains UI Craft?

educlopez (a GitHub user) maintains it in educlopez/ui-craft, which has 371 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on September 3, 2026.

Source: educlopez/ui-craft on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.