What problem does it solve?
Poor logging practices lead to un-debuggable production incidents, secret leaks, inconsistent alerting, and wasted time grepping through unstructured log noise. This Skill eliminates those issues by enforcing disciplined, structured logging standards that make production systems observable and secure.
Core Features & Use Cases
- Structured Logging Enforcement: Replaces free-form log strings with named-field structured entries for queryability and aggregation.
- Log Level Policy: Defines clear level rules (error, warn, info, debug) to make alerts reliable and reduce noise.
- Secret & PII Redaction: Mandates redaction of sensitive data at the logger boundary to prevent data leaks.
- Distributed Systems Guidance: Covers correlation ID propagation and log-trace linkage for microservice architectures.
- Use Case: For a polyglot microservice application using TypeScript, Go, and Python, use this Skill to standardize logging across all services so on-call engineers can debug cross-service requests in minutes instead of hours of timestamp correlation.
Quick Start
Use the logging skill to audit your codebase for logging anti-patterns like unstructured log entries, unredacted secrets, and missing correlation IDs, then implement the recommended structured logging and level discipline standards.