regression-io/claude-config-plugins/error-handling

Claude Code and agent skill by regression-io/claude-config-plugins

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Error Handling guidance

Install

npx vskill@latest install regression-io/claude-config-plugins/error-handling

SKILL.md

Error Handling Rules

Fail Fast Principle

  • Validate inputs at system boundaries immediately
  • Throw exceptions for unexpected states, don't return error codes
  • Use assertions for programming errors (should never happen)
  • Use exceptions for runtime errors (might happen)

Exception Design

  • Create specific exception types for different error categories
  • Include contextual information in error messages
  • Never catch generic exceptions unless re-throwing
  • Clean up resources in finally blocks or use RAII/context managers

Error Messages

  • Include: what happened, why it happened, how to fix it
  • Log technical details, show user-friendly messages
  • Never expose stack traces or internal paths to users
  • Use structured logging with correlation IDs

Recovery Strategies

  • Implement retry with exponential backoff for transient failures
  • Use circuit breakers for failing dependencies
  • Define fallback behavior for non-critical features
  • Graceful degradation over complete failure

Async Error Handling

  • Always handle promise rejections
  • Use try/catch with async/await
  • Propagate errors through async boundaries properly
  • Consider timeout handling for all async operations

Logging Levels

  • ERROR: System cannot perform a function (needs attention)
  • WARN: Unexpected but handled (monitor for patterns)
  • INFO: High-level flow (audit trail)
  • DEBUG: Detailed diagnostics (development only)

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/regression-io/claude-config-plugins/error-handling/badge)](https://verified-skill.com/skills/regression-io/claude-config-plugins/error-handling)

Something wrong with this skill or its page? Tell us.