Use ruff, ty, and pytest consistently through uv. Core principle: one repeatable quality gate across local and CI.
| Lint | uv run ruff check | | Auto-fix | uv run ruff check --fix | | Format | uv run ruff format | | Type check | uv run ty check | | Test | uv run pytest | | Coverage | uv run pytest --cov=src --cov-report=term-missing | | Full gate (prek) | prek run -a | | Install git hooks (prek) | prek install |
Da utilizzare durante la configurazione o l'esecuzione di strumenti di qualità Python (ruff, ty, pytest, copertura, porte CI) e quando si applica un elenco di controllo di qualità pre-unione. Fonte: narumiruna/agent-skills.
Apri il tuo terminale o strumento da riga di comando (Terminal, iTerm, Windows Terminal, ecc.) Copia ed esegui questo comando: npx skills add https://github.com/narumiruna/agent-skills --skill python-quality-tooling Dopo l'installazione, la skill verrà configurata automaticamente nel tuo ambiente AI di coding e sarà pronta all'uso in Claude Code, Cursor o OpenClaw