effect-services
Tool for building services with Effect.Service and managing layers.
Install
mkdir -p .claude/skills/effect-services && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/11971" && unzip -o skill.zip -d .claude/skills/effect-services && rm skill.zipInstalls to .claude/skills/effect-services
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Creating services with Context.Service, IdentityComposer keys, and Layer composition. Trigger on: new service, service definition, Layer wiring, dependency injection, Context.Key capabilities
- →Create unique identity keys for services
- →Define service classes using `Context.Service`
- →Add explicit constructor effects for services
- →Consume services using `yield*` for dependency visibility
- →Compose layers to wire the full dependency graph
How it works
The skill guides the creation of services in Effect v4 by defining unique identity keys, structuring service classes with `Context.Service`, implementing constructors, and composing layers for dependency injection.
Inputs & outputs
When to use effect-services
- →Defining new services
- →Wiring layers
- →Setting up dependency injection
About effect-services
Provides structure for creating services using IdentityComposer keys and Layer composition. It enforces consistent service definition and constructor patterns for the Effect framework.
>
When not to use it
- →When not using the Effect v4 framework
- →When not using `@beep/identity/packages` for service keys
- →When not using `Context.Service` for service definition
Limitations
- →Specific to Effect v4 framework
- →Requires use of `@beep/identity/packages` for identity keys
- →Relies on `Context.Service` for service definition
How it compares
This skill provides a structured, framework-specific approach to service creation and dependency wiring in Effect v4, ensuring consistency and type safety.
Compared to similar skills
effect-services side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| effect-services (this skill) | 0 | 3mo | No flags | Advanced |
| nodejs-best-practices | 28 | 6mo | No flags | Advanced |
| nestjs-expert | 37 | 6mo | Review | Advanced |
| add-setting-env | 4 | 2mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
You might also like
nodejs-best-practices
davila7
Node.js development principles and decision-making. Framework selection, async patterns, security, and architecture. Teaches thinking, not copying.
nestjs-expert
davila7
Nest.js framework expert specializing in module architecture, dependency injection, middleware, guards, interceptors, testing with Jest/Supertest, TypeORM/Mongoose integration, and Passport.js authentication. Use PROACTIVELY for any Nest.js application issues including architecture decisions, testing strategies, performance optimization, or debugging complex dependency injection problems. If a specialized expert is a better fit, I will recommend switching and stop.
add-setting-env
lobehub
Guide for adding environment variables to configure user settings. Use when implementing server-side environment variables that control default values for user settings. Triggers on env var configuration or setting default value tasks.
nodejs-backend-patterns
wshobson
Build production-ready Node.js backend services with Express/Fastify, implementing middleware patterns, error handling, authentication, database integration, and API design best practices. Use when creating Node.js servers, REST APIs, GraphQL backends, or microservices architectures.
backend-patterns
affaan-m
后端架构模式、API设计、数据库优化以及针对Node.js、Express和Next.js API路由的服务器端最佳实践。
app-specific-patterns
growilabs
GROWI main application (apps/app) specific patterns for Next.js, Jotai, SWR, and testing. Auto-invoked when working in apps/app.