TypeScript Advanced Types

SkillDev tools

Master TypeScript's advanced type system including generics, conditional types, mapped types, template literals, and utility types for building type-safe applications. Use when implementing complex type logic, creating reusable type utilities, or ensuring compile-time type safety in TypeScript proje

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the TypeScript Advanced Types skill

What this skill tells your AI

The instructions your AI receives, as published by pedronauck/skills in skills/mine/typescript-advanced/SKILL.md and read by ahel’s review.

Use this skill when generic inference, conditional/mapped types, template literals, or a reusable type utility is the actual problem. Ordinary typed API, form, and state work uses its domain guidance unless advanced type behavior needs attention.

Concern being changedReference
Generics, conditional/mapped/template-literal and utility typesreferences/core-concepts.md
Reusable emitters, builders, clients, deep utilities, or discriminated modelsreferences/advanced-patterns.md
infer, narrowing, assertion functions, and type-contract testsreferences/type-inference.md
Compiler configuration, type complexity, and maintainabilityreferences/best-practices.md

Prefer the simplest type that expresses the contract. Use unknown and real narrowing at untrusted boundaries; preserve discriminants and readonly intent. Let inference handle local values and follow repository conventions for public annotations, interface, and type.

Use the existing tsconfig; reference configurations are examples, not instructions to change it. Add compile-time tests only when type behavior is a product/library contract, using its owning suite. Avoid a new type framework or elaborate generic abstraction for a single ordinary call site. Run the repository's affected typecheck gate.

Signals

GitHub stars
611
Forks
88
Last commit
Sep 2026

Others that do the same job

Advanced
Catalog kind
skill
Gateway key
typescript-advanced-pedronauck
Source
github.com/pedronauck/skills