Reviewing others code
Skill stevenfackley/opencode-amplifier/.opencode/skills/reviewing-others-code
Use when reviewing someone else's code or pull request (you are the reviewer). Staff-level review discipline — prioritize by severity, separate blocking from non-blocking, review design not just lines, and give kind, specific, actionable feedback that also mentors. Distinct from auto-reviewing your own generated code.From its SKILL.md
npx -y skills add stevenfackley/opencode-amplifier --skill reviewing-others-codeAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 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.
SKILL.md
2.6 KB, 530 tokens by cl100k_base, as published. Nobody here has run it
Reviewing Others' Code
You are reviewing a teammate's work, not rewriting it. Goal: catch what matters, help it ship safely, and help the author grow — without nitpicking them to death or rubber-stamping.
Read for context first
- What problem does this PR solve? Read the description + linked issue. Review against the author's INTENT, not your preferred implementation.
- Skim the whole diff before commenting on any line — understand the shape before the details.
- Pull and run it if the change is non-trivial. Observed behavior beats read behavior.
Prioritize — comment in this order, and LABEL severity
- Correctness — bugs, race conditions, edge/empty/error cases, off-by-ones, wrong logic.
- Security — injection, authz/authn, secrets in code, unsafe deserialization, input validation.
- Design / architecture — wrong abstraction, leaky boundaries, decisions that are hard to reverse, missing tests for the risky part. This is where staff review adds the most value.
- Maintainability — clarity, naming, duplication, complexity that will bite in 6 months.
- Style / nits — last, and only if a linter doesn't already own it.
Label every comment [blocking], [consider], or [nit]. The author must never have to guess what must change versus what's optional.
How to write each comment
- Specific: file:line, the concrete problem, and a suggested direction — not just "this is wrong."
- Ask when you might lack context: "what happens if
xis null here?" beats a wrong decree. - Explain the why — that's the mentoring; a reason teaches, a demand doesn't.
- Call out genuinely good choices. Review isn't only fault-finding.
Calibrate to author and change
- A hotfix and a greenfield feature deserve different bars — don't gold-plate an urgent fix.
- Junior author → more teaching + links; senior author → trust more, focus on the hard parts.
- Team conventions and the linter win over your personal style. Don't dress up taste as correctness.
Close with a clear verdict
Approve / Approve with nits / Request changes, plus a 2–3 line summary: what's strong, what's blocking, what's optional. Respect the author's time and their ownership of the code.
What ships with it
Read from the repository
Just SKILL.md. No reference files, no scripts.