presets.dev
BrowseMembersSign In
presets.devAboutPrivacyTerms

Open source on GitHub

Filters

Tool

Claude
Cursor
Cline
Codex
Copilot
Windsurf
Antigravity CLI

Technology

Python1

Python Rules for Cursor

1 rule for Python

Python Rules for Cursor: Environments, Types and pytest

Cursor 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 Rules for Cursor: Environments, Types and pytest ## Install Install the native export at `.cursor/rules/python-rules.mdc`. 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 Rules for Cursor: Environments, Types and pytest File-scoped Cursor rule for Python. It attaches when a matching file is in context. ## 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 package layout is either a `s...