rule-api-logging
CommunityEnforce consistent Python API logging.
Authorbtabaska
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Establishes and enforces consistent logging conventions for the Python API to improve traceability and debugging.
Core Features & Use Cases
- Enforces obtaining loggers via getLogger(name) at module scope and discourages the use of the root logger.
- Standardizes static log message strings and places dynamic values in the extra dict with flat snake_case keys.
- Applies appropriate log levels and redaction guidelines to protect PII, ensuring observability without leaking sensitive data.
- Use Case: when editing api/src/**/*.py, ensures logs are structured, searchable, and auditable across the API surface.
Quick Start
Apply the rule-api-logging guidelines to ensure all Python API logs follow the standardized format.
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: rule-api-logging Download link: https://github.com/btabaska/simpler-grants-documentation-automation/archive/main.zip#rule-api-logging 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.