1 rule for Python
Claude Code rules for Python: Environments, Types and pytest. Structure, data, errors, security, performance, and tests. uv 0.13.7 and Ruff 0.17.4, Nov 2026.
# Python Claude Code Rules: Environments, Types and pytest
## Install
Install the native export at `.claude/rules/python-rules.md`.
Copy that export, not this catalog file. Catalog fields such as `tools` and `author` are for presets.dev.
Install one skill file per name. Cursor, GitHub Copilot, Codex, Antigravity CLI, and Devin can all read `.agents/skills`, so a second copy with the same name collides.
<!-- native:start -->
# Python Claude Code Rules: Environments, Types and pytest
Path-scoped Claude Code rule for Python. It loads when a matching file is read. It does not replace `CLAUDE.md`.
## Updated for uv 0.13.7 and Ruff 0.17.4, Nov 2026
Do not upgrade dependencies or the framework version unless the task asks.
## Project shape
Read `pyproject.toml` and the lockfile first. The...