make-interfaces-feel-better

Applies design engineering principles to polish UI components, animations, typography, and surfaces.

29.5k|3.8k|Updated Jan 5, 2025
Ready to run
npx skills add https://github.com/simstudioai/sim --skill make-interfaces-feel-better
💬 Prompt for ChatGPT / Claude Chat▼
Please help me install this Agent Skill.
Skill: make-interfaces-feel-better
Source: https://github.com/simstudioai/sim/tree/main/.agents/skills/make-interfaces-feel-better
Command: npx skills add https://github.com/simstudioai/sim --skill make-interfaces-feel-better

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Interfaces often feel off due to small compounding details like mismatched border radii, jarring animations, and layout-shifting numbers. This Skill provides a concrete checklist of design engineering principles to systematically review and fix frontend code so interfaces feel polished.

Core Features & Use Cases

  • UI Code Review: Audit components against 16 principles covering concentric border radius, optical alignment, shadows over borders, and minimum hit areas, with findings presented as Before/After tables.
  • Animation Guidance: Implement interruptible CSS transitions, staggered enter animations, subtle exits, and contextual icon animations with exact prescribed values for scale, opacity, blur, and spring settings.
  • Typography & Performance Fixes: Apply font smoothing, tabular-nums for dynamic numbers, text-wrap balance/pretty, transition property specificity, and disciplined will-change usage.
  • Use Case: When a user says a settings page "feels off", the Skill reviews the code and produces grouped Before/After tables fixing nested radii, adding scale-on-press to buttons, and replacing hard borders with layered box-shadows.

Quick Start

Review my React component code and apply the interface polish principles, showing every fix as a Before and After table.

Frequently Asked Questions about make-interfaces-feel-better

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I make nested rounded corners look right in CSS?▼

Use concentric border radius: the outer radius must equal the inner radius plus the padding between them. For example, a card with 8px padding and a 12px inner radius needs a 20px outer radius. If padding exceeds 24px, treat the layers as separate surfaces instead.

How to animate icon changes without Framer Motion?▼

Keep both icons in the DOM with one absolutely positioned over the other, then cross-fade them with CSS transitions using cubic-bezier(0.2, 0, 0, 1). Scale from 0.25 to 1, opacity from 0 to 1, and blur from 4px to 0px so both enter and exit animate without any dependency.

Should I use CSS transitions or keyframe animations for interactive elements?▼

Use CSS transitions for interactive state changes like hover, toggle, and open/close because they are interruptible and retarget mid-animation. Reserve keyframe animations for staged one-shot sequences such as enter animations or loading states.

Why do numbers in my UI cause layout shift when they update?▼

Proportional numerals have varying widths, so changing values shift surrounding layout. Apply font-variant-numeric: tabular-nums (or Tailwind's tabular-nums class) to counters, timers, prices, and table columns so all digits have equal width.

When should I use will-change in CSS animations?▼

Use will-change only for GPU-compositable properties: transform, opacity, and filter. Add it only when you notice first-frame stutter, particularly in Safari, since each compositing layer costs memory. Never use will-change: all.

What are the limitations of text-wrap balance?▼

text-wrap: balance only works on blocks of 6 lines or fewer in Chromium and 10 lines in Firefox, so it suits headings but is silently ignored on long paragraphs. Use text-wrap: pretty for short-to-medium body text to prevent orphan words instead.