python-engineer

Guide Python 3.12+ development with uv-based workflows and explicit typing.

26|7|Updated Jun 9, 2012
One-click install
npx skills add https://github.com/benswift/.dotfiles --skill python-engineer-benswift
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-engineer
Source: https://github.com/benswift/.dotfiles/tree/main/claude/skills/python-engineer
Command: npx skills add https://github.com/benswift/.dotfiles --skill python-engineer-benswift

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill guides Python developers to adopt modern, opinionated practices for Python 3.12+ with explicit typing, robust testing, and clear project management using uv.

Core Features & Use Cases

  • Establishes a consistent development model using uv for dependency management, virtual environments, script execution, and packaging.
  • Recommends modern libraries and patterns (polars over pandas, pydantic/sqlmodel, typer, httpx) to improve performance and safety.
  • Use Case: Teams shipping Python projects with reliable typing, test coverage, and clear code structure across small utilities to large services.

Quick Start

Create a new Python project and follow the uv-based workflow to enforce modern best practices.

Frequently Asked Questions about python-engineer

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

FAQPage Schema
How do I set up a type-safe Python project using uv?

To set up a type-safe Python project, use uv to manage dependencies, virtual environments, and script execution while enforcing explicit type hints and robust testing for Python 3.12+. This creates a consistent, reliable development workflow.

What are the best practices for modern Python dependency management?

Modern Python dependency management best practices involve using uv as the central workflow tool for packaging and virtual environments, enforcing explicit dependencies via inline script declarations, and adopting libraries like polars and pydantic for safety.

Does this Python development workflow support older Python versions?

This Python development workflow targets Python 3.12+ projects specifically, requiring robust typing and modern tooling. It is not designed for older Python versions and focuses on establishing modern, opinionated practices.

Why should I use polars instead of pandas for data processing?

You should use polars instead of pandas to improve performance and safety in your Python projects. This modern approach aligns with type-safe development practices and integrates with other recommended libraries like pydantic and sqlmodel.

How do I enforce type hints and code quality in Python 3.12?

To enforce type hints and code quality in Python 3.12, adopt an opinionated development model using uv for project management, pydantic for runtime validation, and strict observability guidelines for robust error handling.

What libraries should I use for modern type-safe Python development?

For modern type-safe Python development, use uv for project management, polars over pandas for data, pydantic or sqlmodel for validation, typer for CLI creation, and httpx for HTTP requests to ensure performance and safety.