- Home
- Skills
- Frontend & Web Apps
- UI Polish Review — 80-Rule Audit & Auto-Fix
Works with the AI Agents you already use
UI Polish Review — 80-Rule Audit & Auto-Fix
Audit and fix web UI inconsistencies across spacing, typography, and responsive states using 80 objective rules.
Free
UI Polish Review — 80-Rule Audit & Auto-Fix
Example session with this skill installed
Review and polish the navbar and hero section in LandingPage.tsx. It feels cluttered on mobile. I'm using Tailwind.
- Read your context and instructions
- Compiled the ui polish review
- Generated the image
I have audited LandingPage.tsx against the UI polish ruleset. The mobile clutter was primarily caused by lack of min-w-0 on flex children and inconsistent vertical rhythm.
UI Polish Review — LandingPage.tsx
Score: 52/80 rules passing → 76/80 after fixes
P0
- [layout] Hero image overflows at 320px → changed to
w-full h-autoand adjusted container padding.
P1
- [alignment] Navbar logo and menu icon were misaligned by 3px → applied
items-centerto the flex container. - [states] Mobile menu toggle missing
:focus-visiblering → addedfocus-visible:ring-2.
P2
- [type] Hero heading used
text-5xlwhich squeezed on mobile → implemented responsive scaletext-3xl md:text-5xl. - [spacing] Mixed
p-4andp-5in navbar items → standardized top-4(token-consistent).
// LandingPage.tsx updates
export const Navbar = () => {
return (
<nav className="flex items-center justify-between p-4 bg-white border-b">
<div className="flex-shrink-0">
<Logo className="h-8 w-auto" />
</div>
<button className="p-2 text-gray-600 rounded-md focus-visible:ring-2 focus-visible:ring-blue-500 outline-none">
<MenuIcon />
</button>
</nav>
);
};
export const Hero = () => {
return (
<section className="px-4 py-12 md:py-20 text-center">
<h1 className="text-3xl md:text-5xl font-bold tracking-tight text-gray-900">
Build faster than ever
</h1>
<div className="mt-6 flex justify-center">
<img
src="/hero.png"
alt="Dashboard Preview"
className="w-full max-w-4xl h-auto rounded-lg shadow-xl"
/>
</div>
</section>
);
};
Next steps
- Verify the mobile menu focus ring matches your brand's primary color.
- Check the hero section on a physical device at 320px to confirm touch targets.
LandingPage.tsx
PNG · 1536×1024
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
About this skill
Frontend developers often build functional features that just look "off" or lack the finish of a premium product. This skill identifies exactly why a UI feels unpolished and applies surgical fixes across spacing, typography, states, and responsiveness. It scans your code against 80 specific UI rules to eliminate magic numbers, inconsistent tokens, and broken layouts without requiring a full redesign.
What it does
- Audit UI code against 80 concrete rules covering spacing, alignment, and accessibility.
- Identify priority issues categorized by P0 (broken), P1 (incorrect), and P2 (polish).
- Apply fixes directly to your components while strictly reusing your existing design tokens.
- Stress-test responsiveness by checking layouts at 320px, 768px, and 1440px widths.
- Verify interactive states to ensure every button and input has hover, focus, and disabled styles.
How it works
- Provide context by sharing your component code, a URL, or a screenshot of the UI.
- Specify stack details like Tailwind, CSS Modules, or specific component libraries.
- Review the audit report which scores your UI and lists specific failures by file and line number.
- Approve automated fixes as the skill updates code to resolve P0 through P2 issues.
Frameworks & tools
Works with any web stack including React, Vue, Svelte, and HTML/CSS. Optimized for utility-first frameworks like Tailwind CSS and standard component systems.
Why this beats prompting it yourself
Generic prompts give vague advice like "make it look modern." This skill uses a strict checklist of 80 objective rules, ensuring no 13px margins or missing focus states slip through. It prevents "magic value" creep by forcing the model to stick to your project's defined tokens.
Use cases
- Pre-PR cleanup to catch alignment and spacing errors before a senior dev sees them.
- Production hardening to add missing loading, empty, and error states to async views.
- Mobile optimization to fix layout overflows and squeezed text on small viewports.
Known limitations
Does not perform creative redesigns or change visual branding. Requires access to source code for automated fixes.
Does not perform creative redesigns. Requires access to source code for automated fixes. Focuses on existing visual direction only.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 5 days ago
- Free with an Agensi account