PR Mode
Ship code, end-to-end. PR mode handles commit, push, pull request creation, CI monitoring, and merge.
Ship code, end-to-end.
PR mode takes work from done to merged. It handles the entire shipping workflow: committing changes, pushing to the remote, creating a pull request with a proper title and description, monitoring CI, and merging when checks pass.
What it does
PR mode automates the mechanics of shipping code. Instead of running a sequence of git commands manually, you hand off the task and PR mode executes the full workflow — detecting your forge (GitHub or Azure DevOps), creating a well-structured PR, and monitoring the pipeline until the code is merged or needs your attention.
When to use it
- Shipping the output of a Feature or Bug agent
- Creating a structured PR with a proper description from a messy branch
- Merging changes after CI passes without manual steps
- Pushing and opening a PR quickly without leaving the workspace
PR mode is activated automatically when you click the PR or Rebase buttons in the interface — you don't need to start a PR conversation manually for those workflows.
How it works
- Review changes — the agent checks what's uncommitted and what's on the branch.
- Commit — staged or unstaged changes are committed with a structured commit message.
- Push — the branch is pushed to the remote.
- PR created — a pull request is opened with an auto-generated title and description based on the changes.
- CI monitoring — the agent monitors the pipeline and reports status.
- Merge — when checks pass and the PR is approved, the merge is executed.
Key features
- Multi-forge support — works with GitHub and Azure DevOps; forge is auto-detected from the remote URL
- Structured commit messages — commits are formatted consistently based on the changes
- Auto-generated PR description — title and body are generated from the diff and context
- CI monitoring — pipeline status is tracked and surfaced without leaving the workspace
- End-to-end — from uncommitted changes to merged PR in one workflow
Tips
Use PR mode after a Review to ship with confidence. Review catches issues; PR ships the clean result.
If you only need to commit and push without creating a PR, tell PR mode explicitly — it can handle partial workflows too.