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.
npx skills add bergside/awesome-design-skills --skill clean -a claude-codeWhat 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-code2Manually: put the files in place
~/.claude/skills/clean/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/clean/
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill clean -a codex2Manually: put the files in place
.agents/skills/clean/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill clean -a cursor2Manually: put the files in place
.cursor/skills/clean/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install bergside/awesome-design-skills clean2Manually: put the files in place
.github/skills/clean/SKILL.md1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill clean -a gemini-cli2Platform CLI
gemini skills install https://github.com/bergside/awesome-design-skills --path skills/cleanManually: put the files in place
.devin/skills/clean/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill clean -a opencodeClaude.ai
Zip the folder and upload it in Settings → Capabilities → Skills
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