What it does
A Cursor rules file with coding conventions for C++ projects. It covers declaring types everywhere, naming rules for classes, variables and constants, Doxygen comments for public code, short single-purpose functions, early returns and use of standard library algorithms.
Use cases
- 01Apply shared naming rules to new C++ code
- 02Keep functions short and single-purpose
- 03Document public classes with Doxygen comments