typescript-effect-ts

Solid

Type-safe functional effects with Effect-TS. Use when building applications with Effect, using Effect.gen generators, handling typed errors, managing services with Layer and Context.Tag, validating data with Schema, or managing resources with acquireRelease.

AI & Automation 46 stars 4 forks Updated 1 months ago MIT

Install

View on GitHub

Quality Score: 81/100

Stars 20%
56
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Effect-TS Effect is a powerful TypeScript library for building robust, type-safe applications. It provides a functional effect system with typed errors, dependency injection, resource management, and concurrency primitives. ## Why Effect? **Type-safe errors**: Unlike Promise which loses error type information, Effect tracks errors in the type system with `Effect<Success, Error, Requirements>`. **Dependency injection**: Services are declared explicitly using `Context.Tag` and provided via `Layer`, making dependencies visible in types. **Resource safety**: `Effect.acquireRelease` ensures resources are always cleaned up, even on failure or interruption. **Composability**: Effects compose naturally with `pipe`, `Effect.gen` generators, and combinators like `Effect.all`, `Effect.flatMap`. ## Quick Reference For detailed patterns and examples, see: - [Core Concepts](./references/core.md) - Effect type, creating and running effects, generators - [Error Handling](./references/error-handling.md) - Typed errors, catchAll, catchTag, Either - [Services & Layers](./references/services.md) - Dependency injection with Context.Tag and Layer - [Schema](./references/schema.md) - Data validation with encode/decode - [Resources](./references/resources.md) - Resource management with acquireRelease and Scope ## The Effect Type The core type `Effect<Success, Error, Requirements>` represents a computation that: - Produces a value of type `Success` on success - May fail with an error of t...

Details

Author
martinffx
Repository
martinffx/atelier
Created
8 months ago
Last Updated
1 months ago
Language
TypeScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

effect-ts

Comprehensive guide for Effect-TS, the functional TypeScript library. Use when writing Effect programs, defining services, creating layers, handling errors, modeling data with Schema, configuring apps, or testing Effect code. Covers correct APIs, common misconceptions, and idiomatic patterns.

2 Updated 4 weeks ago
Mark-Life
AI & Automation Listed

effect-ts

ALWAYS-ON TypeScript implementation standard. Any time you (or a subagent) write, refactor, or review TypeScript (.ts/.tsx/.mts/.cts) you MUST consult this skill first and default to the Effect (https://effect.website) ecosystem for effects, errors, dependency injection, schema/validation, concurrency, and observability — instead of raw async/await, throw, try/catch, and hand-rolled DI. Use whenever the task involves TypeScript, Node/Deno/Bun services, an API layer, a use-case/service module, parsing/validating external input, or whenever the user says "TypeScript", "TS", "Effect", "typed errors", "schema", "service", or "dependency injection".

1 Updated today
dustin-olenslager
Web & Frontend Listed

effect-fp-skill

Build production-grade TypeScript applications using Effect (effect.website) and functional programming throughout. Use whenever creating or modifying a TypeScript app, service, CLI, library, or full-stack project. Enforces railway-oriented programming, domain modeling with types, capability-based dependency injection, and property-based testing.

1 Updated 1 months ago
mikezupper