mcpbeat Sign in

Submit Pr Agent Skill

Open a PR for the current change — branch, optional changelog fragment, and gh pr create. Use when asked to submit, open, or ship a PR.

492 tokens
context cost
the whole folder, loaded on every use
1
files
instructions only
0
copies elsewhere
how many repositories repackaged it
4
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/pulumi/pulumi-hcl --skill submit-pr

The instruction itself

5 sections, as written by the author

Submit a PR

Ship the working-tree change as a PR off master.

1. Branch & commit

  • Never commit to master — branch first: git checkout -b !git config github.user/<short-name>.
  • Stage specific paths only (git add <path> …), never git add ..
  • Commit body in complete sentences; do not list yourself as co-author.

2. Changelog — only when the change is user-visible

Add a fragment iff a user would observe the change: behavior, stack output,

API, CLI, or error text. Skip it for refactors, tests, CI, comments, or any

internal-only change.

Write .changes/unreleased/<component>-<kind>-<number>.yaml:

kind: bug-fixes        # or: Improvements
body: Add `base64gunzip`, `urldecode` and `cidrcontains`
time: $(date -u +"%Y-%m-%dT%H:%M:%SZ") #RFC3339 with +02:00 tz
custom:
    Component: runtime   # language-host | converter | codegen | runtime
    PR: "<number>"
  • body is terse — a short phrase naming the user-facing change (e.g.

Add base64gunzip, urldecode and cidrcontains ), not an

explanatory sentence. The why and how belong in the PR description, not here.

  • Quote every function or feature name in backticks.
  • It does not end in punctuation.
  • One fragment per user-visible change.

3. Pick the number

  • If the change closes an issue, use that issue number.
  • Otherwise it is the next PR number: guess it as one past the highest of

gh pr list --state all --limit 1 and gh issue list --state all --limit 1,

then check it after gh pr create — if the real number differs, rename the

fragment file and update its PR: field to match with a force push.

4. Create

gh pr create — title and body describe the change; link any issue with its full

https://github.com/… URL.

How to use it

Copy the folder

Take pulumi/submit-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.