pyhd

Community

Format and lint Python code with ruff

Authordanicat
Version1.0.0
Installs0

System Documentation

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.

Dependency Matrix

Required Modules

None required

Components

referencesassetsscripts

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: pyhd
Download link: https://github.com/danicat/skills/archive/main.zip#pyhd

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.