What it does
A Cursor rules file written as a JSON configuration for Python projects. It sets coding style, naming conventions, error handling, testing expectations, documentation style, security practices, environment variable use and code review requirements.
Use cases
- 01Apply the same naming and style rules across a team
- 02Require tests and docstrings for new Python modules
- 03Keep secrets in environment variables, not in code