agentleFS
anxndsgnanxndsgn/skills/create-pr/SKILL.md

create-pr

Skill1 starsChanged 51 days agoApache-2.0View on GitHub

Create a GitHub pull request for the current branch with a conventional-commit title and this repo's PR body template (What changed / Why / User impact / Validation). Use whenever the user asks to open, create, submit, or send a PR, or to "push this up for review" — including right after finishing a feature or fix, even if they don't say "pull request" explicitly.

  • Commits and pushes

196 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use update-pr, act-on-feedback and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • MicrosoftSkill

    update-pr

    Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.

    Also in 9 projects that use this

  • MicrosoftSkill

    act-on-feedback

    Act on user feedback attached to the current session. Use when the user submits feedback on the session's changes via the Submit Feedback button.

    Also in 3 projects that use this

  • ModelEngine-GroupSkill

    create-release-note

    从 PR/commit 中自动生成结构化的 Release Notes,并可选创建 GitHub Draft Release。支持 x.y.0 版本合并前一 minor 系列的 release notes。当用户要求生成发布说明、创建 release notes 时触发。参数为版本号和可选的上一版本号。

    Also in 3 projects that use this

  • frostneySkill

    native-nostalgia-stack

    Applies the user's FreePascal toolchain and its build, formatting, hook, and test contracts while leaving project-specific mechanics local. Use when scaffolding or working in a FreePascal project that follows this toolchain.

    Also in 3 projects that use this

  • frostneySkill

    software-engineering-excellence

    Applies the user's engineering standards during substantial technical work: preserve scope, use current evidence, delegate independent parts, and complete authorized outcomes. Use during substantial implementation, debugging, refactoring, or multi-part delivery work.

    Also in 3 projects that use this

  • parkchuSkill

    start-mission

    넥스트스텝(NextStep) 미션을 처음 시작할 때, 미션 저장소를 fork·clone하고 최초 작업 브랜치(step1 등)까지 만들어 준다. gh CLI로 fork하고 clone까지 이어서 처리하며, gh가 없거나 인증이 안 돼 있으면 브라우저 Fork 안내로 폴백한다. 이미 fork/clone돼 있으면 재사용하고 이어서 진행한다(재실행 안전). 사용자가 "미션 시작하려는데 저장소 세팅해줘", "새 미션 시작할래", "fork부터 해줘", "/nextstep:start-mission" 등으로 요청할 때 사용한다.

    Also in 3 projects that use this

  • +1 more from microsoft

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 2 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 179 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Get off main if needed: If the work sits on main, create a branch named type/kebab-topic (e.g.

    line 19
  2. Distinctive:

    Run validation: before pushing: the checks this repo declares (CLAUDE.md, package scripts, CI config).

    line 27
  3. Distinctive:

    Keep the body honest and concrete: bullets describe what actually changed, "Why" explains intent rather than restating the diff, and the …

    line 69

“Common” is measured: kept by at least 6 in 10 of the 179 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Create PR

Open a pull request against main using gh, matching the style of this repo's recent PRs. Look at gh pr list --state merged --limit 5 if you want concrete examples.

Workflow

  1. Get off main if needed. If the work sits on main, create a branch named type/kebab-topic (e.g. feat/email-sign-in) and move the commits there.
  2. Commit the requested work using the conventional-commit skill's rules: type(scope): summary, one commit per logical change. Preserve unrelated local changes, including any already staged, outside these commits.
  3. Review the full branch diff — git log and git diff main...HEAD — so the body describes everything the PR contains, not just the last commit.
  4. Run validation before pushing: the checks this repo declares (CLAUDE.md, package scripts, CI config). If /spec-verify already produced evidence for this work and the evidence still applies to the final changes, cite it instead of re-running the same checks. Diagnose failures, fix those within the authorized scope, and rerun affected checks. Commit any resulting fixes and update the PR description before pushing. If a failure remains because it needs unavailable access, an external change, or work outside that scope, report the blocker and completed validation, and stop before pushing or opening the PR. Report real results in the body.
  5. Push with git push -u origin <branch>.
  6. Create the PR with gh pr create, passing the body via a heredoc or --body-file so markdown survives intact.

Title

Conventional-commit style, matching the branch's main commit: feat(auth): add email sign-in. Omit the scope when the change spans the whole package (feat: implement skill enablement).

Body template

## What changed

- bullet list of the concrete changes, grouped by concern

## Why

One or two short paragraphs: the problem before this change, and how this
change resolves it. If the PR implements a spec, link it here — e.g.
"Implements [`docs/spec/<name>.md`](link)" — and the ADR if one exists.

## User impact

- what users/teams can now do (omit this section for pure refactors)

## Validation

- one bullet per check run, with its real result (e.g. `<test command>` — <N> passed)
- or cite the `/spec-verify` report when one covers this work

Keep the body honest and concrete: bullets describe what actually changed, "Why" explains intent rather than restating the diff, and the Validation numbers come from runs you actually performed. For refactor-only PRs, replace "User impact" with a note that there are no behavior changes. Don't pad — a small PR deserves a short body.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.