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: .agents/skills/next-pr/SKILL.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -82,6 +82,11 @@ Report:
82
82
83
83
Do not merge or push yet.
84
84
85
+
If the review shows the PR is cosmetic or otherwise a no-op, and it does not fix a demonstrated bug or change behavior:
86
+
- recommend closing it rather than merging it
87
+
- explain briefly why it is a no-op
88
+
- use `gh pr close` with a polite comment after the user approves closing it
89
+
85
90
8. Merge only after explicit user approval.
86
91
After approval, integrate the rebased PR into the default branch in the way the repo expects. Preserve the PR commits unless the user asks to squash or rewrite them.
87
92
@@ -98,6 +103,7 @@ When a PR was merged by rebasing or otherwise rewriting commits, verify whether
98
103
- If benchmarks are noisy, report broad direction and uncertainty instead of overclaiming precision.
99
104
- If a failure is clearly pre-existing, say that explicitly and separate it from PR-specific findings.
100
105
- For Java bugfix PRs, require a regression test. If one is missing, add it on the review branch and prove it fails before the fix and passes after the fix.
106
+
- If a PR is cosmetic or a no-op, do not merge it just because validation is green; require evidence of a real bugfix or behavior change.
101
107
102
108
## Communication
103
109
@@ -106,3 +112,4 @@ When a PR was merged by rebasing or otherwise rewriting commits, verify whether
106
112
- Before merge and push, stop at an approval gate and wait for the user.
107
113
- After approval, report exactly which branch was updated and pushed.
108
114
- If a rebased merge leaves the PR open, close it and say which comment or reason you used.
115
+
- If closing a cosmetic or no-op PR, use a short polite message that explains it did not produce a demonstrated bugfix or behavior change and can be reopened with a concrete repro or regression test.
0 commit comments