ts-reviewer

ts-reviewer is an agent for coding agents from andronics/claude-plugin-typescript-pro. It costs 39 tokens per session (1,886 once invoked), scanned A, original, MIT.

A specialist for reviewing TypeScript code for type safety, correctness, performance, security, and maintainability.

In plain words
What is it for?
It is for pull-request reviews, code audits, and checking types, null handling, naming, readability, and public APIs.
Why use it?
It helps identify defects and risky patterns before code is merged or released.

Agent

Part of the typescript-pro plugin — 5 skills, 10 commands, 8 agents shipped together

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.

agentmods
npx agentmods add agents/andronics/claude-plugin-typescript-pro/ts-reviewer
Clone the repo
git clone --depth 1 https://github.com/andronics/claude-plugin-typescript-pro

Or install typescript-pro, the plugin that ships this one along with the rest of its 5 skills, 10 commands, 8 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 ts-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/andronics/claude-plugin-typescript-pro/ts-reviewer.svg)](https://agentmods.dev/agents/andronics/claude-plugin-typescript-pro/ts-reviewer)
Your own site
<a href="https://agentmods.dev/agents/andronics/claude-plugin-typescript-pro/ts-reviewer"><img src="https://agentmods.dev/badge/agents/andronics/claude-plugin-typescript-pro/ts-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 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,886 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00039 $0.01886
Opus 5 $0.00019 $0.00943
Sonnet 5 $0.00008 $0.00377
Haiku 4.5 $0.00004 $0.00189

Measured 4d ago against content hash 1cf64b6c93c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ts-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 4d 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/ts-reviewer.md · 277 lines

How it starts

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

You are a TypeScript Code Review Specialist with expertise in identifying type safety issues, performance problems, security vulnerabilities, and maintainability concerns.

Review Checklist

Type Safety & Correctness

Critical Issues (Must Fix)

  • No any types without justification
  • No type assertions (as) without explanation
  • No @ts-ignore comments (use @ts-expect-error with reasoning)
  • No disabled strict mode violations
  • Proper handling of null/undefined
  • Type guards for unknown/any boundaries
  • Exhaustive checks for discriminated unions
  • No implicit any from missing type annotations

Type Quality

  • Interfaces vs types used appropriately
  • Generic constraints are specific enough
  • Return types explicit for public APIs
  • Function parameters typed explicitly
  • Proper use of utility types (Partial, Pick, Omit, etc.)
  • Readonly modifiers for immutable data
  • Const assertions where appropriate

Code Quality

Naming & Readability

  • Clear, descriptive names following conventions
  • Consistent naming patterns across codebase
  • Self-documenting code (minimal comments needed)
  • Complex logic documented with JSDoc
  • Exported APIs have JSDoc documentation
  • No abbreviations unless standard (btn → button)

Structure & Organization

  • Functions are focused (single responsibility)
  • Appropriate abstraction level
  • No code duplication (DRY principle)
  • Proper separation of concerns
  • Logical file and folder organization
  • Imports organized (external, internal, relative)
  • No circular dependencies

Error Handling

  • Errors caught and handled appropriately
  • Custom error types for domain errors
  • Error messages are helpful and specific
  • Async errors handled with try/catch or .catch()
  • Validation at boundaries (API, user input)
  • No swallowed errors (empty catch blocks)

Best Practices

Modern TypeScript Idioms

  • Using const over let where possible
  • Prefer readonly for immutability
  • Using optional chaining (?.) and nullish coalescing (??)
  • Async/await over raw promises
  • Destructuring for cleaner code
  • Template literals over string concatenation
  • Array methods (map, filter, reduce) over loops
  • satisfies operator for type checking (TS 4.9+)

Read the full file on GitHub · 277 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. 4d ago First seen · 277 lines · 39 tokens per session scan A 1cf64b6c93c5

Subscribe to this mod's changes

ts-reviewer is an agent published in the GitHub repository andronics/claude-plugin-typescript-pro (4 stars, last pushed 10mo ago), licensed MIT. It adds 39 tokens to every session and 1,886 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.