contract-typebox
CommunityTypeBox-driven API contracts, validated.
Software Engineering#typescript#validation#api-contracts#runtime-validation#typebox#schema-patterns#shared-contracts
AuthorMileniumTick
Version1.0.0
Installs0
System Documentation
What problem does it solve?
TypeBox enables runtime schema validation for API contracts, reducing manual validation boilerplate and preventing invalid data from flowing through services.
Core Features & Use Cases
- Schema patterns: Type.Object based contracts for common payloads (User, Auth, Pagination) shared across backend and frontend.
- Runtime validation: Centralized validation against TypeBox schemas in API routes and UI layers.
- Use Case: Define a single contract in packages/shared/contracts and reuse it in Elysia routes and frontend validation.
Quick Start
Import TypeBox schemas from shared/contracts and apply them to a route validator to enforce API contracts.
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: contract-typebox Download link: https://github.com/MileniumTick/skills/archive/main.zip#contract-typebox 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.