一键导入
review-pr-local
Run the repository PR review workflow locally from the current branch using temporary-directory snapshots and the same review.json contract as CI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Run the repository PR review workflow locally from the current branch using temporary-directory snapshots and the same review.json contract as CI.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a local static interactive D3 walkthrough of a pull request. Use when the user wants a zoomable PR map, graph/canvas PR orientation, or alternate visualization of PR system components, data flow, code dependencies, and user actions.
Bootstrap the issue triage configuration for a repository by analyzing existing issues, labels, and contributors to generate `.github/issue-triage/config.json` and `.github/CODEOWNERS`. Use when setting up triage automation on a new or existing repository for the first time.
Compare a pull request's implementation against spec context in spec_context.md and feed any material mismatches into review.json. Use during PR review when approved or repository spec context is available.
Create a product spec from a GitHub issue in this repository by applying the local shared `write-product-spec` workflow with issue context and output paths. Use when an issue should be turned into a product spec artifact stored under `specs/issue-<issue-number>/product.md` and the agent should prepare file changes only, without creating commits or pull requests itself.
Create a technical spec from a GitHub issue in this repository by applying the local shared `write-tech-spec` workflow with issue context and output paths. Use when an issue should be turned into a tech spec artifact stored under `specs/issue-<issue-number>/tech.md` and the agent should prepare file changes only, without creating commits or pull requests itself.
Repo-specific dedupe guidance . Only the categories declared overridable by the core dedupe-issue skill may be specialized here.
| name | review-pr-local |
| description | Run the repository PR review workflow locally from the current branch using temporary-directory snapshots and the same review.json contract as CI. |
Use this skill after local implementation work and before pushing or creating a
PR. It prepares the same review inputs used by the GitHub review workflow, then
delegates review logic to review-pr.
pr_description.txt, then
falls back to locally built PR metadata when the GitHub PR cannot be fetched.
The pr_diff.txt snapshot is built from the local worktree diff. The command
writes snapshots to a temporary directory and prints the selected review
skill as skill=<path> plus exact file paths:
python3 .github/scripts/prepare_local_review_inputs.py
skill path printed by the command.pr_description_pathpr_diff_pathspec_context_path when non-emptyreview_path.python3 .github/scripts/validate_review_json.py <pr_diff_path> <review_path>
python3 .github/scripts/validate_local_review_result.py \
--baseline-status <baseline_status_path>
git add, git commit, git push,
gh, or GitHub API commands.review.json; do not fix
code during this skill.