mcpbeat

Pr

microsoft/pr

Guidance for branch naming, commit messages, and PR titles.

520 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
73
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/microsoft/webui --skill pr

The instruction itself

6 sections, as written by the author

Pull Request Conventions

Branch discipline

  • Never commit to main directly. Create a branch: <user>/<short-description> (e.g. mmansour/optimize-handler-allocs).
  • One logical change per commit. Write imperative messages: *"Add …"* not *"Added …"*.

PR title format

PR titles must use a Conventional Commits prefix:

| Prefix | When to use | Example |

|--------|-------------|---------|

| feat: | New feature or capability | feat: add HTTP/2 support to hyper example |

| fix: | Bug fix | fix: render missing signals as empty |

| chore: | Maintenance, refactoring, CI, docs, dependencies | chore: move shared files to examples/app |

The prefix is lowercase, followed by a colon and a space, then a short imperative description.

Linking PRs to issues

When a PR is meant to close a GitHub issue, include the keyword Closes followed by the issue number in the PR description body (not the title):

Closes #42

For multiple issues, use one per line:

Closes #42
Closes #43

> Note: Issue-linking keywords only work when the PR targets the repository's default branch. See GitHub docs: linking a pull request to an issue for the full reference.

PR description

Remove the Co-author-by line from the PR description. If you want to credit a co-author, add them as a reviewer instead. And check all the changes from its merge-base to get a detailed summary for the commit.

Framework change PRs

For PRs touching core framework code (handler, parser, protocol, router, CLI runtime, FFI), apply the code-review skill checklist before opening the PR. It covers correctness, concurrency, performance, design, and style checks that complement the automated quality gate.

How to use it

Copy the folder

Take microsoft/pr from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.