Skip to main content
在 Manus 中运行任何 Skill
一键导入

repost-pr-reviews-to-tpf

星标162
分支92
更新时间2026年5月20日 23:29

Repost GitHub review content (Copilot bot reviews, human-reviewer threads, etc.) from a closed public PR onto its GHSA temporary-private-fork (TPF) PR, anchored to the source's `original_commit_id` at `original_line` so each comment renders as a historical outdated comment matching the original review UX exactly. Use after `move-pr-to-private-ghsa` to restore reviewer-thread continuity on the TPF, since reviews/inline comments do not migrate with the commits. Encodes the pull-via-`gh api` → group-by-review → anchor-to-original-commit → attribute-via-preface → post-as-COMMENT-event sequence plus the gotchas (commit must still be in the TPF chain, line must be in that commit's diff, your account is the apparent author so attribution lives in the body preface, never re-use APPROVE / REQUEST_CHANGES events from the source review). Requires repo-admin (or `repo` scope) on the TPF and `repo` scope on the public source repo.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly