Index of every page on this site: llms.txt
All skills
jakubkrehel avatar

/make-interfaces-feel-better

@1a2aa96
Run it yourself

Design engineering principles for making interfaces feel polished. Use when building UI components, reviewing frontend code, implementing animations, hover states, shadows, borders, typography, icons, micro-interactions, enter/exit animations, or any visual detail work. Supports quick and full review modes. Triggers on UI polish, design details, "make it feel better", "feels off", stagger animations, border radius, optical alignment, font smoothing, tabular numbers, image outlines, box shadows, icons, icon stroke weight, icon states, motion restraint.

Recorded with Claude Code, Opus 5.5

Prompt

Build pricing.html, a single-file HTML pricing section for Glintwork, a fictional photo-editing app: three plan cards, a monthly and yearly toggle, and full hover and focus states. Inline all CSS and JavaScript.

Desktop screenshot of the page the Agent built for: Build pricing.html, a single-file HTML pricing section for Glintwork, a fictional photo-editing app: three plan cards, a
Phone screenshot of the page the Agent built for: Build pricing.html, a single-file HTML pricing section for Glintwork, a fictional photo-editing app: three plan cards, a

Recorded on an older version of this Skill.

Use this Skill: https://skilld.dev/gh/jakubkrehel/make-interfaces-feel-better/make-interfaces-feel-better

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

performance.md

≈762 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Performance

Transition specificity and GPU compositing hints.

Transition Only What Changes

Never use transition: all or Tailwind's transition-all. Always specify the exact properties that change. Tailwind's bare transition maps to a curated default list of colors, opacity, shadow, and transforms, not to all; still prefer naming exactly what changes.

Why

  • transition: all forces the browser to watch every property for changes
  • Causes unexpected transitions on properties you didn't intend to animate (colors, padding, shadows)
  • Prevents browser optimizations

CSS Example

/* Good — only transition what changes */
.button {
  transition-property: scale, background-color;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

/* Bad — transition everything */
.button {
  transition: all 150ms ease-out;
}

Tailwind

// Good — explicit properties
<button className="transition-[scale,background-color] duration-150 ease-out">

// Bad — transition all
<button className="transition-all duration-150 ease-out">

Tailwind transition-transform Note

transition-transform in Tailwind maps to transition-property: transform, translate, scale, rotate — it covers all transform-related properties, not just transform. Use this when you're only animating transforms. For multiple non-transform properties, use the bracket syntax: transition-[scale,opacity,filter].

Use will-change Sparingly

will-change hints the browser to pre-promote an element to its own GPU compositing layer. Without it, the browser promotes the element only when the animation starts — that one-time layer promotion can cause a micro-stutter on the first frame.

This particularly helps when an element is changing scale, rotation, or moving around with transform. For other properties, it doesn't help much — the browser can't composite them on the GPU anyway.

Rules

/* Good — specific property that benefits from GPU compositing */
.animated-card {
  will-change: transform;
}

/* Good — multiple compositor-friendly properties */
.animated-card {
  will-change: transform, opacity;
}

/* Bad — never use will-change: all */
.animated-card {
  will-change: all;
}

/* Bad — properties that can't be GPU-composited anyway */
.animated-card {
  will-change: background-color, padding;
}

Useful Properties

Property GPU-compositable Worth using will-change
transform Yes Yes
opacity Yes Yes
filter (blur, brightness) Yes Yes
clip-path Newer Chromium only Rarely; not reliable cross-browser
top, left, width, height No No
background, border, color No No

When to Skip

Modern browsers are already good at optimizing on their own. Only add will-change when you notice first-frame stutter — Safari in particular benefits from it. Don't add it preemptively to every animated element; each extra compositing layer costs memory.

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo5 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill consists of design engineering principles and code examples for polishing user interfaces. No security issues or malicious patterns were detected.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

  • Runlayer8mo

    4 files scanned · No issues

  • ZeroLeaks7mo

    Score: 93/100 · 2 sections analyzed

Signed by skilld at 1a2aa96. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 4 months ago

README badge

README badge for jakubkrehel/make-interfaces-feel-better