python-code-style

Automates Python code style, linting, formatting, and Google-style docstrings using ruff, mypy, and pyright.

Updated May 30, 2026
One-click install
npx skills add https://github.com/sandeshbagmare/AgenticQ --skill python-code-style-sandeshbagmare
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-code-style
Source: https://github.com/sandeshbagmare/AgenticQ/tree/main/examples/python_agenticq_demo/.claude/plugins/python-development/skills/python-code-style
Command: npx skills add https://github.com/sandeshbagmare/AgenticQ --skill python-code-style-sandeshbagmare

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires ruff, mypy, pyright, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps in setting up consistent code style, linting, formatting, and documentation standards, which are essential for maintaining a maintainable and collaborative codebase.

Core Features & Use Cases

  • Automated Formatting: Uses ruff for enforcing PEP 8 standards with automated formatting and linting.
  • Type Checking: Integrates mypy for strict type checking and pyright for faster type checking options.
  • Naming Conventions: Adheres to PEP 8 conventions for naming and clarity.
  • Docstring Formatting: Ensures clear and informative documentation using Google-style docstrings.
  • Use Case: Suitable for projects aiming to establish a standard code of practice for all team members, improving code readability and reducing the risk of errors.

Quick Start

Use the python-code-style skill to format your codebase using the provided configuration.

Frequently Asked Questions about python-code-style

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

FAQPage Schema
How do I enforce PEP 8 and Python code style consistency across a project?

Automating Python code style and documentation requires setting up linting, formatting, and type checking. This Skill configures ruff, mypy, and pyright to enforce PEP 8 standards and Google-style docstrings.

Does this Python linting setup support both mypy and pyright for type checking?

Yes, this Python linting and formatting configuration supports both mypy for strict type checking and pyright for faster type checking options. You can enforce type safety alongside PEP 8 standards.

What is the best way to automate Python docstring formatting for a team?

Automating Python docstring formatting is best handled by enforcing Google-style docstrings. This Skill checks and formats documentation to ensure clear, informative standards across the team's codebase.

Can I use ruff to handle both Python code formatting and linting?

Yes, you can use ruff to handle both Python code formatting and linting. This Skill leverages ruff to provide automated formatting and enforce PEP 8 standards simultaneously.

Why do I need type checking with mypy if I already use ruff for Python formatting?

You need type checking with mypy because ruff focuses on code formatting and linting, not type validation. Mypy adds strict type checking to reduce runtime errors and improve overall code maintainability.