wshobson/agents

typescript-advanced-types

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 projects.

All-time #445 Trending #558 First seen Jan 20, 2026
8-week activity · all time api

Installation

$ npx skills add https://github.com/wshobson/agents
Feature your product here Skill page unit · reach builders installing agent skills View pricing →

Summary

  • Advanced TypeScript type system patterns for building type-safe, reusable components and utilities.
  • Covers five core concepts: generics with constraints, conditional types with inference, mapped types for property transformation, template literal types for string patterns, and built-in utility types Includes six advanced patterns: type-safe event emitters, API clients, builder patterns, deep readonly/partial, form validation, and discriminated unions for robust type narrowing Demonstrates type inference techniques using the infer keyword, type guards, and assertion functions for compile-time safety Provides best practices including strict mode configuration, type testing strategies, and guidance on avoiding common pitfalls like circular references and over-complex types

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Security audits

Partner security reviews for this skill.

agent-trust-hub Reviewed

Analyzed Sep 15, 2026

snyk Reviewed

Analyzed Sep 15, 2026

socket Score 0.9000 · 0 alerts

Analyzed Sep 15, 2026

  • license 1
  • maintenance 1
  • quality 0.9
  • supply chain 1
  • vulnerability 1

0 alerts

Also in this package

Other skills from wshobson/agents · top by installs.

npx skills add https://github.com/wshobson/agents

Browse all from wshobson/agents

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 39.5K
License LICENSE
Default branch main
Open issues 4
Status Active

History

  1. First seen on skills.sh
  2. First recorded snapshot · 72,500 installs