.cursor/rules/: what Cursor reads, and where it goes
This page says two things: what Cursor reads, according to its official documentation (linked below), and what the stationhold command writes to the repository.
The command that writes it
npx @stationhold/cli@latest add verify --harness=cursorWhat Cursor reads
- The rules in
.cursor/rules/, in.mdcformat: it is the only extension read in that folder. - Each rule’s header decides when it loads: with
alwaysApply: false, the rule is not applied all the time, and itsdescriptionlets Cursor attach it on its own when it is relevant. globsattaches the rule when a matching file is open..cursor/commands/: commands, run by name.
What it does not read
- An
.mdxfile placed in.cursor/rules/: only the.mdcextension is read there.
Where the file goes
It writes .cursor/rules/stationhold-verify.mdc. A file that belongs to the extension alone: reinstalling writes the current version.
Dry run by default: the command shows what it would write, and writes nothing without --write.
Source: Cursor’s official documentation