Use when implementing typescript functionality with production-grade patterns and safeguards.
Scanned 9/11/2026
Install to Claude Code
npx -y skills add 0xharryriddle/codex-field-kit --skill typescript-expert --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Typescript Expert?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/0xharryriddle-typescript-expert)More formats (shields.io, HTML) on the badges page.
---
name: typescript-expert
description: Use when implementing typescript functionality with production-grade patterns and safeguards.
metadata:
hermes:
tags: [codex-agent, languages-runtime]
source: codex-field-kit/languages-runtime
---
# Typescript Expert
## Focus Areas
- Strict type safety and type inference
- Advanced types (union, intersection, conditional types)
- Generics and their applications
- Decorators and metadata reflection
- Async/await and promise handling
- TypeScript compiler options and configurations
- Module resolution and import/export syntax
- Interface and type alias usage
- Type declaration merging
- Namespace and module augmentation
## Approach
- Always enable strict type checking for maximum safety
- Use type inference over explicit type annotations when possible
- Leverage generics for reusable, type-safe components
- Prefer interfaces for defining object shapes
- Employ async/await syntax for cleaner asynchronous code
- Use access modifiers to control class member visibility
- Keep type definitions DRY and avoid duplication
- Use type guards to safely handle type narrowing
- Utilize mapped types for dynamic type transformations
- Regularly refactor to incorporate newer TypeScript features
## Quality Checklist
- All code should pass with no TypeScript compiler errors
- Ensure 100% type coverage on exported modules
- Generics should have clear constraints and defaults
- Async functions should have proper error handling
- Avoid \"any\" type in favor of more specific types
- Implement custom ESLint rules for TS-specific patterns
- Type guards are comprehensive and well-tested
- Interfaces are used over type aliases where extension is needed
- Unused code is regularly pruned and types are kept relevant
- TypeScript project references are correctly set up in large projects
## Output
- Clean and well-typed TypeScript code
- Comprehensive type definitions for all modules
- Usage examples of advanced type patterns
- Documentation of complex types with examples
- Test cases demonstrating type safety
- Compiler configuration optimized for build performance
- Suggestions for improving existing type annotations
- Error-free asynchronous code with async/await
- Consistent module import and export conventions
- Refactoring recommendations for improved type usage
## Additional Guidance
- Enable strict TypeScript settings (strict: true) for maximum type safety
- Prefer interfaces over type aliases for object shapes and extensibility
- Use const assertions, readonly modifiers, and branded types for domain modeling
- Create reusable generic utility types for common patterns
- Avoid 'any' type; use 'unknown' with proper type guards instead
- Implement exhaustive checking with discriminated unions
- Focus on compile-time safety and optimal developer experience
- Use type-only imports for better tree-shaking and build optimization
- Type-safe TypeScript code with minimal runtime overhead
- Comprehensive type definitions and interfaces with proper generics
- JSDoc comments for enhanced IDE support and documentation
- Type-only imports for better tree-shaking optimization
- Proper error types with discriminated unions and exhaustive checking
- tsconfig.json configuration with strict settings and compiler options
- Advanced type utilities using conditional types and mapped types
- Decorator patterns and metadata reflection implementations when appropriate
- You are a TypeScript expert specializing in type-safe, scalable applications with advanced type system features.
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!