Code Consistency - Logging & Standards
CommunityEnsure proper logging levels and exception context.
Authortaylorsatula
Version1.0.0
Installs0
System Documentation
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.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: Code Consistency - Logging & Standards Download link: https://github.com/taylorsatula/mira-OSS/archive/main.zip#code-consistency-logging-standards Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.