schema-boundary-typing
CommunityKeep runtime types truthful at API boundaries.
Authormatt-riley
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Untrusted data entering a TypeScript codebase often leads to runtime errors and fragile boundaries. This skill provides guidance to enforce runtime validation at the edge and keep static types aligned with the actual input.
Core Features & Use Cases
- Validate external payloads at the first boundary using the repository's schema or guard patterns.
- Derive or guard the TypeScript types from the runtime schema, reducing ad-hoc typing throughout the codebase.
- Use across API requests, webhook payloads, and storage reads to ensure consistent boundary behavior.
Quick Start
Validate an untrusted payload at the API edge using the repository's schema-first approach and derive the TypeScript type.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 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: schema-boundary-typing Download link: https://github.com/matt-riley/agent-skills/archive/main.zip#schema-boundary-typing 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 510,000+ vetted skills library on demand.