ts-code-reviewer

ts-code-reviewer is a skill for Claude Code, Codex from TypeFox/agent-skills. It costs 82 tokens per session (1,627 once invoked), scanned A, original, MIT.

A review process for TypeScript and JavaScript code that produces an actionable `REVIEW.md` report using a consistent comment format.

In plain words
What is it for?
Use it for TypeScript or JavaScript files, code changes, pull requests, and reviewable diffs.
Why use it?
It helps find correctness, type, security, and performance problems before code is accepted.

Skill for Claude CodeCodex

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 skills/typefox/agent-skills/ts-code-reviewer
Any agent
npx skills add TypeFox/agent-skills --skill ts-code-reviewer
Clone the repo
git clone --depth 1 https://github.com/TypeFox/agent-skills

Made for: Claude Code, Codex.

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/typefox/agent-skills/ts-code-reviewer.svg)](https://agentmods.dev/skills/typefox/agent-skills/ts-code-reviewer)
Your own site
<a href="https://agentmods.dev/skills/typefox/agent-skills/ts-code-reviewer"><img src="https://agentmods.dev/badge/skills/typefox/agent-skills/ts-code-reviewer.svg" alt="Measured on agentmods" height="20"></a>
Per session 82 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,627 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.00082 $0.01627
Opus 5 $0.00041 $0.00813
Sonnet 5 $0.00016 $0.00325
Haiku 4.5 $0.00008 $0.00163

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

Security

Grade A, and why

ts-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 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.

skills/ts-code-reviewer/SKILL.md · 153 lines

How it starts

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

TypeScript Code Review

Produce a thorough, actionable code review of TypeScript/JavaScript code at the level of a principal engineer. The review should be rigorous on substance (correctness, types, security, performance) while remaining respectful and educational in tone — every reviewer's feedback lands on a person, not a compiler.

Workflow

Follow these steps in order:

  1. Gather the code. Identify what is being reviewed — a file, a diff, a PR, pasted snippets. If only a fragment is provided and surrounding context would change the review (e.g. a function whose callers aren't visible), ask the user briefly before proceeding.

  2. Confirm the output location. Ask the user where to write the review file. Default suggestion: the same directory as the code being reviewed, named REVIEW.md. Do not write the file until the location is confirmed. A short question like "I'll write the review to <path>/REVIEW.md — does that work, or would you prefer somewhere else?" is enough.

  3. Analyze. Walk the code against the dimensions in the Analysis framework below. Do not include this analysis in the output — it is internal scaffolding to form the review.

  4. Write the review to the confirmed path using the structure in Output format. All feedback items must use Conventional Comments notation (see conventional-comments.md).

  5. Surface the file to the user with a short summary of the verdict and the top 1–3 priorities. Do not restate the whole review in chat — the file is the deliverable.

Review philosophy

These principles shape how feedback is written. They matter because a review that is technically correct but tonally off will be ignored or resented, and a review that is gentle but vague will not improve the code.

  • Assume good intent. The author made reasonable choices given context you may not have. Seek to understand before critiquing.
  • Be specific and actionable. Vague feedback wastes everyone's time. Every issue gets a clear path to resolution — usually a concrete code suggestion.
  • Balance criticism with praise. Acknowledge what is done well. Good review is mentorship, not gatekeeping. Include at least one praise: when the code earns it.
  • Prioritize ruthlessly. Not everything matters equally. Distinguish blocking issues from polish.
  • Teach, don't just correct. Explain the why so the author learns the principle, not just the fix.
  • Prefer questions over accusations when uncertain. If you don't know whether something is a bug or intentional, use question: rather than issue:.

Read the full file on GitHub · 153 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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 · 153 lines · 82 tokens per session scan A 30012c10eb19

Subscribe to this mod's changes

ts-code-reviewer is a skill published in the GitHub repository TypeFox/agent-skills (5 stars, last pushed 5d ago), licensed MIT. It adds 82 tokens to every session and 1,627 once invoked, about $0.0004 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 skills, from other repositories

integrated-browser

Use this when working on the VS Code integrated browser ("browserView") to understand its architecture and mental model. Covers the embedded Chromium browser, its editor tab, navigation, overlay/layout, sessions, and agent browser tools under src/vs/platform/browserView and src/vs/workbench/contrib/browserView.

microsoft/vscode · 68 tokens

agent-host-e2e-tests

Use when writing, recording, updating, validating, or troubleshooting the agent host end-to-end tests under src/vs/platform/agentHost/test/node/e2e (black-box tests that drive the whole agent host over the AHP protocol, using a CapiReplayProxy record/replay system for Claude/Copilot/Codex). Covers adding a…

microsoft/vscode · 111 tokens

lint-js

Lint JS/TS code only. Use before opening a PR when only JavaScript or TypeScript files were changed (no Rust).

denoland/deno · 29 tokens

schema-exploration

Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.

langchain-ai/deepagents · 57 tokens

nemoclaw-contributor-implement-issue

Implement an accepted NemoClaw GitHub issue in the current checkout. Use when a user asks to pick up an issue for implementation, implement or fix a named issue, or add the issue's tests. Confirm accepted scope, deliver the smallest independently valuable capability slice, and record validation and remaining gates…

NVIDIA/NemoClaw · 134 tokens

analyze-market

Perform a market analysis for a product category or segment. Trigger on: market analysis, market size, TAM SAM SOM, market opportunity, industry analysis.

langchain-ai/deepagents · 34 tokens