agentleFS
viknesh20-20viknesh20-20/claude-code-tool-kit/.claude/skills/pr-summary/SKILL.md

pr-summary

Skill7 starsChanged 7 months agoMITView on GitHub

Generates a well-structured pull request description from the current branch diff. Includes summary, changes list, test plan, and breaking changes. Use before opening a PR.

6 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Read every commit message and the full diff.

    line 25
  2. Distinctive:

    Read ALL commits, not just the latest

    line 65
  3. Distinctive:

    Don't embellish — describe what actually changed

    line 66

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

Generate PR Summary

Branch Context

!git branch --show-current 2>/dev/null !git log main..HEAD --oneline 2>/dev/null || git log master..HEAD --oneline 2>/dev/null

Diff Summary

!git diff main...HEAD --stat 2>/dev/null || git diff master...HEAD --stat 2>/dev/null

Full Diff

!git diff main...HEAD 2>/dev/null | head -800 || git diff master...HEAD 2>/dev/null | head -800


Instructions

Step 1: Analyze All Commits

Read every commit message and the full diff. Understand:

  • What feature, fix, or change was implemented
  • Why it was needed (from commit messages and code context)
  • What files were touched and what changed in each

Step 2: Generate PR Description

Use this format:

## Summary
<!-- 1-3 sentences explaining what this PR does and why -->

## Changes
<!-- Bulleted list of specific changes, grouped by area -->

### [Area 1]
- Change description

### [Area 2]
- Change description

## Test Plan
- [ ] Test case 1
- [ ] Test case 2
- [ ] Edge case verification

## Breaking Changes
<!-- List any breaking changes, or "None" -->

## Notes for Reviewers
<!-- Anything reviewers should pay special attention to -->

Step 3: Determine PR Title

  • Format: type: concise description (under 72 chars)
  • Types: feat, fix, refactor, docs, test, chore, perf
  • Example: feat: add user authentication with JWT refresh tokens

Rules

  • Read ALL commits, not just the latest
  • Don't embellish — describe what actually changed
  • Flag any TODOs or known issues honestly
  • Include breaking changes prominently

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.