agentsclimarketplace

Giving code review

Skill sebastienrousseau/agtmls/skills/giving-code-review

Review someone else's change so the feedback is actionable and proportionate. Load when reading a pull request, diff, or patch you did not write, and when deciding whether a concern is blocking or merely a preference. Prioritises correctness over style, labels every comment with its severity, and separates what must change from what you would have done differently.From its SKILL.md

Install
npx -y skills add sebastienrousseau/agtmls --skill giving-code-review

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its file declares

Copied from the file, not written here

The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.

SKILL.md

4.7 KB, as published. Nobody here has run it

Giving code review

Trigger. You are reading a change you did not write and are expected to respond: a pull request, a patch, a diff, a colleague asking "does this look right?".

Reference material (the correctness pass in detail, severity calibration, worked comment rewrites, and reviewing agent-authored changes): see reference.md in this directory.

The rule

Every comment states its severity. A reviewer who does not distinguish "this is broken" from "I'd have named it differently" makes both easy to ignore.

Unlabelled feedback forces the author to guess what blocks the merge, and they guess wrong in both directions — polishing nits while shipping the bug, or dismissing a real defect as taste.

Read in this order

Reading a diff top-to-bottom is how correctness bugs get missed while indentation collects three comments. Work outward instead:

  1. Does it do the right thing? Read the description and the tests before the implementation. If you cannot tell what the change is for, that is your first comment.
  2. Is it correct? Trace the logic — boundaries, error paths, concurrency, the empty case and the enormous one.
  3. Will it hold up? Security, performance at real scale, failure modes, backward compatibility.
  4. Is it maintainable? Naming, structure, duplication, comments that will go stale.
  5. Is it consistent? House style and formatting. Last, and usually a linter's job rather than a human's.

Run out of time and you have still covered the levels that matter.

Label every comment

LabelMeaningAuthor must
blockingWrong, unsafe, or breaks somethingFix before merge
shouldA real problem, not merge-blockingFix or justify
considerA genuine option with trade-offsDecide either way
nitPreference, no correctness contentFree to ignore
praiseGood, and worth keepingNothing
questionYou genuinely do not knowAnswer

Two rules follow:

  • Be honest about the ratio. If everything is blocking, nothing is. Most comments on a competent change are nit or consider.
  • question must be a real question. "Why would you do it this way?" is criticism in costume — say the criticism instead.

Make comments actionable

A comment the author cannot act on is noise. Three parts: what, why, what instead.

WeakStrong
"This is wrong.""blocking: rows[0] raises on empty input — load('') reaches it. Guard, or return None."
"Use a map here.""consider: O(n²) over users; a dict keyed by id makes it O(n). Matters above a few hundred."
"Bad naming.""nit: d → deadline; the type isn't obvious at the call site."
"Needs tests.""should: nothing covers the retry path. test_retries_on_timeout with a mock clock would pin it."

Point at the line, say what breaks, offer a direction. You do not owe a full solution, but "this is wrong, figure it out" is not review.

Proportion

Match depth to stakes. A config tweak and a new auth path do not deserve the same scrutiny, and treating them alike trains people to ignore you.

  • Do not redesign in review. If the approach is wrong, say so once, early, at the top level — not through twenty inline comments implementing your version.
  • Do not block on preference. Correct, tested, and readable means your taste is not a merge condition.
  • Do not review the author. Comment on the code.
  • Approve when it is good enough, not when it is what you would have written. Perfect is a way of never shipping.

When not to use

  • You wrote the change — that is receiving-code-review.
  • The project defines its own review protocol or approval rules; follow it.
  • You are auditing for a specific risk class rather than reviewing a change.

Keep looking

Skills are one crate of 627,801. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.