AI AGENT ADDONS

Logging Best Practices

boristane/agent-skills

Logging is a key part of any application. This guide shows you how to do it well. You will learn about wide events. These are single log lines that contain all the important details for one request. This helps you debug problems and understand what users are doing.

Instead of scattering many small log messages, you collect everything into one event. You include things like user IDs, cart values, and error details. This makes it much easier to find and fix issues. You can also answer new questions about your app without changing your code.

These best practices work for any service or API. They help your team keep logs consistent and useful. Anyone who writes code that logs can benefit from this simple approach.

Add Logging Best Practices skill to your workflow

Global

mkdir -p ~/.claude/skills/logging-best-practices

Project

mkdir -p .claude/skills/logging-best-practices

Source Repository

Stars
101
Forks
9
Watchers
101
Last Push
6 months ago
Created
6 months ago