effect-uai-structured-output
OfficialReturn typed JSON with local validation.
Software Engineering#structured-output#json-schema#data-validation#decoder#effect-uai#typed-json#turn-based-ai
Authorbetalyra
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables returning a typed JSON object from model outputs and validating it locally, replacing unreliable prose with verifiable structure.
Core Features & Use Cases
- One turn produces a typed result by applying a defined Effect Schema and using a local decoder for validation.
- Local decoding with Turn.toStructured ensures data conforms to the schema and provides clear error modes (JsonParseError, StructuredDecodeError, RefusalRejected).
- Use cases include extracting structured data (recipes, forms, events), enforcing strict contracts between model and application, and supporting streaming or multi-object outputs.
Quick Start
Ask the model to produce a structured output that conforms to a predefined JSON Schema and verify it locally with the decoder.
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: effect-uai-structured-output Download link: https://github.com/betalyra/effect-uai/archive/main.zip#effect-uai-structured-output 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.