lint

Run ruff and mypy checks to lint and format Python code.

Updated Feb 1, 2026
One-click install
npx skills add https://github.com/bismuthdigital/claude-project-template --skill lint-bismuthdigital
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lint
Source: https://github.com/bismuthdigital/claude-project-template/tree/main/.claude/skills/lint
Command: npx skills add https://github.com/bismuthdigital/claude-project-template --skill lint-bismuthdigital

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of checking and fixing code style and quality issues across your Python codebase, ensuring consistency and reducing bugs.

Core Features & Use Cases

  • Automated Linting: Runs ruff check to identify style violations and potential errors.
  • Automated Formatting: Uses ruff format to automatically correct code formatting.
  • Type Checking: Integrates mypy for static type analysis to catch type-related errors.
  • Use Case: Before committing your code, run this Skill to automatically clean up formatting and catch common errors, ensuring your codebase adheres to project standards.

Quick Start

Run the lint skill to check and fix code style for the entire project.

Frequently Asked Questions about lint

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

FAQPage Schema
How do I automate Python code formatting and linting before committing?

Automate Python code formatting and linting by running a skill that executes ruff check and ruff format to identify style violations and automatically correct formatting across your codebase.

Can I run mypy static type checking alongside ruff for Python code quality?

Yes, you can run mypy static type checking alongside ruff. This skill integrates mypy to catch type-related errors while simultaneously using ruff to enforce style consistency.

Do I need to install ruff and mypy to check Python code style?

Yes, you need ruff and mypy installed and configured for static analysis and style enforcement before running this skill to check and fix your Python codebase.

What is the best way to catch type-related errors and style violations in Python?

The best way to catch type-related errors and style violations is using a combined ruff and mypy workflow that performs automated formatting and static type analysis to reduce bugs.

Why does my Python code quality check fail to automatically fix formatting issues?

Your Python code quality check may fail to fix formatting if ruff is not properly configured. This skill requires ruff and mypy to be set up for static analysis and style enforcement.