error-sanitization

Community

Securely handle errors, protect sensitive data.

Authordadbodgeoff
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill prevents sensitive information like database strings, file paths, and API keys from being accidentally exposed to users in error messages, ensuring production safety.

Core Features & Use Cases

  • Production-Safe Error Logging: Logs full error details server-side for debugging while showing generic messages to users.
  • Information Leakage Prevention: Filters out sensitive patterns from user-facing error outputs.
  • Use Case: When a user encounters an error on your website, instead of seeing a cryptic database error, they see a simple "Operation failed. Please try again." while the full error is logged for developers.

Quick Start

Use the error-sanitization skill to create a safe HTTP exception for a given Python exception.

Dependency Matrix

Required Modules

None required

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: error-sanitization
Download link: https://github.com/dadbodgeoff/drift/archive/main.zip#error-sanitization

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.