python-development
/python-development
Use when writing, reviewing, refactoring, running, linting, formatting, or packaging Python code and self-contained Python scripts using modern Python, uv, Ruff, ty, and PEP 723 inline script metadata. Always use `uv` instead of pip/python/venv.
- Author
- davidgasquez ↗
- Repository
- dotfiles ↗
- Licence
- MIT
- Last repository change
- 25.10.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 25.10.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Use when writing, reviewing, refactoring, running, linting, formatting, or packaging Python code and self-contained Python scripts using modern Python, uv, Ruff, ty, and PEP 723 inline script metadata. Always use `uv` instead of pip/python/venv.
Original author description
Use when writing, reviewing, refactoring, running, linting, formatting, or packaging Python code and self-contained Python scripts using modern Python, uv, Ruff, ty, and PEP 723 inline script metadata. Always use `uv` instead of pip/python/venv.
How it works
- General rules
- Verification
- Self-contained scripts
SKILL.md preview
--- name: python-development description: Use when writing, reviewing, refactoring, running, linting, formatting, or packaging Python code and self-contained Python scripts using modern Python, uv, Ruff, ty, and PEP 723 inline script metadata. Always use `uv` instead of pip/python/venv. disable-model-invocation: true --- # Python Development Use modern Python practices for application code, tools, scripts, and CLIs. ## General rules - Never use `python`. Use `uv` instead of `python`: - `uv add package-name` - `uv run script.py` - Don't use `from __future__ import annotations`. - Use modern type syntax (`list[str]`, `str | None`). - Look before you leap: check conditions before acting. - Don't keep backwards compatibility. - Declare variables close to use. ## Verification - Format with `uvx ruff format .`. - Lint with `uvx ruff check .` and `uvx ty check`. ## Self-contained scripts Use this pattern to write Python tools, scripts, and CLIs as single files. - Add dependencies with `uv add --script foo.py httpx`. - Run with `uv run foo.py`. - If inline metadata is present, `uv run` ignores project dependencies automatically. - `dependencies` must be present, even if empty: `dependencies = []`. Use PEP 723 inline metadata and an executable shebang: ```python #!/usr/bin/env -S uv run --script # /// script # requires-python = ">=3.13" # dependencies = [ # "httpx", # ] # /// import httpx ```
Versions
| Repository | Score | Licence |
|---|---|---|
| This page · davidgasquez/dotfiles | 100 | MIT |
| projanvil/mindforge | 100 | MIT |
| laurigates/claude-plugins | 100 | MIT |
| projanvil/mindforge | 100 | MIT |
| HK-hub/AgentSkills | 100 | MIT |
| microsoft/agent-framework | 90 | MIT |
Database snapshot: 13.11.2026 · package version e43da77201f5 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 90modern-python
Modern Python tooling and best practices using uv, ruff, ty, and pytest. Covers project setup with pyproject.toml (PEP 735), src layout, linting/formatting with ruff, type checking with ty, testing with pytest and coverage, pre-commit with prek, and security (pip-audit,… - 100python-code-quality
Python code quality with ruff and ty. Use when the user mentions ruff, ty, linting, formatting, type checking, or Python code style. - 100ac-tools-single-file-uv-scripter
Creates self-contained Python scripts with inline PEP 723 metadata for UV. Embeds dependencies directly in script headers for zero-config execution via `uv run`. Triggers on keywords: uv script, single file script, inline dependencies, PEP 723, self-contained python, uv run script, standalone script - 100modern-python
Configures Python projects with modern tooling (uv, ruff, ty). Use when creating projects, writing standalone scripts, or migrating from pip/Poetry/mypy/black. - 100uv-run
Run Python scripts with uv (PEP 723 inline deps, --with for one-off deps). Use when running scripts without venv activation or needing one-off dependencies. - 90dev10x:py-uv
Guide UV installation and migrate Python scripts from legacy shebangs to UV inline metadata (PEP 723). TRIGGER when: migrating scripts to uv, setting up uv for the first time, or converting shebangs to PEP 723 format. DO NOT TRIGGER when: uv is already configured, or user is…