polish

polish is a command for Claude Code from Muminur/frontend-design-craft-skill. It costs 14 tokens per session (527 once invoked), scanned A, original, MIT.

A final code-review command that applies fixes through three passes: structure, visual style, and animation. It checks items such as spacing, typography, contrast, responsive breakpoints, colors, shadows, and placeholder content.

In plain words
What is it for?
Use it as a pre-release cleanup pass on a web interface when you want the command to fix the target rather than only list issues.
Why use it?
It turns a review into concrete code changes, helping resolve common layout, accessibility, responsive-design, and visual-consistency problems before release.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the craft plugin — 4 skills, 13 commands shipped together

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.

agentmods
npx agentmods add commands/muminur/frontend-design-craft-skill/polish
Clone the repo
git clone --depth 1 https://github.com/Muminur/frontend-design-craft-skill

Made for: Claude Code.

Or install craft, the plugin that ships this one along with the rest of its 4 skills, 13 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/muminur/frontend-design-craft-skill/polish.svg)](https://agentmods.dev/commands/muminur/frontend-design-craft-skill/polish)
Your own site
<a href="https://agentmods.dev/commands/muminur/frontend-design-craft-skill/polish"><img src="https://agentmods.dev/badge/commands/muminur/frontend-design-craft-skill/polish.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 527 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00014 $0.00527
Opus 5 $0.00007 $0.00264
Sonnet 5 $0.00003 $0.00105
Haiku 4.5 $0.00001 $0.00053

Measured 6d ago against content hash bfe50878f914, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 6d 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.

commands/polish.md · 66 lines

How it starts

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

/polish

Apply fixes across motion, polish, and taste. This is the inverse of /audit: change the code, do not just report on it.

Target

$ARGUMENTS

Procedure

Apply fixes in this strict order. Skipping ahead will produce inferior results.

Pass 1 — Polish (structural)

Fix anything in the foundation before touching aesthetics or motion:

  1. Normalize spacing to a single scale (default 4px base).
  2. Define or normalize a type scale; remove any arbitrary font-size values.
  3. Calibrate line-height per size (lower for large headings, higher for body).
  4. Replace pure black and pure white with tinted neutrals.
  5. Verify and fix contrast to WCAG AA minimum.
  6. Reduce border radius and shadow values to a coherent set (1–2 radii, layered shadows).
  7. Verify breakpoints actually change layout, not just rescale.

Pass 2 — Taste (aesthetic)

Once structure is sound:

  1. Strip banned patterns (purple-blue gradients, glassmorphism, gradient text, default Inter, default shadcn theme, etc. — see skills/taste/SKILL.md).
  2. Replace placeholder content (Lorem ipsum, John Doe, fake stats, stock photos).
  3. Confirm or pick an archetype; align the design to it.
  4. Override default icon library settings if used unchanged.

Pass 3 — Motion

With structure and taste in place:

  1. Audit every existing animation: does it communicate something or decorate?
  2. Make easing consistent across related elements.
  3. Calibrate timing to perceived weight (see skills/motion/SKILL.md).
  4. Convert any animated layout properties (width, height, margin) to transform / opacity.
  5. Add prefers-reduced-motion coverage.

Output

After each pass, summarize what was changed in 3–5 bullets. After all three passes:

## Polish complete

**Files modified:** [list]
**Pass 1 — Polish:** [n] changes
**Pass 2 — Taste:** [n] changes
**Pass 3 — Motion:** [n] changes

**Open questions for the user:**
- [anything that required a judgment call]

Do not skip the open-questions section. If everything was unambiguous, say so explicitly.

Read the full file on GitHub · 66 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. 6d ago First seen · 66 lines · 14 tokens per session scan A bfe50878f914

Subscribe to this mod's changes

polish is a command published in the GitHub repository Muminur/frontend-design-craft-skill (4 stars, last pushed 3mo ago), licensed MIT. It adds 14 tokens to every session and 527 once invoked, about $0.0001 per session on Opus 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-31.