跳到主要内容
知仓学习社ZHICANG

pr-walkthrough

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…

不碰外部(只输出文字)无严重或高危命中hashgraph-online/awesome-codex-plugins

它会碰到什么

扫了多少1 个文本文件,3 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

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

<!-- include: _common/tool-usage.md -->

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

  1. 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.

  1. 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).

  1. What each file changes. For each changed file, get_changed_file_diff(repo, pr, path) → one

line describing what it changes.

  1. 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.

  1. 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).

  1. 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.
  1. 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)

<!-- include: _common/anti-hallucination.md -->

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.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。