error-handling-completeness

Assess error-handling completeness in code for external calls and user-facing operations.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/MacroMan5/claude-code-workflow-plugins --skill error-handling-completeness
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: error-handling-completeness
Source: https://github.com/MacroMan5/claude-code-workflow-plugins/tree/main/.claude/skills/error-handling-completeness
Command: npx skills add https://github.com/MacroMan5/claude-code-workflow-plugins --skill error-handling-completeness

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Evaluates whether new code includes sufficient error handling for external calls, file I/O, and user input, with recommended improvements.

Core Features & Use Cases

  • External calls: Timeout, retry, and error handling checks.
  • Logging & UX messages: Ensures clear user-facing errors.
  • Use Case: Audit new modules to improve resilience and user experience.

Quick Start

Describe a function that calls an external API and ask for error-handling improvements.

Frequently Asked Questions about error-handling-completeness

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I ensure API calls don't crash my application without proper error handling?

Error-handling completeness covers timeouts, retries, and exception management for external API calls. Verify try-catch blocks wrap all API requests, add retry logic with backoff patterns, log failures, and display user-facing error messages to prevent silent crashes and improve resilience.

What error handling do I need for database and file I/O operations?

Database access and file I/O require explicit error handling for connection failures, read/write timeouts, and missing resources. Implement try-catch coverage, add logging for each failure mode, provide meaningful user messages, and consider retry strategies for transient errors to maintain application stability.

How should I handle errors in asynchronous code and JSON parsing?

Asynchronous operations and JSON parsing need dedicated error handlers to catch parsing exceptions and promise rejections. Log each error with context, implement timeouts on async calls, provide clear user feedback when data is invalid, and add retry logic for network-dependent operations.

Why is logging and user-facing error messages critical in production code?

Logging captures what went wrong for debugging; user-facing messages prevent confusion and improve experience. Error-handling completeness ensures both exist: logs contain technical details and stack traces, while users receive actionable, non-technical messages so they understand what happened and what to do next.

Can I audit existing code for error-handling gaps before deploying?

Yes, error-handling completeness identifies high-risk paths in external calls, database access, and user-facing code. It verifies try-catch coverage, validates retry and backoff patterns, ensures logging exists, and provides remediation guidance to prevent production crashes and improve code resilience.

What's the difference between retry logic and timeout handling for external services?

Timeouts prevent indefinite waiting by stopping requests after a set duration; retries attempt recovery after failure with backoff delays. Error-handling completeness ensures both: timeouts prevent hangs, retries with exponential backoff handle transient failures, and logging tracks all attempts for observability.