Impeccable
Paul BakausCommunityCreated by Paul Bakaus
- Skill
- Workflow
- Design and creative
- Apache-2.0
- Low risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
Impeccable provides a structured approach to designing, auditing, and refining frontend interfaces including websites, dashboards, and mobile applications. It operates by establishing product context through documentation and applying specific design modes—Persuade, Operate, Read, and Experience—to guide the visual and functional direction of a project. The skill supports a wide range of tasks from initial planning and documentation to technical audits, visual refinements, and animation, ensuring that design changes remain consistent with the established visual world.
What it does
- Audits UI for accessibility, performance, and responsive behavior.
- Generates design documentation from existing project code.
- Refines visual elements through commands like colorize, typeset, and layout.
- Provides tools to plan UX and UI before implementation.
- Manages design system tokens and component extraction.
- Supports iterative design through live variant generation and testing.
When to use it
- When you need to perform a UX critique or technical audit of an existing interface.
- When starting a new design surface or defining a new visual world.
- When you need to polish or refine UI components before a release.
- When you need to adapt an interface for different screen sizes or platforms.
- When you need to add purposeful animations or improve typography hierarchy.
Advantages
- Provides a consistent framework for design decisions across different project types.
- Integrates technical audits directly into the design workflow.
- Supports specific modes to align design output with user intent.
- Enables structured documentation of product and design context.
- Offers granular control over UI refinements through specialized commands.
Usage examples
- “impeccable audit src/components/Dashboard.tsx”
- The agent performs a technical quality check on the dashboard component, reporting on accessibility, performance, and responsiveness.
- “impeccable polish src/landing-page.css”
- The agent executes a final quality pass on the landing page styles to ensure visual consistency and adherence to the design system.
- “impeccable animate hero-section”
- The agent applies purposeful motion and animation to the specified hero section based on the project's design mode.
- “impeccable init”
- The agent captures the current project context and creates a PRODUCT.md file to serve as the foundation for future design work.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/pbakaus/impeccable/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip impeccable.zip -d .agents/skills
Documentation by Paul Bakaus
This skill gives you the tools and permission to make design that earns the name out-of-distribution craft. Work as an award-winning design director would: production-grade code, a clear POV, a deep grasp of what the client and its users need, and exceptional craft.
Core principles:
Finish the job. No hedging, no shortcuts: the deliverable is complete, except assets the user must provide.
Scale ambition to the surface's mode (see Modes). Persuade and Experience get full commitment: bold, distinct work with a point of view. On Operate and Read, ambition shows as precision and restraint, and patterns the visitor already knows earn their place.
Verify by looking at the rendered result at the sizes it ships at, and batch the checks: fix what one look shows before looking again, rather than screenshotting after every tweak.
Setup
Run
"${CLAUDE_SKILL_DIR}/scripts/impeccable" contextonce per session, where${CLAUDE_SKILL_DIR}is the directory that contains this SKILL.md (the skill folder, not a plugin root two levels above it); keep cwd at the user's project. Every"${CLAUDE_SKILL_DIR}/scripts/impeccable" <verb>command in this skill and its references resolves against that base directory. In reference files, replace the skill-base-dir placeholder with this directory before running commands; it is not a shell variable. On a Windows shell withoutsh, call& "${CLAUDE_SKILL_DIR}/scripts/impeccable.cmd"instead. The launcher runs a self-contained binary that ships next to it or is downloaded once on first run; no Node or other runtime is required. Pass a named source file or route as--target <path>. It loads PRODUCT.md, DESIGN.md, the matching surface brief, and native-platform guidance when applicable; follow its directives and do not rerun it.Load the request's playbook: its Commands-table reference for an explicit/implied sub-command, or reference/new-work.md for a new surface or replacement visual world. Inspect target and incumbent visual truth before editing. When the app cannot run, start with committed visual-regression goldens or screenshot fixtures; verify target and freshness against current tokens, CSS, components, or assets, resolve conflicts, and compare theme/variant captures.
After resolving analysis and direction, read reference/craft-floor.md immediately before any UI edit, including small refinements. It carries the quality floor, the absolute bans, and the reflexes no detector catches. Do not load it for planning-only work.
Launcher unavailable: On refusal or failure, send a separate message before the next tool call: “Context loading did not run; I’ll read the existing project context directly.” Then read existing PRODUCT.md and DESIGN.md without inventing missing context, follow applicable steps 2–3, including reading reference/craft-floor.md immediately before any UI edit, and continue through permitted tools. This applies to planning and editing; launcher failure alone does not block either.
How to design
The brief wins. Honor pinned aesthetics, eras, materials, fonts, and palettes even when they conflict with a saturated-pattern warning. Redirecting a clear brief toward your taste is failure.
Refinement preserves; redesign replaces. Refinement keeps the incumbent identity, behavior, copy, and everything outside scope. Ask before replacing factual copy or adding claims. Redesign keeps product truth, content, function, native affordances, and constraints, but treats the old look as evidence and anti-reference; choose a replacement world in new-work and replace DESIGN.md. Never split the difference into polish on the discarded look.
Loaded symbols stay out of the decoration. A subject's world does not license emblems tied to militarism, supremacy, or hate movements as motifs, badges, or ornament, such as the Rising Sun flag's rays, the Confederate battle flag, or Nazi-era insignia and their stylised variants; reach for that world's neutral forms instead. Content that documents such a symbol as fact stays as it is.
Visual authority is evidence, not a filename. Missing DESIGN.md alone does not make a project greenfield; new-work decides whether to preserve, expand, or replace the incumbent world.
Modes
The mode names what the visitor's success looks like on this surface.
Persuade: the visitor decides and acts; design is the product. Landing pages, marketing, campaigns, pricing. Earn attention and action. Ship real imagery when the brief needs it; follow the committed world, not category habit.
Operate: the visitor completes a task. App UI, dashboards, editors, admin, settings, tools. Scanability, consistency, native expectations, and the real usage scene outrank expression. Brand lives in precise details.
Read: the visitor understands something. Docs, articles, guides, help, changelogs. Structure for comprehension, then make the reading experience worth staying in.
Experience: the visitor is inside the work itself. Portfolios, galleries, showcases. Let the artifact lead from the first viewport; the interface recedes.
Choose the mode from the requested surface, not the product, and persist it only in that surface brief. A tool's landing page is still Persuade; a fashion house's documentation is still Read; a docs index is Read, not Persuade. See new-work.md for new surfaces and operate.md for deeper Operate/Read guidance.
Commands
| Command | Category | Description | Reference |
|---|---|---|---|
craft [feature] | Build | Deprecated alias for an ordinary new-work request | reference/craft.md |
shape [feature] | Build | Plan UX/UI before writing code | reference/shape.md |
init | Build | Capture durable product context in PRODUCT.md | reference/init.md |
document | Build | Generate DESIGN.md from existing project code | reference/document.md |
extract [target] | Build | Pull reusable tokens and components into design system | reference/extract.md |
critique [target] | Evaluate | UX design review with heuristic scoring | reference/critique.md |
audit [target] | Evaluate | Technical quality checks (a11y, perf, responsive) | reference/audit.md · native: reference/audit.native.md |
polish [target] | Refine | Final quality pass before shipping | reference/polish.md |
bolder [target] | Refine | Amplify safe or bland designs | reference/bolder.md |
quieter [target] | Refine | Tone down aggressive or overstimulating designs | reference/quieter.md |
distill [target] | Refine | Strip to essence, remove complexity | reference/distill.md |
harden [target] | Refine | Production-ready: errors, i18n, edge cases | reference/harden.md |
onboard [target] | Refine | Design first-run flows, empty states, activation | reference/onboard.md |
animate [target] | Enhance | Add purposeful animations and motion | reference/animate.md |
colorize [target] | Enhance | Add strategic color to monochromatic UIs | reference/colorize.md |
typeset [target] | Enhance | Improve typography hierarchy and fonts | reference/typeset.md |
layout [target] | Enhance | Fix spacing, rhythm, and visual hierarchy | reference/layout.md |
delight [target] | Enhance | Add personality and memorable touches | reference/delight.md |
overdrive [target] | Enhance | Push past conventional limits | reference/overdrive.md |
clarify [target] | Fix | Improve UX copy, labels, and error messages | reference/clarify.md |
adapt [target] | Fix | Adapt for different devices and screen sizes | reference/adapt.md · native: reference/adapt.native.md |
optimize [target] | Fix | Diagnose and fix UI performance | reference/optimize.md |
live | Iterate | Visual variant mode: pick elements in the browser, iterate on alternatives | reference/live.md |
generate [n] [action] [element] | Iterate | Variants, versions, or alternatives of a named element to choose from in the live browser; no manual picking | reference/generate.md |
Routing:
No argument: read routing.md and present its context-aware menu; never auto-run a command.
Explicit or clearly implied request to run a command: load its reference (native variant on native platforms) and follow it. Ask once if two commands fit.
Workflow or command-selection question: read Workflow questions.
Otherwise: treat the request as general design work. Missing PRODUCT.md routes a new surface or replacement world through init, then new-work; a narrow refinement of existing code proceeds on the incumbent implementation as
impeccable contextdirects, offering init afterward rather than blocking on it.teachaliasesinit.craftis a deprecated alias for ordinary new-work and adds nothing.shapeowns task discovery, then enters new-work only for visual-world and surface-concept decisions.
After init writes PRODUCT.md, resume without rerunning impeccable context; init loads the native platform reference itself when the platform it recorded is ios, android, or adaptive.
Pin / Unpin: "${CLAUDE_SKILL_DIR}/scripts/impeccable" pin <pin|unpin> <command> creates or removes a standalone /<command> shortcut. Report the script's result concisely; relay stderr verbatim on error.
Hooks: /impeccable hooks <on|off|status|ignore-rule|ignore-file|ignore-value|reset> manages the design detector hook for this project (auto-runs the detector after UI file edits and surfaces findings). Load reference/hooks.md when the user invokes it with any argument.
Doctor: /impeccable doctor reports and repairs drift between this project's Impeccable artifacts (PRODUCT.md, DESIGN.md and its sidecar, config, surface briefs, the hook) and what this version reads. Load reference/doctor.md when the user invokes it, or when they ask what is out of date, stale, or needs refreshing. A CONTEXT_STALE directive in Setup's output is the cheap subset of the same report; act on it there per its own instructions rather than running doctor unasked.
Never repair drift as a side effect of a design task. A CONTEXT_STALE finding is reported, not acted on, unless the user asks. The one exception is a finding marked auto, which the next write to that file performs anyway.
Files
- ATTRIBUTION.mdAdded by AutoGineer866 B
- LICENSELicence file added by AutoGineer10.5 KiB
- NOTICELicence file added by AutoGineer503 B
- SKILL.md11.4 KiB
- reference/adapt.md11.0 KiB
- reference/adapt.native.md3.8 KiB
- reference/android.md4.1 KiB
- reference/animate.md5.1 KiB
- reference/audit.md9.4 KiB
- reference/audit.native.md8.1 KiB
- reference/bolder.md3.4 KiB
- reference/clarify.md4.5 KiB
- reference/colorize.md4.4 KiB
- reference/component-review.md7.8 KiB
- reference/craft-floor.md4.4 KiB
- reference/craft.md555 B
- reference/critique.md44.5 KiB
- reference/degraded/asset-producer.md8.3 KiB
- reference/degraded/documenter.md3.6 KiB
- reference/degraded/finish-reviewer.md15.5 KiB
- reference/degraded/manual-edit-applier.md7.5 KiB
- reference/delight.md3.6 KiB
- reference/distill.md5.4 KiB
- reference/doctor.md5.5 KiB
- reference/document.md26.8 KiB
- reference/extract.md3.3 KiB
- reference/generate.md12.8 KiB
- reference/harden.md10.5 KiB
- reference/hooks.md16.9 KiB
- reference/init.md11.9 KiB
- reference/ios.md3.7 KiB
- reference/layout.md5.0 KiB
- reference/live-setup.md8.0 KiB
- reference/live.md36.4 KiB
- reference/mode-operate.md4.6 KiB
- reference/mode-persuade.md3.6 KiB
- reference/mode-read.md4.3 KiB
- reference/new-work.md62.0 KiB
- reference/onboard.md7.5 KiB
- reference/operate.md4.0 KiB
- reference/optimize.md7.4 KiB
- reference/overdrive.md8.8 KiB
- reference/polish.md6.5 KiB
- reference/quieter.md4.8 KiB
- reference/region-map.md3.3 KiB
- reference/routing.md3.2 KiB
- reference/shape.md3.5 KiB
- reference/typeset.md6.1 KiB
- reference/visualize.md13.6 KiB
- scripts/VERSION7 B
- scripts/command-metadata.json8.1 KiB
- scripts/data/font-index-failures.json2.4 KiB
- scripts/data/font-index.json1.0 MiB
- scripts/engine-checksums.txt787 B
- scripts/impeccableScript11.1 KiB
- scripts/impeccable.cmdScript11.9 KiB
- scripts/live-browser-dom.jsScript12.0 KiB
- scripts/live-browser-ignores.jsScript10.2 KiB
- scripts/live-browser-session.jsScript5.7 KiB
- scripts/live-browser.jsScript550.0 KiB
- scripts/modern-screenshot.umd.jsScript28.6 KiB
reference/harden.md
Designs that only work with perfect data aren't production-ready. Harden the interface against the inputs, errors, languages, and network conditions that real users will throw at it.
Assess Hardening Needs
Identify weaknesses and edge cases:
Test with extreme inputs:
Very long text (names, descriptions, titles)
Very short text (empty, single character)
Special characters (emoji, RTL text, accents)
Large numbers (millions, billions)
Many items (1000+ list items, 50+ options)
No data (empty states)
Test error scenarios:
Network failures (offline, slow, timeout)
API errors (400, 401, 403, 404, 500)
Validation errors
Permission errors
Rate limiting
Concurrent operations
Test internationalization:
Long translations (German is often 30% longer than English)
RTL languages (Arabic, Hebrew)
Character sets (Chinese, Japanese, Korean, emoji)
Date/time formats
Number formats (1,000 vs 1.000)
Currency symbols
Designs that only work with perfect data aren't production-ready.
Hardening Dimensions
Systematically improve resilience:
Text Overflow & Wrapping
Long text handling:
/* Single line with ellipsis */
.truncate {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
/* Multi-line with clamp */
.line-clamp {
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
overflow: hidden;
}
/* Allow wrapping */
.wrap {
word-wrap: break-word;
overflow-wrap: break-word;
hyphens: auto;
}Flex/Grid overflow:
/* Prevent flex items from overflowing */
.flex-item {
min-width: 0; /* Allow shrinking below content size */
overflow: hidden;
}
/* Prevent grid items from overflowing */
.grid-item {
min-width: 0;
min-height: 0;
}Responsive text sizing:
Use
clamp()for fluid typographySet minimum readable sizes (16px body on mobile, the same floor the typography guidance sets; 14px only for genuinely secondary text. iOS Safari force-zooms focused inputs under 16px, which breaks form layouts)
Test text scaling (zoom to 200%)
Ensure containers expand with text
Internationalization (i18n)
Text expansion:
Add 30-40% space budget for translations
Use flexbox/grid that adapts to content
Test with longest language (usually German)
Avoid fixed widths on text containers
// ❌ Bad: Assumes short English text
<button className="w-24">Submit</button>
// ✅ Good: Adapts to content
<button className="px-4 py-2">Submit</button>RTL (Right-to-Left) support:
/* Use logical properties */
margin-inline-start: 1rem; /* Not margin-left */
padding-inline: 1rem; /* Not padding-left/right */
border-inline-end: 1px solid; /* Not border-right */
/* Or use dir attribute */
[dir="rtl"] .arrow { transform: scaleX(-1); }Arabic-script specifics (Arabic, Persian, Urdu, Pashto, Kurdish):
Preserve Zero-Width Non-Joiner (U+200C). Persian and Kurdish use ZWNJ between compound-word parts to break cursive joining while keeping the word together. A filter or sanitizer that strips it changes meaning. Never normalize it away.
Handle Yeh and Kaf variants. Persian uses ی (U+06CC) and ک (U+06A9), while Arabic uses ي (U+064A) and ك (U+0643). Preserve the original form in storage. For search and validation, treat the corresponding letters as equivalent so that Arabic-keyboard input matches Persian text. Rejecting one variant locks out users whose keyboard sends the other.
Support locale-aware digits. Persian (
fa-IR) and Arabic locales use Eastern Arabic-Indic numerals (۰-۹ and ٠-٩). UseIntl.NumberFormatwith the correct locale rather than hardcoding Western digits.
// ✅ Locale-aware digit formatting
new Intl.NumberFormat('fa-IR').format(1234); // ۱٬۲۳۴
new Intl.NumberFormat('ar-SA').format(1234); // ١٬٢٣٤Respect calendar systems. Persian users expect the Solar Hijri (Jalali) calendar; many Arabic-speaking users expect the Hijri (Islamic) calendar. Use
Intl.DateTimeFormatwith the appropriate locale or calendar parameter.
// ✅ Locale-appropriate calendar
new Intl.DateTimeFormat('fa-IR').format(new Date());
new Intl.DateTimeFormat('ar-SA-u-ca-islamic').format(new Date());Character set support:
Use UTF-8 encoding everywhere
Test with Chinese/Japanese/Korean (CJK) characters
Test with emoji (they can be 2-4 bytes)
Handle different scripts (Latin, Cyrillic, Arabic, etc.)
Date/Time formatting:
// ✅ Use Intl API for proper formatting
new Intl.DateTimeFormat('en-US').format(date); // 1/15/2024
new Intl.DateTimeFormat('de-DE').format(date); // 15.1.2024
new Intl.NumberFormat('en-US', {
style: 'currency',
currency: 'USD'
}).format(1234.56); // $1,234.56Pluralization:
// ❌ Bad: Assumes English pluralization
`${count} item${count !== 1 ? 's' : ''}`
// ✅ Good: Use proper i18n library
t('items', { count }) // Handles complex plural rulesError Handling
Network errors:
Show clear error messages
Provide retry button
Explain what happened
Offer offline mode (if applicable)
Handle timeout scenarios
// Error states with recovery
{error && (
<ErrorMessage>
<p>Failed to load data. {error.message}</p>
<button onClick={retry}>Try again</button>
</ErrorMessage>
)}Form validation errors:
Inline errors near fields
Clear, specific messages
Suggest corrections
Don't block submission unnecessarily
Preserve user input on error
API errors:
Handle each status code appropriately
400: Show validation errors
401: Redirect to login
403: Show permission error
404: Show not found state
429: Show rate limit message
500: Show generic error, offer support
Graceful degradation:
Core functionality works without JavaScript
Images have alt text
Progressive enhancement
Fallbacks for unsupported features
Edge Cases & Boundary Conditions
Empty states:
No items in list
No search results
No notifications
No data to display
Provide clear next action
Loading states:
Initial load
Pagination load
Refresh
Show what's loading ("Loading your projects...")
Time estimates for long operations
Large datasets:
Pagination or virtual scrolling
Search/filter capabilities
Performance optimization
Don't load all 10,000 items at once
Concurrent operations:
Prevent double-submission (disable button while loading)
Handle race conditions
Optimistic updates with rollback
Conflict resolution
Interrupted gestures (custom sliders, drag surfaces, scrollable control strips):
A second finger or pointer lands mid-drag: the first drag keeps its pointer or ends cleanly, never jumps to the new one
The browser cancels the gesture to scroll (
pointercancel), capture is lost (lostpointercapture), the pointer is released outside the control, or the window loses focus (blur) mid-drag: clear the dragging state and release captureAfter each of these, the next tap or drag works without a reload
Permission states:
No permission to view
No permission to edit
Read-only mode
Clear explanation of why
Browser compatibility:
Polyfills for modern features
Fallbacks for unsupported CSS
Feature detection (not browser detection)
Test in target browsers
Input Validation & Sanitization
Client-side validation:
Required fields
Format validation (email, phone, URL)
Length limits
Pattern matching
Custom validation rules
Server-side validation (always):
Never trust client-side only
Validate and sanitize all inputs
Protect against injection attacks
Rate limiting
Constraint handling:
<!-- Set clear constraints -->
<input
type="text"
maxlength="100"
pattern="[A-Za-z0-9]+"
required
aria-describedby="username-hint"
/>
<small id="username-hint">
Letters and numbers only, up to 100 characters
</small>Accessibility Resilience
Keyboard navigation:
All functionality accessible via keyboard
Logical tab order
Focus management in modals
Skip links for long content
Screen reader support:
Proper ARIA labels
Announce dynamic changes (live regions)
Descriptive alt text
Semantic HTML
High contrast mode:
Test in Windows high contrast mode
Don't rely only on color
Provide alternative visual cues
Performance Resilience
Slow connections:
Progressive image loading
Skeleton screens
Optimistic UI updates
Offline support (service workers)
Memory leaks:
Clean up event listeners
Cancel subscriptions
Clear timers/intervals
Abort pending requests on unmount
Throttling & Debouncing:
// Debounce search input
const debouncedSearch = debounce(handleSearch, 300);
// Throttle scroll handler
const throttledScroll = throttle(handleScroll, 100);Testing Strategies
Manual testing:
Test with extreme data (very long, very short, empty)
Test in different languages
Test offline
Test slow connection (throttle to 3G)
Test with screen reader
Test keyboard-only navigation
Test on old browsers
Automated testing:
Unit tests for edge cases
Integration tests for error scenarios
E2E tests for critical paths
A behavioral regression for each confirmed gesture fix, when the project's test runner can drive input
Visual regression tests
Accessibility tests (axe, WAVE)
Avoid:
Assume perfect input (validate everything)
Ignore internationalization (design for global)
Leave error messages generic ("Error occurred")
Forget offline scenarios
Trust client-side validation alone
Use fixed widths for text
Assume English-length text
Block entire interface when one component errors
Verify Hardening
Test thoroughly with edge cases:
Long text: Try names with 100+ characters
Emoji: Use emoji in all text fields
RTL: Test with Arabic or Hebrew
CJK: Test with Chinese/Japanese/Korean
Network issues: Disable internet, throttle connection
Large datasets: Test with 1000+ items
Concurrent actions: Click submit 10 times rapidly
Interrupted gestures: Add a second finger mid-drag, scroll across the control, release outside it, switch windows mid-drag; then drag again
Errors: Force API errors, test all error states
Empty: Remove all data, test empty states
For gestures, say what produced the evidence (emulated viewport, synthesized touch, which engine, physical device) and name what stayed untested.
When edge cases are covered, hand off to /impeccable polish for the final pass.
Requirements and compatibility
Written for: Claude Code
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Claude Code frontmatter, Needs Node.js
Security
What our scanner noticed· Low risk
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- Created by
- Paul Bakaus
- Publisher
- Paul Bakaus (Community)
- Source
- pbakaus/impeccable · plugin/skills/impeccable · commit 687bc38
- Licence
- Apache License 2.0 (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- NOTICE (added by AutoGineer from NOTICE.md)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
AutoGineer is not affiliated with or endorsed by Paul Bakaus or Paul Bakaus.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download impeccable.zip