New advertisers: 50% off your first month with code FIRSTMONTHSee slots
sickn33 avatar

Typescript Advanced Types

Guidance for TypeScript's advanced type system: generics, conditional, mapped, and template literal types.

skills.sh installs
1.1K
GitHub stars
50.1K
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers generics, conditional types, mapped types, template literal types, and utility types for type-safe code
  • Includes an example pattern using Expect<AssertEqual<...>> for positive assertions and @ts-expect-error for rejected calls
  • Notes that a generic response type does not validate returned JSON, so runtime validation is still required
  • Designed for building type-safe libraries, reusable generic components, and migrating JavaScript codebases to TypeScript

Install

$ npx -y skills add sickn33/agentic-awesome-skills --skill typescript-advanced-types -y

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

Files

TypeScript Advanced Types

Comprehensive guidance for mastering TypeScript's advanced type system including generics, conditional types, mapped types, template literal types, and utility types for building robust, type-safe applications.

Use this skill when

  • Building type-safe libraries or frameworks
  • Creating reusable generic components
  • Implementing complex type inference logic
  • Designing type-safe API clients
  • Building form validation systems
  • Creating strongly-typed configuration objects
  • Implementing type-safe state management
  • Migrating JavaScript codebases to TypeScript

Do not use this skill when

  • The task is unrelated to typescript advanced types
  • You need a different domain or tool outside this scope

Instructions

  • Clarify goals, constraints, and required inputs.
  • Apply relevant best practices and validate outcomes.
  • Provide actionable steps and verification.
  • If detailed examples are required, open resources/implementation-playbook.md.

Resources

  • resources/implementation-playbook.md for detailed patterns and examples.

Details

Repository
github.com/sickn33/agentic-awesome-skills
Category
Frontend & UI Code
First seen
May 16, 2026

More from sickn33/agentic-awesome-skills

All 682

Similar to Typescript Advanced Types

More Frontend & UI Code