Engineering
python avatar

python

Python coding assistant providing best practices, PEP 8 enforcement, automated testing with pytest, and dependency management using uv.

Introduction

This skill acts as a comprehensive Python development guide, designed to streamline coding, refactoring, and code review workflows for modern Python projects. It ensures high-quality output by enforcing strict style conventions and idiomatic patterns that prioritize reliability and maintainability. By integrating directly into the agent's development loop, it helps developers maintain consistent standards across diverse codebases, from small scripts to complex applications.

  • Enforces PEP 8 style standards including 88-character line limits and standardized import ordering.

  • Facilitates automated syntax validation using py_compile and robust test execution with pytest or unittest.

  • Manages dependencies efficiently by preferring the high-performance uv package manager while providing pip fallbacks.

  • Promotes modern Python 3.10+ features such as type hints, match statements, walrus operators, and dataclasses.

  • Implements best practice patterns like EAFP (Easier to Ask for Forgiveness than Permission) and proper context management for resources.

  • Highlights critical anti-patterns to avoid, such as mutable default arguments, bare except blocks, and global state usage.

  • Intended for software developers and AI agents focusing on Python backend development, script automation, and utility creation.

  • Typical usage involves invoking the skill during the code generation phase to ensure adherence to professional coding standards.

  • Supports rapid project initialization using uv init and virtual environment management.

  • Requires developers to follow documented docstring formats for improved maintainability and IDE integration.

  • Essential for teams looking to enforce high code quality, standardized formatting, and secure dependency practices in their internal repositories.

Repository Stats

Stars
4,430
Forks
1,202
Open Issues
7
Language
Python
Default Branch
main
Sync Status
Idle
Last Synced
Apr 29, 2026, 07:56 AM
View on GitHub