ludo-technologies/python-best-practices/tooling

Claude Code and agent skill by ludo-technologies/python-best-practices

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Python development tooling configuration and best practices for ruff, mypy, pytest, pyscn, and uv. Use when setting up a Python project, configuring linters, formatters, type checkers, or test frameworks, or when editing pyproject.toml or tool config files.

Install

npx vskill@latest install ludo-technologies/python-best-practices/tooling

SKILL.md

Python Tooling

A comprehensive guide to Python development tools. Configuration best practices for analysis, linters, type checkers, formatters, test frameworks, and package managers.

Why These Tools Matter

To write high-quality Python code, we recommend adopting these tools:

  • pyscn - Detect dead code, duplicates, and circular dependencies to prevent technical debt
  • ruff - Catch bugs and style violations early with fast static analysis
  • mypy - Find errors before runtime with type checking, also improves IDE completion
  • pytest - Build confidence in changes with reliable tests
  • uv - Improve developer experience with fast dependency management

Integrating these into CI/CD reduces code review burden and maintains consistent quality.

Categories

Analysis [HIGH]

Structural code analysis for quality assessment.

RuleDescription
analysis-pyscnDead code, clones, dependencies, complexity with pyscn
Linting [CRITICAL]

Static code analysis with ruff for consistent, high-quality code.

RuleDescription
lint-ruffFast, comprehensive linting with ruff
Type Checking [HIGH]

Static type checking with mypy for type safety and better IDE support.

RuleDescription
type-mypyStatic type checking with mypy
Formatting [HIGH]

Consistent code formatting with ruff format and import sorting.

RuleDescription
fmt-ruffCode formatting and import sorting with ruff
Testing [HIGH]

Test framework configuration with pytest for reliable testing.

RuleDescription
test-pytestTesting with pytest, fixtures, and coverage
Package Management [MEDIUM]

Modern Python packaging with uv and pyproject.toml.

RuleDescription
pkg-uvFast package management with uv
pkg-pyprojectProject configuration with pyproject.toml

Quick Reference

Minimal pyproject.toml
toml
[project]
name = "myproject"
version = "0.1.0"
requires-python = ">=3.11"
dependencies = []
[project.optional-dependencies]
dev = ["ruff", "mypy", "pytest", "pytest-cov", "pyscn"]
[tool.ruff]
target-version = "py311"
line-length = 88
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP", "B", "BLE", "SIM", "PTH", "S110", "S112"]
[tool.ruff.lint.flake8-bandit]
check-typed-exception = true
[tool.mypy]
python_version = "3.11"
strict = true
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = ["-v", "--tb=short"]
[tool.pyscn]
max_complexity = 15
Common Commands
bash
# Analysis
pyscn analyze . # Full quality analysis
pyscn check . # CI quality gate
# Linting
ruff check . # Check for issues
ruff check . --fix # Auto-fix issues
# Formatting
ruff format . # Format code
# Type checking
mypy . # Type check
# Testing
pytest # Run tests
pytest --cov=src # With coverage
# Package management (uv)
uv pip install -e ".[dev]" # Install with dev deps
uv pip compile pyproject.toml -o requirements.lock

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2
7-day trend score
5

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 26 Mar 2026, 7 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/ludo-technologies/python-best-practices/tooling/badge)](https://verified-skill.com/skills/ludo-technologies/python-best-practices/tooling)

Something wrong with this skill or its page? Tell us.