~/agent-config
Browse
Rule

Python Style Rule

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()

Where it installs

Default config location for each supported agent.

Best for

BackendPythonGeneral

Related resources

Skill

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

Rule

TypeScript Strict Rule

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