agentleFS
Lukk17Lukk17/agent-standards/.agents/skills/review-comments/SKILL.md

review-comments

Skill1 starsChanged 10 days agoMITView on GitHub

Wording and posting of pull request review comments and of replies to them. Use when the user says "draft review comments for PR #123" or "reply to the review on my PR". Not for PR descriptions, use `git-workflow`.

6 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

10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 9

    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:

    Keep every comment and every reply to one to three sentences.

    line 36
  2. Distinctive:

    Write in a polite, friendly, human way.

    line 37
  3. Distinctive:

    Put a point that is not about one line in a normal conversation comment.

    line 39
  4. Distinctive:

    Never refer to a decision number from a chat, because nobody reading the pull request saw that chat.

    line 43
  5. Distinctive:

    Leave no trace of an AI agent or tool in a review comment, a reply or a pull request description: no "by Claude", no "generated by", no …

    line 54
  6. Distinctive:

    Never name a commit hash in a review comment, a reply or a pull request description.

    line 55
  7. Distinctive:

    Use real issue and pull request numbers, never a placeholder.

    line 56
  8. Distinctive:

    Use no em dash, no en dash, no semicolon joining two clauses, no bold and no italic.

    line 57
  9. Distinctive:

    When working through the comments other people left on our code, show each one in the chat in this order:

    line 64
  10. Very specific:

    Put a blank line before the horizontal line and between each of the four, because the chat renders markdown: a --- right under a line turns …

    line 71

“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

Review Comments

How to word what we write on a pull request: the review comments we leave on other people's pull requests, the replies we write to review comments on our own, how every draft is shown and posted, and how other people's comments are laid out in chat while we work through them. This skill only decides how a finding is said.

TaskOpen
The reasoning and a pass and fail example for a rule belowcomment-examples.md
Reading the comments or posting an approved draft on GitHub with the gh CLIgithub.md
Before showing the drafts, and again before postingchecklist.md

When not to activate

  • Finding what is wrong in the diff, use code-reviewer
  • Writing or editing a pull request description, use git-workflow
  • Merging, triaging, investigating CI or cutting a release, use github-ops

Before writing

Comment only on what the pull request changes. Read every linked pull request first, and skip anything a later one fixes.


Rules for comments and replies

  1. Keep every comment and every reply to one to three sentences.
  2. Write in a polite, friendly, human way. Say what is wrong, if anything, and nothing else, with no filler such as "thanks", "good catch" or "fair point".
  3. For a point that must be fixed, stay friendly but firm, and say clearly what has to change.
  4. Put a point that is not about one line in a normal conversation comment. Give each small point its own comment on its own line.
  5. An approval carries no praise, and it does state the build result.
  6. A reply says only that the point is fixed, how in a few words where needed, or why it is not fixed.
  7. Back a reply with a decision record, a project document or a ticket. When the work moved to later, name the ticket.
  8. Never refer to a decision number from a chat, because nobody reading the pull request saw that chat.
  9. Explain every abbreviation at its first use in each comment and each reply, such as PoC (proof of concept), even when an earlier message already explained it.

Drafts and posting

Rules 1 to 6 below are kept word for word the same in git-workflow, so change both copies together.

  1. Print every draft of a review comment, a reply or a pull request description in full in the chat, numbered, and never store a draft in a file.
  2. Post nothing until the user has approved it.
  3. Leave no trace of an AI agent or tool in a review comment, a reply or a pull request description: no "by Claude", no "generated by", no co-author line.
  4. Never name a commit hash in a review comment, a reply or a pull request description.
  5. Use real issue and pull request numbers, never a placeholder.
  6. Use no em dash, no en dash, no semicolon joining two clauses, no bold and no italic.
  7. Post replies only after every fix is done, green and pushed.

Chat layout for other people's comments

When working through the comments other people left on our code, show each one in the chat in this order:

  1. A horizontal line.
  2. The file name and the line number, as path:line.
  3. The comment, quoted.
  4. Our response to that comment.

Put a blank line before the horizontal line and between each of the four, because the chat renders markdown: a --- right under a line turns that line into a heading, and a line right after the quote joins the quote.

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.