·error-sanitization
</>

error-sanitization

dadbodgeoff/drift

Production-safe error handling that logs full details server-side while exposing only generic, safe messages to users. Prevents information leakage of database strings, file paths, stack traces, and API keys.

10Installs·0Trend·@dadbodgeoff

Installation

$npx skills add https://github.com/dadbodgeoff/drift --skill error-sanitization

SKILL.md

Production-safe error handling: log everything server-side, expose nothing sensitive to users.

Error messages can leak sensitive information including database connection strings, internal file paths, stack traces, API keys, and business logic details. The solution is to always log full error details server-side for debugging while returning only generic, safe messages to users.

Production-safe error handling that logs full details server-side while exposing only generic, safe messages to users. Prevents information leakage of database strings, file paths, stack traces, and API keys. Source: dadbodgeoff/drift.

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/dadbodgeoff/drift --skill error-sanitization Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/dadbodgeoff/drift --skill error-sanitization
Category
</>Dev Tools
Verified
First Seen
2026-02-06
Updated
2026-02-18

Quick answers

What is error-sanitization?

Production-safe error handling that logs full details server-side while exposing only generic, safe messages to users. Prevents information leakage of database strings, file paths, stack traces, and API keys. Source: dadbodgeoff/drift.

How do I install error-sanitization?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/dadbodgeoff/drift --skill error-sanitization Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/dadbodgeoff/drift