Commit 6cf9536
authored
docs(.agents/skills/pull-requests): warn against hard-wrapping PR bodies (#25141)
PR bodies copied from a commit message body keep their 72/80-column hard
wraps, and GitHub renders those as ragged-right line breaks instead of
soft-wrapped paragraphs (e.g. the original body of #25130, fixed in this
branch).
The rule already exists in `.claude/docs/PR_STYLE_GUIDE.md`, but it is
buried in a 200-line style guide and easy to miss when an agent is
mechanically running `gh pr create`. This change adds a short "Body
Formatting" section directly to `.agents/skills/pull-requests/SKILL.md`,
which is the proximate context loaded at PR-write time, and explicitly
tells callers to unwrap commit-message paragraphs before reusing them as
a PR body.
> Generated by Coder Agents on behalf of the assignee.1 parent 645b8cc commit 6cf9536Copy full SHA for 6cf9536
1 file changed
+12Lines changed: 12 additions & 0 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- .agents/skills/pull-requests
Expand file treeCollapse file tree
Open diff view settings
Collapse file
.agents/skills/pull-requests/SKILL.md
Copy file name to clipboardExpand all lines: .agents/skills/pull-requests/SKILL.md+12Lines changed: 12 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
| 26 | + |
| 27 | + |
| 28 | + |
| 29 | + |
| 30 | + |
| 31 | + |
| 32 | + |
| 33 | + |
| 34 | + |
| 35 | + |
| 36 | + |
| 37 | + |
26 | 38 | |
27 | 39 | |
28 | 40 | |
|
0 commit comments