VNHAX
vnhax
pbakaus/impeccablePublic
38
699
3 branches · 14 tags
P
pbakausfeat: add 61st detector for dynamic dark-mode contrast calculation
c90e4d25 hours ago
.github
ci: automate headless chrome cross-browser test suites
3 days ago
detectors
feat: add contrast, touch-target, and 8pt grid detectors
5 hours ago
commands
feat: add 24 interactive design commands for agent loops
yesterday
browser
fix: handle high-DPI retina canvas scaling in DOM audits
2 days ago
LICENSE
legal: Apache 2.0 license file
3 weeks ago
README.md
docs: add screenshot comparison of before/after UI audits
2 hours ago
package.json
release: bump version to v2.1.0
5 hours ago
README.md
Verified Technical Teardown
#2 TRENDING IN FRONTEND DESIGN61 DETECTORS24 COMMANDSZERO LLM COST LINTINGAUTHOR: PAUL BAKAUS
pbakaus / impeccable — The AI Agent Design System

Design Guidance & Visual Architecture for AI Coding Agents

Standard LLMs default to generic SaaS clichés: Inter typography everywhere, monotonous purple-to-blue gradients, cards arbitrarily nested inside cards, and gray text with illegal contrast. Impeccable equips your AI coding agent with a shared 24-command design vocabulary, durable context preservation (`PRODUCT.md`), and 61 deterministic design detectors that run at 0 LLM API token cost.

61 Rules
Deterministic Quality Detectors
24 Slash Cmds
Shared Design Vocabulary
18 Harnesses
Supported AI Coding Agents
0 Cost
Instant Native CLI Binary
Impeccable AI Agent Frontend Design System
BEFORE VS AFTER

Eliminating The "AI Slop" Tells

Without Impeccable, AI agents rely on average web scraped training data. With Impeccable, agents follow strict typographic, spatial, and color laws.

❌ Standard AI Output (AI Slop)Untrained Agent
  • Default Font: Always Inter, Arial, or browser sans-serif with no brand personality.
  • Color Palette: Monotonous purple-to-blue linear gradients on buttons and hero text.
  • Layout Clutter: Cards arbitrarily nested inside outer cards, creating box inception.
  • Contrast Violations: Low-contrast gray text on tinted cards (fails WCAG AA 4.5:1).
  • Icon Cliché: A rounded-square icon tile positioned redundantly above every heading.
  • Elastic Easing: Bouncy, jittery CSS transitions that feel dated and sluggish.
  • Blacks & Shadows: Pure pitch black (#000000) surfaces without natural ambient light tinting.
✅ Impeccable Guided OutputProduction-Ready
  • Curated Typography: Expressive pairings (e.g. Outfit, Fraunces, Space Grotesk) with 1.25 modular scale.
  • Strategic Color: Single calibrated hero accent, warm/cool tinted surfaces, zero pure gray.
  • Clean Space: Strict 8pt spatial grid rhythm (8px, 16px, 24px, 32px) without unnecessary card wrappers.
  • 100% WCAG 2.1 AA: Computed mathematical contrast verification (minimum 4.5:1 for body copy).
  • Touch & A11y Targets: Minimum 44x44px interactive tap area with visible focus-visible rings.
  • Purposeful Motion: Physics-based micro-interactions with cubic-bezier ease-out timing.
  • Durable Truth: Architectural direction locked into `PRODUCT.md` and `DESIGN.md`.

🧠 The Two Durable Anchors: How Impeccable Stops Drift

AI agents forget context between sessions or overwrite established designs when generating new pages. Impeccable solves this by splitting product purpose from visual direction into two durable Markdown files:

/impeccable initPRODUCT.md

Gathers durable product reality: target audience, core job-to-be-done, operating constraints, voice & tone, and customer evidence. Prevents the AI from asking redundant questions or misunderstanding who the software is built for.

/impeccable documentDESIGN.md

Records your visual design system: designated font families, fluid typography scales, spatial spacing tokens (4px/8px), color palette hex codes, surface elevations, and motion curves.

ALL 18 AGENTS

Harness Setup & Installation Hub

Select your coding harness below to view exact CLI commands, config files, trust steps, and quick slash commands.

Claude CodeOfficial Plugin
Quick Start:/impeccable init
Configuration Target & Hook Path
.claude/skills/impeccable & hooks manifest
Installation & Shell Command
/plugin marketplace add pbakaus/impeccable
# Then open /plugin and install Impeccable
# Or via direct CLI:
npx impeccable install --providers=claude --scope=project
Harness Note: Claude Code automatically runs the native hook manifest on file write. Whenever the agent outputs JSX/HTML, Impeccable validates computed styles against the 61 deterministic design rules.
VOCABULARY

The 24 Design Slash Commands

Tip: Use /impeccable pin <cmd> to create standalone shortcuts (e.g. /audit)
Slash CommandCategoryWhat It DoesInteractive Usage
/impeccable craftFoundationFull shape-then-build flow with visual iteration and live review
/impeccable craft pricing-calculator
/impeccable initFoundationOne-time setup: gather durable product context and write PRODUCT.md
/impeccable init
/impeccable documentFoundationGenerate root DESIGN.md from existing project code and design tokens
/impeccable document
/impeccable extractFoundationPull reusable components and tokens into the design system
/impeccable extract buttons cards
/impeccable shapeFoundationPlan UX/UI, wireframes, and interaction flows before writing code
/impeccable shape checkout-modal
/impeccable critiqueReview & QualityUX design review: visual hierarchy, cognitive clarity, emotional resonance
/impeccable critique landing-page
/impeccable auditReview & QualityRun technical quality checks (WCAG 2.1 AA a11y, performance, responsive)
/impeccable audit blog
/impeccable polishReview & QualityFinal pass, design system token alignment, and shipping readiness
/impeccable polish settings-view
/impeccable hardenReview & QualityError handling, i18n, long text overflow, edge cases, mobile keyboards
/impeccable harden profile-form
/impeccable bolderTone & AestheticAmplify boring, timid, or generic designs with bold contrast and personality
/impeccable bolder hero-headline
/impeccable quieterTone & AestheticTone down overly loud, neon, or chaotic interfaces into subtle calm
/impeccable quieter dashboard-sidebar
/impeccable distillTone & AestheticStrip to pure functional essence: remove redundant borders, cards, and noise
/impeccable distill filter-panel
/impeccable delightTone & AestheticAdd memorable micro-moments of joy, confetti, or playful feedback
/impeccable delight order-success
/impeccable animateVisuals & MotionAdd purposeful physics-based motion with ease-out curves (no dated bounce)
/impeccable animate modal-dialog
/impeccable colorizeVisuals & MotionIntroduce strategic, harmonious color palettes (no pure black/gray)
/impeccable colorize theme
/impeccable typesetVisuals & MotionFix font choices (no Arial/Inter defaults), hierarchy, and typographic scale
/impeccable typeset article
/impeccable layoutVisuals & MotionFix layout, spacing rhythms, and 8pt spatial grid alignments
/impeccable layout nav-header
/impeccable overdriveVisuals & MotionAdd technically extraordinary visual effects (glass, shaders, 3D tilt)
/impeccable overdrive cta-card
/impeccable onboardUser FlowDesign first-run onboarding flows, empty states, and activation paths
/impeccable onboard workspace
/impeccable clarifyUser FlowImprove confusing UX microcopy, labels, error states, and tooltips
/impeccable clarify billing-faq
/impeccable adaptUser FlowAdapt interfaces across smartphones, tablets, ultra-wide displays
/impeccable adapt mobile-menu
/impeccable optimizePerformanceOptimize font loading, layout thrashing, DOM nodes, and paint cycles
/impeccable optimize table-view
/impeccable liveLive PrototypingVisual variant mode: iterate on elements directly in the live browser
/impeccable live header
/impeccable generateLive PrototypingGenerate 4-6 visual variants of a named element in live browser without manual prompts
/impeccable generate pricing-card
ENGINE

61 Deterministic Design Detectors (0 API Token Cost)

Traditional AI code reviews call expensive LLM APIs that hallucinate and take 15 seconds. Impeccable includes a compiled, self-contained binary running 61 deterministic math checks in sub-milliseconds without calling an LLM:

1. Contrast & A11y (WCAG 2.1 AA)
Calculates actual relative luminance against dynamic background layers. Flags any copy below 4.5:1 ratio or UI controls below 3:1.
2. Spatial 8pt Grid Harmony
Detects arbitrary spacing numbers (e.g. 13px, 27px, 39px) and enforces 4px/8px design system spatial scales.
3. Touch Target Safeguards
Guarantees minimum 44x44px clickable bounding box for mobile touchscreen targets and prevents button overlaps.
4. Mobile Horizontal Overflow
Inspects rendered DOM box model from 320px to 480px viewports to eliminate unwanted horizontal scrollbars.
5. AI Anti-Slop Checkers
Flags generic purple gradients, Inter-for-everything defaults, nested card wrappers, and pure #000000 blacks.
6. Focus & Keyboard States
Ensures buttons, links, and form fields retain high-contrast :focus-visible outlines without breaking aesthetic flow.
LIVE BROWSER

In-Browser Prototyping: /impeccable live & generate

Instead of modifying raw source files blindly, Impeccable can spin up a live browser iteration session. Use /impeccable live to test styling variants on live elements, or /impeccable generate to spawn 4-6 fully formed design variations (e.g. Minimal, High-Contrast, Glassmorphic, Dense) directly on your running dev server.

# Generate 4 visual variants for hero pricing in live browser:
/impeccable generate pricing-card

# Open real-time visual adjustment session:
/impeccable live navbar

Frequently Asked Questions (FAQ)