> ## Documentation Index
> Fetch the complete documentation index at: https://docs.sourcery.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Commands

You drive Sourcery from pull request comments. Mention `@sourcery-ai` followed by a command, or reply in a thread to chat. The handle is the same on GitHub and GitLab, and variants such as `@sourceryai` also work.

## Commands

Post the handle and the command as their own comment, for example `@sourcery-ai review`.

| Command        | What it does                                                                                                      |
| -------------- | ----------------------------------------------------------------------------------------------------------------- |
| `review`       | Runs a full review on demand and resets the per-pull-request re-review counter.                                   |
| `summary`      | Regenerates the summary in the pull request description.                                                          |
| `guide`        | Regenerates the reviewer's guide comment.                                                                         |
| `title`        | Regenerates the pull request title.                                                                               |
| `resolve`      | Resolves Sourcery's open review comments on the pull request.                                                     |
| `dismiss`      | Dismisses the **Sourcery review** status check.                                                                   |
| `create issue` | Creates a GitHub issue from a review comment. Works only as a reply inside a review comment thread (GitHub only). |

## Chat

Anything that isn't a command becomes chat. A reply in a thread Sourcery started goes to its chat handler, so you can ask a follow-up question on a comment and get an answer in the same thread. A top-level pull request comment is only read as chat when it mentions `@sourcery-ai`. Comments from bots are ignored, so a thread doesn't loop.

`@sourcery-ai review` resets the per-pull-request re-review counter and runs a fresh full review. See [re-reviews](/reviews/anatomy-of-a-review/#re-reviews) for what the counter controls.
