finalize-pr
Orchestrates the full post-implementation loop: push PR → wait for CI → fix failures → repeat until CI passes or termination rules trigger a pause. This skill should be used when the user says "ship it", "finalize pr", "push and fix CI", "push pr and wait for CI", or invokes "codagent:finalize-pr".
Codagent-AI · 已有静态检查记录
安装与使用
运行命令前先阅读来源与依赖说明。复制命令不会自动安装或执行。
npx skills add Codagent-AI/agent-skills --skill finalize-pr技能说明
name: finalize-pr description: > Orchestrates the full post-implementation loop: push PR → wait for CI → fix failures → repeat until CI passes or termination rules trigger a pause. This skill should be used when the user says "ship it", "finalize pr", "push and fix CI", "push pr and wait for CI", or invokes "codagent:finalize-pr".
Finalize PR
Use the independently reusable PR skills to make the current branch review-ready:
- Invoke
codagent:push-pr. - Invoke
codagent:wait-ci. - On
failedorcomments, invokecodagent:fix-pr, then return to waiting. - On
passed, report success and the PR URL.
For pending, report what remains and ask whether to wait longer.
Termination
Track each fix cycle's failure signature: the set of failing check names, or comments-only when only
review feedback remains.
Pause for user direction instead of fixing when:
- three fix cycles have already run; or
- the same signature remains after two consecutive fix attempts.
When pausing, include the current CI or review evidence and the attempted fixes. Do not archive changes; archiving is a separate operation.