Skip to content
Gustam Rheza.
Back to blog

Five AI agent skills that make my front-end work better

Coding agents write a lot of UI, and most of it looks the same. These five skills give the agent taste, a checklist and a reason to slow down before it ships another generic landing page.

Gustam Rheza

If you have asked a coding agent to "build a landing page", you know the result: a centred hero, a purple gradient, three feature cards with icons, and a testimonial nobody wrote. It works, and it looks like every other page an agent has made.

The fix I found is not a better prompt. It is a skill: a small folder with a SKILL.md file that the agent loads only when the task needs it. The file holds the instructions, checklists and sometimes scripts that I would otherwise have to repeat in every conversation. These are the five I reach for most when the work is front-end.

1. Frontend design: a direction before the code

The first skill does one simple thing: it makes the agent pick an aesthetic direction before it writes markup. Who is the audience? What should the page feel like: editorial, technical, playful? Which typeface carries that feeling?

That single step removes most of the "AI look". When I rebuilt this portfolio, the skill pushed the hero toward a serif headline with a quiet sans-serif body instead of the default bold sans on a gradient. It is a small choice, and it is the one people notice first.

2. UI/UX review: a checklist with numbers

Taste is not enough; a page also has to work for everyone. A UI/UX review skill gives the agent a ranked rule set: accessibility first, then touch targets, performance, layout, typography and motion.

The useful part is that it asks the agent to measure instead of guess:

  • contrast ratios for every text colour against its real background
  • every control smaller than 44 by 44 pixels
  • every distinct font size on the page
  • whether motion respects prefers-reduced-motion

On my own site, this review found that link previews had no image, that the Blog menu opened an empty page, and that the gallery shared the home page title. None of these were visible in a screenshot. All of them were quick to fix once named.

3. Taste and anti-slop rules

Some skills go further and act as an art director. They list the patterns that make a page look generated (emoji as icons, glassmorphism on everything, gradient text, the same card grid in every section) and they forbid them. Some also run a real browser, take screenshots and loop until the page passes.

This is the most opinionated kind of skill, and that is the point. An agent without opinions falls back to the average of everything it has seen. A skill with strong opinions gives it a style to follow, and you can change the rules when you disagree with them.

4. Microinteractions: the details that make UI feel alive

Buttons that do not react, dialogs that appear with no transition, loading states that are just a blank space: these make an interface feel dead even when the layout is good.

A microinteractions skill asks the agent to think about each small moment as trigger, rules, feedback and loops. In practice, I get press feedback on buttons, a short fade when a sharp image replaces its preview, and video that only plays while it is on screen. Each detail is a few lines of code. Together, they change how the site feels.

5. Accessibility review: before handoff, not after complaints

An accessibility skill runs a WCAG audit on a page: keyboard order, focus states, labels on icon-only buttons, alternative text, heading order and colour contrast. It is narrower than the UI/UX review, and that makes it faster to run on every new component.

The rule I follow: if a change adds a button, a dialog or a form, the agent runs this skill before I review the code.

How I use them together

I do not load all five at once. A typical session looks like this:

  1. Design skill when I start a new page or section.
  2. Microinteractions once the layout is stable.
  3. UI/UX and accessibility review before I commit.

Skills are cheap to try. Most are a single Markdown file, and the agent only reads the full text when the task matches its description. Start with one, read it, change what you disagree with, and keep the rules that make your work better.