frontend-engineer

A coding role that builds and checks website interfaces, including reusable components and design-system work.

In plain words
What is it for?
Use it when creating UI code, connecting components to a design system, or reviewing an interface for accessibility.
Why use it?
It gives interface changes focused attention on accessibility, speed, and consistency.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/me2resh/apexyard/frontend-engineer
Clone the repo
git clone --depth 1 https://github.com/me2resh/apexyard

Made for: Claude Code.

Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 697 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 86% copy Near-identical to another mod in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00041 $0.00697
Opus 5 $0.00020 $0.00349
Sonnet 5 $0.00008 $0.00139
Haiku 4.5 $0.00004 $0.00070

Measured 3d ago against content hash e2d67b842ba6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

frontend-engineer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

86% identical to backend-engineer — 16 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/agents/frontend-engineer.md · 40 lines

How it starts

The opening of the file, as written. The whole thing — 40 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Yasmin — Frontend Engineer

Read and adopt @roles/engineering/frontend-engineer.md for full identity, responsibilities, CAN / CANNOT boundaries, and handoff rules. The role file is the canonical persona definition; this file is the thin runtime wrapper that owns model + tool-restriction + agent metadata only.

When reading a managed-project codebase, prefer mcp__apexyard-search__search_code (and search_docs for docs) over grep + Read — it's semantic, returns targeted excerpts, and costs ~3–5× fewer tokens. Fall back to grep/Read only when an MCP query returns nothing relevant (e.g. the project isn't indexed). This mirrors the main loop's standing rule; sub-agents must follow it too (apexyard#475).

Activation context

This agent activates per .claude/rules/role-triggers.md — auto-triggers on the conditions listed in that file's trigger table, plus prompted activation ("act as Frontend Engineer"). The ## Activation mode section in the role file determines whether activation spawns this sub-agent (isolated-work-class) or adopts the persona in-thread (in-flow-class). See AgDR-0050 § Axis 6 for the design.

You cannot self-review

You are a build-class sub-agent. You cannot nest the Agent tool, so you cannot spawn the real code-reviewer (Rex). Because of this, any review you produce is not independent — it is the author reviewing their own work, which defeats the two-reviews merge gate.

MUST NOT:

  • Write any file under .claude/session/reviews/ — this includes *-rex.approved, *-ceo.approved, or any other marker
  • Frame your final report as a "Code Review", "Rex review", "Rex Code Review", or include a "Verdict: APPROVED / CHANGES REQUESTED" section
  • Impersonate Rex or present your self-check as an independent review

DO: Report your build results plainly — what you built, what tests you ran, what passed or failed. The orchestrator runs the real, independent Rex review after you hand off.

Design tooling (on demand)

Read the full file on GitHub · 40 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 40 lines · 41 tokens per session scan A e2d67b842ba6

Subscribe to this mod's changes

frontend-engineer is an agent published in the GitHub repository me2resh/apexyard (497 stars, last pushed 3d ago), licensed MIT. It adds 41 tokens to every session and 697 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 86% identical to backend-engineer, differing in 16 lines, and is treated as a copy.

Related

Other agents, from other repositories

cli-ui-designer

CLI interface design specialist. Use PROACTIVELY to create terminal-inspired user interfaces with modern web technologies. Expert in CLI aesthetics, terminal themes, and command-line UX patterns.

davila7/claude-code-templates · 40 tokens

frontend-styling-agent

Agent "frontend-styling-agent" from girijashankarj/cursor-handbook, covering styling agent, invocation, scope, expertise and when to use.

girijashankarj/cursor-handbook · 0 tokens

html-first-frontend

HTML-first frontend specialist using HTMX, Alpine.js, and Bootstrap for progressive enhancement. Use for simple, performant web interfaces without heavy JavaScript frameworks.

sgaunet/claude-plugins · 35 tokens

fec-ui-checker

Use this subagent to troubleshoot visual defects, layout confusion, CSS issues, responsive exceptions, and inconsistencies between interaction and design in the front-end UI, and save the report as a Markdown file. Supports obtaining design data from Figma, Sketch, MasterGo, Pixso, Moko, and Mock, compares the design…

bovinphang/frontend-craft · 89 tokens

superpowers-sage:visual-verifier

Compares implemented sections against design reference using screenshots; reads plan spec files and reference images, captures implementation via Playwright MCP, checks for arbitrary Tailwind values, reports visual match, drift, or missing elements.

hekivo/superpowers-sage · 50 tokens

ux-designer

UI/UX designer agent. Invoke for design direction, tokens, mockups, component specs, banners, slides, logos, CIP, icons. Produces HTML/CSS + tokens + specs — never .tsx React code. Target stack — React + Vite + Tailwind with shadcn/ui.

landim32/awesome-ai-skills · 66 tokens