agentleFS
jhd3197jhd3197/CachiBot/.claude/skills/create-pr/SKILL.md

create-pr

Skill19 starsChanged 9 months agoMITView on GitHub

Generate a pull request title and description from the current branch's commits. Produces a concise summary, optional feature highlights, and collapsible technical details.

196 other projects use a version of this, 1 of them edited.

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

7 rules. 0 are common, 6 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 177 edited versions we read keep these.

  • 6

    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. Distinctive:

    Run these commands to build a complete picture before writing anything:

    line 14
  2. Distinctive:

    If the full diff is too large, diff individual areas (backend routes, frontend, storage, etc.) in batches.

    line 27
  3. Very specific:

    Write the file to .pr/YYYY-MM-DD.md (using today's date).

    line 31
  4. Distinctive:

    Write from the user's perspective — what they'll notice, not internal implementation.

    line 95
  5. Distinctive:

    Every meaningful change in the diff must have a bullet.

    line 102
  6. Distinctive:

    No test plan section: Do not include "Test plan" or "Testing".

    line 107
  7. Distinctive:

    No mention of tests: Do not reference test files, test results, or testing.

    line 108

“Common” is measured: kept by at least 6 in 10 of the 177 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 Description

Generate a pull request title and description that's scannable, informative, and has just enough personality to feel human.

Instructions

1. Gather context (do ALL of these)

Run these commands to build a complete picture before writing anything:

# Commit overview
git log main..HEAD --oneline --stat

# Full diff stat for file-level scope
git diff main..HEAD --stat

# Actual code changes — read the diff, don't just skim filenames
git diff main..HEAD

If the full diff is too large, diff individual areas (backend routes, frontend, storage, etc.) in batches. You must understand what the code actually does, not just which files were touched.

2. Write the PR file

Write the file to .pr/YYYY-MM-DD.md (using today's date). Create the .pr/ directory if it doesn't exist. If a file for today's date already exists, append a counter: YYYY-MM-DD-2.md, YYYY-MM-DD-3.md, etc.

The structure depends on whether the PR introduces user-facing features or is purely internal (refactors, bug fixes, infra).

When the PR has user-facing features:

# <Title>

<2-3 sentence summary>

### Highlights

- Highlight 1
- Highlight 2
- ...

<details>
<summary>Technical changes</summary>

- Detail 1
- Detail 2
- ...

</details>

When the PR is purely internal (no user-facing features):

# <Title>

<2-3 sentence summary>

<details>
<summary>Technical changes</summary>

- Detail 1
- Detail 2
- ...

</details>

Omit the Highlights section entirely for internal-only PRs — don't force it.

Style Rules

Title

  • Imperative mood, start with a verb (Add, Fix, Refactor, etc.)
  • Summarize the entire PR scope — not just one commit

Summary

  • 2-3 sentences max. This is the elevator pitch, not the full story.
  • Open with a touch of personality. One line that makes the reader smile — a wry observation, a lighthearted remark, a playful metaphor. Not forced, just human. Examples of the energy (don't copy these literally, invent your own each time):
    • "This one's mostly about cleaning house."
    • "Turns out the type checker was right to complain."
    • A playful metaphor about what the code was doing wrong
    • A wry observation about the state of things before this PR
  • Then say what the PR does at a high level. Name the main change areas (new feature, refactor target, bug fixed) but don't enumerate every file. The personality is in how you describe the changes, not in being vague.
  • Do not repeat what Highlights or Technical changes already cover. The summary is the "why" and the big picture; details live below.

Highlights (only when applicable)

  • One bullet per user-facing feature, behavior change, or notable improvement.
  • Write from the user's perspective — what they'll notice, not internal implementation.
  • Plain language, no code references. "Schedules now respect your configured timezone" not "SchedulerService gains a timezone attribute".
  • 3-7 bullets is the sweet spot. If you can only think of 1-2, fold them into the summary and skip this section.

Technical changes (inside the accordion)

  • One bullet per discrete change. Be specific — name files, classes, functions, patterns.
  • Format: backtick code references for identifiers, plain text for descriptions.
  • Every meaningful change in the diff must have a bullet. If a change touches security (CORS, auth, SQL injection), error handling, accessibility, or concurrency, it gets its own bullet — do not bury these.
  • Bullets should describe the mechanism, not just the intent. "Race condition in get_or_create_chat fixed by moving creation inside the lookup session" is good. "Fix database issues" is not.
  • Group related changes together (all typing fixes, all security hardening, all API changes, etc.)

General

  • No test plan section. Do not include "Test plan" or "Testing".
  • No mention of tests. Do not reference test files, test results, or testing.
  • No emoji.
  • No "Generated by" footer.

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.