python-code-style

Enforce ruff linting and numpydoc docstring conventions on Python code.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill ensures Python code quality and style consistency by using ruff for linting and formatting, and numpydoc for docstring conventions.

Core Features & Use Cases

  • Code Linting: Automatically fix and check Python code for style issues using ruff.
  • Docstring Formatting: Enforce numpydoc-style docstrings for public functions and classes.
  • Use Case: When you want to maintain a consistent code style across your Python projects, this Skill can be invoked to ensure that your code adheres to the specified standards.

Quick Start

Run the python-code-style skill on the Python files you've edited to ensure they follow the ruff and numpydoc 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 enforce Python code style and linting with ruff?

Enforce Python code style by running ruff to automatically check and fix linting issues across your project files, ensuring consistent formatting and adherence to style rules.

What is the best way to format Python docstrings using numpydoc?

Format Python docstrings using numpydoc to enforce consistent documentation conventions for public functions and classes, ensuring your API documentation remains structured and standardized.

Do I need ruff and numpydoc installed to lint and format my Python project?

Yes, you must install ruff and numpydoc in your project environment, as the skill requires these dependencies to execute linting checks and enforce docstring formatting conventions.

Can I automatically fix Python code quality issues across my project?

Yes, you can automatically fix Python code quality issues by invoking the skill on edited files, which leverages ruff to resolve style violations and applies numpydoc standards to docstrings.

Why use ruff for Python linting instead of other code style tools?

Ruff provides fast Python linting and formatting capabilities, allowing you to consolidate style enforcement and automatic error fixing into a single tool rather than maintaining multiple separate linters.