python-code-style

Configure ruff, mypy, black, and Google-style docstrings for Python projects.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/jacexh/skills --skill python-code-style-jacexh
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-code-style
Source: https://github.com/jacexh/skills/tree/main/skills/python-code-style
Command: npx skills add https://github.com/jacexh/skills --skill python-code-style-jacexh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Standardize Python code style, linting, formatting, naming conventions, and documentation to reduce bikeshedding and improve maintainability across teams.

Core Features & Use Cases

  • Automated tooling to configure and enforce linting, formatting, type checks, and docstring conventions with a single, repeatable setup.
  • Documentation as code through Google-style docstrings and public API documentation integrated with code.
  • Team-wide consistency for imports, naming, and line-length guidelines across projects.

Quick Start

Install the recommended tooling and apply a unified configuration across your project to start enforcing Python style and documentation standards.

Frequently Asked Questions about python-code-style

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

FAQPage Schema
How do I configure Python linting and formatting tools for a new project?

Configure Python linting and formatting by installing ruff, mypy, and black, then applying a unified configuration across your project. This enforces consistent style, type checks, and documentation standards with a single repeatable setup.

What is the best way to enforce Google-style docstrings for public APIs?

Enforce Google-style docstrings by integrating documentation as code and applying linting rules that satisfy public API guidelines. This standardizes documentation to reduce bikeshedding and improve maintainability across teams.

Can I use ruff and mypy together for Python static analysis?

Yes, you can use ruff and mypy together for Python static analysis. Configuring both tools provides a unified setup that enforces linting, formatting, and type checking standards across your project.

How do I standardize Python code style across multiple engineering teams?

Standardize Python code style across teams by applying automated tooling for linting, formatting, and documentation. This ensures team-wide consistency for imports, naming, and line-length guidelines across all projects.

Does Python code style enforcement require specific linters to work?

Python code style enforcement requires tooling configuration for ruff, mypy, black, or equivalent linters and type checkers. These tools apply the configuration to enforce style and documentation standards.