effect-patterns-core-concepts

Guide Effect-TS patterns for functional pipelines in TypeScript projects.

Updated Jan 24, 2026
One-click install
npx skills add https://github.com/scotttrinh/nook --skill effect-patterns-core-concepts-scotttrinh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: effect-patterns-core-concepts
Source: https://github.com/scotttrinh/nook/tree/main/.agents/skills/effect-patterns-core-concepts
Command: npx skills add https://github.com/scotttrinh/nook --skill effect-patterns-core-concepts-scotttrinh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill provides a practical reference for Effect-TS patterns, helping developers implement composable, type-safe functional pipelines in TypeScript.

Core Features & Use Cases

  • Reusable patterns: zip, map, flatMap, filter, and more across Effect, Stream, Option, and Either.
  • Guided examples: real-world usage scenarios showing how to compose operations safely.
  • Scalable design: rules and patterns that support building robust data-processing pipelines in large codebases.

Quick Start

Load the Skill in your project and start by reviewing the core concepts and examples to adapt to your codebase. Then experiment with small snippets that demonstrate Effect.succeed, Effect.map, and Effect.flatMap to see how data flows through a pipeline.

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 build functional pipelines in TypeScript using Effect?

Build functional pipelines in Effect by composing operations like zip, map, and flatMap. This Skill provides structured guidance and real-world examples to help you create type-safe, composable data flows in TypeScript projects.

What is the best way to handle errors and optional values in Effect-TS?

Handle errors and optional values in Effect-TS using Either and Option. This Skill demonstrates how to safely compose operations and apply critical combinators like filter and cond to manage missing data.

How do I convert existing Promise-based code to Effect?

Convert existing Promises to Effect using the tryPromise combinator. This Skill provides patterns for safely wrapping asynchronous operations and integrating them into robust functional pipelines.

Can I process data streams functionally with Effect-TS?

Process data streams functionally with Effect-TS using the Stream type. This Skill covers reusable patterns and combinators to build scalable data-processing pipelines in large codebases.

How does structural equality work with Data.struct in Effect?

Structural equality in Effect works using Data.struct to define values with lazy blueprint semantics. This Skill explains how to implement structural equality for robust data comparisons.

Do I need advanced functional programming experience to use Effect patterns?

Advanced functional programming experience is not required to use Effect patterns. This Skill provides guided examples and reusable rules for building type-safe pipelines, making it accessible for intermediate TypeScript developers.