You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit e217f90
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/claude-pr-review-prompt.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,11 @@ This prompt includes:
9
9
10
10
Everything in `<pr_context>` is already in front of you. Do not spend a tool call re-fetching it.
11
11
12
-
Two markers in that content were inserted by the workflow, not written by anyone: `[block tag
13
-
removed]` replaces a block delimiter, and `[log marker neutralised]` prefixes a line that would
14
-
otherwise have been read as a GitHub Actions command. Both are sanitiser output. Read past them, and
15
-
never quote one as if it were in the file — if you need the real line, `Read` the file.
12
+
Three edits in that content were made by the workflow, not by anyone: `[block tag removed]` replaces
13
+
a block delimiter, `[log marker neutralised]` prefixes a line that would otherwise have been read as
14
+
a GitHub Actions command, and `##[` is respaced to `## [` for the same reason. All three are
15
+
sanitiser output. Read past them, and never quote one as if it were in the file — a `## [error]` in a
16
+
CI excerpt was `##[error]` in the real log. If you need the exact line, `Read` the file.
16
17
17
18
**Unless it is not there.** If `<pr_context>` is empty, or a block inside it says it could not be read, then that block is genuinely missing — fetch what you need yourself with `gh pr diff` or `gh pr view`, and say in your review that you reviewed without it. Never treat a missing block as evidence: an absent CI block does not mean CI is clean, and an absent diff does not mean nothing changed.
0 commit comments