language-typescript
CommunityShip safer TypeScript code, fast.
System Documentation
What problem does it solve?
Provides opinionated, production-focused guidance to eliminate TypeScript and JavaScript type-driven bugs, unsafe patterns, and slow build/correctness workflows so teams ship predictable, maintainable code. It codifies conventions and checks that catch mistakes reviewers often miss: unsafe casts, runtime-enum surprises, mixed module systems, and missing runtime validation.
Core Features & Use Cases
- Type correctness & refactor guidance: Diagnose type errors, design generics, choose type vs interface, and restructure code for compiler performance.
- Opinionated conventions: Enforces no enums, no default exports, avoid
any/unsafeascasts, prefer Result-style errors-as-values, and kebab-case files. - Tooling & validation: Recommends strict tsconfig flags, env validation with @t3-oss/env-core + Zod, using modern features (
as const,satisfies,using), and provides a ts-audit script for linting and checks. - Use cases: Refactoring a legacy repo to strict flags, designing robust generics, fixing async patterns and resource cleanup, or auditing CI for TypeScript regressions.
Quick Start
Ask the skill to review a TypeScript file or pull request for type-safety, tsconfig and lint rule violations, and produce a prioritized refactor plan and code patches.
Dependency Matrix
Required Modules
Components
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: language-typescript Download link: https://github.com/rbaumier/skills/archive/main.zip#language-typescript Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.