py-standard

Configure Python 3.12+ projects with uv, Ruff, and loguru conventions.

2|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/cjinzy/jin-claude --skill py-standard
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: py-standard
Source: https://github.com/cjinzy/jin-claude/tree/main/plugins/jin-claude/skills/py-standard
Command: npx skills add https://github.com/cjinzy/jin-claude --skill py-standard

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive guide and setup for establishing standardized Python development environments and coding conventions, ensuring consistency and quality across projects.

Core Features & Use Cases

  • Standardized Tooling: Recommends and configures uv for package management, Ruff for linting/formatting, and loguru for logging.
  • Code Quality: Enforces Python 3.12+ compatibility, type hinting, and adherence to PEP8 import sorting.
  • Best Practices: Guides on naming conventions, exception handling with traceback, and writing clear, localized docstrings.
  • Use Case: When starting a new Python project, use this Skill to automatically set up a robust and consistent development environment, or apply its guidelines to refactor existing code for better maintainability.

Quick Start

Initialize a new Python project with standard conventions by running uv init and configuring Ruff and loguru.

Frequently Asked Questions about py-standard

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

FAQPage Schema
How do I set up a new Python project with standardized linting and code style?

To set up a standardized Python project, initialize your environment using uv for package management and configure Ruff for linting and formatting, ensuring adherence to PEP8 code style and import sorting.

What is the recommended way to configure logging in a Python 3.12 project?

The recommended way to configure logging in a Python 3.12 project is using loguru, which provides a robust and standardized logging convention as part of your project's core development environment.

Does this Python convention guide require specific package managers and linters?

Yes, this Python convention guide requires using uv for package management and Ruff for linting, specifically targeting Python 3.12+ projects to enforce type hinting and code quality.

Can I use these Python code standards to refactor existing codebases?

Yes, you can apply these Python code standards to refactor existing code, ensuring better maintainability by enforcing type hints, specific docstring practices, and standardized exception handling with traceback.

What's the best way to enforce type hints and docstring conventions in Python?

The best way to enforce type hints and docstring conventions is by configuring Ruff and applying standardized guidelines that dictate clear, localized docstrings and strict type hinting across your Python project.