skills/python/SKILL.md
Use when editing Python files, pyproject.toml, requirements.txt, setup.py, setup.cfg, uv workflows, ruff, mypy, typing, packaging, scripts, Cython, or Mypyc extension builds.
npx skillsauth add cofin/flow pythonInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Expert knowledge for Python development in this workspace. This skill aggregates tooling, build systems, and quality standards.
As per workspace rules, the following are MANDATORY:
uv is the required tool for Python package and environment management.uv run prefix.uv with pyproject.toml and install to a virtual environment.>=3.10 types as per PEP 585 (e.g., dict, list instead of typing.Dict, typing.List).For detailed guides on specific tools and sub-systems, refer to the following documents:
uv Guide
uvx).[project]
name = "myapp"
version = "0.1.0"
requires-python = ">=3.12"
dependencies = ["litestar>=2.0", "sqlalchemy>=2.0"]
[tool.uv]
dev-dependencies = ["pytest>=8.0", "ruff>=0.8", "mypy>=1.13"]
[tool.ruff]
target-version = "py312"
line-length = 120
[tool.ruff.lint]
select = ["ALL"]
ignore = ["D", "ANN101"]
[tool.mypy]
strict = true
python_version = "3.12"
</example>
Add guardrails instructions here. </guardrails>
<validation> ## ValidationAdd validation instructions here. </validation>
development
Use when tracing execution paths, mapping dependencies, understanding unfamiliar code, following data flow, investigating end-to-end behavior, debugging call chains, or deciding which files to read next.
development
Use when reviewing authentication, authorization, user input, secrets, API keys, database queries, file uploads, session management, external API calls, OWASP risks, or data handling attack surface.
testing
Use when analyzing tradeoffs, comparing approaches, weighing options, assessing risks, stress-testing conclusions, identifying blind spots, or applying multiple viewpoints to a decision.
development
Use when reviewing hot paths, slow code, database queries, N+1 risks, memory usage, loops, I/O, caching strategy, concurrency, latency-sensitive paths, or resource efficiency.