Find your next open-source project

Search by name, purpose, or keyword — or paste a GitHub repository URL
All skills

typescript-pro

Writes advanced TypeScript types, type guards, and branded types, then checks them with tsc --noEmit.

When to use it

You have a TypeScript codebase where IDs or state objects can be mixed up at compile time and you need stronger types to catch it.

For example

You say

Use typescript-pro to add branded UserId and OrderId types and a discriminated union for request state in my checkout module, then verify with tsc --noEmit.

You get
  • Branded ID type definitions
  • Discriminated union and type guards
  • tsc --noEmit check results

How it works

  • Uses branded types so a UserId can't be passed where an OrderId is expected.
  • Covers tRPC setup for end-to-end type safety across client and server.