effect-patterns
CommunityStreamline Effect-TS development with proven patterns.
Software Engineering#architecture#state management#TypeScript#patterns#functional programming#DI#Effect-TS
Authorcreatifcoding
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill demystifies Effect-TS development by providing canonical patterns and best practices for services, schemas, and state management with effect-atom. It helps developers build robust, type-safe, and maintainable applications, avoiding common pitfalls and ensuring architectural consistency.
Core Features & Use Cases
- Service Definition: Guides on choosing the right Effect-TS service pattern (Effect.Service, Context.Tag) for various scenarios.
- Atom-as-State: Enforces the
Atom.make()pattern for React state, avoidingEffect.Refcomplexity and ensuring reactive, performant UIs. - Schema & Observability: Provides patterns for
Schema.TaggedStruct,Schema.TaggedClass, andEffect.withSpanfor robust domain modeling, data validation, and tracing. - Use Case: When designing a new backend service or a complex state management system in a React application, invoke this Skill to get the recommended Effect-TS service definition,
Atom-based state management, and error handling patterns, ensuring your architecture is sound from the start.
Quick Start
Explain the recommended Effect-TS service definition pattern for a new data fetching service that uses effect-atom for state.
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-patterns Download link: https://github.com/creatifcoding/gbg/archive/main.zip#effect-patterns Please download this .zip file, extract it, and install it in the .claude/skills/ directory.