standardizing-python

Enforce Python code standards using ruff and mypy checks.

1|Updated Jan 6, 2026
One-click install
npx skills add https://github.com/outcomeengineering/spx-claude --skill standardizing-python-outcomeengineering
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: standardizing-python
Source: https://github.com/outcomeengineering/spx-claude/tree/main/plugins/python/skills/standardizing-python
Command: npx skills add https://github.com/outcomeengineering/spx-claude --skill standardizing-python-outcomeengineering

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill ensures Python code adheres to strict quality, readability, and maintainability standards, preventing common errors and improving collaboration.

Core Features & Use Cases

  • Type Hinting Enforcement: Mandates complete type annotations for all functions and parameters.
  • Naming Conventions: Enforces clear and consistent naming for variables, functions, and classes.
  • Linting Rules: Integrates with tools like Ruff and mypy to catch stylistic and potential errors.
  • Use Case: When developing a new Python feature, reference this Skill to ensure your code is clean, well-typed, and follows best practices before it's merged.

Quick Start

Ensure your Python code follows the type annotation and naming conventions outlined in this skill.

Frequently Asked Questions about standardizing-python

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

FAQPage Schema
How do I enforce Python coding standards and type annotations in my project?

You can enforce Python coding standards by applying linters like ruff and mypy to validate type annotations, naming conventions, and linting rules across all production and test files for consistency.

What is the best way to check Python type hints and naming conventions before merging code?

The best way to check Python type hints and naming conventions is using ruff rule codes and mypy checks to catch stylistic errors and mandate complete type annotations for functions and parameters before merge.

Does ruff work with mypy for Python linting and type checking?

Yes, ruff works with mypy for Python linting and type checking. Ruff catches stylistic errors and naming conventions while mypy validates complete type annotations for all functions and parameters.

Can I use Python linting rules for both production and test files?

Yes, you can use Python linting rules for both production and test files. This ensures code quality, readability, and maintainability standards are met across the entire Python codebase without exceptions.

Why do I need complete type annotations in my Python functions?

You need complete type annotations in Python functions to prevent common errors and improve collaboration. Mandating type hints for all functions and parameters ensures strict quality and maintainability standards are met.

What are the limitations of using ruff and mypy for Python code standards?

The limitation of using ruff and mypy is that successful validation requires strict adherence to specific ruff rule codes and mypy checks, meaning any incomplete type annotations or naming violations will fail validation.