typespec-cross-layer
CommunityCross-layer type mapping with safe defaults.
Authorhafley66
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Cross-layer type mapping across storage and application layers for TypeSpec types, enabling safe defaults and predictable behavior.
Core Features & Use Cases
- Default type mapping from TypeSpec to Postgres, Kotlin, and TS
- Override decorators for non-default mappings
- Patch semantics with optional and nullable fields
- Separate input/output types per HTTP method
- Session context injection support
- Emitters for Postgres DDL, Kotlin data classes, TS types, and bespoke systems
Quick Start
Define your TypeSpec model and run the appropriate emitters to generate Postgres DDL, Kotlin data classes, TS types, and bespoke outputs.
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: typespec-cross-layer Download link: https://github.com/hafley66/claude-research/archive/main.zip#typespec-cross-layer 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.