What problem does it solve?
This Skill removes uncertainty and inconsistency in Python codebases by enforcing an immediate ruff-based format and lint workflow after every change, so style issues never linger.
Core Features & Use Cases
- Ruff formatting and auto-fixing: Immediately runs ruff check --fix and ruff format for the modified file to keep changes clean and compliant.
- API correctness guardrails: Requires verifying external package APIs via web documentation, inspecting installed packages, or using help() before relying on library behavior.
- Quality standards guidance: Points to a dedicated best_practices reference covering PEP 8, type hinting, imports, error handling, and testing expectations.
Quick Start
Use the pyhd skill when editing any Python file in a project, then run ruff check --fix and ruff format on that file immediately after each modification.