frontend-code-reviewer

frontend-code-reviewer is an agent for Claude Code from pranav8494/team-of-agents. It costs 47 tokens per session (630 once invoked), scanned A, original, MIT.

A specialist that reviews frontend code, the part of an application users see and interact with.

In plain words
What is it for?
Use it to review React components, TypeScript code, pull requests, diffs, accessibility, frontend performance, and test quality.
Why use it?
It catches accessibility problems, broken React patterns, unsafe TypeScript, performance regressions, and weak tests before they reach users.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the team-of-agents plugin — 18 skills, 17 agents, 1 hook shipped together

Good fit Use it to review React components, TypeScript code, pull requests, diffs, accessibility, frontend performance, and test quality.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/pranav8494/team-of-agents/frontend-code-reviewer
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/pranav8494/team-of-agents

Made for: Claude Code.

Or install team-of-agents, the plugin that ships this one along with the rest of its 18 skills, 17 agents, 1 hook.

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-code-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/pranav8494/team-of-agents/frontend-code-reviewer/github.svg)](https://agentmods.dev/agents/pranav8494/team-of-agents/frontend-code-reviewer)
Your own site
<a href="https://agentmods.dev/agents/pranav8494/team-of-agents/frontend-code-reviewer"><img src="https://agentmods.dev/badge/agents/pranav8494/team-of-agents/frontend-code-reviewer/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-code-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/pranav8494/team-of-agents/frontend-code-reviewer"><img src="https://agentmods.dev/badge/agents/pranav8494/team-of-agents/frontend-code-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 47 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 630 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.00047 $0.00630
Opus 5 $0.00023 $0.00315
Sonnet 5 $0.00009 $0.00126
Haiku 4.5 $0.00005 $0.00063

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

Security

Grade A, and why

frontend-code-reviewer 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 12d 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-code-reviewer.md · 58 lines

How it starts

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

Frontend Code Reviewer

Iron Law

Accessibility violations and broken interactions block merging, they are never 'minor'.
Distinguish principle from preference: "this re-renders on every parent update" is a review comment;
"I would have written this differently" is not.

Task Approach

User asks for What to produce
PR / diff review Structured five-phase review (Accessibility → React correctness → TypeScript → Performance → Tests); all findings grouped by phase with severity labels; overall verdict at the end
Review of a single component Same five phases applied to that component; call out what the component does well alongside issues
Accessibility audit of a snippet Phase 1 findings only, with WCAG 2.1 AA criterion cited for each violation and a concrete corrected code example
React pattern check Phase 2 findings only; anti-pattern identified, consequence explained, and replacement code shown
TypeScript strictness review Phase 3 findings only; each unsafe pattern flagged with the specific risk and a type-safe replacement
Performance review Phase 4 findings only; bundle impact and render cost issues each with a measurable description and fix
Test quality review Phase 5 findings only; identify untested paths, query selector quality, and async handling issues
Overall verdict only One-paragraph summary: what the PR does well, what must change before merge, and the verdict label (Approve / Approve with minor comments / Request Changes / Block)

Expertise

  • React: hook rules, stale closures, re-render analysis, Server vs Client Components
  • TypeScript: any usage, unsafe casts, discriminated unions, strict null checks
  • Accessibility: semantic HTML, ARIA correctness, keyboard navigation, WCAG 2.1 AA
  • Performance: bundle impact, Core Web Vitals exposure, memoisation trade-offs
  • CSS/Tailwind: token consistency, specificity, layout correctness, prefers-reduced-motion
  • Testing: Testing Library query selection, mock strategy, behaviour vs implementation testing

Read the full file on GitHub · 58 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. 12d ago First seen · 58 lines · 47 tokens per session scan A d268744bc2dd

Subscribe to this mod's changes

frontend-code-reviewer is an agent published in the GitHub repository pranav8494/team-of-agents (7 stars, last pushed 1mo ago), licensed MIT. It adds 47 tokens to every session and 630 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

react-frontend

React Frontend Execution Agent.

PlanVault/ai-engineering-playbook · 9 tokens

user-experience-designer

Adversarial UX and interaction designer who assumes the current interface is less than optimal. Audits features, screens, and flows for usability and interaction problems grounded in universal design, Nielsen's 10 heuristics, WCAG 2.2 accessibility, affordance and signifier clarity, microinteractions, goal-directed…

testdouble/han · 180 tokens

frontend-reviewer

Review React UI changes for behavior regressions, state consistency, and UX breakage.

hoangsonww/Claude-Code-Agent-Monitor · 21 tokens

react-reviewer

Expert React/JSX code reviewer specializing in hook correctness, render performance, server/client component boundaries, accessibility, and React-specific security. Use for any change touching .tsx/.jsx files or React component logic. MUST BE USED for React projects.

jdanigo/hydraia · 53 tokens

designer

The Designer of the aSPARK team. Use in the Specify phase (/look-and-feel) to design-check a spec before planning starts, or later to critique an implemented UI (from screenshots or markup provided by the caller). Detects bad design: usability heuristics violations, inconsistency, accessibility problems.

a-lottes/aSPARK · 64 tokens

react-expert

Use when: package.json has React but NO next.config., Vite/CRA bundler, SPA architecture. Do NOT use for: Next.js projects (use nextjs-expert), UI design (use design-expert), Laravel+Inertia (use laravel-expert).

fusengine/agents · 60 tokens