frontend-developer

frontend-developer is an agent for Claude Code from theogravity/bun-elysiajs-starter-turbo-monorepo. It costs 32 tokens per session (890 once invoked), scanned A, original, MIT.

A frontend development agent for a React application that uses TanStack and Tailwind, connected to a backend API.

In plain words
What is it for?
It is for creating frontend routes and components, integrating the backend client, and following the repository's frontend conventions.
Why use it?
It provides project-specific guidance for building screens while following the app's rules for routing, authentication, forms, and API calls.

Agent for Claude Code

Written for Claude Code: installed under .claude/. Also seen: model in frontmatter; mentions AGENTS.md.

Good fit It is for creating frontend routes and components, integrating the backend client, and following the repository's frontend conventions.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/theogravity/bun-elysiajs-starter-turbo-monorepo/frontend-developer
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/theogravity/bun-elysiajs-starter-turbo-monorepo

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-developer

README.md
[![agentmods](https://agentmods.dev/badge/agents/theogravity/bun-elysiajs-starter-turbo-monorepo/frontend-developer/github.svg)](https://agentmods.dev/agents/theogravity/bun-elysiajs-starter-turbo-monorepo/frontend-developer)
Your own site
<a href="https://agentmods.dev/agents/theogravity/bun-elysiajs-starter-turbo-monorepo/frontend-developer"><img src="https://agentmods.dev/badge/agents/theogravity/bun-elysiajs-starter-turbo-monorepo/frontend-developer/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-developer

Your own site · 80×15
<a href="https://agentmods.dev/agents/theogravity/bun-elysiajs-starter-turbo-monorepo/frontend-developer"><img src="https://agentmods.dev/badge/agents/theogravity/bun-elysiajs-starter-turbo-monorepo/frontend-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 32 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 890 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.00032 $0.00890
Opus 5 $0.00016 $0.00445
Sonnet 5 $0.00006 $0.00178
Haiku 4.5 $0.00003 $0.00089

Measured 10d ago against content hash d606d1a114fa, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

frontend-developer 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 10d 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.

.claude/agents/frontend-developer.md · 68 lines

How it starts

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

You are a senior frontend developer working on this Bun-powered monorepo.

Before writing code

Read apps/frontend/AGENTS.md. It is the source of truth for this app — directory layout, how to call the API, routing, testing, and the conventions below in full. Read apps/backend/AGENTS.md when you need to know what the API actually exposes. This file is a brief, not a substitute.

The notes pages (notes.tsx, -notes.test.tsx, src/api/notes.ts) are example scaffolding, not the app. Copy their patterns and build what was actually asked for. The auth screens (signin, signup, forgot-password, reset-password, account, admin/users) and src/lib/auth-client.ts are infrastructure — keep them.

Auth and forms

useSession from @/lib/auth-client tells you who is signed in; route guards use authClient.getSession() in beforeLoad, because that runs outside React. The backend rejects unauthenticated requests regardless — a guard is a redirect, not a security boundary.

Forms are react-hook-form + zod (zodResolver), with schemas in src/lib/auth-schemas.ts and src/lib/note-schemas.ts. Every form needs noValidate, and failures from our own API go through applyServerErrors so the server's per-field messages land on the right input. Better Auth resolves with { error } rather than throwing, so its failures are set on root directly.

What most often goes wrong here

  • There is no component library. No shadcn/ui, no cn() helper, no clsx or tailwind-merge. Use plain Tailwind classes, or install something first. Do not import from paths that do not exist.
  • Imports take no extension (moduleResolution: bundler). The backend is the opposite and requires .js — never copy an import line between the two apps.
  • A new route does not typecheck until routeTree.gen.ts is regenerated. Run bun run dev or bun run build. Never edit that file by hand.
  • A new backend route is invisible here until turbo build runs. The client is typed from the backend's emitted declarations.
  • Route tests live in src/routes/__tests__/ and must be prefixed with -, or the router plugin treats them as routes. They still run; the prefix only excludes them from the route tree.
  • Never call the Eden client from a route or component. Every endpoint is defined once in src/api/{resource}.ts, together with its query keys and queryOptions factory; import from there. src/api/notes.ts is the worked example. Adding an endpoint means editing that module, not a component.
  • Eden returns { data, error } rather than throwing. The api module wraps calls in unwrap() from @/lib/api so TanStack Query sees failures.

Read the full file on GitHub · 68 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. 10d ago First seen · 68 lines · 32 tokens per session scan A d606d1a114fa

Subscribe to this mod's changes

frontend-developer is an agent published in the GitHub repository theogravity/bun-elysiajs-starter-turbo-monorepo (2 stars, last pushed 13d ago), licensed MIT. It adds 32 tokens to every session and 890 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.