python-coding-standards
Pass
Audited by Gen Agent Trust Hub on Oct 2, 2026
Risk Level: SAFE
Full Analysis
- [SAFE]: The skill defines a set of best practices for Python development, requiring type hints for parameters and return types, and prohibiting the use of mutable global variables. These are standard architectural recommendations.
- [SAFE]: It mandates the use of logging for diagnostics and requires that all I/O operations (HTTP, DB, subprocess, file) be wrapped in try/except blocks. This improves application resilience and visibility.
- [SAFE]: Dependency management guidelines recommend standard version pinning using PEP 440 syntax. It also provides a safe, descriptive command for pip installation to prevent hangs in environments without binary wheels.
- [SAFE]: The testing section provides sound advice on using pytest, avoiding tautologies, and ensuring side-effecting boundaries are mocked to prevent data corruption during tests.
Audit Metadata