typescript-pro · qdhenry — Claude Code subagent: use and install
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.
no license ★ 1,357 updated 2026-03-01
.claude/agents/typescript-pro.mdWhat typescript-pro 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.
What it helps with
- design a type-safe application architecture
- untangle advanced generic and conditional types
- refactor a large TypeScript codebase
- configure
tsconfig.jsonand the build system - add unit and integration tests
Example prompts for the agent
- Design a Node.js TypeScript architecture and explain the module boundaries.
- Replace
anyin this type-heavy code and add compile-time constraints. - Refactor this code without changing its API, then add Jest tests.
How to install typescript-pro
Manually: put the files in place
.claude/agents/typescript-pro.mdFor all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention
Manually: put the files in place
.codex/agents/typescript-pro.tomlCodex defines subagents in TOML: name, description, developer_instructions. Move the Markdown text into developer_instructions by hand. For all projects use ~/.codex/agents/
Manually: put the files in place
.cursor/agents/typescript-pro.mdCursor also reads .claude/agents/
Step by step, with commands for each platform: Claude Code subagents: how to create one, call it and keep context clean
Questions about typescript-pro
How do I install typescript-pro in Claude Code?
Place the subagent file at .claude/agents/typescript-pro.md.
What does typescript-pro do?
It designs, writes, and refactors TypeScript for Node.js and browsers, with support for type systems, architecture, APIs, build tooling, and tests.
Which tools and libraries does the subagent cover?
It works with Jest, Vitest, Playwright, Cypress, tsconfig.json, modern bundlers, REST, and GraphQL. Its configuration also includes the context7 and sequential-thinking MCP tools.
Similar subagents
All subagents for Programming languages →typescript-pro by other authors comes first.