بنقرة واحدة
github-pr-acceptance
// Use when the user explicitly asks to accept or merge a GitHub pull request and the PR must show as merged on GitHub, not only in local git history.
// Use when the user explicitly asks to accept or merge a GitHub pull request and the PR must show as merged on GitHub, not only in local git history.
Use only when the user explicitly mentions Codex parity, codex-app-parity, Codex.app parity, or asks to compare against the installed Codex desktop app.
Use when the user asks to review GitHub pull requests, identify concrete risks, and write review comments with `gh`. Focus on actionable findings, not summaries.
用于这个仓库中“先分析 upstream 提交与代码变更,再按功能主题选择性引入 upstream 变更;所有操作在临时 worktree 中完成,并在难解冲突时优先保留当前 fork 实现”。当用户提到 upstream sync、同步源仓库、选择性合并 upstream、分析上游提交、挑功能合并等意图时使用。仅适用于 nervmor/codexui 与其上游 friuns2/codexUI。
| name | github-pr-acceptance |
| description | Use when the user explicitly asks to accept or merge a GitHub pull request and the PR must show as merged on GitHub, not only in local git history. |
Use this skill when the user explicitly asks to accept/merge a pull request on GitHub (not just locally).
Ensure the PR is shown as MERGED on GitHub, with mergedAt and mergeCommit populated.
main using repository merge rules.main to canonical remotehttps://github.com/friuns2/codexUI.git.gh pr view <number> --repo friuns2/codexUI --json state,mergedAt,mergeCommit,mergeStateStatus,urlstate is MERGED, stop.OPENmergeStateStatus is DIRTY (common after rebase or cross-repo PR):
main against exact PR head SHA:
git checkout maingit merge --no-ff -s ours <pr-head-sha> -m "Merge pull request #<number> from <owner>/<branch>"main again.gh pr view ... and confirm:
state: MERGEDmergedAt is non-nullmergeCommit is non-null