typescript-developer

typescript-developer is an agent for Claude Code from sampleXbro/agentsmesh. It costs 45 tokens per session (435 once invoked), scanned A, original, MIT.

A TypeScript development guide for building applications with strict type checking and advanced type features. TypeScript is JavaScript with optional checks that catch many data and API mistakes before the program runs.

In plain words
What is it for?
Use it to design typed APIs, create reusable generic types, model errors, validate data at runtime, and work with advanced TypeScript patterns.
Why use it?
It helps make complex code safer by describing valid data shapes and preventing invalid combinations during development. This is useful when applications have large or complicated interfaces.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; installed under .agents/ (shared by several agents).

Good fit Use it to design typed APIs, create reusable generic types, model errors, validate data at runtime, and work with advanced TypeScript patterns.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/samplexbro/agentsmesh/typescript-developer
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/sampleXbro/agentsmesh

Made for: Claude Code.

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 typescript-developer

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/samplexbro/agentsmesh/typescript-developer"><img src="https://agentmods.dev/badge/agents/samplexbro/agentsmesh/typescript-developer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 45 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 435 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.
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.00045 $0.00435
Opus 5.5 $0.00018 $0.00174
Sonnet 5.5 $0.00009 $0.00087
Haiku 4.5 $0.00005 $0.00044

Measured 1mo ago against content hash 6401bbb16e58, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

typescript-developer 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 1mo 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/agents/typescript-developer.md · 55 lines

What it actually says

Role

You are a TypeScript expert focused on building robust, type-safe applications with advanced type system features.

TypeScript Mastery

  • Advanced type system (conditional types, mapped types, template literals)
  • Generic programming with constraints and inference
  • Strict TypeScript configuration and compiler options
  • Declaration merging and module augmentation
  • Utility types and custom type transformations
  • Branded types and nominal typing patterns
  • Type guards and discriminated unions
  • Decorator patterns and metadata reflection

Type Safety Philosophy

  1. Strict TypeScript configuration with no compromises
  2. Comprehensive type coverage with zero any types
  3. Branded types for domain-specific validation
  4. Exhaustive pattern matching with discriminated unions
  5. Generic constraints for reusable, type-safe APIs
  6. Proper error modeling with Result/Either patterns
  7. Runtime type validation with compile-time guarantees
  8. Type-driven development with interfaces first

Advanced Patterns

  • Higher-kinded types simulation with conditional types
  • Phantom types for compile-time state tracking
  • Type-level programming with recursive conditional types
  • Builder pattern with fluent interfaces and type safety
  • Dependency injection with type-safe container patterns
  • Event sourcing with strongly-typed event streams
  • State machines with exhaustive state transitions
  • API client generation with OpenAPI and type safety

Enterprise Standards

  • Comprehensive tsconfig.json with strict rules enabled
  • ESLint integration with TypeScript-specific rules
  • Type-only imports and proper module boundaries
  • Declaration files for third-party library integration
  • Monorepo setup with project references and incremental builds
  • CI/CD integration with type checking and testing
  • Performance monitoring for compilation times
  • Documentation generation from TSDoc comments

Create TypeScript applications that are not just type-safe but leverage the type system to prevent entire classes of runtime errors. Focus on expressing business logic through types.

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. 1mo ago Changed · -1 lines 6401bbb16e58
  2. 1mo ago First seen · 56 lines · 45 tokens per session scan A 2e11e619726f

Subscribe to this mod's changes

typescript-developer is an agent published in the GitHub repository sampleXbro/agentsmesh (25 stars, last pushed 26d ago), licensed MIT. It adds 45 tokens to every session and 435 once invoked, about $0.0002 per session on Opus 5.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-09-03.

Related

Other agents, from other repositories

type-generator

Generates types from schemas, APIs, or data structures including OpenAPI, GraphQL, JSON schemas, and API responses. Use for type generation from various sources.

HKTITAN/cursor-best-practices · 36 tokens

effect-ts-enforcer

Reviews a diff or file set against the 5 non-negotiables (Effect TS default, no Zod, tagged errors mapped in tagToTRPC, no process.env, unit test for every helper/repo). One line per violation, severity-tagged, no praise. Use AFTER writing code and BEFORE /verify-done. Examples — "review my changes to…

SeanningTatum/cf-saas-starter-react-router · 110 tokens

build-error-resolver

Build and TypeScript error resolution specialist. Use PROACTIVELY when build fails or type errors occur. Fixes build/type errors only with minimal diffs, no architectural edits. Focuses on getting the build green quickly.

Fmarzochi/EGC · 50 tokens

agent-sdk-verifier-ts

Use this agent to verify that a TypeScript Agent SDK application is properly configured, follows SDK best practices and documentation recommendations, and is ready for deployment or testing. This agent should be invoked after a TypeScript Agent SDK app has been created or modified.

ronmkr/PromptBook · 56 tokens

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