Toolverse
All skills

effect-patterns-streams-sinks

by PaulJPhilp

Effect-TS patterns for Streams Sinks. Use when working with streams sinks in Effect-TS applications.

Installation

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

Installation

Quick info

Category
Backend
Views
1

About this skill

Effect-TS patterns for Streams Sinks. Use when working with streams sinks in Effect-TS applications.

How to use

  1. Zainstaluj skill w swoim projekcie Effect-TS, dodając go do konfiguracji Claude plugin lub agenta, który obsługuje umiejętności Effect-TS. 2. Zidentyfikuj scenariusz, w którym przetwarzasz dane ze źródła (np. API, baza danych) i musisz je wysłać do innego miejsca docelowego (sink). Typowe przypadki to batching rekordów przed wstawieniem do bazy lub transformacja strumienia danych. 3. Przejrzyj dostępne wzorce w skill, szczególnie wzorzec Batch Insert Stream Records into Database, który pokazuje, jak pagynować dane z API i grupować je w partie przed operacją bazodanową. 4. Zastosuj wzorzec do swojego kodu, dostosowując interfejsy danych (User, PaginatedResponse) do struktury Twoich rekordów. Upewnij się, że Stream.paginateEffect pobiera dane z Twojego źródła, a Sink.forEach lub podobna operacja wysyła partie do celu. 5. Przetestuj przepływ danych, monitorując rozmiary partii i opóźnienia, aby upewnić się, że batching rzeczywiście poprawia wydajność. Dostosuj rozmiar partii (chunk size) na podstawie charakterystyki Twojej bazy danych i przepustowości sieci. 6. Wykorzystaj pozostałe wzorce dla bardziej zaawansowanych scenariuszy, takich jak obsługa błędów w strumieniach, transformacje warunkowe lub agregacja danych przed zapisem.

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

literature-review

by K-Dense-AI

Conduct comprehensive, systematic literature reviews using multiple academic databases (PubMed, arXiv, bioRxiv, Semantic Scholar, etc.). This skill should be used when conducting systematic literature reviews, meta-analyses, research synthesis, or comprehensive literature

Backend
238507

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

api-design-principles

by wshobson

Master REST and GraphQL API design principles to build intuitive, scalable, and maintainable APIs that delight developers. Use when designing new APIs, reviewing API specifications, or establishing API design standards.

Backend
50146

sql-optimization-patterns

by wshobson

Master SQL query optimization, indexing strategies, and EXPLAIN analysis to dramatically improve database performance and eliminate slow queries. Use when debugging slow queries, designing database schemas, or optimizing application performance.

Backend
40163

supabase-developer

by daffy0208

Build full-stack applications with Supabase (PostgreSQL, Auth, Storage, Real-time, Edge Functions). Use when implementing authentication, database design with RLS, file storage, real-time features, or serverless functions.

Backend
78170