ts-review

ts-review is a skill for Claude Code, Codex from liuyanghejerry/Clausura. It costs 26 tokens per session (278 once invoked), scanned A, original, MIT.

A TypeScript code-review skill for projects that keep multiple packages in one repository. Such a repository is called a monorepo.

In plain words
What is it for?
Use it to review recent changes and report each finding with its file, line number, rule, and code evidence.
Why use it?
It identifies common security and code-quality problems, including unsafe browser output, SQL injection, exposed secrets, explicit any types, and debug logging.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review recent changes and report each finding with its file, line number, rule, and code evidence.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/liuyanghejerry/clausura/ts-review
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.

Any agent
npx skills add liuyanghejerry/Clausura --skill ts-review
Clone the repo
git clone --depth 1 https://github.com/liuyanghejerry/Clausura

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-review

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/liuyanghejerry/clausura/ts-review"><img src="https://agentmods.dev/badge/skills/liuyanghejerry/clausura/ts-review.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 278 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00026 $0.00278
Opus 5 $0.00013 $0.00139
Sonnet 5 $0.00005 $0.00056
Haiku 4.5 $0.00003 $0.00028

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

Security

Grade A, and why

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

eval/scenarios/web-monorepo/workspace/.clausura/skills/ts-review/SKILL.md · 34 lines

What it actually says

TypeScript monorepo 代码审查

先用 git_diff(参数 {"base": "HEAD~1"})查看本次变更。

规则

xss(error)

  • 用户可控内容未经转义注入 DOM:innerHTML 直接赋值、 dangerouslySetInnerHTML 使用不可信 HTML
  • rule_id: xss

sql-injection(error)

  • 字符串模板/拼接构造 SQL 查询
  • rule_id: sql-injection

hardcoded-secret(error)

  • 源码中硬编码的 API key、签名密钥
  • rule_id: hardcoded-secret

no-explicit-any(warning)

  • 显式 any 类型标注或断言(as any<any>、泛型默认 any 等)
  • rule_id: no-explicit-any

console-log(info)

  • 生产代码中的 console.log 调试输出
  • rule_id: console-log

每个 finding 附带 location(文件 + 行号)与证据(代码片段)。

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 · 34 lines · 26 tokens per session scan A 729892604c8a

Subscribe to this mod's changes

ts-review is a skill published in the GitHub repository liuyanghejerry/Clausura (203 stars, last pushed yesterday), licensed MIT. It adds 26 tokens to every session and 278 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

react-frontend

React, TypeScript, and Next.js patterns for frontend development. Use when building React components, managing state, fetching data, optimizing performance, or working with Next.js App Router. Covers React 18-19, hooks, Server Components, and type-safe patterns.

iliaal/whetstone · 57 tokens

shared-tooling-eslint-prettier

ESLint 9/10 flat config with defineConfig(), Prettier v3.0+ shared config, eslint-config-prettier integration, typescript-eslint v8+ projectService.

agents-inc/skills · 46 tokens

code-review-typescript

Deep TypeScript-specific code review covering type safety, ESM/CJS, async correctness, money precision, and domain modeling. Applied in addition to the generic code-review skill when TypeScript/JavaScript code is detected. Invoked when reviewing TS/JS PRs, TypeScript changes, or performing TypeScript-specific quality…

soulcodex/agentic · 71 tokens

ck-signatures

Extract all method/property signatures from C#, TypeScript, Kotlin, and Python files using live AST parsing. Use after ck find-files has identified the relevant folder, when evaluating multiple candidate files to avoid reading full file content.

Fredrik-C/ContextKing · 48 tokens

ia-nodejs-backend

Node.js backend patterns: layered architecture, TypeScript, validation, error handling, security, observability, logging, metrics, deployment. Use when building REST APIs, REST endpoints, middleware, Express/Fastify/Hono/NestJS/Koa servers, tRPC procedures, Bun servers, or server-side TypeScript.

iliaal/whetstone · 70 tokens

ia-react-frontend

React architecture patterns, TypeScript, Next.js, hooks, and testing. Use when working with React component structure, state management, Next.js routing, Vitest, React Testing Library, or reviewing React code. For visual design and aesthetic direction, use frontend-design instead.

iliaal/whetstone · 59 tokens