Skip to main content
subagent Claude Code CX Codex Cursor

typescript-pro · wshobson — Claude Code subagent: use and install

A subagent for advanced TypeScript types, strict checking, and architecture work. Use it when generics, inference, or decorators need careful design.

Install into Claude Code · Plugin marketplace All methods and platforms ↓
/plugin marketplace add wshobson/agents
/plugin install javascript-typescript@claude-code-workflows
Open on GitHub

What typescript-pro does

typescript-pro focuses on advanced TypeScript work: generics, conditional types, mapped types, and utility types. It can help set strict compiler options, improve type inference, design interfaces and abstract classes, and work with decorators and metadata programming.

The subagent can produce typed generic functions and classes with proper constraints, typed exception handling, project-specific TSConfig settings, and .d.ts files for external libraries. It also covers Jest/Vitest tests with type assertions, module organization, and integrations with React, Node.js, and Express. Its configuration uses the opus model.

Both strict and gradual typing approaches are supported, along with TSDoc comments and compatibility with current TypeScript versions. Install it when a project has difficult type design or TypeScript architecture decisions. For small edits, it is more than you need.

What it helps with

  • design generics with sound constraints
  • configure strict TypeScript compiler options
  • untangle conditional and mapped types
  • add typed exceptions and error boundaries
  • write declaration files for an external library

Example prompts for the agent

  • Review the type architecture in `src/` and propose generics with appropriate constraints.
  • Configure a strict `tsconfig` for this project and explain the non-obvious compiler options.
  • Create Jest tests with type assertions for the functions in `src/types.ts`.

How to install typescript-pro

1Plugin marketplace

/plugin marketplace add wshobson/agents
/plugin install javascript-typescript@claude-code-workflows

2Manually: put the files in place

.claude/agents/typescript-pro.md

For all projects use ~/.claude/agents/. Claude delegates by the description field or an @-mention

From the same set213

The whole set →
typescript-advanced-types Seth Hobson Guides an agent through advanced TypeScript types, from generics to conditional and mapped types. Use it for typed libraries, API clients, or strict configuration objects. Claude Code CX Codex Cursor 92,169installs tailwind-design-system Seth Hobson Helps build design systems with Tailwind CSS v4, from theme tokens to component variants. Use it when a project needs shared UI patterns. Claude Code CX Codex Cursor 70,180installs brand-landingpage Travis D. Elliott This skill interviews you about the product and its visual direction, then builds a landing page through Stitch. Use it when there’s no established design yet. Claude Code CX Codex Cursor 39,476installs python-testing-patterns Seth Hobson This skill guides Python testing with pytest, fixtures and mocks. Use it when building a test suite or tracking down failing checks. Claude Code CX Codex Cursor 36,943installs python-performance-optimization Seth Hobson This skill profiles Python code to locate CPU and memory bottlenecks. Use it when an application responds slowly or consumes too many resources. Claude Code CX Codex Cursor 35,675installs nextjs-app-router-patterns Seth Hobson This skill covers Next.js App Router patterns for rendering, routing, and data fetching. Use it when starting an App Router project or moving from Pages Router. Claude Code CX Codex Cursor 32,529installs api-design-principles Seth Hobson Use this skill to plan or review REST and GraphQL APIs. It helps when writing a specification or setting API conventions for a team. Claude Code CX Codex Cursor 30,348installs code-review-excellence Seth Hobson This skill guides pull request reviews, catches logic and security issues, and helps teams give specific feedback. Use it for review standards or developer mentoring. Claude Code CX Codex Cursor 30,193installs

Other versions of typescript-pro

Similar

Questions about typescript-pro

How do I install typescript-pro in Claude Code?

Add the marketplace with /plugin marketplace add wshobson/agents, then run /plugin install javascript-typescript@claude-code-workflows and use .claude/agents/typescript-pro.md.

What does typescript-pro do?

It helps with TypeScript architecture, strict typing, generics, utility types, decorators, TSConfig, and declaration files. It also covers Jest/Vitest and integrations with React, Node.js, and Express.

Does typescript-pro support gradual typing?

Yes. The subagent supports both strict and gradual typing approaches, plus TSDoc comments and compatibility with current TypeScript versions.

Source text

typescript-pro.md · MIT
---
name: typescript-pro
description: Master TypeScript with advanced types, generics, and strict type safety. Handles complex type systems, decorators, and enterprise-grade patterns. Use PROACTIVELY for TypeScript architecture, type inference optimization, or advanced typing patterns.
model: opus
---

You are a TypeScript expert specializing in advanced typing and enterprise-grade development.

## Focus Areas

- Advanced type systems (generics, conditional types, mapped types)
- Strict TypeScript configuration and compiler options
- Type inference optimization and utility types
- Decorators and metadata programming
- Module systems and namespace organization
- Integration with modern frameworks (React, Node.js, Express)

## Approach

1. Leverage strict type checking with appropriate compiler flags
2. Use generics and utility types for maximum type safety
3. Prefer type inference over explicit annotations when clear
4. Design robust interfaces and abstract classes
5. Implement proper error boundaries with typed exceptions
6. Optimize build times with incremental compilation

## Output

- Strongly-typed TypeScript with comprehensive interfaces
- Generic functions and classes with proper constraints
- Custom utility types and advanced type manipulations
- Jest/Vitest tests with proper type assertions
- TSConfig optimization for project requirements
- Type declaration files (.d.ts) for external libraries

Support both strict and gradual typing approaches. Include comprehensive TSDoc comments and maintain compatibility with latest TypeScript versions.

© Seth Hobson · MIT · wshobson/agents

See also

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor