Toolverse
All skills

effect-patterns-streams-getting-started

by PaulJPhilp

Effect-TS patterns for Streams Getting Started. Use when working with streams getting started in Effect-TS applications.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Category
Backend

About this skill

Effect-TS patterns for Streams Getting Started. Use when working with streams getting started in Effect-TS applications.

How to use

  1. Zainstaluj skill effect-patterns-streams-getting-started w swoim środowisku Claude/Copilot, wskazując repozytorium autora PaulJPhilp. Skill będzie dostępny jako pomoc przy pracy z Effect-TS.

  2. Otwórz skill, gdy pracujesz nad zadaniem związanym ze strumieniami danych – tworzeniem, transformacją lub przetwarzaniem sekwencji wartości w aplikacji Effect-TS.

  3. Zapoznaj się z sekcją "Your First Stream" – pokazuje ona, jak tworzyć strumienie za pomocą Stream.make(), Stream.fromIterable() i Stream.succeed(), oraz jak transformować je operatorami map i filter.

  4. Uruchom przykład z dokumentacji: zaimportuj Effect i Stream, utwórz strumień liczb, zastosuj transformacje (np. podwojenie wartości i filtrowanie), a następnie zbierz wyniki za pomocą Stream.runCollect i Effect.runPromise().

  5. Porównaj swoje podejście z anty-wzorem – jeśli używasz zwykłych tablic i chcesz przetwarzać duże dane, dane asynchroniczne lub zarządzać zasobami, przełącz się na Stream, aby uniknąć ładowania wszystkiego do pamięci naraz.

  6. Stosuj skill jako referencję przy wyborze między Stream a Array – Stream jest lepszy dla leniwego przetwarzania, operacji asynchronicznych i backpressure'u, a Array dla małych, znanych z góry zbiorów danych.

Related skills

context-optimizer

by openclaw

Advanced context management with auto-compaction and dynamic context optimization for DeepSeek's 64k context window. Features intelligent compaction (merging, summarizing, extracting), query-aware relevance scoring, and hierarchical memory system with context archive. Logs

Backend
2964

fastapi-pro

by sickn33

Build high-performance async APIs with FastAPI, SQLAlchemy 2.0, and Pydantic V2. Master microservices, WebSockets, and modern Python async patterns. Use PROACTIVELY for FastAPI development, async optimization, or API architecture.

Backend
54128

humanizer

by davila7

Remove signs of AI-generated writing from text. Use when editing or reviewing\ntext to make it sound more natural and human-written. Based on Wikipedia's\ncomprehensive \

Backend
2873

postgresql-psql

by timelessco

Comprehensive guide for PostgreSQL psql - the interactive terminal client for PostgreSQL. Use when connecting to PostgreSQL databases, executing queries, managing databases/tables, configuring connection options, formatting output, writing scripts, managing transactions, and

Backend
34173

fastapi-templates

by wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

Backend
327582

travel-planner

by ailabs-393

This skill should be used whenever users need help planning trips, creating travel itineraries, managing travel budgets, or seeking destination advice. On first use, collects comprehensive travel preferences including budget level, travel style, interests, and dietary

Backend
4379