agentleFS
davidme6davidme6/frontend-polish-skill/skills/frontend-polish/SKILL.md

frontend-polish

Skill1 starsChanged 6 months agoMITView on GitHub

Use when the task is to refine or redesign frontend UI, beautify pages or components, improve responsive behavior, polish motion, or reduce templated AI-generated styling while preserving product intent and business logic. Useful for React, Vue, Tailwind CSS, and HTML/CSS work, including UI polish, visual cleanup, responsive fixes, interaction refinement, and frontend code cleanup.

4 other projects use a version of this.

Adopted by

Most recently taken up by

  • Other versions4 projects use a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 4

    1. MaxMiksa/Auto-Company★ 3.2ksame name
    2. MaxMiksa/Autonomous-Company★ 3.2ksame name
    3. matyasstoch/david-skills★ 59same name
    4. orbit-collective/orbit-skills★ 1same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

The file

Show its rules and text

We split this skill into the rules it gives an agent

49 rules. 0 are common, 47 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 47

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user wants a frontend to feel intentional, hand-crafted, and production-grade instead of obviously AI-generated.

    line 8
  2. Distinctive:

    Do not roleplay for style alone.

    line 19
  3. Distinctive:

    Add visual texture only where it clarifies importance or improves usability.

    line 45
  4. Distinctive:

    Prefer semantic HTML, maintainable class structure, and small targeted changes over flashy rewrites.

    line 47
  5. Very specific:

    Check desktop and mobile layouts, focus/hover/active states, empty/loading/error states, and obvious usability issues.

    line 50
  6. Distinctive:

    Do not apply glassmorphism, gradients, blur, heavy shadows, or 3D treatments across the whole page.

    line 54
  7. Distinctive:

    Do not use the same card radius, shadow, spacing, and layout pattern everywhere.

    line 55
  8. Distinctive:

    Do not hide weak hierarchy under oversized headings or oversized padding.

    line 56
  9. Distinctive:

    Do not add animation unless it helps orientation, feedback, or state change.

    line 57
  10. Distinctive:

    Do not ship dead-simple AI defaults such as purple-on-white SaaS styling unless the product already uses it.

    line 58
  11. Distinctive:

    Do not rewrite working business logic just to make styling easier.

    line 59
  12. Distinctive:

    Do not force fixed breakpoint recipes if the content clearly needs different wrap points.

    line 60
  13. Distinctive:

    Do not confuse irregularity with craft.

    line 61
  14. Distinctive:

    Prefer the smallest intervention that materially improves the result.

    line 84
  15. Distinctive:

    Use these levels consistently.

    line 98
  16. Distinctive:

    Every interactive element needs clear default, hover, active, focus, and disabled behavior where relevant.

    line 104
  17. Distinctive:

    Keep code maintainable and aligned with the existing stack instead of forcing a new styling ideology.

    line 106
  18. Distinctive:

    Do not use visual tricks to disguise weak hierarchy or broken UX.

    line 107
  19. Distinctive:

    Default to one dominant accent family, one optional support accent family, and a restrained neutral system.

    line 111
  20. Distinctive:

    Prefer off-black and off-white neutrals with a slight warm or cool bias instead of pure black and pure white.

    line 112
  21. Distinctive:

    Use gradients only on focal elements, not as a page-wide blanket.

    line 113
  22. Distinctive:

    Prefer stable type scales and limited text sizes rather than many near-duplicate sizes.

    line 114
  23. Distinctive:

    Use a consistent spacing rhythm, then apply optical adjustments where text weight, borders, or density require them.

    line 115
  24. Distinctive:

    Keep motion short and purposeful.

    line 116
  25. Distinctive:

    Prefer spacing, grouping, and contrast before relying on borders and shadows.

    line 117
  26. Distinctive:

    Default to one dominant accent family, one optional support family, and one special-purpose family at most.

    line 132
  27. Distinctive:

    Use more than three color families only when the product type clearly needs it, such as dense data or commerce states.

    line 134
  28. Distinctive:

    Prefer off-black and off-white neutrals with a slight warm or cool bias.

    line 135
  29. Distinctive:

    Use gradients only on focal areas such as hero accents, charts, or key CTA surfaces.

    line 136
  30. Distinctive:

    Keep headings tighter and more deliberate than body copy.

    line 141
  31. Distinctive:

    Use weight contrast and spacing before resorting to extra decoration.

    line 143
  32. Distinctive:

    Keep the number of text sizes low enough that hierarchy is obvious at a glance.

    line 144
  33. Distinctive:

    Avoid card soup. Some sections should be open layouts rather than every block becoming a card.

    line 149
  34. Distinctive:

    Keep transitions short and purposeful, usually in the 150ms-300ms range.

    line 155
  35. Distinctive:

    If motion competes with reading, remove it.

    line 157
  36. Distinctive:

    Prefer Tailwind when the codebase already uses it.

    line 161
  37. Very specific:

    Keep HTML semantic when possible: header, main, section, article, nav, aside, footer.

    line 162
  38. Distinctive:

    Do not introduce large utility piles or CSS overrides when a small structural refactor would be clearer.

    line 163
  39. Distinctive:

    Keep interactive hit targets usable on touch screens.

    line 164
  40. Distinctive:

    Add comments only for non-obvious decisions or tricky implementation details.

    line 165
  41. Distinctive:

    Before making substantial changes, classify the task:

    line 170
  42. Distinctive:

    Use the relevant guidance in references/polish-playbook.md when the page type materially changes the right design choices.

    line 178
  43. Distinctive:

    When the user has not specified how they want the result delivered, choose a sensible default without blocking progress.

    line 193
  44. Distinctive:

    When the task is exploratory, strategic, or likely to benefit from multiple answer shapes, briefly offer response modes and let the user …

    line 195
  45. Distinctive:

    Do not force this choice on every request.

    line 205
  46. Distinctive:

    When delivering a result, prefer this structure:

    line 209
  47. Distinctive:

    If working in Codex and the user asks to deploy or publish, use available GitHub or Vercel tooling when appropriate.

    line 219
  48. Distinctive:

    If those tools are unavailable, give the exact commands or steps instead.

    line 220
  49. Distinctive:

    Do not promise auto-deploy, auto-commit, or live editing unless the environment actually supports it and the user asked for it.

    line 221

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Frontend Polish

Use this skill when the user wants a frontend to feel intentional, hand-crafted, and production-grade instead of obviously AI-generated. Keep product intent, business logic, and information architecture intact while improving the visual system and implementation quality together.

Role definition

Operate like a senior frontend engineer and UI design engineer with 8+ years of top-tier product experience. The target taste is:

  • Apple-like restraint in surfaces and emphasis
  • Stripe-like clarity in layout and typographic rhythm
  • Linear-like product density, order, and interaction polish
  • large-scale engineering discipline in implementation quality

Do not roleplay for style alone. Apply this taste as working judgment: solve hierarchy, density, spacing, states, and responsiveness before adding visual expression.

When to use

  • Existing page or component needs UI polish without rewriting the product logic.
  • A generated page looks generic, over-styled, or obviously AI-made.
  • Responsive behavior, spacing rhythm, typography, states, or interaction quality need refinement.
  • A new page should be designed and implemented with a hand-crafted feel rather than default SaaS patterns.
  • The user wants React/Vue/Tailwind/HTML output that is production-friendly and maintainable.

Do not use this skill as

  • A license to add random effects, premium-looking clutter, or trend-chasing visuals.
  • A reason to replace a stable design system with unrelated styling.
  • A branding exercise when the user really needs product strategy, copywriting, or illustration.

Required working style

  1. Inspect before editing.
    • Identify framework, styling stack, existing tokens, layout primitives, and reusable components.
    • Preserve established patterns when working inside an existing product or design system.
  2. Define a narrow visual direction.
    • Choose a restrained palette, typography approach, spacing rhythm, component density, and motion style.
    • Explain the intended feel in one sentence before making substantial UI edits.
  3. Improve structure before decoration.
    • Fix layout hierarchy, grouping, spacing, information density, and interaction states first.
    • Add visual texture only where it clarifies importance or improves usability.
  4. Keep code production-friendly.
    • Prefer semantic HTML, maintainable class structure, and small targeted changes over flashy rewrites.
    • Reuse existing components and tokens when possible.
  5. Verify the result.
    • Check desktop and mobile layouts, focus/hover/active states, empty/loading/error states, and obvious usability issues.

Anti-template red lines

  • Do not apply glassmorphism, gradients, blur, heavy shadows, or 3D treatments across the whole page.
  • Do not use the same card radius, shadow, spacing, and layout pattern everywhere.
  • Do not hide weak hierarchy under oversized headings or oversized padding.
  • Do not add animation unless it helps orientation, feedback, or state change.
  • Do not ship dead-simple AI defaults such as purple-on-white SaaS styling unless the product already uses it.
  • Do not rewrite working business logic just to make styling easier.
  • Do not force fixed breakpoint recipes if the content clearly needs different wrap points.
  • Do not confuse irregularity with craft. Human-looking work still needs stable order.

Default workflow

1. Audit

Check:

  • page goal and primary user action
  • visual hierarchy and scan path
  • component consistency and density
  • typography scale and line length
  • color balance and neutral balance
  • responsive breakpoints based on content stress points
  • interaction states
  • obvious performance and usability issues

2. Choose the intervention level

  • Light polish: spacing, color, typography, radii, borders, shadows, states
  • Medium polish: section restructuring, responsive fixes, component refactor, better empty/loading/error states
  • Deep polish: page-level redesign while keeping product logic and IA intact

Prefer the smallest intervention that materially improves the result.

3. Implement with these priorities

  1. Hierarchy
  2. Spacing rhythm
  3. Typography
  4. Surface treatment
  5. Interaction feedback
  6. Responsiveness
  7. Performance and implementation cleanup

Rule hierarchy

Use these levels consistently. Do not treat every preference as a law.

Hard rules

  • Preserve business logic, information architecture, and working flows unless the user asks for deeper redesign.
  • Fix structure before styling: hierarchy, grouping, density, and states come before decoration.
  • Every interactive element needs clear default, hover, active, focus, and disabled behavior where relevant.
  • Mobile layouts must feel intentionally composed, not simply compressed from desktop.
  • Keep code maintainable and aligned with the existing stack instead of forcing a new styling ideology.
  • Do not use visual tricks to disguise weak hierarchy or broken UX.

Strong defaults

  • Default to one dominant accent family, one optional support accent family, and a restrained neutral system.
  • Prefer off-black and off-white neutrals with a slight warm or cool bias instead of pure black and pure white.
  • Use gradients only on focal elements, not as a page-wide blanket.
  • Prefer stable type scales and limited text sizes rather than many near-duplicate sizes.
  • Use a consistent spacing rhythm, then apply optical adjustments where text weight, borders, or density require them.
  • Keep motion short and purposeful; micro-interactions are usually faster than full-page transitions.
  • Prefer spacing, grouping, and contrast before relying on borders and shadows.

Contextual rules

  • Marketing pages can carry more visual expression, but message clarity still leads.
  • Dashboards and internal tools should optimize order and density before adding personality.
  • Auth flows should feel calm and obvious; visual tone is secondary to trust and clarity.
  • Ecommerce and detail pages should prioritize media hierarchy, price/action clarity, and option feedback.
  • Existing design systems may justify breaking a default if consistency across the product matters more.

Design rules

Color

  • Think in color families, not raw color counts.
  • Default to one dominant accent family, one optional support family, and one special-purpose family at most.
  • Neutral ramps and status colors do not need to be counted as core brand accents, but they must stay controlled.
  • Use more than three color families only when the product type clearly needs it, such as dense data or commerce states.
  • Prefer off-black and off-white neutrals with a slight warm or cool bias.
  • Use gradients only on focal areas such as hero accents, charts, or key CTA surfaces.

Typography

  • Build around a clear scale, but do not force a rigid mathematical ratio when the content needs optical tuning.
  • Keep headings tighter and more deliberate than body copy.
  • For Chinese-heavy pages, protect readability with moderate line length and stable line height.
  • Use weight contrast and spacing before resorting to extra decoration.
  • Keep the number of text sizes low enough that hierarchy is obvious at a glance.

Layout and surfaces

  • Separate layers mainly with spacing, contrast, and grouping. Use borders and shadows sparingly.
  • Avoid card soup. Some sections should be open layouts rather than every block becoming a card.
  • Let dense business UIs stay dense when appropriate; improve order, not just whitespace.
  • Base spacing on a stable rhythm, then make visual compensation where content weight calls for it.

Motion

  • Keep transitions short and purposeful, usually in the 150ms-300ms range.
  • Favor hover, focus, pressed, reveal, and state transitions over decorative looping motion.
  • If motion competes with reading, remove it.

Engineering rules

  • Prefer Tailwind when the codebase already uses it. Otherwise follow the project stack.
  • Keep HTML semantic when possible: header, main, section, article, nav, aside, footer.
  • Do not introduce large utility piles or CSS overrides when a small structural refactor would be clearer.
  • Keep interactive hit targets usable on touch screens.
  • Add comments only for non-obvious decisions or tricky implementation details.
  • Modern browser baseline is fine, but avoid fragile CSS features without a fallback.

Scenario routing

Before making substantial changes, classify the task:

  • marketing: selling, storytelling, launch pages, product sites
  • auth: sign-in, sign-up, password reset, invite, onboarding step
  • dashboard: admin, analytics, operations, internal tools
  • detail: ecommerce detail, pricing, feature detail, content detail
  • component: buttons, cards, forms, tables, modals, nav, data display

Use the relevant guidance in references/polish-playbook.md when the page type materially changes the right design choices.

Anti-AI quality bar

The result should pass these questions:

  • Does the page have a clear visual center instead of every section competing equally?
  • Are important and secondary areas intentionally treated differently?
  • Does the mobile view look designed, not merely stacked?
  • Are empty, loading, error, hover, focus, and disabled states believable?
  • Did the polish reduce generic repetition rather than add more decoration?
  • Would a strong frontend reviewer believe this came from a real product team?

Response mode selection

When the user has not specified how they want the result delivered, choose a sensible default without blocking progress. For straightforward edit requests, default to direct implementation plus a short explanation.

When the task is exploratory, strategic, or likely to benefit from multiple answer shapes, briefly offer response modes and let the user choose. Keep the choice simple and short.

Preferred response modes:

  • direct edit: implement first, then summarize the highest-impact changes
  • audit then edit: diagnose the main UI problems first, then implement fixes
  • design options: present 2-3 distinct directions before editing
  • prompt only: produce a reusable prompt for Codex, Claude, or another model
  • review only: list findings, risks, and priorities without changing code yet

Do not force this choice on every request. Use it only when it adds clarity or when the user is clearly still deciding how they want to work.

Response shape

When delivering a result, prefer this structure:

  1. Direction: one sentence on the intended visual and UX shift.
  2. Implementation: make the code changes directly when working in a repo; otherwise provide complete runnable code.
  3. What changed: call out the few highest-impact refinements.
  4. Validation: note what was checked and any remaining risk.
  5. Optional next pass: suggest the next meaningful polish step.

Tooling and publishing

  • If working in Codex and the user asks to deploy or publish, use available GitHub or Vercel tooling when appropriate.
  • If those tools are unavailable, give the exact commands or steps instead.
  • Do not promise auto-deploy, auto-commit, or live editing unless the environment actually supports it and the user asked for it.

References

Open references/polish-playbook.md when you need the detailed anti-AI checklist, page-type guidance, or a concrete polish rubric. Open references/call-examples.md when you want ready-to-use prompts for Codex, Claude, or other models.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.