lint-python

Check Python code quality and style with the Ruff linter.

33|5|Updated Jan 2, 2026
One-click install
npx skills add https://github.com/y1feng200156/ham-study --skill lint-python
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint-python
Source: https://github.com/y1feng200156/ham-study/tree/main/.agent/skills/lint-python
Command: npx skills add https://github.com/y1feng200156/ham-study --skill lint-python

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill automates the process of checking Python code for style violations, potential errors, and security vulnerabilities, ensuring a cleaner and more maintainable codebase.

Core Features & Use Cases

  • Fast Linting: Utilizes Ruff, a significantly faster linter written in Rust, to check code quality.
  • Comprehensive Checks: Covers code style (PEP 8), error detection (Pyflakes), import sorting, and code upgrades.
  • Auto-fixing: Can automatically fix many detected issues with a single command.
  • Use Case: Before committing your Python code, run this Skill to automatically identify and fix style issues and potential bugs, improving code consistency across your team.

Quick Start

Use the lint-python skill to check my Python code for quality issues.

Frequently Asked Questions about lint-python

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check my Python code for PEP 8 compliance and unused imports?

Run this Skill to check Python code for PEP 8 compliance and unused imports. It utilizes the Ruff linter to analyze code style and detect potential errors for a cleaner codebase.

Can Ruff automatically fix Python code style violations?

Yes, Ruff can automatically fix Python code style violations. This Skill applies the Ruff fixer to automatically correct many detected issues during your development workflow.

Do I need Python 3.8+ and Ruff installed to lint my code?

Yes, you need Python 3.8+ and Ruff installed to lint your code. These dependencies are required to perform deterministic code analysis and automated corrections.

What is the best way to identify potential bugs in Python before committing?

The best way to identify potential bugs in Python before committing is using this Skill. It utilizes Ruff to perform comprehensive checks, including error detection via Pyflakes, to ensure code consistency.

How does Ruff handle import sorting and code upgrades for Python?

Ruff handles import sorting and code upgrades by performing comprehensive checks during linting. This Skill utilizes Ruff to automate these specific code quality improvements for Python development workflows.