error-sanitization
✓生产安全的错误处理,在服务器端记录完整的详细信息,同时仅向用户公开通用的安全消息。防止数据库字符串、文件路径、堆栈跟踪和 API 密钥的信息泄漏。
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.
生产安全的错误处理,在服务器端记录完整的详细信息,同时仅向用户公开通用的安全消息。防止数据库字符串、文件路径、堆栈跟踪和 API 密钥的信息泄漏。 来源:dadbodgeoff/drift。
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dadbodgeoff/drift --skill error-sanitization 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
可引用信息
为搜索与 AI 引用准备的稳定字段与命令。
- 安装命令
npx skills add https://github.com/dadbodgeoff/drift --skill error-sanitization- 分类
- </>开发工具
- 认证
- ✓
- 收录时间
- 2026-02-06
- 更新时间
- 2026-02-18
快速解答
什么是 error-sanitization?
生产安全的错误处理,在服务器端记录完整的详细信息,同时仅向用户公开通用的安全消息。防止数据库字符串、文件路径、堆栈跟踪和 API 密钥的信息泄漏。 来源:dadbodgeoff/drift。
如何安装 error-sanitization?
打开你的终端或命令行工具(如 Terminal、iTerm、Windows Terminal 等) 复制并运行以下命令:npx skills add https://github.com/dadbodgeoff/drift --skill error-sanitization 安装完成后,技能将自动配置到你的 AI 编程环境中,可以在 Claude Code 或 Cursor 中使用
这个 Skill 的源码在哪?
https://github.com/dadbodgeoff/drift
详情
- 分类
- </>开发工具
- 来源
- skills.sh
- 收录时间
- 2026-02-06