PR walkthrough (reading guide for a human reviewer)
Help a human reviewer orient in a PR — not find bugs. Produce a markdown guide: where to start
(by centrality), what each file changes, and what it impacts ("careful, affects X"). Separate from
bug findings (review-pr).
Always answer the user in Russian (the project language). Tool calls, identifiers and path:line
stay verbatim.
Tools
Plus the PR-session tools (reviewer MCP): prepare_review, get_impact, get_changed_file_diff,
find_callers, get_related_symbols, read_file; optional get_subsystem_summaries (PRI-159);
optional post_pr_walkthrough (only on explicit user request).
Pipeline
Resolve repo & prepare the session. Resolve repo (git remote). Call prepare_review(repo, pr).
If it returns {"status": "skipped"} (branch not in REVIEW_BRANCHES), tell the user (in Russian)
and stop.
Reading order (centrality). Call get_impact(repo, pr) → changed symbols and their callers.
Order "start here" by how much depends on each changed symbol (most central first). Graph down →
fall back to ordering by file (fail-open).
What each file changes. For each changed file, get_changed_file_diff(repo, pr, path) → one
line describing what it changes.
Impact ("careful, affects X"). For the central changed symbols, find_callers /
get_related_symbols → who depends on them. Every "affects X" must be backed by a real caller.
Subsystem prior (optional). get_subsystem_summaries(repo, pr.base_ref, query="<PR title + changed file paths>") → name the touched
subsystem(s) in one line. Pass the PR's target branch pr.base_ref (from the prepare_review
response), NOT the local git branch — subsystem summaries are indexed per target branch
(base:<branch>). Empty / unavailable → skip (fail-open).
Assemble the guide (Russian markdown):
- Начни отсюда — ordered list (most central first).
- По файлам — one line per changed file.
- Осторожно, влияет на — impacted symbols + their callers.
- (optional) Подсистемы — 1–2 lines from summaries.
Output. Print the guide to the user by default. Post to the PR ONLY on explicit user request:
confirm first, then call post_pr_walkthrough(repo, pr, markdown) (posts a PR review comment with
a <!-- ai-walkthrough --> marker, separate from bug findings).
Grounding (hard rule)
Every "affects X" is backed by a real find_callers result. Never invent callers or impact.
Notes
- This is a reading guide, NOT a bug review — no findings, no inline severity comments.
- Posting to the PR is outward-facing and never happens without explicit user request + confirmation.
- Works without PRI-159 summaries and degrades gracefully when the graph is unavailable.
Source: hashgraph-online/awesome-codex-plugins → plugins/mimfort/rag_for_git/plugin/skills/pr-walkthrough/SKILL.md
1---2name: reviewer-pr-walkthrough3description: Build a human-facing reading guide for a GitHub pull request (where to start, what each file changes, what it impacts) using the reviewer PR session + code graph. Use when the user asks to walk a human reviewer through a PR ("PR walkthrough", "гид по PR", "как читать этот PR", "проведи по PR"). NOT a bug review (see review-pr). Requires the reviewer MCP server + base index.4---567# PR walkthrough (reading guide for a human reviewer)89Help a human reviewer orient in a PR — not find bugs. Produce a markdown guide: where to start10(by centrality), what each file changes, and what it impacts ("careful, affects X"). Separate from11bug findings (`review-pr`).1213**Always answer the user in Russian** (the project language). Tool calls, identifiers and `path:line`14stay verbatim.1516## Tools1718<!-- include: _common/tool-usage.md -->19Plus the PR-session tools (reviewer MCP): `prepare_review`, `get_impact`, `get_changed_file_diff`,20`find_callers`, `get_related_symbols`, `read_file`; optional `get_subsystem_summaries` (PRI-159);21optional `post_pr_walkthrough` (only on explicit user request).2223## Pipeline24251. **Resolve repo & prepare the session.** Resolve `repo` (git remote). Call `prepare_review(repo, pr)`.26 If it returns `{"status": "skipped"}` (branch not in REVIEW_BRANCHES), tell the user (in Russian)27 and stop.28292. **Reading order (centrality).** Call `get_impact(repo, pr)` → changed symbols and their callers.30 Order "start here" by how much depends on each changed symbol (most central first). Graph down →31 fall back to ordering by file (fail-open).32333. **What each file changes.** For each changed file, `get_changed_file_diff(repo, pr, path)` → one34 line describing what it changes.35364. **Impact ("careful, affects X").** For the central changed symbols, `find_callers` /37 `get_related_symbols` → who depends on them. Every "affects X" must be backed by a real caller.38395. **Subsystem prior (optional).** `get_subsystem_summaries(repo, pr.base_ref, query="<PR title + changed file paths>")` → name the touched40 subsystem(s) in one line. Pass the PR's target branch `pr.base_ref` (from the `prepare_review`41 response), NOT the local git branch — subsystem summaries are indexed per target branch42 (`base:<branch>`). Empty / unavailable → skip (fail-open).43446. **Assemble the guide (Russian markdown):**45 - **Начни отсюда** — ordered list (most central first).46 - **По файлам** — one line per changed file.47 - **Осторожно, влияет на** — impacted symbols + their callers.48 - (optional) **Подсистемы** — 1–2 lines from summaries.49507. **Output.** Print the guide to the user by default. Post to the PR ONLY on explicit user request:51 confirm first, then call `post_pr_walkthrough(repo, pr, markdown)` (posts a PR review comment with52 a `<!-- ai-walkthrough -->` marker, separate from bug findings).5354## Grounding (hard rule)5556<!-- include: _common/anti-hallucination.md -->5758Every "affects X" is backed by a real `find_callers` result. Never invent callers or impact.5960## Notes6162- This is a reading guide, NOT a bug review — no findings, no inline severity comments.63- Posting to the PR is outward-facing and never happens without explicit user request + confirmation.64- Works without PRI-159 summaries and degrades gracefully when the graph is unavailable.6566---6768**Source:** [`hashgraph-online/awesome-codex-plugins`](https://github.com/hashgraph-online/awesome-codex-plugins) → `plugins/mimfort/rag_for_git/plugin/skills/pr-walkthrough/SKILL.md`