Commit b1045ed
docs: Improve stacked PR workflow for collection branch and merge method (#5178)
* docs: Add collection branch safety warnings to PR workflow
Add explicit warnings to pr.mdc and create-java-pr skill that the
collection branch must never be manually merged or fast-forwarded.
Updating it causes GitHub to auto-merge all stack PRs and delete
their branches, destroying the entire stack.
Co-Authored-By: Claude <noreply@anthropic.com>
* docs: Include collection branch PR in stack list updates
The stack list update instructions only mentioned "all PRs in the
stack" which was ambiguous — it could be read as excluding the
collection branch PR. Now both pr.mdc and the create-java-pr skill
explicitly call out that the collection branch PR must also be updated
with the stack list.
Co-Authored-By: Claude <noreply@anthropic.com>
* docs: Add merge commit reminder to stack PR descriptions
Stack PRs must be merged with merge commits, not squash. Add a
reminder to the PR description so reviewers/mergers pick the right
method. This only applies to stack PRs — not standalone PRs or the
collection branch PR.
Co-Authored-By: Claude <noreply@anthropic.com>
---------
Co-authored-by: Claude <noreply@anthropic.com>1 parent 6a6b6c6 commit b1045ed
2 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
119 | 120 | | |
120 | 121 | | |
121 | 122 | | |
122 | 123 | | |
123 | | - | |
| 124 | + | |
124 | 125 | | |
125 | 126 | | |
126 | 127 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
199 | 199 | | |
200 | 200 | | |
201 | 201 | | |
202 | | - | |
| 202 | + | |
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| |||
215 | 215 | | |
216 | 216 | | |
217 | 217 | | |
| 218 | + | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
218 | 226 | | |
219 | 227 | | |
220 | 228 | | |
| |||
0 commit comments