agentleFS
divik-09divik-09/claude-skills-collection/skills/commit-and-pr-writer/SKILL.md

commit-and-pr-writer

Skill1 starsChanged 8 days agoMITView on GitHub

Write clear commit messages and pull request descriptions from a diff, a list of changes, or a rough summary. Use whenever the user asks for a commit message, PR title or description, release note for a change, or says 'summarize my changes', even if they only paste a diff.

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈5

    Distinctive · estimate

    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:

    Use Conventional Commits unless the repo clearly uses another style.

    line 10
  2. Distinctive:

    No trailing period in the summary line.

    line 24
  3. Distinctive:

    Call out what reviewers should focus on, and what is intentionally out of scope.

    line 52
  4. Distinctive:

    Never invent test results.

    line 53
  5. Distinctive:

    Keep it short for small changes.

    line 54

≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “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

Commit and PR Writer

Commit messages

Use Conventional Commits unless the repo clearly uses another style.

<type>(<optional scope>): <imperative summary, max 72 chars>

<body: what changed and WHY, wrapped at ~72 cols>

<footer: BREAKING CHANGE:, Closes #123>

Types: feat, fix, docs, style, refactor, perf, test, build, ci, chore, revert.

Rules:

  • Summary in imperative mood: "add retry to uploader", not "added" or "adds".
  • No trailing period in the summary line.
  • The body explains motivation and trade-offs. The diff already shows the how.
  • One logical change per commit. If the diff mixes concerns, propose a split.
  • Mark breaking changes with ! after the type/scope and a BREAKING CHANGE: footer.

Pull request descriptions

## What
<1-3 sentences>

## Why
<problem, link to issue, user impact>

## How
<key design decisions; anything non-obvious>

## Testing
<what you ran; what a reviewer should try>

## Risks / rollout
<migrations, flags, backwards compatibility, rollback plan>

## Screenshots (UI changes only)

Rules:

  • Title follows the same format as a commit summary.
  • Call out what reviewers should focus on, and what is intentionally out of scope.
  • Never invent test results. If tests were not provided, write "Not run" or ask.
  • Keep it short for small changes. Do not pad sections just to fill the template.

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.