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.

icons.md

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

Icons

Icon weight, states, sizing, and direction: the details that make icons sit naturally in an interface.

Match Icon Stroke to Text Weight

An icon next to text should carry the same optical weight as the text.

Adjacent text Icon stroke width (24px grid)
Regular (400), 14–16px 1.5px
Medium/Semibold (500–600) 2px
Bold (700), or emphasized standalone 2.5px

Use one stroke weight per icon set on a surface. Size inline icons relative to the text's cap height, typically 1em–1.25em.

One SVG, Recolored per State

Use one SVG drawn with currentColor; let CSS drive hover, selected, and disabled states. Strip hardcoded fill and stroke colors when importing icons.

<svg fill="none" stroke="currentColor" stroke-width="2">…</svg>
.icon-button { color: oklch(0.552 0.016 285.938); }
.icon-button:hover { color: oklch(0.21 0.006 285.885); }
.icon-button[aria-pressed="true"] { color: oklch(0.623 0.188 259.815); }
.icon-button:disabled { opacity: 0.4; }

Outline Default, Fill Active

Variant Use for
Outline Default state: toolbars, list rows, inline with text
Fill Selected or active state: active tab, toggled bookmark, liked heart

The swap between variants is a contextual icon animation; use the exact cross-fade values in animations.md.

Design at Render Size

  • Test every icon at the smallest size it will render, often 16px.
  • Prefer simplified glyphs for small contexts over scaled-down detailed artwork.
  • Use the icon set's native grid sizes (16, 20, 24) rather than arbitrary fractional scales.
  • Use SVG rather than raster assets.

Icons in RTL

Flip Don't flip
Back/forward arrows, navigation chevrons Logos and brand marks
Text alignment, lists, indent Checkmarks
Directional send glyphs Clocks, cups, pencils
Speaker waves tied to reading direction Media playback controls
[dir="rtl"] .icon-directional {
  scale: -1 1;
}

Analyze composite icons part by part: an overlay may keep its position even when the base glyph flips. Give every icon-only control an accessible name and mark purely decorative icons hidden from assistive technology.

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