agentleFS
alexcollinsalexcollins/skills/skills/polish/SKILL.md

polish

Skill1 starsChanged 2 months agoMITView on GitHub

Review and fix the small details that decide whether an interface feels finished — nested radii, optical alignment, shadows versus borders, image outlines, icon weight and states, every interactive state, hit areas, press feedback, transition hygiene — inside the project's own design contract. Reports HIGH, MEDIUM and LOW findings and a Block or Approve verdict. Use on any new or changed component, when the user asks to polish, refine or review UI, or when something "looks off".

77 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use layout, shape and 7 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • owshq-mecSkill

    layout

    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.

    Also in 8 projects that use this

  • HAR5HA-7663Skill

    shape

    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.

    Also in 13 projects that use this

  • PeterCangSkill

    tokens

    Count all historical Claude Code token usage across all local projects, broken down by model, project, date, and week. Includes cost estimation based on official Anthropic pricing.

    Also in 3 projects that use this

  • arjunkshahSkill

    redesign

    Redesign existing interfaces to premium quality while preserving product goals and functional behavior.

    Also in 3 projects that use this

  • MicrosoftSkill

    review-loop

    Iterative review loop using any lens agent against any target (plan, code, design). Use when you want to run a focused review cycle: spawn a fresh reviewer subagent with a specific lens, present findings and remediation to the user, apply fixes with user guidance, and repeat until clean.

    Also in 3 projects that use this

  • klauswgSkill

    performance

    Optimize web performance for faster loading and better user experience. Use when asked to "speed up my site", "optimize performance", "reduce load time", "fix slow loading", "improve page speed", or "performance audit".

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

4 rules. 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 68 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    If the project has a DESIGN.md (see design-contract), read it and its Deliberate choices before looking at a single component.

    line 23
  2. Distinctive:

    Never introduce a value the project doesn't have.

    line 28
  3. Distinctive:

    Every animated state change has a static cue too (colour, icon, label).

    line 66
  4. Very specific:

    When asked to fix, or when running inside build, fix every HIGH and MEDIUM and list the LOWs.

    line 92

“Common” is measured: kept by at least 6 in 10 of the 68 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Polish

Polish is a pile of small details that compound. Nobody notices one; everybody feels all of them.

The contract comes first

If the project has a DESIGN.md (see design-contract), read it and its Deliberate choices before looking at a single component. The project's tokens, radii, curves and choices beat every default in this skill, and a deliberate choice is never a finding. The defaults below fill in only where the project says nothing.

Never introduce a value the project doesn't have. Use the nearest existing token, and when none fits, report the gap instead of inventing one — an arbitrary value is how a design system starts to drift.

What to check

Surfaces — recipes in references/surfaces.md.

  • Concentric radii. Outer radius = inner radius + the padding between them. Past 24px of padding the layers are separate surfaces; choose each radius on its own.
  • Shadows for depth, borders for structure. A border that only fakes elevation becomes a layered transparent shadow, which survives any background. Dividers, table lines, inputs and focus and selected states stay borders.
  • Image outlines. 1px inside the edge: black at 10% in light mode, white at 10% in dark. Never a tinted neutral or the brand colour — they pick up the surface and read as dirt.

Alignment — optical beats geometric. A trailing or leading icon gets 2px less padding on its side; a play triangle shifts 2px toward its point; an asymmetric glyph is fixed in the SVG first, with a nudge only as a fallback.

Icons — detail in references/icons.md.

  • Stroke matches the text beside it: 1.5px with regular weight, 2px with medium and semibold, 2.5px with bold.
  • One icon library per surface. Inline icons sized 1em–1.25em so they scale with the text.
  • One SVG per icon in currentColor; hover, selected and disabled come from CSS. Outline by default, filled for the active state.
  • Under RTL, flip icons tied to reading direction (arrows, chevrons, text alignment) and nothing else.

States — every interactive element has hover, focus-visible, active and disabled; every data view has loading, empty and error. A focus ring is never removed without a visible replacement.

Touch — targets at least 24×24 CSS px, 44×44 for primary actions on touch, extended with a pseudo-element so layout doesn't move. Hover effects sit behind @media (hover: hover) and (pointer: fine), because a tap fires hover on touch screens.

Motion hygiene — deciding and building motion is motion's job; check these here:

  • Press feedback: scale(0.96) on :active, with a way to switch it off where it would distract.
  • Transitions name their properties — never all. Hover and colour changes at 150ms or less.
  • Nothing animates on a keyboard shortcut or a hundred-times-a-day action.
  • Every animated state change has a static cue too (colour, icon, label). Motion is never the only signal.
  • A theme switch snaps instead of smearing: transitions are suppressed for the swap.

How to look

Slow it down. What feels slightly off at full speed is visibly wrong at 10% — replay motion in the browser's Animations panel. With a browser, walk every state and screenshot it. Without one, read every state the code defines and the durations and curves it uses, and report the rest as Not verified.

Report

SeverityLocationBeforeAfterWhy
  • HIGH — breaks an interaction, makes motion unusable, leaves a state change visible only while an animation runs, or breaks the project's design contract.
  • MEDIUM — a visible inconsistency in surfaces, icons, states or motion.
  • LOW — isolated polish.

One row per root cause, listing every location (path/to/file:line) it appears in, grouped by area, worst first. Why names the principle and what the user would feel. End with Block if any HIGH remains, Approve otherwise. Never approve what you didn't inspect. Nothing to report: say "No polish findings" and what was verified.

When asked to fix, or when running inside build, fix every HIGH and MEDIUM and list the LOWs.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.