Code Consistency - Logging & Standards

Check Python logging levels, exception context, and logger patterns.

476|42|Updated Oct 18, 2025
One-click install
npx skills add https://github.com/taylorsatula/mira-OSS --skill code-consistency-logging-standards
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Code Consistency - Logging & Standards
Source: https://github.com/taylorsatula/mira-OSS/tree/main/.claude/skills/checking-code-consistency
Command: npx skills add https://github.com/taylorsatula/mira-OSS --skill code-consistency-logging-standards

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provides guidelines and checks to ensure Python logging levels are appropriate, exception context is preserved, and logging patterns follow best practices for observability.

Core Features & Use Cases

  • Logging level decision tree: map runtime events to appropriate log levels.
  • Exception context: enforce logger.exception in except blocks to capture stack traces.
  • Logger patterns: encourage named loggers, avoid logging sensitive data, and prefer structured patterns.
  • Security & operational considerations: redact sensitive data and avoid root logger usage.

Quick Start

Run the checker across Python files and fix flagged logging issues according to the guidelines.