What problem does it solve?
This Skill resolves the complexity of designing, reviewing, and debugging Effect v4 Schemas, preventing common pitfalls like constructor collisions, incorrect optionality, and serialization failures.
Core Features & Use Cases
- House Rules & Best Practices: Provides an opinionated guide on using Schema.Class, TaggedClass, and proper constructor patterns to ensure type safety and runtime correctness.
- Advanced Modeling: Offers deep insights into recursive schemas, branding, custom Equal/Hash implementations, and complex transformations.
- Use Case: When migrating from Effect v3 to v4 or building a new monorepo, use this Skill to verify your schema definitions against the latest beta, ensuring your codecs and transformations are robust and performant.
Quick Start
Use the effect-v4-schema skill to review my current Schema.Class definition for potential constructor collisions and ensure my optional fields follow the exact-optional contract.