Skip to content

Add concise PR description guidance - #7951

Merged
matouskozak merged 6 commits into
mainfrom
matouskozak-pr-description-guidance
Nov 26, 2026
Merged

matouskozak merged 6 commits into
mainfrom
matouskozak-pr-description-guidance

Conversation

@matouskozak

@matouskozak matouskozak commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Add a pull-request skill and concise contributor guidance.

Align the API review docs and checklist references.

matouskozak and others added 2 commits November 25, 2026 13:50
The PR title and description become the squash commit message. Add a pull-request skill and short inline rules, replace the checkbox PR template with a one-line comment, and update the API review process to link approval in the PR description.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep PR descriptions concise while retaining the existing checklist. Align the skill and contributor docs with the template.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Comment thread .github/skills/pull-request/SKILL.md Outdated

## Title

- Imperative, specific, at most about 72 characters (for example, `Fix OVA softmax scratch sharing across prediction engines`).

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure about those 72 characters - in some cases it might be difficult, I'd rather make it recommendation rather than hard limit

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also curious why 72? is it the shortening which ends up with ... when sharing in various apps like Teams?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No particular reason, but I relaxed the requirement, hard 72 might not be enough.


## Body

Use the smallest shape that carries the signal:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest also adding something about linking specs/documentation or anything relevant to the change if there one

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added "-Relevant specifications, design notes, or documentation."

Comment thread PULL_REQUEST_TEMPLATE.md
@@ -1,9 +1,10 @@
We are excited to review your PR.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

People sometimes leave this in the PR description (e.g. #7669 or #7920). Do we want to change how this template is structured?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LOL, yes this needs cleanup

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've added instructions to remove the content before submitting. Do we want to also change the template content?

Comment thread .github/skills/pull-request/SKILL.md Resolved
Comment thread .github/skills/pull-request/SKILL.md Resolved
Comment thread .github/skills/pull-request/SKILL.md Resolved
Comment thread .github/skills/pull-request/SKILL.md Resolved
Comment thread PULL_REQUEST_TEMPLATE.md Resolved
matouskozak and others added 4 commits November 25, 2026 15:56
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@matouskozak
matouskozak marked this pull request as ready for review November 25, 2026 17:16
@matouskozak
matouskozak requested review from rosebyte and vejbomar and a balanced review from Copilot November 26, 2026 09:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

No active review issues remain for the documentation-only changes standardizing pull-request guidance.

No open issues 🎉

What changed in this PR

This documentation-only PR standardizes concise, behavior-focused pull request descriptions for ML.NET contributors and coding agents.

Changes:

  • Adds a pull-request skill covering titles, descriptions, validation reporting, and publishing approval.
  • Links the skill from repository instructions and adds concise-description guidance for contributors.
  • Aligns the PR checklist and API review documentation on linking proposal issues and approval comments.
File Description
PULL_REQUEST_TEMPLATE.md Clarifies issue links and required API-approval references.
docs/​project-docs/​contributing.md Adds concise, outcome-focused PR description guidance.
docs/​project-docs/​api-review-process.md Specifies proposal and approval links belong in the PR description.
.github/​skills/​pull-request/​SKILL.md Adds PR writing guidance, examples, and publishing workflow.
.github/​copilot-instructions.md Directs coding agents to the new pull-request skill.

Review effort: Balanced

@krwq krwq left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this can be iterated further on. My last PRs used this PR as a baseline for issue description and it seems like a good improvement - thank you!

@matouskozak
matouskozak merged commit 773257a into main Nov 26, 2026
8 checks passed
@matouskozak
matouskozak deleted the matouskozak-pr-description-guidance branch November 26, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants