tooling
Provides configuration standards for essential Python development tooling.
Install
mkdir -p .claude/skills/tooling && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/17021" && unzip -o skill.zip -d .claude/skills/tooling && rm skill.zipInstalls to .claude/skills/tooling
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Python development tooling configuration and best practicesKey capabilities
- →Perform static code analysis with pyscn
- →Apply linting with ruff for style and bug detection
- →Conduct static type checking with mypy
- →Format code and sort imports with ruff format
- →Configure pytest for reliable testing
- →Manage Python packages with uv and pyproject.toml
How it works
The skill provides configuration best practices and commands for various Python development tools, including pyscn for analysis, ruff for linting and formatting, mypy for type checking, pytest for testing, and uv for package management. These tools are integrated to maintain code quality.
Inputs & outputs
When to use tooling
- →Setting up Python project tools
- →Configuring ruff and mypy
- →Establishing coding standards
About this skill
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.
| Rule | Description |
|---|---|
| analysis-pyscn | Dead code, clones, dependencies, complexity with pyscn |
Linting [CRITICAL]
Static code analysis with ruff for consistent, high-quality code.
| Rule | Description |
|---|---|
| lint-ruff | Fast, comprehensive linting with ruff |
Type Checking [HIGH]
Static type checking with mypy for type safety and better IDE support.
| Rule | Description |
|---|---|
| type-mypy | Static type checking with mypy |
Formatting [HIGH]
Consistent code formatting with ruff format and import sorting.
| Rule | Description |
|---|---|
| fmt-ruff | Code formatting and import sorting with ruff |
Testing [HIGH]
Test framework configuration with pytest for reliable testing.
| Rule | Description |
|---|---|
| test-pytest | Testing with pytest, fixtures, and coverage |
Package Management [MEDIUM]
Modern Python packaging with uv and pyproject.toml.
| Rule | Description |
|---|---|
| pkg-uv | Fast package management with uv |
| pkg-pyproject | Project configuration with pyproject.toml |
Quick Reference
Minimal pyproject.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", "SIM", "PTH"]
[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
# 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
When not to use it
- →When working with languages other than Python
- →When a project does not require strict code quality standards
- →When using alternative tools for linting, type checking, or package management
Limitations
- →Focuses on specific tools: pyscn, ruff, mypy, pytest, uv
- →Assumes a pyproject.toml based project setup
- →Requires Python 3.11 or newer for some configurations
How it compares
This skill offers a curated set of Python development tools and their configurations for consistent code quality, providing a standardized approach compared to individually selecting and configuring disparate tools.
Compared to similar skills
tooling side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| tooling (this skill) | 0 | 5mo | Review | Intermediate |
| deepwiki-rs | 25 | 9mo | Review | Intermediate |
| python-code-style | 9 | 6mo | Review | Intermediate |
| cookbook-audit | 5 | 6mo | Review | Intermediate |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by diegosouzapw
View all by diegosouzapw →You might also like
deepwiki-rs
sopaco
AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation. Use when Claude needs to analyze source code, understand software architecture, generate technical specs, or create professional documentation from any programming language.
python-code-style
wshobson
Python code style, linting, formatting, naming conventions, and documentation standards. Use when writing new code, reviewing style, configuring linters, writing docstrings, or establishing project standards.
cookbook-audit
anthropics
Audit an Anthropic Cookbook notebook based on a rubric. Use whenever a notebook review or audit is requested.
code-style-guide
OpenHands
Project coding standards and style guidelines. Always follow these conventions when writing or reviewing code.
fix-members-short-description
flet-dev
Use when asked to fix short descriptions of Python type members.
code-changelog
bear2u
AI가 만든 모든 코드 변경사항을 reviews 폴더에 기록하고 간단한 HTML 뷰어로 웹 브라우저에서 실시간 확인할 수 있습니다. 매 수정마다 문서가 생성되고 Python 서버로 즉시 확인 가능합니다.