Back to directory

TypeScript Patterns

Agent skill
1 skill

Idiomatic TypeScript patterns — strict type system, discriminated unions, generic inference, satisfies, branded types, errors as values, ESM/CJS modules with exports maps, Promise combinators and AbortController, iterators and higher-order functions, runtime selection across Node/Deno/Bun/browser/edge, and the Vite + Vitest toolchain stack. Use when the user is writing new TypeScript, reviewing TS code, refactoring, designing libraries for npm, tuning tsconfig strict mode, asks about generics/conditional types/discriminated unions/branded types/satisfies, asks about ESM/CJS dual publishing and exports maps, asks about Promise combinators/AbortController/async iterators, asks about Vite config or vite build --lib, chooses between Node/Deno/Bun/browser/edge runtimes, or wants TypeScript idioms and anti-patterns.

Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI

Supported by the Atlas install prompt. Skill-specific requirements vary.

Skill stats

Skills1CategoryDeveloper toolsStars0

About this skill

Idiomatic TypeScript patterns — strict type system, discriminated unions, generic inference, satisfies, branded types, errors as values, ESM/CJS modules with exports maps, Promise combinators and AbortController, iterators and higher-order functions, runtime selection across Node/Deno/Bun/browser/edge, and the Vite + Vitest toolchain stack. Use when the user is writing new TypeScript, reviewing TS code, refactoring, designing libraries for npm, tuning tsconfig strict mode, asks about generics/conditional types/discriminated unions/branded types/satisfies, asks about ESM/CJS dual publishing and exports maps, asks about Promise combinators/AbortController/async iterators, asks about Vite config or vite build --lib, chooses between Node/Deno/Bun/browser/edge runtimes, or wants TypeScript idioms and anti-patterns.

Quick start

  1. Copy the install prompt. Use the green button above this README.
  2. Send it to your agent. Paste it into your coding agent’s chat and send.
  3. Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
Review, license & listing details
Review the source before using this skill

This is an imported listing. We haven’t certified its safety, license, or compatibility. Skills may include executable scripts.

Automated security scan: Partial

Only SKILL.md was scanned. Supporting files and scripts were not checked. No safety grade has been assigned.

0 potential findings · Scanned 11/4/2026 · Scanner 0.2.1

Content SHA-256: a5983cc958ebb5e3db1a78f5e2a4e20e7b600b5f64c48f1d593cc858cb7383cc

About scan coverage and limitations

About this listing

Category
Developer tools
Reported license
MIT
Listing language (estimated)
English
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.
TypeScript Patterns | Agent Skills Atlas