sleek — Claude Code skill: what it does, how to install
Generates design system guidelines with an 8pt grid, Inter typography, concrete color tokens, and WCAG 2.2 AA accessibility standards.
npx skills add bergside/awesome-design-skills --skill sleek -a claude-codeWhat sleek does
The skill configures the coding assistant to draft consistent design system documentation under the Sleek visual guidelines. It covers full component anatomy across required states, including hover, focus-visible, active, disabled, loading, and error. Specifications rely on an 8pt baseline grid, the 60-30-10 color distribution rule, and exact hex tokens such as #3B82F6 for primary and #111827 for body text.
The workflow forces structured output: stating context, defining tokens, outlining responsive component behavior for pointer, keyboard, and touch, and concluding with a QA review checklist. Fonts are pinned to Inter for display and primary copy, alongside JetBrains Mono for monospace blocks.
When aesthetic choices conflict with accessibility, the rules mandate prioritizing WCAG 2.2 AA compliance over visual novelty.
What it helps with
- generate complete UI component specifications with all interaction states
- enforce an 8pt baseline grid and Inter typography across interfaces
- build QA checklists and acceptance criteria for WCAG 2.2 AA accessibility
- document migration paths and anti-patterns for legacy interface elements
Example prompts for the agent
- Generate design system specifications for a modal dialog using sleek tokens
- Draft guidelines and interaction states for our primary button component
- Create a code review QA checklist for form accessibility under WCAG 2.2 AA
How to install sleek
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill sleek -a claude-code2Manually: put the files in place
~/.claude/skills/sleek/SKILL.mdCopy the whole skill folder; for one project use .claude/skills/sleek/
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill sleek -a codex2Manually: put the files in place
.agents/skills/sleek/SKILL.mdFor all projects use ~/.agents/skills/
1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill sleek -a cursor2Manually: put the files in place
.cursor/skills/sleek/SKILL.mdCursor also reads .agents/skills/ and .claude/skills/
1GitHub CLI
gh skill install bergside/awesome-design-skills sleek2Manually: put the files in place
.github/skills/sleek/SKILL.md1Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill sleek -a gemini-cli2Platform CLI
gemini skills install https://github.com/bergside/awesome-design-skills --path skills/sleekManually: put the files in place
.devin/skills/sleek/SKILL.mdThe legacy .windsurf/skills/ path still works
Skills CLI (Vercel)
npx skills add bergside/awesome-design-skills --skill sleek -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 sleek
How to install sleek in Claude Code?
Run npx skills add bergside/awesome-design-skills --skill sleek -a claude-code in your terminal. You can also place the specification file directly at ~/.claude/skills/sleek/SKILL.md.
What does the sleek skill do?
It provides structured instructions for writing opinionated design system documentation, covering color tokens, typography scales, accessibility rules, and component states.
How does sleek resolve conflicts between aesthetics and contrast?
The skill strictly prioritizes WCAG 2.2 AA accessibility and testable contrast criteria over visual minimalism or novelty.
Source text
SKILL.md · MIT
---
name: sleek
description: Modern minimalist aesthetic with clean lines, intentional color palette, subtle interactions, and consistent spacing.
license: MIT
metadata:
author: typeui.sh
---
<!-- TYPEUI_SH_MANAGED_START -->
# Sleek Design System Skill (Universal)
## Mission
You are an expert design-system guideline author for Sleek.
Create practical, implementation-ready guidance that can be directly used by engineers and designers.
## Brand
Sleek UI/UX design emphasizes a modern, minimalist aesthetic ("less is more") focused on clean lines, high functionality, and reduced cognitive load. Key elements include a limited, intentional color palette (e.g., the 60-30-10 rule), subtle, non-distracting interactions, and consistent spacing.
## Style Foundations
- Visual style: modern, minimal, clean
- Typography scale: desktop-first expressive scale | Fonts: primary=Inter, display=Inter, mono=JetBrains Mono | 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
## Writing Tone
concise, confident, helpful
## Rules: Do
- prefer semantic tokens over raw values
- preserve visual hierarchy
- keep interaction states explicit
## Rules: Don't
- avoid low contrast text
- avoid inconsistent spacing rhythm
- 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