# typescript-pro

The typescript-pro subagent designs and refactors TypeScript applications for Node.js and browsers. Use it for advanced types, architecture, testing, and large code changes.

- subagent · `type=agent` · Claude Code, Codex, Cursor · ★ 1357 repo stars
- Author: qdhenry
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/qdhenry/Claude-Command-Suite/tree/HEAD/.claude/agents/development/typescript-pro.md
- Updated: 2026-03-01
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/agents/qdhenry-typescript-pro

## What it does

typescript-pro reviews TypeScript projects, designs application structure, and writes or refactors code for Node.js and browser environments. It covers advanced generics, conditional and mapped types, asynchronous code, and REST or GraphQL APIs. Architectural choices are explained alongside the proposed changes.

The subagent weighs testability, readability, and consistency with the existing codebase. It can help configure `tsconfig.json`, bundlers, and `package.json`, then create unit, integration, or end-to-end tests with Jest, Vitest, Playwright, or Cypress. Its configuration includes the `context7` MCP tools for ecosystem documentation and `sequential-thinking` for difficult design decisions.

If those MCP tools are unavailable, the subagent cannot use them for documentation research or complex architecture work. The configured model is `sonnet`.

## Install

### Claude Code (native platform)

**Manually: put the files in place**
- File: `.claude/agents/typescript-pro.md` — For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

### Codex

**Manually: put the files in place**
- File: `.codex/agents/typescript-pro.toml` — Codex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/

### Cursor

**Manually: put the files in place**
- File: `.cursor/agents/typescript-pro.md` — Cursor also reads .claude/agents/

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/qdhenry/Claude-Command-Suite/tree/HEAD/.claude/agents/development/typescript-pro.md

## When to use it
- design a type-safe application architecture
- untangle advanced generic and conditional types
- refactor a large TypeScript codebase
- configure `tsconfig.json` and the build system
- add unit and integration tests

## Example prompts
- Design a Node.js TypeScript architecture and explain the module boundaries.
- Replace `any` in this type-heavy code and add compile-time constraints.
- Refactor this code without changing its API, then add Jest tests.

## Similar
- [typescript-mcp-server-generator](https://affpapa.org/en/nevibecode/skills/typescript-mcp-server-generator.md) — skill · 12050 installs
- [express-typescript](https://affpapa.org/en/nevibecode/skills/express-typescript.md) — skill · 1500 installs
- [koa-typescript](https://affpapa.org/en/nevibecode/skills/koa-typescript.md) — skill · 744 installs
- [typescript-expert](https://affpapa.org/en/nevibecode/skills/pcl-team-typescript-expert.md) — skill · 187 installs
- [typescript-node-wasp-drone](https://affpapa.org/en/nevibecode/agents/typescript-node-wasp-drone.md) — subagent · ★ 96 repo stars
- [writing-typescript](https://affpapa.org/en/nevibecode/skills/writing-typescript.md) — skill · 111 installs

## Other versions with the same name
- [typescript-pro · voltagent](https://affpapa.org/en/nevibecode/agents/voltagent-community-typescript-pro.md) — 9602 installs
- [typescript-pro · wshobson](https://affpapa.org/en/nevibecode/agents/typescript-pro.md) — 9602 installs
- [typescript-pro · voltagent](https://affpapa.org/en/nevibecode/agents/voltagent-typescript-pro.md) — ★ 6505 repo stars

From the same set: [qdhenry/claude-command-suite](https://affpapa.org/en/nevibecode/by/qdhenry/claude-command-suite.md) — 112 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
