LogoClawIndex
CasesSkillsAbout
LogoClawIndex

typescript-advanced-patterns - Advanced TypeScript Patterns for Library Authors

Type-level programming, library APIs, and modern TS 5.x features implementation patterns

Tags

Updated: 2026-06-15

Capabilities

Typical Inputs

Typical Outputs

What this skill does

  • enforce builder call order
  • build typed event emitters
  • type object path access
  • infer route parameters
  • derive static types
  • encode query shape
  • export API surface
  • choose overloads
  • use recursive conditionals
  • bypass step limit
  • constrain infer extraction
  • remap mapped keys
  • use variadic tuples
  • build string algorithms
  • control distribution
  • test types
  • match template literals
  • emulate higher-kinded types
  • use stage 3 decorators
  • compose using resources

Inputs

  • runtime schemas
  • path patterns
  • event maps
  • configuration
  • environment variables
  • library source code

Outputs

  • type definitions
  • builder APIs
  • event emitter types
  • API client types
  • form field types
  • module declarations

Requirements

  • TypeScript 5.x
  • typescript-refactor skill

Source

  • Spec: SKILL.md

ClawIndex

OpenClaw Skills & Use Case Index

ClawIndex is an ecosystem-driven index of OpenClaw skills and real-world use cases.

Index

Skills·
Cases

Meta

About·
Disclaimer·
Email·
GitHub
© 2026 ClawIndex All Rights Reserved.
typescript
type-level programming
library author
DSL
advanced patterns
enforce builder call order
build typed event emitters
type object path access
infer route parameters
runtime schemas
path patterns
event maps
type definitions
builder APIs
event emitter types