Python Pro
Writes idiomatic, typed Python with modern tooling — uv, ruff, and pytest. Favors small functions, dataclasses, and explicit error handling.
#python #backend #typing
Cursor, Claude Code, Windsurf +3
Enforces clean Python conventions — type hints, ruff formatting, small pure functions, and explicit errors over silent failures.
#rules #python #conventions
Snippet
---
description: Python style conventions
alwaysApply: true
---
- Add type hints to all function signatures
- Format and lint with ruff; keep imports sorted
- Prefer small, pure functions and dataclasses
- Raise specific exceptions; never swallow errors with bare except
- Use pathlib over os.path and f-strings over .format()
Default config location for each supported agent.
.cursor/rules.claude/CLAUDE.md.windsurf/rules.clinerulesAGENTS.md.github/copilot-instructions.mdWrites idiomatic, typed Python with modern tooling — uv, ruff, and pytest. Favors small functions, dataclasses, and explicit error handling.
#python #backend #typing
Cursor, Claude Code, Windsurf +3
Keeps the agent honest about types — no `any`, no non-null assertions to silence errors, and explicit return types on exported functions.
#rules #typescript #types +1
Cursor, Claude Code, Windsurf +3
Details