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
Copy file name to clipboardExpand all lines: .github/prompts/util.gh-pr-content.prompt.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,24 +19,29 @@ Craft a diff-driven pull request title and body, ready to copy/paste, that compa
19
19
20
20
### A. Establish the diff against `main`
21
21
22
-
Run the labelled batch below **once** from the repository root so each command prints `>>> <command>` before its output:
22
+
Run the labelled batch below **once** from the repository root. Output is written to `docs/prompts/git-pr-content-diff.txt` so that large diffs do not overflow the terminal context.
- Use `git diff --stat` for the overview and `git diff main...HEAD` for detailed evidence.
42
+
After the script completes, **read the file `docs/prompts/git-pr-content-diff.txt`** in full and use its contents as the authoritative diff evidence for the rest of this review.
43
+
44
+
- Use `git diff --stat main...HEAD` for the overview and `git diff main...HEAD` for detailed evidence.
40
45
- Capture branch/working-tree information from `git status -sb` and `git rev-parse --abbrev-ref HEAD`.
41
46
- If there is no diff, stop and report **"No diff vs main – nothing to raise."**
42
47
@@ -152,5 +157,5 @@ Add additional sections (for example "Testing", "Follow-ups") **only** if the te
Copy file name to clipboardExpand all lines: .github/prompts/util.gh-pr-review.prompt.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,24 +39,29 @@ Where evidence cannot be found, record **Unknown from code – {suggested action
39
39
40
40
### B. Establish an accurate diff against `main`
41
41
42
-
Run the labelled batch below **once** from the repository root so each command prints a `>>> <command>` header followed by its output. This keeps every datum tied to the command that produced it and avoids duplicate executions.
42
+
Run the labelled batch below **once** from the repository root. Output is written to `docs/prompts/git-pr-review-diff.txt` so that large diffs do not overflow the terminal context.
1. Use `git diff --stat` for the overview and `git diff main...HEAD` for detailed evidence.
62
+
After the script completes, **read the file `docs/prompts/git-pr-review-diff.txt`** in full and use its contents as the authoritative diff evidence for the rest of this review.
63
+
64
+
1. Use `git diff --stat main...HEAD` for the overview and `git diff main...HEAD` for detailed evidence.
60
65
2. Capture branch/working-tree information from `git status -sb` and `git rev-parse --abbrev-ref HEAD`.
61
66
3. Identify the change category (one or more):
62
67
- Bug fix
@@ -255,5 +260,5 @@ Use this snippet for each significant finding:
Copy file name to clipboardExpand all lines: .github/prompts/util.git-commit-message.prompt.md
+13-8Lines changed: 13 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -23,12 +23,14 @@ All artefacts must be fully backed by the diff between `main` and the current `H
23
23
24
24
### A. Establish the diff against `main`
25
25
26
-
Run the labelled batch below **once** from the repository root so each command prints a `>>> <command>` header followed by its output. This keeps every datum tied to the command that produced it and avoids duplicate executions.
26
+
Run the labelled batch below **once** from the repository root. Output is written to `docs/prompts/git-commit-message-diff.txt` so that large diffs do not overflow the terminal context.
After the script completes, **read the file `docs/prompts/git-commit-message-diff.txt`** in full and use its contents as the authoritative diff evidence for the rest of this review.
50
+
46
51
1. Use the labelled outputs above to confirm `main` is up to date.
47
-
2. Use `git diff --stat` for the overview and `git diff main...HEAD` for full context.
52
+
2. Use `git diff --stat main...HEAD` for the overview and `git diff main...HEAD` for full context.
48
53
3. Capture branch/working-tree details from `git status -sb` and `git rev-parse --abbrev-ref HEAD`.
49
54
4. If the diffs show no changes, output **"No diff vs main – nothing to commit."** and stop.
50
55
5. Mirror recent commit tone using `git log -3 --oneline`.
@@ -129,5 +134,5 @@ Return content exactly in this shape for easy copy/paste:
0 commit comments