effect-ts

Generate Effect-TS snippets for TypeScript functional programming and dependency wiring.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

The Skill provides ready-to-use patterns, templates, and examples for using Effect-TS in TypeScript projects, enabling faster integration of effects, layers, and contexts.

Core Features & Use Cases

  • Snippets for creating and composing Effect-based programs with Effect, Effect.gen, Layer, and Context tags.
  • Generator-based composition and error handling patterns, including resource management and service wiring.
  • Example workflows: context-based APIs, dependency provisioning, and basic to advanced effect usage across streams and concurrency.

Quick Start

Install or import the Effect library in a TS project, copy a sample snippet into your code, and adapt to your application's program structure.

Frequently Asked Questions about effect-ts

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

FAQPage Schema
How do I structure Effect-TS code using Effect.gen for generator-based composition?▼

Effect.gen enables generator-based composition in Effect-TS by yielding effects sequentially, providing structured error handling and resource management patterns for TypeScript functional programming projects.

What is the best way to manage dependencies and service wiring in Effect-TS?▼

Layer-based dependency provisioning and Context tags manage service wiring in Effect-TS, allowing you to define context-based APIs and provision dependencies across application layers efficiently.

How do I handle resource acquisition and release safely in Effect-TS?▼

Effect-TS provides robust resource management patterns using Effect.try for error handling, ensuring safe acquisition and release of resources during streaming and concurrent functional programming operations.

Can I use Effect-TS patterns for streaming and concurrent operations in TypeScript?▼

Effect-TS supports streaming and concurrency within TypeScript projects, offering ready-made snippets and templates that handle effect composition, context propagation, and concurrent service execution safely.

What prerequisites are needed to integrate Effect-TS snippets into a TypeScript project?▼

You need an existing TypeScript project with the Effect library installed, after which you can copy sample snippets for functional programming, layer configuration, and context management directly into your codebase.