agentleFS
DROOdotFOODROOdotFOO/agent-skills/skills/design-ux/SKILL.md

design-ux

Skill1 starsChanged 3 months agoMITView on GitHub

UI/UX design patterns and design system architecture. TRIGGER when: working on component design, layout/grid decisions, design tokens, color palettes, typography, accessibility (WCAG), responsive design, TUI aesthetics, or creating DESIGN.md documentation. Covers React, Tailwind CSS, terminal UI, and mobile patterns with a monospace-first, constraint-based design philosophy. DO NOT TRIGGER when: writing React/TypeScript code logic (use droo-stack skill), building Raxol TUI framework features (use raxol skill), working with CSS-in-JS runtime concerns (this skill covers design decisions, not runtime), designing API/module/public-surface interfaces (use interface-designer skill), auditing an already-built page for AI-generated tells before shipping (use frontend-slop-audit skill), or hands-on building, redesigning, or polishing a web interface when the impeccable skill is installed (use impeccable skill).

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Semantic over literal: Use token names (text-foreground, bg-surface), never raw values in components

    line 102
  2. Very specific:

    Constraint-based sizing: Prefer min/max/fit-content over fixed pixel widths

    line 104

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “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

design-ux

Constraint-based design. Monospace-first. Every pixel earns its place. Zero layout shift. The terminal is the design system's origin; web and mobile are projections from it.

Design decisions flow from constraints, not decoration. Start from the character grid, add only what communicates. If a visual element does not serve information hierarchy, remove it.

What You Get

  • Design token systems and theming architecture
  • Component composition patterns (React, TUI, mobile)
  • Typography, color, and spacing decisions with constraint rationale
  • Accessibility audit checklist (WCAG AA)
  • Motion primitives, scroll choreography, and reduced-motion contracts
  • Terminal-first design principles for monospace layouts

When to Use

  • Component architecture and composition patterns
  • Design token systems and theming
  • Typography, color, and spacing decisions
  • Accessibility and WCAG compliance
  • Motion, scroll animation, and reduced-motion behavior
  • Choosing a design system foundation vs. building on tokens
  • Layout and grid systems
  • Terminal UI design principles
  • Mobile/responsive design
  • Design documentation (DESIGN.md)

When NOT to Use

  • Code-level patterns (TypeScript, React hooks, error handling) -- use droo-stack
  • Hands-on web UI build, redesign, or polish (critique, typeset, layout, colorize, polish passes) -- use impeccable when installed (npx impeccable install); this skill still owns token architecture, the monospace/TUI side, and mobile patterns
  • Raxol framework API (TEA agents, headless sessions, MCP tools) -- use raxol
  • Claude/Anthropic SDK integration -- use claude-api
  • Solidity/smart contract design -- use solidity-auditor

Reading Guide

Working onRead
Design philosophy, constraint-based thinkingshared/principles.md
Accessibility, WCAG, keyboard, screen readersshared/accessibility.md
Design token systems, dark/light modeshared/design-tokens.md
React component architecture, compositionweb/react-components.md
Tailwind utility patterns, DROO-flavored configweb/tailwind-patterns.md
Grid, spacing, responsive breakpointsweb/layout-grid.md
Type scale, font stacks, vertical rhythmweb/typography.md
Color palettes, semantic tokens, contrastweb/color-systems.md
Scroll animation, motion primitives, choreographyweb/motion.md
Choosing a design system vs. rolling your ownweb/design-system-selection.md
Terminal UI layout, box-drawing, constraintsterminal/tui-layout.md
Monospace design language, density, ASCIIterminal/terminal-aesthetic.md
Mobile/responsive/touch, native patternsmobile/responsive-native.md
"Design It Twice" agent methodologyprocess/design-twice.md
DESIGN.md template, living documentationprocess/design-docs.md

See also

  • frontend-slop-audit -- for auditing an already-built page against AI-generated tells
  • droo-stack -- for code-level patterns (TypeScript, React hooks, error handling)
  • raxol -- for Raxol TUI framework API (TEA agents, headless sessions)
  • ethskills -- for Ethereum/dApp ecosystem tooling

Common Pitfalls

MistakeWhy It FailsBetter Approach
Fixed-width containersBreaks responsive design and terminal scalingUse min/max/fit-content constraints
Raw hex colors in componentsBreaks theming, dark mode fails silentlyUse semantic tokens (text-foreground, bg-surface)
Decorative visual elementsNoise, obscures info hierarchyRemove if it doesn't communicate or differentiate
Color-only differentiationExcludes colorblind users (WCAG fail)Combine color with icon, shape, or text label
Keyboard-inaccessible componentsExcludes keyboard-only users (WCAG AA fail)Test all interactive components with Tab key
Giant component with boolean propsUnmaintainable, untestable API surfaceCompose small focused components
Pixel-perfect layoutsFragile across viewports and font sizesConstraint-based sizing from content
Scroll position in React stateRe-renders every frame, collapses on mobileMotion values, IntersectionObserver, or CSS timelines
Hand-rolling an official systemDrifts on upgrade, inherits none of its a11yInstall the real package, theme its documented surface

Key Conventions

  • Terminal is origin: Design for the character grid first, then project to pixel-based media
  • Semantic over literal: Use token names (text-foreground, bg-surface), never raw values in components
  • Composition over configuration: Small, composable components beat mega-components with boolean props
  • Constraint-based sizing: Prefer min/max/fit-content over fixed pixel widths
  • Monospace default: Sans-serif is the exception, not the rule

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.