In the Agent Review UI, the Commit button runs Cursor’s own commit flow. We have repo-specific commit procedures in .cursor/commands/. It would be really nice if we could surface a button in this flow that would execute the command defined in our repo.
@Trevor_Tubbs Hi Trevor, this makes a lot of sense. I’ve shared it with our team as a feature request.
You’re right that the action buttons in the review flow are currently a fixed set, and there’s no way to bind one of your repo-defined commands from .cursor/commands/ to a button there yet.
In the meantime, there’s a workaround that should let your team run your standardized procedure today:
In the agent chat input, type / to open the command menu and select your command (for example /commit), or just type the command name directly.
This runs the same repo-defined command from .cursor/commands/, so your team’s commit procedure executes instead of the default flow.
It’s not the one-click button in the review pane you’re after, but it does let you trigger your own command without leaving the agent.