review-pr
Use when preparing your own change for review (self-review, commit hygiene, writing the PR description) or when reviewing someone else's pull request for…
Skill by KSriki
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/ksriki-review-pr
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: design, frontend, testing, security
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/review-pr
What's inside
- Skill name
review-pr- Description
- Use when preparing your own change for review (self-review, commit hygiene, writing the PR description) or when reviewing someone else's pull request for correctness, design fit, tests, and blast radius. Triggers on "open a PR", "write the PR description", "review this PR", "is this ready to merge", "self-review", "squash these commits", "approve". Do NOT use for security/trust-boundary review of external code or dependencies (that's `secure-code-review` / the `security-reviewer` agent), for the test/lint/typecheck gate commands (`run-tests`), or for whether a component should exist at all (`new-service` / `architecture-patterns`).
- License
- MIT
- Instructions
- 113 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Pull requests: opening one, and reviewing one ## When to use this The change is written and gated green; now it has to be **communicated and scrutinized** before it merges. Two modes below — you're either the author preparing the PR, or the reviewer judging it. **Not this skill if:** the code came from outside the repo or adds a dependency → `secure-code-review` first (that's a trust-boundary review, this is a craft review — do both, security first). You're deciding whether the thing should exist → `new-service` / `architecture-patterns`. You're running the gate → `run-tests`. --- ## MODE A — Opening a PR ### 1. Self-review the diff first Read your **own diff line by line** before anyone else does. Half of all review comments are things the author would've caught reading their own change cold. Look for: leftover debug prints, commented-out code, a `TODO` you meant to resolve, a file you didn't mean to touch, a secret or a hardcoded path. ### 2. Keep it small and single-purpose One PR = one reviewable idea. A 1,500-line PR gets rubber-stamped because nobody can hold it in their head; a 150-line PR gets *actually* reviewed. If it's big, split it — refactor-then-feature as two PRs beats both tangled in one. On GitHub, a **PR stack** (public preview 2026-07) is the native mechanism for the split: dependent layers, each a focused per-layer diff, merged bottom-up. ### 3. Commit hygiene Commits tell the story of *how* you got there. Each commit builds and passes; messages say **why**, not just what 〈imperative subject; body explains the reason〉. Squash the "fix typo" / "address review" noise before merge. ### 4. Write the PR description — what a reviewer needs, not what git already shows The diff shows *what changed*. The description must supply what the diff can't: - **Why** — the problem, linked to the issue/ticket. A reviewer can't judge a solution to a problem they have to guess. - **Approach & alternatives** — the one non-obvious design choice and what you rejected. Pre-empts the reviewer's first question. - **Risk & blast radius** — what could this break, and **how do you roll it back** (`ci-cd` §6). Migrations, config, or contract changes get called out explicitly. - **Test evidence** — what you ran and that it's green (`run-tests`), plus how a reviewer can exercise it themselves. - **Screenshots/logs** for anything user-visible. ## MODE B — Reviewing a PR > **You are accountable for what you approve.** "LGTM" on code you didn't > understand is not a review — it's a signature on a blank check. Approve only > what you can explain. ### Review in this order — highest signal first 1. **Does it do what the PR says it does?** Read the description, then check the diff delivers *that*. A correct solution to the wrong problem is still wrong. 2. **Correctness & edges.** The error path, empty input, the boundary, the concurrent/duplicate case, the partial failure. **That's where bugs live** — not in the happy path the author already tested. 3. **Design fit.** Does it match the repo's layers and idioms? Does it add a dependency, a service, or a network hop that needs its own gate (`secure-code-review` / `new-service`)? Right-sized, or over-built? 4. **Tests.** Are the new/changed behaviors *actually* tested — asserting outcomes, not just executing lines? Missing edge tests is a review comment, not a nit. 5. **Readability.** Will the next person understand this in six months? Names, not cleverness. But **match the surrounding code** — don't relitigate the repo's style in one PR. ### Comment discipline — say what kind of comment it is Label severity so the author knows what blocks merge: - **Blocking** — a correctness/security/design defect. Merge does not happen until it's resolved. Explain the *failure*, not just the preference. - **Suggestion** — a real improvement the author should weigh; not a merge blocker. - **Nit** — style/taste, explicitly optional. Mark it `nit:` so it's ignorable. Review the code, **never the person.** "This misses the empty-list case" — not "you always forget." And when it's good, **say so** — review isn't only defect-finding. ### Before you approve - [ ] The gate is green (`run-tests`) — CI, not vibes - [ ] External code / new deps got `secure-code-review` (or the `security-reviewer` agent) - [ ] You understand every change you're approving; unexplained code is a blocking question - [ ] Blast radius + rollback are stated and acceptable ## Failure modes | Symptom | Cause | Fix | |---|---|---| | Rubber-stamp `LGTM` | PR too big to hold in head | Author splits it; reviewer requests smaller PRs | | Bikeshedding on style | Taste dressed up as blocking | Mark taste as `nit:`; block only on defects | | "Approved" then prod breaks | Reviewed the happy path only | Review edges/errors/concurrency first, happy path last | | Endless back-and-forth | Design disagreement surfacing at PR time | Escalate to a quick design conversation (`write-design-doc`), don't fight it in comments | | Reviewer missed a leaked secret / exfil | Craft review used where a security review was needed | Route external code through `secure-code-review` — this skill is not that | ## Definition of done **As author:** self-reviewed diff · small single-purpose · clean commits · description covers why/approach/risk/rollback/test-evidence · gate green. **As reviewer:** confirmed it does what it claims · checked edges before happy path · tests assert real behavior · severity-labeled comments · **approved only what you understand**, with rollback/blast-radius acceptable.
From KSriki/agent-harness-template, MIT.
More from KSriki/agent-harness-template
- 0.565score
evolve-harness
KSriki
Use to turn a repeated correction, a recurring failure, or a researched new practice/trend into a durable change to the AGENT LAYER — a new or edited skill…
SkillAFreshness: AClaude Code +9 - 0.524score
grill-me
KSriki
Use to grill the user relentlessly about a plan, decision, or idea — a frontier-batched interview down the design tree (rounds of ready questions, each with a…
SkillBFreshness: BClaude Code +9 - 0.524score
eval-harness
KSriki
Use when building, running, or debugging evaluations for LLM or agent components: golden sets, regression evals, LLM-as-judge, rubric scoring…
SkillBFreshness: BClaude Code +9 - 0.524score
observability
KSriki
Use when instrumenting a service (structured logs, metrics, traces), defining SLOs or alerts, building a dashboard, or triaging a live production incident /…
SkillBFreshness: BClaude Code +9 - 0.524score
orchestrate-agents
KSriki
Use to ship a multi-part change by running several agents IN PARALLEL — fan-out across subagents, each isolated in its own git worktree, then verify-and-merge.
SkillBFreshness: BClaude Code +9 - 0.524score
ci-cd
KSriki
Use when setting up or debugging a CI pipeline, adding a workflow or gate, promoting a build through environments, deploying, cutting a versioned release, or…
SkillBFreshness: BClaude Code +9 - 0.524score
codebase-design
KSriki
Use to design or improve a single MODULE's interface — deciding where a seam goes, making code more testable / AI-navigable, or judging whether a module is…
SkillBFreshness: BClaude Code +9 - 0.524score
prd-to-issues
KSriki
Use to break a plan, spec/PRD, or the current conversation into a set of tracer-bullet tickets — each a narrow-but-complete vertical slice, declaring its…
SkillBFreshness: BClaude Code +9 - 0.520score
graphify
KSriki
Use for STRUCTURE and relationship questions about a codebase/corpus — how X reaches Y, what depends on what, blast radius, architectural hubs — and to build…
SkillBFreshness: BClaude Code +9 - 0.499score
harness-help
KSriki
Use when the user asks how to customize the harness or where something goes: "how do I add a rule / gotcha / skill", "where do I change the gate", "what file…
SkillBFreshness: BClaude Code +9 - 0.474score
debug-research
KSriki
Use when the answer likely lives OUTSIDE this repo: debugging an error from a library/framework/API, checking whether an SDK signature is current, evaluating…
SkillCFreshness: CClaude Code +9 - 0.474score
domain-modeling
KSriki
Use to actively build and sharpen a project's domain model — pin down terminology / ubiquitous language, resolve fuzzy or overloaded terms, and record the…
SkillCFreshness: CClaude Code +9
Signals
- Stars
- 0
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 2, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/KSriki/agent-harness-template
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from KSriki
- 0.565score
evolve-harness
KSriki
Use to turn a repeated correction, a recurring failure, or a researched new practice/trend into a durable change to the AGENT LAYER — a new or edited skill…
SkillAFreshness: AClaude Code +9 - 0.524score
grill-me
KSriki
Use to grill the user relentlessly about a plan, decision, or idea — a frontier-batched interview down the design tree (rounds of ready questions, each with a…
SkillBFreshness: BClaude Code +9 - 0.524score
orchestrate-agents
KSriki
Use to ship a multi-part change by running several agents IN PARALLEL — fan-out across subagents, each isolated in its own git worktree, then verify-and-merge.
SkillBFreshness: BClaude Code +9 - 0.524score
eval-harness
KSriki
Use when building, running, or debugging evaluations for LLM or agent components: golden sets, regression evals, LLM-as-judge, rubric scoring…
SkillBFreshness: BClaude Code +9 - 0.524score
observability
KSriki
Use when instrumenting a service (structured logs, metrics, traces), defining SLOs or alerts, building a dashboard, or triaging a live production incident /…
SkillBFreshness: BClaude Code +9 - 0.524score
ci-cd
KSriki
Use when setting up or debugging a CI pipeline, adding a workflow or gate, promoting a build through environments, deploying, cutting a versioned release, or…
SkillBFreshness: BClaude Code +9
Cite this page
review-pr skill. Agent Mart. https://agentmart.dev/skills/ksriki-review-pr (last updated 2026-10-24)