What it does
A Cursor rules file with C++ programming guidelines. It sets out principles such as typed declarations and Doxygen comments, naming conventions for classes, variables and constants, and advice on short functions that use early returns and standard library algorithms.
Use cases
- 01Guide the AI to write typed, well-named C++ code
- 02Keep new functions short with early returns
- 03Standardize documentation comments across a codebase