python-guidelines

SKILL.md

Python Guidelines

Logging

When calling a logger by for example calling logger.infog(...) or logger.debug(...) etc.. always use lazy string formatting when interpolating variables for performance.

Bad example. Must avoid:

logging.error(f"Python version: {sys.version}")

Good example, use Lazy formatting

logging.error("Python version: %s", sys.version)
Weekly Installs
14
First Seen
Feb 18, 2026
Installed on
opencode14
gemini-cli14
github-copilot14
amp14
codex14
kimi-cli14