The Four Comment Commands
A fresh installation answers four commands. Each one works on one surface only.Implement an Issue
Add this as a comment on a regular issue:Review, Fix or Describe a Pull Request
Add one of these as a comment on the pull request’s Conversation tab:/prflow:review and /prflow:review-and-fix post a single progress comment that PRFlow rewrites as it works, ending with the full report and an APPROVE or REJECT verdict. /prflow:review-and-fix also pushes its fixes to the pull-request branch. /prflow:pr-description updates the description in place and keeps content a person added.
These three commands always act on the thread they were posted on. A trailing number is ignored, and a warning names both numbers in the run log. A repository collaborator must post the comment for an outside contributor’s pull request.
Format the Comment Correctly
1
Put the Command on a Line of Its Own
Nothing else may share the line, apart from an optional issue or pull-request number.
2
Keep the Indentation Small
Up to three leading spaces are accepted. A tab, or four or more spaces, makes the line an indented code block and it is ignored.
3
Do Not Wrap It in Code or a Quote
A command inside a fenced code block, a blockquote or ordinary prose is ignored on purpose. That is what lets you write about a command without starting one.
# before the number is accepted. If one comment contains several standalone commands, the first recognized command wins, and at most one cloud path starts from that comment.
Use the /prflow: spelling in new comments. The older /devflow: spelling is still accepted and normalized to the current form, but do not use it in new documentation or automation.
Understand Authorization
A human requester must satisfy both checks:- Their login matches
prflow.allowed_users, which defaults to*. - They have write, maintain or admin access to the repository.
prflow.allowed_bots setting. The shipped default is claude,dependabot.
Authorization fails closed. If identity or permission cannot be established, no run starts.
An authorized command receives a best-effort 🚀 reaction. An unauthorized or unrecognized comment receives no reaction at all, so silence is the normal signal for both.
Understand Reuse and Deduplication
Implementation Reuses One Workpad per Issue
Implementation Reuses One Workpad per Issue
Each issue has one dedicated workpad comment. A later run reuses that comment and records whether it resumed unfinished work or started from a terminal state. PRFlow’s own workpad and progress comments carry hidden identifiers, so they can never start a new run themselves.
Overlapping Implementation Requests Are Deduplicated
Overlapping Implementation Requests Are Deduplicated
The oldest visible active run proceeds. The duplicate posts a notice and starts no second agent job. The check fails open on a query error, so a rare duplicate can get past it. Such a duplicate, or an automatic stall-recovery resume, then waits in a per-issue queue: the agent job runs for only one run per issue at a time, and the next waiting job starts only after the current one finishes. Nothing in the queue cancels a running agent job.
Overlapping Review Requests Are Deduplicated per Commit
Overlapping Review Requests Are Deduplicated per Commit
A second
/prflow:review for the same pull-request head is suppressed while a fresh progress comment shows a review in flight. A request after the head changes proceeds for the new commit. That progress comment is the only in-flight signal, and it does not appear until the agent job begins, so a request in that short window is not deduplicated and a rare duplicate review is possible.The Other Two Commands Are Not Deduplicated
The Other Two Commands Are Not Deduplicated
Only
/prflow:review is deduplicated. /prflow:review-and-fix and /prflow:pr-description are not, so overlapping requests each start a run. Wait for one to finish before you post another.