atelier-typescript-effect-ts

Model TypeScript computations as typed effects with Effect-TS.

39|4|Updated Jan 11, 2026
One-click install
npx skills add https://github.com/martinffx/claude-code-atelier --skill atelier-typescript-effect-ts
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: atelier-typescript-effect-ts
Source: https://github.com/martinffx/claude-code-atelier/tree/main/plugins/atelier-typescript/skills/atelier-typescript-effect-ts
Command: npx skills add https://github.com/martinffx/claude-code-atelier --skill atelier-typescript-effect-ts

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Type-safe functional effects are hard to model and compose in TypeScript; this Skill provides a cohesive Effect-TS approach to building resilient applications with typed effects, dependency injection, and resource safety.

Core Features & Use Cases

  • Type-safe effects with Effect-TS for robust computations
  • Dependency injection via Context.Tag and Layer for scalable architectures
  • Resource management with acquireRelease and Scope for deterministic cleanup
  • Schema validation with Effect Schema for strict data handling
  • Generator-based flows with Effect.gen for readable code in complex workflows

Quick Start

Create and run a simple Effect.gen program that returns a value using Effect.runPromise.

Frequently Asked Questions about atelier-typescript-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 handles dependency injection via Context.Tag and Layer, enabling you to build scalable architectures with robust service composition. Layers allow you to assemble and provide dependencies deterministically at compile-time.

What is the best way to handle typed errors in TypeScript effect systems?

Typed errors in TypeScript effect systems are modeled explicitly using the Effect type to enforce compile-time guarantees. This approach ensures robust error handling by tracking both success and failure types directly in the function signature.

How do I ensure deterministic resource cleanup in TypeScript?

Deterministic resource cleanup in TypeScript is achieved using Effect-TS with acquireRelease and Scope. This mechanism guarantees that resources are safely acquired and released, preventing leaks during complex workflow execution.

Can I use generators for readable asynchronous workflows in TypeScript?

Yes, you can use generators for readable asynchronous workflows in TypeScript with Effect.gen. This approach allows you to write complex sequential logic in a synchronous-looking style while maintaining strict type safety.

How does schema validation work with type-safe effects in TypeScript?

Schema validation with type-safe effects uses Effect Schema for strict data handling. It enforces runtime data validation that aligns with compile-time TypeScript types, ensuring untrusted data conforms to expected structures.

Does Effect-TS support composing multiple services and resources together?

Yes, Effect-TS supports robust composition across multiple services, resources, and data validation steps. It models computations as typed effects, allowing you to safely combine dependencies and manage complex application flows.