python-doctorlisted
Install: claude install-skill ragnarok22/agent-skills
# Python Doctor
Run a deterministic Python audit across four categories: **Security**, **Performance**, **Correctness**, and **Architecture**.
Primary output is a scored report with sanitized evidence summaries and prioritized remediation actions.
## How to use
Read individual rule files for detailed explanations and search patterns.
### Conventions
- [rules/audit-conventions.md](rules/audit-conventions.md) - Audit conventions and shared defaults
### Security (13 rules)
- [rules/security.md](rules/security.md) - SEC-01 through SEC-13
- SEC-01: Hardcoded credentials in source
- SEC-02: Shell execution with injection risk
- SEC-03: Unsafe deserialization
- SEC-04: Dynamic code execution
- SEC-05: TLS verification disabled
- SEC-06: Insecure temporary file creation
- SEC-07: Weak randomness in security context
- SEC-08: SQL injection via string formatting
- SEC-09: Binding to all interfaces in production
- SEC-10: Path traversal via unsanitized file paths
- SEC-11: Weak or deprecated hash algorithms for security
- SEC-12: Logging sensitive data
- SEC-13: XML External Entity (XXE) processing
### Performance (10 rules)
- [rules/performance.md](rules/performance.md) - PERF-01 through PERF-10
- PERF-01: Blocking work inside async functions
- PERF-02: Missing timeout on HTTP requests
- PERF-03: Repeated expensive calls inside loops
- PERF-04: Full-file reads where streaming is safer
- PERF-05: Eager list creation in aggregations
- PERF-