python-guidelines
Installation
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)
Related skills
More from stefanmermans/agent-config
react-guidelines
Crucial info when dealing with a React project, these guidelines must always be followed in react contexts.
23markdown-validation
How to validate markdown files
21vue-guidelines
Essential guidelines for Vue.js development. Always follow these rules when working with Vue project.
19laravel-guidelines
When writing or reviewing code in a Laravel project, these guidelines must always be followed.
19general-coding-guidelines
This skill must always be used when writing or reviewing code or tests in any language or framework.
19markdown-guidelines
When creating or editing markdown files, these guidelines must always be followed.
3