effect-patterns-building-apis
CommunityShip robust Effect-TS APIs with confidence.
AuthorPaulJPhilp
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Effect-TS API patterns often require repeated boilerplate for routing, error handling, and OpenAPI docs. This skill provides a structured approach to building and documenting robust HTTP APIs with standard patterns.
Core Features & Use Cases
- Declarative routing with HttpRouter and typed errors to simplify endpoint definitions.
- Centralized error handling and OpenAPI generation to standardize responses and docs.
- Schema-based request validation and dependency injection via Layer for scalable architectures.
- Middleware composition to easily compose cross-cutting concerns across routes.
Quick Start
Define your API with HttpRouter to declare routes and schemas, provide dependencies via Layer, expose via Http.server.serve with a Node HTTP layer, and generate OpenAPI docs for your endpoints.
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-building-apis Download link: https://github.com/PaulJPhilp/EffectPatterns/archive/main.zip#effect-patterns-building-apis 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.