Skill / SKILL.md

Secure Error Handling

harperaa/secure-claude-skills

Implement secure error handling to prevent information leakage and provide appropriate error responses. Use this skill when you need to handle errors in API routes, prevent stack trace exposure, implement environment-aware error messages, or use the error handler utilities. Triggers include "error handling", "handle errors", "error messages", "information leakage", "stack trace", "handleApiError", "production errors", "error responses".
2 views 19 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Implement secure error handling to prevent information leakage and provide appropriate error responses. Use this skill when you need to handle errors in API routes, prevent stack trace exposure, implement environment-aware error messages, or use the error handler utilities. Triggers include "error handling", "handle errors", "error messages", "information leakage", "stack trace", "handleApiError", "production errors", "error responses".

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/harperaa/secure-claude-skills' skill-source

Use the complete skill-source/error-handling directory with your client’s skill installer.

Source directory error-handling

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Included files
1 included files
Source & validation
Source status
Awaiting source check
Format validation
Needs source review
Checked at
Pending source check
Content SHA-256
c224ad50754fe7296b46b0945a5b20e47db6352841501bf1c523b3f9184ef0c4
Format validation findings
  • Declared name does not match the source directory.
Agent Skills specification
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills