validate-code

Run lint, format, type, and test checks on Python projects.

Updated Feb 9, 2026
One-click install
npx skills add https://github.com/libertininick/pyclaudefig --skill validate-code
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: validate-code
Source: https://github.com/libertininick/pyclaudefig/tree/main/.claude/skills/validate-code
Command: npx skills add https://github.com/libertininick/pyclaudefig --skill validate-code

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ruff, ty, pydoclint, pytest.

What problem does it solve?

Python code quality often requires running multiple tools separately, making validation slow and error-prone.

Core Features & Use Cases

  • Linting and formatting with ruff to enforce style and catch issues early.
  • Type checking with ty and docstring validation with pydoclint to improve readability and correctness.
  • Doctest and test execution with pytest to ensure behavioral consistency across the codebase.

Quick Start

Run the validation script to perform all configured checks on your codebase.

Frequently Asked Questions about validate-code

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

FAQPage Schema
How do I run Python code quality checks for lint, type, and test validation together?

Streamline Python code quality by orchestrating ruff, ty, pydoclint, and pytest through a centralized script. This coordinates lint, format, type, docstring, and test checks end-to-end.

What is the best way to automate Python lint and formatting in a pre-commit workflow?

Automate Python lint and formatting in pre-commit workflows by applying ruff. A centralized validation script orchestrates these modular checks to enforce style and catch issues early before integration.

Can I use pytest and ruff together for comprehensive Python project validation?

Yes, you can use pytest and ruff together for comprehensive Python project validation. A centralized script orchestrates these modular tools alongside ty and pydoclint to handle testing, linting, type, and docstring checks.

Does automated Python type checking with ty work for large applications?

Automated Python type checking with ty works for large applications. The validation script orchestrates ty alongside ruff and pytest to handle changes and reviews across development workflows at scale.

How do I validate Python docstrings and ensure behavioral consistency in my codebase?

Validate Python docstrings and ensure behavioral consistency by running pydoclint and pytest. The centralized script coordinates docstring validation and doctest execution to improve readability and correctness across your codebase.

Why does running multiple Python validation tools separately slow down code reviews?

Running multiple Python validation tools separately slows down code reviews by creating manual orchestration overhead. A centralized script automates ruff, ty, pydoclint, and pytest together to streamline the end-to-end process.