agentleFS
yuhua99yuhua99/skills/human-review/SKILL.md

human-review

Skill2 starsChanged 5 months agoMITView on GitHub

Explain a code change to a human reviewer.

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

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

  • 0

    Common

    Most of the 6 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write comments in zh-tw.

    line 9
  2. Very specific:

    Ask once if SCOPE is missing.

    line 17
  3. Very specific:

    Read the scoped git show/diff and surrounding code.

    line 20
  4. Distinctive:

    Add a likely objection or toy before/after only when it clarifies a trade-off or a confusing change.

    line 29
  5. Very specific:

    Run start, then add:

    line 32
  6. Very specific:

    Use issue only for problems.

    line 36

“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

Human Review

Write comments in zh-tw.

Tool

{baseDir}/scripts/tuicr-review.sh:

  • start [--repo PATH] [SCOPE] — open a review and print its slug.
  • comments [--repo PATH] — print new comments as JSON.
  • add [--repo PATH] <flags> "text" — post a comment. Flags: --target-file, --line, --end-line, --side old|new, --type issue|suggestion|note|praise.

Ask once if SCOPE is missing. Use working, a revision/range, or pr <n>.

Workflow

  1. Read the scoped git show/diff and surrounding code. Act as the change's author walking a human through the implementation, rather than conducting a separate defect review. Done when you can explain the old and new behavior of each meaningful changed block.
  2. Group hunks by concern and draft all comments before start. Split each hunk into logical blocks of one or a few adjacent lines. Explain each block's old behavior -> change -> new behavior, and why; explain intent and effects rather than paraphrasing syntax. Give distinct changes within a function separate comments, anchored to the relevant lines. Summarize tests, codegen, and pure moves in one line per logical group; still name any behavior or test-expectation changes. Ground reasons in the implementation context; label inferred reasons as assumptions. Add a likely objection or toy before/after only when it clarifies a trade-off or a confusing change. Redact secrets. Done when every changed hunk is covered by block-level explanations or explicitly included in a brief-summary exception above.
  3. Run start, then add:
    • Review-level first: the change's purpose, which concern to read first, and why.
    • Inline: the block-level explanations and brief summaries from step 2. Anchor each to the relevant code.
    • File-level: only context not already covered by the review-level or inline comments.
    • Use issue only for problems.
  4. Follow-up:
    • approved → stop.
    • New comments → address each, fix as needed, then start the same scope. add only the reply and any new delta.
    • Fetch failure → run comments manually.

Gotchas

  • Existing open review → ask the human to press q, then retry.
  • Abnormal exit sends no trigger.
  • Amend/rebase creates a new scope identity; start a new session.

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.