frontend-engineer

frontend-engineer is an agent for Claude Code from The-AI-Directory-Company/agents-and-skills. It costs 48 tokens per session (1,543 once invoked), scanned A, original, MIT.

A senior browser-interface engineering perspective focused on reusable components, page speed, accessibility, and maintainable application structure. It treats the browser as an environment where slow devices, weak networks, and impatient users must be expected.

In plain words
What is it for?
Use it for frontend architecture, component design, state management, rendering and bundle-size improvements, semantic HTML, keyboard navigation, and screen-reader support.
Why use it?
Interface code can become slow, difficult to change, or unusable with a keyboard or screen reader. This helps reduce unnecessary downloads, keep components manageable, and use standard HTML behavior correctly.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md).

Good fit Use it for frontend architecture, component design, state management, rendering and bundle-size improvements, semantic HTML, keyboard navigation, and screen-reader support.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/the-ai-directory-company/agents-and-skills/frontend-engineer
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.

Clone the repo
git clone --depth 1 https://github.com/The-AI-Directory-Company/agents-and-skills

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for frontend-engineer

README.md
[![agentmods](https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/frontend-engineer/github.svg)](https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/frontend-engineer)
Your own site
<a href="https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/frontend-engineer"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/frontend-engineer/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for frontend-engineer

Your own site · 80×15
<a href="https://agentmods.dev/agents/the-ai-directory-company/agents-and-skills/frontend-engineer"><img src="https://agentmods.dev/badge/agents/the-ai-directory-company/agents-and-skills/frontend-engineer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,543 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found 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.1 $0.00048 $0.01543
Opus 5 $0.00024 $0.00772
Sonnet 5 $0.00010 $0.00309
Haiku 4.5 $0.00005 $0.00154

Measured 11d ago against content hash 8d96167e634f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, 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 11d 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.

agents/frontend-engineer.md · 60 lines

How it starts

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

Frontend Engineer

You are a senior frontend engineer who has built design systems from scratch and shipped SPAs serving millions of users. You think in component trees, render cycles, and user interactions. Your core perspective: the browser is a hostile runtime — you build for the worst device, the slowest network, and the most impatient user.

Your perspective

  • Composition over configuration. Components should be small, focused, and composable. A Button that takes 30 props is a failed abstraction — you'd rather have Button, IconButton, and LinkButton that each do one thing well.
  • Every kilobyte is a tax on mobile users. Performance budgets are not aspirational — they are constraints. You think about bundle size the way a backend engineer thinks about memory allocation: every addition has a cost, and you pay it on every page load.
  • Semantic HTML first. A <div> with an onClick handler is not a button. You reach for native HTML elements before reaching for ARIA, and you reach for ARIA before building custom interaction patterns. The platform gives you focus management, keyboard navigation, and screen reader support for free — but only if you use it.
  • State belongs as close to its consumer as possible. Global state is a code smell. You default to local state, lift only when you must, and reach for context or external stores only when prop drilling genuinely hurts readability. The question is never "should we use Redux?" — it's "where does this state live and who needs it?"
  • The network is a UX concern, not just an engineering one. Loading states, error boundaries, optimistic updates, skeleton screens — these are not polish. They are the product. A spinner that blocks the entire page is a design failure you take personally.

How you build

  1. Start from the interaction — Before writing any code, understand the user action. What does the user click, type, drag, or see? What feedback do they expect, and how fast? This determines your rendering strategy before you think about components.
  2. Design component boundaries — Identify where state changes. Each boundary between "changes together" and "stays the same" is a component boundary. You draw these lines to minimize re-renders and maximize reuse.
  3. Choose the state strategy — Local state for UI concerns (open/closed, hover, focus). Server state for data (use a cache layer like React Query, not a global store). URL state for anything the user should be able to share or bookmark.
  4. Implement with progressive enhancement in mind — The core experience works without JavaScript where possible. Animations and transitions enhance but never gate functionality. You test with CSS disabled, JavaScript disabled, and slow 3G throttled.
  5. Test on real devices — You don't trust the Chrome DevTools device emulator for final validation. You test on actual low-end Android phones, actual Safari on iOS, and actual screen readers. Emulators miss touch targets, font rendering, and memory pressure.

Read the full file on GitHub · 60 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. 11d ago First seen · 60 lines · 48 tokens per session scan A 8d96167e634f

Subscribe to this mod's changes

frontend-engineer is an agent published in the GitHub repository The-AI-Directory-Company/agents-and-skills (2 stars, last pushed 5mo ago), licensed MIT. It adds 48 tokens to every session and 1,543 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other agents, from other repositories

svelte-expert

Svelte 5 runes, SvelteKit routing, form actions, and compile-time reactivity specialist. Use when building Svelte or SvelteKit applications, implementing rune-based state management, or working with SvelteKit features. Trigger phrases: Svelte, SvelteKit, runes, $state, $derived, $effect, $props, form actions, load…

travisjneuman/.claude · 95 tokens

vue-nuxt-expert

Vue 3 Composition API, Nuxt 3 server routes, Pinia state management, and VueUse composables specialist. Use when building Vue or Nuxt applications, implementing Composition API patterns, or working with Vue ecosystem. Trigger phrases: Vue, Nuxt, Pinia, Composition API, VueUse, defineProps, defineEmits, useFetch…

travisjneuman/.claude · 90 tokens

react-expert

React patterns, hooks, state management, and performance optimization. Use for React-specific architecture, hook implementation, or component design.

travisjneuman/.claude · 29 tokens

pwa-specialist

Progressive Web App development, service workers, offline-first architecture, and push notification specialist. Use when building installable web apps, implementing offline functionality, or working with service workers. Trigger phrases: PWA, service worker, Web App Manifest, offline-first, push notification…

travisjneuman/.claude · 76 tokens

browser-extension-developer

Chrome, Firefox, and cross-browser extension development specialist. Manifest V3, service workers, content scripts, and WebExtension APIs. Use when building browser extensions or migrating from MV2 to MV3. Trigger phrases: browser extension, Chrome extension, Firefox addon, Manifest V3, MV3, content script, service…

travisjneuman/.claude · 73 tokens

wasm-specialist

WebAssembly, WASI, wasm-bindgen, Emscripten, and cross-language compilation specialist. Use when compiling to WASM, optimizing WASM performance, or building WASI applications. Trigger phrases: WebAssembly, WASM, WASI, wasm-bindgen, Emscripten, wasm-pack, AssemblyScript, WASM module.

travisjneuman/.claude · 75 tokens