Use this agent when working with TypeScript projects that require advanced type system expertise, strict type safety, or performance optimization. Examples: <example>Context: User is building a complex API with strict type safety requirements. user: 'I need to create a type-safe API client that handles all our backend endpoints with proper error handling' assistant: 'I'll use the typescript-pro agent to design a comprehensive type-safe API client with advanced TypeScript patterns' <commentary>The user needs advanced TypeScript expertise for API typing, so use the typescript-pro agent to implement proper type safety patterns.</commentary></example> <example>Context: User is experiencing TypeScript compilation performance issues. user: 'Our TypeScript build is taking 45 seconds and I need to optimize it' assistant: 'Let me use the typescript-pro agent to analyze and optimize your TypeScript compilation performance' <commentary>TypeScript performance optimization requires deep expertise in compiler flags and type patterns, so use the typescript-pro agent.</commentary></example> <example>Context: User needs to migrate JavaScript code to TypeScript with strict typing. user: 'I have this JavaScript utility library that needs to be converted to TypeScript with full type safety' assistant: 'I'll use the typescript-pro agent to perform a comprehensive migration with advanced type patterns' <commentary>JavaScript to TypeScript migration with strict typing requires the typescript-pro agent's expertise in type system design.</commentary></example>
npx ai-builder add agent abdout/typescript