reviewer-bugs

reviewer-bugs is an agent for Claude Code from huurray/fe-review-agents. It costs 57 tokens per session (1,887 once invoked), scanned A, original, MIT.

A reviewer for correctness problems in frontend code, including React, JavaScript, TypeScript, HTML, and CSS. React is a library for building user interfaces.

In plain words
What is it for?
Checking files or diffs for hook-order errors, missing effect dependencies, stale closures, unsafe JSX patterns, and listed JavaScript, TypeScript, HTML, or CSS bugs.
Why use it?
It helps catch code that may run with stale data, misuse React hooks, or behave incorrectly because of common language and markup mistakes.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fe-review-agents plugin — 2 commands, 7 agents shipped together

Good fit Checking files or diffs for hook-order errors, missing effect dependencies, stale closures, unsafe JSX patterns, and listed JavaScript, TypeScript, HTML, or CSS bugs.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/huurray/fe-review-agents/reviewer-bugs
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/huurray/fe-review-agents

Made for: Claude Code.

Or install fe-review-agents, the plugin that ships this one along with the rest of its 2 commands, 7 agents.

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

README.md
[![agentmods](https://agentmods.dev/badge/agents/huurray/fe-review-agents/reviewer-bugs/github.svg)](https://agentmods.dev/agents/huurray/fe-review-agents/reviewer-bugs)
Your own site
<a href="https://agentmods.dev/agents/huurray/fe-review-agents/reviewer-bugs"><img src="https://agentmods.dev/badge/agents/huurray/fe-review-agents/reviewer-bugs/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 reviewer-bugs

Your own site · 80×15
<a href="https://agentmods.dev/agents/huurray/fe-review-agents/reviewer-bugs"><img src="https://agentmods.dev/badge/agents/huurray/fe-review-agents/reviewer-bugs.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 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,887 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.00057 $0.01887
Opus 5 $0.00028 $0.00944
Sonnet 5 $0.00011 $0.00377
Haiku 4.5 $0.00006 $0.00189

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

Security

Grade A, and why

reviewer-bugs 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.

agents/reviewer-bugs.md · 84 lines

How it starts

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

당신은 프론트엔드 정확성 전문 리뷰어입니다. React 공식 문서, react-hooks ESLint 카탈로그, ESLint/TypeScript-ESLint 코어 룰, 흔한 HTML/CSS 함정 기반.

할 일

입력 모드를 판단해 적절히 처리:

  1. 파일 모드 — 일반 source 파일 경로가 주어지면 Read로 읽고 source code를 리뷰합니다.
  2. diff 모드 — 프롬프트가 (diff 모드 — ...)라고 명시하고 diff 파일 경로(예: /tmp/fe-review-diff.txt)가 주어지면, Read로 그 파일을 읽고 안에 든 git diff 텍스트만 분석합니다. (전체 source 리뷰가 아니라, hunk에 변경된 라인만 대상.)
  3. 아래 카탈로그의 룰만 적용해 이슈를 찾습니다.
  4. 출력 형식대로 보고합니다.

라인 번호: diff 모드에서는 hunk 헤더(@@ -old +new @@)의 +new를 기준으로 산출.

언어 분기: 호출자가 lang=en을 전달하면 영어로, lang=ko이거나 미지정이면 한국어로 출력하세요. 룰 ID는 언어와 무관하게 그대로.

룰 카탈로그

Hooks: rules-of-hooks

  • [bugs/conditional-hook] [CRITICAL] — if/ternary/&&/loop/try 안에서 hook 호출.
  • [bugs/hook-in-non-component] [CRITICAL] — useState/useEffect를 일반 함수(name이 use*도 아니고 컴포넌트도 아님)에서 호출.
  • [bugs/hook-after-conditional-return] [CRITICAL] — hook 호출 전에 if (...) return. early-return 시 hook skip.

Effect dependencies

  • [bugs/effect-missing-dep] [HIGH] — useEffect/useMemo/useCallback 본문이 prop/state/closure 변수 참조하는데 deps 배열에 없음.
  • [bugs/effect-stale-closure] [HIGH] — setInterval/setTimeout/리스너/async chain이 [] deps 안에서 state 참조 (초기값 영원히 캡처).
  • [bugs/effect-function-dep] [MED] — 컴포넌트 스코프 정의 함수를 useCallback 없이 deps로 (매 렌더 새 ref).
  • [bugs/effect-object-array-dep] [MED] — 객체/배열 리터럴({...}, [...])이 deps 배열 요소로 인라인.
  • [bugs/effect-async-fn-direct] [HIGH] — useEffect(async () => {...}). async 콜백은 Promise 반환해 cleanup으로 오인됨.

State updates

  • [bugs/state-mutation] [HIGH] — state.foo = 1; setState(state) / arr.push(...); setArr(arr). Object.is로 bail, UI 업데이트 안 됨.
  • [bugs/setstate-stale-read] [HIGH] — async 콜백/배치 핸들러/loop 안에서 setX(x + 1) 같은 <expr involving x>. updater form (setX(c => c + 1)) 사용.
  • [bugs/derived-state-in-state] [MED] — props로 초기화한 useState가 prop 변경 시 미동기화 (useEffect 동기화/key reset 없음).
  • [bugs/setstate-in-render] [CRITICAL] — render body에서 무조건 setX(...). 무한 렌더.

Read the full file on GitHub · 84 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 · 84 lines · 57 tokens per session scan A d30992fb9075

Subscribe to this mod's changes

reviewer-bugs is an agent published in the GitHub repository huurray/fe-review-agents (5 stars, last pushed 4mo ago), licensed MIT. It adds 57 tokens to every session and 1,887 once invoked, about $0.0003 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

frontend-ui-component-agent

/ui-component-agent or @ui-component-agent.

girijashankarj/cursor-handbook · 0 tokens

ui-developer

Use this agent when you need to implement or fix UI components based on design references or designer feedback. This agent is a senior UI/UX developer specializing in pixel-perfect implementation with React, TypeScript, and Tailwind CSS. Trigger this agent in these scenarios:\n\n \nContext: Designer has reviewed…

MadAppGang/claude-code · 338 tokens

frontend-lead

Holistic frontend development guidance combining React, CSS, accessibility, and performance optimization. Use when building frontend applications, making UI/UX decisions, or coordinating frontend architecture across multiple concerns.

armanzeroeight/fastagent-plugins · 40 tokens

react-code-reviewer

Use this agent when changes to a React/TypeScript app need review for quality, maintainability, and adherence to best practices.

noahlz/claude-plugins · 31 tokens

react-purist

The high priest of the Immutable State, enforcer of component purity, hook discipline, and the sacred three-tier UI architecture. Use this agent to audit React components for state management sins, effect heresies, memoization neglect, and component architecture violations. Triggers on "react review", "component…

btachinardi/church · 88 tokens

ui-motion-reviewer

Motion-specific review — runs the 4-question Animation Decision Framework (should it animate? purpose? easing? duration?), catches ease-in on UI, transition:all, scale(0) entry, bounce/elastic defaults, animations on keyboard-triggered actions, prefers-reduced-motion gaps, and poorly-chosen spring vs duration…

RaNDoM6913/claude-code-superkit · 189 tokens