python-dev

Enforce type hints, snake_case, Google-style docstrings, and pytest for Python projects.

1|Updated Dec 15, 2025
One-click install
npx skills add https://github.com/lucaslessachaves/default --skill python-dev-lucaslessachaves
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: python-dev
Source: https://github.com/lucaslessachaves/default/tree/main/.claude/skills/python-dev
Command: npx skills add https://github.com/lucaslessachaves/default --skill python-dev-lucaslessachaves

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Python development is prone to inconsistencies without shared standards. This Skill provides guidance on code quality, error handling, testing practices, and environment management to help teams write more robust Python code and maintainable notebooks.

Core Features & Use Cases

  • Code quality: Enforces type hints, naming conventions, docstrings, and small functions.
  • Error handling & testing: Encourages specific exceptions, input validation, pytest-based testing practices.
  • Environment & tooling: Recommends using uv for dependencies, linting with Ruff, and type checking with Pyright to maintain consistent environments.

Quick Start

Install the recommended tooling and apply the guidelines to a sample Python project to start improving code quality.

Frequently Asked Questions about python-dev

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

FAQPage Schema
How do I standardize Python code quality and enforce type hints in my project?

To standardize Python code quality, enforce type hints, snake_case naming, Google-style docstrings, and small functions. This approach ensures consistent, maintainable code across teams by applying structured linting and formatting rules throughout the project lifecycle.

What's the best way to set up a Python testing and error handling workflow?

The best way to set up Python testing involves using pytest for test execution and encouraging specific exceptions with input validation. This testing workflow improves code reliability by catching errors early and ensuring robust error handling across typical projects.

How does uv work with Python environment management and dependency control?

uv works with Python environment management by standardizing dependency control and virtual environment setup. It provides fast, reliable package installation and environment isolation, ensuring consistent development environments across different machines and team members.

Can I use Ruff and Pyright for linting and type checking in Python development?

Yes, you can use Ruff for linting and Pyright for type checking in Python development. Combining these tools maintains consistent environments by automating code quality enforcement, identifying syntax errors, and verifying type correctness during the development process.

Why should I use Google-style docstrings and small functions in Python?

You should use Google-style docstrings and small functions in Python to improve code maintainability and readability. This practice standardizes documentation, clarifies function purposes, and ensures modules remain testable, directly elevating overall code quality and reliability.