Skip to content

Pull requests

Run /pr in a session once its work is committed. The agent writes a short title and a description of what changed and why, and opens them in the preview pane. Comment on them to have them reworded, or approve to raise the pull request.

A pull request previewed before it is raisedA pull request previewed before it is raised
A pull request previewed before it is raised

Ask the agent to change a raised pull request’s description and the revision opens in the pane the same way.

Pull requests are raised ready for review. To raise them as drafts unless you tick otherwise:

Terminal window
assist config set prs.draft true

To have /pr ask which issue the pull request resolves, so the description links to it:

Terminal window
assist config set prs.promptJira true
assist config set prs.promptGithub true

A session with a pull request has a PR button on its card and in its top bar that opens it on GitHub.

When the selected repo has open pull requests, the dashboard toolbar has a PRs menu. Filter the list by title, number or author, and pick one to act on it in a new session. It offers the same review and Address Comments items as a session’s Review menu, plus:

The actions for a pull request picked from the dashboard's PRs menuThe actions for a pull request picked from the dashboard's PRs menu
The actions for a pull request picked from the dashboard's PRs menu
  • Checkout checks it out and leaves an agent waiting in it for your prompt.
  • Fix conflicts resolves its merge conflicts.
  • Open in GitHub opens it in your browser.

Run /prs-slack <number> to post a pull request’s title and link to your team’s Slack channel. Set the channel:

Terminal window
assist config set prs.slack "#pull-requests"

Without it, the channel in slack.channel is used.

Run /prs-status [channel] <owner/repo>... for an overview of what is still waiting to merge across those repos, grouped into pending review, changes requested, failing checks and ready to merge, with stale ones called out. It opens in the preview pane, and once approved it is posted to the Slack channel, or to slack.channel when none is named.