This is a comprehensive TypeScript reference that covers the modern ecosystem: type system fundamentals, generics, mapped and conditional types, plus framework integration with React 19, NestJS 11, and LangChain.js. It's built around TypeScript 5.9+ with strict mode defaults and includes practical patterns for Zod validation, discriminated unions, and the satisfies operator. Use it when you're migrating JavaScript codebases, setting up type-safe toolchains with Vite 7 and pnpm, or need quick reference for advanced type patterns. The framework sections are especially useful if you're bouncing between React frontends and NestJS backends and want consistent typing patterns across both.

skills.sh installs
805
GitHub stars
31
last updated
Aug 21, 2026

Install

$ npx -y skills add spillwavesolutions/mastering-typescript-skill --skill mastering-typescript --agent claude-code

Installs into .claude/skills of the current project.

Files

Mastering Modern TypeScript

Build enterprise-grade, type-safe applications with TypeScript 5.9+.

Compatibility: TypeScript 5.9+, Node.js 22 LTS, Vite 7, NestJS 11, React 19

Quick Start

# Initialize TypeScript project with ESM
pnpm create vite@latest my-app --template vanilla-ts
cd my-app && pnpm install

# Configure strict TypeScript
cat > tsconfig.json << 'EOF'
{
  "compilerOptions": {
    "target": "ES2024",
    "module": "ESNext",
    "moduleResolution": "bundler",
    "strict": true,
    "noUncheckedIndexedAccess": true,
    "exactOptionalPropertyTypes": true,
    "esModuleInterop": true,
    "skipLibCheck": true
  }
}
EOF

When to Use This Skill

Use when:

  • Building type-safe React, NestJS, or Node.js applications
  • Migrating JavaScript codebases to TypeScript
  • Implementing advanced type patterns (generics, mapped types, conditional types)
  • Configuring modern TypeScript toolchains (Vite, pnpm, ESLint)
  • Designing type-safe API contracts with Zod validation
  • Comparing TypeScript approaches with Java or Python

Project Setup Checklist

Before starting any TypeScript project:

Sponsors

Details

Repository
github.com/spillwavesolutions/mastering-typescript-skill
Categories
Frontend Development, Testing & QA, AI & Agent Building, Debugging, Python, Java & JVM
First seen
May 16, 2026
1docyrus avatardocyrus-cli-appdocyrus/agent-skillsUse the Docyrus CLI (`docyrus`) to interact with the Docyrus platform from the terminal. Use when the user asks to authenticate, list apps, query or manage data799skills.sh installs
2gocallum avatarauthjs-skillsgocallum/nextjs16-agent-skillsAuth.js v5 setup for Next.js authentication including Google OAuth, credentials provider, environment configuration, and core API integration797skills.sh installs
3aklofas avatarbomaklofas/kicad-happyBOM (Bill of Materials) management for electronics projects — the workflow skill that coordinates DigiKey, Mouser, LCSC, element14, JLCPCB, PCBWay, and KiCad sk795skills.sh installs
4signerlabs avatarbuild-featuresignerlabs/shipswift-skillsBuild an iOS feature using ShipSwift component recipes. Use when the user says "build", "create", "add a feature", or describes an iOS feature they want to impl784skills.sh installs
5adobe avatarappbuilder-action-scaffolderadobe/skillsCreate, implement, deploy, and debug Adobe Runtime actions with consistent layout, validation, and error handling. Use this skill whenever the user needs to add768skills.sh installs
6product-on-purpose avatarutility-slideshow-creatorproduct-on-purpose/pm-skillsGenerates professional presentations from a JSON deck specification using 18 slide types with dark/light variants, content-to-layout decision logic, and calibra764skills.sh installs