The logging-best-practices skill provides guidelines for implementing effective logging through "wide events" (canonical log lines)—a pattern where developers emit a single, context-rich structured event per request per service rather than scattering multiple log lines throughout code. It's designed for developers writing or reviewing logging code, designing logging strategies for new services, and setting up logging infrastructure. The skill solves the problem of fragmented, difficult-to-debug logs by consolidating request context (business metrics, environment details, performance data, and error information) into queryable structured events that enable powerful debugging and analytics.
npx skills add https://github.com/boristane/agent-skills --skill logging-best-practices