Overview
Prepare the next release of an existing task management app with Cursor: hand each release item to the agent on its own branch, approve its commands, run the tests and review every change before you merge and tag.
Problem or Objective
More in Coding and Code Review
AI Agents and Models
Tools and Integrations
- Tools
- Cursor
- Prerequisites
- Cursor with an existing app repository and a test suite. Cloud agents need a plan that includes them (Premium and higher, Teams, Enterprise or a legacy paid plan) and source control connected by an account admin.
How It Works
Write down what the release must contain: the features, fixes and version bump, each with a test or check that shows it is done. Open the project in Cursor on a release branch and give the agent one item at a time, pointing it at the files and patterns it should follow. In the editor the foreground agent asks you to approve each terminal command, so read each one before you allow it. For independent items you can start cloud agents instead; they work on separate branches and push their changes for handoff, and you review those branches the same way. After each item, run the test suite, try the change in the app yourself and read the whole diff. When every item passes, ask the agent to draft the changelog from the merged changes, edit it, then merge, tag the version and publish the release yourself.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Cursor.
- Connect the toolsConnect the tools this workflow relies on: Cursor.
- Check the prerequisitesCursor with an existing app repository and a test suite. Cloud agents need a plan that includes them (Premium and higher, Teams, Enterprise or a legacy paid plan) and source control connected by an account admin.
- Gather your detailsCollect what the prompt asks for: Release version, One feature or fix for the release, Files that show the house style, How to run the tests.
- Run the starter promptPaste the starter prompt below into Cursor and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at cursor.com before you rely on it.
Practical Starter Prompt: Implement one release item on a branch
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
We are preparing version [Release version] of our task management app. Implement this release item: [One feature or fix for the release]. Follow the patterns in [Files that show the house style] and change nothing outside this item. When you are done, run [How to run the tests] and report the results, list every file you changed and why, and stop. Do not merge, tag, push to the main branch or publish anything; I will review the diff, and in the editor I approve each terminal command before it runs.Give one item per run, approve each command in the editor, run the tests and read the diff yourself. A cloud agent runs its commands without asking, so review its branch and diff before merging anything from it. Merge, tag and publish the release by hand.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. Cursor's pages support handing coding tasks to its agent, a foreground agent that asks before every command, and cloud agents that work on separate branches and push changes for review. They say nothing about test coverage or the stability of any particular release, and no release outcome is claimed here.
Limitations and Considerations
Cloud agents run every terminal command without asking, which Cursor's docs flag as a data exfiltration risk from prompt injection; keep secrets out of their environments and restrict outbound access if you use them. Cloud agents need a plan that includes them and a source control connection set up by an account admin. Review every diff and run the tests before merging; you, not the agent, tag and publish the release. Cloud agents use your plan's usage at the selected model's rate. Results depend on your setup and were not independently reproduced by Top 200 Repos.
Sources
- Cloud Agents | Cursor Docs (opens in a new tab)
Project documentation · cursor.com · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- Cloud agents clone your repo from GitHub, GitLab, Azure DevOps Services, or Bitbucket Cloud and work on a separate branch, then push changes to your repo for handoff.
- You need a plan that includes Cloud Agents: Premium and higher, Teams, Enterprise, or a legacy paid plan.
- Secrets & Network | Cursor Docs (opens in a new tab)
Project documentation · cursor.com · Undated · Source checked 26 Nov 2026, 17:27 UTC
What this source supports
- This differs from the foreground agent, which requires user approval for every command.
- The agent auto-runs all terminal commands, letting it iterate on tests.