Python Development

Configure Python projects with uv, ruff, mypy, and pytest.

10|Updated Jun 30, 2020
One-click install
npx skills add https://github.com/laurigates/dotfiles --skill python-development
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Python Development
Source: https://github.com/laurigates/dotfiles/tree/main/dot_claude/skills/python-development
Command: npx skills add https://github.com/laurigates/dotfiles --skill python-development

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires uv, ruff, pytest, mypy, hatchling, bandit, safety, sphinx, and includes references (resource) components.

What problem does it solve?

Traditional Python development can be slow and prone to errors due to package management complexities, lack of strict typing, and fragmented tooling. This Skill streamlines your workflow with ultra-fast tools and best practices, ensuring robust, maintainable, and high-quality Python projects.

Core Features & Use Cases

  • Fast Tooling: Leverage uv for lightning-fast package management and ruff for instant linting and formatting, replacing slower alternatives.
  • Type Safety & Testing: Implement static type checking with mypy and comprehensive testing with pytest for reliable code.
  • Modern Project Setup: Configure projects using pyproject.toml for consistent dependency management and build processes.
  • Use Case: Quickly set up a new FastAPI project, automatically configuring uv, ruff, mypy, and pytest, and get immediate feedback on code quality and type correctness, saving setup and debugging time.

Quick Start

Example: Create a new Python project with uv

uv init my-project --package cd my-project uv venv uv sync

Example: Lint and fix code

uv run ruff check --fix .