logging-error-handling

Community

Ship safer logs and clearer errors.

Authormachenjie
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill helps you design structured logging and error handling that enables fast incident diagnosis while protecting sensitive data and keeping client error responses stable and non-leaky.

Core Features & Use Cases

  • Structured, traceable logging: Ensures every log entry includes correlation IDs and W3C trace context for end-to-end debugging across HTTP requests, queues, and scheduled jobs.
  • Explicit error taxonomy: Separates User, System, ThirdParty, and Security errors with appropriate log levels, audit behavior, and client-safe responses.
  • Sensitive-data protection by design: Prevents secrets, tokens, and personal data from reaching log sinks by enforcing “exclude at the call site” rules, not downstream redaction.

Quick Start

Use this capability to update your services so all errors are consistently categorized, logged as JSON with correlation context, and returned to clients using RFC 7807 without internal details.

Dependency Matrix

Required Modules

None required

Components

references

💻 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: logging-error-handling
Download link: https://github.com/machenjie/rd-skills/archive/main.zip#logging-error-handling

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 471,000+ vetted skills library on demand.