Skip to main content
AI + Development

Stop Prompting From Scratch: How Agent Skills Changed the Way I Use AI for Frontend Development

My first experience using Codex with Agent Skills to improve the user experience of an existing website — and why I think more developers should explore them.

Save & share
On this page26 sections

Full Article

Read the complete article, including examples, background, practical insights, and technical details.

Yesterday, I was going through one of my older static websites and felt that the user experience needed some improvement. The website was functional, but the way information was presented, the placement of articles, and certain elements on the homepage could have been better.

Typically, I would open an AI coding agent and ask it to analyse the website, identify UX issues, and suggest improvements. But this time, I wanted to try something different.

I started exploring Agent Skills.

Although I have been extensively using AI coding agents for development, this was my first experience deliberately using dedicated skills to review and improve an existing application's user experience.

The experience made me rethink how we should be working with AI coding agents.

My First Experience With Agent Skills

I was using OpenAI Codex as my coding agent. After exploring a few available skills, I came across two that caught my attention:

  • Taste Skill
  • Vercel's Web Design Guidelines

I started with Taste Skill, which helped approach the website from a design and visual hierarchy perspective rather than purely from a technical standpoint.

I then used Vercel's Web Design Guidelines to conduct another review, this time with a more structured approach towards usability and interface best practices.

The combination helped me identify several areas of improvement. Articles that deserved more visibility were moved to prominent positions, unnecessary elements were removed, and the overall presentation of the website was reorganised.

What I found interesting was that I could immediately implement these recommendations using the same coding agent.

In effect, I had turned my coding agent into a UX reviewer and a frontend developer within the same workflow.

What Exactly Are Agent Skills?

An Agent Skill is essentially a reusable package of instructions, knowledge, guidelines, and sometimes scripts that helps an AI agent perform a specialised task.

Instead of expecting the AI to figure out everything based on a general-purpose prompt, we provide it with a structured methodology.

A typical skill might contain:

  • Instructions for performing a specific task.
  • Industry best practices.
  • Evaluation criteria and checklists.
  • Reference documentation.
  • Scripts for automation and validation.
  • Examples of expected outcomes.

At the heart of most Agent Skills is a file called SKILL.md, which describes what the skill does, when it should be used, and how the agent should approach the task.

Think of it as giving your coding agent a specialised operating manual.

Why Not Just Use a Normal Prompt?

This was one of the questions I had when I started exploring skills.

Technically, I could simply ask Codex:

Analyse my website and suggest improvements to its user experience.

The agent would still be capable of doing that. However, the approach it takes and the recommendations it generates might differ across sessions, models, and agents.

One agent might focus on colours and typography. Another might concentrate on navigation. A third might suggest completely restructuring the homepage.

Skills introduce a more consistent methodology. They do not guarantee identical results, but they give agents a common framework for approaching problems.

I see this as the difference between asking someone to review a product and providing them with an established product review process.

Both can produce results, but the latter is easier to repeat, evaluate, and improve.

Agent Skills Become Part of Your Project

One of the aspects I particularly like is that skills can be installed at the repository level.

For example, Codex can discover repository-specific skills from the .agents/skills/ directory.

A project could have a structure like this:

my-website/
├── src/
├── public/
├── docs/
├── AGENTS.md
├── .agents/
│   └── skills/
│       ├── frontend-design/
│       │   └── SKILL.md
│       ├── performance/
│       │   └── SKILL.md
│       └── accessibility/
│           └── SKILL.md
└── package.json

When these skills are version-controlled alongside the application, future agents working on the repository can discover and use them.

This becomes particularly useful when switching between different AI coding tools, provided those tools support the skill format.

Rather than repeatedly explaining how I want my applications to be reviewed, I can maintain a reusable set of guidelines.

Over time, the repository can contain not just the source code of an application but also knowledge about how that application should be developed, reviewed, and maintained.

Agent Skills Worth Exploring for Frontend Development

After my initial experience, I started looking at other skills that could help improve frontend applications. Here are some repositories and skills worth exploring.

1. Taste Skill

Taste Skill focuses on improving the visual quality of AI-generated interfaces and avoiding generic, repetitive design patterns.

It is particularly interesting for developers who build functional applications but struggle to achieve a polished visual experience.

It can help with layout composition, typography, spacing, visual hierarchy, and redesigning existing interfaces.

GitHub: Leonxlnx/taste-skill

2. Vercel Web Design Guidelines

This is one of the skills I used during my website review.

It provides a structured approach to reviewing web interfaces, covering areas such as accessibility, usability, interaction design, and common interface problems.

I see this as a useful addition to the frontend code review process.

GitHub: vercel-labs/web-interface-guidelines

3. Vercel React Best Practices

For developers working with React and Next.js, this is another interesting skill from Vercel Engineering.

It focuses on performance and architectural best practices, including reducing unnecessary re-renders, avoiding inefficient data-fetching patterns, optimising JavaScript bundles, and improving component performance.

This is particularly useful because AI-generated code can be functionally correct without necessarily being efficient.

GitHub: Vercel React Best Practices

4. Anthropic Frontend Design

Anthropic's Frontend Design skill focuses on creating distinctive interfaces that have a more intentional visual identity.

It encourages agents to think about visual direction, typography, colour systems, motion, and layout rather than simply assembling standard UI components.

This could be particularly useful when building landing pages, dashboards, product websites, and new applications.

GitHub: Anthropic Skills

5. Web Quality Skills by Addy Osmani

This is a collection of skills that I believe would be particularly valuable for developers maintaining production websites.

It brings a measurement-oriented approach to web quality using tools and concepts such as Lighthouse, Chrome DevTools, and Core Web Vitals.

The collection includes dedicated skills for:

  • Web performance
  • Accessibility
  • SEO
  • Core Web Vitals
  • Web quality audits
  • Web development best practices

Instead of simply asking an agent to make a website faster, we can guide it towards identifying measurable performance problems and validating improvements.

GitHub: addyosmani/web-quality-skills

6. Anthropic Web Application Testing

Improving an interface is only one part of the development process. We also need to ensure that the changes do not break existing functionality.

Anthropic's Web Application Testing skill uses Playwright to help agents interact with and test web applications.

With the appropriate browser environment, agents can capture screenshots, test user interactions, inspect browser errors, and verify that functionality works as expected.

This is particularly useful after a significant UI redesign.

GitHub: Anthropic Web Application Testing

Quick Reference: Skills for Different Requirements

Skill Primary purpose
Taste Skill Visual quality and UI redesign
Web Design Guidelines UX and interface review
React Best Practices React and Next.js performance
Frontend Design Creative interface development
Performance Website speed optimisation
Core Web Vitals Loading, responsiveness and visual stability
Accessibility Inclusive and accessible interfaces
SEO Technical search optimisation
Web Quality Audit Comprehensive website evaluation
Web Application Testing Browser-based functional testing

You do not necessarily need to install every available skill. Start with the ones that address your application's actual problems.

How to Install Agent Skills

One of the easiest ways to discover and install skills is through the open-source Skills CLI from Vercel.

If you have Node.js installed, navigate to your project directory and run:

npx skills find

You can also search for a particular category:

npx skills find frontend

To install Taste Skill for Codex:

npx skills add Leonxlnx/taste-skill --skill design-taste-frontend -a codex

To install Vercel's Web Design Guidelines:

npx skills add vercel-labs/agent-skills --skill web-design-guidelines -a codex

To install React Best Practices:

npx skills add vercel-labs/agent-skills --skill vercel-react-best-practices -a codex

To install the Performance skill from Addy Osmani's collection:

npx skills add addyosmani/web-quality-skills --skill performance -a codex

You can list installed skills using:

npx skills list

Within Codex, you can discover available skills using /skills or explicitly reference one using the $ prefix.

Remember to review third-party skill instructions and scripts before installing or executing them. Skills can influence how an agent behaves, and installing one should be treated with the same care as introducing a third-party dependency.

A Skill-Driven Frontend Development Workflow

Based on my initial experience, I would like to experiment with a more structured approach to improving my applications in the future.

Step 1: Establish a Baseline

Capture screenshots of the existing website on desktop and mobile. Run Lighthouse and record the current performance and accessibility results.

Step 2: Conduct a Design Review

Use Taste Skill or Frontend Design to identify problems with visual hierarchy, information density, typography, and layout.

Step 3: Conduct a UX Review

Use Web Design Guidelines to evaluate navigation, responsiveness, accessibility, and interaction patterns.

Step 4: Create an Implementation Plan

Ask the agent to consolidate the findings, remove duplicate recommendations, and prioritise changes based on user impact and implementation effort.

Step 5: Implement Improvements

Apply the approved changes incrementally, rather than allowing the agent to unnecessarily rewrite the entire application.

Step 6: Optimise Performance

Use React Best Practices, Performance, and Core Web Vitals skills to identify technical improvements relevant to the application's technology stack.

Step 7: Validate the Results

Use browser-based testing to verify functionality, capture new screenshots, and compare the results against the original baseline.

The objective is not simply to produce a better-looking website. It is to create a better user experience without introducing unnecessary complexity or performance regressions.

A Prompt You Can Try

Once the relevant skills are installed, you could give your coding agent a prompt like this:

Review this application using the installed frontend design, web design guidelines, accessibility, and performance skills.

Evaluate the existing application on desktop and mobile. Identify problems with visual hierarchy, navigation, information density, responsiveness, and performance.

Categorise your findings by severity and implementation effort. Provide file-level references wherever possible.

Prepare a prioritised implementation plan before making any changes. Preserve existing functionality and the application's visual identity.

After implementing the approved changes, validate the results using browser testing and performance measurements.

This creates a more structured starting point than simply asking the agent to improve the application.

Building Your Own Project-Specific Skills

The possibilities become even more interesting when we start creating our own skills.

For example, if I maintain multiple content-driven websites, I could create an editorial website review skill that instructs an agent to check whether:

  • Featured articles receive sufficient visibility.
  • Article cards are consistent.
  • Navigation makes content easy to discover.
  • Advertisements do not unnecessarily disrupt reading.
  • Mobile layouts prioritise important content.
  • Images are optimised.
  • Related articles are presented appropriately.
  • Technical SEO requirements are satisfied.

Instead of performing the same review manually for every website, I could reuse this skill across multiple projects.

I could also create skills for database reviews, API design, security assessments, documentation, test coverage, and deployment readiness.

This is where I see significant long-term value in the Agent Skills ecosystem.

Where to Discover More Agent Skills

If you are new to this ecosystem, here are some useful starting points:

Final Thoughts

As someone who enjoys building applications, I see AI coding agents as more than just tools for generating code.

They can act as architects, developers, reviewers, testers, and performance analysts. However, how effectively they perform these roles depends significantly on the context and instructions we provide.

Agent Skills offer an interesting way to make that knowledge reusable.

My initial experience was simply about improving the user experience of an old static website. But it made me realise that the same approach could be extended across the entire software development lifecycle.

I am not suggesting that we stop writing prompts or blindly trust predefined skills. Human judgement, code reviews, testing, and understanding the application's requirements remain essential.

Rather, I see skills as another layer of engineering discipline in AI-assisted development.

For years, we have built reusable components, libraries, frameworks, and design systems. Perhaps Agent Skills are the beginning of making our engineering practices themselves reusable.

The next time you ask your coding agent to improve your application, consider whether there is a skill that can help it approach the problem more systematically.

You might be surprised by the difference.

Published · Updated
Share this article

Comments load as you scroll…