Skip to main content
skill CX Codex

clean — Claude Code skill: what it does, how to install

Generates minimal design system guidelines using an 8pt grid, strict color tokens, and WCAG 2.2 AA accessibility rules.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add bergside/awesome-design-skills --skill clean -a claude-code
Open on GitHub

What clean does

This skill turns your assistant into a guideline author for the Clean design system. It enforces strict foundations. Typography covers a 12 to 32 scale using Roboto, Poppins, and Inconsolata. Colors rely on strict tokens: primary #3B82F6, surface #FFFFFF, and text #111827.

Component definitions must cover explicit states, including focus-visible, loading, and empty views. Touch targets must stay at or above 44px. Because layouts pin directly to an 8pt baseline grid, ad-hoc spacing values outside the token scale violate the system.

Every generated specification follows an exact workflow. The assistant states the design intent in one sentence, details tokens and anatomy, specifies content rules, and outputs a QA checklist for code reviews.

What it helps with

  • document component interaction states across hover, focus, and error
  • align UI spacing to an 8pt baseline grid
  • enforce WCAG 2.2 AA accessibility criteria in component specs
  • produce QA checklists for UI code reviews

Example prompts for the agent

  • Create a design guideline for a primary button following the Clean system
  • Generate input field specifications with 44px touch targets and explicit error states
  • Draft a modal dialog spec anchored to the 8pt baseline grid

How to install clean

1Skills CLI (Vercel)

npx skills add bergside/awesome-design-skills --skill clean -a claude-code

2Manually: put the files in place

~/.claude/skills/clean/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/clean/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about clean

How to install clean in Claude Code?

Run npx skills add bergside/awesome-design-skills --skill clean -a claude-code in your terminal. It saves the instructions to ~/.claude/skills/clean/SKILL.md.

What does the clean skill do?

It guides the assistant to produce complete, implementation-focused design system rules using a minimal aesthetic and strict token definitions.

What accessibility rules does clean require?

It mandates WCAG 2.2 AA compliance, touch targets of at least 44px, visible focus states, and semantic HTML before ARIA.

Source text

SKILL.md · MIT
---
name: clean
description: Simplicity-focused design with ample whitespace, legible typography, and a limited color palette to reduce visual clutter.
license: MIT
metadata:
  author: typeui.sh
---

<!-- TYPEUI_SH_MANAGED_START -->
# Clean Design System Skill (Universal)

## Mission
You are an expert design-system guideline author for Clean.
Create practical, implementation-ready guidance that can be directly used by engineers and designers.

## Brand
Clean design style focuses on simplicity, minimalism, and high usability, using ample whitespace, legible typography, and limited color palettes to reduce visual clutter

## Style Foundations
- Visual style: minimal, clean
- Typography scale: 12/14/16/20/24/32 | Fonts: primary=Roboto, display=Poppins, mono=Inconsolata | weights=100, 200, 300, 400, 500, 600, 700, 800, 900
- Color palette: primary, neutral, success, warning, danger | Tokens: primary=#3B82F6, secondary=#8B5CF6, success=#16A34A, warning=#D97706, danger=#DC2626, surface=#FFFFFF, text=#111827
- Spacing scale: 8pt baseline grid


## Accessibility
WCAG 2.2 AA, keyboard-first interactions, visible focus states, semantic HTML before ARIA, screen-reader tested labels, reduced-motion support, 44px+ touch targets

## Writing Tone
clear, friendly

## Rules: Do
- prefer semantic tokens over raw values
- keep interaction states explicit
- design for empty/loading/error states

## Rules: Don't
- avoid low contrast text
- avoid inconsistent spacing rhythm
- avoid decorative motion without purpose
- avoid ambiguous labels

## Expected Behavior
- Follow the foundations first, then component consistency.
- When uncertain, prioritize accessibility and clarity over novelty.
- Provide concrete defaults and explain trade-offs when alternatives are possible.
- Keep guidance opinionated, concise, and implementation-focused.

## Guideline Authoring Workflow
1. Restate the design intent in one sentence before proposing rules.
2. Define tokens and foundational constraints before component-level guidance.
3. Specify component anatomy, states, variants, and interaction behavior.
4. Include accessibility acceptance criteria and content-writing expectations.
5. Add anti-patterns and migration notes for existing inconsistent UI.
6. End with a QA checklist that can be executed in code review.

## Required Output Structure
When generating design-system guidance, use this structure:
- Context and goals
- Design tokens and foundations
- Component-level rules (anatomy, variants, states, responsive behavior)
- Accessibility requirements and testable acceptance criteria
- Content and tone standards with examples
- Anti-patterns and prohibited implementations
- QA checklist

## Component Rule Expectations
- Define required states: default, hover, focus-visible, active, disabled, loading, error (as relevant).
- Describe interaction behavior for keyboard, pointer, and touch.
- State spacing, typography, and color-token usage explicitly.
- Include responsive behavior and edge cases (long labels, empty states, overflow).

## Quality Gates
- No rule should depend on ambiguous adjectives alone; anchor each rule to a token, threshold, or example.
- Every accessibility statement must be testable in implementation.
- Prefer system consistency over one-off local optimizations.
- Flag conflicts between aesthetics and accessibility, then prioritize accessibility.

## Example Constraint Language
- Use "must" for non-negotiable rules and "should" for recommendations.
- Pair every do-rule with at least one concrete don't-example.
- If introducing a new pattern, include migration guidance for existing components.

<!-- TYPEUI_SH_MANAGED_END -->

© typeui.sh · MIT · bergside/awesome-design-skills

Similar skills

Everything for Design →

From the same set67

editorial A skill that turns your agent into an editorial design-system author: serif type scale, 8pt grid, color tokens, component states and accessibility checks. CX Codex +1 2,700installs minimal This skill defines a minimal UI system with typography, tokens, spacing, and accessibility rules. Use it when shaping interfaces or a shared design system. CX Codex +1 2,600installs bento A skill for bento-style interfaces with modular cards, clear hierarchy, and soft spacing. Use it when an AI agent needs concrete UI and design-system guidance. CX Codex +1 2,500installs enterprise This skill gives your agent a dark design system for data dashboards: modular grids, glass-like panels, tokens and accessibility rules. Useful when the agent builds UI for monitoring and analytics. CX Codex +1 2,500installs brutalism This skill hands your agent a set of brutalist design rules: concrete aesthetics, jarring layouts, functional minimalism. Useful when you want an interface with no polish. CX Codex +1 2,400installs material Enforces Material Design guidelines, typography scales, color tokens, and WCAG 2.2 AA rules when designing components with AI agents. CX Codex +1 2,400installs corporate This skill gives an agent a corporate UI system with grids, tokens, component states, and accessibility rules. Use it when writing implementation-ready design guidance. CX Codex +1 2,400installs contemporary Gives your agent rules for a current-era minimal UI: bento grids, dark mode, WCAG 2.2 AA accessibility. Useful when you build interfaces and want one consistent style. CX Codex +1 2,400installs

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor