Agent skill

UI Design Fundamentals

by aaddrick in aaddrick/claude-pipeline

A skill your agent uses when designing UI components, reviewing frontend code, choosing colors, spacing, typography, or layout.

MITAuto-check passedFrontend & Design

Install UI Design Fundamentals

skills CLI
$ npx skills add aaddrick/claude-pipeline --skill ui-design-fundamentals -a claude-code

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

GitHub CLI
$ gh skill install aaddrick/claude-pipeline ui-design-fundamentals --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/aaddrick/claude-pipeline.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/ui-design-fundamentals .claude/skills/ui-design-fundamentals && 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-design-fundamentals
GitHub stars
130
Token cost
~1k tokens
SKILL.md length
400 words
Files
14
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

A skill your agent uses when designing UI components, reviewing frontend code, choosing colors, spacing, typography, or layout.

  • Works in 6 steps: The 8-Point Grid → Visual Hierarchy → Consistency → …
  • Designing UI components
  • SKILL.md covers Overview, Core Principles, Quick Reference Tables and Reference Files, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

UI Design Fundamentals is an agent skill from aaddrick/claude-pipeline. Use when designing UI components, reviewing frontend code, choosing colors, spacing, typography, or layout. Use when CSS looks off, components feel unbalanced, or accessibility is unclear.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 13 other files (for example `buttons.md`, `cards.md` and `colors.md`).

It sits in Frontend & Design, covering UI design, Accessibility and Typography. The repository describes itself as: Portable Claude Code multi-agent pipeline - skills, agents, hooks, orchestration scripts, and quality gates. The licence is MIT.

When your agent uses it

  • Designing UI components
  • Reviewing frontend code
  • Choosing colors
  • Components feel unbalanced

Example prompts

  • “/ui-design-fundamentals”

Workflow steps

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

  1. The 8-Point Grid
  2. Visual Hierarchy
  3. Consistency
  4. Accessibility First
  5. Mobile First
  6. Grayscale First

What it can do on your machine

Read from SKILL.md and the folder at commit 402eac7. 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 Design Fundamentals loads about 1k tokens when it runs. Until then it costs about 53 tokens; SKILL.md has 400 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~53
When it runs · the whole SKILL.md, loaded when a task matches
~1k

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 aaddrick/claude-pipeline at commit 402eac7, republished under its MIT licence (© aaddrick). 400 words, ~1,012 tokens.

Download SKILL.mdSave it as .claude/skills/ui-design-fundamentals/SKILL.md (or your agent's skills folder). This skill also uses 13 other files; get the full folder from GitHub.
name
ui-design-fundamentals
description
Use when designing UI components, reviewing frontend code, choosing colors, spacing, typography, or layout. Use when CSS looks off, components feel unbalanced, or accessibility is unclear.

UI Design Fundamentals

Overview

Reference guide for designing effective, accessible user interfaces. Core principle: Less is more - every element should serve a purpose.

Core Principles

1. The 8-Point Grid

All spacing, margins, and dimensions use multiples of 8px. Use 4px for fine control.

2. Visual Hierarchy

Guide attention through size, weight, color, and spacing. Most important = largest/boldest.

3. Consistency

Same patterns throughout. Create style guide first, then components.

4. Accessibility First
  • Minimum 4.5:1 contrast for text
  • 44px minimum tap targets (48px preferred)
  • Never rely on color alone
5. Mobile First

Design smallest screen first. Easier to scale up than down.

6. Grayscale First

Focus on layout and hierarchy before adding color.

Quick Reference Tables

Spacing Scale (8pt grid)
ValueUse
8pxTight gaps, icons
16pxStandard padding
24pxRelated groups
32pxCard padding
48pxSection gaps
64-96pxMajor sections
Contrast Requirements (WCAG)
ElementMinimum
Small text4.5:1
Large text (>24px)3:1
UI components3:1
AAA (ideal)7:1
Tap Targets
PlatformMinimum
iOS44x44px
Android48x48px
Desktop32-40px height
Frame Sizes
PlatformSize
iOS375x812
Android360x800
Desktop1440x1024
Large desktop1920x1024

Reference Files

Detailed guidance by topic:

FileTopics
grid-and-spacing.md8pt grid, layouts, margins, gutters, box model, alignment
typography.mdType scales, font weights, line heights, hierarchy
colors.mdColor theory, WCAG contrast, psychology, tints/shades, dark mode
shadows-and-depth.mdElevation, shadow techniques, gradients
buttons.mdAnatomy, states, hierarchy, icons, placement
forms.mdLabels, validation, input types, multi-step, accessibility
navigation.mdNav bars, sticky headers, mobile tab bars, breadcrumbs
hero-sections.mdAbove the fold, CTAs, social proof, F/Z patterns
cards.mdAnatomy, spacing, types, consistency
modals-and-dropdowns.mdModal windows, dialogs, dropdown patterns
search.mdSearch inputs, autocomplete, recent searches, no-results
pricing.mdPricing sections, psychology, conversion optimization
style-guides.mdComponent libraries, design systems, documentation
Show full SKILL.md (119 more words)Show less

Common Mistakes

MistakeFix
Random spacingUse 8px grid
Low contrastMin 4.5:1, use A11y plugin
Tiny tap targets44px minimum
Too many elementsRemove until it breaks
Inconsistent stylesStyle guide first
Pure black/whiteTint with primary color

Design Process

  1. Research - User flows, personas, inspiration
  2. Grayscale wireframe - Layout and hierarchy only
  3. Mobile first - Start with smallest screen
  4. Add color - Apply palette after structure is solid
  5. Test contrast - Verify accessibility
  6. Iterate - Refine based on feedback
  • bulletproof-frontend — CSS implementation: architecture patterns, BEM naming, accessibility code, responsive CSS, Blade components, Tailwind refactoring

Resources

  • iOS: Human Interface Guidelines (developer.apple.com)
  • Android/Web: Material Design 3 (m3.material.io)
  • Inspiration: mobbin.com, land-book.com, refero.design
  • Plugins: A11y Contrast Checker, Beautiful Shadows

© aaddrick, 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 13 other files in .claude/skills/ui-design-fundamentals of aaddrick/claude-pipeline.

  • SKILL.md
  • buttons.md
  • cards.md
  • colors.md
  • forms.md
  • grid-and-spacing.md
  • hero-sections.md
  • modals-and-dropdowns.md
  • navigation.md
  • pricing.md
  • search.md
  • shadows-and-depth.md
  • style-guides.md
  • typography.md

Open the folder on GitHubat commit 402eac7

Compare with similar skills

UI Design Fundamentals 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 Design Fundamentals compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
UI Design Fundamentals this skillaaddrick/claude-pipeline130—~1kAutomated safety check: PassMIT
Baseline UIibelick/ui-skills9.6k8 repos~855Automated safety check: PassMIT
UI/UX Design System AdvisorGalaxy-Dawn/claude-scholar5.7k1 repos~1.1kAutomated safety check: PassMIT
Typeui Fundamentalsbergside/typeui2k—~861Automated safety check: PassMIT
UI UX Pro MaxOhh-889/skyroc79526 repos~3.6kAutomated safety check: NotesMIT
UI UX Pro MaxOhh-889/skyroc7956 repos~14kAutomated safety check: PassMIT

Similar skills

  • Baseline UI

    ibelick/ui-skills

    Applies a fixed set of UI rules for stack, components, interaction, animation, typography and layout, or reviews a file against them with concrete fixes.

    9.6k GitHub starsUsed in 8 repos~855 tokens
    Frontend & DesignAuto-check passed
  • 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
  • Typeui Fundamentals

    bergside/typeui

    Universal UI/UX design principles covering visual hierarchy, interaction laws, typography foundations, and WCAG accessibility requirements.

    2k GitHub stars~861 tokensUpdated 3 mo ago
    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 26 repos~3.6k tokens
    Frontend & DesignAuto-check: notes
  • UI UX Pro Max

    Ohh-889/skyroc

    UI/UX design intelligence for web, mobile, and desktop. An agent skill from Ohh-889/skyroc.

    795 GitHub starsUsed in 6 repos~14k tokens
    Frontend & DesignAuto-check passed
  • UI UX Pro Max

    selmakcby/claude-agents-skills

    UI/UX design intelligence for web and mobile. An agent skill from selmakcby/claude-agents-skills.

    136 GitHub stars~777 tokensUpdated 5 mo ago
    Frontend & DesignAuto-check passed

More from aaddrick/claude-pipeline

All 12 skills in this repo
  • Writing Agents

    aaddrick/claude-pipeline

    A skill your agent uses when creating new agents, editing existing agents, or defining specialized subagent roles for the Task tool

    130 GitHub starsUsed in 1 repo~3.3k tokens
    Auto-check passed
  • Adapting Claude Pipeline

    aaddrick/claude-pipeline

    A skill your agent uses when adapting the generic .claude pipeline folder to a specific codebase - adjusting skills, agents, hooks, scripts, prompts, and settings for the target project's tech stack…

    130 GitHub stars~2.8k tokensUpdated 7 mo ago
    Auto-check passed
  • A skill your agent uses when asked to create user stories from a codebase, document existing features as stories, or reverse-engineer requirements from code

    130 GitHub stars~2.2k tokensUpdated 7 mo ago
    Auto-check passed
  • Review UI

    aaddrick/claude-pipeline

    Comprehensive UI/CSS review using parallel agents. An agent skill from aaddrick/claude-pipeline.

    130 GitHub stars~2.5k tokensUpdated 7 mo ago
    Auto-check passed
  • Using Git Worktrees

    aaddrick/claude-pipeline

    A skill your agent uses when starting feature work that needs isolation from current workspace or before executing implementation plans - creates isolated git worktrees in .worktrees/

    130 GitHub stars~1.3k tokensUpdated 7 mo ago
    Auto-check passed
  • Implement Issue

    aaddrick/claude-pipeline

    A skill your agent uses when given a GitHub issue number and base branch to implement end-to-end

    130 GitHub starsUsed in 1 repo~889 tokens
    Auto-check passed

Questions about UI Design Fundamentals

What does UI Design Fundamentals do?

A skill your agent uses when designing UI components, reviewing frontend code, choosing colors, spacing, typography, or layout. UI Design Fundamentals is an agent skill from aaddrick/claude-pipeline. Use when designing UI components, reviewing frontend code, choosing colors, spacing, typography, or layout.

When should I use UI Design Fundamentals?

UI Design Fundamentals fits situations like: designing UI components; reviewing frontend code; choosing colors; components feel unbalanced.

How do I install UI Design Fundamentals in Claude Code?

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

How do I install UI Design Fundamentals in Codex?

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

Can I use UI Design Fundamentals 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 aaddrick/claude-pipeline --skill ui-design-fundamentals -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-design-fundamentals, .gemini/skills/ui-design-fundamentals, .github/skills/ui-design-fundamentals and .opencode/skills/ui-design-fundamentals in your project.

What does UI Design Fundamentals need to run?

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

Does UI Design Fundamentals 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 Design Fundamentals 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 Design Fundamentals use?

UI Design Fundamentals 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 Design Fundamentals use?

About 1k tokens (SKILL.md is roughly 4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to UI Design Fundamentals?

Skills that share tags, products or a category with UI Design Fundamentals: Baseline UI (ibelick/ui-skills, 9.6k stars), UI/UX Design System Advisor (Galaxy-Dawn/claude-scholar, 5.7k stars), Typeui Fundamentals (bergside/typeui, 2k stars) and UI UX Pro Max (Ohh-889/skyroc, 795 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains UI Design Fundamentals?

aaddrick (a GitHub user) maintains it in aaddrick/claude-pipeline, which has 130 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on February 25, 2026.

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