README.md

  1# Impeccable
  2
  3The vocabulary you didn't know you needed. 1 skill, 18 commands, and curated anti-patterns for impeccable frontend design.
  4
  5> **Quick start:** Visit [impeccable.style](https://impeccable.style) to download ready-to-use bundles.
  6
  7## Why Impeccable?
  8
  9Anthropic created [frontend-design](https://github.com/anthropics/skills/tree/main/skills/frontend-design), a skill that guides Claude toward better UI design. Impeccable builds on that foundation with deeper expertise and more control.
 10
 11Every LLM learned from the same generic templates. Without guidance, you get the same predictable mistakes: Inter font, purple gradients, cards nested in cards, gray text on colored backgrounds.
 12
 13Impeccable fights that bias with:
 14- **An expanded skill** with 7 domain-specific reference files ([view source](source/skills/impeccable/))
 15- **18 steering commands** to audit, review, polish, distill, animate, and more
 16- **Curated anti-patterns** that explicitly tell the AI what NOT to do
 17
 18## What's Included
 19
 20### The Skill: impeccable
 21
 22A comprehensive design skill with 7 domain-specific references ([view skill](source/skills/impeccable/SKILL.md)):
 23
 24| Reference | Covers |
 25|-----------|--------|
 26| [typography](source/skills/impeccable/reference/typography.md) | Type systems, font pairing, modular scales, OpenType |
 27| [color-and-contrast](source/skills/impeccable/reference/color-and-contrast.md) | OKLCH, tinted neutrals, dark mode, accessibility |
 28| [spatial-design](source/skills/impeccable/reference/spatial-design.md) | Spacing systems, grids, visual hierarchy |
 29| [motion-design](source/skills/impeccable/reference/motion-design.md) | Easing curves, staggering, reduced motion |
 30| [interaction-design](source/skills/impeccable/reference/interaction-design.md) | Forms, focus states, loading patterns |
 31| [responsive-design](source/skills/impeccable/reference/responsive-design.md) | Mobile-first, fluid design, container queries |
 32| [ux-writing](source/skills/impeccable/reference/ux-writing.md) | Button labels, error messages, empty states |
 33
 34### 18 Commands
 35
 36| Command | What it does |
 37|---------|--------------|
 38| `/impeccable teach` | One-time setup: gather design context, save to config |
 39| `/impeccable craft` | Full shape-then-build flow with visual iteration |
 40| `/impeccable extract` | Pull reusable components and tokens into the design system |
 41| `/audit` | Run technical quality checks (a11y, performance, responsive) |
 42| `/critique` | UX design review: hierarchy, clarity, emotional resonance |
 43| `/polish` | Final pass, design system alignment, and shipping readiness |
 44| `/distill` | Strip to essence |
 45| `/clarify` | Improve unclear UX copy |
 46| `/optimize` | Performance improvements |
 47| `/harden` | Error handling, onboarding, i18n, edge cases |
 48| `/animate` | Add purposeful motion |
 49| `/colorize` | Introduce strategic color |
 50| `/bolder` | Amplify boring designs |
 51| `/quieter` | Tone down overly bold designs |
 52| `/delight` | Add moments of joy |
 53| `/adapt` | Adapt for different devices |
 54| `/typeset` | Fix font choices, hierarchy, sizing |
 55| `/layout` | Fix layout, spacing, visual rhythm |
 56| `/overdrive` | Add technically extraordinary effects |
 57
 58#### Usage Examples
 59
 60**`/audit`** - Run quality checks, get a report (no edits)
 61```
 62/audit blog              # Audit blog hub + post pages
 63/audit dashboard         # Check dashboard components
 64/audit checkout flow     # Focus on checkout UX
 65```
 66*When to use:* Before making changes, to understand what needs fixing.
 67
 68**`/normalize`** - Align with design system
 69```
 70/normalize blog          # Apply design tokens, fix spacing
 71/normalize buttons       # Standardize button styles
 72```
 73*When to use:* After audit, to fix inconsistencies.
 74
 75**`/critique`** - UX design review
 76```
 77/critique landing page   # Review landing page UX
 78/critique onboarding     # Check onboarding flow
 79```
 80*When to use:* When you want design feedback, not technical fixes.
 81
 82**`/polish`** - Final pass before shipping
 83```
 84/polish feature modal    # Clean up modal before release
 85/polish settings page    # Final review of settings UI
 86```
 87*When to use:* Last step before deploying to production.
 88
 89**Combining commands:**
 90```
 91/audit /normalize /polish blog    # Full workflow: audit → fix → polish
 92/critique /harden checkout        # UX review + add error handling
 93```
 94
 95### Anti-Patterns
 96
 97The skill includes explicit guidance on what to avoid:
 98
 99- Don't use overused fonts (Arial, Inter, system defaults)
100- Don't use gray text on colored backgrounds
101- Don't use pure black/gray (always tint)
102- Don't wrap everything in cards or nest cards inside cards
103- Don't use bounce/elastic easing (feels dated)
104
105## See It In Action
106
107Visit [impeccable.style](https://impeccable.style#casestudies) to see before/after case studies of real projects transformed with Impeccable commands.
108
109## Installation
110
111### Option 1: Download from Website (Recommended)
112
113Visit [impeccable.style](https://impeccable.style), download the ZIP for your tool, and extract to your project.
114
115### Option 2: Copy from Repository
116
117**Cursor:**
118```bash
119cp -r dist/cursor/.cursor your-project/
120```
121
122> **Note:** Cursor skills require setup:
123> 1. Switch to Nightly channel in Cursor Settings → Beta
124> 2. Enable Agent Skills in Cursor Settings → Rules
125>
126> [Learn more about Cursor skills](https://cursor.com/docs/context/skills)
127
128**Claude Code:**
129```bash
130# Project-specific
131cp -r dist/claude-code/.claude your-project/
132
133# Or global (applies to all projects)
134cp -r dist/claude-code/.claude/* ~/.claude/
135```
136
137**OpenCode:**
138```bash
139cp -r dist/opencode/.opencode your-project/
140```
141
142**Pi:**
143```bash
144cp -r dist/pi/.pi your-project/
145```
146
147**Gemini CLI:**
148```bash
149cp -r dist/gemini/.gemini your-project/
150```
151
152> **Note:** Gemini CLI skills require setup:
153> 1. Install preview version: `npm i -g @google/gemini-cli@preview`
154> 2. Run `/settings` and enable "Skills"
155> 3. Run `/skills list` to verify installation
156>
157> [Learn more about Gemini CLI skills](https://geminicli.com/docs/cli/skills/)
158
159**Codex CLI:**
160```bash
161cp -r dist/codex/.codex/* ~/.codex/
162```
163
164**Trae:**
165```bash
166# Trae China (domestic version)
167cp -r dist/trae/.trae-cn/skills/* ~/.trae-cn/skills/
168
169# Trae International
170cp -r dist/trae/.trae/skills/* ~/.trae/skills/
171```
172
173> **Note:** Trae has two versions with different config directories:
174> - **Trae China**: `~/.trae-cn/skills/`
175> - **Trae International**: `~/.trae/skills/`
176>
177> After copying, restart Trae IDE to activate the skills.
178
179**Rovo Dev:**
180```bash
181# Project-specific
182cp -r dist/rovo-dev/.rovodev your-project/
183
184# Or global (applies to all projects)
185cp -r dist/rovo-dev/.rovodev/skills/* ~/.rovodev/skills/
186```
187
188## Usage
189
190Once installed, use commands in your AI harness:
191
192```
193/audit           # Find issues
194/normalize       # Fix inconsistencies
195/polish          # Final cleanup
196/distill         # Remove complexity
197```
198
199Most commands accept an optional argument to focus on a specific area:
200
201```
202/audit header
203/polish checkout-form
204```
205
206**Note:** Codex CLI uses a different syntax: `/prompts:audit`, `/prompts:polish`, etc.
207
208## CLI
209
210Impeccable includes a standalone CLI for detecting anti-patterns without an AI harness:
211
212```bash
213npx impeccable detect src/                   # scan a directory
214npx impeccable detect index.html             # scan an HTML file
215npx impeccable detect https://example.com    # scan a URL (Puppeteer)
216npx impeccable detect --fast --json .        # regex-only, JSON output
217```
218
219The detector catches 24 issues across AI slop (side-tab borders, purple gradients, bounce easing, dark glows) and general design quality (line length, cramped padding, small touch targets, skipped headings, and more).
220
221## Supported Tools
222
223- [Cursor](https://cursor.com)
224- [Claude Code](https://claude.ai/code)
225- [OpenCode](https://opencode.ai)
226- [Pi](https://pi.dev)
227- [Gemini CLI](https://github.com/google-gemini/gemini-cli)
228- [Codex CLI](https://github.com/openai/codex)
229- [VS Code Copilot](https://code.visualstudio.com)
230- [Kiro](https://kiro.dev)
231- [Trae](https://trae.ai)
232- [Rovo Dev](https://www.atlassian.com/software/rovo)
233
234## Contributing
235
236See [DEVELOP.md](DEVELOP.md) for contributor guidelines and build instructions.
237
238## License
239
240Apache 2.0. See [LICENSE](LICENSE).
241
242The impeccable skill builds on [Anthropic's original frontend-design skill](https://github.com/anthropics/skills/tree/main/skills/frontend-design). See [NOTICE.md](NOTICE.md) for attribution.
243
244---
245
246Created by [Paul Bakaus](https://www.paulbakaus.com)