effect-ts

Generate Effect-TS code for services, layers, and error handling.

Updated Jun 21, 2026
One-click install
npx skills add https://github.com/dallenpyrah/pi --skill effect-ts-dallenpyrah
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: effect-ts
Source: https://github.com/dallenpyrah/pi/tree/main/skills/effect-ts
Command: npx skills add https://github.com/dallenpyrah/pi --skill effect-ts-dallenpyrah

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This skill automates guidance and code generation for complex functional programming tasks using the Effect library in TypeScript.

Core Features & Use Cases

  • Code Generation: Provides patterns and examples for defining services, layers, and effects with Effect-TS.
  • Error Handling: Offers best practices and code snippets for managing errors and dependencies in Effect-TS applications.
  • Use Case: Assists developers in implementing robust, composable, and testable side-effecting code for backend systems, web servers, or any TypeScript project leveraging the Effect library.

Quick Start

Use the effect-ts skill to generate a service layer for managing database connections and transactions.

Frequently Asked Questions about effect-ts

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

FAQPage Schema
How do I manage dependency injection in TypeScript using Effect-TS?

Effect-TS manages dependency injection using services and layers to construct and provide dependencies to effects. This approach enables robust, composable, and testable side-effecting code for backend systems and web servers.

What is the best way to handle errors in Effect-TS applications?

Handling errors in Effect-TS involves using built-in mechanisms to manage failures and dependencies within effect definitions. This skill provides patterns and code snippets to implement robust error handling for composable side effects in TypeScript projects.

Can I generate a service layer for database connections with Effect-TS?

Yes, you can generate a service layer for managing database connections and transactions using Effect-TS. The skill automates code generation for defining services and layers tailored to backend development and web server implementations.

Does Effect-TS work for implementing web servers in TypeScript?

Effect-TS works for web server implementations in TypeScript by providing composable side effects. The skill offers guidance for applying Effect principles to build robust and testable backend systems requiring dependency injection and error handling.

Do I need to understand functional programming to use Effect-TS?

Understanding Effect principles and TypeScript is required to use Effect-TS effectively. The skill targets developers implementing functional programming tasks, assuming prerequisite knowledge of composable side effects and dependency injection concepts.