Skip to content

Modern TypeScript patterns with a strict tsconfig baseline, runtime validation choices, and TS 5.2+ features.

CCM score
53 of 100
skills.sh installs
496
GitHub stars
79
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers core type patterns: const type parameters, satisfies, template literal types, and exhaustive discriminated unions
  • Includes a 2025 tsconfig baseline with strict, noUncheckedIndexedAccess, and verbatimModuleSyntax, plus a compiler options table
  • Compares Zod, TypeBox, and Valibot by bundle size and speed, with decision guidance for choosing among them
  • Designed for new and existing TypeScript projects, including API boundaries, library authoring, and migrating away from any

Install

$ npx -y skills add bobmatnyc/claude-mpm-skills --skill typescript-core -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

TypeScript Core Patterns

Modern TypeScript development patterns for type safety, runtime validation, and optimal configuration.

Quick Start

New Project: Use 2025 tsconfig → Enable strict + noUncheckedIndexedAccess → Choose Zod for validation

Existing Project: Enable strict: false initially → Fix any with unknown → Add noUncheckedIndexedAccess

API Development: Zod schemas at boundaries → z.infer<typeof Schema> for types → satisfies for routes

Library Development: Enable declaration: true → Use const type parameters → See advanced-patterns-2025.md

Quick Reference

tsconfig.json 2025 Baseline

{
  "compilerOptions": {
    "target": "ES2022",
    "module": "NodeNext",
    "moduleResolution": "NodeNext",
    "strict": true,
    "noUncheckedIndexedAccess": true,
    "exactOptionalPropertyTypes": true,
    "verbatimModuleSyntax": true,
    "isolatedModules": true,
    "skipLibCheck": true,
    "declaration": true,
    "declarationMap": true
  }
}

Key Compiler Options

Details

Repository
github.com/bobmatnyc/claude-mpm-skills
Category
Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the typescript-core skill do?

typescript-core gives an agent advanced TypeScript patterns and best practices for 2025. It covers a strict tsconfig baseline, const type parameters, the satisfies operator, template literal types, discriminated unions, and runtime validation with Zod, TypeBox, or Valibot.

How do I install the typescript-core skill?

Run npx -y skills add bobmatnyc/claude-mpm-skills --skill typescript-core -y in your project. Once installed, typescript-core lets the agent apply modern TypeScript 5.2+ features such as using and decorators when a project calls for them.

Where does typescript-core stand in the Frontend & UI Code category?

typescript-core is listed in the Frontend & UI Code category on Claude Marketplaces, alongside vercel-react-best-practices, web-design-guidelines, design-taste-frontend, vercel-composition-patterns, and lark-apps. Its focus is on type safety and configuration rather than UI design, which sets it apart from the other skills there.

More from bobmatnyc/claude-mpm-skills

All 154

Similar to Typescript Core

More Frontend & UI Code