In cursor rules I would like the ability to run a shell command. For example, I have a rule that instructs cursor to create a JSON file, and a script that validates it. I’d like the agent to run the validation command after creating the file. I know I can instruct it to do this, but it might not follow my instructions. Claude Code has this with the syntax !echo "some command to run"
.