py-error-handling
Installation
SKILL.md
Python Error-Handling Review
Use these rules when changed code creates, catches, transforms, logs, retries, or suppresses failures.
Freshness: stable (no external references) — review rules based on core Python conventions, not volatile APIs.
Review Rules
Rule: error-validate-boundary
Impact: HIGH Applies when: External input enters the system through API handlers, CLI args, config, files, queues, or network payloads. Skip when: The caller already validated the exact invariant and the contract is local and obvious. Python: any Tools: none Review signal: Code trusts raw strings, dicts, or numeric ranges until deep inside business logic.