agentleFS
nb-99nb-99/skillektion/skills/leaving-pr-mr-comments/SKILL.md

leaving-pr-mr-comments

Skill1 starsChanged 4 months agoMITView on GitHub

Format comments an agent posts for the user on a pull or merge request. Use whenever posting a comment or reply on a PR/MR on GitHub, GitLab, or Forgejo.

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    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 the verified public name of the model that wrote the comment, and the user's name or login on the host.

    line 18
  2. Distinctive:

    If the harness does not expose a model name, use the harness name.

    line 21
  3. Distinctive:

    Before posting, check the entire comment, including quoted text and attachments, for secrets and private details.

    line 23
  4. Distinctive:

    Keep the attribution inside the note and the actual reply outside it.

    line 26
  5. Distinctive:

    Write the comment itself in a direct style:

    line 35
  6. Distinctive:

    Keep it concise and avoid filler, canned thanks, or status narration.

    line 39

≈ “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

Leaving PR/MR Comments

Prefix every agent-authored comment left on the user's behalf with this note alert. GitHub, GitLab 17.10 and later, and Forgejo render it as a note box:

> [!NOTE]
> 🤖 **<model> responding on behalf of <user>**

Actual comment starts here.

Use the verified public name of the model that wrote the comment, and the user's name or login on the host.

If the harness does not expose a model name, use the harness name. Do not guess.

Before posting, check the entire comment, including quoted text and attachments, for secrets and private details.

Keep the attribution inside the note and the actual reply outside it. The context line must start with the robot emoji. Do not add a horizontal rule, Setext underline, heading, signature footer, or a second attribution.

Apply this format to top-level PR/MR comments, inline review comments, replies to bots or reviewers, and written explanations used before resolving or dismissing feedback. Do not add it to PR/MR descriptions, commit messages, or text the user explicitly asked to post verbatim without attribution.

Write the comment itself in a direct style:

  • Lead with the conclusion.
  • Cite the relevant code, behavior, check, or reproduction.
  • Keep it concise and avoid filler, canned thanks, or status narration.
  • Distinguish verified facts from judgment.

Preview the final Markdown before posting so quoting and blank lines render as shown. After posting, verify that the host returned the comment or review URL. Resolve a review thread only after its response was posted successfully, and only where the host lets you resolve threads.

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.