···11+---
22+name: adapt
33+description: Adapt designs to work across different screen sizes, devices, contexts, or platforms. Implements breakpoints, fluid layouts, and touch targets. Use when the user mentions responsive design, mobile layouts, breakpoints, viewport adaptation, or cross-device compatibility.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[target] [context (mobile, tablet, print...)]"
77+---
88+99+Adapt existing designs to work effectively across different contexts - different screen sizes, devices, platforms, or use cases.
1010+1111+## MANDATORY PREPARATION
1212+1313+Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first. Additionally gather: target platforms/devices and usage contexts.
1414+1515+---
1616+1717+## Assess Adaptation Challenge
1818+1919+Understand what needs adaptation and why:
2020+2121+1. **Identify the source context**:
2222+ - What was it designed for originally? (Desktop web? Mobile app?)
2323+ - What assumptions were made? (Large screen? Mouse input? Fast connection?)
2424+ - What works well in current context?
2525+2626+2. **Understand target context**:
2727+ - **Device**: Mobile, tablet, desktop, TV, watch, print?
2828+ - **Input method**: Touch, mouse, keyboard, voice, gamepad?
2929+ - **Screen constraints**: Size, resolution, orientation?
3030+ - **Connection**: Fast wifi, slow 3G, offline?
3131+ - **Usage context**: On-the-go vs desk, quick glance vs focused reading?
3232+ - **User expectations**: What do users expect on this platform?
3333+3434+3. **Identify adaptation challenges**:
3535+ - What won't fit? (Content, navigation, features)
3636+ - What won't work? (Hover states on touch, tiny touch targets)
3737+ - What's inappropriate? (Desktop patterns on mobile, mobile patterns on desktop)
3838+3939+**CRITICAL**: Adaptation is not just scaling - it's rethinking the experience for the new context.
4040+4141+## Plan Adaptation Strategy
4242+4343+Create context-appropriate strategy:
4444+4545+### Mobile Adaptation (Desktop → Mobile)
4646+4747+**Layout Strategy**:
4848+- Single column instead of multi-column
4949+- Vertical stacking instead of side-by-side
5050+- Full-width components instead of fixed widths
5151+- Bottom navigation instead of top/side navigation
5252+5353+**Interaction Strategy**:
5454+- Touch targets 44x44px minimum (not hover-dependent)
5555+- Swipe gestures where appropriate (lists, carousels)
5656+- Bottom sheets instead of dropdowns
5757+- Thumbs-first design (controls within thumb reach)
5858+- Larger tap areas with more spacing
5959+6060+**Content Strategy**:
6161+- Progressive disclosure (don't show everything at once)
6262+- Prioritize primary content (secondary content in tabs/accordions)
6363+- Shorter text (more concise)
6464+- Larger text (16px minimum)
6565+6666+**Navigation Strategy**:
6767+- Hamburger menu or bottom navigation
6868+- Reduce navigation complexity
6969+- Sticky headers for context
7070+- Back button in navigation flow
7171+7272+### Tablet Adaptation (Hybrid Approach)
7373+7474+**Layout Strategy**:
7575+- Two-column layouts (not single or three-column)
7676+- Side panels for secondary content
7777+- Master-detail views (list + detail)
7878+- Adaptive based on orientation (portrait vs landscape)
7979+8080+**Interaction Strategy**:
8181+- Support both touch and pointer
8282+- Touch targets 44x44px but allow denser layouts than phone
8383+- Side navigation drawers
8484+- Multi-column forms where appropriate
8585+8686+### Desktop Adaptation (Mobile → Desktop)
8787+8888+**Layout Strategy**:
8989+- Multi-column layouts (use horizontal space)
9090+- Side navigation always visible
9191+- Multiple information panels simultaneously
9292+- Fixed widths with max-width constraints (don't stretch to 4K)
9393+9494+**Interaction Strategy**:
9595+- Hover states for additional information
9696+- Keyboard shortcuts
9797+- Right-click context menus
9898+- Drag and drop where helpful
9999+- Multi-select with Shift/Cmd
100100+101101+**Content Strategy**:
102102+- Show more information upfront (less progressive disclosure)
103103+- Data tables with many columns
104104+- Richer visualizations
105105+- More detailed descriptions
106106+107107+### Print Adaptation (Screen → Print)
108108+109109+**Layout Strategy**:
110110+- Page breaks at logical points
111111+- Remove navigation, footer, interactive elements
112112+- Black and white (or limited color)
113113+- Proper margins for binding
114114+115115+**Content Strategy**:
116116+- Expand shortened content (show full URLs, hidden sections)
117117+- Add page numbers, headers, footers
118118+- Include metadata (print date, page title)
119119+- Convert charts to print-friendly versions
120120+121121+### Email Adaptation (Web → Email)
122122+123123+**Layout Strategy**:
124124+- Narrow width (600px max)
125125+- Single column only
126126+- Inline CSS (no external stylesheets)
127127+- Table-based layouts (for email client compatibility)
128128+129129+**Interaction Strategy**:
130130+- Large, obvious CTAs (buttons not text links)
131131+- No hover states (not reliable)
132132+- Deep links to web app for complex interactions
133133+134134+## Implement Adaptations
135135+136136+Apply changes systematically:
137137+138138+### Responsive Breakpoints
139139+140140+Choose appropriate breakpoints:
141141+- Mobile: 320px-767px
142142+- Tablet: 768px-1023px
143143+- Desktop: 1024px+
144144+- Or content-driven breakpoints (where design breaks)
145145+146146+### Layout Adaptation Techniques
147147+148148+- **CSS Grid/Flexbox**: Reflow layouts automatically
149149+- **Container Queries**: Adapt based on container, not viewport
150150+- **`clamp()`**: Fluid sizing between min and max
151151+- **Media queries**: Different styles for different contexts
152152+- **Display properties**: Show/hide elements per context
153153+154154+### Touch Adaptation
155155+156156+- Increase touch target sizes (44x44px minimum)
157157+- Add more spacing between interactive elements
158158+- Remove hover-dependent interactions
159159+- Add touch feedback (ripples, highlights)
160160+- Consider thumb zones (easier to reach bottom than top)
161161+162162+### Content Adaptation
163163+164164+- Use `display: none` sparingly (still downloads)
165165+- Progressive enhancement (core content first, enhancements on larger screens)
166166+- Lazy loading for off-screen content
167167+- Responsive images (`srcset`, `picture` element)
168168+169169+### Navigation Adaptation
170170+171171+- Transform complex nav to hamburger/drawer on mobile
172172+- Bottom nav bar for mobile apps
173173+- Persistent side navigation on desktop
174174+- Breadcrumbs on smaller screens for context
175175+176176+**IMPORTANT**: Test on real devices, not just browser DevTools. Device emulation is helpful but not perfect.
177177+178178+**NEVER**:
179179+- Hide core functionality on mobile (if it matters, make it work)
180180+- Assume desktop = powerful device (consider accessibility, older machines)
181181+- Use different information architecture across contexts (confusing)
182182+- Break user expectations for platform (mobile users expect mobile patterns)
183183+- Forget landscape orientation on mobile/tablet
184184+- Use generic breakpoints blindly (use content-driven breakpoints)
185185+- Ignore touch on desktop (many desktop devices have touch)
186186+187187+## Verify Adaptations
188188+189189+Test thoroughly across contexts:
190190+191191+- **Real devices**: Test on actual phones, tablets, desktops
192192+- **Different orientations**: Portrait and landscape
193193+- **Different browsers**: Safari, Chrome, Firefox, Edge
194194+- **Different OS**: iOS, Android, Windows, macOS
195195+- **Different input methods**: Touch, mouse, keyboard
196196+- **Edge cases**: Very small screens (320px), very large screens (4K)
197197+- **Slow connections**: Test on throttled network
198198+199199+Remember: You're a cross-platform design expert. Make experiences that feel native to each context while maintaining brand and functionality consistency. Adapt intentionally, test thoroughly.
+175
.agents/skills/animate/SKILL.md
···11+---
22+name: animate
33+description: Review a feature and enhance it with purposeful animations, micro-interactions, and motion effects that improve usability and delight. Use when the user mentions adding animation, transitions, micro-interactions, motion design, hover effects, or making the UI feel more alive.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[target]"
77+---
88+99+Analyze a feature and strategically add animations and micro-interactions that enhance understanding, provide feedback, and create delight.
1010+1111+## MANDATORY PREPARATION
1212+1313+Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first. Additionally gather: performance constraints.
1414+1515+---
1616+1717+## Assess Animation Opportunities
1818+1919+Analyze where motion would improve the experience:
2020+2121+1. **Identify static areas**:
2222+ - **Missing feedback**: Actions without visual acknowledgment (button clicks, form submission, etc.)
2323+ - **Jarring transitions**: Instant state changes that feel abrupt (show/hide, page loads, route changes)
2424+ - **Unclear relationships**: Spatial or hierarchical relationships that aren't obvious
2525+ - **Lack of delight**: Functional but joyless interactions
2626+ - **Missed guidance**: Opportunities to direct attention or explain behavior
2727+2828+2. **Understand the context**:
2929+ - What's the personality? (Playful vs serious, energetic vs calm)
3030+ - What's the performance budget? (Mobile-first? Complex page?)
3131+ - Who's the audience? (Motion-sensitive users? Power users who want speed?)
3232+ - What matters most? (One hero animation vs many micro-interactions?)
3333+3434+If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.
3535+3636+**CRITICAL**: Respect `prefers-reduced-motion`. Always provide non-animated alternatives for users who need them.
3737+3838+## Plan Animation Strategy
3939+4040+Create a purposeful animation plan:
4141+4242+- **Hero moment**: What's the ONE signature animation? (Page load? Hero section? Key interaction?)
4343+- **Feedback layer**: Which interactions need acknowledgment?
4444+- **Transition layer**: Which state changes need smoothing?
4545+- **Delight layer**: Where can we surprise and delight?
4646+4747+**IMPORTANT**: One well-orchestrated experience beats scattered animations everywhere. Focus on high-impact moments.
4848+4949+## Implement Animations
5050+5151+Add motion systematically across these categories:
5252+5353+### Entrance Animations
5454+- **Page load choreography**: Stagger element reveals (100-150ms delays), fade + slide combinations
5555+- **Hero section**: Dramatic entrance for primary content (scale, parallax, or creative effects)
5656+- **Content reveals**: Scroll-triggered animations using intersection observer
5757+- **Modal/drawer entry**: Smooth slide + fade, backdrop fade, focus management
5858+5959+### Micro-interactions
6060+- **Button feedback**:
6161+ - Hover: Subtle scale (1.02-1.05), color shift, shadow increase
6262+ - Click: Quick scale down then up (0.95 → 1), ripple effect
6363+ - Loading: Spinner or pulse state
6464+- **Form interactions**:
6565+ - Input focus: Border color transition, slight scale or glow
6666+ - Validation: Shake on error, check mark on success, smooth color transitions
6767+- **Toggle switches**: Smooth slide + color transition (200-300ms)
6868+- **Checkboxes/radio**: Check mark animation, ripple effect
6969+- **Like/favorite**: Scale + rotation, particle effects, color transition
7070+7171+### State Transitions
7272+- **Show/hide**: Fade + slide (not instant), appropriate timing (200-300ms)
7373+- **Expand/collapse**: Height transition with overflow handling, icon rotation
7474+- **Loading states**: Skeleton screen fades, spinner animations, progress bars
7575+- **Success/error**: Color transitions, icon animations, gentle scale pulse
7676+- **Enable/disable**: Opacity transitions, cursor changes
7777+7878+### Navigation & Flow
7979+- **Page transitions**: Crossfade between routes, shared element transitions
8080+- **Tab switching**: Slide indicator, content fade/slide
8181+- **Carousel/slider**: Smooth transforms, snap points, momentum
8282+- **Scroll effects**: Parallax layers, sticky headers with state changes, scroll progress indicators
8383+8484+### Feedback & Guidance
8585+- **Hover hints**: Tooltip fade-ins, cursor changes, element highlights
8686+- **Drag & drop**: Lift effect (shadow + scale), drop zone highlights, smooth repositioning
8787+- **Copy/paste**: Brief highlight flash on paste, "copied" confirmation
8888+- **Focus flow**: Highlight path through form or workflow
8989+9090+### Delight Moments
9191+- **Empty states**: Subtle floating animations on illustrations
9292+- **Completed actions**: Confetti, check mark flourish, success celebrations
9393+- **Easter eggs**: Hidden interactions for discovery
9494+- **Contextual animation**: Weather effects, time-of-day themes, seasonal touches
9595+9696+## Technical Implementation
9797+9898+Use appropriate techniques for each animation:
9999+100100+### Timing & Easing
101101+102102+**Durations by purpose:**
103103+- **100-150ms**: Instant feedback (button press, toggle)
104104+- **200-300ms**: State changes (hover, menu open)
105105+- **300-500ms**: Layout changes (accordion, modal)
106106+- **500-800ms**: Entrance animations (page load)
107107+108108+**Easing curves (use these, not CSS defaults):**
109109+```css
110110+/* Recommended - natural deceleration */
111111+--ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1); /* Smooth, refined */
112112+--ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1); /* Slightly snappier */
113113+--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1); /* Confident, decisive */
114114+115115+/* AVOID - feel dated and tacky */
116116+/* bounce: cubic-bezier(0.34, 1.56, 0.64, 1); */
117117+/* elastic: cubic-bezier(0.68, -0.6, 0.32, 1.6); */
118118+```
119119+120120+**Exit animations are faster than entrances.** Use ~75% of enter duration.
121121+122122+### CSS Animations
123123+```css
124124+/* Prefer for simple, declarative animations */
125125+- transitions for state changes
126126+- @keyframes for complex sequences
127127+- transform + opacity only (GPU-accelerated)
128128+```
129129+130130+### JavaScript Animation
131131+```javascript
132132+/* Use for complex, interactive animations */
133133+- Web Animations API for programmatic control
134134+- Framer Motion for React
135135+- GSAP for complex sequences
136136+```
137137+138138+### Performance
139139+- **GPU acceleration**: Use `transform` and `opacity`, avoid layout properties
140140+- **will-change**: Add sparingly for known expensive animations
141141+- **Reduce paint**: Minimize repaints, use `contain` where appropriate
142142+- **Monitor FPS**: Ensure 60fps on target devices
143143+144144+### Accessibility
145145+```css
146146+@media (prefers-reduced-motion: reduce) {
147147+ * {
148148+ animation-duration: 0.01ms !important;
149149+ animation-iteration-count: 1 !important;
150150+ transition-duration: 0.01ms !important;
151151+ }
152152+}
153153+```
154154+155155+**NEVER**:
156156+- Use bounce or elastic easing curves—they feel dated and draw attention to the animation itself
157157+- Animate layout properties (width, height, top, left)—use transform instead
158158+- Use durations over 500ms for feedback—it feels laggy
159159+- Animate without purpose—every animation needs a reason
160160+- Ignore `prefers-reduced-motion`—this is an accessibility violation
161161+- Animate everything—animation fatigue makes interfaces feel exhausting
162162+- Block interaction during animations unless intentional
163163+164164+## Verify Quality
165165+166166+Test animations thoroughly:
167167+168168+- **Smooth at 60fps**: No jank on target devices
169169+- **Feels natural**: Easing curves feel organic, not robotic
170170+- **Appropriate timing**: Not too fast (jarring) or too slow (laggy)
171171+- **Reduced motion works**: Animations disabled or simplified appropriately
172172+- **Doesn't block**: Users can interact during/after animations
173173+- **Adds value**: Makes interface clearer or more delightful
174174+175175+Remember: Motion should enhance understanding and provide feedback, not just add decoration. Animate with purpose, respect performance constraints, and always consider accessibility. Great animation is invisible - it just makes everything feel right.
+148
.agents/skills/audit/SKILL.md
···11+---
22+name: audit
33+description: Run technical quality checks across accessibility, performance, theming, responsive design, and anti-patterns. Generates a scored report with P0-P3 severity ratings and actionable plan. Use when the user wants an accessibility check, performance audit, or technical quality review.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[area (feature, page, component...)]"
77+---
88+99+## MANDATORY PREPARATION
1010+1111+Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first.
1212+1313+---
1414+1515+Run systematic **technical** quality checks and generate a comprehensive report. Don't fix issues — document them for other commands to address.
1616+1717+This is a code-level audit, not a design critique. Check what's measurable and verifiable in the implementation.
1818+1919+## Diagnostic Scan
2020+2121+Run comprehensive checks across 5 dimensions. Score each dimension 0-4 using the criteria below.
2222+2323+### 1. Accessibility (A11y)
2424+2525+**Check for**:
2626+- **Contrast issues**: Text contrast ratios < 4.5:1 (or 7:1 for AAA)
2727+- **Missing ARIA**: Interactive elements without proper roles, labels, or states
2828+- **Keyboard navigation**: Missing focus indicators, illogical tab order, keyboard traps
2929+- **Semantic HTML**: Improper heading hierarchy, missing landmarks, divs instead of buttons
3030+- **Alt text**: Missing or poor image descriptions
3131+- **Form issues**: Inputs without labels, poor error messaging, missing required indicators
3232+3333+**Score 0-4**: 0=Inaccessible (fails WCAG A), 1=Major gaps (few ARIA labels, no keyboard nav), 2=Partial (some a11y effort, significant gaps), 3=Good (WCAG AA mostly met, minor gaps), 4=Excellent (WCAG AA fully met, approaches AAA)
3434+3535+### 2. Performance
3636+3737+**Check for**:
3838+- **Layout thrashing**: Reading/writing layout properties in loops
3939+- **Expensive animations**: Animating layout properties (width, height, top, left) instead of transform/opacity
4040+- **Missing optimization**: Images without lazy loading, unoptimized assets, missing will-change
4141+- **Bundle size**: Unnecessary imports, unused dependencies
4242+- **Render performance**: Unnecessary re-renders, missing memoization
4343+4444+**Score 0-4**: 0=Severe issues (layout thrash, unoptimized everything), 1=Major problems (no lazy loading, expensive animations), 2=Partial (some optimization, gaps remain), 3=Good (mostly optimized, minor improvements possible), 4=Excellent (fast, lean, well-optimized)
4545+4646+### 3. Theming
4747+4848+**Check for**:
4949+- **Hard-coded colors**: Colors not using design tokens
5050+- **Broken dark mode**: Missing dark mode variants, poor contrast in dark theme
5151+- **Inconsistent tokens**: Using wrong tokens, mixing token types
5252+- **Theme switching issues**: Values that don't update on theme change
5353+5454+**Score 0-4**: 0=No theming (hard-coded everything), 1=Minimal tokens (mostly hard-coded), 2=Partial (tokens exist but inconsistently used), 3=Good (tokens used, minor hard-coded values), 4=Excellent (full token system, dark mode works perfectly)
5555+5656+### 4. Responsive Design
5757+5858+**Check for**:
5959+- **Fixed widths**: Hard-coded widths that break on mobile
6060+- **Touch targets**: Interactive elements < 44x44px
6161+- **Horizontal scroll**: Content overflow on narrow viewports
6262+- **Text scaling**: Layouts that break when text size increases
6363+- **Missing breakpoints**: No mobile/tablet variants
6464+6565+**Score 0-4**: 0=Desktop-only (breaks on mobile), 1=Major issues (some breakpoints, many failures), 2=Partial (works on mobile, rough edges), 3=Good (responsive, minor touch target or overflow issues), 4=Excellent (fluid, all viewports, proper touch targets)
6666+6767+### 5. Anti-Patterns (CRITICAL)
6868+6969+Check against ALL the **DON'T** guidelines in the impeccable skill. Look for AI slop tells (AI color palette, gradient text, glassmorphism, hero metrics, card grids, generic fonts) and general design anti-patterns (gray on color, nested cards, bounce easing, redundant copy).
7070+7171+**Score 0-4**: 0=AI slop gallery (5+ tells), 1=Heavy AI aesthetic (3-4 tells), 2=Some tells (1-2 noticeable), 3=Mostly clean (subtle issues only), 4=No AI tells (distinctive, intentional design)
7272+7373+## Generate Report
7474+7575+### Audit Health Score
7676+7777+| # | Dimension | Score | Key Finding |
7878+|---|-----------|-------|-------------|
7979+| 1 | Accessibility | ? | [most critical a11y issue or "--"] |
8080+| 2 | Performance | ? | |
8181+| 3 | Responsive Design | ? | |
8282+| 4 | Theming | ? | |
8383+| 5 | Anti-Patterns | ? | |
8484+| **Total** | | **??/20** | **[Rating band]** |
8585+8686+**Rating bands**: 18-20 Excellent (minor polish), 14-17 Good (address weak dimensions), 10-13 Acceptable (significant work needed), 6-9 Poor (major overhaul), 0-5 Critical (fundamental issues)
8787+8888+### Anti-Patterns Verdict
8989+**Start here.** Pass/fail: Does this look AI-generated? List specific tells. Be brutally honest.
9090+9191+### Executive Summary
9292+- Audit Health Score: **??/20** ([rating band])
9393+- Total issues found (count by severity: P0/P1/P2/P3)
9494+- Top 3-5 critical issues
9595+- Recommended next steps
9696+9797+### Detailed Findings by Severity
9898+9999+Tag every issue with **P0-P3 severity**:
100100+- **P0 Blocking**: Prevents task completion — fix immediately
101101+- **P1 Major**: Significant difficulty or WCAG AA violation — fix before release
102102+- **P2 Minor**: Annoyance, workaround exists — fix in next pass
103103+- **P3 Polish**: Nice-to-fix, no real user impact — fix if time permits
104104+105105+For each issue, document:
106106+- **[P?] Issue name**
107107+- **Location**: Component, file, line
108108+- **Category**: Accessibility / Performance / Theming / Responsive / Anti-Pattern
109109+- **Impact**: How it affects users
110110+- **WCAG/Standard**: Which standard it violates (if applicable)
111111+- **Recommendation**: How to fix it
112112+- **Suggested command**: Which command to use (prefer: /animate, /quieter, /shape, /optimize, /adapt, /clarify, /layout, /distill, /delight, /audit, /harden, /polish, /bolder, /typeset, /critique, /colorize, /overdrive)
113113+114114+### Patterns & Systemic Issues
115115+116116+Identify recurring problems that indicate systemic gaps rather than one-off mistakes:
117117+- "Hard-coded colors appear in 15+ components, should use design tokens"
118118+- "Touch targets consistently too small (<44px) throughout mobile experience"
119119+120120+### Positive Findings
121121+122122+Note what's working well — good practices to maintain and replicate.
123123+124124+## Recommended Actions
125125+126126+List recommended commands in priority order (P0 first, then P1, then P2):
127127+128128+1. **[P?] `/command-name`** — Brief description (specific context from audit findings)
129129+2. **[P?] `/command-name`** — Brief description (specific context)
130130+131131+**Rules**: Only recommend commands from: /animate, /quieter, /shape, /optimize, /adapt, /clarify, /layout, /distill, /delight, /audit, /harden, /polish, /bolder, /typeset, /critique, /colorize, /overdrive. Map findings to the most appropriate command. End with `/polish` as the final step if any fixes were recommended.
132132+133133+After presenting the summary, tell the user:
134134+135135+> You can ask me to run these one at a time, all at once, or in any order you prefer.
136136+>
137137+> Re-run `/audit` after fixes to see your score improve.
138138+139139+**IMPORTANT**: Be thorough but actionable. Too many P3 issues creates noise. Focus on what actually matters.
140140+141141+**NEVER**:
142142+- Report issues without explaining impact (why does this matter?)
143143+- Provide generic recommendations (be specific and actionable)
144144+- Skip positive findings (celebrate what works)
145145+- Forget to prioritize (everything can't be P0)
146146+- Report false positives without verification
147147+148148+Remember: You're a technical quality auditor. Document systematically, prioritize ruthlessly, cite specific code locations, and provide clear paths to improvement.
+117
.agents/skills/bolder/SKILL.md
···11+---
22+name: bolder
33+description: Amplify safe or boring designs to make them more visually interesting and stimulating. Increases impact while maintaining usability. Use when the user says the design looks bland, generic, too safe, lacks personality, or wants more visual impact and character.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[target]"
77+---
88+99+Increase visual impact and personality in designs that are too safe, generic, or visually underwhelming, creating more engaging and memorable experiences.
1010+1111+## MANDATORY PREPARATION
1212+1313+Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first.
1414+1515+---
1616+1717+## Assess Current State
1818+1919+Analyze what makes the design feel too safe or boring:
2020+2121+1. **Identify weakness sources**:
2222+ - **Generic choices**: System fonts, basic colors, standard layouts
2323+ - **Timid scale**: Everything is medium-sized with no drama
2424+ - **Low contrast**: Everything has similar visual weight
2525+ - **Static**: No motion, no energy, no life
2626+ - **Predictable**: Standard patterns with no surprises
2727+ - **Flat hierarchy**: Nothing stands out or commands attention
2828+2929+2. **Understand the context**:
3030+ - What's the brand personality? (How far can we push?)
3131+ - What's the purpose? (Marketing can be bolder than financial dashboards)
3232+ - Who's the audience? (What will resonate?)
3333+ - What are the constraints? (Brand guidelines, accessibility, performance)
3434+3535+If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.
3636+3737+**CRITICAL**: "Bolder" doesn't mean chaotic or garish. It means distinctive, memorable, and confident. Think intentional drama, not random chaos.
3838+3939+**WARNING - AI SLOP TRAP**: When making things "bolder," AI defaults to the same tired tricks: cyan/purple gradients, glassmorphism, neon accents on dark backgrounds, gradient text on metrics. These are the OPPOSITE of bold—they're generic. Review ALL the DON'T guidelines in the impeccable skill before proceeding. Bold means distinctive, not "more effects."
4040+4141+## Plan Amplification
4242+4343+Create a strategy to increase impact while maintaining coherence:
4444+4545+- **Focal point**: What should be the hero moment? (Pick ONE, make it amazing)
4646+- **Personality direction**: Maximalist chaos? Elegant drama? Playful energy? Dark moody? Choose a lane.
4747+- **Risk budget**: How experimental can we be? Push boundaries within constraints.
4848+- **Hierarchy amplification**: Make big things BIGGER, small things smaller (increase contrast)
4949+5050+**IMPORTANT**: Bold design must still be usable. Impact without function is just decoration.
5151+5252+## Amplify the Design
5353+5454+Systematically increase impact across these dimensions:
5555+5656+### Typography Amplification
5757+- **Replace generic fonts**: Swap system fonts for distinctive choices (see impeccable skill for inspiration)
5858+- **Extreme scale**: Create dramatic size jumps (3x-5x differences, not 1.5x)
5959+- **Weight contrast**: Pair 900 weights with 200 weights, not 600 with 400
6060+- **Unexpected choices**: Variable fonts, display fonts for headlines, condensed/extended widths, monospace as intentional accent (not as lazy "dev tool" default)
6161+6262+### Color Intensification
6363+- **Increase saturation**: Shift to more vibrant, energetic colors (but not neon)
6464+- **Bold palette**: Introduce unexpected color combinations—avoid the purple-blue gradient AI slop
6565+- **Dominant color strategy**: Let one bold color own 60% of the design
6666+- **Sharp accents**: High-contrast accent colors that pop
6767+- **Tinted neutrals**: Replace pure grays with tinted grays that harmonize with your palette
6868+- **Rich gradients**: Intentional multi-stop gradients (not generic purple-to-blue)
6969+7070+### Spatial Drama
7171+- **Extreme scale jumps**: Make important elements 3-5x larger than surroundings
7272+- **Break the grid**: Let hero elements escape containers and cross boundaries
7373+- **Asymmetric layouts**: Replace centered, balanced layouts with tension-filled asymmetry
7474+- **Generous space**: Use white space dramatically (100-200px gaps, not 20-40px)
7575+- **Overlap**: Layer elements intentionally for depth
7676+7777+### Visual Effects
7878+- **Dramatic shadows**: Large, soft shadows for elevation (but not generic drop shadows on rounded rectangles)
7979+- **Background treatments**: Mesh patterns, noise textures, geometric patterns, intentional gradients (not purple-to-blue)
8080+- **Texture & depth**: Grain, halftone, duotone, layered elements—NOT glassmorphism (it's overused AI slop)
8181+- **Borders & frames**: Thick borders, decorative frames, custom shapes (not rounded rectangles with colored border on one side)
8282+- **Custom elements**: Illustrative elements, custom icons, decorative details that reinforce brand
8383+8484+### Motion & Animation
8585+- **Entrance choreography**: Staggered, dramatic page load animations with 50-100ms delays
8686+- **Scroll effects**: Parallax, reveal animations, scroll-triggered sequences
8787+- **Micro-interactions**: Satisfying hover effects, click feedback, state changes
8888+- **Transitions**: Smooth, noticeable transitions using ease-out-quart/quint/expo (not bounce or elastic—they cheapen the effect)
8989+9090+### Composition Boldness
9191+- **Hero moments**: Create clear focal points with dramatic treatment
9292+- **Diagonal flows**: Escape horizontal/vertical rigidity with diagonal arrangements
9393+- **Full-bleed elements**: Use full viewport width/height for impact
9494+- **Unexpected proportions**: Golden ratio? Throw it out. Try 70/30, 80/20 splits
9595+9696+**NEVER**:
9797+- Add effects randomly without purpose (chaos ≠ bold)
9898+- Sacrifice readability for aesthetics (body text must be readable)
9999+- Make everything bold (then nothing is bold - need contrast)
100100+- Ignore accessibility (bold design must still meet WCAG standards)
101101+- Overwhelm with motion (animation fatigue is real)
102102+- Copy trendy aesthetics blindly (bold means distinctive, not derivative)
103103+104104+## Verify Quality
105105+106106+Ensure amplification maintains usability and coherence:
107107+108108+- **NOT AI slop**: Does this look like every other AI-generated "bold" design? If yes, start over.
109109+- **Still functional**: Can users accomplish tasks without distraction?
110110+- **Coherent**: Does everything feel intentional and unified?
111111+- **Memorable**: Will users remember this experience?
112112+- **Performant**: Do all these effects run smoothly?
113113+- **Accessible**: Does it still meet accessibility standards?
114114+115115+**The test**: If you showed this to someone and said "AI made this bolder," would they believe you immediately? If yes, you've failed. Bold means distinctive, not "more AI effects."
116116+117117+Remember: Bold design is confident design. It takes risks, makes statements, and creates memorable experiences. But bold without strategy is just loud. Be intentional, be dramatic, be unforgettable.
+183
.agents/skills/clarify/SKILL.md
···11+---
22+name: clarify
33+description: Improve unclear UX copy, error messages, microcopy, labels, and instructions to make interfaces easier to understand. Use when the user mentions confusing text, unclear labels, bad error messages, hard-to-follow instructions, or wanting better UX writing.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[target]"
77+---
88+99+Identify and improve unclear, confusing, or poorly written interface text to make the product easier to understand and use.
1010+1111+## MANDATORY PREPARATION
1212+1313+Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first. Additionally gather: audience technical level and users' mental state in context.
1414+1515+---
1616+1717+## Assess Current Copy
1818+1919+Identify what makes the text unclear or ineffective:
2020+2121+1. **Find clarity problems**:
2222+ - **Jargon**: Technical terms users won't understand
2323+ - **Ambiguity**: Multiple interpretations possible
2424+ - **Passive voice**: "Your file has been uploaded" vs "We uploaded your file"
2525+ - **Length**: Too wordy or too terse
2626+ - **Assumptions**: Assuming user knowledge they don't have
2727+ - **Missing context**: Users don't know what to do or why
2828+ - **Tone mismatch**: Too formal, too casual, or inappropriate for situation
2929+3030+2. **Understand the context**:
3131+ - Who's the audience? (Technical? General? First-time users?)
3232+ - What's the user's mental state? (Stressed during error? Confident during success?)
3333+ - What's the action? (What do we want users to do?)
3434+ - What's the constraint? (Character limits? Space limitations?)
3535+3636+**CRITICAL**: Clear copy helps users succeed. Unclear copy creates frustration, errors, and support tickets.
3737+3838+## Plan Copy Improvements
3939+4040+Create a strategy for clearer communication:
4141+4242+- **Primary message**: What's the ONE thing users need to know?
4343+- **Action needed**: What should users do next (if anything)?
4444+- **Tone**: How should this feel? (Helpful? Apologetic? Encouraging?)
4545+- **Constraints**: Length limits, brand voice, localization considerations
4646+4747+**IMPORTANT**: Good UX writing is invisible. Users should understand immediately without noticing the words.
4848+4949+## Improve Copy Systematically
5050+5151+Refine text across these common areas:
5252+5353+### Error Messages
5454+**Bad**: "Error 403: Forbidden"
5555+**Good**: "You don't have permission to view this page. Contact your admin for access."
5656+5757+**Bad**: "Invalid input"
5858+**Good**: "Email addresses need an @ symbol. Try: name@example.com"
5959+6060+**Principles**:
6161+- Explain what went wrong in plain language
6262+- Suggest how to fix it
6363+- Don't blame the user
6464+- Include examples when helpful
6565+- Link to help/support if applicable
6666+6767+### Form Labels & Instructions
6868+**Bad**: "DOB (MM/DD/YYYY)"
6969+**Good**: "Date of birth" (with placeholder showing format)
7070+7171+**Bad**: "Enter value here"
7272+**Good**: "Your email address" or "Company name"
7373+7474+**Principles**:
7575+- Use clear, specific labels (not generic placeholders)
7676+- Show format expectations with examples
7777+- Explain why you're asking (when not obvious)
7878+- Put instructions before the field, not after
7979+- Keep required field indicators clear
8080+8181+### Button & CTA Text
8282+**Bad**: "Click here" | "Submit" | "OK"
8383+**Good**: "Create account" | "Save changes" | "Got it, thanks"
8484+8585+**Principles**:
8686+- Describe the action specifically
8787+- Use active voice (verb + noun)
8888+- Match user's mental model
8989+- Be specific ("Save" is better than "OK")
9090+9191+### Help Text & Tooltips
9292+**Bad**: "This is the username field"
9393+**Good**: "Choose a username. You can change this later in Settings."
9494+9595+**Principles**:
9696+- Add value (don't just repeat the label)
9797+- Answer the implicit question ("What is this?" or "Why do you need this?")
9898+- Keep it brief but complete
9999+- Link to detailed docs if needed
100100+101101+### Empty States
102102+**Bad**: "No items"
103103+**Good**: "No projects yet. Create your first project to get started."
104104+105105+**Principles**:
106106+- Explain why it's empty (if not obvious)
107107+- Show next action clearly
108108+- Make it welcoming, not dead-end
109109+110110+### Success Messages
111111+**Bad**: "Success"
112112+**Good**: "Settings saved! Your changes will take effect immediately."
113113+114114+**Principles**:
115115+- Confirm what happened
116116+- Explain what happens next (if relevant)
117117+- Be brief but complete
118118+- Match the user's emotional moment (celebrate big wins)
119119+120120+### Loading States
121121+**Bad**: "Loading..." (for 30+ seconds)
122122+**Good**: "Analyzing your data... this usually takes 30-60 seconds"
123123+124124+**Principles**:
125125+- Set expectations (how long?)
126126+- Explain what's happening (when it's not obvious)
127127+- Show progress when possible
128128+- Offer escape hatch if appropriate ("Cancel")
129129+130130+### Confirmation Dialogs
131131+**Bad**: "Are you sure?"
132132+**Good**: "Delete 'Project Alpha'? This can't be undone."
133133+134134+**Principles**:
135135+- State the specific action
136136+- Explain consequences (especially for destructive actions)
137137+- Use clear button labels ("Delete project" not "Yes")
138138+- Don't overuse confirmations (only for risky actions)
139139+140140+### Navigation & Wayfinding
141141+**Bad**: Generic labels like "Items" | "Things" | "Stuff"
142142+**Good**: Specific labels like "Your projects" | "Team members" | "Settings"
143143+144144+**Principles**:
145145+- Be specific and descriptive
146146+- Use language users understand (not internal jargon)
147147+- Make hierarchy clear
148148+- Consider information scent (breadcrumbs, current location)
149149+150150+## Apply Clarity Principles
151151+152152+Every piece of copy should follow these rules:
153153+154154+1. **Be specific**: "Enter email" not "Enter value"
155155+2. **Be concise**: Cut unnecessary words (but don't sacrifice clarity)
156156+3. **Be active**: "Save changes" not "Changes will be saved"
157157+4. **Be human**: "Oops, something went wrong" not "System error encountered"
158158+5. **Be helpful**: Tell users what to do, not just what happened
159159+6. **Be consistent**: Use same terms throughout (don't vary for variety)
160160+161161+**NEVER**:
162162+- Use jargon without explanation
163163+- Blame users ("You made an error" → "This field is required")
164164+- Be vague ("Something went wrong" without explanation)
165165+- Use passive voice unnecessarily
166166+- Write overly long explanations (be concise)
167167+- Use humor for errors (be empathetic instead)
168168+- Assume technical knowledge
169169+- Vary terminology (pick one term and stick with it)
170170+- Repeat information (headers restating intros, redundant explanations)
171171+- Use placeholders as the only labels (they disappear when users type)
172172+173173+## Verify Improvements
174174+175175+Test that copy improvements work:
176176+177177+- **Comprehension**: Can users understand without context?
178178+- **Actionability**: Do users know what to do next?
179179+- **Brevity**: Is it as short as possible while remaining clear?
180180+- **Consistency**: Does it match terminology elsewhere?
181181+- **Tone**: Is it appropriate for the situation?
182182+183183+Remember: You're a clarity expert with excellent communication skills. Write like you're explaining to a smart friend who's unfamiliar with the product. Be clear, be helpful, be human.
+143
.agents/skills/colorize/SKILL.md
···11+---
22+name: colorize
33+description: Add strategic color to features that are too monochromatic or lack visual interest, making interfaces more engaging and expressive. Use when the user mentions the design looking gray, dull, lacking warmth, needing more color, or wanting a more vibrant or expressive palette.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[target]"
77+---
88+99+Strategically introduce color to designs that are too monochromatic, gray, or lacking in visual warmth and personality.
1010+1111+## MANDATORY PREPARATION
1212+1313+Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first. Additionally gather: existing brand colors.
1414+1515+---
1616+1717+## Assess Color Opportunity
1818+1919+Analyze the current state and identify opportunities:
2020+2121+1. **Understand current state**:
2222+ - **Color absence**: Pure grayscale? Limited neutrals? One timid accent?
2323+ - **Missed opportunities**: Where could color add meaning, hierarchy, or delight?
2424+ - **Context**: What's appropriate for this domain and audience?
2525+ - **Brand**: Are there existing brand colors we should use?
2626+2727+2. **Identify where color adds value**:
2828+ - **Semantic meaning**: Success (green), error (red), warning (yellow/orange), info (blue)
2929+ - **Hierarchy**: Drawing attention to important elements
3030+ - **Categorization**: Different sections, types, or states
3131+ - **Emotional tone**: Warmth, energy, trust, creativity
3232+ - **Wayfinding**: Helping users navigate and understand structure
3333+ - **Delight**: Moments of visual interest and personality
3434+3535+If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.
3636+3737+**CRITICAL**: More color ≠ better. Strategic color beats rainbow vomit every time. Every color should have a purpose.
3838+3939+## Plan Color Strategy
4040+4141+Create a purposeful color introduction plan:
4242+4343+- **Color palette**: What colors match the brand/context? (Choose 2-4 colors max beyond neutrals)
4444+- **Dominant color**: Which color owns 60% of colored elements?
4545+- **Accent colors**: Which colors provide contrast and highlights? (30% and 10%)
4646+- **Application strategy**: Where does each color appear and why?
4747+4848+**IMPORTANT**: Color should enhance hierarchy and meaning, not create chaos. Less is more when it matters more.
4949+5050+## Introduce Color Strategically
5151+5252+Add color systematically across these dimensions:
5353+5454+### Semantic Color
5555+- **State indicators**:
5656+ - Success: Green tones (emerald, forest, mint)
5757+ - Error: Red/pink tones (rose, crimson, coral)
5858+ - Warning: Orange/amber tones
5959+ - Info: Blue tones (sky, ocean, indigo)
6060+ - Neutral: Gray/slate for inactive states
6161+6262+- **Status badges**: Colored backgrounds or borders for states (active, pending, completed, etc.)
6363+- **Progress indicators**: Colored bars, rings, or charts showing completion or health
6464+6565+### Accent Color Application
6666+- **Primary actions**: Color the most important buttons/CTAs
6767+- **Links**: Add color to clickable text (maintain accessibility)
6868+- **Icons**: Colorize key icons for recognition and personality
6969+- **Headers/titles**: Add color to section headers or key labels
7070+- **Hover states**: Introduce color on interaction
7171+7272+### Background & Surfaces
7373+- **Tinted backgrounds**: Replace pure gray (`#f5f5f5`) with warm neutrals (`oklch(97% 0.01 60)`) or cool tints (`oklch(97% 0.01 250)`)
7474+- **Colored sections**: Use subtle background colors to separate areas
7575+- **Gradient backgrounds**: Add depth with subtle, intentional gradients (not generic purple-blue)
7676+- **Cards & surfaces**: Tint cards or surfaces slightly for warmth
7777+7878+**Use OKLCH for color**: It's perceptually uniform, meaning equal steps in lightness *look* equal. Great for generating harmonious scales.
7979+8080+### Data Visualization
8181+- **Charts & graphs**: Use color to encode categories or values
8282+- **Heatmaps**: Color intensity shows density or importance
8383+- **Comparison**: Color coding for different datasets or timeframes
8484+8585+### Borders & Accents
8686+- **Accent borders**: Add colored left/top borders to cards or sections
8787+- **Underlines**: Color underlines for emphasis or active states
8888+- **Dividers**: Subtle colored dividers instead of gray lines
8989+- **Focus rings**: Colored focus indicators matching brand
9090+9191+### Typography Color
9292+- **Colored headings**: Use brand colors for section headings (maintain contrast)
9393+- **Highlight text**: Color for emphasis or categories
9494+- **Labels & tags**: Small colored labels for metadata or categories
9595+9696+### Decorative Elements
9797+- **Illustrations**: Add colored illustrations or icons
9898+- **Shapes**: Geometric shapes in brand colors as background elements
9999+- **Gradients**: Colorful gradient overlays or mesh backgrounds
100100+- **Blobs/organic shapes**: Soft colored shapes for visual interest
101101+102102+## Balance & Refinement
103103+104104+Ensure color addition improves rather than overwhelms:
105105+106106+### Maintain Hierarchy
107107+- **Dominant color** (60%): Primary brand color or most used accent
108108+- **Secondary color** (30%): Supporting color for variety
109109+- **Accent color** (10%): High contrast for key moments
110110+- **Neutrals** (remaining): Gray/black/white for structure
111111+112112+### Accessibility
113113+- **Contrast ratios**: Ensure WCAG compliance (4.5:1 for text, 3:1 for UI components)
114114+- **Don't rely on color alone**: Use icons, labels, or patterns alongside color
115115+- **Test for color blindness**: Verify red/green combinations work for all users
116116+117117+### Cohesion
118118+- **Consistent palette**: Use colors from defined palette, not arbitrary choices
119119+- **Systematic application**: Same color meanings throughout (green always = success)
120120+- **Temperature consistency**: Warm palette stays warm, cool stays cool
121121+122122+**NEVER**:
123123+- Use every color in the rainbow (choose 2-4 colors beyond neutrals)
124124+- Apply color randomly without semantic meaning
125125+- Put gray text on colored backgrounds—it looks washed out; use a darker shade of the background color or transparency instead
126126+- Use pure gray for neutrals—add subtle color tint (warm or cool) for sophistication
127127+- Use pure black (`#000`) or pure white (`#fff`) for large areas
128128+- Violate WCAG contrast requirements
129129+- Use color as the only indicator (accessibility issue)
130130+- Make everything colorful (defeats the purpose)
131131+- Default to purple-blue gradients (AI slop aesthetic)
132132+133133+## Verify Color Addition
134134+135135+Test that colorization improves the experience:
136136+137137+- **Better hierarchy**: Does color guide attention appropriately?
138138+- **Clearer meaning**: Does color help users understand states/categories?
139139+- **More engaging**: Does the interface feel warmer and more inviting?
140140+- **Still accessible**: Do all color combinations meet WCAG standards?
141141+- **Not overwhelming**: Is color balanced and purposeful?
142142+143143+Remember: Color is emotional and powerful. Use it to create warmth, guide attention, communicate meaning, and express personality. But restraint and strategy matter more than saturation and variety. Be colorful, but be intentional.
+304
.agents/skills/delight/SKILL.md
···11+---
22+name: delight
33+description: Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use. Elevates functional to delightful. Use when the user asks to add polish, personality, animations, micro-interactions, delight, or make an interface feel fun or memorable.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[target]"
77+---
88+99+Identify opportunities to add moments of joy, personality, and unexpected polish that transform functional interfaces into delightful experiences.
1010+1111+## MANDATORY PREPARATION
1212+1313+Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first. Additionally gather: what's appropriate for the domain (playful vs professional vs quirky vs elegant).
1414+1515+---
1616+1717+## Assess Delight Opportunities
1818+1919+Identify where delight would enhance (not distract from) the experience:
2020+2121+1. **Find natural delight moments**:
2222+ - **Success states**: Completed actions (save, send, publish)
2323+ - **Empty states**: First-time experiences, onboarding
2424+ - **Loading states**: Waiting periods that could be entertaining
2525+ - **Achievements**: Milestones, streaks, completions
2626+ - **Interactions**: Hover states, clicks, drags
2727+ - **Errors**: Softening frustrating moments
2828+ - **Easter eggs**: Hidden discoveries for curious users
2929+3030+2. **Understand the context**:
3131+ - What's the brand personality? (Playful? Professional? Quirky? Elegant?)
3232+ - Who's the audience? (Tech-savvy? Creative? Corporate?)
3333+ - What's the emotional context? (Accomplishment? Exploration? Frustration?)
3434+ - What's appropriate? (Banking app ≠ gaming app)
3535+3636+3. **Define delight strategy**:
3737+ - **Subtle sophistication**: Refined micro-interactions (luxury brands)
3838+ - **Playful personality**: Whimsical illustrations and copy (consumer apps)
3939+ - **Helpful surprises**: Anticipating needs before users ask (productivity tools)
4040+ - **Sensory richness**: Satisfying sounds, smooth animations (creative tools)
4141+4242+If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.
4343+4444+**CRITICAL**: Delight should enhance usability, never obscure it. If users notice the delight more than accomplishing their goal, you've gone too far.
4545+4646+## Delight Principles
4747+4848+Follow these guidelines:
4949+5050+### Delight Amplifies, Never Blocks
5151+- Delight moments should be quick (< 1 second)
5252+- Never delay core functionality for delight
5353+- Make delight skippable or subtle
5454+- Respect user's time and task focus
5555+5656+### Surprise and Discovery
5757+- Hide delightful details for users to discover
5858+- Reward exploration and curiosity
5959+- Don't announce every delight moment
6060+- Let users share discoveries with others
6161+6262+### Appropriate to Context
6363+- Match delight to emotional moment (celebrate success, empathize with errors)
6464+- Respect the user's state (don't be playful during critical errors)
6565+- Match brand personality and audience expectations
6666+- Cultural sensitivity (what's delightful varies by culture)
6767+6868+### Compound Over Time
6969+- Delight should remain fresh with repeated use
7070+- Vary responses (not same animation every time)
7171+- Reveal deeper layers with continued use
7272+- Build anticipation through patterns
7373+7474+## Delight Techniques
7575+7676+Add personality and joy through these methods:
7777+7878+### Micro-interactions & Animation
7979+8080+**Button delight**:
8181+```css
8282+/* Satisfying button press */
8383+.button {
8484+ transition: transform 0.1s, box-shadow 0.1s;
8585+}
8686+.button:active {
8787+ transform: translateY(2px);
8888+ box-shadow: 0 2px 4px rgba(0,0,0,0.2);
8989+}
9090+9191+/* Ripple effect on click */
9292+/* Smooth lift on hover */
9393+.button:hover {
9494+ transform: translateY(-2px);
9595+ transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1); /* ease-out-quart */
9696+}
9797+```
9898+9999+**Loading delight**:
100100+- Playful loading animations (not just spinners)
101101+- Personality in loading messages (write product-specific ones, not generic AI filler)
102102+- Progress indication with encouraging messages
103103+- Skeleton screens with subtle animations
104104+105105+**Success animations**:
106106+- Checkmark draw animation
107107+- Confetti burst for major achievements
108108+- Gentle scale + fade for confirmation
109109+- Satisfying sound effects (subtle)
110110+111111+**Hover surprises**:
112112+- Icons that animate on hover
113113+- Color shifts or glow effects
114114+- Tooltip reveals with personality
115115+- Cursor changes (custom cursors for branded experiences)
116116+117117+### Personality in Copy
118118+119119+**Playful error messages**:
120120+```
121121+"Error 404"
122122+"This page is playing hide and seek. (And winning)"
123123+124124+"Connection failed"
125125+"Looks like the internet took a coffee break. Want to retry?"
126126+```
127127+128128+**Encouraging empty states**:
129129+```
130130+"No projects"
131131+"Your canvas awaits. Create something amazing."
132132+133133+"No messages"
134134+"Inbox zero! You're crushing it today."
135135+```
136136+137137+**Playful labels & tooltips**:
138138+```
139139+"Delete"
140140+"Send to void" (for playful brand)
141141+142142+"Help"
143143+"Rescue me" (tooltip)
144144+```
145145+146146+**IMPORTANT**: Match copy personality to brand. Banks shouldn't be wacky, but they can be warm.
147147+148148+### Illustrations & Visual Personality
149149+150150+**Custom illustrations**:
151151+- Empty state illustrations (not stock icons)
152152+- Error state illustrations (friendly monsters, quirky characters)
153153+- Loading state illustrations (animated characters)
154154+- Success state illustrations (celebrations)
155155+156156+**Icon personality**:
157157+- Custom icon set matching brand personality
158158+- Animated icons (subtle motion on hover/click)
159159+- Illustrative icons (more detailed than generic)
160160+- Consistent style across all icons
161161+162162+**Background effects**:
163163+- Subtle particle effects
164164+- Gradient mesh backgrounds
165165+- Geometric patterns
166166+- Parallax depth
167167+- Time-of-day themes (morning vs night)
168168+169169+### Satisfying Interactions
170170+171171+**Drag and drop delight**:
172172+- Lift effect on drag (shadow, scale)
173173+- Snap animation when dropped
174174+- Satisfying placement sound
175175+- Undo toast ("Dropped in wrong place? [Undo]")
176176+177177+**Toggle switches**:
178178+- Smooth slide with spring physics
179179+- Color transition
180180+- Haptic feedback on mobile
181181+- Optional sound effect
182182+183183+**Progress & achievements**:
184184+- Streak counters with celebratory milestones
185185+- Progress bars that "celebrate" at 100%
186186+- Badge unlocks with animation
187187+- Playful stats ("You're on fire! 5 days in a row")
188188+189189+**Form interactions**:
190190+- Input fields that animate on focus
191191+- Checkboxes with a satisfying scale pulse when checked
192192+- Success state that celebrates valid input
193193+- Auto-grow textareas
194194+195195+### Sound Design
196196+197197+**Subtle audio cues** (when appropriate):
198198+- Notification sounds (distinctive but not annoying)
199199+- Success sounds (satisfying "ding")
200200+- Error sounds (empathetic, not harsh)
201201+- Typing sounds for chat/messaging
202202+- Ambient background audio (very subtle)
203203+204204+**IMPORTANT**:
205205+- Respect system sound settings
206206+- Provide mute option
207207+- Keep volumes quiet (subtle cues, not alarms)
208208+- Don't play on every interaction (sound fatigue is real)
209209+210210+### Easter Eggs & Hidden Delights
211211+212212+**Discovery rewards**:
213213+- Konami code unlocks special theme
214214+- Hidden keyboard shortcuts (Cmd+K for special features)
215215+- Hover reveals on logos or illustrations
216216+- Alt text jokes on images (for screen reader users too!)
217217+- Console messages for developers ("Like what you see? We're hiring!")
218218+219219+**Seasonal touches**:
220220+- Holiday themes (subtle, tasteful)
221221+- Seasonal color shifts
222222+- Weather-based variations
223223+- Time-based changes (dark at night, light during day)
224224+225225+**Contextual personality**:
226226+- Different messages based on time of day
227227+- Responses to specific user actions
228228+- Randomized variations (not same every time)
229229+- Progressive reveals with continued use
230230+231231+### Loading & Waiting States
232232+233233+**Make waiting engaging**:
234234+- Interesting loading messages that rotate
235235+- Progress bars with personality
236236+- Mini-games during long loads
237237+- Fun facts or tips while waiting
238238+- Countdown with encouraging messages
239239+240240+```
241241+Loading messages — write ones specific to your product, not generic AI filler:
242242+- "Crunching your latest numbers..."
243243+- "Syncing with your team's changes..."
244244+- "Preparing your dashboard..."
245245+- "Checking for updates since yesterday..."
246246+```
247247+248248+**WARNING**: Avoid cliched loading messages like "Herding pixels", "Teaching robots to dance", "Consulting the magic 8-ball", "Counting backwards from infinity". These are AI-slop copy — instantly recognizable as machine-generated. Write messages that are specific to what your product actually does.
249249+250250+### Celebration Moments
251251+252252+**Success celebrations**:
253253+- Confetti for major milestones
254254+- Animated checkmarks for completions
255255+- Progress bar celebrations at 100%
256256+- "Achievement unlocked" style notifications
257257+- Personalized messages ("You published your 10th article!")
258258+259259+**Milestone recognition**:
260260+- First-time actions get special treatment
261261+- Streak tracking and celebration
262262+- Progress toward goals
263263+- Anniversary celebrations
264264+265265+## Implementation Patterns
266266+267267+**Animation libraries**:
268268+- Framer Motion (React)
269269+- GSAP (universal)
270270+- Lottie (After Effects animations)
271271+- Canvas confetti (party effects)
272272+273273+**Sound libraries**:
274274+- Howler.js (audio management)
275275+- Use-sound (React hook)
276276+277277+**Physics libraries**:
278278+- React Spring (spring physics)
279279+- Popmotion (animation primitives)
280280+281281+**IMPORTANT**: File size matters. Compress images, optimize animations, lazy load delight features.
282282+283283+**NEVER**:
284284+- Delay core functionality for delight
285285+- Force users through delightful moments (make skippable)
286286+- Use delight to hide poor UX
287287+- Overdo it (less is more)
288288+- Ignore accessibility (animate responsibly, provide alternatives)
289289+- Make every interaction delightful (special moments should be special)
290290+- Sacrifice performance for delight
291291+- Be inappropriate for context (read the room)
292292+293293+## Verify Delight Quality
294294+295295+Test that delight actually delights:
296296+297297+- **User reactions**: Do users smile? Share screenshots?
298298+- **Doesn't annoy**: Still pleasant after 100th time?
299299+- **Doesn't block**: Can users opt out or skip?
300300+- **Performant**: No jank, no slowdown
301301+- **Appropriate**: Matches brand and context
302302+- **Accessible**: Works with reduced motion, screen readers
303303+304304+Remember: Delight is the difference between a tool and an experience. Add personality, surprise users positively, and create moments worth sharing. But always respect usability - delight should enhance, never obstruct.
+122
.agents/skills/distill/SKILL.md
···11+---
22+name: distill
33+description: Strip designs to their essence by removing unnecessary complexity. Great design is simple, powerful, and clean. Use when the user asks to simplify, declutter, reduce noise, remove elements, or make a UI cleaner and more focused.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[target]"
77+---
88+99+Remove unnecessary complexity from designs, revealing the essential elements and creating clarity through ruthless simplification.
1010+1111+## MANDATORY PREPARATION
1212+1313+Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first.
1414+1515+---
1616+1717+## Assess Current State
1818+1919+Analyze what makes the design feel complex or cluttered:
2020+2121+1. **Identify complexity sources**:
2222+ - **Too many elements**: Competing buttons, redundant information, visual clutter
2323+ - **Excessive variation**: Too many colors, fonts, sizes, styles without purpose
2424+ - **Information overload**: Everything visible at once, no progressive disclosure
2525+ - **Visual noise**: Unnecessary borders, shadows, backgrounds, decorations
2626+ - **Confusing hierarchy**: Unclear what matters most
2727+ - **Feature creep**: Too many options, actions, or paths forward
2828+2929+2. **Find the essence**:
3030+ - What's the primary user goal? (There should be ONE)
3131+ - What's actually necessary vs nice-to-have?
3232+ - What can be removed, hidden, or combined?
3333+ - What's the 20% that delivers 80% of value?
3434+3535+If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.
3636+3737+**CRITICAL**: Simplicity is not about removing features - it's about removing obstacles between users and their goals. Every element should justify its existence.
3838+3939+## Plan Simplification
4040+4141+Create a ruthless editing strategy:
4242+4343+- **Core purpose**: What's the ONE thing this should accomplish?
4444+- **Essential elements**: What's truly necessary to achieve that purpose?
4545+- **Progressive disclosure**: What can be hidden until needed?
4646+- **Consolidation opportunities**: What can be combined or integrated?
4747+4848+**IMPORTANT**: Simplification is hard. It requires saying no to good ideas to make room for great execution. Be ruthless.
4949+5050+## Simplify the Design
5151+5252+Systematically remove complexity across these dimensions:
5353+5454+### Information Architecture
5555+- **Reduce scope**: Remove secondary actions, optional features, redundant information
5656+- **Progressive disclosure**: Hide complexity behind clear entry points (accordions, modals, step-through flows)
5757+- **Combine related actions**: Merge similar buttons, consolidate forms, group related content
5858+- **Clear hierarchy**: ONE primary action, few secondary actions, everything else tertiary or hidden
5959+- **Remove redundancy**: If it's said elsewhere, don't repeat it here
6060+6161+### Visual Simplification
6262+- **Reduce color palette**: Use 1-2 colors plus neutrals, not 5-7 colors
6363+- **Limit typography**: One font family, 3-4 sizes maximum, 2-3 weights
6464+- **Remove decorations**: Eliminate borders, shadows, backgrounds that don't serve hierarchy or function
6565+- **Flatten structure**: Reduce nesting, remove unnecessary containers—never nest cards inside cards
6666+- **Remove unnecessary cards**: Cards aren't needed for basic layout; use spacing and alignment instead
6767+- **Consistent spacing**: Use one spacing scale, remove arbitrary gaps
6868+6969+### Layout Simplification
7070+- **Linear flow**: Replace complex grids with simple vertical flow where possible
7171+- **Remove sidebars**: Move secondary content inline or hide it
7272+- **Full-width**: Use available space generously instead of complex multi-column layouts
7373+- **Consistent alignment**: Pick left or center, stick with it
7474+- **Generous white space**: Let content breathe, don't pack everything tight
7575+7676+### Interaction Simplification
7777+- **Reduce choices**: Fewer buttons, fewer options, clearer path forward (paradox of choice is real)
7878+- **Smart defaults**: Make common choices automatic, only ask when necessary
7979+- **Inline actions**: Replace modal flows with inline editing where possible
8080+- **Remove steps**: Can signup be one step instead of three? Can checkout be simplified?
8181+- **Clear CTAs**: ONE obvious next step, not five competing actions
8282+8383+### Content Simplification
8484+- **Shorter copy**: Cut every sentence in half, then do it again
8585+- **Active voice**: "Save changes" not "Changes will be saved"
8686+- **Remove jargon**: Plain language always wins
8787+- **Scannable structure**: Short paragraphs, bullet points, clear headings
8888+- **Essential information only**: Remove marketing fluff, legalese, hedging
8989+- **Remove redundant copy**: No headers restating intros, no repeated explanations, say it once
9090+9191+### Code Simplification
9292+- **Remove unused code**: Dead CSS, unused components, orphaned files
9393+- **Flatten component trees**: Reduce nesting depth
9494+- **Consolidate styles**: Merge similar styles, use utilities consistently
9595+- **Reduce variants**: Does that component need 12 variations, or can 3 cover 90% of cases?
9696+9797+**NEVER**:
9898+- Remove necessary functionality (simplicity ≠ feature-less)
9999+- Sacrifice accessibility for simplicity (clear labels and ARIA still required)
100100+- Make things so simple they're unclear (mystery ≠ minimalism)
101101+- Remove information users need to make decisions
102102+- Eliminate hierarchy completely (some things should stand out)
103103+- Oversimplify complex domains (match complexity to actual task complexity)
104104+105105+## Verify Simplification
106106+107107+Ensure simplification improves usability:
108108+109109+- **Faster task completion**: Can users accomplish goals more quickly?
110110+- **Reduced cognitive load**: Is it easier to understand what to do?
111111+- **Still complete**: Are all necessary features still accessible?
112112+- **Clearer hierarchy**: Is it obvious what matters most?
113113+- **Better performance**: Does simpler design load faster?
114114+115115+## Document Removed Complexity
116116+117117+If you removed features or options:
118118+- Document why they were removed
119119+- Consider if they need alternative access points
120120+- Note any user feedback to monitor
121121+122122+Remember: You have great taste and judgment. Simplification is an act of confidence - knowing what to keep and courage to remove the rest. As Antoine de Saint-Exupéry said: "Perfection is achieved not when there is nothing more to add, but when there is nothing left to take away."
-177
.agents/skills/frontend-design/LICENSE.txt
···11-22- Apache License
33- Version 2.0, January 2004
44- http://www.apache.org/licenses/
55-66- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
77-88- 1. Definitions.
99-1010- "License" shall mean the terms and conditions for use, reproduction,
1111- and distribution as defined by Sections 1 through 9 of this document.
1212-1313- "Licensor" shall mean the copyright owner or entity authorized by
1414- the copyright owner that is granting the License.
1515-1616- "Legal Entity" shall mean the union of the acting entity and all
1717- other entities that control, are controlled by, or are under common
1818- control with that entity. For the purposes of this definition,
1919- "control" means (i) the power, direct or indirect, to cause the
2020- direction or management of such entity, whether by contract or
2121- otherwise, or (ii) ownership of fifty percent (50%) or more of the
2222- outstanding shares, or (iii) beneficial ownership of such entity.
2323-2424- "You" (or "Your") shall mean an individual or Legal Entity
2525- exercising permissions granted by this License.
2626-2727- "Source" form shall mean the preferred form for making modifications,
2828- including but not limited to software source code, documentation
2929- source, and configuration files.
3030-3131- "Object" form shall mean any form resulting from mechanical
3232- transformation or translation of a Source form, including but
3333- not limited to compiled object code, generated documentation,
3434- and conversions to other media types.
3535-3636- "Work" shall mean the work of authorship, whether in Source or
3737- Object form, made available under the License, as indicated by a
3838- copyright notice that is included in or attached to the work
3939- (an example is provided in the Appendix below).
4040-4141- "Derivative Works" shall mean any work, whether in Source or Object
4242- form, that is based on (or derived from) the Work and for which the
4343- editorial revisions, annotations, elaborations, or other modifications
4444- represent, as a whole, an original work of authorship. For the purposes
4545- of this License, Derivative Works shall not include works that remain
4646- separable from, or merely link (or bind by name) to the interfaces of,
4747- the Work and Derivative Works thereof.
4848-4949- "Contribution" shall mean any work of authorship, including
5050- the original version of the Work and any modifications or additions
5151- to that Work or Derivative Works thereof, that is intentionally
5252- submitted to Licensor for inclusion in the Work by the copyright owner
5353- or by an individual or Legal Entity authorized to submit on behalf of
5454- the copyright owner. For the purposes of this definition, "submitted"
5555- means any form of electronic, verbal, or written communication sent
5656- to the Licensor or its representatives, including but not limited to
5757- communication on electronic mailing lists, source code control systems,
5858- and issue tracking systems that are managed by, or on behalf of, the
5959- Licensor for the purpose of discussing and improving the Work, but
6060- excluding communication that is conspicuously marked or otherwise
6161- designated in writing by the copyright owner as "Not a Contribution."
6262-6363- "Contributor" shall mean Licensor and any individual or Legal Entity
6464- on behalf of whom a Contribution has been received by Licensor and
6565- subsequently incorporated within the Work.
6666-6767- 2. Grant of Copyright License. Subject to the terms and conditions of
6868- this License, each Contributor hereby grants to You a perpetual,
6969- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7070- copyright license to reproduce, prepare Derivative Works of,
7171- publicly display, publicly perform, sublicense, and distribute the
7272- Work and such Derivative Works in Source or Object form.
7373-7474- 3. Grant of Patent License. Subject to the terms and conditions of
7575- this License, each Contributor hereby grants to You a perpetual,
7676- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
7777- (except as stated in this section) patent license to make, have made,
7878- use, offer to sell, sell, import, and otherwise transfer the Work,
7979- where such license applies only to those patent claims licensable
8080- by such Contributor that are necessarily infringed by their
8181- Contribution(s) alone or by combination of their Contribution(s)
8282- with the Work to which such Contribution(s) was submitted. If You
8383- institute patent litigation against any entity (including a
8484- cross-claim or counterclaim in a lawsuit) alleging that the Work
8585- or a Contribution incorporated within the Work constitutes direct
8686- or contributory patent infringement, then any patent licenses
8787- granted to You under this License for that Work shall terminate
8888- as of the date such litigation is filed.
8989-9090- 4. Redistribution. You may reproduce and distribute copies of the
9191- Work or Derivative Works thereof in any medium, with or without
9292- modifications, and in Source or Object form, provided that You
9393- meet the following conditions:
9494-9595- (a) You must give any other recipients of the Work or
9696- Derivative Works a copy of this License; and
9797-9898- (b) You must cause any modified files to carry prominent notices
9999- stating that You changed the files; and
100100-101101- (c) You must retain, in the Source form of any Derivative Works
102102- that You distribute, all copyright, patent, trademark, and
103103- attribution notices from the Source form of the Work,
104104- excluding those notices that do not pertain to any part of
105105- the Derivative Works; and
106106-107107- (d) If the Work includes a "NOTICE" text file as part of its
108108- distribution, then any Derivative Works that You distribute must
109109- include a readable copy of the attribution notices contained
110110- within such NOTICE file, excluding those notices that do not
111111- pertain to any part of the Derivative Works, in at least one
112112- of the following places: within a NOTICE text file distributed
113113- as part of the Derivative Works; within the Source form or
114114- documentation, if provided along with the Derivative Works; or,
115115- within a display generated by the Derivative Works, if and
116116- wherever such third-party notices normally appear. The contents
117117- of the NOTICE file are for informational purposes only and
118118- do not modify the License. You may add Your own attribution
119119- notices within Derivative Works that You distribute, alongside
120120- or as an addendum to the NOTICE text from the Work, provided
121121- that such additional attribution notices cannot be construed
122122- as modifying the License.
123123-124124- You may add Your own copyright statement to Your modifications and
125125- may provide additional or different license terms and conditions
126126- for use, reproduction, or distribution of Your modifications, or
127127- for any such Derivative Works as a whole, provided Your use,
128128- reproduction, and distribution of the Work otherwise complies with
129129- the conditions stated in this License.
130130-131131- 5. Submission of Contributions. Unless You explicitly state otherwise,
132132- any Contribution intentionally submitted for inclusion in the Work
133133- by You to the Licensor shall be under the terms and conditions of
134134- this License, without any additional terms or conditions.
135135- Notwithstanding the above, nothing herein shall supersede or modify
136136- the terms of any separate license agreement you may have executed
137137- with Licensor regarding such Contributions.
138138-139139- 6. Trademarks. This License does not grant permission to use the trade
140140- names, trademarks, service marks, or product names of the Licensor,
141141- except as required for reasonable and customary use in describing the
142142- origin of the Work and reproducing the content of the NOTICE file.
143143-144144- 7. Disclaimer of Warranty. Unless required by applicable law or
145145- agreed to in writing, Licensor provides the Work (and each
146146- Contributor provides its Contributions) on an "AS IS" BASIS,
147147- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148148- implied, including, without limitation, any warranties or conditions
149149- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150150- PARTICULAR PURPOSE. You are solely responsible for determining the
151151- appropriateness of using or redistributing the Work and assume any
152152- risks associated with Your exercise of permissions under this License.
153153-154154- 8. Limitation of Liability. In no event and under no legal theory,
155155- whether in tort (including negligence), contract, or otherwise,
156156- unless required by applicable law (such as deliberate and grossly
157157- negligent acts) or agreed to in writing, shall any Contributor be
158158- liable to You for damages, including any direct, indirect, special,
159159- incidental, or consequential damages of any character arising as a
160160- result of this License or out of the use or inability to use the
161161- Work (including but not limited to damages for loss of goodwill,
162162- work stoppage, computer failure or malfunction, or any and all
163163- other commercial damages or losses), even if such Contributor
164164- has been advised of the possibility of such damages.
165165-166166- 9. Accepting Warranty or Additional Liability. While redistributing
167167- the Work or Derivative Works thereof, You may choose to offer,
168168- and charge a fee for, acceptance of support, warranty, indemnity,
169169- or other liability obligations and/or rights consistent with this
170170- License. However, in accepting such obligations, You may act only
171171- on Your own behalf and on Your sole responsibility, not on behalf
172172- of any other Contributor, and only if You agree to indemnify,
173173- defend, and hold each Contributor harmless for any liability
174174- incurred by, or claims asserted against, such Contributor by reason
175175- of your accepting any such warranty or additional liability.
176176-177177- END OF TERMS AND CONDITIONS
-45
.agents/skills/frontend-design/SKILL.md
···11----
22-name: frontend-design
33-description: Create distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, artifacts, posters, or applications (examples include websites, landing pages, dashboards, React components, HTML/CSS layouts, or when styling/beautifying any web UI). Generates creative, polished code and UI design that avoids generic AI aesthetics.
44-license: Complete terms in LICENSE.txt
55----
66-77-This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
88-99-The user provides frontend requirements: a component, page, application, or interface to build. They may include context about the purpose, audience, or technical constraints.
1010-1111-## Design Thinking
1212-1313-Before coding, understand the context and commit to a BOLD aesthetic direction:
1414-1515-- **Purpose**: What problem does this interface solve? Who uses it?
1616-- **Tone**: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.
1717-- **Constraints**: Technical requirements (framework, performance, accessibility).
1818-- **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember?
1919-2020-**CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work - the key is intentionality, not intensity.
2121-2222-Then implement working code (HTML/CSS/JS, React, Vue, etc.) that is:
2323-2424-- Production-grade and functional
2525-- Visually striking and memorable
2626-- Cohesive with a clear aesthetic point-of-view
2727-- Meticulously refined in every detail
2828-2929-## Frontend Aesthetics Guidelines
3030-3131-Focus on:
3232-3333-- **Typography**: Choose fonts that are beautiful, unique, and interesting. Avoid generic fonts like Arial and Inter; opt instead for distinctive choices that elevate the frontend's aesthetics; unexpected, characterful font choices. Pair a distinctive display font with a refined body font.
3434-- **Color & Theme**: Commit to a cohesive aesthetic. Use CSS variables for consistency. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.
3535-- **Motion**: Use animations for effects and micro-interactions. Prioritize CSS-only solutions for HTML. Use Motion library for React when available. Focus on high-impact moments: one well-orchestrated page load with staggered reveals (animation-delay) creates more delight than scattered micro-interactions. Use scroll-triggering and hover states that surprise.
3636-- **Spatial Composition**: Unexpected layouts. Asymmetry. Overlap. Diagonal flow. Grid-breaking elements. Generous negative space OR controlled density.
3737-- **Backgrounds & Visual Details**: Create atmosphere and depth rather than defaulting to solid colors. Add contextual effects and textures that match the overall aesthetic. Apply creative forms like gradient meshes, noise textures, geometric patterns, layered transparencies, dramatic shadows, decorative borders, custom cursors, and grain overlays.
3838-3939-NEVER use generic AI-generated aesthetics like overused font families (Inter, Roboto, Arial, system fonts), cliched color schemes (particularly purple gradients on white backgrounds), predictable layouts and component patterns, and cookie-cutter design that lacks context-specific character.
4040-4141-Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices (Space Grotesk, for example) across generations.
4242-4343-**IMPORTANT**: Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details. Elegance comes from executing the vision well.
4444-4545-Remember: Claude is capable of extraordinary creative work. Don't hold back, show what can truly be created when thinking outside the box and committing fully to a distinctive vision.
+349
.agents/skills/impeccable/SKILL.md
···11+---
22+name: impeccable
33+description: Create distinctive, production-grade frontend interfaces with high design quality. Generates creative, polished code that avoids generic AI aesthetics. Use when the user asks to build web components, pages, artifacts, posters, or applications, or when any design skill requires project context. Call with 'craft' for shape-then-build, 'teach' for design context setup, or 'extract' to pull reusable components and tokens into the design system.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[craft|teach|extract]"
77+license: Apache 2.0. Based on Anthropic's frontend-design skill. See NOTICE.md for attribution.
88+---
99+1010+This skill guides creation of distinctive, production-grade frontend interfaces that avoid generic "AI slop" aesthetics. Implement real working code with exceptional attention to aesthetic details and creative choices.
1111+1212+## Context Gathering Protocol
1313+1414+Design skills produce generic output without project context. You MUST have confirmed design context before doing any design work.
1515+1616+**Required context** (every design skill needs at minimum):
1717+- **Target audience**: Who uses this product and in what context?
1818+- **Use cases**: What jobs are they trying to get done?
1919+- **Brand personality/tone**: How should the interface feel?
2020+2121+Individual skills may require additional context. Check the skill's preparation section for specifics.
2222+2323+**CRITICAL**: You cannot infer this context by reading the codebase. Code tells you what was built, not who it's for or what it should feel like. Only the creator can provide this context.
2424+2525+**Gathering order:**
2626+1. **Check current instructions (instant)**: If your loaded instructions already contain a **Design Context** section, proceed immediately.
2727+2. **Check .impeccable.md (fast)**: If not in instructions, read `.impeccable.md` from the project root. If it exists and contains the required context, proceed.
2828+3. **Run impeccable teach (REQUIRED)**: If neither source has context, you MUST run /impeccable teach NOW before doing anything else. Do NOT skip this step. Do NOT attempt to infer context from the codebase instead.
2929+3030+---
3131+3232+## Design Direction
3333+3434+Commit to a BOLD aesthetic direction:
3535+- **Purpose**: What problem does this interface solve? Who uses it?
3636+- **Tone**: Pick an extreme: brutally minimal, maximalist chaos, retro-futuristic, organic/natural, luxury/refined, playful/toy-like, editorial/magazine, brutalist/raw, art deco/geometric, soft/pastel, industrial/utilitarian, etc. There are so many flavors to choose from. Use these for inspiration but design one that is true to the aesthetic direction.
3737+- **Constraints**: Technical requirements (framework, performance, accessibility).
3838+- **Differentiation**: What makes this UNFORGETTABLE? What's the one thing someone will remember?
3939+4040+**CRITICAL**: Choose a clear conceptual direction and execute it with precision. Bold maximalism and refined minimalism both work. The key is intentionality, not intensity.
4141+4242+Then implement working code that is:
4343+- Production-grade and functional
4444+- Visually striking and memorable
4545+- Cohesive with a clear aesthetic point-of-view
4646+- Meticulously refined in every detail
4747+4848+## Frontend Aesthetics Guidelines
4949+5050+### Typography
5151+→ *Consult [typography reference](reference/typography.md) for OpenType features, web font loading, and the deeper material on scales.*
5252+5353+Choose fonts that are beautiful, unique, and interesting. Pair a distinctive display font with a refined body font.
5454+5555+<typography_principles>
5656+Always apply these — do not consult a reference, just do them:
5757+5858+- Use a modular type scale with fluid sizing (clamp) for headings on marketing/content pages. Use fixed `rem` scales for app UIs and dashboards (no major design system uses fluid type in product UI).
5959+- Use fewer sizes with more contrast. A 5-step scale with at least a 1.25 ratio between steps creates clearer hierarchy than 8 sizes that are 1.1× apart.
6060+- Line-height scales inversely with line length. Narrow columns want tighter leading, wide columns want more. For light text on dark backgrounds, ADD 0.05-0.1 to your normal line-height — light type reads as lighter weight and needs more breathing room.
6161+- Cap line length at ~65-75ch. Body text wider than that is fatiguing.
6262+</typography_principles>
6363+6464+<font_selection_procedure>
6565+DO THIS BEFORE TYPING ANY FONT NAME.
6666+6767+The model's natural failure mode is "I was told not to use Inter, so I will pick my next favorite font, which becomes the new monoculture." Avoid this by performing the following procedure on every project, in order:
6868+6969+Step 1. Read the brief once. Write down 3 concrete words for the brand voice (e.g., "warm and mechanical and opinionated", "calm and clinical and careful", "fast and dense and unimpressed", "handmade and a little weird"). NOT "modern" or "elegant" — those are dead categories.
7070+7171+Step 2. List the 3 fonts you would normally reach for given those words. Write them down. They are most likely from this list:
7272+7373+<reflex_fonts_to_reject>
7474+Fraunces
7575+Newsreader
7676+Lora
7777+Crimson
7878+Crimson Pro
7979+Crimson Text
8080+Playfair Display
8181+Cormorant
8282+Cormorant Garamond
8383+Syne
8484+IBM Plex Mono
8585+IBM Plex Sans
8686+IBM Plex Serif
8787+Space Mono
8888+Space Grotesk
8989+Inter
9090+DM Sans
9191+DM Serif Display
9292+DM Serif Text
9393+Outfit
9494+Plus Jakarta Sans
9595+Instrument Sans
9696+Instrument Serif
9797+</reflex_fonts_to_reject>
9898+9999+Reject every font that appears in the reflex_fonts_to_reject list. They are your training-data defaults and they create monoculture across projects.
100100+101101+Step 3. Browse a font catalog with the 3 brand words in mind. Sources: Google Fonts, Pangram Pangram, Future Fonts, Adobe Fonts, ABC Dinamo, Klim Type Foundry, Velvetyne. Look for something that fits the brand as a *physical object* — a museum exhibit caption, a hand-painted shop sign, a 1970s mainframe terminal manual, a fabric label on the inside of a coat, a children's book printed on cheap newsprint. Reject the first thing that "looks designy" — that's the trained reflex too. Keep looking.
102102+103103+Step 4. Cross-check the result. The right font for an "elegant" brief is NOT necessarily a serif. The right font for a "technical" brief is NOT necessarily a sans-serif. The right font for a "warm" brief is NOT Fraunces. If your final pick lines up with your reflex pattern, go back to Step 3.
104104+</font_selection_procedure>
105105+106106+<typography_rules>
107107+DO use a modular type scale with fluid sizing (clamp) on headings.
108108+DO vary font weights and sizes to create clear visual hierarchy.
109109+DO vary your font choices across projects. If you used a serif display font on the last project, look for a sans, monospace, or display face on this one.
110110+111111+DO NOT use overused fonts like Inter, Roboto, Arial, Open Sans, or system defaults — but also do not simply switch to your second-favorite. Every font in the reflex_fonts_to_reject list above is banned. Look further.
112112+DO NOT use monospace typography as lazy shorthand for "technical/developer" vibes.
113113+DO NOT put large icons with rounded corners above every heading. They rarely add value and make sites look templated.
114114+DO NOT use only one font family for the entire page. Pair a distinctive display font with a refined body font.
115115+DO NOT use a flat type hierarchy where sizes are too close together. Aim for at least a 1.25 ratio between steps.
116116+DO NOT set long body passages in uppercase. Reserve all-caps for short labels and headings.
117117+</typography_rules>
118118+119119+### Color & Theme
120120+→ *Consult [color reference](reference/color-and-contrast.md) for the deeper material on contrast, accessibility, and palette construction.*
121121+122122+Commit to a cohesive palette. Dominant colors with sharp accents outperform timid, evenly-distributed palettes.
123123+124124+<color_principles>
125125+Always apply these — do not consult a reference, just do them:
126126+127127+- Use OKLCH, not HSL. OKLCH is perceptually uniform: equal steps in lightness *look* equal, which HSL does not deliver. As you move toward white or black, REDUCE chroma — high chroma at extreme lightness looks garish. A light blue at 85% lightness wants ~0.08 chroma, not the 0.15 of your base color.
128128+- Tint your neutrals toward your brand hue. Even a chroma of 0.005-0.01 is perceptible and creates subconscious cohesion between brand color and UI surfaces. The hue you tint toward should come from THIS brand, not from a "warm = friendly" or "cool = tech" formula. Pick the brand's actual hue first, then tint everything toward it.
129129+- The 60-30-10 rule is about visual *weight*, not pixel count. 60% neutral / surface, 30% secondary text and borders, 10% accent. Accents work BECAUSE they're rare. Overuse kills their power.
130130+</color_principles>
131131+132132+<theme_selection>
133133+Theme (light vs dark) should be DERIVED from audience and viewing context, not picked from a default. Read the brief and ask: when is this product used, by whom, in what physical setting?
134134+135135+- A perp DEX consumed during fast trading sessions → dark
136136+- A hospital portal consumed by anxious patients on phones late at night → light
137137+- A children's reading app → light
138138+- A vintage motorcycle forum where users sit in their garage at 9pm → dark
139139+- An observability dashboard for SREs in a dark office → dark
140140+- A wedding planning checklist for couples on a Sunday morning → light
141141+- A music player app for headphone listening at night → dark
142142+- A food magazine homepage browsed during a coffee break → light
143143+144144+Do not default everything to light "to play it safe." Do not default everything to dark "to look cool." Both defaults are the lazy reflex. The correct theme is the one the actual user wants in their actual context.
145145+</theme_selection>
146146+147147+<color_rules>
148148+DO use modern CSS color functions (oklch, color-mix, light-dark) for perceptually uniform, maintainable palettes.
149149+DO tint your neutrals toward your brand hue. Even a subtle hint creates subconscious cohesion.
150150+151151+DO NOT use gray text on colored backgrounds; it looks washed out. Use a shade of the background color instead.
152152+DO NOT use pure black (#000) or pure white (#fff). Always tint; pure black/white never appears in nature.
153153+DO NOT use the AI color palette: cyan-on-dark, purple-to-blue gradients, neon accents on dark backgrounds.
154154+DO NOT use gradient text for impact — see <absolute_bans> below for the strict definition. Solid colors only for text.
155155+DO NOT default to dark mode with glowing accents. It looks "cool" without requiring actual design decisions.
156156+DO NOT default to light mode "to be safe" either. The point is to choose, not to retreat to a safe option.
157157+</color_rules>
158158+159159+### Layout & Space
160160+→ *Consult [spatial reference](reference/spatial-design.md) for the deeper material on grids, container queries, and optical adjustments.*
161161+162162+Create visual rhythm through varied spacing, not the same padding everywhere. Embrace asymmetry and unexpected compositions. Break the grid intentionally for emphasis.
163163+164164+<spatial_principles>
165165+Always apply these — do not consult a reference, just do them:
166166+167167+- Use a 4pt spacing scale with semantic token names (`--space-sm`, `--space-md`), not pixel-named (`--spacing-8`). Scale: 4, 8, 12, 16, 24, 32, 48, 64, 96. 8pt is too coarse — you'll often want 12px between two values.
168168+- Use `gap` instead of margins for sibling spacing. It eliminates margin collapse and the cleanup hacks that come with it.
169169+- Vary spacing for hierarchy. A heading with extra space above it reads as more important — make use of that. Don't apply the same padding everywhere.
170170+- Self-adjusting grid pattern: `grid-template-columns: repeat(auto-fit, minmax(280px, 1fr))` is the breakpoint-free responsive grid for card-style content.
171171+- Container queries are for components, viewport queries are for page layout. A card in a sidebar should adapt to the sidebar's width, not the viewport's.
172172+</spatial_principles>
173173+174174+<spatial_rules>
175175+DO create visual rhythm through varied spacing: tight groupings, generous separations.
176176+DO use fluid spacing with clamp() that breathes on larger screens.
177177+DO use asymmetry and unexpected compositions; break the grid intentionally for emphasis.
178178+179179+DO NOT wrap everything in cards. Not everything needs a container.
180180+DO NOT nest cards inside cards. Visual noise; flatten the hierarchy.
181181+DO NOT use identical card grids (same-sized cards with icon + heading + text, repeated endlessly).
182182+DO NOT use the hero metric layout template (big number, small label, supporting stats, gradient accent).
183183+DO NOT center everything. Left-aligned text with asymmetric layouts feels more designed.
184184+DO NOT use the same spacing everywhere. Without rhythm, layouts feel monotonous.
185185+DO NOT let body text wrap beyond ~80 characters per line. Add a max-width like 65–75ch so the eye can track easily.
186186+</spatial_rules>
187187+188188+### Visual Details
189189+190190+<absolute_bans>
191191+These CSS patterns are NEVER acceptable. They are the most recognizable AI design tells. Match-and-refuse: if you find yourself about to write any of these, stop and rewrite the element with a different structure entirely.
192192+193193+BAN 1: Side-stripe borders on cards/list items/callouts/alerts
194194+ - PATTERN: `border-left:` or `border-right:` with width greater than 1px
195195+ - INCLUDES: hard-coded colors AND CSS variables
196196+ - FORBIDDEN: `border-left: 3px solid red`, `border-left: 4px solid #ff0000`, `border-left: 4px solid var(--color-warning)`, `border-left: 5px solid oklch(...)`, etc.
197197+ - WHY: this is the single most overused "design touch" in admin, dashboard, and medical UIs. It never looks intentional regardless of color, radius, opacity, or whether the variable name is "primary" or "warning" or "accent."
198198+ - REWRITE: use a different element structure entirely. Do not just swap to box-shadow inset. Reach for full borders, background tints, leading numbers/icons, or no visual indicator at all.
199199+200200+BAN 2: Gradient text
201201+ - PATTERN: `background-clip: text` (or `-webkit-background-clip: text`) combined with a gradient background
202202+ - FORBIDDEN: any combination that makes text fill come from a `linear-gradient`, `radial-gradient`, or `conic-gradient`
203203+ - WHY: gradient text is decorative rather than meaningful and is one of the top three AI design tells
204204+ - REWRITE: use a single solid color for text. If you want emphasis, use weight or size, not gradient fill.
205205+</absolute_bans>
206206+207207+DO: Use intentional, purposeful decorative elements that reinforce brand.
208208+DO NOT: Use border-left or border-right greater than 1px as a colored accent stripe on cards, list items, callouts, or alerts. See <absolute_bans> above for the strict CSS pattern.
209209+DO NOT: Use glassmorphism everywhere (blur effects, glass cards, glow borders used decoratively rather than purposefully).
210210+DO NOT: Use sparklines as decoration. Tiny charts that look sophisticated but convey nothing meaningful.
211211+DO NOT: Use rounded rectangles with generic drop shadows. Safe, forgettable, could be any AI output.
212212+DO NOT: Use modals unless there's truly no better alternative. Modals are lazy.
213213+214214+### Motion
215215+→ *Consult [motion reference](reference/motion-design.md) for timing, easing, and reduced motion.*
216216+217217+Focus on high-impact moments: one well-orchestrated page load with staggered reveals creates more delight than scattered micro-interactions.
218218+219219+**DO**: Use motion to convey state changes: entrances, exits, feedback
220220+**DO**: Use exponential easing (ease-out-quart/quint/expo) for natural deceleration
221221+**DO**: For height animations, use grid-template-rows transitions instead of animating height directly
222222+**DON'T**: Animate layout properties (width, height, padding, margin). Use transform and opacity only
223223+**DON'T**: Use bounce or elastic easing. They feel dated and tacky; real objects decelerate smoothly
224224+225225+### Interaction
226226+→ *Consult [interaction reference](reference/interaction-design.md) for forms, focus, and loading patterns.*
227227+228228+Make interactions feel fast. Use optimistic UI: update immediately, sync later.
229229+230230+**DO**: Use progressive disclosure. Start simple, reveal sophistication through interaction (basic options first, advanced behind expandable sections; hover states that reveal secondary actions)
231231+**DO**: Design empty states that teach the interface, not just say "nothing here"
232232+**DO**: Make every interactive surface feel intentional and responsive
233233+**DON'T**: Repeat the same information (redundant headers, intros that restate the heading)
234234+**DON'T**: Make every button primary. Use ghost buttons, text links, secondary styles; hierarchy matters
235235+236236+### Responsive
237237+→ *Consult [responsive reference](reference/responsive-design.md) for mobile-first, fluid design, and container queries.*
238238+239239+**DO**: Use container queries (@container) for component-level responsiveness
240240+**DO**: Adapt the interface for different contexts, not just shrink it
241241+**DON'T**: Hide critical functionality on mobile. Adapt the interface, don't amputate it
242242+243243+### UX Writing
244244+→ *Consult [ux-writing reference](reference/ux-writing.md) for labels, errors, and empty states.*
245245+246246+**DO**: Make every word earn its place
247247+**DON'T**: Repeat information users can already see
248248+249249+---
250250+251251+## The AI Slop Test
252252+253253+**Critical quality check**: If you showed this interface to someone and said "AI made this," would they believe you immediately? If yes, that's the problem.
254254+255255+A distinctive interface should make someone ask "how was this made?" not "which AI made this?"
256256+257257+Review the DON'T guidelines above. They are the fingerprints of AI-generated work from 2024-2025.
258258+259259+---
260260+261261+## Implementation Principles
262262+263263+Match implementation complexity to the aesthetic vision. Maximalist designs need elaborate code with extensive animations and effects. Minimalist or refined designs need restraint, precision, and careful attention to spacing, typography, and subtle details.
264264+265265+Interpret creatively and make unexpected choices that feel genuinely designed for the context. No design should be the same. Vary between light and dark themes, different fonts, different aesthetics. NEVER converge on common choices across generations.
266266+267267+Remember: the model is capable of extraordinary creative work. Don't hold back. Show what can truly be created when thinking outside the box and committing fully to a distinctive vision.
268268+269269+---
270270+271271+## Craft Mode
272272+273273+If this skill is invoked with the argument "craft" (e.g., `/impeccable craft [feature description]`), follow the [craft flow](reference/craft.md). Pass any additional arguments as the feature description.
274274+275275+---
276276+277277+## Teach Mode
278278+279279+If this skill is invoked with the argument "teach" (e.g., `/impeccable teach`), skip all design work above and instead run the teach flow below. This is a one-time setup that gathers design context for the project.
280280+281281+### Step 1: Explore the Codebase
282282+283283+Before asking questions, thoroughly scan the project to discover what you can:
284284+285285+- **README and docs**: Project purpose, target audience, any stated goals
286286+- **Package.json / config files**: Tech stack, dependencies, existing design libraries
287287+- **Existing components**: Current design patterns, spacing, typography in use
288288+- **Brand assets**: Logos, favicons, color values already defined
289289+- **Design tokens / CSS variables**: Existing color palettes, font stacks, spacing scales
290290+- **Any style guides or brand documentation**
291291+292292+Note what you've learned and what remains unclear.
293293+294294+### Step 2: Ask UX-Focused Questions
295295+296296+ask the user directly to clarify what you cannot infer. Focus only on what you couldn't infer from the codebase:
297297+298298+#### Users & Purpose
299299+- Who uses this? What's their context when using it?
300300+- What job are they trying to get done?
301301+- What emotions should the interface evoke? (confidence, delight, calm, urgency, etc.)
302302+303303+#### Brand & Personality
304304+- How would you describe the brand personality in 3 words?
305305+- Any reference sites or apps that capture the right feel? What specifically about them?
306306+- What should this explicitly NOT look like? Any anti-references?
307307+308308+#### Aesthetic Preferences
309309+- Any strong preferences for visual direction? (minimal, bold, elegant, playful, technical, organic, etc.)
310310+- Light mode, dark mode, or both?
311311+- Any colors that must be used or avoided?
312312+313313+#### Accessibility & Inclusion
314314+- Specific accessibility requirements? (WCAG level, known user needs)
315315+- Considerations for reduced motion, color blindness, or other accommodations?
316316+317317+Skip questions where the answer is already clear from the codebase exploration.
318318+319319+### Step 3: Write Design Context
320320+321321+Synthesize your findings and the user's answers into a `## Design Context` section:
322322+323323+```markdown
324324+## Design Context
325325+326326+### Users
327327+[Who they are, their context, the job to be done]
328328+329329+### Brand Personality
330330+[Voice, tone, 3-word personality, emotional goals]
331331+332332+### Aesthetic Direction
333333+[Visual tone, references, anti-references, theme]
334334+335335+### Design Principles
336336+[3-5 principles derived from the conversation that should guide all design decisions]
337337+```
338338+339339+Write this section to `.impeccable.md` in the project root. If the file already exists, update the Design Context section in place.
340340+341341+Then ask the user directly to clarify what you cannot infer. whether they'd also like the Design Context appended to .github/copilot-instructions.md. If yes, append or update the section there as well.
342342+343343+Confirm completion and summarize the key design principles that will now guide all future work.
344344+345345+---
346346+347347+## Extract Mode
348348+349349+If this skill is invoked with the argument "extract" (e.g., `/impeccable extract [target]`), follow the [extract flow](reference/extract.md). Pass any additional arguments as the extraction target.
···11+# Color & Contrast
22+33+## Color Spaces: Use OKLCH
44+55+**Stop using HSL.** Use OKLCH (or LCH) instead. It's perceptually uniform, meaning equal steps in lightness *look* equal—unlike HSL where 50% lightness in yellow looks bright while 50% in blue looks dark.
66+77+The OKLCH function takes three components: `oklch(lightness chroma hue)` where lightness is 0-100%, chroma is roughly 0-0.4, and hue is 0-360. To build a primary color and its lighter / darker variants, hold the chroma+hue roughly constant and vary the lightness — but **reduce chroma as you approach white or black**, because high chroma at extreme lightness looks garish.
88+99+The hue you pick is a brand decision and should not come from a default. Do not reach for blue (hue 250) or warm orange (hue 60) by reflex — those are the dominant AI-design defaults, not the right answer for any specific brand.
1010+1111+## Building Functional Palettes
1212+1313+### Tinted Neutrals
1414+1515+**Pure gray is dead.** A neutral with zero chroma feels lifeless next to a colored brand. Add a tiny chroma value (0.005-0.015) to all your neutrals, hued toward whatever your brand color is. The chroma is small enough not to read as "tinted" consciously, but it creates subconscious cohesion between brand color and UI surfaces.
1616+1717+The hue you tint toward should come from THIS project's brand, not from a "warm = friendly, cool = tech" formula. If your brand color is teal, your neutrals lean toward teal. If your brand color is amber, they lean toward amber. The point is cohesion with the SPECIFIC brand, not a stock palette.
1818+1919+**Avoid** the trap of always tinting toward warm orange or always tinting toward cool blue. Those are the two laziest defaults and they create their own monoculture across projects.
2020+2121+### Palette Structure
2222+2323+A complete system needs:
2424+2525+| Role | Purpose | Example |
2626+|------|---------|---------|
2727+| **Primary** | Brand, CTAs, key actions | 1 color, 3-5 shades |
2828+| **Neutral** | Text, backgrounds, borders | 9-11 shade scale |
2929+| **Semantic** | Success, error, warning, info | 4 colors, 2-3 shades each |
3030+| **Surface** | Cards, modals, overlays | 2-3 elevation levels |
3131+3232+**Skip secondary/tertiary unless you need them.** Most apps work fine with one accent color. Adding more creates decision fatigue and visual noise.
3333+3434+### The 60-30-10 Rule (Applied Correctly)
3535+3636+This rule is about **visual weight**, not pixel count:
3737+3838+- **60%**: Neutral backgrounds, white space, base surfaces
3939+- **30%**: Secondary colors—text, borders, inactive states
4040+- **10%**: Accent—CTAs, highlights, focus states
4141+4242+The common mistake: using the accent color everywhere because it's "the brand color." Accent colors work *because* they're rare. Overuse kills their power.
4343+4444+## Contrast & Accessibility
4545+4646+### WCAG Requirements
4747+4848+| Content Type | AA Minimum | AAA Target |
4949+|--------------|------------|------------|
5050+| Body text | 4.5:1 | 7:1 |
5151+| Large text (18px+ or 14px bold) | 3:1 | 4.5:1 |
5252+| UI components, icons | 3:1 | 4.5:1 |
5353+| Non-essential decorations | None | None |
5454+5555+**The gotcha**: Placeholder text still needs 4.5:1. That light gray placeholder you see everywhere? Usually fails WCAG.
5656+5757+### Dangerous Color Combinations
5858+5959+These commonly fail contrast or cause readability issues:
6060+6161+- Light gray text on white (the #1 accessibility fail)
6262+- **Gray text on any colored background**—gray looks washed out and dead on color. Use a darker shade of the background color, or transparency
6363+- Red text on green background (or vice versa)—8% of men can't distinguish these
6464+- Blue text on red background (vibrates visually)
6565+- Yellow text on white (almost always fails)
6666+- Thin light text on images (unpredictable contrast)
6767+6868+### Never Use Pure Gray or Pure Black
6969+7070+Pure gray (`oklch(50% 0 0)`) and pure black (`#000`) don't exist in nature—real shadows and surfaces always have a color cast. Even a chroma of 0.005-0.01 is enough to feel natural without being obviously tinted. (See tinted neutrals example above.)
7171+7272+### Testing
7373+7474+Don't trust your eyes. Use tools:
7575+7676+- [WebAIM Contrast Checker](https://webaim.org/resources/contrastchecker/)
7777+- Browser DevTools → Rendering → Emulate vision deficiencies
7878+- [Polypane](https://polypane.app/) for real-time testing
7979+8080+## Theming: Light & Dark Mode
8181+8282+### Dark Mode Is Not Inverted Light Mode
8383+8484+You can't just swap colors. Dark mode requires different design decisions:
8585+8686+| Light Mode | Dark Mode |
8787+|------------|-----------|
8888+| Shadows for depth | Lighter surfaces for depth (no shadows) |
8989+| Dark text on light | Light text on dark (reduce font weight) |
9090+| Vibrant accents | Desaturate accents slightly |
9191+| White backgrounds | Never pure black—use dark gray (oklch 12-18%) |
9292+9393+In dark mode, depth comes from surface lightness, not shadow. Build a 3-step surface scale where higher elevations are lighter (e.g. 15% / 20% / 25% lightness). Use the SAME hue and chroma as your brand color (whatever it is for THIS project — do not reach for blue) and only vary the lightness. Reduce body text weight slightly (e.g. 350 instead of 400) because light text on dark reads as heavier than dark text on light.
9494+9595+### Token Hierarchy
9696+9797+Use two layers: primitive tokens (`--blue-500`) and semantic tokens (`--color-primary: var(--blue-500)`). For dark mode, only redefine the semantic layer—primitives stay the same.
9898+9999+## Alpha Is A Design Smell
100100+101101+Heavy use of transparency (rgba, hsla) usually means an incomplete palette. Alpha creates unpredictable contrast, performance overhead, and inconsistency. Define explicit overlay colors for each context instead. Exception: focus rings and interactive states where see-through is needed.
102102+103103+---
104104+105105+**Avoid**: Relying on color alone to convey information. Creating palettes without clear roles for each color. Using pure black (#000) for large areas. Skipping color blindness testing (8% of men affected).
+70
.agents/skills/impeccable/reference/craft.md
···11+# Craft Flow
22+33+Build a feature with impeccable UX and UI quality through a structured process: shape the design, load the right references, then build and iterate visually until the result is delightful.
44+55+## Step 1: Shape the Design
66+77+Run /shape, passing along whatever feature description the user provided.
88+99+Wait for the design brief to be fully confirmed before proceeding. The brief is your blueprint, and every implementation decision should trace back to it.
1010+1111+If the user has already run /shape and has a confirmed design brief, skip this step and use the existing brief.
1212+1313+## Step 2: Load References
1414+1515+Based on the design brief's "Recommended References" section, consult the relevant impeccable reference files. At minimum, always consult:
1616+1717+- [spatial-design.md](spatial-design.md) for layout and spacing
1818+- [typography.md](typography.md) for type hierarchy
1919+2020+Then add references based on the brief's needs:
2121+- Complex interactions or forms? Consult [interaction-design.md](interaction-design.md)
2222+- Animation or transitions? Consult [motion-design.md](motion-design.md)
2323+- Color-heavy or themed? Consult [color-and-contrast.md](color-and-contrast.md)
2424+- Responsive requirements? Consult [responsive-design.md](responsive-design.md)
2525+- Heavy on copy, labels, or errors? Consult [ux-writing.md](ux-writing.md)
2626+2727+## Step 3: Build
2828+2929+Implement the feature following the design brief. Work in this order:
3030+3131+1. **Structure first**: HTML/semantic structure for the primary state. No styling yet.
3232+2. **Layout and spacing**: Establish the spatial rhythm and visual hierarchy.
3333+3. **Typography and color**: Apply the type scale and color system.
3434+4. **Interactive states**: Hover, focus, active, disabled.
3535+5. **Edge case states**: Empty, loading, error, overflow, first-run.
3636+6. **Motion**: Purposeful transitions and animations (if appropriate).
3737+7. **Responsive**: Adapt for different viewports. Don't just shrink; redesign for the context.
3838+3939+### During Build
4040+- Test with real (or realistic) data at every step, not placeholder text
4141+- Check each state as you build it, not all at the end
4242+- If you discover a design question, stop and ask rather than guessing
4343+- Every visual choice should trace back to something in the design brief
4444+4545+## Step 4: Visual Iteration
4646+4747+**This step is critical.** Do not stop after the first implementation pass.
4848+4949+Open the result in a browser window. If browser automation tools are available, use them to navigate to the page and visually inspect the result. If not, ask the user to open it and provide feedback.
5050+5151+Iterate through these checks visually:
5252+5353+1. **Does it match the brief?** Compare the live result against every section of the design brief. Fix discrepancies.
5454+2. **Does it pass the AI slop test?** If someone saw this and said "AI made this," would they believe it immediately? If yes, it needs more design intention.
5555+3. **Check against impeccable's DON'T guidelines.** Fix any anti-pattern violations.
5656+4. **Check every state.** Navigate through empty, error, loading, and edge case states. Each one should feel intentional, not like an afterthought.
5757+5. **Check responsive.** Resize the viewport. Does it adapt well or just shrink?
5858+6. **Check the details.** Spacing consistency, type hierarchy clarity, color contrast, interactive feedback, motion timing.
5959+6060+After each round of fixes, visually verify again. **Repeat until you would be proud to show this to the user.** The bar is not "it works"; the bar is "this delights."
6161+6262+## Step 5: Present
6363+6464+Present the result to the user:
6565+- Show the feature in its primary state
6666+- Walk through the key states (empty, error, responsive)
6767+- Explain design decisions that connect back to the design brief
6868+- Ask: "What's working? What isn't?"
6969+7070+Iterate based on feedback. Good design is rarely right on the first pass.
+70
.agents/skills/impeccable/reference/extract.md
···11+# Extract Flow
22+33+Identify reusable patterns, components, and design tokens, then extract and consolidate them into the design system for systematic reuse.
44+55+## Step 1: Discover the Design System
66+77+Find the design system, component library, or shared UI directory. Understand its structure: component organization, naming conventions, design token structure, import/export conventions.
88+99+**CRITICAL**: If no design system exists, ask the user directly to clarify what you cannot infer. before creating one. Understand the preferred location and structure first.
1010+1111+## Step 2: Identify Patterns
1212+1313+Look for extraction opportunities in the target area:
1414+1515+- **Repeated components**: Similar UI patterns used 3+ times (buttons, cards, inputs)
1616+- **Hard-coded values**: Colors, spacing, typography, shadows that should be tokens
1717+- **Inconsistent variations**: Multiple implementations of the same concept
1818+- **Composition patterns**: Layout or interaction patterns that repeat (form rows, toolbar groups, empty states)
1919+- **Type styles**: Repeated font-size + weight + line-height combinations
2020+- **Animation patterns**: Repeated easing, duration, or keyframe combinations
2121+2222+Assess value: only extract things used 3+ times with the same intent. Premature abstraction is worse than duplication.
2323+2424+## Step 3: Plan Extraction
2525+2626+Create a systematic plan:
2727+2828+- **Components to extract**: Which UI elements become reusable components?
2929+- **Tokens to create**: Which hard-coded values become design tokens?
3030+- **Variants to support**: What variations does each component need?
3131+- **Naming conventions**: Component names, token names, prop names that match existing patterns
3232+- **Migration path**: How to refactor existing uses to consume the new shared versions
3333+3434+**IMPORTANT**: Design systems grow incrementally. Extract what is clearly reusable now, not everything that might someday be reusable.
3535+3636+## Step 4: Extract & Enrich
3737+3838+Build improved, reusable versions:
3939+4040+- **Components**: Clear props API with sensible defaults, proper variants for different use cases, accessibility built in (ARIA, keyboard navigation, focus management), documentation and usage examples
4141+- **Design tokens**: Clear naming (primitive vs semantic), proper hierarchy and organization, documentation of when to use each token
4242+- **Patterns**: When to use this pattern, code examples, variations and combinations
4343+4444+## Step 5: Migrate
4545+4646+Replace existing uses with the new shared versions:
4747+4848+- **Find all instances**: Search for the patterns you extracted
4949+- **Replace systematically**: Update each use to consume the shared version
5050+- **Test thoroughly**: Ensure visual and functional parity
5151+- **Delete dead code**: Remove the old implementations
5252+5353+## Step 6: Document
5454+5555+Update design system documentation:
5656+5757+- Add new components to the component library
5858+- Document token usage and values
5959+- Add examples and guidelines
6060+- Update any Storybook or component catalog
6161+6262+**NEVER**:
6363+- Extract one-off, context-specific implementations without generalization
6464+- Create components so generic they are useless
6565+- Extract without considering existing design system conventions
6666+- Skip proper TypeScript types or prop documentation
6767+- Create tokens for every single value (tokens should have semantic meaning)
6868+- Extract things that differ in intent (two buttons that look similar but serve different purposes should stay separate)
6969+7070+Remember: A good design system is a living system. Extract patterns as they emerge, enrich them thoughtfully, and maintain them consistently.
···11+# Interaction Design
22+33+## The Eight Interactive States
44+55+Every interactive element needs these states designed:
66+77+| State | When | Visual Treatment |
88+|-------|------|------------------|
99+| **Default** | At rest | Base styling |
1010+| **Hover** | Pointer over (not touch) | Subtle lift, color shift |
1111+| **Focus** | Keyboard/programmatic focus | Visible ring (see below) |
1212+| **Active** | Being pressed | Pressed in, darker |
1313+| **Disabled** | Not interactive | Reduced opacity, no pointer |
1414+| **Loading** | Processing | Spinner, skeleton |
1515+| **Error** | Invalid state | Red border, icon, message |
1616+| **Success** | Completed | Green check, confirmation |
1717+1818+**The common miss**: Designing hover without focus, or vice versa. They're different. Keyboard users never see hover states.
1919+2020+## Focus Rings: Do Them Right
2121+2222+**Never `outline: none` without replacement.** It's an accessibility violation. Instead, use `:focus-visible` to show focus only for keyboard users:
2323+2424+```css
2525+/* Hide focus ring for mouse/touch */
2626+button:focus {
2727+ outline: none;
2828+}
2929+3030+/* Show focus ring for keyboard */
3131+button:focus-visible {
3232+ outline: 2px solid var(--color-accent);
3333+ outline-offset: 2px;
3434+}
3535+```
3636+3737+**Focus ring design**:
3838+- High contrast (3:1 minimum against adjacent colors)
3939+- 2-3px thick
4040+- Offset from element (not inside it)
4141+- Consistent across all interactive elements
4242+4343+## Form Design: The Non-Obvious
4444+4545+**Placeholders aren't labels**—they disappear on input. Always use visible `<label>` elements. **Validate on blur**, not on every keystroke (exception: password strength). Place errors **below** fields with `aria-describedby` connecting them.
4646+4747+## Loading States
4848+4949+**Optimistic updates**: Show success immediately, rollback on failure. Use for low-stakes actions (likes, follows), not payments or destructive actions. **Skeleton screens > spinners**—they preview content shape and feel faster than generic spinners.
5050+5151+## Modals: The Inert Approach
5252+5353+Focus trapping in modals used to require complex JavaScript. Now use the `inert` attribute:
5454+5555+```html
5656+<!-- When modal is open -->
5757+<main inert>
5858+ <!-- Content behind modal can't be focused or clicked -->
5959+</main>
6060+<dialog open>
6161+ <h2>Modal Title</h2>
6262+ <!-- Focus stays inside modal -->
6363+</dialog>
6464+```
6565+6666+Or use the native `<dialog>` element:
6767+6868+```javascript
6969+const dialog = document.querySelector('dialog');
7070+dialog.showModal(); // Opens with focus trap, closes on Escape
7171+```
7272+7373+## The Popover API
7474+7575+For tooltips, dropdowns, and non-modal overlays, use native popovers:
7676+7777+```html
7878+<button popovertarget="menu">Open menu</button>
7979+<div id="menu" popover>
8080+ <button>Option 1</button>
8181+ <button>Option 2</button>
8282+</div>
8383+```
8484+8585+**Benefits**: Light-dismiss (click outside closes), proper stacking, no z-index wars, accessible by default.
8686+8787+## Dropdown & Overlay Positioning
8888+8989+Dropdowns rendered with `position: absolute` inside a container that has `overflow: hidden` or `overflow: auto` will be clipped. This is the single most common dropdown bug in generated code.
9090+9191+### CSS Anchor Positioning
9292+9393+The modern solution uses the CSS Anchor Positioning API to tether an overlay to its trigger without JavaScript:
9494+9595+```css
9696+.trigger {
9797+ anchor-name: --menu-trigger;
9898+}
9999+100100+.dropdown {
101101+ position: fixed;
102102+ position-anchor: --menu-trigger;
103103+ position-area: block-end span-inline-end;
104104+ margin-top: 4px;
105105+}
106106+107107+/* Flip above if no room below */
108108+@position-try --flip-above {
109109+ position-area: block-start span-inline-end;
110110+ margin-bottom: 4px;
111111+}
112112+```
113113+114114+Because the dropdown uses `position: fixed`, it escapes any `overflow` clipping on ancestor elements. The `@position-try` block handles viewport edges automatically. **Browser support**: Chrome 125+, Edge 125+. Not yet in Firefox or Safari - use a fallback for those browsers.
115115+116116+### Popover + Anchor Combo
117117+118118+Combining the Popover API with anchor positioning gives you stacking, light-dismiss, accessibility, and correct positioning in one pattern:
119119+120120+```html
121121+<button popovertarget="menu" class="trigger">Open</button>
122122+<div id="menu" popover class="dropdown">
123123+ <button>Option 1</button>
124124+ <button>Option 2</button>
125125+</div>
126126+```
127127+128128+The `popover` attribute places the element in the **top layer**, which sits above all other content regardless of z-index or overflow. No portal needed.
129129+130130+### Portal / Teleport Pattern
131131+132132+In component frameworks, render the dropdown at the document root and position it with JavaScript:
133133+134134+- **React**: `createPortal(dropdown, document.body)`
135135+- **Vue**: `<Teleport to="body">`
136136+- **Svelte**: Use a portal library or mount to `document.body`
137137+138138+Calculate position from the trigger's `getBoundingClientRect()`, then apply `position: fixed` with `top` and `left` values. Recalculate on scroll and resize.
139139+140140+### Fixed Positioning Fallback
141141+142142+For browsers without anchor positioning support, `position: fixed` with manual coordinates avoids overflow clipping:
143143+144144+```css
145145+.dropdown {
146146+ position: fixed;
147147+ /* top/left set via JS from trigger's getBoundingClientRect() */
148148+}
149149+```
150150+151151+Check viewport boundaries before rendering. If the dropdown would overflow the bottom edge, flip it above the trigger. If it would overflow the right edge, align it to the trigger's right side instead.
152152+153153+### Anti-Patterns
154154+155155+- **`position: absolute` inside `overflow: hidden`** - The dropdown will be clipped. Use `position: fixed` or the top layer instead.
156156+- **Arbitrary z-index values** like `z-index: 9999` - Use a semantic z-index scale: `dropdown (100) -> sticky (200) -> modal-backdrop (300) -> modal (400) -> toast (500) -> tooltip (600)`.
157157+- **Rendering dropdown markup inline** without an escape hatch from the parent's stacking context. Either use `popover` (top layer), a portal, or `position: fixed`.
158158+159159+## Destructive Actions: Undo > Confirm
160160+161161+**Undo is better than confirmation dialogs**—users click through confirmations mindlessly. Remove from UI immediately, show undo toast, actually delete after toast expires. Use confirmation only for truly irreversible actions (account deletion), high-cost actions, or batch operations.
162162+163163+## Keyboard Navigation Patterns
164164+165165+### Roving Tabindex
166166+167167+For component groups (tabs, menu items, radio groups), one item is tabbable; arrow keys move within:
168168+169169+```html
170170+<div role="tablist">
171171+ <button role="tab" tabindex="0">Tab 1</button>
172172+ <button role="tab" tabindex="-1">Tab 2</button>
173173+ <button role="tab" tabindex="-1">Tab 3</button>
174174+</div>
175175+```
176176+177177+Arrow keys move `tabindex="0"` between items. Tab moves to the next component entirely.
178178+179179+### Skip Links
180180+181181+Provide skip links (`<a href="#main-content">Skip to main content</a>`) for keyboard users to jump past navigation. Hide off-screen, show on focus.
182182+183183+## Gesture Discoverability
184184+185185+Swipe-to-delete and similar gestures are invisible. Hint at their existence:
186186+187187+- **Partially reveal**: Show delete button peeking from edge
188188+- **Onboarding**: Coach marks on first use
189189+- **Alternative**: Always provide a visible fallback (menu with "Delete")
190190+191191+Don't rely on gestures as the only way to perform actions.
192192+193193+---
194194+195195+**Avoid**: Removing focus indicators without alternatives. Using placeholder text as labels. Touch targets <44x44px. Generic error messages. Custom controls without ARIA/keyboard support.
···11+# Motion Design
22+33+## Duration: The 100/300/500 Rule
44+55+Timing matters more than easing. These durations feel right for most UI:
66+77+| Duration | Use Case | Examples |
88+|----------|----------|----------|
99+| **100-150ms** | Instant feedback | Button press, toggle, color change |
1010+| **200-300ms** | State changes | Menu open, tooltip, hover states |
1111+| **300-500ms** | Layout changes | Accordion, modal, drawer |
1212+| **500-800ms** | Entrance animations | Page load, hero reveals |
1313+1414+**Exit animations are faster than entrances**—use ~75% of enter duration.
1515+1616+## Easing: Pick the Right Curve
1717+1818+**Don't use `ease`.** It's a compromise that's rarely optimal. Instead:
1919+2020+| Curve | Use For | CSS |
2121+|-------|---------|-----|
2222+| **ease-out** | Elements entering | `cubic-bezier(0.16, 1, 0.3, 1)` |
2323+| **ease-in** | Elements leaving | `cubic-bezier(0.7, 0, 0.84, 0)` |
2424+| **ease-in-out** | State toggles (there → back) | `cubic-bezier(0.65, 0, 0.35, 1)` |
2525+2626+**For micro-interactions, use exponential curves**—they feel natural because they mimic real physics (friction, deceleration):
2727+2828+```css
2929+/* Quart out - smooth, refined (recommended default) */
3030+--ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
3131+3232+/* Quint out - slightly more dramatic */
3333+--ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
3434+3535+/* Expo out - snappy, confident */
3636+--ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
3737+```
3838+3939+**Avoid bounce and elastic curves.** They were trendy in 2015 but now feel tacky and amateurish. Real objects don't bounce when they stop—they decelerate smoothly. Overshoot effects draw attention to the animation itself rather than the content.
4040+4141+## The Only Two Properties You Should Animate
4242+4343+**transform** and **opacity** only—everything else causes layout recalculation. For height animations (accordions), use `grid-template-rows: 0fr → 1fr` instead of animating `height` directly.
4444+4545+## Staggered Animations
4646+4747+Use CSS custom properties for cleaner stagger: `animation-delay: calc(var(--i, 0) * 50ms)` with `style="--i: 0"` on each item. **Cap total stagger time**—10 items at 50ms = 500ms total. For many items, reduce per-item delay or cap staggered count.
4848+4949+## Reduced Motion
5050+5151+This is not optional. Vestibular disorders affect ~35% of adults over 40.
5252+5353+```css
5454+/* Define animations normally */
5555+.card {
5656+ animation: slide-up 500ms ease-out;
5757+}
5858+5959+/* Provide alternative for reduced motion */
6060+@media (prefers-reduced-motion: reduce) {
6161+ .card {
6262+ animation: fade-in 200ms ease-out; /* Crossfade instead of motion */
6363+ }
6464+}
6565+6666+/* Or disable entirely */
6767+@media (prefers-reduced-motion: reduce) {
6868+ *, *::before, *::after {
6969+ animation-duration: 0.01ms !important;
7070+ transition-duration: 0.01ms !important;
7171+ }
7272+}
7373+```
7474+7575+**What to preserve**: Functional animations like progress bars, loading spinners (slowed down), and focus indicators should still work—just without spatial movement.
7676+7777+## Perceived Performance
7878+7979+**Nobody cares how fast your site is—just how fast it feels.** Perception can be as effective as actual performance.
8080+8181+**The 80ms threshold**: Our brains buffer sensory input for ~80ms to synchronize perception. Anything under 80ms feels instant and simultaneous. This is your target for micro-interactions.
8282+8383+**Active vs passive time**: Passive waiting (staring at a spinner) feels longer than active engagement. Strategies to shift the balance:
8484+8585+- **Preemptive start**: Begin transitions immediately while loading (iOS app zoom, skeleton UI). Users perceive work happening.
8686+- **Early completion**: Show content progressively—don't wait for everything. Video buffering, progressive images, streaming HTML.
8787+- **Optimistic UI**: Update the interface immediately, handle failures gracefully. Instagram likes work offline—the UI updates instantly, syncs later. Use for low-stakes actions; avoid for payments or destructive operations.
8888+8989+**Easing affects perceived duration**: Ease-in (accelerating toward completion) makes tasks feel shorter because the peak-end effect weights final moments heavily. Ease-out feels satisfying for entrances, but ease-in toward a task's end compresses perceived time.
9090+9191+**Caution**: Too-fast responses can decrease perceived value. Users may distrust instant results for complex operations (search, analysis). Sometimes a brief delay signals "real work" is happening.
9292+9393+## Performance
9494+9595+Don't use `will-change` preemptively—only when animation is imminent (`:hover`, `.animating`). For scroll-triggered animations, use Intersection Observer instead of scroll events; unobserve after animating once. Create motion tokens for consistency (durations, easings, common transitions).
9696+9797+---
9898+9999+**Avoid**: Animating everything (animation fatigue is real). Using >500ms for UI feedback. Ignoring `prefers-reduced-motion`. Using animation to hide slow loading.
···11+# Responsive Design
22+33+## Mobile-First: Write It Right
44+55+Start with base styles for mobile, use `min-width` queries to layer complexity. Desktop-first (`max-width`) means mobile loads unnecessary styles first.
66+77+## Breakpoints: Content-Driven
88+99+Don't chase device sizes—let content tell you where to break. Start narrow, stretch until design breaks, add breakpoint there. Three breakpoints usually suffice (640, 768, 1024px). Use `clamp()` for fluid values without breakpoints.
1010+1111+## Detect Input Method, Not Just Screen Size
1212+1313+**Screen size doesn't tell you input method.** A laptop with touchscreen, a tablet with keyboard—use pointer and hover queries:
1414+1515+```css
1616+/* Fine pointer (mouse, trackpad) */
1717+@media (pointer: fine) {
1818+ .button { padding: 8px 16px; }
1919+}
2020+2121+/* Coarse pointer (touch, stylus) */
2222+@media (pointer: coarse) {
2323+ .button { padding: 12px 20px; } /* Larger touch target */
2424+}
2525+2626+/* Device supports hover */
2727+@media (hover: hover) {
2828+ .card:hover { transform: translateY(-2px); }
2929+}
3030+3131+/* Device doesn't support hover (touch) */
3232+@media (hover: none) {
3333+ .card { /* No hover state - use active instead */ }
3434+}
3535+```
3636+3737+**Critical**: Don't rely on hover for functionality. Touch users can't hover.
3838+3939+## Safe Areas: Handle the Notch
4040+4141+Modern phones have notches, rounded corners, and home indicators. Use `env()`:
4242+4343+```css
4444+body {
4545+ padding-top: env(safe-area-inset-top);
4646+ padding-bottom: env(safe-area-inset-bottom);
4747+ padding-left: env(safe-area-inset-left);
4848+ padding-right: env(safe-area-inset-right);
4949+}
5050+5151+/* With fallback */
5252+.footer {
5353+ padding-bottom: max(1rem, env(safe-area-inset-bottom));
5454+}
5555+```
5656+5757+**Enable viewport-fit** in your meta tag:
5858+```html
5959+<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
6060+```
6161+6262+## Responsive Images: Get It Right
6363+6464+### srcset with Width Descriptors
6565+6666+```html
6767+<img
6868+ src="hero-800.jpg"
6969+ srcset="
7070+ hero-400.jpg 400w,
7171+ hero-800.jpg 800w,
7272+ hero-1200.jpg 1200w
7373+ "
7474+ sizes="(max-width: 768px) 100vw, 50vw"
7575+ alt="Hero image"
7676+>
7777+```
7878+7979+**How it works**:
8080+- `srcset` lists available images with their actual widths (`w` descriptors)
8181+- `sizes` tells the browser how wide the image will display
8282+- Browser picks the best file based on viewport width AND device pixel ratio
8383+8484+### Picture Element for Art Direction
8585+8686+When you need different crops/compositions (not just resolutions):
8787+8888+```html
8989+<picture>
9090+ <source media="(min-width: 768px)" srcset="wide.jpg">
9191+ <source media="(max-width: 767px)" srcset="tall.jpg">
9292+ <img src="fallback.jpg" alt="...">
9393+</picture>
9494+```
9595+9696+## Layout Adaptation Patterns
9797+9898+**Navigation**: Three stages—hamburger + drawer on mobile, horizontal compact on tablet, full with labels on desktop. **Tables**: Transform to cards on mobile using `display: block` and `data-label` attributes. **Progressive disclosure**: Use `<details>/<summary>` for content that can collapse on mobile.
9999+100100+## Testing: Don't Trust DevTools Alone
101101+102102+DevTools device emulation is useful for layout but misses:
103103+104104+- Actual touch interactions
105105+- Real CPU/memory constraints
106106+- Network latency patterns
107107+- Font rendering differences
108108+- Browser chrome/keyboard appearances
109109+110110+**Test on at least**: One real iPhone, one real Android, a tablet if relevant. Cheap Android phones reveal performance issues you'll never see on simulators.
111111+112112+---
113113+114114+**Avoid**: Desktop-first design. Device detection instead of feature detection. Separate mobile/desktop codebases. Ignoring tablet and landscape. Assuming all mobile devices are powerful.
···11+# Spatial Design
22+33+## Spacing Systems
44+55+### Use 4pt Base, Not 8pt
66+77+8pt systems are too coarse—you'll frequently need 12px (between 8 and 16). Use 4pt for granularity: 4, 8, 12, 16, 24, 32, 48, 64, 96px.
88+99+### Name Tokens Semantically
1010+1111+Name by relationship (`--space-sm`, `--space-lg`), not value (`--spacing-8`). Use `gap` instead of margins for sibling spacing—it eliminates margin collapse and cleanup hacks.
1212+1313+## Grid Systems
1414+1515+### The Self-Adjusting Grid
1616+1717+Use `repeat(auto-fit, minmax(280px, 1fr))` for responsive grids without breakpoints. Columns are at least 280px, as many as fit per row, leftovers stretch. For complex layouts, use named grid areas (`grid-template-areas`) and redefine them at breakpoints.
1818+1919+## Visual Hierarchy
2020+2121+### The Squint Test
2222+2323+Blur your eyes (or screenshot and blur). Can you still identify:
2424+- The most important element?
2525+- The second most important?
2626+- Clear groupings?
2727+2828+If everything looks the same weight blurred, you have a hierarchy problem.
2929+3030+### Hierarchy Through Multiple Dimensions
3131+3232+Don't rely on size alone. Combine:
3333+3434+| Tool | Strong Hierarchy | Weak Hierarchy |
3535+|------|------------------|----------------|
3636+| **Size** | 3:1 ratio or more | <2:1 ratio |
3737+| **Weight** | Bold vs Regular | Medium vs Regular |
3838+| **Color** | High contrast | Similar tones |
3939+| **Position** | Top/left (primary) | Bottom/right |
4040+| **Space** | Surrounded by white space | Crowded |
4141+4242+**The best hierarchy uses 2-3 dimensions at once**: A heading that's larger, bolder, AND has more space above it.
4343+4444+### Cards Are Not Required
4545+4646+Cards are overused. Spacing and alignment create visual grouping naturally. Use cards only when content is truly distinct and actionable, items need visual comparison in a grid, or content needs clear interaction boundaries. **Never nest cards inside cards**—use spacing, typography, and subtle dividers for hierarchy within a card.
4747+4848+## Container Queries
4949+5050+Viewport queries are for page layouts. **Container queries are for components**:
5151+5252+```css
5353+.card-container {
5454+ container-type: inline-size;
5555+}
5656+5757+.card {
5858+ display: grid;
5959+ gap: var(--space-md);
6060+}
6161+6262+/* Card layout changes based on its container, not viewport */
6363+@container (min-width: 400px) {
6464+ .card {
6565+ grid-template-columns: 120px 1fr;
6666+ }
6767+}
6868+```
6969+7070+**Why this matters**: A card in a narrow sidebar stays compact, while the same card in a main content area expands—automatically, without viewport hacks.
7171+7272+## Optical Adjustments
7373+7474+Text at `margin-left: 0` looks indented due to letterform whitespace—use negative margin (`-0.05em`) to optically align. Geometrically centered icons often look off-center; play icons need to shift right, arrows shift toward their direction.
7575+7676+### Touch Targets vs Visual Size
7777+7878+Buttons can look small but need large touch targets (44px minimum). Use padding or pseudo-elements:
7979+8080+```css
8181+.icon-button {
8282+ width: 24px; /* Visual size */
8383+ height: 24px;
8484+ position: relative;
8585+}
8686+8787+.icon-button::before {
8888+ content: '';
8989+ position: absolute;
9090+ inset: -10px; /* Expand tap target to 44px */
9191+}
9292+```
9393+9494+## Depth & Elevation
9595+9696+Create semantic z-index scales (dropdown → sticky → modal-backdrop → modal → toast → tooltip) instead of arbitrary numbers. For shadows, create a consistent elevation scale (sm → md → lg → xl). **Key insight**: Shadows should be subtle—if you can clearly see it, it's probably too strong.
9797+9898+---
9999+100100+**Avoid**: Arbitrary spacing values outside your scale. Making all spacing equal (variety creates hierarchy). Creating hierarchy through size alone - combine size, weight, color, and space.
+142
.agents/skills/impeccable/reference/typography.md
···11+# Typography
22+33+## Classic Typography Principles
44+55+### Vertical Rhythm
66+77+Your line-height should be the base unit for ALL vertical spacing. If body text has `line-height: 1.5` on `16px` type (= 24px), spacing values should be multiples of 24px. This creates subconscious harmony—text and space share a mathematical foundation.
88+99+### Modular Scale & Hierarchy
1010+1111+The common mistake: too many font sizes that are too close together (14px, 15px, 16px, 18px...). This creates muddy hierarchy.
1212+1313+**Use fewer sizes with more contrast.** A 5-size system covers most needs:
1414+1515+| Role | Typical Ratio | Use Case |
1616+|------|---------------|----------|
1717+| xs | 0.75rem | Captions, legal |
1818+| sm | 0.875rem | Secondary UI, metadata |
1919+| base | 1rem | Body text |
2020+| lg | 1.25-1.5rem | Subheadings, lead text |
2121+| xl+ | 2-4rem | Headlines, hero text |
2222+2323+Popular ratios: 1.25 (major third), 1.333 (perfect fourth), 1.5 (perfect fifth). Pick one and commit.
2424+2525+### Readability & Measure
2626+2727+Use `ch` units for character-based measure (`max-width: 65ch`). Line-height scales inversely with line length—narrow columns need tighter leading, wide columns need more.
2828+2929+**Non-obvious**: Increase line-height for light text on dark backgrounds. The perceived weight is lighter, so text needs more breathing room. Add 0.05-0.1 to your normal line-height.
3030+3131+## Font Selection & Pairing
3232+3333+### Choosing Distinctive Fonts
3434+3535+**Avoid the invisible defaults**: Inter, Roboto, Open Sans, Lato, Montserrat. These are everywhere, making your design feel generic. They're fine for documentation or tools where personality isn't the goal—but if you want distinctive design, look elsewhere.
3636+3737+**Pick the font from the brief, not from a category preset.** The most common AI typography failure is reaching for the same "tasteful" font for every editorial brief, the same "modern" font for every tech brief, the same "elegant serif" for every premium brief. Those reflexes produce monoculture across projects. The right font is one whose physical character matches *this specific* brand, audience, and moment.
3838+3939+A working selection process:
4040+4141+1. Read the brief once. Write down three concrete words for the brand voice. Not "modern" or "elegant" — those are dead categories. Try "warm and mechanical and opinionated" or "calm and clinical and careful" or "fast and dense and unimpressed" or "handmade and a little weird."
4242+2. Now imagine the font as a physical object the brand could ship: a typewriter ribbon, a hand-lettered shop sign, a 1970s mainframe terminal manual, a fabric label on the inside of a coat, a museum exhibit caption, a tax form, a children's book printed on cheap newsprint. Whichever physical object fits the three words is pointing at the right *kind* of typeface.
4343+3. Browse a font catalog (Google Fonts, Pangram Pangram, Adobe Fonts, Future Fonts, ABC Dinamo) with that physical object in mind. **Reject the first thing that "looks designy."** That's your trained-everywhere reflex. Keep looking.
4444+4. Avoid your defaults from previous projects. If you find yourself reaching for the same display font you used last time, make yourself pick something else.
4545+4646+**Anti-reflexes worth defending against**:
4747+- A technical/utilitarian brief does NOT need a serif "for warmth." Most tech tools should look like tech tools.
4848+- An editorial/premium brief does NOT need the same expressive serif everyone is using right now. Premium can be Swiss-modern, can be neo-grotesque, can be a literal monospace, can be a quiet humanist sans.
4949+- A children's product does NOT need a rounded display font. Kids' books use real type.
5050+- A "modern" brief does NOT need a geometric sans. The most modern thing you can do in 2026 is not use the font everyone else is using.
5151+5252+**System fonts are underrated**: `-apple-system, BlinkMacSystemFont, "Segoe UI", system-ui` looks native, loads instantly, and is highly readable. Consider this for apps where performance > personality.
5353+5454+### Pairing Principles
5555+5656+**The non-obvious truth**: You often don't need a second font. One well-chosen font family in multiple weights creates cleaner hierarchy than two competing typefaces. Only add a second font when you need genuine contrast (e.g., display headlines + body serif).
5757+5858+When pairing, contrast on multiple axes:
5959+- Serif + Sans (structure contrast)
6060+- Geometric + Humanist (personality contrast)
6161+- Condensed display + Wide body (proportion contrast)
6262+6363+**Never pair fonts that are similar but not identical** (e.g., two geometric sans-serifs). They create visual tension without clear hierarchy.
6464+6565+### Web Font Loading
6666+6767+The layout shift problem: fonts load late, text reflows, and users see content jump. Here's the fix:
6868+6969+```css
7070+/* 1. Use font-display: swap for visibility */
7171+@font-face {
7272+ font-family: 'CustomFont';
7373+ src: url('font.woff2') format('woff2');
7474+ font-display: swap;
7575+}
7676+7777+/* 2. Match fallback metrics to minimize shift */
7878+@font-face {
7979+ font-family: 'CustomFont-Fallback';
8080+ src: local('Arial');
8181+ size-adjust: 105%; /* Scale to match x-height */
8282+ ascent-override: 90%; /* Match ascender height */
8383+ descent-override: 20%; /* Match descender depth */
8484+ line-gap-override: 10%; /* Match line spacing */
8585+}
8686+8787+body {
8888+ font-family: 'CustomFont', 'CustomFont-Fallback', sans-serif;
8989+}
9090+```
9191+9292+Tools like [Fontaine](https://github.com/unjs/fontaine) calculate these overrides automatically.
9393+9494+## Modern Web Typography
9595+9696+### Fluid Type
9797+9898+Fluid typography via `clamp(min, preferred, max)` scales text smoothly with the viewport. The middle value (e.g., `5vw + 1rem`) controls scaling rate—higher vw = faster scaling. Add a rem offset so it doesn't collapse to 0 on small screens.
9999+100100+**Use fluid type for**: Headings and display text on marketing/content pages where text dominates the layout and needs to breathe across viewport sizes.
101101+102102+**Use fixed `rem` scales for**: App UIs, dashboards, and data-dense interfaces. No major app design system (Material, Polaris, Primer, Carbon) uses fluid type in product UI — fixed scales with optional breakpoint adjustments give the spatial predictability that container-based layouts need. Body text should also be fixed even on marketing pages, since the size difference across viewports is too small to warrant it.
103103+104104+### OpenType Features
105105+106106+Most developers don't know these exist. Use them for polish:
107107+108108+```css
109109+/* Tabular numbers for data alignment */
110110+.data-table { font-variant-numeric: tabular-nums; }
111111+112112+/* Proper fractions */
113113+.recipe-amount { font-variant-numeric: diagonal-fractions; }
114114+115115+/* Small caps for abbreviations */
116116+abbr { font-variant-caps: all-small-caps; }
117117+118118+/* Disable ligatures in code */
119119+code { font-variant-ligatures: none; }
120120+121121+/* Enable kerning (usually on by default, but be explicit) */
122122+body { font-kerning: normal; }
123123+```
124124+125125+Check what features your font supports at [Wakamai Fondue](https://wakamaifondue.com/).
126126+127127+## Typography System Architecture
128128+129129+Name tokens semantically (`--text-body`, `--text-heading`), not by value (`--font-size-16`). Include font stacks, size scale, weights, line-heights, and letter-spacing in your token system.
130130+131131+## Accessibility Considerations
132132+133133+Beyond contrast ratios (which are well-documented), consider:
134134+135135+- **Never disable zoom**: `user-scalable=no` breaks accessibility. If your layout breaks at 200% zoom, fix the layout.
136136+- **Use rem/em for font sizes**: This respects user browser settings. Never `px` for body text.
137137+- **Minimum 16px body text**: Smaller than this strains eyes and fails WCAG on mobile.
138138+- **Adequate touch targets**: Text links need padding or line-height that creates 44px+ tap targets.
139139+140140+---
141141+142142+**Avoid**: More than 2-3 font families per project. Skipping fallback font definitions. Ignoring font loading performance (FOUT/FOIT). Using decorative fonts for body text.
+107
.agents/skills/impeccable/reference/ux-writing.md
···11+# UX Writing
22+33+## The Button Label Problem
44+55+**Never use "OK", "Submit", or "Yes/No".** These are lazy and ambiguous. Use specific verb + object patterns:
66+77+| Bad | Good | Why |
88+|-----|------|-----|
99+| OK | Save changes | Says what will happen |
1010+| Submit | Create account | Outcome-focused |
1111+| Yes | Delete message | Confirms the action |
1212+| Cancel | Keep editing | Clarifies what "cancel" means |
1313+| Click here | Download PDF | Describes the destination |
1414+1515+**For destructive actions**, name the destruction:
1616+- "Delete" not "Remove" (delete is permanent, remove implies recoverable)
1717+- "Delete 5 items" not "Delete selected" (show the count)
1818+1919+## Error Messages: The Formula
2020+2121+Every error message should answer: (1) What happened? (2) Why? (3) How to fix it? Example: "Email address isn't valid. Please include an @ symbol." not "Invalid input".
2222+2323+### Error Message Templates
2424+2525+| Situation | Template |
2626+|-----------|----------|
2727+| **Format error** | "[Field] needs to be [format]. Example: [example]" |
2828+| **Missing required** | "Please enter [what's missing]" |
2929+| **Permission denied** | "You don't have access to [thing]. [What to do instead]" |
3030+| **Network error** | "We couldn't reach [thing]. Check your connection and [action]." |
3131+| **Server error** | "Something went wrong on our end. We're looking into it. [Alternative action]" |
3232+3333+### Don't Blame the User
3434+3535+Reframe errors: "Please enter a date in MM/DD/YYYY format" not "You entered an invalid date".
3636+3737+## Empty States Are Opportunities
3838+3939+Empty states are onboarding moments: (1) Acknowledge briefly, (2) Explain the value of filling it, (3) Provide a clear action. "No projects yet. Create your first one to get started." not just "No items".
4040+4141+## Voice vs Tone
4242+4343+**Voice** is your brand's personality—consistent everywhere.
4444+**Tone** adapts to the moment.
4545+4646+| Moment | Tone Shift |
4747+|--------|------------|
4848+| Success | Celebratory, brief: "Done! Your changes are live." |
4949+| Error | Empathetic, helpful: "That didn't work. Here's what to try..." |
5050+| Loading | Reassuring: "Saving your work..." |
5151+| Destructive confirm | Serious, clear: "Delete this project? This can't be undone." |
5252+5353+**Never use humor for errors.** Users are already frustrated. Be helpful, not cute.
5454+5555+## Writing for Accessibility
5656+5757+**Link text** must have standalone meaning—"View pricing plans" not "Click here". **Alt text** describes information, not the image—"Revenue increased 40% in Q4" not "Chart". Use `alt=""` for decorative images. **Icon buttons** need `aria-label` for screen reader context.
5858+5959+## Writing for Translation
6060+6161+### Plan for Expansion
6262+6363+German text is ~30% longer than English. Allocate space:
6464+6565+| Language | Expansion |
6666+|----------|-----------|
6767+| German | +30% |
6868+| French | +20% |
6969+| Finnish | +30-40% |
7070+| Chinese | -30% (fewer chars, but same width) |
7171+7272+### Translation-Friendly Patterns
7373+7474+Keep numbers separate ("New messages: 3" not "You have 3 new messages"). Use full sentences as single strings (word order varies by language). Avoid abbreviations ("5 minutes ago" not "5 mins ago"). Give translators context about where strings appear.
7575+7676+## Consistency: The Terminology Problem
7777+7878+Pick one term and stick with it:
7979+8080+| Inconsistent | Consistent |
8181+|--------------|------------|
8282+| Delete / Remove / Trash | Delete |
8383+| Settings / Preferences / Options | Settings |
8484+| Sign in / Log in / Enter | Sign in |
8585+| Create / Add / New | Create |
8686+8787+Build a terminology glossary and enforce it. Variety creates confusion.
8888+8989+## Avoid Redundant Copy
9090+9191+If the heading explains it, the intro is redundant. If the button is clear, don't explain it again. Say it once, say it well.
9292+9393+## Loading States
9494+9595+Be specific: "Saving your draft..." not "Loading...". For long waits, set expectations ("This usually takes 30 seconds") or show progress.
9696+9797+## Confirmation Dialogs: Use Sparingly
9898+9999+Most confirmation dialogs are design failures—consider undo instead. When you must confirm: name the action, explain consequences, use specific button labels ("Delete project" / "Keep project", not "Yes" / "No").
100100+101101+## Form Instructions
102102+103103+Show format with placeholders, not instructions. For non-obvious fields, explain why you're asking.
104104+105105+---
106106+107107+**Avoid**: Jargon without explanation. Blaming users ("You made an error" → "This field is required"). Vague errors ("Something went wrong"). Varying terminology for variety. Humor for errors.
···11+#!/usr/bin/env node
22+/**
33+ * Cleans up deprecated Impeccable skill files, symlinks, and
44+ * skills-lock.json entries left over from previous versions.
55+ *
66+ * Safe to run repeatedly -- it is a no-op when nothing needs cleaning.
77+ *
88+ * Usage (from the project root):
99+ * node {{scripts_path}}/cleanup-deprecated.mjs
1010+ *
1111+ * What it does:
1212+ * 1. Finds every harness-specific skills directory (.claude/skills,
1313+ * .cursor/skills, .agents/skills, etc.).
1414+ * 2. For each deprecated skill name (with and without i- prefix),
1515+ * checks if the directory exists and its SKILL.md mentions
1616+ * "impeccable" (to avoid deleting unrelated user skills).
1717+ * 3. Deletes confirmed matches (files, directories, or symlinks).
1818+ * 4. Removes the corresponding entries from skills-lock.json.
1919+ */
2020+2121+import { existsSync, readFileSync, writeFileSync, rmSync, readdirSync, statSync, lstatSync, unlinkSync } from 'node:fs';
2222+import { join, resolve } from 'node:path';
2323+2424+// Skills that were renamed, merged, or folded in v2.0 and v2.1.
2525+const DEPRECATED_NAMES = [
2626+ 'frontend-design', // renamed to impeccable (v2.0)
2727+ 'teach-impeccable', // folded into /impeccable teach (v2.0)
2828+ 'arrange', // renamed to layout (v2.1)
2929+ 'normalize', // merged into polish (v2.1)
3030+ 'onboard', // merged into harden (v2.1)
3131+ 'extract', // merged into /impeccable extract (v2.1)
3232+];
3333+3434+// All known harness directories that may contain a skills/ subfolder.
3535+const HARNESS_DIRS = [
3636+ '.claude', '.cursor', '.gemini', '.codex', '.agents',
3737+ '.trae', '.trae-cn', '.pi', '.opencode', '.kiro', '.rovodev',
3838+];
3939+4040+/**
4141+ * Walk up from startDir until we find a directory that looks like a
4242+ * project root (has package.json, .git, or skills-lock.json).
4343+ */
4444+export function findProjectRoot(startDir = process.cwd()) {
4545+ let dir = resolve(startDir);
4646+ const { root } = { root: '/' };
4747+ while (dir !== root) {
4848+ if (
4949+ existsSync(join(dir, 'package.json')) ||
5050+ existsSync(join(dir, '.git')) ||
5151+ existsSync(join(dir, 'skills-lock.json'))
5252+ ) {
5353+ return dir;
5454+ }
5555+ const parent = resolve(dir, '..');
5656+ if (parent === dir) break;
5757+ dir = parent;
5858+ }
5959+ return resolve(startDir);
6060+}
6161+6262+/**
6363+ * Check whether a skill directory belongs to Impeccable by reading its
6464+ * SKILL.md and looking for the word "impeccable" (case-insensitive).
6565+ * Returns false for non-existent paths or skills that don't match.
6666+ */
6767+export function isImpeccableSkill(skillDir) {
6868+ const skillMd = join(skillDir, 'SKILL.md');
6969+ if (!existsSync(skillMd)) return false;
7070+ try {
7171+ const content = readFileSync(skillMd, 'utf-8');
7272+ return /impeccable/i.test(content);
7373+ } catch {
7474+ return false;
7575+ }
7676+}
7777+7878+/**
7979+ * Build the full list of names to check: each deprecated name, plus
8080+ * its i-prefixed variant.
8181+ */
8282+export function buildTargetNames() {
8383+ const names = [];
8484+ for (const name of DEPRECATED_NAMES) {
8585+ names.push(name);
8686+ names.push(`i-${name}`);
8787+ }
8888+ return names;
8989+}
9090+9191+/**
9292+ * Find every skills directory across all harness dirs in the project.
9393+ * Returns absolute paths that exist on disk.
9494+ */
9595+export function findSkillsDirs(projectRoot) {
9696+ const dirs = [];
9797+ for (const harness of HARNESS_DIRS) {
9898+ const candidate = join(projectRoot, harness, 'skills');
9999+ if (existsSync(candidate)) {
100100+ dirs.push(candidate);
101101+ }
102102+ }
103103+ return dirs;
104104+}
105105+106106+/**
107107+ * Remove deprecated skill directories/symlinks from all harness dirs.
108108+ * Returns an array of paths that were deleted.
109109+ */
110110+export function removeDeprecatedSkills(projectRoot) {
111111+ const targets = buildTargetNames();
112112+ const skillsDirs = findSkillsDirs(projectRoot);
113113+ const deleted = [];
114114+115115+ for (const skillsDir of skillsDirs) {
116116+ for (const name of targets) {
117117+ const skillPath = join(skillsDir, name);
118118+119119+ // Use lstat to detect symlinks (existsSync follows symlinks and
120120+ // returns false for dangling ones).
121121+ let stat;
122122+ try {
123123+ stat = lstatSync(skillPath);
124124+ } catch {
125125+ continue; // does not exist at all
126126+ }
127127+128128+ if (stat.isSymbolicLink()) {
129129+ // Symlink: check the target if it's alive, otherwise treat
130130+ // dangling symlinks to deprecated names as safe to remove.
131131+ const targetAlive = existsSync(skillPath);
132132+ const isMatch = targetAlive ? isImpeccableSkill(skillPath) : true;
133133+ if (isMatch) {
134134+ unlinkSync(skillPath);
135135+ deleted.push(skillPath);
136136+ }
137137+ continue;
138138+ }
139139+140140+ // Regular directory -- verify it belongs to impeccable
141141+ if (isImpeccableSkill(skillPath)) {
142142+ rmSync(skillPath, { recursive: true, force: true });
143143+ deleted.push(skillPath);
144144+ }
145145+ }
146146+ }
147147+148148+ return deleted;
149149+}
150150+151151+/**
152152+ * Remove deprecated entries from skills-lock.json.
153153+ * Only removes entries whose source is "pbakaus/impeccable".
154154+ * Returns the list of removed skill names.
155155+ */
156156+export function cleanSkillsLock(projectRoot) {
157157+ const lockPath = join(projectRoot, 'skills-lock.json');
158158+ if (!existsSync(lockPath)) return [];
159159+160160+ let lock;
161161+ try {
162162+ lock = JSON.parse(readFileSync(lockPath, 'utf-8'));
163163+ } catch {
164164+ return [];
165165+ }
166166+167167+ if (!lock.skills || typeof lock.skills !== 'object') return [];
168168+169169+ const targets = buildTargetNames();
170170+ const removed = [];
171171+172172+ for (const name of targets) {
173173+ const entry = lock.skills[name];
174174+ if (!entry) continue;
175175+ // Only remove if it belongs to impeccable
176176+ if (entry.source === 'pbakaus/impeccable') {
177177+ delete lock.skills[name];
178178+ removed.push(name);
179179+ }
180180+ }
181181+182182+ if (removed.length > 0) {
183183+ writeFileSync(lockPath, JSON.stringify(lock, null, 2) + '\n', 'utf-8');
184184+ }
185185+186186+ return removed;
187187+}
188188+189189+/**
190190+ * Run the full cleanup. Returns a summary object.
191191+ */
192192+export function cleanup(projectRoot) {
193193+ const root = projectRoot || findProjectRoot();
194194+ const deletedPaths = removeDeprecatedSkills(root);
195195+ const removedLockEntries = cleanSkillsLock(root);
196196+ return { deletedPaths, removedLockEntries, projectRoot: root };
197197+}
198198+199199+// CLI entry point
200200+if (process.argv[1] && resolve(process.argv[1]) === resolve(new URL(import.meta.url).pathname)) {
201201+ const result = cleanup();
202202+ if (result.deletedPaths.length === 0 && result.removedLockEntries.length === 0) {
203203+ console.log('No deprecated Impeccable skills found. Nothing to clean up.');
204204+ } else {
205205+ if (result.deletedPaths.length > 0) {
206206+ console.log(`Removed ${result.deletedPaths.length} deprecated skill(s):`);
207207+ for (const p of result.deletedPaths) console.log(` - ${p}`);
208208+ }
209209+ if (result.removedLockEntries.length > 0) {
210210+ console.log(`Cleaned ${result.removedLockEntries.length} entry/entries from skills-lock.json:`);
211211+ for (const name of result.removedLockEntries) console.log(` - ${name}`);
212212+ }
213213+ }
214214+}
+125
.agents/skills/layout/SKILL.md
···11+---
22+name: layout
33+description: Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy. Use when the user mentions layout feeling off, spacing issues, visual hierarchy, crowded UI, alignment problems, or wanting better composition.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[target]"
77+---
88+99+Assess and improve layout and spacing that feels monotonous, crowded, or structurally weak — turning generic arrangements into intentional, rhythmic compositions.
1010+1111+## MANDATORY PREPARATION
1212+1313+Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first.
1414+1515+---
1616+1717+## Assess Current Layout
1818+1919+Analyze what's weak about the current spatial design:
2020+2121+1. **Spacing**:
2222+ - Is spacing consistent or arbitrary? (Random padding/margin values)
2323+ - Is all spacing the same? (Equal padding everywhere = no rhythm)
2424+ - Are related elements grouped tightly, with generous space between groups?
2525+2626+2. **Visual hierarchy**:
2727+ - Apply the squint test: blur your (metaphorical) eyes — can you still identify the most important element, second most important, and clear groupings?
2828+ - Is hierarchy achieved effectively? (Space and weight alone can be enough — but is the current approach working?)
2929+ - Does whitespace guide the eye to what matters?
3030+3131+3. **Grid & structure**:
3232+ - Is there a clear underlying structure, or does the layout feel random?
3333+ - Are identical card grids used everywhere? (Icon + heading + text, repeated endlessly)
3434+ - Is everything centered? (Left-aligned with asymmetric layouts feels more designed, but not a hard and fast rule)
3535+3636+4. **Rhythm & variety**:
3737+ - Does the layout have visual rhythm? (Alternating tight/generous spacing)
3838+ - Is every section structured the same way? (Monotonous repetition)
3939+ - Are there intentional moments of surprise or emphasis?
4040+4141+5. **Density**:
4242+ - Is the layout too cramped? (Not enough breathing room)
4343+ - Is the layout too sparse? (Excessive whitespace without purpose)
4444+ - Does density match the content type? (Data-dense UIs need tighter spacing; marketing pages need more air)
4545+4646+**CRITICAL**: Layout problems are often the root cause of interfaces feeling "off" even when colors and fonts are fine. Space is a design material — use it with intention.
4747+4848+## Plan Layout Improvements
4949+5050+Consult the [spatial design reference](reference/spatial-design.md) from the impeccable skill for detailed guidance on grids, rhythm, and container queries.
5151+5252+Create a systematic plan:
5353+5454+- **Spacing system**: Use a consistent scale — whether that's a framework's built-in scale (e.g., Tailwind), rem-based tokens, or a custom system. The specific values matter less than consistency.
5555+- **Hierarchy strategy**: How will space communicate importance?
5656+- **Layout approach**: What structure fits the content? Flex for 1D, Grid for 2D, named areas for complex page layouts.
5757+- **Rhythm**: Where should spacing be tight vs generous?
5858+5959+## Improve Layout Systematically
6060+6161+### Establish a Spacing System
6262+6363+- Use a consistent spacing scale — framework scales (Tailwind, etc.), rem-based tokens, or a custom scale all work. What matters is that values come from a defined set, not arbitrary numbers.
6464+- Name tokens semantically if using custom properties: `--space-xs` through `--space-xl`, not `--spacing-8`
6565+- Use `gap` for sibling spacing instead of margins — eliminates margin collapse hacks
6666+- Apply `clamp()` for fluid spacing that breathes on larger screens
6767+6868+### Create Visual Rhythm
6969+7070+- **Tight grouping** for related elements (8-12px between siblings)
7171+- **Generous separation** between distinct sections (48-96px)
7272+- **Varied spacing** within sections — not every row needs the same gap
7373+- **Asymmetric compositions** — break the predictable centered-content pattern when it makes sense
7474+7575+### Choose the Right Layout Tool
7676+7777+- **Use Flexbox for 1D layouts**: Rows of items, nav bars, button groups, card contents, most component internals. Flex is simpler and more appropriate for the majority of layout tasks.
7878+- **Use Grid for 2D layouts**: Page-level structure, dashboards, data-dense interfaces, anything where rows AND columns need coordinated control.
7979+- **Don't default to Grid** when Flexbox with `flex-wrap` would be simpler and more flexible.
8080+- Use `repeat(auto-fit, minmax(280px, 1fr))` for responsive grids without breakpoints.
8181+- Use named grid areas (`grid-template-areas`) for complex page layouts — redefine at breakpoints.
8282+8383+### Break Card Grid Monotony
8484+8585+- Don't default to card grids for everything — spacing and alignment create visual grouping naturally
8686+- Use cards only when content is truly distinct and actionable — never nest cards inside cards
8787+- Vary card sizes, span columns, or mix cards with non-card content to break repetition
8888+8989+### Strengthen Visual Hierarchy
9090+9191+- Use the fewest dimensions needed for clear hierarchy. Space alone can be enough — generous whitespace around an element draws the eye. Some of the most sophisticated designs achieve rhythm with just space and weight. Add color or size contrast only when simpler means aren't sufficient.
9292+- Be aware of reading flow — in LTR languages, the eye naturally scans top-left to bottom-right, but primary action placement depends on context (e.g., bottom-right in dialogs, top in navigation).
9393+- Create clear content groupings through proximity and separation.
9494+9595+### Manage Depth & Elevation
9696+9797+- Create a semantic z-index scale (dropdown → sticky → modal-backdrop → modal → toast → tooltip)
9898+- Build a consistent shadow scale (sm → md → lg → xl) — shadows should be subtle
9999+- Use elevation to reinforce hierarchy, not as decoration
100100+101101+### Optical Adjustments
102102+103103+- If an icon looks visually off-center despite being geometrically centered, nudge it — but only if you're confident it actually looks wrong. Don't adjust speculatively.
104104+105105+**NEVER**:
106106+- Use arbitrary spacing values outside your scale
107107+- Make all spacing equal — variety creates hierarchy
108108+- Wrap everything in cards — not everything needs a container
109109+- Nest cards inside cards — use spacing and dividers for hierarchy within
110110+- Use identical card grids everywhere (icon + heading + text, repeated)
111111+- Center everything — left-aligned with asymmetry feels more designed
112112+- Default to the hero metric layout (big number, small label, stats, gradient) as a template. If showing real user data, a prominent metric can work — but it should display actual data, not decorative numbers.
113113+- Default to CSS Grid when Flexbox would be simpler — use the simplest tool for the job
114114+- Use arbitrary z-index values (999, 9999) — build a semantic scale
115115+116116+## Verify Layout Improvements
117117+118118+- **Squint test**: Can you identify primary, secondary, and groupings with blurred vision?
119119+- **Rhythm**: Does the page have a satisfying beat of tight and generous spacing?
120120+- **Hierarchy**: Is the most important content obvious within 2 seconds?
121121+- **Breathing room**: Does the layout feel comfortable, not cramped or wasteful?
122122+- **Consistency**: Is the spacing system applied uniformly?
123123+- **Responsiveness**: Does the layout adapt gracefully across screen sizes?
124124+125125+Remember: Space is the most underused design tool. A layout with the right rhythm and hierarchy can make even simple content feel polished and intentional.
+266
.agents/skills/optimize/SKILL.md
···11+---
22+name: optimize
33+description: Diagnoses and fixes UI performance across loading speed, rendering, animations, images, and bundle size. Use when the user mentions slow, laggy, janky, performance, bundle size, load time, or wants a faster, smoother experience.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[target]"
77+---
88+99+Identify and fix performance issues to create faster, smoother user experiences.
1010+1111+## Assess Performance Issues
1212+1313+Understand current performance and identify problems:
1414+1515+1. **Measure current state**:
1616+ - **Core Web Vitals**: LCP, FID/INP, CLS scores
1717+ - **Load time**: Time to interactive, first contentful paint
1818+ - **Bundle size**: JavaScript, CSS, image sizes
1919+ - **Runtime performance**: Frame rate, memory usage, CPU usage
2020+ - **Network**: Request count, payload sizes, waterfall
2121+2222+2. **Identify bottlenecks**:
2323+ - What's slow? (Initial load? Interactions? Animations?)
2424+ - What's causing it? (Large images? Expensive JavaScript? Layout thrashing?)
2525+ - How bad is it? (Perceivable? Annoying? Blocking?)
2626+ - Who's affected? (All users? Mobile only? Slow connections?)
2727+2828+**CRITICAL**: Measure before and after. Premature optimization wastes time. Optimize what actually matters.
2929+3030+## Optimization Strategy
3131+3232+Create systematic improvement plan:
3333+3434+### Loading Performance
3535+3636+**Optimize Images**:
3737+- Use modern formats (WebP, AVIF)
3838+- Proper sizing (don't load 3000px image for 300px display)
3939+- Lazy loading for below-fold images
4040+- Responsive images (`srcset`, `picture` element)
4141+- Compress images (80-85% quality is usually imperceptible)
4242+- Use CDN for faster delivery
4343+4444+```html
4545+<img
4646+ src="hero.webp"
4747+ srcset="hero-400.webp 400w, hero-800.webp 800w, hero-1200.webp 1200w"
4848+ sizes="(max-width: 400px) 400px, (max-width: 800px) 800px, 1200px"
4949+ loading="lazy"
5050+ alt="Hero image"
5151+/>
5252+```
5353+5454+**Reduce JavaScript Bundle**:
5555+- Code splitting (route-based, component-based)
5656+- Tree shaking (remove unused code)
5757+- Remove unused dependencies
5858+- Lazy load non-critical code
5959+- Use dynamic imports for large components
6060+6161+```javascript
6262+// Lazy load heavy component
6363+const HeavyChart = lazy(() => import('./HeavyChart'));
6464+```
6565+6666+**Optimize CSS**:
6767+- Remove unused CSS
6868+- Critical CSS inline, rest async
6969+- Minimize CSS files
7070+- Use CSS containment for independent regions
7171+7272+**Optimize Fonts**:
7373+- Use `font-display: swap` or `optional`
7474+- Subset fonts (only characters you need)
7575+- Preload critical fonts
7676+- Use system fonts when appropriate
7777+- Limit font weights loaded
7878+7979+```css
8080+@font-face {
8181+ font-family: 'CustomFont';
8282+ src: url('/fonts/custom.woff2') format('woff2');
8383+ font-display: swap; /* Show fallback immediately */
8484+ unicode-range: U+0020-007F; /* Basic Latin only */
8585+}
8686+```
8787+8888+**Optimize Loading Strategy**:
8989+- Critical resources first (async/defer non-critical)
9090+- Preload critical assets
9191+- Prefetch likely next pages
9292+- Service worker for offline/caching
9393+- HTTP/2 or HTTP/3 for multiplexing
9494+9595+### Rendering Performance
9696+9797+**Avoid Layout Thrashing**:
9898+```javascript
9999+// ❌ Bad: Alternating reads and writes (causes reflows)
100100+elements.forEach(el => {
101101+ const height = el.offsetHeight; // Read (forces layout)
102102+ el.style.height = height * 2; // Write
103103+});
104104+105105+// ✅ Good: Batch reads, then batch writes
106106+const heights = elements.map(el => el.offsetHeight); // All reads
107107+elements.forEach((el, i) => {
108108+ el.style.height = heights[i] * 2; // All writes
109109+});
110110+```
111111+112112+**Optimize Rendering**:
113113+- Use CSS `contain` property for independent regions
114114+- Minimize DOM depth (flatter is faster)
115115+- Reduce DOM size (fewer elements)
116116+- Use `content-visibility: auto` for long lists
117117+- Virtual scrolling for very long lists (react-window, react-virtualized)
118118+119119+**Reduce Paint & Composite**:
120120+- Use `transform` and `opacity` for animations (GPU-accelerated)
121121+- Avoid animating layout properties (width, height, top, left)
122122+- Use `will-change` sparingly for known expensive operations
123123+- Minimize paint areas (smaller is faster)
124124+125125+### Animation Performance
126126+127127+**GPU Acceleration**:
128128+```css
129129+/* ✅ GPU-accelerated (fast) */
130130+.animated {
131131+ transform: translateX(100px);
132132+ opacity: 0.5;
133133+}
134134+135135+/* ❌ CPU-bound (slow) */
136136+.animated {
137137+ left: 100px;
138138+ width: 300px;
139139+}
140140+```
141141+142142+**Smooth 60fps**:
143143+- Target 16ms per frame (60fps)
144144+- Use `requestAnimationFrame` for JS animations
145145+- Debounce/throttle scroll handlers
146146+- Use CSS animations when possible
147147+- Avoid long-running JavaScript during animations
148148+149149+**Intersection Observer**:
150150+```javascript
151151+// Efficiently detect when elements enter viewport
152152+const observer = new IntersectionObserver((entries) => {
153153+ entries.forEach(entry => {
154154+ if (entry.isIntersecting) {
155155+ // Element is visible, lazy load or animate
156156+ }
157157+ });
158158+});
159159+```
160160+161161+### React/Framework Optimization
162162+163163+**React-specific**:
164164+- Use `memo()` for expensive components
165165+- `useMemo()` and `useCallback()` for expensive computations
166166+- Virtualize long lists
167167+- Code split routes
168168+- Avoid inline function creation in render
169169+- Use React DevTools Profiler
170170+171171+**Framework-agnostic**:
172172+- Minimize re-renders
173173+- Debounce expensive operations
174174+- Memoize computed values
175175+- Lazy load routes and components
176176+177177+### Network Optimization
178178+179179+**Reduce Requests**:
180180+- Combine small files
181181+- Use SVG sprites for icons
182182+- Inline small critical assets
183183+- Remove unused third-party scripts
184184+185185+**Optimize APIs**:
186186+- Use pagination (don't load everything)
187187+- GraphQL to request only needed fields
188188+- Response compression (gzip, brotli)
189189+- HTTP caching headers
190190+- CDN for static assets
191191+192192+**Optimize for Slow Connections**:
193193+- Adaptive loading based on connection (navigator.connection)
194194+- Optimistic UI updates
195195+- Request prioritization
196196+- Progressive enhancement
197197+198198+## Core Web Vitals Optimization
199199+200200+### Largest Contentful Paint (LCP < 2.5s)
201201+- Optimize hero images
202202+- Inline critical CSS
203203+- Preload key resources
204204+- Use CDN
205205+- Server-side rendering
206206+207207+### First Input Delay (FID < 100ms) / INP (< 200ms)
208208+- Break up long tasks
209209+- Defer non-critical JavaScript
210210+- Use web workers for heavy computation
211211+- Reduce JavaScript execution time
212212+213213+### Cumulative Layout Shift (CLS < 0.1)
214214+- Set dimensions on images and videos
215215+- Don't inject content above existing content
216216+- Use `aspect-ratio` CSS property
217217+- Reserve space for ads/embeds
218218+- Avoid animations that cause layout shifts
219219+220220+```css
221221+/* Reserve space for image */
222222+.image-container {
223223+ aspect-ratio: 16 / 9;
224224+}
225225+```
226226+227227+## Performance Monitoring
228228+229229+**Tools to use**:
230230+- Chrome DevTools (Lighthouse, Performance panel)
231231+- WebPageTest
232232+- Core Web Vitals (Chrome UX Report)
233233+- Bundle analyzers (webpack-bundle-analyzer)
234234+- Performance monitoring (Sentry, DataDog, New Relic)
235235+236236+**Key metrics**:
237237+- LCP, FID/INP, CLS (Core Web Vitals)
238238+- Time to Interactive (TTI)
239239+- First Contentful Paint (FCP)
240240+- Total Blocking Time (TBT)
241241+- Bundle size
242242+- Request count
243243+244244+**IMPORTANT**: Measure on real devices with real network conditions. Desktop Chrome with fast connection isn't representative.
245245+246246+**NEVER**:
247247+- Optimize without measuring (premature optimization)
248248+- Sacrifice accessibility for performance
249249+- Break functionality while optimizing
250250+- Use `will-change` everywhere (creates new layers, uses memory)
251251+- Lazy load above-fold content
252252+- Optimize micro-optimizations while ignoring major issues (optimize the biggest bottleneck first)
253253+- Forget about mobile performance (often slower devices, slower connections)
254254+255255+## Verify Improvements
256256+257257+Test that optimizations worked:
258258+259259+- **Before/after metrics**: Compare Lighthouse scores
260260+- **Real user monitoring**: Track improvements for real users
261261+- **Different devices**: Test on low-end Android, not just flagship iPhone
262262+- **Slow connections**: Throttle to 3G, test experience
263263+- **No regressions**: Ensure functionality still works
264264+- **User perception**: Does it *feel* faster?
265265+266266+Remember: Performance is a feature. Fast experiences feel more responsive, more polished, more professional. Optimize systematically, measure ruthlessly, and prioritize user-perceived performance.
+142
.agents/skills/overdrive/SKILL.md
···11+---
22+name: overdrive
33+description: Pushes interfaces past conventional limits with technically ambitious implementations — shaders, spring physics, scroll-driven reveals, 60fps animations. Use when the user wants to wow, impress, go all-out, or make something that feels extraordinary.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[target]"
77+---
88+99+Start your response with:
1010+1111+```
1212+──────────── ⚡ OVERDRIVE ─────────────
1313+》》》 Entering overdrive mode...
1414+```
1515+1616+Push an interface past conventional limits. This isn't just about visual effects — it's about using the full power of the browser to make any part of an interface feel extraordinary: a table that handles a million rows, a dialog that morphs from its trigger, a form that validates in real-time with streaming feedback, a page transition that feels cinematic.
1717+1818+## MANDATORY PREPARATION
1919+2020+Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first.
2121+2222+**EXTRA IMPORTANT FOR THIS SKILL**: Context determines what "extraordinary" means. A particle system on a creative portfolio is impressive. The same particle system on a settings page is embarrassing. But a settings page with instant optimistic saves and animated state transitions? That's extraordinary too. Understand the project's personality and goals before deciding what's appropriate.
2323+2424+### Propose Before Building
2525+2626+This skill has the highest potential to misfire. Do NOT jump straight into implementation. You MUST:
2727+2828+1. **Think through 2-3 different directions** — consider different techniques, levels of ambition, and aesthetic approaches. For each direction, briefly describe what the result would look and feel like.
2929+2. **ask the user directly to clarify what you cannot infer.** to present these directions and get the user's pick before writing any code. Explain trade-offs (browser support, performance cost, complexity).
3030+3. Only proceed with the direction the user confirms.
3131+3232+Skipping this step risks building something embarrassing that needs to be thrown away.
3333+3434+### Iterate with Browser Automation
3535+3636+Technically ambitious effects almost never work on the first try. You MUST actively use browser automation tools to preview your work, visually verify the result, and iterate. Do not assume the effect looks right — check it. Expect multiple rounds of refinement. The gap between "technically works" and "looks extraordinary" is closed through visual iteration, not code alone.
3737+3838+---
3939+4040+## Assess What "Extraordinary" Means Here
4141+4242+The right kind of technical ambition depends entirely on what you're working with. Before choosing a technique, ask: **what would make a user of THIS specific interface say "wow, that's nice"?**
4343+4444+### For visual/marketing surfaces
4545+Pages, hero sections, landing pages, portfolios — the "wow" is often sensory: a scroll-driven reveal, a shader background, a cinematic page transition, generative art that responds to the cursor.
4646+4747+### For functional UI
4848+Tables, forms, dialogs, navigation — the "wow" is in how it FEELS: a dialog that morphs from the button that triggered it via View Transitions, a data table that renders 100k rows at 60fps via virtual scrolling, a form with streaming validation that feels instant, drag-and-drop with spring physics.
4949+5050+### For performance-critical UI
5151+The "wow" is invisible but felt: a search that filters 50k items without a flicker, a complex form that never blocks the main thread, an image editor that processes in near-real-time. The interface just never hesitates.
5252+5353+### For data-heavy interfaces
5454+Charts and dashboards — the "wow" is in fluidity: GPU-accelerated rendering via Canvas/WebGL for massive datasets, animated transitions between data states, force-directed graph layouts that settle naturally.
5555+5656+**The common thread**: something about the implementation goes beyond what users expect from a web interface. The technique serves the experience, not the other way around.
5757+5858+## The Toolkit
5959+6060+Organized by what you're trying to achieve, not by technology name.
6161+6262+### Make transitions feel cinematic
6363+- **View Transitions API** (same-document: all browsers; cross-document: no Firefox) — shared element morphing between states. A list item expanding into a detail page. A button morphing into a dialog. This is the closest thing to native FLIP animations.
6464+- **`@starting-style`** (all browsers) — animate elements from `display: none` to visible with CSS only, including entry keyframes
6565+- **Spring physics** — natural motion with mass, tension, and damping instead of cubic-bezier. Libraries: motion (formerly Framer Motion), GSAP, or roll your own spring solver.
6666+6767+### Tie animation to scroll position
6868+- **Scroll-driven animations** (`animation-timeline: scroll()`) — CSS-only, no JS. Parallax, progress bars, reveal sequences all driven by scroll position. (Chrome/Edge/Safari; Firefox: flag only — always provide a static fallback)
6969+7070+### Render beyond CSS
7171+- **WebGL** (all browsers) — shader effects, post-processing, particle systems. Libraries: Three.js, OGL (lightweight), regl. Use for effects CSS can't express.
7272+- **WebGPU** (Chrome/Edge; Safari partial; Firefox: flag only) — next-gen GPU compute. More powerful than WebGL but limited browser support. Always fall back to WebGL2.
7373+- **Canvas 2D / OffscreenCanvas** — custom rendering, pixel manipulation, or moving heavy rendering off the main thread entirely via Web Workers + OffscreenCanvas.
7474+- **SVG filter chains** — displacement maps, turbulence, morphology for organic distortion effects. CSS-animatable.
7575+7676+### Make data feel alive
7777+- **Virtual scrolling** — render only visible rows for tables/lists with tens of thousands of items. No library required for simple cases; TanStack Virtual for complex ones.
7878+- **GPU-accelerated charts** — Canvas or WebGL-rendered data visualization for datasets too large for SVG/DOM. Libraries: deck.gl, regl-based custom renderers.
7979+- **Animated data transitions** — morph between chart states rather than replacing. D3's `transition()` or View Transitions for DOM-based charts.
8080+8181+### Animate complex properties
8282+- **`@property`** (all browsers) — register custom CSS properties with types, enabling animation of gradients, colors, and complex values that CSS can't normally interpolate.
8383+- **Web Animations API** (all browsers) — JavaScript-driven animations with the performance of CSS. Composable, cancellable, reversible. The foundation for complex choreography.
8484+8585+### Push performance boundaries
8686+- **Web Workers** — move computation off the main thread. Heavy data processing, image manipulation, search indexing — anything that would cause jank.
8787+- **OffscreenCanvas** — render in a Worker thread. The main thread stays free while complex visuals render in the background.
8888+- **WASM** — near-native performance for computation-heavy features. Image processing, physics simulations, codecs.
8989+9090+### Interact with the device
9191+- **Web Audio API** — spatial audio, audio-reactive visualizations, sonic feedback. Requires user gesture to start.
9292+- **Device APIs** — orientation, ambient light, geolocation. Use sparingly and always with user permission.
9393+9494+**NOTE**: This skill is about enhancing how an interface FEELS, not changing what a product DOES. Adding real-time collaboration, offline support, or new backend capabilities are product decisions, not UI enhancements. Focus on making existing features feel extraordinary.
9595+9696+## Implement with Discipline
9797+9898+### Progressive enhancement is non-negotiable
9999+100100+Every technique must degrade gracefully. The experience without the enhancement must still be good.
101101+102102+```css
103103+@supports (animation-timeline: scroll()) {
104104+ .hero { animation-timeline: scroll(); }
105105+}
106106+```
107107+108108+```javascript
109109+if ('gpu' in navigator) { /* WebGPU */ }
110110+else if (canvas.getContext('webgl2')) { /* WebGL2 fallback */ }
111111+/* CSS-only fallback must still look good */
112112+```
113113+114114+### Performance rules
115115+116116+- Target 60fps. If dropping below 50, simplify.
117117+- Respect `prefers-reduced-motion` — always. Provide a beautiful static alternative.
118118+- Lazy-initialize heavy resources (WebGL contexts, WASM modules) only when near viewport.
119119+- Pause off-screen rendering. Kill what you can't see.
120120+- Test on real mid-range devices, not just your development machine.
121121+122122+### Polish is the difference
123123+124124+The gap between "cool" and "extraordinary" is in the last 20% of refinement: the easing curve on a spring animation, the timing offset in a staggered reveal, the subtle secondary motion that makes a transition feel physical. Don't ship the first version that works — ship the version that feels inevitable.
125125+126126+**NEVER**:
127127+- Ignore `prefers-reduced-motion` — this is an accessibility requirement, not a suggestion
128128+- Ship effects that cause jank on mid-range devices
129129+- Use bleeding-edge APIs without a functional fallback
130130+- Add sound without explicit user opt-in
131131+- Use technical ambition to mask weak design fundamentals — fix those first with other skills
132132+- Layer multiple competing extraordinary moments — focus creates impact, excess creates noise
133133+134134+## Verify the Result
135135+136136+- **The wow test**: Show it to someone who hasn't seen it. Do they react?
137137+- **The removal test**: Take it away. Does the experience feel diminished, or does nobody notice?
138138+- **The device test**: Run it on a phone, a tablet, a Chromebook. Still smooth?
139139+- **The accessibility test**: Enable reduced motion. Still beautiful?
140140+- **The context test**: Does this make sense for THIS brand and audience?
141141+142142+Remember: "Technically extraordinary" isn't about using the newest API. It's about making an interface do something users didn't think a website could do.
+224
.agents/skills/polish/SKILL.md
···11+---
22+name: polish
33+description: Performs a final quality pass fixing alignment, spacing, consistency, and micro-detail issues before shipping. Use when the user mentions polish, finishing touches, pre-launch review, something looks off, or wants to go from good to great.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[target]"
77+---
88+99+## MANDATORY PREPARATION
1010+1111+Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first. Additionally gather: quality bar (MVP vs flagship).
1212+1313+---
1414+1515+Perform a meticulous final pass to catch all the small details that separate good work from great work. The difference between shipped and polished.
1616+1717+## Design System Discovery
1818+1919+Before polishing, understand the system you are polishing toward:
2020+2121+1. **Find the design system**: Search for design system documentation, component libraries, style guides, or token definitions. Study the core patterns: color tokens, spacing scale, typography styles, component API.
2222+2. **Note the conventions**: How are shared components imported? What spacing scale is used? Which colors come from tokens vs hard-coded values? What motion and interaction patterns are established?
2323+3. **Identify drift**: Where does the target feature deviate from the system? Hard-coded values that should be tokens, custom components that duplicate shared ones, spacing that doesn't match the scale.
2424+2525+If a design system exists, polish should align the feature with it. If none exists, polish against the conventions visible in the codebase.
2626+2727+## Pre-Polish Assessment
2828+2929+Understand the current state and goals:
3030+3131+1. **Review completeness**:
3232+ - Is it functionally complete?
3333+ - Are there known issues to preserve (mark with TODOs)?
3434+ - What's the quality bar? (MVP vs flagship feature?)
3535+ - When does it ship? (How much time for polish?)
3636+3737+2. **Identify polish areas**:
3838+ - Visual inconsistencies
3939+ - Spacing and alignment issues
4040+ - Interaction state gaps
4141+ - Copy inconsistencies
4242+ - Edge cases and error states
4343+ - Loading and transition smoothness
4444+4545+**CRITICAL**: Polish is the last step, not the first. Don't polish work that's not functionally complete.
4646+4747+## Polish Systematically
4848+4949+Work through these dimensions methodically:
5050+5151+### Visual Alignment & Spacing
5252+5353+- **Pixel-perfect alignment**: Everything lines up to grid
5454+- **Consistent spacing**: All gaps use spacing scale (no random 13px gaps)
5555+- **Optical alignment**: Adjust for visual weight (icons may need offset for optical centering)
5656+- **Responsive consistency**: Spacing and alignment work at all breakpoints
5757+- **Grid adherence**: Elements snap to baseline grid
5858+5959+**Check**:
6060+- Enable grid overlay and verify alignment
6161+- Check spacing with browser inspector
6262+- Test at multiple viewport sizes
6363+- Look for elements that "feel" off
6464+6565+### Typography Refinement
6666+6767+- **Hierarchy consistency**: Same elements use same sizes/weights throughout
6868+- **Line length**: 45-75 characters for body text
6969+- **Line height**: Appropriate for font size and context
7070+- **Widows & orphans**: No single words on last line
7171+- **Hyphenation**: Appropriate for language and column width
7272+- **Kerning**: Adjust letter spacing where needed (especially headlines)
7373+- **Font loading**: No FOUT/FOIT flashes
7474+7575+### Color & Contrast
7676+7777+- **Contrast ratios**: All text meets WCAG standards
7878+- **Consistent token usage**: No hard-coded colors, all use design tokens
7979+- **Theme consistency**: Works in all theme variants
8080+- **Color meaning**: Same colors mean same things throughout
8181+- **Accessible focus**: Focus indicators visible with sufficient contrast
8282+- **Tinted neutrals**: No pure gray or pure black—add subtle color tint (0.01 chroma)
8383+- **Gray on color**: Never put gray text on colored backgrounds—use a shade of that color or transparency
8484+8585+### Interaction States
8686+8787+Every interactive element needs all states:
8888+8989+- **Default**: Resting state
9090+- **Hover**: Subtle feedback (color, scale, shadow)
9191+- **Focus**: Keyboard focus indicator (never remove without replacement)
9292+- **Active**: Click/tap feedback
9393+- **Disabled**: Clearly non-interactive
9494+- **Loading**: Async action feedback
9595+- **Error**: Validation or error state
9696+- **Success**: Successful completion
9797+9898+**Missing states create confusion and broken experiences**.
9999+100100+### Micro-interactions & Transitions
101101+102102+- **Smooth transitions**: All state changes animated appropriately (150-300ms)
103103+- **Consistent easing**: Use ease-out-quart/quint/expo for natural deceleration. Never bounce or elastic—they feel dated.
104104+- **No jank**: 60fps animations, only animate transform and opacity
105105+- **Appropriate motion**: Motion serves purpose, not decoration
106106+- **Reduced motion**: Respects `prefers-reduced-motion`
107107+108108+### Content & Copy
109109+110110+- **Consistent terminology**: Same things called same names throughout
111111+- **Consistent capitalization**: Title Case vs Sentence case applied consistently
112112+- **Grammar & spelling**: No typos
113113+- **Appropriate length**: Not too wordy, not too terse
114114+- **Punctuation consistency**: Periods on sentences, not on labels (unless all labels have them)
115115+116116+### Icons & Images
117117+118118+- **Consistent style**: All icons from same family or matching style
119119+- **Appropriate sizing**: Icons sized consistently for context
120120+- **Proper alignment**: Icons align with adjacent text optically
121121+- **Alt text**: All images have descriptive alt text
122122+- **Loading states**: Images don't cause layout shift, proper aspect ratios
123123+- **Retina support**: 2x assets for high-DPI screens
124124+125125+### Forms & Inputs
126126+127127+- **Label consistency**: All inputs properly labeled
128128+- **Required indicators**: Clear and consistent
129129+- **Error messages**: Helpful and consistent
130130+- **Tab order**: Logical keyboard navigation
131131+- **Auto-focus**: Appropriate (don't overuse)
132132+- **Validation timing**: Consistent (on blur vs on submit)
133133+134134+### Edge Cases & Error States
135135+136136+- **Loading states**: All async actions have loading feedback
137137+- **Empty states**: Helpful empty states, not just blank space
138138+- **Error states**: Clear error messages with recovery paths
139139+- **Success states**: Confirmation of successful actions
140140+- **Long content**: Handles very long names, descriptions, etc.
141141+- **No content**: Handles missing data gracefully
142142+- **Offline**: Appropriate offline handling (if applicable)
143143+144144+### Responsiveness
145145+146146+- **All breakpoints**: Test mobile, tablet, desktop
147147+- **Touch targets**: 44x44px minimum on touch devices
148148+- **Readable text**: No text smaller than 14px on mobile
149149+- **No horizontal scroll**: Content fits viewport
150150+- **Appropriate reflow**: Content adapts logically
151151+152152+### Performance
153153+154154+- **Fast initial load**: Optimize critical path
155155+- **No layout shift**: Elements don't jump after load (CLS)
156156+- **Smooth interactions**: No lag or jank
157157+- **Optimized images**: Appropriate formats and sizes
158158+- **Lazy loading**: Off-screen content loads lazily
159159+160160+### Code Quality
161161+162162+- **Remove console logs**: No debug logging in production
163163+- **Remove commented code**: Clean up dead code
164164+- **Remove unused imports**: Clean up unused dependencies
165165+- **Consistent naming**: Variables and functions follow conventions
166166+- **Type safety**: No TypeScript `any` or ignored errors
167167+- **Accessibility**: Proper ARIA labels and semantic HTML
168168+169169+## Polish Checklist
170170+171171+Go through systematically:
172172+173173+- [ ] Visual alignment perfect at all breakpoints
174174+- [ ] Spacing uses design tokens consistently
175175+- [ ] Typography hierarchy consistent
176176+- [ ] All interactive states implemented
177177+- [ ] All transitions smooth (60fps)
178178+- [ ] Copy is consistent and polished
179179+- [ ] Icons are consistent and properly sized
180180+- [ ] All forms properly labeled and validated
181181+- [ ] Error states are helpful
182182+- [ ] Loading states are clear
183183+- [ ] Empty states are welcoming
184184+- [ ] Touch targets are 44x44px minimum
185185+- [ ] Contrast ratios meet WCAG AA
186186+- [ ] Keyboard navigation works
187187+- [ ] Focus indicators visible
188188+- [ ] No console errors or warnings
189189+- [ ] No layout shift on load
190190+- [ ] Works in all supported browsers
191191+- [ ] Respects reduced motion preference
192192+- [ ] Code is clean (no TODOs, console.logs, commented code)
193193+194194+**IMPORTANT**: Polish is about details. Zoom in. Squint at it. Use it yourself. The little things add up.
195195+196196+**NEVER**:
197197+- Polish before it's functionally complete
198198+- Spend hours on polish if it ships in 30 minutes (triage)
199199+- Introduce bugs while polishing (test thoroughly)
200200+- Ignore systematic issues (if spacing is off everywhere, fix the system)
201201+- Perfect one thing while leaving others rough (consistent quality level)
202202+- Create new one-off components when design system equivalents exist
203203+- Hard-code values that should use design tokens
204204+205205+## Final Verification
206206+207207+Before marking as done:
208208+209209+- **Use it yourself**: Actually interact with the feature
210210+- **Test on real devices**: Not just browser DevTools
211211+- **Ask someone else to review**: Fresh eyes catch things
212212+- **Compare to design**: Match intended design
213213+- **Check all states**: Don't just test happy path
214214+215215+## Clean Up
216216+217217+After polishing, ensure code quality:
218218+219219+- **Replace custom implementations**: If the design system provides a component you reimplemented, switch to the shared version.
220220+- **Remove orphaned code**: Delete unused styles, components, or files made obsolete by polish.
221221+- **Consolidate tokens**: If you introduced new values, check whether they should be tokens.
222222+- **Verify DRYness**: Look for duplication introduced during polishing and consolidate.
223223+224224+Remember: You have impeccable attention to detail and exquisite taste. Polish until it feels effortless, looks intentional, and works flawlessly. Sweat the details - they matter.
+103
.agents/skills/quieter/SKILL.md
···11+---
22+name: quieter
33+description: Tones down visually aggressive or overstimulating designs, reducing intensity while preserving quality. Use when the user mentions too bold, too loud, overwhelming, aggressive, garish, or wants a calmer, more refined aesthetic.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[target]"
77+---
88+99+Reduce visual intensity in designs that are too bold, aggressive, or overstimulating, creating a more refined and approachable aesthetic without losing effectiveness.
1010+1111+## MANDATORY PREPARATION
1212+1313+Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first.
1414+1515+---
1616+1717+## Assess Current State
1818+1919+Analyze what makes the design feel too intense:
2020+2121+1. **Identify intensity sources**:
2222+ - **Color saturation**: Overly bright or saturated colors
2323+ - **Contrast extremes**: Too much high-contrast juxtaposition
2424+ - **Visual weight**: Too many bold, heavy elements competing
2525+ - **Animation excess**: Too much motion or overly dramatic effects
2626+ - **Complexity**: Too many visual elements, patterns, or decorations
2727+ - **Scale**: Everything is large and loud with no hierarchy
2828+2929+2. **Understand the context**:
3030+ - What's the purpose? (Marketing vs tool vs reading experience)
3131+ - Who's the audience? (Some contexts need energy)
3232+ - What's working? (Don't throw away good ideas)
3333+ - What's the core message? (Preserve what matters)
3434+3535+If any of these are unclear from the codebase, ask the user directly to clarify what you cannot infer.
3636+3737+**CRITICAL**: "Quieter" doesn't mean boring or generic. It means refined, sophisticated, and easier on the eyes. Think luxury, not laziness.
3838+3939+## Plan Refinement
4040+4141+Create a strategy to reduce intensity while maintaining impact:
4242+4343+- **Color approach**: Desaturate or shift to more sophisticated tones?
4444+- **Hierarchy approach**: Which elements should stay bold (very few), which should recede?
4545+- **Simplification approach**: What can be removed entirely?
4646+- **Sophistication approach**: How can we signal quality through restraint?
4747+4848+**IMPORTANT**: Great quiet design is harder than great bold design. Subtlety requires precision.
4949+5050+## Refine the Design
5151+5252+Systematically reduce intensity across these dimensions:
5353+5454+### Color Refinement
5555+- **Reduce saturation**: Shift from fully saturated to 70-85% saturation
5656+- **Soften palette**: Replace bright colors with muted, sophisticated tones
5757+- **Reduce color variety**: Use fewer colors more thoughtfully
5858+- **Neutral dominance**: Let neutrals do more work, use color as accent (10% rule)
5959+- **Gentler contrasts**: High contrast only where it matters most
6060+- **Tinted grays**: Use warm or cool tinted grays instead of pure gray—adds sophistication without loudness
6161+- **Never gray on color**: If you have gray text on a colored background, use a darker shade of that color or transparency instead
6262+6363+### Visual Weight Reduction
6464+- **Typography**: Reduce font weights (900 → 600, 700 → 500), decrease sizes where appropriate
6565+- **Hierarchy through subtlety**: Use weight, size, and space instead of color and boldness
6666+- **White space**: Increase breathing room, reduce density
6767+- **Borders & lines**: Reduce thickness, decrease opacity, or remove entirely
6868+6969+### Simplification
7070+- **Remove decorative elements**: Gradients, shadows, patterns, textures that don't serve purpose
7171+- **Simplify shapes**: Reduce border radius extremes, simplify custom shapes
7272+- **Reduce layering**: Flatten visual hierarchy where possible
7373+- **Clean up effects**: Reduce or remove blur effects, glows, multiple shadows
7474+7575+### Motion Reduction
7676+- **Reduce animation intensity**: Shorter distances (10-20px instead of 40px), gentler easing
7777+- **Remove decorative animations**: Keep functional motion, remove flourishes
7878+- **Subtle micro-interactions**: Replace dramatic effects with gentle feedback
7979+- **Refined easing**: Use ease-out-quart for smooth, understated motion—never bounce or elastic
8080+- **Remove animations entirely** if they're not serving a clear purpose
8181+8282+### Composition Refinement
8383+- **Reduce scale jumps**: Smaller contrast between sizes creates calmer feeling
8484+- **Align to grid**: Bring rogue elements back into systematic alignment
8585+- **Even out spacing**: Replace extreme spacing variations with consistent rhythm
8686+8787+**NEVER**:
8888+- Make everything the same size/weight (hierarchy still matters)
8989+- Remove all color (quiet ≠ grayscale)
9090+- Eliminate all personality (maintain character through refinement)
9191+- Sacrifice usability for aesthetics (functional elements still need clear affordances)
9292+- Make everything small and light (some anchors needed)
9393+9494+## Verify Quality
9595+9696+Ensure refinement maintains quality:
9797+9898+- **Still functional**: Can users still accomplish tasks easily?
9999+- **Still distinctive**: Does it have character, or is it generic now?
100100+- **Better reading**: Is text easier to read for extended periods?
101101+- **Sophistication**: Does it feel more refined and premium?
102102+103103+Remember: Quiet design is confident design. It doesn't need to shout. Less is more, but less is also harder. Refine with precision and maintain intentionality.
+96
.agents/skills/shape/SKILL.md
···11+---
22+name: shape
33+description: Plan the UX and UI for a feature before writing code. Runs a structured discovery interview, then produces a design brief that guides implementation. Use during the planning phase to establish design direction, constraints, and strategy before any code is written.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[feature to shape]"
77+---
88+99+## MANDATORY PREPARATION
1010+1111+Invoke /impeccable, which contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding. If no design context exists yet, you MUST run /impeccable teach first.
1212+1313+---
1414+1515+Shape the UX and UI for a feature before any code is written. This skill produces a **design brief**: a structured artifact that guides implementation through discovery, not guesswork.
1616+1717+**Scope**: Design planning only. This skill does NOT write code. It produces the thinking that makes code good.
1818+1919+**Output**: A design brief that can be handed off to /impeccable craft, /impeccable, or any other implementation skill.
2020+2121+## Philosophy
2222+2323+Most AI-generated UIs fail not because of bad code, but because of skipped thinking. They jump to "here's a card grid" without asking "what is the user trying to accomplish?" This skill inverts that: understand deeply first, so implementation is precise.
2424+2525+## Phase 1: Discovery Interview
2626+2727+**Do NOT write any code or make any design decisions during this phase.** Your only job is to understand the feature deeply enough to make excellent design decisions later.
2828+2929+Ask these questions in conversation, adapting based on answers. Don't dump them all at once; have a natural dialogue. ask the user directly to clarify what you cannot infer.
3030+3131+### Purpose & Context
3232+- What is this feature for? What problem does it solve?
3333+- Who specifically will use it? (Not "users"; be specific: role, context, frequency)
3434+- What does success look like? How will you know this feature is working?
3535+- What's the user's state of mind when they reach this feature? (Rushed? Exploring? Anxious? Focused?)
3636+3737+### Content & Data
3838+- What content or data does this feature display or collect?
3939+- What are the realistic ranges? (Minimum, typical, maximum, e.g., 0 items, 5 items, 500 items)
4040+- What are the edge cases? (Empty state, error state, first-time use, power user)
4141+- Is any content dynamic? What changes and how often?
4242+4343+### Design Goals
4444+- What's the single most important thing a user should do or understand here?
4545+- What should this feel like? (Fast/efficient? Calm/trustworthy? Fun/playful? Premium/refined?)
4646+- Are there existing patterns in the product this should be consistent with?
4747+- Are there specific examples (inside or outside the product) that capture what you're going for?
4848+4949+### Constraints
5050+- Are there technical constraints? (Framework, performance budget, browser support)
5151+- Are there content constraints? (Localization, dynamic text length, user-generated content)
5252+- Mobile/responsive requirements?
5353+- Accessibility requirements beyond WCAG AA?
5454+5555+### Anti-Goals
5656+- What should this NOT be? What would be a wrong direction?
5757+- What's the biggest risk of getting this wrong?
5858+5959+## Phase 2: Design Brief
6060+6161+After the interview, synthesize everything into a structured design brief. Present it to the user for confirmation before considering this skill complete.
6262+6363+### Brief Structure
6464+6565+**1. Feature Summary** (2-3 sentences)
6666+What this is, who it's for, what it needs to accomplish.
6767+6868+**2. Primary User Action**
6969+The single most important thing a user should do or understand here.
7070+7171+**3. Design Direction**
7272+How this should feel. What aesthetic approach fits. Reference the project's design context from `.impeccable.md` and explain how this feature should express it.
7373+7474+**4. Layout Strategy**
7575+High-level spatial approach: what gets emphasis, what's secondary, how information flows. Describe the visual hierarchy and rhythm, not specific CSS.
7676+7777+**5. Key States**
7878+List every state the feature needs: default, empty, loading, error, success, edge cases. For each, note what the user needs to see and feel.
7979+8080+**6. Interaction Model**
8181+How users interact with this feature. What happens on click, hover, scroll? What feedback do they get? What's the flow from entry to completion?
8282+8383+**7. Content Requirements**
8484+What copy, labels, empty state messages, error messages, and microcopy are needed. Note any dynamic content and its realistic ranges.
8585+8686+**8. Recommended References**
8787+Based on the brief, list which impeccable reference files would be most valuable during implementation (e.g., spatial-design.md for complex layouts, motion-design.md for animated features, interaction-design.md for form-heavy features).
8888+8989+**9. Open Questions**
9090+Anything unresolved that the implementer should resolve during build.
9191+9292+---
9393+9494+ask the user directly to clarify what you cannot infer. Get explicit confirmation of the brief before finishing. If the user disagrees with any part, revisit the relevant discovery questions.
9595+9696+Once confirmed, the brief is complete. The user can now hand it to /impeccable, or use it to guide any other implementation approach. (If the user wants the full discovery-then-build flow in one step, they should use /impeccable craft instead, which runs this skill internally.)
+116
.agents/skills/typeset/SKILL.md
···11+---
22+name: typeset
33+description: Improves typography by fixing font choices, hierarchy, sizing, weight, and readability so text feels intentional. Use when the user mentions fonts, type, readability, text hierarchy, sizing looks off, or wants more polished, intentional typography.
44+version: 2.1.1
55+user-invocable: true
66+argument-hint: "[target]"
77+---
88+99+Assess and improve typography that feels generic, inconsistent, or poorly structured — turning default-looking text into intentional, well-crafted type.
1010+1111+## MANDATORY PREPARATION
1212+1313+Invoke /impeccable — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /impeccable teach first.
1414+1515+---
1616+1717+## Assess Current Typography
1818+1919+Analyze what's weak or generic about the current type:
2020+2121+1. **Font choices**:
2222+ - Are we using invisible defaults? (Inter, Roboto, Arial, Open Sans, system defaults)
2323+ - Does the font match the brand personality? (A playful brand shouldn't use a corporate typeface)
2424+ - Are there too many font families? (More than 2-3 is almost always a mess)
2525+2626+2. **Hierarchy**:
2727+ - Can you tell headings from body from captions at a glance?
2828+ - Are font sizes too close together? (14px, 15px, 16px = muddy hierarchy)
2929+ - Are weight contrasts strong enough? (Medium vs Regular is barely visible)
3030+3131+3. **Sizing & scale**:
3232+ - Is there a consistent type scale, or are sizes arbitrary?
3333+ - Does body text meet minimum readability? (16px+)
3434+ - Is the sizing strategy appropriate for the context? (Fixed `rem` scales for app UIs; fluid `clamp()` for marketing/content page headings)
3535+3636+4. **Readability**:
3737+ - Are line lengths comfortable? (45-75 characters ideal)
3838+ - Is line-height appropriate for the font and context?
3939+ - Is there enough contrast between text and background?
4040+4141+5. **Consistency**:
4242+ - Are the same elements styled the same way throughout?
4343+ - Are font weights used consistently? (Not bold in one section, semibold in another for the same role)
4444+ - Is letter-spacing intentional or default everywhere?
4545+4646+**CRITICAL**: The goal isn't to make text "fancier" — it's to make it clearer, more readable, and more intentional. Good typography is invisible; bad typography is distracting.
4747+4848+## Plan Typography Improvements
4949+5050+Consult the [typography reference](reference/typography.md) from the impeccable skill for detailed guidance on scales, pairing, and loading strategies.
5151+5252+Create a systematic plan:
5353+5454+- **Font selection**: Do fonts need replacing? What fits the brand/context?
5555+- **Type scale**: Establish a modular scale (e.g., 1.25 ratio) with clear hierarchy
5656+- **Weight strategy**: Which weights serve which roles? (Regular for body, Semibold for labels, Bold for headings — or whatever fits)
5757+- **Spacing**: Line-heights, letter-spacing, and margins between typographic elements
5858+5959+## Improve Typography Systematically
6060+6161+### Font Selection
6262+6363+If fonts need replacing:
6464+- Choose fonts that reflect the brand personality
6565+- Pair with genuine contrast (serif + sans, geometric + humanist) — or use a single family in multiple weights
6666+- Ensure web font loading doesn't cause layout shift (`font-display: swap`, metric-matched fallbacks)
6767+6868+### Establish Hierarchy
6969+7070+Build a clear type scale:
7171+- **5 sizes cover most needs**: caption, secondary, body, subheading, heading
7272+- **Use a consistent ratio** between levels (1.25, 1.333, or 1.5)
7373+- **Combine dimensions**: Size + weight + color + space for strong hierarchy — don't rely on size alone
7474+- **App UIs**: Use a fixed `rem`-based type scale, optionally adjusted at 1-2 breakpoints. Fluid sizing undermines the spatial predictability that dense, container-based layouts need
7575+- **Marketing / content pages**: Use fluid sizing via `clamp(min, preferred, max)` for headings and display text. Keep body text fixed
7676+7777+### Fix Readability
7878+7979+- Set `max-width` on text containers using `ch` units (`max-width: 65ch`)
8080+- Adjust line-height per context: tighter for headings (1.1-1.2), looser for body (1.5-1.7)
8181+- Increase line-height slightly for light-on-dark text
8282+- Ensure body text is at least 16px / 1rem
8383+8484+### Refine Details
8585+8686+- Use `tabular-nums` for data tables and numbers that should align
8787+- Apply proper `letter-spacing`: slightly open for small caps and uppercase, default or tight for large display text
8888+- Use semantic token names (`--text-body`, `--text-heading`), not value names (`--font-16`)
8989+- Set `font-kerning: normal` and consider OpenType features where appropriate
9090+9191+### Weight Consistency
9292+9393+- Define clear roles for each weight and stick to them
9494+- Don't use more than 3-4 weights (Regular, Medium, Semibold, Bold is plenty)
9595+- Load only the weights you actually use (each weight adds to page load)
9696+9797+**NEVER**:
9898+- Use more than 2-3 font families
9999+- Pick sizes arbitrarily — commit to a scale
100100+- Set body text below 16px
101101+- Use decorative/display fonts for body text
102102+- Disable browser zoom (`user-scalable=no`)
103103+- Use `px` for font sizes — use `rem` to respect user settings
104104+- Default to Inter/Roboto/Open Sans when personality matters
105105+- Pair fonts that are similar but not identical (two geometric sans-serifs)
106106+107107+## Verify Typography Improvements
108108+109109+- **Hierarchy**: Can you identify heading vs body vs caption instantly?
110110+- **Readability**: Is body text comfortable to read in long passages?
111111+- **Consistency**: Are same-role elements styled identically throughout?
112112+- **Personality**: Does the typography reflect the brand?
113113+- **Performance**: Are web fonts loading efficiently without layout shift?
114114+- **Accessibility**: Does text meet WCAG contrast ratios? Is it zoomable to 200%?
115115+116116+Remember: Typography is the foundation of interface design — it carries the majority of information. Getting it right is the highest-leverage improvement you can make.