global-error-handling
Improve Application Error Handling
Inconsistent error handling can hide failures and confuse users. This skill guides Claude, Codex, and Claude Code toward clear exceptions, validation, cleanup, and recovery paths.
Install with my Agent
Copy this request to your Agent. It includes the canonical Skill page and manifest.
Review the Skillstore skill "global-error-handling" from https://skillstore.io/skills/eis-its-global-error-handling.md and its manifest at https://skillstore.io/api/skills/eis-its-global-error-handling/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.Your Agent should still show its plan and request any confirmation required by the security policy.
Agent-readable resources
Use these links when an AI agent, crawler, or script needs clean context instead of reading the full page.
Test it
Using "global-error-handling". Review a file upload handler that catches every exception and returns a generic failure.
Expected outcome:
The review identifies missing file validation, overly broad exception handling, absent cleanup for temporary files, and unclear user messages.
Using "global-error-handling". Design error handling for a payment API that calls an external provider.
Expected outcome:
- Validate request data before calling the provider.
- Separate declined payments from provider outages.
- Use bounded retries only for transient failures.
- Return user-safe messages and log operational details.
Security Audit
SafeThe static path traversal signal is a markdown documentation link, not executable filesystem access. No prompt injection, data exfiltration intent, or malicious behavior was found in SKILL.md.
Risk Factors
๐ Filesystem access (1)
Share & cite this report
Share the versioned assessment report, neutral badge, embed card, and citations. Skillstore reports evidence without deciding whether this Skill is safe.
Copy report link
https://skillstore.io/skills/eis-its-global-error-handling/audits/8?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown badge
[](https://skillstore.io/skills/eis-its-global-error-handling?utm_source=security_passport_badge)HTML badge
<a href="https://skillstore.io/skills/eis-its-global-error-handling?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/eis-its-global-error-handling/security.svg" alt="Skillstore security assessment" loading="lazy"></a>Embed card
<iframe src="https://skillstore.io/embed/skills/eis-its-global-error-handling.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>Academic citations (APA ยท BibTeX ยท CFF)
APA citation
EIS-ITS. (2026). global-error-handling security audit report (audit version 8) [Author version unspecified]. Skillstore. https://skillstore.io/skills/eis-its-global-error-handling/audits/8BibTeX citation
@techreport{eis-its-eis-its-global-error-handling-2026,
author = {EIS-ITS},
title = {global-error-handling security audit report (audit version 8)},
institution = {Skillstore},
year = {2026},
number = {8},
url = {https://skillstore.io/skills/eis-its-global-error-handling/audits/8},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "global-error-handling security audit report (audit version 8)"
version: "unspecified"
type: report
authors:
- name: "EIS-ITS"
date-released: "2026-07-06"
url: "https://skillstore.io/skills/eis-its-global-error-handling/audits/8"
identifiers:
- type: other
value: "skillstore:eis-its-global-error-handling:audit:8"
description: "Skillstore immutable audit report identifier"
Compare variants
2 installable variantsEach author remains a separate installable skill. The recommended variant is ranked by Skillstore evidence.
Why this variant is first
eis-its-global-error-handling
2026-08-21
devanb-global-error-handling
2026-08-21
Skillstore Score
Why this score Evidence Confidence: HighWhat You Can Build
Harden API Failure Paths
Review API handlers for validation, typed errors, safe responses, retries, and cleanup.
Add Frontend Error Boundaries
Design user-friendly fallback behavior for React or similar frontend components.
Standardize Team Error Patterns
Apply one error handling approach across services, tools, and shared libraries.
Try These Prompts
Use the global-error-handling skill to review this function for missing validation, unclear errors, and cleanup gaps.
Use the global-error-handling skill to design consistent API error responses for validation, authorization, dependency, and unexpected failures.
Use the global-error-handling skill to refactor this module so it uses specific exception types, preserves causes, and avoids swallowing errors.
Use the global-error-handling skill to create an error strategy for retries, timeouts, fallback behavior, monitoring, and resource cleanup.
Best Practices
- Validate inputs and preconditions before starting side effects.
- Use specific error types and preserve the original cause.
- Clean up resources in finally blocks or equivalent mechanisms.
Avoid
- Catching all exceptions and continuing without action.
- Showing internal stack traces or secrets to end users.
- Retrying every failure without limits or classification.