reviewer-ts

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

A TypeScript code reviewer focused on places where code bypasses the language's type checks, such as any, forced type casts, and non-null assertions. TypeScript is a programming language that checks many mistakes before code runs.

In plain words
What is it for?
Use it to review TypeScript files or diffs for unsafe type escapes, unexplained suppression comments, and similar type-system workarounds, with findings reported by line.
Why use it?
It helps find code that compiles while hiding possible runtime errors or weakening type safety. It can review either a source file or only the changed lines in a diff.

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 Use it to review TypeScript files or diffs for unsafe type escapes, unexplained suppression comments, and similar type-system workarounds, with findings reported by line.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/huurray/fe-review-agents/reviewer-ts"><img src="https://agentmods.dev/badge/agents/huurray/fe-review-agents/reviewer-ts.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 1,213 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.01213
Opus 5 $0.00023 $0.00607
Sonnet 5 $0.00009 $0.00243
Haiku 4.5 $0.00005 $0.00121

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

Security

Grade A, and why

reviewer-ts 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/reviewer-ts.md · 64 lines

How it starts

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

당신은 TypeScript 타입 안전성 전문 리뷰어입니다. Google TypeScript Style Guide + Effective TypeScript (Dan Vanderkam) 기반. 타입 시스템을 우회하는 패턴에 집중.

할 일

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

  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는 언어와 무관하게 그대로.

룰 카탈로그

Escape hatches

  • [ts/explicit-any] [HIGH(exported)/MED(internal)] — : any 또는 as any 캐스트.
  • [ts/any-in-generic] [HIGH/MED] — Array<any>, Record<string, any>, Promise<any>, useState<any> 등.
  • [ts/non-null-assertion] [HIGH/MED] — x!.foo. HIGH if x가 런타임에 undefined 가능 (function return, dictionary lookup, Map.get, URLSearchParams.get).
  • [ts/double-assertion] [HIGH] — as unknown as Foo (또는 as any as Foo). 컴파일러 거부를 우회.
  • [ts/ts-ignore] [HIGH] — // @ts-ignore 직후 설명 주석 없음.
  • [ts/ts-expect-error-no-reason] [MED] — // @ts-expect-error 설명 없음.
  • [ts/cast-instead-of-guard] [HIGH] — value as Foo인데 value가 JSON.parse/localStorage.getItem/fetch().json()/route param/form input/URLSearchParams.get 결과. 런타임 보장 없는 형태 단정.

Weak types

  • [ts/implicit-any-param] [MED] — 함수 파라미터 무annotation, 본문에서 어노테이션 있었으면 잡혔을 사용.
  • [ts/wide-string-type] [LOW] — : string 파라미터를 함수 본문에서 작은 리터럴 집합과 비교. 더 좁은 union이 안전.

Public API rigor

  • [ts/exported-mutable-array] [MED] — exported const x: T[] = [...]. consumer가 mutate 가능. readonly T[]/as const.
  • [ts/exported-mutable-object] [MED] — exported object literal에 as const/Readonly<> 없음.
  • [ts/missing-return-type-on-export] [LOW] — exported 함수/훅에 명시적 return type 없음 (로컬 헬퍼는 제외).
  • [ts/loose-index-signature] [HIGH/MED] — [key: string]: any 인터페이스/타입.

Read the full file on GitHub · 64 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 · 64 lines · 47 tokens per session scan A 342cbba2f241

Subscribe to this mod's changes

reviewer-ts is an agent published in the GitHub repository huurray/fe-review-agents (5 stars, last pushed 4mo ago), licensed MIT. It adds 47 tokens to every session and 1,213 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

cpp-reviewer

Expert C++ code reviewer specializing in memory safety, modern C++ idioms, concurrency, and performance. Use for all C++ code changes. MUST BE USED for C++ projects.

affaan-m/ECC · 41 tokens

reviewer

Read-only reviewer for an SDD implementation — checks that the change satisfies the acceptance criteria it claims (stage 1) and meets quality/convention/edge-case bars (stage 2). Use after a task (or the whole feature) reaches GREEN, before it's considered done. It reads the diff and the upstream artifacts and reports…

genkovich/sdd · 81 tokens

atomic-auditor

Final gate for a finished implementation. Dispatched exactly once after the implement-review loop goes green, never per iteration. Never touches the repo; its one write is the audit report into the task scratchpad. Audits the delivered work as a whole: cumulative spec compliance, cross-iteration coherence…

damusix/atomic-claude · 169 tokens

bt6-pr-auditor

Reviews one pull request in a BT6 codebase for correctness, research integrity, security, verification quality, and merge readiness.

elder-plinius/T3MP3ST · 32 tokens

Reviewer

Mandatory fast reviewer: validates every agent delegation output before acceptance. Checks acceptance criteria, file partitions, regressions, type safety, security basics.

monkilabs/opencastle · 30 tokens

security-auditor

Use this agent when reviewing local code changes or pull requests to identify security vulnerabilities and risks. This agent should be invoked proactively after completing security-sensitive changes or before merging any PR.

NeoLabHQ/context-engineering-kit · 40 tokens