staff-review
Skill4 starsChanged 17 days agoMITView on GitHub
Review code like a staff engineer. Use when asked to review, check, critique, or approve a diff, PR, branch, or file, before opening or merging a PR, when self-reviewing your own changes before declaring them done, and when responding to review comments you received. Prioritizes correctness, security, and data integrity over style; every finding is verified and has a location, a concrete failure scenario, and a severity; feedback received is evaluated on its merits rather than accepted blindly.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- c-kick/hnl-agent-skillstheir own version, first seen Nov 21, 2026
- staffreview/staffreviewtheir own version, first seen Nov 1, 2026
- Tsurai7/agentic-playbooktheir own version, first seen Oct 20, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- c-kick/hnl-agent-skills★ 57same name
- staffreview/staffreview★ 8same name
- Tsurai7/agentic-playbook★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository15 other files it gives its agents.
- AGENTS.mdAGENTS.md
- agent-ready-repoSkill
- bug-triageSkill
- ci-auditorSkill
- deep-modulesSkill
- evidence-before-claimsSkill
- finish-the-jobSkill
- parallel-agentsSkill
- plan-before-codeSkill
- prior-art-scoutSkill
- security-auditSkill
- senior-engineerSkill
- state-machine-hunterSkill
- systematic-debuggingSkill
- test-driven-developmentSkill
The file
We split this skill into the rules it gives an agent
6 rules. 0 are common, 5 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 3 edited versions we read keep these.
5
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
- Distinctive: line 21
Does it do what it set out to do?: Check each requirement against the change.
- Distinctive: line 25
Tests: Do they test behavior, and would they fail if the change were broken?
- Distinctive: line 27
Style: Only what the linter or formatter doesn't already enforce, and only if it matters.
- Very specific: line 51
When many findings appear, prioritize them with bug-triage instead of demanding everything.
- Distinctive: line 55
Read your own diff top to bottom as if a stranger wrote it:
- Distinctive: line 67
Clarify ambiguous comments: before implementing a guess.
“Common” is measured: kept by at least 6 in 10 of the 3 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.
Files
Staff Review
A review's value is the bugs it prevents and the understanding it spreads, not the number of comments. Ten style nits bury the one comment that matters. Review in order of what is most expensive to get wrong, verify each finding before you report it, and be specific enough that the author can act without a follow-up question.
Before reading the diff
- Understand the intent: the PR description, linked issue, or the user's request. A diff can only be correct relative to a goal.
- Get the full diff (
git diff <base>...HEAD,gh pr diff <n>) and the list of touched files. Read the surrounding code too; bugs live where changed code meets unchanged code.
Review in priority order
- Does it do what it set out to do? Check each requirement against the change. Look for missing pieces: an updated API without updated callers, a new field never written.
- Correctness. Edge cases (empty, null, zero, max, Unicode, time zones), error paths, off-by-one, concurrency and ordering, state transitions (see
state-machine-hunter), resource cleanup, idempotency of retried operations. - Security and data integrity. Untrusted input reaching queries, shells, templates, or file paths; missing authorization checks; secrets in code or logs; migrations that can lose data or lock tables (see
security-audit). - Design. Does the change fit the codebase's structure? Shallow wrappers, leaky abstractions, duplicated logic, and coupling across modules (see
deep-modules). - Tests. Do they test behavior, and would they fail if the change were broken? Are the risky paths covered?
- Readability. Names, comments explaining why, unnecessary complexity.
- Style. Only what the linter or formatter doesn't already enforce, and only if it matters.
Verify every finding
Before reporting a problem, try to prove yourself wrong: read the caller, check whether the edge case is handled elsewhere, and run the code or a test if you can. An unverified "possible issue" costs the author time to disprove. Report things you couldn't confirm as questions, not findings.
Finding format
**[blocker] Refund can be applied twice on retry**: `billing/refund.ts:88`
`processRefund` isn't idempotent: if the HTTP call times out after Stripe accepted it, the job retries and refunds again.
Scenario: Stripe responds slowly (>10s) -> job times out -> retry -> customer refunded twice.
Suggestion: pass the refund ID as Stripe's `Idempotency-Key`.| Severity | Meaning |
| blocker | Bug, security hole, or data risk; must be fixed before merge |
| major | Likely problem or significant design issue; should be fixed or explicitly accepted |
| minor | Real but small improvement |
| nit | Optional polish; batch these or skip them |
End with a verdict and summary: approve, approve with nits, or request changes, plus the one or two things that matter most. Mention what's done well when it's genuinely notable; it tells the author what to keep doing.
When many findings appear, prioritize them with bug-triage instead of demanding everything. A review reports findings; it doesn't edit the code unless the user asked you to fix it.
Self-review before declaring done
Read your own diff top to bottom as if a stranger wrote it:
- Debug output, commented-out code, stray files, or unrelated changes?
- Did you update the docs, types, callers, and tests affected by the change?
- Are errors handled and surfaced honestly?
- Would the next person, or agent, understand why from the code and commit message?
Receiving review feedback
- Evaluate each comment on its merits. Reviewers can be wrong too. Check the claim against the code before changing anything.
- Agree when it's right, with no theatre. Fix it and say what changed. Skip the effusive thanks.
- Push back with evidence when it's wrong. "This is handled in
validate()at line 40; here's the test covering it." Disagreement backed by facts is respectful; silent compliance with a wrong suggestion is not. - Clarify ambiguous comments before implementing a guess.
- Re-run the verification after addressing feedback (see
evidence-before-claims).
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
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.

