What it does
A Cursor rules file for Scala projects. It tells the AI editor to write clean, functional Scala: immutable collections, Option instead of null, pure functions, small methods and clear naming. The rules are plain instructions the assistant follows while it writes code.
Use cases
- 01Keep Scala code style consistent across a team
- 02Replace nulls with Option in generated code
- 03Check AI suggestions against clean code rules