Add Logging & Error Handling

•
1
•

Audits deployed services for logging gaps and automatically implements robust error-handling patterns across multiple tech stacks.

The add-logging skill is a specialized utility for Claude Code designed to harden production services by ensuring no error goes unrecorded. It performs a comprehensive audit of your codebase—supporting Node.js, Python, Express, Next.js, and Discord bots—to identify missing global handlers, unhandled promise rejections, and uncaught exceptions. Once gaps are identified, it automatically injects idiomatic try/catch blocks and context-aware logging, transforming silent failures into actionable insights with stack traces and request context. This tool is essential for developers looking to improve observability and stability in live environments.

主要功能

01Discord-specific gateway and shard error listener configuration
02Context-aware error logging including file, function, and request metadata
031 GitHub stars
04Automated audit of Node.js, Python, Express, Next.js, and Supabase Edge Functions
05Standardized API error middleware and status code mapping
06Global handler implementation for unhandledRejection and uncaughtException

使用场景

01Post-incident remediation to ensure future failures provide sufficient debug data
02Standardizing error handling across a multi-stack microservices architecture
03Hardening a service before production deployment to prevent silent crashes