polish
Performs a final quality pass fixing alignment, spacing, consistency, and micro-detail issues before shipping. Use when the user mentions polish, finishing touches, pre-launch review, something looks off, or wants to go from good to great.
Best use case
polish is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Performs a final quality pass fixing alignment, spacing, consistency, and micro-detail issues before shipping. Use when the user mentions polish, finishing touches, pre-launch review, something looks off, or wants to go from good to great.
Teams using polish should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/polish/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How polish Compares
| Feature / Agent | polish | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Performs a final quality pass fixing alignment, spacing, consistency, and micro-detail issues before shipping. Use when the user mentions polish, finishing touches, pre-launch review, something looks off, or wants to go from good to great.
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
AI Agents for Coding
Browse AI agent skills for coding, debugging, testing, refactoring, code review, and developer workflows across Claude, Cursor, and Codex.
AI Agents for Startups
Explore AI agent skills for startup validation, product research, growth experiments, documentation, and fast execution with small teams.
Best AI Skills for Claude
Explore the best AI skills for Claude and Claude Code across coding, research, workflow automation, documentation, and agent operations.
SKILL.md Source
## MANDATORY PREPARATION Invoke /frontend-design — it contains design principles, anti-patterns, and the **Context Gathering Protocol**. Follow the protocol before proceeding — if no design context exists yet, you MUST run /teach-impeccable first. Additionally gather: quality bar (MVP vs flagship). --- Perform a meticulous final pass to catch all the small details that separate good work from great work. The difference between shipped and polished. ## Pre-Polish Assessment Understand the current state and goals: 1. **Review completeness**: - Is it functionally complete? - Are there known issues to preserve (mark with TODOs)? - What's the quality bar? (MVP vs flagship feature?) - When does it ship? (How much time for polish?) 2. **Identify polish areas**: - Visual inconsistencies - Spacing and alignment issues - Interaction state gaps - Copy inconsistencies - Edge cases and error states - Loading and transition smoothness **CRITICAL**: Polish is the last step, not the first. Don't polish work that's not functionally complete. ## Polish Systematically Work through these dimensions methodically: ### Visual Alignment & Spacing - **Pixel-perfect alignment**: Everything lines up to grid - **Consistent spacing**: All gaps use spacing scale (no random 13px gaps) - **Optical alignment**: Adjust for visual weight (icons may need offset for optical centering) - **Responsive consistency**: Spacing and alignment work at all breakpoints - **Grid adherence**: Elements snap to baseline grid **Check**: - Enable grid overlay and verify alignment - Check spacing with browser inspector - Test at multiple viewport sizes - Look for elements that "feel" off ### Typography Refinement - **Hierarchy consistency**: Same elements use same sizes/weights throughout - **Line length**: 45-75 characters for body text - **Line height**: Appropriate for font size and context - **Widows & orphans**: No single words on last line - **Hyphenation**: Appropriate for language and column width - **Kerning**: Adjust letter spacing where needed (especially headlines) - **Font loading**: No FOUT/FOIT flashes ### Color & Contrast - **Contrast ratios**: All text meets WCAG standards - **Consistent token usage**: No hard-coded colors, all use design tokens - **Theme consistency**: Works in all theme variants - **Color meaning**: Same colors mean same things throughout - **Accessible focus**: Focus indicators visible with sufficient contrast - **Tinted neutrals**: No pure gray or pure black—add subtle color tint (0.01 chroma) - **Gray on color**: Never put gray text on colored backgrounds—use a shade of that color or transparency ### Interaction States Every interactive element needs all states: - **Default**: Resting state - **Hover**: Subtle feedback (color, scale, shadow) - **Focus**: Keyboard focus indicator (never remove without replacement) - **Active**: Click/tap feedback - **Disabled**: Clearly non-interactive - **Loading**: Async action feedback - **Error**: Validation or error state - **Success**: Successful completion **Missing states create confusion and broken experiences**. ### Micro-interactions & Transitions - **Smooth transitions**: All state changes animated appropriately (150-300ms) - **Consistent easing**: Use ease-out-quart/quint/expo for natural deceleration. Never bounce or elastic—they feel dated. - **No jank**: 60fps animations, only animate transform and opacity - **Appropriate motion**: Motion serves purpose, not decoration - **Reduced motion**: Respects `prefers-reduced-motion` ### Content & Copy - **Consistent terminology**: Same things called same names throughout - **Consistent capitalization**: Title Case vs Sentence case applied consistently - **Grammar & spelling**: No typos - **Appropriate length**: Not too wordy, not too terse - **Punctuation consistency**: Periods on sentences, not on labels (unless all labels have them) ### Icons & Images - **Consistent style**: All icons from same family or matching style - **Appropriate sizing**: Icons sized consistently for context - **Proper alignment**: Icons align with adjacent text optically - **Alt text**: All images have descriptive alt text - **Loading states**: Images don't cause layout shift, proper aspect ratios - **Retina support**: 2x assets for high-DPI screens ### Forms & Inputs - **Label consistency**: All inputs properly labeled - **Required indicators**: Clear and consistent - **Error messages**: Helpful and consistent - **Tab order**: Logical keyboard navigation - **Auto-focus**: Appropriate (don't overuse) - **Validation timing**: Consistent (on blur vs on submit) ### Edge Cases & Error States - **Loading states**: All async actions have loading feedback - **Empty states**: Helpful empty states, not just blank space - **Error states**: Clear error messages with recovery paths - **Success states**: Confirmation of successful actions - **Long content**: Handles very long names, descriptions, etc. - **No content**: Handles missing data gracefully - **Offline**: Appropriate offline handling (if applicable) ### Responsiveness - **All breakpoints**: Test mobile, tablet, desktop - **Touch targets**: 44x44px minimum on touch devices - **Readable text**: No text smaller than 14px on mobile - **No horizontal scroll**: Content fits viewport - **Appropriate reflow**: Content adapts logically ### Performance - **Fast initial load**: Optimize critical path - **No layout shift**: Elements don't jump after load (CLS) - **Smooth interactions**: No lag or jank - **Optimized images**: Appropriate formats and sizes - **Lazy loading**: Off-screen content loads lazily ### Code Quality - **Remove console logs**: No debug logging in production - **Remove commented code**: Clean up dead code - **Remove unused imports**: Clean up unused dependencies - **Consistent naming**: Variables and functions follow conventions - **Type safety**: No TypeScript `any` or ignored errors - **Accessibility**: Proper ARIA labels and semantic HTML ## Polish Checklist Go through systematically: - [ ] Visual alignment perfect at all breakpoints - [ ] Spacing uses design tokens consistently - [ ] Typography hierarchy consistent - [ ] All interactive states implemented - [ ] All transitions smooth (60fps) - [ ] Copy is consistent and polished - [ ] Icons are consistent and properly sized - [ ] All forms properly labeled and validated - [ ] Error states are helpful - [ ] Loading states are clear - [ ] Empty states are welcoming - [ ] Touch targets are 44x44px minimum - [ ] Contrast ratios meet WCAG AA - [ ] Keyboard navigation works - [ ] Focus indicators visible - [ ] No console errors or warnings - [ ] No layout shift on load - [ ] Works in all supported browsers - [ ] Respects reduced motion preference - [ ] Code is clean (no TODOs, console.logs, commented code) **IMPORTANT**: Polish is about details. Zoom in. Squint at it. Use it yourself. The little things add up. **NEVER**: - Polish before it's functionally complete - Spend hours on polish if it ships in 30 minutes (triage) - Introduce bugs while polishing (test thoroughly) - Ignore systematic issues (if spacing is off everywhere, fix the system) - Perfect one thing while leaving others rough (consistent quality level) ## Final Verification Before marking as done: - **Use it yourself**: Actually interact with the feature - **Test on real devices**: Not just browser DevTools - **Ask someone else to review**: Fresh eyes catch things - **Compare to design**: Match intended design - **Check all states**: Don't just test happy path Remember: You have impeccable attention to detail and exquisite taste. Polish until it feels effortless, looks intentional, and works flawlessly. Sweat the details - they matter.
Related Skills
typeset
Improves typography by fixing font choices, hierarchy, sizing, weight, and readability so text feels intentional. Use when the user mentions fonts, type, readability, text hierarchy, sizing looks off, or wants more polished, intentional typography.
teach-impeccable
One-time setup that gathers design context for your project and saves it to your AI config file. Run once to establish persistent design guidelines.
quieter
Tones down visually aggressive or overstimulating designs, reducing intensity while preserving quality. Use when the user mentions too bold, too loud, overwhelming, aggressive, garish, or wants a calmer, more refined aesthetic.
overdrive
Pushes interfaces past conventional limits with technically ambitious implementations — shaders, spring physics, scroll-driven reveals, 60fps animations. Use when the user wants to wow, impress, go all-out, or make something that feels extraordinary.
optimize
Diagnoses and fixes UI performance across loading speed, rendering, animations, images, and bundle size. Use when the user mentions slow, laggy, janky, performance, bundle size, load time, or wants a faster, smoother experience.
onboard
Designs and improves onboarding flows, empty states, and first-run experiences to help users reach value quickly. Use when the user mentions onboarding, first-time users, empty states, activation, getting started, or new user flows.
normalize
Audits and realigns UI to match design system standards, spacing, tokens, and patterns. Use when the user mentions consistency, design drift, mismatched styles, tokens, or wants to bring a feature back in line with the system.
harden
Improve interface resilience through better error handling, i18n support, text overflow handling, and edge case management. Makes interfaces robust and production-ready. Use when the user asks to harden, make production-ready, handle edge cases, add error states, or fix overflow and i18n issues.
frontend-design
Create distinctive, production-grade frontend interfaces with high design quality. Generates creative, polished code that avoids generic AI aesthetics. Use when the user asks to build web components, pages, artifacts, posters, or applications, or when any design skill requires project context.
extract
Extract and consolidate reusable components, design tokens, and patterns into your design system. Identifies opportunities for systematic reuse and enriches your component library. Use when the user asks to create components, refactor repeated UI patterns, build a design system, or extract tokens.
distill
Strip designs to their essence by removing unnecessary complexity. Great design is simple, powerful, and clean. Use when the user asks to simplify, declutter, reduce noise, remove elements, or make a UI cleaner and more focused.
delight
Add moments of joy, personality, and unexpected touches that make interfaces memorable and enjoyable to use. Elevates functional to delightful. Use when the user asks to add polish, personality, animations, micro-interactions, delight, or make an interface feel fun or memorable.