python-code-style

Enforce Python code style with ruff, mypy, and Google-style docstrings.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/ekremmkasap/jarvis --skill python-code-style-ekremmkasap
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-code-style
Source: https://github.com/ekremmkasap/jarvis/tree/main/server/agent_prompts/wshobson/plugins/python-development/skills/python-code-style
Command: npx skills add https://github.com/ekremmkasap/jarvis --skill python-code-style-ekremmkasap

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Inconsistent Python coding standards create maintenance headaches, onboarding friction, and brittle codebases. This skill provides a unified approach to styling, linting, formatting, and documenting Python code across projects.

Core Features & Use Cases

  • Automated formatting and linting configuration with tools like ruff and mypy
  • Encouragement of clear docstrings and robust type annotations for public APIs
  • Guidance on naming conventions, import organization, and line-length discipline

Quick Start

Configure your project for Python style by installing and enabling ruff and mypy, and adding a pyproject.toml with the desired rules.

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 Python code style and linting rules across a project?

You can enforce Python code style by configuring linters and type checkers like ruff and mypy. This skill automates applying consistent formatting, naming conventions, and import organization across your codebase.

What is the best way to configure ruff and mypy for consistent Python formatting?

The best way to configure ruff and mypy is by adding a pyproject.toml file. This skill guides you in enabling desired rules, setting a 120-character line-length, and maintaining type-checking standards.

How do I maintain Google-style docstrings and type hints in Python public APIs?

Maintaining Google-style docstrings and type hints requires enforcing documentation standards for public APIs. This skill automates checks to ensure clear docstrings and robust type annotations are present.

Can I use this Python style enforcement for reviewing code and configuring linters?

Yes, you can use this for writing new code, reviewing style, and configuring linters. It applies rules for 120-character line-length, import conventions, and type-checking to satisfy project requirements.

Why do I need type-checking and linting configuration for my Python codebase?

Type-checking and linting configuration solve the problem of inconsistent Python coding standards, which create maintenance headaches and brittle codebases. Enforcing these standards reduces onboarding friction and improves maintainability.