What problem does it solve?
Logs are often inconsistent, hard to query, and miss critical context across services. This Skill defines a standardized approach to structured, wide-event logging using Pino, enabling unified observability and faster incident response.
Core Features & Use Cases
- Enforces error-first logging and 100% visibility for failures.
- Adopts the wide events pattern: one richly-detailed log per request with high-cardinality identifiers.
- Includes snake_case field naming, PII redaction, and correlation context (trace_id, span_id, correlation_id).
- Guides tail sampling and structured JSON logging to reduce log noise while preserving critical signals.
- Use cases: when writing logging code, reviewing logs, implementing error handling, or when the user mentions logging, errors, or observability.
Quick Start
Configure your services to emit a single, richly-detailed log per request using Pino, ensuring error-first logging, proper redaction, and sampling where appropriate.