Toolverse
All skills

effect-patterns-error-handling

by PaulJPhilp

Effect-TS patterns for Error Handling. Use when working with error handling in Effect-TS applications.

Installation

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

Installation

Quick info

Category
Backend
Views
2

About this skill

Effect-TS patterns for Error Handling. Use when working with error handling in Effect-TS applications.

How to use

  1. Zainstaluj umiejętność w swoim środowisku Claude/Copilot, wskazując repozytorium GitHub autora (PaulJPhilp/EffectPatterns). Umiejętność będzie dostępna jako wtyczka Effect-TS patterns.

  2. Użyj umiejętności, gdy pracujesz nad obsługą błędów w aplikacji Effect-TS — na przykład podczas walidacji formularzy, przetwarzania danych wsadowych lub implementacji logiki biznesowej wymagającej raportowania wielu błędów.

  3. Poproś asystenta o wzorzec akumulacji błędów, gdy chcesz zbierać wszystkie problemy w danych wejściowych zamiast zatrzymywać się na pierwszym błędzie. Umiejętność dostarczy przykład z TypeScript pokazujący, jak strukturyzować ValidationError i ProcessingResult.

  4. Przeanalizuj dostarczony kod — zawiera on logikę walidacji formularza (sprawdzenie nazwy, emaila, wieku, telefonu) oraz demonstruje, jak gromadzić błędy w tablicy zamiast rzucać wyjątek.

  5. Dostosuj wzorzec do swoich potrzeb, zmieniając pola walidacji, komunikaty błędów i reguły biznesowe. Wzorzec Effect-TS zapewnia, że błędy są obsługiwane w funkcyjny, typowo bezpieczny sposób.

  6. Stosuj ten wzorzec w swoich aplikacjach Effect-TS, gdy potrzebujesz raportować wiele błędów jednocześnie — szczególnie przydatne w formularzach, importach danych i walidacji konfiguracji.

Related skills

patent-search

by RobThePCGuy

Advanced prior art search using the PatentsView API. Use this skill when users need to search for patents, perform prior art searches, analyze patent landscapes, or find patents by inventor, title, date range, or technical fields. Helps with patent research, freedom to operate

Backend
36218

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

youtube-transcript

by michalparkola

Download YouTube video transcripts when user provides a YouTube URL or asks to download/get/fetch a transcript from YouTube. Also use when user wants to transcribe or get captions/subtitles from a YouTube video.

Backend
53214

scientific-writing

by K-Dense-AI

Write scientific manuscripts. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting guidelines (CONSORT/STROBE/PRISMA), abstracts, for research papers and journal submissions.

Backend
47191

supabase-operations

by elevanaltd

Supabase operational knowledge for migrations, RLS optimization, MCP tool benchmarks, and ADR-003 compliance. Use when validating database migrations, optimizing Row-Level Security policies, checking MCP tool performance, or ensuring Supabase operational standards. Triggers on:

Backend
27109