py-lint-typecheck

Run ruff linting, formatting, and ty type checking on Python paths.

Updated Feb 14, 2026
One-click install
npx skills add https://github.com/Suniljit/personal-toolkit --skill py-lint-typecheck
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: py-lint-typecheck
Source: https://github.com/Suniljit/personal-toolkit/tree/main/.opencode/skills/py-lint-typecheck
Command: npx skills add https://github.com/Suniljit/personal-toolkit --skill py-lint-typecheck

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Run Python linting, formatting, and type checking using ruff and ty on a specified folder or file path.

Core Features & Use Cases

  • Runs ruff (lint + format) and ty (type checking) on a target path, then attempts to fix issues.
  • Verifies and uses the project's pyproject.toml to manage dependencies and configurations.
  • Provides guided steps for installation and auto-fixing where possible.

Quick Start

Tell me which folder or file to lint and type-check.

Frequently Asked Questions about py-lint-typecheck

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

FAQPage Schema
How do I automate Python linting and type checking on a specific folder?

Automate Python linting and type checking by running ruff and ty on a specified folder or file path. The process applies linting, formatting, and type safety checks to your target path and attempts to automatically fix any detected issues.

Do I need pyproject.toml to run ruff for Python code formatting?

Yes, you need a pyproject.toml file configured with ruff and ty to run Python code formatting and type checking. This configuration file is required to manage dependencies, pin versions, and ensure the checks run correctly within your project environment.

How does uv manage dependencies for Python type checking and linting?

uv manages dependencies for Python type checking and linting by using the project's pyproject.toml configuration. It runs the project's pinned versions of ruff and ty to ensure code quality and type safety checks execute in a consistent environment.

Can I automatically fix lint and type errors in my Python project?

Yes, you can automatically fix lint and type errors in your Python project. The automated process runs ruff and ty on your target path and provides guided steps to attempt fixes for detected code quality and type safety issues.

What is the best way to format Python code and check types using ruff?

The best way to format Python code and check types using ruff is through an automated process that runs ruff for linting and formatting alongside ty for type checking. This approach ensures comprehensive code quality and type safety coverage on your target path.

Why does Python type checking with ty require specific project configurations?

Python type checking with ty requires specific project configurations because it relies on a pyproject.toml file to define settings and pinned versions. Without this setup, the tool cannot properly manage dependencies or execute the necessary lint, format, and type check operations.