Skip to content

Document that PR descriptions must not be hard-wrapped#2437

Open
Sergio0694 wants to merge 1 commit into
staging/3.0from
user/sergiopedri/pr-description-no-hard-wrap
Open

Document that PR descriptions must not be hard-wrapped#2437
Sergio0694 wants to merge 1 commit into
staging/3.0from
user/sergiopedri/pr-description-no-hard-wrap

Conversation

@Sergio0694

Copy link
Copy Markdown
Member

Summary

Add an explicit formatting rule to the pull-request skill stating that PR descriptions must not be hard-wrapped like commit messages, and reflow the skill's own example descriptions so they model single-line paragraphs.

Motivation

PR descriptions are not commit messages. GitHub-Flavored Markdown renders a single newline inside a paragraph as a hard <br> line break, so wrapping a description at a fixed column width (as you would for a commit message body) makes it render with line breaks mid-sentence. The pull-request skill previously had no rule against this, and its own example descriptions were themselves hard-wrapped, actively modeling the bad pattern. This recently led to a PR being created with a commit-style hard-wrapped description that rendered poorly. This change documents the correct behavior so it doesn't happen again.

Changes

  • .github/skills/pull-request/SKILL.md: added a "do not hard-wrap text like a commit message" rule to the description formatting rules, explaining the GitHub <br> rendering behavior. Also reflowed the in-skill ## Motivation template text and the example PR description so each paragraph is a single continuous line, rather than demonstrating commit-style wrapping.

PR descriptions are not commit messages: GitHub-Flavored Markdown renders single newlines within a paragraph as hard line breaks, so commit-style hard-wrapping makes descriptions render broken with line breaks mid-sentence. Add an explicit formatting rule to the pull-request skill and reflow the in-skill example descriptions so they model single-line paragraphs instead of demonstrating the bad pattern.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@Sergio0694 Sergio0694 added documentation Improvements or additions to documentation CsWinRT 3.0 labels Jun 12, 2026
@Sergio0694 Sergio0694 requested a review from manodasanW June 12, 2026 20:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CsWinRT 3.0 documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants