Cursor rules
Project-scoped instructions that the Cursor editor injects into the model's context whenever you ask it to code.
Cursor rules live in `.cursor/rules` and are great for codifying conventions: stack, formatting, testing rules, files to avoid touching. They give consistent results without retyping the same preamble in every prompt.