effect-patterns-core-concepts

Provide Effect-TS patterns for core functional programming concepts in TypeScript.

1|1|Updated Feb 12, 2026
One-click install
npx skills add https://github.com/tomsiwik/dojocho --skill effect-patterns-core-concepts-tomsiwik
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: effect-patterns-core-concepts
Source: https://github.com/tomsiwik/dojocho/tree/main/dojos/effect-ts/skills/effect-patterns-core-concepts
Command: npx skills add https://github.com/tomsiwik/dojocho --skill effect-patterns-core-concepts-tomsiwik

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps developers understand and apply fundamental Effect-TS patterns for building robust and maintainable applications.

Core Features & Use Cases

  • Core Concept Patterns: Provides curated examples for essential Effect-TS concepts like zip, sync, async, Option, Either, map, flatMap, filter, Effect.gen, and more.
  • Best Practices: Demonstrates idiomatic ways to handle errors, optional values, side effects, and asynchronous operations.
  • Use Case: When encountering a complex asynchronous operation with potential errors, refer to the flatMap or tryPromise patterns to structure the Effect correctly.

Quick Start

Use the effect-patterns-core-concepts skill to learn how to combine two effects using the zip combinator.

Frequently Asked Questions about effect-patterns-core-concepts

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

FAQPage Schema
How do I handle errors in TypeScript using Effect-TS Either?

Effect-TS Either provides a functional approach to error handling by representing failures as values. This Skill demonstrates idiomatic patterns to manage errors and optional values without relying on exceptions for type-safe control flow.

What is the best way to combine multiple asynchronous operations in Effect-TS?

The best way to combine asynchronous operations is using Effect-TS combinators like zip and flatMap. This Skill provides curated examples for structuring complex asynchronous workflows while maintaining robust type safety.

How do I transform data with map and flatMap in Effect-TS?

You transform data in Effect-TS by chaining operations with map and flatMap to build composable pipelines. This Skill shows core functional programming patterns for data transformation and side-effect management.

When should I use Option versus Either for functional programming in TypeScript?

Use Option for optional values that might be absent and Either for explicit error handling in TypeScript. This Skill demonstrates both functional constructs to help you manage nulls and failures type-safely.

Does Effect-TS work with existing TypeScript asynchronous programming patterns?

Effect-TS integrates with asynchronous programming by wrapping promises using patterns like tryPromise and async. This Skill shows how to structure side effects and async operations for robust, composable applications.