一键导入
pr-review
Summarize PR impact using repoctl affected data, risk flags, and graph diagnostics.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Summarize PR impact using repoctl affected data, risk flags, and graph diagnostics.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create new apps, frameworks, and foundation services with repoctl templates and manifests.
Respect app, framework, foundation, proto, generated-code, and IaC boundaries.
Change source proto contracts through owners and never edit generated code directly.
Use repoctl as the source of truth for monorepo graph, affected, CI, context, and task workflows.
Create new apps, frameworks, and foundation services with repoctl templates and manifests.
Respect app, framework, foundation, proto, generated-code, and IaC boundaries.
| name | pr-review |
| description | Summarize PR impact using repoctl affected data, risk flags, and graph diagnostics. |
This skill records repository policy for Codex. Use repoctl as the authority for graph, ownership, affected analysis, task routing, and final hand-off verification, but keep repoctl out of the inner coding loop unless the graph or boundaries are changing.
Prioritize correctness, boundary regressions, missing tests, ownership gaps, and CI blind spots. Summaries come after findings. Do not approve a risky diff just because the changed code is small.
Validate the graph when routing inputs changed:
repoctl graph validate
A broken graph makes affected analysis untrustworthy, but graph validation is optional for source-only PRs.
Summarize PR impact:
repoctl pr summary --base origin/main --head HEAD --format human
Use the actual PR base branch when it is not origin/main. Run this once unless graph or
task-routing inputs change during review.
Compute verification surface:
repoctl affected --base origin/main --head HEAD --tasks check,test,build --format human
Compare this with the checks that actually ran. Missing affected tasks are findings, not footnotes. Do not repeat affected analysis to work around unrelated branch-wide changes; state the widening and switch to explicit project-scoped verification.
Inspect code-size risk:
repoctl inspect size --scope changed --base origin/main --head HEAD --fail-on warning
Run this for Rust, TypeScript/TSX, or Python source changes. Use --scope affected when the PR
changes a shared project surface and --scope all when code-size policy, templates, skills, or
inspection logic changes. Oversized files, functions, or nested blocks are review findings unless
a matching inspection.code_size override explains the exception.
Inspect risky paths:
repo.yaml, .github/, templates/, .agents/skills/, .codex/skills/ affect the repo.protos/ can break consumers even when source compiles.generated/ or gen/ should usually be regenerated, not manually patched.deploy/prod/, iac/stacks/prod/, and shared core-infra/ need owner review.Review changed code in owner context:
Use repoctl explain <project-name> for each affected project before deciding whether the
change respects facades, clients, and editable areas.
Lead with findings ordered by severity:
P1 path/to/file:123 - The change bypasses the framework facade and imports an internal crate.
Fix: move the shared API to the facade package or keep the dependency inside the owning framework.
If there are no findings, say so clearly and name residual risks or skipped gates.
Return findings first, then affected projects, risk flags, commands run, and any verification gap that remains before merge.