Python Style Standards

Community

Boost Python readability and maintainability.

Authorrandalmurphal
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Python coding standards including line length (80 chars), naming conventions (snake_case, PascalCase), type hints, docstrings, exception handling, and logging patterns. Use when writing new Python code or reviewing code quality.

Core Features & Use Cases

  • Line Length & Formatting: Enforce 80-character limit and PEP 8 compliance.
  • Naming Conventions: snake_case for functions/vars; PascalCase for classes.
  • Type Hints & Docstrings: Mandatory type hints and descriptive docstrings.
  • Exception Handling & Logging: Structured patterns for errors and logs.

Quick Start

Use the Python style standards before writing new Python code or during reviews. Run ruff format ., ruff check ., and mypy as part of the CI linting.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Python Style Standards
Download link: https://github.com/randalmurphal/claude-config/archive/main.zip#python-style-standards

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository