
Description
logging-best-practices is an agent skill from Boris Tane's agent-skills collection, listed on skills.sh. It gives an AI agent guidelines for writing effective logs in applications, centered on wide events, also called canonical log lines. The idea is to emit one context-rich event per request per service, instead of many scattered log lines, so that a single record holds everything needed to debug or analyze that request. The skill's core principles put wide events first, and the rules explain what the event should hold. It applies when the agent writes or reviews logging code, adds calls such as console.log or logger.info, designs a logging strategy for a new service, or sets up logging infrastructure. The skill is written for developers who want logs that answer questions about production behavior, rather than logs that only record that something happened.…
Highlights
- One wide event per request per service
- Guidelines for reviewing logging code
- Logging strategy for new services
- Versioned skill at 1.0.0
Ratings & Reviews
No ratings yet
Be the first to rate logging-best-practices.
People also visit
logging-best-practices FAQ
What does logging-best-practices do?
It guides an AI agent to write and review logs as wide events, one context-rich event per request per service.
How do I install it?
Run: npx skills add https://github.com/boristane/agent-skills --skill logging-best-practices.
Is it free?
Yes. The skill is free to add.
What is a wide event?
A single, context-rich log event per request per service, also called a canonical log line.
When should it apply?
When writing or reviewing logging code, adding logger calls, or designing logging for a service.
What are the best logging-best-practices alternatives?
Popular alternatives to logging-best-practices include growth-log, dt-obs-logs and logfire-query. See all logging-best-practices alternatives
















