Toolverse
All skills

error-handling

by EpicenterHQ

Error handling patterns using wellcrafted trySync and tryAsync. Use when writing error handling code, using try-catch blocks, or working with Result types and graceful error recovery.

Installation

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

Installation

Quick info

Category
Security
Views
6

About this skill

Error handling patterns using wellcrafted trySync and tryAsync. Use when writing error handling code, using try-catch blocks, or working with Result types and graceful error recovery.

How to use

  1. Zainstaluj skill error-handling w swoim projekcie — będzie dostępny jako referencja dla asystenta kodu (Claude, Copilot lub inny agent). 2. Gdy piszesz lub przeglądasz kod z try-catch blokami, poproś asystenta aby zastosował wzorzec trySync/tryAsync z tego skilla. 3. Dla kodu synchronicznego zaimportuj trySync z wellcrafted/result, dla asynchronicznego użyj tryAsync — obie funkcje łapią wyjątki i zwracają Result type. 4. Zamiast zagnieżdżonych if-else gałęzi, zwracaj natychmiast Ok(...) dla pomyślnych ścieżek lub Err(...) dla błędów, co upraszcza logikę. 5. Jeśli pracujesz z route handlerami HTTP, użyj skill do konwersji błędów na statusy odpowiedzi (np. 400, 500) — README zawiera referencje w references/http-handlers.md. 6. Dla złożonych scenariuszy zapoznaj się z references/real-world-examples.md aby zobaczyć przykłady z prawdziwych projektów i wytyczne kiedy minimalizować vs rozszerzać wrapping.

Related skills

zendesk

by vm0-ai

Zendesk Support REST API for managing tickets, users, organizations, and support operations. Use this skill to create tickets, manage users, search, and automate customer support workflows.

Security
11100

payload

by payloadcms

Use when working with Payload CMS projects (payload.config.ts, collections, fields, hooks, access control, Payload API). Use when debugging validation errors, security issues, relationship queries, transactions, or hook behavior.

Security
50171

openapi-spec-generation

by wshobson

Generate and maintain OpenAPI 3.1 specifications from code, design-first specs, and validation patterns. Use when creating API documentation, generating SDKs, or ensuring API contract compliance.

Security
18109

architect-review

by sickn33

Master software architect specializing in modern architecture patterns, clean architecture, microservices, event-driven systems, and DDD. Reviews system designs and code changes for architectural integrity, scalability, and maintainability. Use PROACTIVELY for architectural

Security
2773

skill-writer

by pytorch

Guide users through creating Agent Skills for Claude Code. Use when the user wants to create, write, author, or design a new Skill, or needs help with SKILL.md files, frontmatter, or skill structure.

Security
15116

backend-security-coder

by sickn33

Expert in secure backend coding practices specializing in input validation, authentication, and API security. Use PROACTIVELY for backend security implementations or security code reviews.

Security
1133