Schema
CommunityValidate and transform data with Effect Schema.
Authorandrueandersoncs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Effect Schema enables type-safe runtime validation and bidirectional data transformation for Effect-based applications, reducing runtime errors when consuming external data and ensuring consistent data shapes across boundaries.
Core Features & Use Cases
- Type-safe runtime validation with TypeScript inference.
- Bidirectional decoding and encoding between external payloads and internal types.
- Class-based and tagged schemas for ergonomic modeling and exhaustive matching.
- JSON Schema interoperability and utilities like Schema.parseJson for safe JSON parsing.
- Rich, customizable error messages and annotation support for self-documenting schemas.
- Seamless error handling with Effect integration and typed errors.
Quick Start
Validate a JSON payload against a simple Schema.Struct({ id: Schema.Number, name: Schema.String }) and decode it into a typed object using Schema.decodeUnknownSync, returning either the typed value or a ParseError.
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: Schema Download link: https://github.com/andrueandersoncs/claude-skill-effect-ts/archive/main.zip#schema 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 223,000+ vetted skills library on demand.