agentleFS
griddynamicsgriddynamics/specflow/.claude/skills/pr-desc/SKILL.md

pr-desc

Skill9 starsChanged 5 months agoMITView on GitHub

Update the current PR description based on commits vs main. Writes a concise summary, entrypoint, and details section.

The file

We split this skill into the rules it gives an agent

10 rules. About 0 are common, 8 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run git log main..HEAD --oneline to see commits on this branch.

    line 9
  2. Distinctive:

    Run git diff main...HEAD --stat to see which files changed.

    line 10
  3. Very specific:

    Run gh pr view --json number,title,body to get the current PR (if one exists).

    line 11
  4. Distinctive:

    Look at existing PR description as it might have already partly correct information.

    line 12
  5. Very specific:

    Update the PR description using gh pr edit --body "...".

    line 14
  6. Distinctive:

    Keep every section to 1-2 sentences max.

    line 37
  7. Distinctive:

    Details: if there are no gotchas, write "Nothing surprising." Don't invent content.

    line 39
  8. Distinctive:

    Do NOT summarize every commit — synthesize the overall change.

    line 40
  9. Distinctive:

    Do NOT use bullet lists inside sections — prose only.

    line 41
  10. Distinctive:

    After updating, print the final body so the user can confirm.

    line 42

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

PR Description Updater

  1. Run git log main..HEAD --oneline to see commits on this branch.
  2. Run git diff main...HEAD --stat to see which files changed.
  3. Run gh pr view --json number,title,body to get the current PR (if one exists).
  4. Look at existing PR description as it might have already partly correct information.
  5. Generate new description based on commits and real state of repo
  6. Update the PR description using gh pr edit --body "...".

Description Format

Separate using newlines only.

## Summary
<1-2 sentences: what this PR does and why>

## Entrypoint
<1-2 sentences: where a reviewer should start — the main hook-up point, the top-level call, the route/handler/config that ties it all together>

## Diagram
<If any flow or structure was changed, put the diagram here or reference a file with diagrams if that is used to track it by design.>

## Details
<Only non-obvious things: surprising design choices, edge cases, workarounds, things that look wrong but aren't. Skip plumbing, boilerplate, and straightforward wiring.>

Rules

  • Summary section is always concise prose: no code snippets, no backticks, and no semicolons. Keep it to 1-2 plain sentences a non-author can understand.
  • Keep every section to 1-2 sentences max. Be ruthless about brevity.
  • Entrypoint: name the specific file/function/line where the new behavior is wired in — not a vague description.
  • Details: if there are no gotchas, write "Nothing surprising." Don't invent content.
  • Do NOT summarize every commit — synthesize the overall change.
  • Do NOT use bullet lists inside sections — prose only.
  • After updating, print the final body so the user can confirm.

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.