polish

polish is a command for Claude Code from koolamusic/claudefiles. It costs 32 tokens per session (956 once invoked), scanned A, original, MIT.

A final quality-review command for a completed interface or feature. It checks layout, spacing, typography, interaction states, visual consistency, and code cleanup.

In plain words
What is it for?
Use it as the last pass to align the work with an existing design system, simplify the interface, and correct visual or interaction details.
Why use it?
It catches small inconsistencies and unnecessary complexity that remain after the main functionality is finished.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ux plugin — 1 skill, 6 commands shipped together

Good fit Use it as the last pass to align the work with an existing design system, simplify the interface, and correct visual or interaction details.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/koolamusic/claudefiles/polish
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/koolamusic/claudefiles

Made for: Claude Code.

Or install ux, the plugin that ships this one along with the rest of its 1 skill, 6 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for polish

README.md
[![agentmods](https://agentmods.dev/badge/commands/koolamusic/claudefiles/polish/github.svg)](https://agentmods.dev/commands/koolamusic/claudefiles/polish)
Your own site
<a href="https://agentmods.dev/commands/koolamusic/claudefiles/polish"><img src="https://agentmods.dev/badge/commands/koolamusic/claudefiles/polish/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for polish

Your own site · 80×15
<a href="https://agentmods.dev/commands/koolamusic/claudefiles/polish"><img src="https://agentmods.dev/badge/commands/koolamusic/claudefiles/polish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 956 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00956
Opus 5.5 $0.00013 $0.00382
Sonnet 5.5 $0.00006 $0.00191
Haiku 4.5 $0.00003 $0.00096

Measured 3mo ago against content hash 386fb61676b8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

polish scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/ux/commands/polish.md · 121 lines

How it starts

The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Meticulous final pass — catch the details that separate good from great. Includes design system normalization and complexity reduction.

First: Use the ux skill for design principles and anti-patterns.

CRITICAL: Polish is the last step. Don't polish work that isn't functionally complete.

Pre-Polish Assessment

  • Is it functionally complete?
  • Does a design system exist? (Search for design system docs, component libraries, style guides)
  • What's the quality bar? (MVP vs flagship)
  • Where are the obvious inconsistencies?

Design System Normalization

If a design system exists:

  • Replace custom implementations with design system components
  • Replace hard-coded colors/spacing/typography with design tokens
  • Match animation timing, easing, and interaction patterns to established conventions
  • Match responsive breakpoints and patterns
  • Match progressive disclosure and information hierarchy

If deviations from the design system exist, fix them. If the design system doesn't cover a pattern, note it for extraction (use /ux:reshape extract).

Complexity Reduction

Before polishing, simplify:

  • One primary action per view — reduce competing buttons and CTAs
  • Progressive disclosure — hide complexity behind clear entry points
  • Remove redundancy — if it's said elsewhere, don't repeat it
  • Flatten structure — reduce nesting, remove unnecessary containers and cards
  • Shorter copy — cut every sentence in half, then do it again
  • Fewer colors, fonts, sizes — use the minimum that serves hierarchy
  • Smart defaults — make common choices automatic

Polish Systematically

Visual Alignment & Spacing

  • Everything lines up to grid. Use spacing scale consistently (no random 13px gaps).
  • Optical alignment for visual weight (icons may need offset).
  • Responsive consistency at all breakpoints.

Typography

  • Same elements use same sizes/weights throughout
  • Line length 45-75 chars for body text
  • No widows/orphans, appropriate hyphenation
  • Font loading — no FOUT/FOIT flashes

Read the full file on GitHub · 121 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3mo ago First seen · 121 lines · 32 tokens per session scan A 386fb61676b8

Subscribe to this mod's changes

polish is a command published in the GitHub repository koolamusic/claudefiles (118 stars, last pushed yesterday), licensed MIT. It adds 32 tokens to every session and 956 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

polish compared with commands from other repositories

polish next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
polishkoolamusic/claudefilesCommand118yesterdayMITA32Claude Code
ux-recommendLaith0003/ux-skillCommand11520d agoMITA17Claude Code
color-specialistimsaif/design-with-claudeCommand1115d agoMITA35Claude Code
responsive-design-specialistimsaif/design-with-claudeCommand1115d agoMITA36Claude Code
revisar-uiluanpdd/kit-mcpCommand52d agoMITA19Claude Code
bolderqorstack/qorstack-reportCommand441mo agononeA0Claude Code
frontend-designqorstack/qorstack-reportCommand441mo agononeA0Claude Code