effect-patterns-building-data-pipelines

Build Effect-TS data pipelines with stream creation, pagination, and concurrency.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides essential patterns for constructing efficient and reliable data pipelines using the Effect-TS library, addressing common challenges in data flow management.

Core Features & Use Cases

  • Stream Creation: Easily turn in-memory collections into data streams.
  • Side-Effect Execution: Run pipelines for their effects without collecting results.
  • Result Collection: Gather all stream outputs into a single list.
  • Paginated API Handling: Seamlessly process data from paginated sources.
  • Concurrent Processing: Speed up pipelines by processing items in parallel.
  • Batch Processing: Optimize performance by grouping items for bulk operations.
  • Stream Merging: Combine data from multiple sources effectively.
  • Use Case: Process a large dataset from a paginated API, perform a transformation on each item concurrently, and save the results in batches to a database.

Quick Start

Use the effect-patterns-building-data-pipelines skill to create a stream from a list of numbers and collect all the results.

Frequently Asked Questions about effect-patterns-building-data-pipelines

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

FAQPage Schema
How do I handle paginated APIs in an Effect-TS data pipeline?

To handle paginated APIs in an Effect-TS data pipeline, use the paginateEffect pattern to seamlessly fetch and process data across multiple pages. This allows your stream to pull subsequent pages automatically until all records are consumed.

How do I process stream items concurrently in Effect-TS?

You can process stream items concurrently in Effect-TS by applying the mapEffect pattern. This speeds up data pipelines by executing side effects on individual items in parallel rather than sequentially.

What is the best way to batch stream items for bulk database operations in Effect-TS?

The best way to batch stream items in Effect-TS is using the grouped pattern. This optimizes pipeline performance by collecting items into chunks, allowing you to execute bulk database operations efficiently.

Can I merge multiple data streams in Effect-TS?

Yes, you can merge multiple data streams in Effect-TS using the merge, concat, or zip patterns. These methods combine data from multiple sources effectively, allowing you to unify separate stream flows into a single pipeline.

How do I run an Effect-TS stream for side effects without collecting results?

To run an Effect-TS stream for side effects without collecting results, use the runDrain pattern. This executes the pipeline purely for its effects, discarding the output values while ensuring all stream processing completes.

How do I create a data stream from an in-memory collection in Effect-TS?

To create a data stream from an in-memory collection in Effect-TS, use the stream creation patterns designed for iterables. This easily turns arrays or lists into data streams ready for pipeline transformations.