mirror of
https://github.com/pbakaus/impeccable.git
synced 2026-09-14 23:26:39 +03:00
Biggest change in a while. Users previously had 18 standalone skill
entries cluttering their /menu; now they have one entry (/impeccable)
that routes to 20 specialized commands via argument dispatch. The pin
mechanism (/impeccable pin audit) restores standalone shortcuts on
demand for commands users hit all the time.
## Architecture
- Single /impeccable skill with command router section in SKILL.md
- 20 commands served via reference files under source/skills/impeccable/reference/
- /impeccable pin <command> creates a lightweight redirect shim so users
who prefer /audit, /polish, etc. can still have them
- Context gathering (teach) auto-runs on first use
- command-metadata.json is the single source of truth for command
descriptions, argument hints, and relationships
## Site rewrite
- Docs URL: /skills renamed to /docs (with /skills permanent redirects)
- Homepage hero frames Impeccable as "one skill with 20 commands"
- "Get Started" split into 50/50 install + how-to-use with editorial
numbered steps, /impeccable shown as the home command with three modes
- New /docs overview: home command hero card + dense category rows
matching the old cheatsheet density, with leads-to/pairs-with/
combines-with relationship metadata served from a shared source
- Cheatsheet merged into /docs, /cheatsheet redirects
- Magazine spread and mobile cards show /impeccable as a stacked
namespace label above the command name at full display size
- Periodic table updated with craft/teach/extract as first-class cells
- Skill detail pages generate from reference files, with an editorial
wrapper per command for tagline + body
- Tutorials and anti-patterns pages updated to use /impeccable <cmd>
## Build system
- Dead code removed (scripts/lib/transformers/shared.js)
- Build log wording fixed ("1 skill" not "1 skills (1 user-invocable)")
- generateApiData fallback branch removed (throws loudly if metadata
missing instead of silently degrading)
- Commands API includes editorial tagline alongside the long description;
UI surfaces prefer tagline for human display, description for auto-
trigger keyword matching
## Gitignore
- Added .claude/scheduled_tasks.lock, .claude/settings.local.json to
ignore list (local Claude Code state that should not be tracked).
- Harness skill directories (.claude/skills/, .agents/skills/, etc.)
remain tracked by design: npx skills reads them from this repo at
install time and they enable clean submodule use.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
229 lines
7.9 KiB
Markdown
229 lines
7.9 KiB
Markdown
# Impeccable
|
|
|
|
The vocabulary you didn't know you needed. 1 skill, 20 commands, and curated anti-patterns for impeccable frontend design.
|
|
|
|
> **Quick start:** Visit [impeccable.style](https://impeccable.style) to download ready-to-use bundles.
|
|
|
|
## Why Impeccable?
|
|
|
|
Anthropic 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.
|
|
|
|
Every 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.
|
|
|
|
Impeccable fights that bias with:
|
|
- **An expanded skill** with 7 domain-specific reference files ([view source](source/skills/impeccable/))
|
|
- **20 commands** to audit, review, polish, distill, animate, and more
|
|
- **Curated anti-patterns** that explicitly tell the AI what NOT to do
|
|
|
|
## What's Included
|
|
|
|
### The Skill: impeccable
|
|
|
|
A comprehensive design skill with 7 domain-specific references ([view skill](source/skills/impeccable/SKILL.md)):
|
|
|
|
| Reference | Covers |
|
|
|-----------|--------|
|
|
| [typography](source/skills/impeccable/reference/typography.md) | Type systems, font pairing, modular scales, OpenType |
|
|
| [color-and-contrast](source/skills/impeccable/reference/color-and-contrast.md) | OKLCH, tinted neutrals, dark mode, accessibility |
|
|
| [spatial-design](source/skills/impeccable/reference/spatial-design.md) | Spacing systems, grids, visual hierarchy |
|
|
| [motion-design](source/skills/impeccable/reference/motion-design.md) | Easing curves, staggering, reduced motion |
|
|
| [interaction-design](source/skills/impeccable/reference/interaction-design.md) | Forms, focus states, loading patterns |
|
|
| [responsive-design](source/skills/impeccable/reference/responsive-design.md) | Mobile-first, fluid design, container queries |
|
|
| [ux-writing](source/skills/impeccable/reference/ux-writing.md) | Button labels, error messages, empty states |
|
|
|
|
### 20 Commands
|
|
|
|
All commands are accessed through `/impeccable`:
|
|
|
|
| Command | What it does |
|
|
|---------|--------------|
|
|
| `/impeccable craft` | Full shape-then-build flow with visual iteration |
|
|
| `/impeccable teach` | One-time setup: gather design context, save to config |
|
|
| `/impeccable extract` | Pull reusable components and tokens into the design system |
|
|
| `/impeccable shape` | Plan UX/UI before writing code |
|
|
| `/impeccable critique` | UX design review: hierarchy, clarity, emotional resonance |
|
|
| `/impeccable audit` | Run technical quality checks (a11y, performance, responsive) |
|
|
| `/impeccable polish` | Final pass, design system alignment, and shipping readiness |
|
|
| `/impeccable bolder` | Amplify boring designs |
|
|
| `/impeccable quieter` | Tone down overly bold designs |
|
|
| `/impeccable distill` | Strip to essence |
|
|
| `/impeccable harden` | Error handling, onboarding, i18n, edge cases |
|
|
| `/impeccable animate` | Add purposeful motion |
|
|
| `/impeccable colorize` | Introduce strategic color |
|
|
| `/impeccable typeset` | Fix font choices, hierarchy, sizing |
|
|
| `/impeccable layout` | Fix layout, spacing, visual rhythm |
|
|
| `/impeccable delight` | Add moments of joy |
|
|
| `/impeccable overdrive` | Add technically extraordinary effects |
|
|
| `/impeccable clarify` | Improve unclear UX copy |
|
|
| `/impeccable adapt` | Adapt for different devices |
|
|
| `/impeccable optimize` | Performance improvements |
|
|
|
|
Use `/impeccable pin <command>` to create standalone shortcuts (e.g., `pin audit` creates `/audit`).
|
|
|
|
#### Usage Examples
|
|
|
|
```
|
|
/impeccable audit blog # Audit blog hub + post pages
|
|
/impeccable critique landing # UX design review
|
|
/impeccable polish settings # Final pass before shipping
|
|
/impeccable harden checkout # Add error handling + edge cases
|
|
```
|
|
|
|
Or use `/impeccable` directly with a description:
|
|
```
|
|
/impeccable redo this hero section
|
|
```
|
|
|
|
### Anti-Patterns
|
|
|
|
The skill includes explicit guidance on what to avoid:
|
|
|
|
- Don't use overused fonts (Arial, Inter, system defaults)
|
|
- Don't use gray text on colored backgrounds
|
|
- Don't use pure black/gray (always tint)
|
|
- Don't wrap everything in cards or nest cards inside cards
|
|
- Don't use bounce/elastic easing (feels dated)
|
|
|
|
## See It In Action
|
|
|
|
Visit [impeccable.style](https://impeccable.style#casestudies) to see before/after case studies of real projects transformed with Impeccable commands.
|
|
|
|
## Installation
|
|
|
|
### Option 1: Download from Website (Recommended)
|
|
|
|
Visit [impeccable.style](https://impeccable.style), download the ZIP for your tool, and extract to your project.
|
|
|
|
### Option 2: Copy from Repository
|
|
|
|
**Cursor:**
|
|
```bash
|
|
cp -r dist/cursor/.cursor your-project/
|
|
```
|
|
|
|
> **Note:** Cursor skills require setup:
|
|
> 1. Switch to Nightly channel in Cursor Settings → Beta
|
|
> 2. Enable Agent Skills in Cursor Settings → Rules
|
|
>
|
|
> [Learn more about Cursor skills](https://cursor.com/docs/context/skills)
|
|
|
|
**Claude Code:**
|
|
```bash
|
|
# Project-specific
|
|
cp -r dist/claude-code/.claude your-project/
|
|
|
|
# Or global (applies to all projects)
|
|
cp -r dist/claude-code/.claude/* ~/.claude/
|
|
```
|
|
|
|
**OpenCode:**
|
|
```bash
|
|
cp -r dist/opencode/.opencode your-project/
|
|
```
|
|
|
|
**Pi:**
|
|
```bash
|
|
cp -r dist/pi/.pi your-project/
|
|
```
|
|
|
|
**Gemini CLI:**
|
|
```bash
|
|
cp -r dist/gemini/.gemini your-project/
|
|
```
|
|
|
|
> **Note:** Gemini CLI skills require setup:
|
|
> 1. Install preview version: `npm i -g @google/gemini-cli@preview`
|
|
> 2. Run `/settings` and enable "Skills"
|
|
> 3. Run `/skills list` to verify installation
|
|
>
|
|
> [Learn more about Gemini CLI skills](https://geminicli.com/docs/cli/skills/)
|
|
|
|
**Codex CLI:**
|
|
```bash
|
|
cp -r dist/codex/.codex/* ~/.codex/
|
|
```
|
|
|
|
**Trae:**
|
|
```bash
|
|
# Trae China (domestic version)
|
|
cp -r dist/trae/.trae-cn/skills/* ~/.trae-cn/skills/
|
|
|
|
# Trae International
|
|
cp -r dist/trae/.trae/skills/* ~/.trae/skills/
|
|
```
|
|
|
|
> **Note:** Trae has two versions with different config directories:
|
|
> - **Trae China**: `~/.trae-cn/skills/`
|
|
> - **Trae International**: `~/.trae/skills/`
|
|
>
|
|
> After copying, restart Trae IDE to activate the skills.
|
|
|
|
**Rovo Dev:**
|
|
```bash
|
|
# Project-specific
|
|
cp -r dist/rovo-dev/.rovodev your-project/
|
|
|
|
# Or global (applies to all projects)
|
|
cp -r dist/rovo-dev/.rovodev/skills/* ~/.rovodev/skills/
|
|
```
|
|
|
|
## Usage
|
|
|
|
Once installed, use commands in your AI harness:
|
|
|
|
```
|
|
/audit # Find issues
|
|
/normalize # Fix inconsistencies
|
|
/polish # Final cleanup
|
|
/distill # Remove complexity
|
|
```
|
|
|
|
Most commands accept an optional argument to focus on a specific area:
|
|
|
|
```
|
|
/audit header
|
|
/polish checkout-form
|
|
```
|
|
|
|
**Note:** Codex CLI uses a different syntax: `/prompts:audit`, `/prompts:polish`, etc.
|
|
|
|
## CLI
|
|
|
|
Impeccable includes a standalone CLI for detecting anti-patterns without an AI harness:
|
|
|
|
```bash
|
|
npx impeccable detect src/ # scan a directory
|
|
npx impeccable detect index.html # scan an HTML file
|
|
npx impeccable detect https://example.com # scan a URL (Puppeteer)
|
|
npx impeccable detect --fast --json . # regex-only, JSON output
|
|
```
|
|
|
|
The 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).
|
|
|
|
## Supported Tools
|
|
|
|
- [Cursor](https://cursor.com)
|
|
- [Claude Code](https://claude.ai/code)
|
|
- [OpenCode](https://opencode.ai)
|
|
- [Pi](https://pi.dev)
|
|
- [Gemini CLI](https://github.com/google-gemini/gemini-cli)
|
|
- [Codex CLI](https://github.com/openai/codex)
|
|
- [VS Code Copilot](https://code.visualstudio.com)
|
|
- [Kiro](https://kiro.dev)
|
|
- [Trae](https://trae.ai)
|
|
- [Rovo Dev](https://www.atlassian.com/software/rovo)
|
|
|
|
## Contributing
|
|
|
|
See [DEVELOP.md](DEVELOP.md) for contributor guidelines and build instructions.
|
|
|
|
## License
|
|
|
|
Apache 2.0. See [LICENSE](LICENSE).
|
|
|
|
The 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.
|
|
|
|
---
|
|
|
|
Created by [Paul Bakaus](https://www.paulbakaus.com)
|