visual-polish

visual-polish is a skill for Claude Code from fernando-bertholdo/4-successful-AI-life. It costs 39 tokens per session (4,052 once invoked), scanned A, original, MIT.

A guide for refining the small visual details of a user interface, such as spacing, text layout, shadows, alignment, and animations.

In plain words
What is it for?
Use it when adjusting typography, nested components, modal or list animations, shadows, icon alignment, and small interactions such as copy buttons or status changes.
Why use it?
It helps turn an interface that works into one that looks consistent and carefully finished. It focuses on details that are easy to overlook when building larger parts of a screen.

Skill for Claude Code

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

Part of the ui-excellence plugin — 13 skills shipped together

Good fit Use it when adjusting typography, nested components, modal or list animations, shadows, icon alignment, and small interactions such as copy buttons or status changes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fernando-bertholdo/4-successful-ai-life/visual-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.

Any agent
npx skills add fernando-bertholdo/4-successful-AI-life --skill visual-polish
Clone the repo
git clone --depth 1 https://github.com/fernando-bertholdo/4-successful-AI-life

Made for: Claude Code.

Or install ui-excellence, the plugin that ships this one along with the rest of its 13 skills.

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 visual-polish

README.md
[![agentmods](https://agentmods.dev/badge/skills/fernando-bertholdo/4-successful-ai-life/visual-polish/github.svg)](https://agentmods.dev/skills/fernando-bertholdo/4-successful-ai-life/visual-polish)
Your own site
<a href="https://agentmods.dev/skills/fernando-bertholdo/4-successful-ai-life/visual-polish"><img src="https://agentmods.dev/badge/skills/fernando-bertholdo/4-successful-ai-life/visual-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 visual-polish

Your own site · 80×15
<a href="https://agentmods.dev/skills/fernando-bertholdo/4-successful-ai-life/visual-polish"><img src="https://agentmods.dev/badge/skills/fernando-bertholdo/4-successful-ai-life/visual-polish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 39 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,052 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.00039 $0.04052
Opus 5 $0.00019 $0.02026
Sonnet 5 $0.00008 $0.00810
Haiku 4.5 $0.00004 $0.00405

Measured 11d ago against content hash 9f70231fec0a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

visual-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 11d 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/ui-excellence/skills/foundations/visual-polish/SKILL.md · 570 lines

How it starts

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

UI Visual Polish

Overview

Great interfaces rarely come from a single thing—it's usually a collection of small, thoughtful details that compound into a cohesive, polished experience. This skill documents techniques for visual refinement: text wrapping strategies, balanced border radius hierarchies, contextual animations, optical alignment, and shadow composition. Each detail is intentional and measurable.

When to Use / When NOT to Use

Use When:

  • Refining typography presentation (headings, body text, dynamic numbers)
  • Designing nested UI components with multiple layers
  • Adding entrance/exit animations to modals, tooltips, or lists
  • Replacing solid borders with depth-aware shadows
  • Aligning buttons with icons or misaligned visual elements
  • Optimizing animations for user interruption (mid-toggle, mid-drag)
  • Adding micro-interactions (copy-to-clipboard, status toggles)
  • Ensuring consistent visual hierarchy across the interface

Do NOT Use When:

  • Building motion-heavy animations (use dedicated motion library docs)
  • Solving structural layout issues (use CSS Grid/Flexbox guides)
  • Implementing accessibility requirements (separate A11y guide)
  • Addressing performance bottlenecks (use optimization guide)
  • Creating brand identity from scratch (use design system docs)

Core Techniques

Surfaces & Layout

1. Text Wrapping Strategy

Balance text distribution and reading flow with CSS text-wrap:

  • text-wrap: balance — For headings

    • Distributes text evenly across lines
    • Prevents orphaned words at line ends
    • Use once per heading (computed once at render)
    • Best for titles, hero text, short high-impact copy
  • text-wrap: pretty — For body text

    • Similar to balance but slower algorithm
    • Better for longer paragraphs
    • Reduces hyphenation and ugly breaks
    • May slightly reflow on resizes

Implementation:

h1, h2, h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}
2. Concentric Border Radius

Read the full file on GitHub · 570 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. 11d ago First seen · 570 lines · 39 tokens per session scan A 9f70231fec0a

Subscribe to this mod's changes

visual-polish is a skill published in the GitHub repository fernando-bertholdo/4-successful-AI-life (2 stars, last pushed today), licensed MIT. It adds 39 tokens to every session and 4,052 once invoked, about $0.0002 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.

Related

Other skills, from other repositories

animation-patterns

SwiftUI animation patterns including springs, transitions, PhaseAnimator, KeyframeAnimator, SF Symbol effects, scroll-driven effects, mesh gradients, text renderers, and shader effects. Use when implementing, reviewing, or fixing animation or visual-effect code on iOS/macOS.

rshankras/claude-code-apple-skills · 58 tokens

frontend-enhancer

This skill should be used when enhancing the visual design and aesthetics of web applications. It provides modern UI components, design patterns, color palettes, animations, and layout templates. REQUIRES ui-research skill first. Use this skill for tasks like improving styling, creating responsive designs…

travisjneuman/.claude · 79 tokens

generic-design-system

Complete design system reference for any project - colors, typography, spacing, components, animations. Adapts to project theme and tech stack. Use when implementing UI, choosing colors, creating animations, or ensuring brand consistency. For new design systems, use ui-research skill first.

travisjneuman/.claude · 60 tokens

static-page-stack

SOTA stack recommendations for elegant, controlled, semantic static HTML pages — dashboards, post-mortems, technical-investigation reports.

terrylica/cc-skills · 30 tokens

generic-react-design-system

Complete design system reference for React applications. Covers colors, typography, spacing, component patterns, glassmorphism effects, GPU-accelerated animations, and WCAG AA accessibility. Use when implementing UI, choosing colors, applying spacing, creating components, or ensuring brand consistency.

travisjneuman/.claude · 59 tokens

generic-static-design-system

Complete design system reference for static HTML/CSS/JS sites. Covers colors, typography, component patterns, animations, and accessibility. Use when implementing UI, choosing colors, or ensuring brand consistency.

travisjneuman/.claude · 44 tokens