agentleFS
8starlabs8starlabs/ui/skills/pr-comment/SKILL.md

pr-comment

Skill143 starsChanged 4 months agoMITView on GitHub

Use when the user asks to write, draft, summarize, or compose a pull request description or change summary. Covers reviewer-facing PR bodies, strict Summary plus Key Changes formatting, and issue-closing keywords when the linked issue is known.

6 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use plan-review.

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.
  • YougLin-devSkill

    plan-review

    Reviews and adjusts PRD plans based on research findings. Use after completing research to evaluate story modifications. Triggers on: review plan, adjust stories, update prd based on research.

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 10

    Distinctive

    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. Very specific:

    Use ## Summary and ## Key Changes.

    line 14
  2. Distinctive:

    Do not add prose before or after the fenced block.

    line 16
  3. Distinctive:

    Keep the write-up concise and copy-paste ready.

    line 17
  4. Distinctive:

    Do not restate the summary or enumerate every touched file.

    line 66
  5. Distinctive:

    Prefer direct reviewer-facing language.

    line 71
  6. Distinctive:

    Keep the body tight; cut preamble like "This PR" or "In this change".

    line 72
  7. Distinctive:

    Use root-cause framing when it clarifies a bug fix.

    line 73
  8. Very specific:

    If the linked issue is known and the change resolves it, include a closing line such as Closes #43.

    line 78
  9. Distinctive:

    If issue linkage is ambiguous, leave it out unless the user asked for it.

    line 80
  10. Distinctive:

    Put the closing line at the end of the markdown block.

    line 81
  11. Distinctive:

    If the user gave a diff but not enough context, ask at most once for:

    line 85
  12. Distinctive:

    If the user already explained the change well enough, write immediately.

    line 89

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

PR Comment

This skill writes PR descriptions and change summaries for reviewers. It does not handle inline review replies or generic issue comments.

Output rules

  • Output only one fenced markdown block.
  • Use ## Summary and ## Key Changes.
  • Include issue-closing text like Closes #43 when appropriate and known.
  • Do not add prose before or after the fenced block.
  • Keep the write-up concise and copy-paste ready.

Apply this skill when

  • the user says "write a PR", "draft a PR", "summarize this PR", or "describe this diff"
  • the user wants a reviewer-facing change summary
  • the user shares a diff or changed files and wants a polished PR body

Goals

  1. Tell the reviewer what changed in user-visible terms.
  2. Explain why the diff exists, especially the root cause.
  3. Group the key changes without dumping a file-by-file changelog.
  4. Include issue-closing language when there is a linked issue.

Format

## Summary

<one short paragraph, usually 2-4 sentences>

## Key Changes

<1-3 bullets for a small change, or grouped bullets by area for a larger one>

Closes #<issue>

## Summary

The summary should cover:

  • what changed
  • where it changed
  • why it changed

Lead with the user-visible surface or workflow. Include the root cause when it helps the reviewer understand why the diff exists.

## Key Changes

  • Small change: use 1-3 bullets total.
  • Multi-area change: group bullets by area with a plain label line such as Registry: or Docs:.
  • Name specific symbols, files, commands, or surfaces only when that increases reviewer understanding.
  • Do not restate the summary or enumerate every touched file.

Style rules

  • Backticks for file paths, commands, symbols, and config keys.
  • Prefer direct reviewer-facing language.
  • Keep the body tight; cut preamble like "This PR" or "In this change".
  • Use root-cause framing when it clarifies a bug fix.
  • Ground claims in the visible diff or in user-provided context.

Issue-closing rules

  • If the linked issue is known and the change resolves it, include a closing line such as Closes #43.
  • If issue linkage is ambiguous, leave it out unless the user asked for it.
  • Put the closing line at the end of the markdown block.

Ask only if needed

If the user gave a diff but not enough context, ask at most once for:

  • the main user-visible surface affected
  • whether an issue number should be closed

If the user already explained the change well enough, write immediately.

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.