# Frontend agent

> Frontend agent is an open-source agent skill for developer tools. Builds frontend pages, components, routing and responsive layouts for AI coding agents. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/ivy00johns/Skill-Madness/tree/main/skills/roles/frontend-agent
- **Repository:** https://github.com/ivy00johns/skill-madness
- **GitHub stars:** 12
- **License:** MIT
- **Skill name:** frontend-agent
- **Collection:** https://github.com/ivy00johns/Skill-Madness
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

Frontend Agent is a role skill for AI coding agents that guides the build of user interfaces: pages, screens, components, client-side state, routing and responsive page shells. It applies to React, Vue, Svelte, TSX and CSS work, and is meant to be used as part of a contract-first build where an orchestrator dispatches work to a frontend role.

The skill sets a workflow: read the API contract and shared types first, build a single centralized API client, then work outside-in from layout to pages to shared components, with loading, error and empty states for every async operation. It also covers styling discipline, such as keeping layout CSS in stylesheets and drawing colors from design tokens, and an accessibility pass before work is reported done.

Before finishing, it runs the project's frontend source guards using Python 3 and expects a visible, non-headless browser check at mobile and desktop widths. It is written for projects that already have a toolchain, and it asks for approval before adding or changing shared tooling such as pre-commit hooks.

## When your agent uses it

> Build user interfaces: pages, screens, components, routing, client state, responsive layout and page shells. Use for any frontend implementation task (React, Vue, Svelte, TSX, CSS) or an orchestrator dispatch to the frontend role. Runs the frontend source guards before reporting done. Trigger on "build the checkout page", "add the settings screen", "wire up this form".

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/ivy00johns/Skill-Madness/tree/HEAD/skills/roles/frontend-agent)
- [Asks for: Read, Write, Edit, Bash, Glob, Grep](https://github.com/ivy00johns/Skill-Madness/blob/HEAD/skills/roles/frontend-agent/SKILL.md)
- [License: MIT](https://github.com/ivy00johns/Skill-Madness/tree/HEAD/skills/roles/frontend-agent)

## Features

- **Contract-first API client:** Sets up one typed client that maps each contracted endpoint, handles error envelopes and attaches auth where the contract requires it.
- **Component and page build order:** Guides building layout and shell first, then pages, features and shared components with typed props and all UI states.
- **Responsive layout rules:** Covers mobile-first media queries, size primitives instead of fixed widths, and moving inline layout styles into classes.
- **Design token discipline:** Requires colors to come from design tokens and runs a token checker that flags hardcoded color literals.
- **Accessibility checks:** Applies focus, labeling, keyboard and live-region requirements and runs an accessibility audit before done.
- **Source guard validation:** Runs the frontend guard script across the full source tree and treats failures as blocking.

## Good for

- Build the checkout page from the API contract
- Add a settings screen with routing and client state
- Wire up a form to a backend endpoint with error handling
- Make an existing layout responsive for mobile and desktop
- Create reusable header, nav and footer components for a site

## Install

### Claude Code

This skill ships in the `skill-madness` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add ivy00johns/Skill-Madness
/plugin install skill-madness@skill-madness
```

Or copy only this skill to `~/.claude/skills/frontend-agent`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/frontend-agent &&
cp -R "$tmp/skills/roles/frontend-agent" ~/.claude/skills/frontend-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/frontend-agent` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/frontend-agent` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/frontend-agent &&
cp -R "$tmp/skills/roles/frontend-agent" ~/.agents/skills/frontend-agent &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/frontend-agent` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/frontend-agent` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/frontend-agent &&
cp -R "$tmp/skills/roles/frontend-agent" ~/.cursor/skills/frontend-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/frontend-agent` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/ivy00johns/Skill-Madness.git --path skills/roles/frontend-agent
```

Or copy the folder to `~/.gemini/skills/frontend-agent` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/frontend-agent`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/frontend-agent &&
cp -R "$tmp/skills/roles/frontend-agent" ~/.copilot/skills/frontend-agent &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/frontend-agent` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/ivy00johns/Skill-Madness.git
```

Then copy `Skill-Madness/skills/roles/frontend-agent` into your agent's skills folder as `frontend-agent`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does the skill need to run?

It reads the project's contract files and shared types, uses Read, Write, Edit, Bash, Glob and Grep tools, and needs Python 3 to run the source guard scripts.

### Does Frontend agent work outside a multi-agent orchestrator?

Yes. It has a solo mode where the user supplies scope, stack and approved paths. In that mode it builds one bounded slice and reports verification gaps instead of claiming an independent review passed.

### Does Frontend agent create or change files outside the frontend folders?

It owns src/components, src/pages, src/hooks, src/styles and public for framework projects. It asks for approval before editing shared files or adding guard tooling to existing hooks.

### How do I install Frontend agent in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/frontend-agent to use it in all your projects, or to .claude/skills/frontend-agent in one project. Or install the skill-madness plugin, which includes it: /plugin marketplace add ivy00johns/Skill-Madness, then /plugin install skill-madness@skill-madness.

### Does Frontend agent run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Frontend agent?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Frontend agent?

The closest alternatives to Frontend agent are Frontend UI engineering, Frontend UI engineering, Frontend design, Frontend design and Frontend design.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Frontend UI engineering](https://ai-powered.com/skills/frontend-ui-engineering): Frontend UI engineering is an open-source agent skill for developer tools.
- [Frontend UI engineering](https://ai-powered.com/skills/frontend-ui-engineering-ajyadav013-2): Frontend UI engineering is an open-source agent skill for developer tools.
- [Frontend design](https://ai-powered.com/skills/frontend-design-melandlabs): Frontend design is an open-source agent skill for design and media.
- [Frontend design](https://ai-powered.com/skills/frontend-design-lichamnesia): Frontend design is an open-source agent skill for design and media.
- [Frontend design](https://ai-powered.com/skills/frontend-design-majiayu000): Frontend design is an open-source agent skill for developer tools.
- [Backend agent](https://ai-powered.com/skills/backend-agent): Backend agent is an open-source agent skill for developer tools.
- [Frontend engineering edho ferdian](https://ai-powered.com/skills/frontend-engineering-edho-ferdian): Frontend engineering edho ferdian is an open-source agent skill for developer tools.
- [Design taste frontend](https://ai-powered.com/skills/design-taste-frontend): Design taste frontend is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/frontend-agent
