This covers the fundamentals you need to get logging right: structured JSON formats, proper log levels (DEBUG through FATAL), contextual data like request IDs, and PII redaction. It includes practical examples for distributed tracing, centralized logging setups, and log sampling for high-volume services. The best practices section is solid, especially the warnings about not logging sensitive data and avoiding console.log in production. Most useful when you're setting up logging infrastructure from scratch or auditing what you already have. The TypeScript examples are clean, though you'll need to adapt them to your language and existing logger library.
npx skills add https://github.com/aj-geddes/useful-ai-prompts --skill logging-best-practices