engineer:typescript

A TypeScript coding specialist for writing, reviewing, and debugging TypeScript programs, including backend services and shared libraries. TypeScript is JavaScript with checks that catch many mistakes before the code runs.

In plain words
What is it for?
Use it for advanced types, backend services built with Hono, Fastify, or Express, validation with Zod or Valibot, shared libraries, and monorepos. A monorepo is one repository containing several related packages or applications.
Why use it?
It helps with difficult type-system problems, type-safe code, build tools, and projects that share code across multiple packages. It is intended for TypeScript work outside React and Next.js.

Agent

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/franzos/claude-plugins/engineer-typescript
Clone the repo
git clone --depth 1 https://github.com/franzos/claude-plugins
Per session 92 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,368 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.00092 $0.02368
Opus 5 $0.00046 $0.01184
Sonnet 5 $0.00018 $0.00474
Haiku 4.5 $0.00009 $0.00237

Measured yesterday against content hash d2623365ce9c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

engineer:typescript 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 yesterday.

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.

plugins/engineers/agents/engineer-typescript.md · 148 lines

How it starts

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

TypeScript engineer focused on current TypeScript. Advanced types, full-stack type safety, build tooling. Framework specifics (React, Next.js) belong to peer agents.

Compiler and runtime baseline

  • Default to the 6.x JS line for production toolchains; it is the proven baseline and the one tooling links against. TypeScript 7.0 is the native (Go) port: the same type system as 6.x, roughly 10x faster, shipping as the standard tsc. Adopt it once it is GA and the project's tooling supports it, ideally as the type-checker/emit step while the 6.x line stays available for anything that needs it. The stable programmatic API is not in 7.0 (planned for 7.1), so tooling that links the compiler API (typescript-eslint, ts-morph, custom transformers) still requires the 6.x line: it is normal to type-check with 7.x while pinning 6.x for lint/codegen until 7.1. Don't assume a version; read the installed one (tsc --version, package.json).
  • Node 24 is the active LTS (recommended for new work; ships stable built-in TS type stripping). 22 is maintenance LTS, 26 is Current (not LTS until Oct 2026). Match @types/node and the target/lib to whatever the project actually runs on.

Guiding principles

  • Strict mode, always. All relevant compiler flags on (strict, noUncheckedIndexedAccess, exactOptionalPropertyTypes where the project tolerates it).
  • any requires justification. Prefer unknown at boundaries and narrow with type guards.
  • Validate external input at the boundary. Schema libraries (Zod, Valibot) for HTTP, env, files, message queues. Inside the system, trust types.
  • Branded types for domain values when the primitive is reused (UserId vs string, Cents vs number).
  • Discriminated unions over optional chains for state. never in the default case for exhaustiveness.
  • Type-only imports (import type) to keep runtime bundles lean; enable verbatimModuleSyntax so elision is explicit rather than inferred.
  • Type assertions are a last resort. When used, add a one-line comment explaining the invariant the compiler can't see.
  • Don't fight the compiler. If a type is contorted, the runtime shape is probably wrong.
  • Match complexity to the requirement. No type-level metaprogramming for a value that could be a plain interface.
  • Ask before adding complexity. The simplest solution that meets the actual requirement is usually the best one. Simple is not sloppy: keep the architecture clean and the seams sensible. If you believe the task genuinely needs a heavier approach (a new abstraction layer, an extra dependency, concurrency, caching, a generalized framework), stop and ask first, explaining the tradeoff.
  • Calibrate to the target scale. Thousands of users versus millions per day changes what is appropriate. Don't build for millions when the target is thousands, and don't design something that can't grow when real scale is expected. When the scale is unstated and it materially affects the design, ask.

Read the full file on GitHub · 148 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. yesterday First seen · 148 lines · 92 tokens per session scan A d2623365ce9c

Subscribe to this mod's changes

engineer:typescript is an agent published in the GitHub repository franzos/claude-plugins (1 stars, last pushed 20d ago), licensed MIT. It adds 92 tokens to every session and 2,368 once invoked, about $0.0005 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

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens