Skip to content

Commands

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.

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.

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

CommandWhat it does
reviewRuns a full review on demand and resets the per-pull-request re-review counter.
summaryRegenerates the summary in the pull request description.
guideRegenerates the reviewer’s guide comment.
titleRegenerates the pull request title.
resolveResolves Sourcery’s open review comments on the pull request.
dismissDismisses the Sourcery review status check.
create issueCreates a GitHub issue from a review comment. Works only as a reply inside a review comment thread (GitHub only).

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 for what the counter controls.