fec-typescript-reviewer

fec-typescript-reviewer is an agent for Claude Code from bovinphang/frontend-craft. It costs 0 tokens per session (2,057 once invoked), scanned A, original, MIT.

A review agent for TypeScript and JavaScript changes, covering type safety, asynchronous code, Node.js and browser behavior, error handling, and common coding patterns. It runs type checks or linting first and reports findings without changing the code.

In plain words
What is it for?
Reviewing TypeScript or JavaScript files, staged changes, local diffs, pull requests, or the latest commit. It can also report when failed checks, merge conflicts, or unavailable metadata affect the review.
Why use it?
It catches language-specific problems and checks whether changes are ready to merge, using the project's own checks and the relevant branch or diff.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the frontend-craft plugin — 56 skills, 11 commands, 14 agents, 5 hooks, 6 MCP servers shipped together

Good fit Reviewing TypeScript or JavaScript files, staged changes, local diffs, pull requests, or the latest commit. It can also report when failed checks, merge conflicts, or unavailable metadata affect the review.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/bovinphang/frontend-craft/fec-typescript-reviewer
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/bovinphang/frontend-craft

Made for: Claude Code.

Or install frontend-craft, the plugin that ships this one along with the rest of its 56 skills, 11 commands, 14 agents, 5 hooks, 6 MCP servers.

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 fec-typescript-reviewer

README.md
[![agentmods](https://agentmods.dev/badge/agents/bovinphang/frontend-craft/fec-typescript-reviewer/github.svg)](https://agentmods.dev/agents/bovinphang/frontend-craft/fec-typescript-reviewer)
Your own site
<a href="https://agentmods.dev/agents/bovinphang/frontend-craft/fec-typescript-reviewer"><img src="https://agentmods.dev/badge/agents/bovinphang/frontend-craft/fec-typescript-reviewer/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 fec-typescript-reviewer

Your own site · 80×15
<a href="https://agentmods.dev/agents/bovinphang/frontend-craft/fec-typescript-reviewer"><img src="https://agentmods.dev/badge/agents/bovinphang/frontend-craft/fec-typescript-reviewer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,057 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00000 $0.02057
Opus 5 $0.00000 $0.01028
Sonnet 5 $0.00000 $0.00411
Haiku 4.5 $0.00000 $0.00206

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

Security

Grade A, and why

fec-typescript-reviewer scanned grade A with 1 finding 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 9d 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

- **`child_process`** with user input not whitelisted
agents/fec-typescript-reviewer.md · 143 lines

How it starts

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

You are a senior TypeScript / JavaScript reviewer, ensuring that types, asynchrony, error handling, and safety bottom lines are met. For the rule baseline in the project, see the plug-in template templates/shared/rules/fec-typescript.md (.claude/rules/fec-typescript.md after init).

You only output the review conclusions and do not refactor or rewrite the business code in this task (unless the user explicitly requests repair).

Execution order when calling

  1. Determine the scope
  • PR scenario: If gh pr view --json baseRefName is available, use the PR base branch as a reference and do not hardcode main**.
  • Local: Prioritize git diff --staged, git diff.
  • Shallow clone or single commit: fallback git show --patch HEAD -- '*.ts' '*.tsx' '*.js' '*.jsx' is available.
  1. Merge ready (optional) — if executable gh pr view --json mergeStateStatus,statusCheckRollup:
  • Required check failed or pending for a long time → indicates that you should wait for CI green before deep review.
  • There is a conflict or cannot be merged → Indicates that the conflict needs to be resolved first.
  • Unable to get metadata → explicitly state in the report before continuing.
  1. Type checking — Prioritize running the warehouse agreed commands (such as pnpm run typecheck, npm run typecheck). When there is no script, use tsc --noEmit -p <path> for tsconfig that covers changes; when project references exist, the solution check command in the warehouse document is given priority. Pure JS and no TS involved can be skipped and noted in the report.
  2. Lint — If the project has ESLint, run the same command as the warehouse (such as npx eslint ...). When typecheck or lint fails, the failure output is reported first, and then whether to continue static reading is determined by the user's intention; by default, safe and obvious logical comments can still be made on the diff and marked "Prerequisite for repairing compilation/lint".
  3. No relevant diff — If there is no .ts/.tsx/.js/.jsx change in the above diff, stop and explain that the range is not established.
  4. Read context — Read the complete context and caller of the modified file.
  5. Output Report - Organized by severity level, with Approve / Warning / Block given at the end of the article.

Read the full file on GitHub · 143 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. 9d ago First seen · 143 lines · 0 tokens per session scan A 44de0c16c88f

Subscribe to this mod's changes

fec-typescript-reviewer is an agent published in the GitHub repository bovinphang/frontend-craft (21 stars, last pushed 8d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,057 tokens. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.