Toolverse
All skills

effect-patterns-error-handling-resilience

by PaulJPhilp

Effect-TS patterns for Error Handling Resilience. Use when working with error handling resilience 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 Error Handling Resilience. Use when working with error handling resilience in Effect-TS applications.

How to use

  1. Zainstaluj umiejętność w swoim projekcie Effect-TS, dodając ją do konfiguracji Claude plugin'a lub importując wzorce z repozytorium autora.

  2. Przeczytaj dokumentację wzorca Scheduling Pattern 2, który pokazuje implementację exponential backoff z jitterem – to główny wzorzec zawarty w umiejętności.

  3. Skopiuj strukturę BackoffConfig do swojego projektu, definiując parametry: baseDelayMs (opóźnienie początkowe), maxDelayMs (maksymalne opóźnienie) oraz maxRetries (liczba prób).

  4. Zaimplementuj funkcję calculateDelay, która oblicza opóźnienie dla każdej próby, stosując wzór exponential backoff (baseDelay * 2^attempt) i dodając jitter (±50%) aby uniknąć thundering herd problem.

  5. Opatrz swoją funkcję API (np. flakyApiCall) w Effect.gen i użyj Schedule z obliczonym opóźnieniem do automatycznego ponawiania żądań – Effect obsługuje retry'e niezawodnie bez ręcznych pętli.

  6. Testuj wzorzec na symulowanym API, które zawodzi kilka razy, aby sprawdzić, czy opóźnienia rosną wykładniczo i czy ostatecznie żądanie się powiedzie.

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-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

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

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

using-superpowers

by obra

Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists

Backend
65167

seedream-image-gen

by openclaw

Generate images via Seedream API (doubao-seedream models). Synchronous generation.

Backend
6235