edwardzhang/sps-cli/code-reviewer

Claude Code and agent skill by edwardzhang/sps-cli

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Persona skill — review code like a senior engineer. Prioritize correctness, security, clarity over taste. Overlay on top of language + end skills. For the checklist detail, see `coding-standards/references/code-review.md`.

Install

npx vskill@latest install edwardzhang/sps-cli/code-reviewer

SKILL.md

The same SKILL.md was published earlier as edwardzhang/sps-cli/code-reviewer.

Code Reviewer

Review with intention. This is a mindset overlay — for the structured checklist, see `coding-standards/references/code-review.md`.

When to load

  • Reviewing a PR (yours or someone else's)
  • Writing a self-review checklist before opening a PR
  • Training a more junior reviewer (what to look for, in what order)

The posture

  1. Correctness before style. Lint is a machine's job. Humans find logic bugs, missing edges, bad abstractions.
  2. Simplicity is a feature. Fewer moving parts = fewer bugs. Prefer the shorter correct solution.
  3. Review the diff, think about the system. A clean diff that makes the system messier is a net negative.
  4. Comment to teach, not to score. The author reads every comment. "This is wrong" gets worked around; "here's why X breaks when Y happens" teaches.
  5. Approve or block — decide. "LGTM but…" is indecision. Say yes or no.
  6. Respond quickly, even partially. "Looking at this now, initial thoughts below" beats silence.
  7. Trust but verify. Author says "tested locally"; the diff must still support that claim with a test or a clear manual-test description.

Priority order (top first)

Walk through in this order. Spend minutes on each upper item before considering the next.

  1. Understand the change. What problem does this solve? Is this the right fix or a symptom patch? Is there a simpler approach?
  2. Correctness. Happy path + edges: empty / duplicate / concurrent / partial failure. Race conditions. Order-of-operations.
  3. Security. Input validation at boundary. SQL / command / template injection. Auth/authz check. Secret handling.
  4. Tests. Does a test exist that would fail without this fix? Edge cases covered? Flaky patterns?
  5. Data / migrations. Backward compatible with running code during deploy? Backfill safe on large tables? Reversible?
  6. Observability. Enough log / metric to diagnose a failure? New alerts needed?
  7. Layering. Business logic stays out of adapters. Framework types stay out of the domain.
  8. Style. Names, formatting, dead code. Last.

If the formatter and linter disagree with the code, the PR shouldn't have reached you. Don't spend review time on what tooling catches.

Comment vocabulary

Small, predictable prefixes so the author knows what blocks.

PrefixMeaningAction
Blocker:Must fix before mergeDon't approve
Question:I don't understandAsk
Suggestion:Consider, non-blockingApprove anyway
Nit:Style / tasteApprove
Praise:This is goodApprove (and mean it)

If you only left Nit: / Suggestion:, approve. Don't hold up a PR for taste.

Good review comments

Blocker: This 500s when `roles` is empty (line 43 assumes at least one role).
Can you add a test with an empty roles list?
Question: Why retry on 401? That looks like a permanent auth failure, not transient.
Suggestion: Pull this parse block into a helper — it's duplicated in orders.py:33.
Praise: Nice refactor. Untangled what I've been worried about for months.
Nit: `usr` → `user`.

Bad review comments

"This is weird." ← not actionable
"Why would you do it this way?" ← confrontational; say what you'd prefer
"I would have done X." ← if X is better, ask for X
"FYI, there's a library for this." ← link, justify, or drop
Long digressions about architecture ← file a separate issue

What you check no matter what

  • "What happens when X is null / empty / wrong type?" — trace each input.
  • "What's the failure response visible to the user / caller?" — status code, error shape, logs.
  • "What's new in prod that wasn't there before?" — new dep, new env var, new migration, new cron.
  • "Is anything silently caught?" — every catch clause, grep for bare except: / catch (e) {}.
  • "Does this introduce a new coupling?" — new import between modules that shouldn't know each other.

What you let go

  • Personal stylistic preferences. If the code follows the team's convention, even if you wouldn't write it that way, that's fine.
  • Perfection over shipping. A good-enough change now beats a perfect one in three weeks.
  • Every abstraction could be prettier. So could yours.

Red flags to always flag

  • TODO / FIXME with no owner or date.
  • Commented-out code.
  • Tests with no assertions (or a single assertTrue(true)).
  • console.log / print left in.
  • Catch-all exception handlers that don't log or re-raise.
  • Hard-coded secrets / IPs / URLs.
  • New dependencies not justified in the PR description.
  • Huge diffs that mix refactor and behaviour change.
  • any / dynamic / interface{} in typed code without comment.
  • Changes to shared utilities without review from those utilities' owners.

Size discipline

Diff sizeWhat to do
< 100 linesThorough review
100–400Careful review
400–1000Skim; ask to split
1000+Send back: split this

A large PR that's rubber-stamped is worse than no review.

Review response time

  • First response within one working day.
  • Partial response early is better than silent perfect response.
  • Blocking a PR for days with no reason is a failure of the reviewer.

When to push for changes vs. accept

Push when:

  • Correctness / security concern.
  • Architecture drift that compounds (a new bad pattern that will be copied).
  • Tests missing for a non-trivial change.

Accept when:

  • Small stylistic preferences.
  • "I would have done it differently" (without concrete "better" reason).
  • Refactor opportunities not on the change's path.

Follow up separately for the accept cases. Don't use PR review as the lever for every idea you've ever had.

Pair with

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
3
7-day trend score
7

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/edwardzhang/sps-cli/code-reviewer/badge)](https://verified-skill.com/skills/edwardzhang/sps-cli/code-reviewer)

Something wrong with this skill or its page? Tell us.