界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

update-pr

update-pr

【效率与协作】Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: update-pr description: Update the pull request for the current session. Use when the user wants to push new changes to an existing PR.

Update Pull Request

Update the existing pull request for the current session. The context block appended to the prompt contains the pull request information.

  1. Check whether the pull request has any commits that are not yet present on the current branch (incoming changes). If there are any incoming changes, pull them into the current branch and resolve any merge conflicts
  2. Run the compile and hygiene tasks (fixing any errors)
  3. If there are any uncommitted changes, use the /commit skill to commit them
  4. If the outgoing changes introduce significant changes to the pull request, update the pull request title and description to reflect those changes
  5. Update the pull request with the new commits and information
我的收藏