一键导入
copilot-review-pr
Create or reuse a draft pull request for the current branch. Use when the user wants a draft PR opened or refreshed before review.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create or reuse a draft pull request for the current branch. Use when the user wants a draft PR opened or refreshed before review.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Run an autonomous GitHub pull request workflow: commit all changes, ensure a draft PR exists, invite GitHub Copilot to review, poll for the latest review, apply useful fixes with Codex, push again, and repeat until high-value review work is exhausted, the max round count is reached, no comments remain, or human intervention is needed.
Invite GitHub Copilot to review the current pull request. Use when the user wants to request a Copilot PR review or add @copilot as a reviewer.
Fetch the latest GitHub Copilot pull request review, triage the comments, and apply valid fixes. Use when the user wants to inspect, summarize, or address Copilot review feedback.
| name | copilot-review-pr |
| description | Create or reuse a draft pull request for the current branch. Use when the user wants a draft PR opened or refreshed before review. |
Use the bundled script. Do not rebuild the gh calls manually.
Resolve the script from this skill directory.
SKILL_ROOT="<absolute-path-to-this-skill>"
SCRIPT="$SKILL_ROOT/scripts/create_or_reuse_draft_pr.sh"
"$SCRIPT" [--branch <name>] [--repo <owner/repo>] [--base <branch>] [--title <title>] [--body <body>]
This skill is for action, not display.
Workflow:
scripts/create_or_reuse_draft_pr.sh only after the branch state is ready for GitHub PR creation, passing the analyzed title and description with --title and --body.Rules:
scripts/create_or_reuse_draft_pr.sh after any needed commit and push steps.git push -u <remote> <branch>. If an upstream already exists, prefer git push.$copilot-review:pr.