---
name: logging-best-practices
description: Implement structured logging with levels, context, correlation IDs, and log rotation
category: Software Development
---

# Logging Best Practices

## Overview
Implement structured logging with levels, context, correlation IDs, and log rotation. This skill helps you apply structured, repeatable methods for consistent results.

## When to Use
- When you need to apply logging best practices best practices
- When establishing processes or standards for your workflow
- When training team members on logging best practices
- When automating or optimizing logging best practices tasks

## Instructions
1. **Assess**: Evaluate the current state, requirements, and constraints
2. **Plan**: Define the approach, steps, and success criteria
3. **Execute**: Follow the established patterns and best practices
4. **Verify**: Check results against expected outcomes and quality standards
5. **Iterate**: Refine based on feedback and lessons learned

## Examples
```
User: Help me apply logging best practices for my current project
Assistant: I'll help you apply logging best practices step by step...
```

## Related Skills
- Use with `workflow` tool for orchestrated execution
- Combine with `task` tool for delegated processing
- Reference `system-prompt` for system-level integration
