typescript-rigor
OfficialMake TypeScript types rock-solid and safe.
Software Engineering#typescript#branding#zod#type-safety#discriminated-unions#tsconfig#boundary-parsing
Authorlgerard314
Version1.0.0
Installs0
System Documentation
What problem does it solve?
TypeScript rigor helps teams prevent typing pitfalls by enforcing strong boundaries, discriminated unions, branded IDs, and robust error handling at compile time.
Core Features & Use Cases
- Enforces discriminated unions to express exhaustive state machines.
- Promotes branded types for domain-specific IDs to prevent misuses.
- Encourages parse-at-boundary patterns using Zod to ensure trusted data flows.
- Guides adjustments to compiler options and generic bounds to improve type safety.
Quick Start
Create a strict boundary for a user object using a branded UserId type and a Zod schema to parse incoming payloads.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: typescript-rigor Download link: https://github.com/lgerard314/global-plugin/archive/main.zip#typescript-rigor Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.