python

Apply Python best practices for writing, reviewing, and refactoring code.

Updated Nov 24, 2025
One-click install
npx skills add https://github.com/oornnery/portfolio --skill python-oornnery
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python
Source: https://github.com/oornnery/portfolio/tree/main/.agents/skills/python
Command: npx skills add https://github.com/oornnery/portfolio --skill python-oornnery

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Python development often suffers from inconsistent style, weak typing, and fragmented tooling. This skill consolidates best practices, conventions, and toolchain guidance to elevate code quality across writing, review, and refactoring tasks.

Core Features & Use Cases

  • Establishes coding standards, typing discipline, and async patterns for scalable Python projects.
  • Guides dependency management, logging, validation pipelines, and module routing (FastAPI, JX, testing, HTTP clients, TUI, CLI).
  • Applies across FastAPI services, server-rendered components, and CLI-based tooling to improve reliability and maintainability.

Quick Start

Apply these Python best practices to your current codebase to improve readability, reliability, and maintainability.

Frequently Asked Questions about python

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

FAQPage Schema
How do I enforce Python best practices for typing and async patterns in FastAPI?

Establish consistent typing discipline and async patterns to improve FastAPI code quality. This approach consolidates style conventions and toolchain guidance directly into your service development workflow for better reliability.

What is the best way to standardize Python linting and dependency management across a codebase?

Standardize Python linting and dependency management by establishing coding standards and routing modules through a unified toolchain. This method enforces style conventions and typing discipline, ensuring maintainability across writing, reviewing, and refactoring tasks.

Does this Python best practices guidance work for CLI tooling and HTTP client usage?

Yes, this Python best practices guidance directly applies to CLI tooling and HTTP client usage. It provides specific patterns and conventions to improve reliability and maintainability across testing, TUI, and server-rendered components.

Can I use this to refactor existing Python code into more Pythonic patterns?

Yes, you can refactor existing Python code into Pythonic patterns. It actively applies best-practice guidance during code review and refactoring tasks, enforcing modern style conventions and typing discipline for scalable projects.

When do I need structured logging and validation pipelines in Python projects?

You need structured logging and validation pipelines in Python projects when building scalable services like FastAPI. Implementing these best practices ensures reliability and maintainability across complex module routing, testing, and HTTP client interactions.