Adaptive Python development guide with tiered complexity levels (Minimal/Standard/Full). Automatically selects appropriate guidance based on project context - from simple scripts (just clean Python code) to full production systems (complete tooling ecosystem). Covers modern conventions, testing, tooling, security, and best practices. Use when writing Python code, converting scripts, setting up projects, or building production systems. Keywords: PEP-8, Ruff, pytest, mypy, simple scripts, project structure, PyPI, packaging, type hints, clean code
View on GitHubmelodic-software/claude-code-plugins
code-quality
January 21, 2026
Select agents to install to:
npx add-skill https://github.com/melodic-software/claude-code-plugins/blob/main/plugins/code-quality/skills/python/SKILL.md -a claude-code --skill pythonInstallation paths:
.claude/skills/python/# Python Development Skill Comprehensive guide to modern Python development covering conventions, testing, tooling, security, performance, and ecosystem best practices (2024-2025 standards). ## Tier 2 Quick Start **For multi-file projects, team collaboration, and maintained code:** ```bash # Install Python 3.12 and uv (see Installation guides) # Windows: winget install Python.Python.3.12 && winget install astral-sh.uv # macOS: brew install python@3.13 uv # Linux: apt install python3.13 && curl -LsSf https://astral.sh/uv/install.sh | sh # Create new project with modern structure uv init my-project cd my-project # Add dependencies uv add requests httpx pydantic # Add development dependencies uv add --dev pytest pytest-cov ruff mypy # Set up code quality (create pyproject.toml config - see assets/pyproject-toml-template.toml) # Configure Ruff, mypy, pytest # Write tests (pytest) # tests/test_example.py - mirror src/ structure # Run quality checks uv run ruff check . # Linting uv run ruff format . # Formatting uv run mypy . # Type checking uv run pytest # Run tests uv run pytest --cov # With coverage ``` ## When to Use This Skill Invoke this skill when you need guidance on: - **Installation & Setup**: Installing Python 3.12/3.14, uv, setting up development environment - **Code Style**: Following PEP-8, configuring Ruff/Black, naming conventions - **Project Structure**: Organizing code with src/ layout, imports, package structure - **Dependency Management**: Using uv, Poetry, pip, virtual environments, pyproject.toml - **Testing**: Writing pytest tests, fixtures, parametrization, coverage, mocking - **Type Hints**: Modern typing patterns, mypy configuration, protocols, generics - **Code Quality**: Setting up Ruff, mypy, Bandit, pre-commit hooks, CI/CD - **Async Programming**: asyncio patterns, async/await, TaskGroup, structured concurrency - **Security**: OWASP best practices, input validation, dependen