agentleFS
justinzapantajustinzapanta/claude-reliable-kit/skills/ui-design/SKILL.md

ui-design

Skill1 starsChanged 7 days agoMITView on GitHub

Designs, builds, and checks UI. Use when making or reviewing a page, component, form, or theme.

78 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use harness-design, icon-design and 10 more.

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

    harness-design

    Use when designing or improving the action space, observation format, tool boundaries, and evaluation signals of an LLM agent. Covers the five layers of harness design: what tools the agent has, what it sees after acting, how each tool is scoped, how behavior is evaluated, and how to iterate when the agent misbehaves. Prevents the most common harness failures — agents that pick wrong tools, ignore critical information, or loop without progress.

    Also in 4 projects that use this

  • ArnavPuriSkill

    icon-design

    Design and implement consistent SVG icon systems for UI: keyline grids, stroke rules, optical corrections, outline/filled/duotone styles, icon+text alignment, animation, and accessible markup. Use for UI icons in code; for a logo mark use brand-identity, for illustrations use image-generation. Trigger phrases: "icon design", "svg icon", "icon system", "custom icons", "icon animation", "icon grid", "icon accessibility", "duotone icon", "icon set", "animated icon"

    Also in 3 projects that use this

  • travisjneumanSkill

    graphic-design

    Professional graphic design principles for digital and print media. Use when creating visual designs, choosing color palettes, typography, layouts, or providing design feedback.

    Also in 3 projects that use this

  • soilmassSkill

    typography

    Typography and kinetic text animations including character reveals, typewriter effects, scramble/decode, wave motion, and animated gradients. Use when creating text reveals, headline animations, number counters, or any text-based motion effects.

    Also in 3 projects that use this

  • MicrosoftSkill

    typescript

    TypeScript best practices for this monorepo. Use this skill when: (1) writing new TypeScript code, (2) reviewing TypeScript code, (3) working with API responses, fetch calls, or JSON parsing, (4) adding or modifying types and interfaces.

    Also in 6 projects that use this

  • jarosser06Skill

    test-strategy

    Plans pytest test strategies for Drift's 90%+ coverage requirement using coverage analysis, edge case identification, and test suite design. Use when determining what tests to write, analyzing coverage gaps, or planning test strategies.

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 3 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 66 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Add one subject twist from the world to the signature element.

    line 20
  2. Distinctive:

    If you can render: screenshots at 375, 768, 1280.

    line 37
  3. Distinctive:

    Stop after 3 fix rounds and report what is still open.

    line 41

“Common” is measured: kept by at least 6 in 10 of the 66 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

UI Design and Engineering

Design for this project, never a house style: read its world, pick what fits, make it its own, engineer it properly, and prove it. Helper: python ${CLAUDE_SKILL_DIR}/scripts/design.py (stdlib, short output; run it, don't read it). References, read when needed: taste, craft (numbers, critique), engineering (components, ARIA, CSS, performance).

1. Context first

  • design.py tokens: if the project has a design system, extend it; reuse its components (lean-navigation finds them). Never start a second palette.
  • python ${CLAUDE_SKILL_DIR}/../task-ledger/scripts/memory.py recall --file <style or component path>: a saved design code or brand decision wins.
  • The brief, brand, or screenshot beats taste. Unclear audience on a big build: ask-smart.

2. Direction for this project (new project or redesign)

  1. Name the project's world (3 concrete things from its subject), people (who, how often, where), and promise (the feeling after use).
  2. design.py direction "<world, people, promise>" --dir . (add --brand <hex> if there is a brand color). It ranks fitting directions and generates a design unique to this project: contrast-checked light and dark palettes, fonts, type ratio, radius, layout, signature, and what to avoid. Choose among the top fits by people and promise, not the industry word alone; blend two at most.
  3. Add one subject twist from the world to the signature element. Ask: would this page still look right with a competitor's logo? If yes, push the twist.
  4. Apply it: design.py direction ... --css gives tokens to paste into the token file. Save the design code: memory.py add decision "Design: <code>, <fonts>" --files <token file>. Later screens reuse it.

3. Build the feature like a design engineer

  • design.py pattern <feature> (form, table, dashboard, search, checkout, settings, auth, modal, navigation, landing, and more) gives what the feature must include, its states, and its mistakes. Cover every line or say why it does not apply.
  • Choose each component for the job, not by habit: design.py choose "<what the user must do>" (pick one of 4, delete a project, edit a row in context, show 2,000 invoices). Give a one-line reason for each non-obvious choice: "radio, not select: 3 options worth comparing".
  • Tokens only (no raw hex or px outside the token file); themes swap variables, set before first paint.
  • Components: fixed variants and sizes, native elements (<button>, <a href>, <dialog>, labelled inputs), every state: hover, focus-visible, active, disabled, loading, empty, error, long text. Custom widgets follow the ARIA pattern.
  • Hierarchy from size, weight, and space before color. Body 16px, lines 60-75 characters, targets 24px minimum (44px touch).
  • Motion: transform and opacity, ease-out, 150-300ms, reduced-motion fallback. Mobile first: no horizontal scroll at 320px.
  • Copy: specific, sentence case, buttons say verb plus object. No filler or invented numbers.
  • Unless the brief asks: no purple gradients, gradient text, emoji icons, identical icon-card grids, eyebrows everywhere, cards in cards.

4. Verify before saying done

  1. design.py audit --changed (or paths). Fix every ERROR; fix each warning or say why it stays. Never edit the checker or a token to hide a finding.
  2. If you can render: screenshots at 375, 768, 1280; no horizontal scroll; Tab through every control and overlay; dark mode.
  3. Re-check the pattern list and remove one thing that does not earn its place.
  4. Multi-part work: python ${CLAUDE_SKILL_DIR}/../task-ledger/scripts/ledger.py fact "design audit clean" --run "python ${CLAUDE_SKILL_DIR}/scripts/design.py audit --strict --changed" --proves all (task-ledger).

Stop after 3 fix rounds and report what is still open.

Reviewing a design

Order: first impression, whether the main task is easy, fit to this project's people, hierarchy, consistency, accessibility, code health. Open with what works. Tag findings Blocker, High, Medium, or Nit, with evidence: measured (script or screenshot), judged, or needs a human. Top 3 fixes as Before | After | Why. Diffs: pair with review-changes.

Report

Lead with the checks (audit result, widths rendered or "not rendered", keyboard pass), then the design code and why it fits, the twist, the component choices with their reasons, and what changed. Never call a UI accessible or responsive unless a check showed it.

Download now (ZIP)

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.