agentleFS
fboulnoisfboulnois/skills/commit-pr/SKILL.md

commit-pr

Skill1 starsChanged 4 days agoMITView on GitHub

Propose a short git commit subject and a copy-pasteable markdown PR description for the current changes. Use when asked for a commit message, commit subject, or PR description.

7 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

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

  • 0

    Common

    Most of the 7 edited versions we read keep these.

  • 7

    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:

    Read git status --short, git diff, and git diff --staged.

    line 17
  2. Distinctive:

    Read git log --oneline -10 to match commit conventions.

    line 18
  3. Distinctive:

    If staged and unstaged changes differ, briefly state that the output covers staged changes.

    line 20
  4. Distinctive:

    Use imperative mood, match the repository's prefix convention, and omit a trailing period.

    line 25
  5. Distinctive:

    Start with one summary line explaining the purpose, then a blank line and short bullet points covering relevant behavior changes or …

    line 28
  6. Very specific:

    Put each output in a separate fenced code block, using a markdown fence for the PR description.

    line 35
  7. Distinctive:

    Follow each block with its character count.

    line 36
  8. Distinctive:

    Add at most one line of commentary.

    line 37

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

Commit and PR description

Provide the following for the current changes:

  1. A git commit description 50 characters or fewer.
  2. A copy-pasteable markdown PR description 400 characters or fewer.

Propose only; do not commit, push, or create a PR.

Inspect

  • Read git status --short, git diff, and git diff --staged.
  • Read git log --oneline -10 to match commit conventions.
  • Describe staged changes when present; otherwise use the full working diff, inspecting relevant untracked files.
  • If staged and unstaged changes differ, briefly state that the output covers staged changes.

Write

  1. Commit description: 50 characters or fewer. Use imperative mood, match the repository's prefix convention, and omit a trailing period. Describe the change, not a file list.
  2. PR description: 400 characters or fewer. Start with one summary line explaining the purpose, then a blank line and short bullet points covering relevant behavior changes or reviewer context. Omit headings, badges, footers, and boilerplate.

Verify and present

  • Measure both strings with a command, counting all characters, including spaces, newlines, and markdown.
  • Shorten and remeasure until both limits pass; report only measured counts.
  • Put each output in a separate fenced code block, using a markdown fence for the PR description.
  • Follow each block with its character count; exclude fences and count labels from the limits.
  • Add at most one line of commentary.

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.

Reviews can't be read right now.

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.