effect-service

Scaffold Effect-TS services with Context.Tag and Layer patterns.

Updated Feb 5, 2026
One-click install
npx skills add https://github.com/twlines/maslow --skill effect-service-twlines
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: effect-service
Source: https://github.com/twlines/maslow/tree/main/.claude/skills/effect-service
Command: npx skills add https://github.com/twlines/maslow --skill effect-service-twlines

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill automates the creation of new Effect-TS services, ensuring consistency with the Maslow codebase's established patterns for dependency injection and layer composition.

Core Features & Use Cases

  • Boilerplate Generation: Creates new service files, including interfaces, tags, and live implementations.
  • Dependency Management: Automatically includes specified dependencies in the service layer.
  • Test Stubs: Generates basic test files for new services.
  • Use Case: When adding a new feature that requires a new data access layer, use this Skill to quickly scaffold the MyDataService with its dependencies and basic structure.

Quick Start

Use the effect-service skill to scaffold a new service named 'UserService' with dependencies 'Config' and 'AppPersistence'.

Frequently Asked Questions about effect-service

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold an Effect-TS service with dependency injection?

To scaffold an Effect-TS service, you specify the service name, optional scoped flag, and dependencies. This generates service files with interfaces, tags, and live implementations following Context.Tag and Layer patterns.

What is the best way to generate Effect-TS boilerplate for a new data access layer?

Generating Effect-TS boilerplate for a new data access layer involves using a scaffolding tool to create the service structure. It automatically produces interfaces, tags, and basic test stubs to ensure architectural consistency.

How does Maslow Context.Tag and Layer pattern work for service generation?

Maslow Context.Tag and Layer patterns work by defining service interfaces and live implementations as separate modules. Service generation uses these patterns to structure dependency injection and manage layer composition automatically.

Can I include specific dependencies when creating a new Effect-TS service?

You can include specific dependencies when creating an Effect-TS service by specifying them during scaffolding. The tool automatically integrates these dependencies into the generated service layer for immediate use.

Does scaffolding an Effect-TS service generate test stubs?

Scaffolding an Effect-TS service does generate test stubs. Alongside the boilerplate generation of interfaces and live implementations, the process creates basic test files to help you start validating the new service immediately.