Agent Skills
› asJEI/vscode
› update-pr
update-pr
GitHub用于更新当前会话的现有拉取请求。当用户希望将新更改推送到 PR 时触发,包括同步上游变更、修复编译错误、提交代码及更新 PR 元数据。
触发场景
用户要求推送新更改到现有 PR
需要同步并更新拉取请求
安装
npx skills add asJEI/vscode --skill update-pr -g -y
SKILL.md
Frontmatter
{
"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.
- 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
- Run the compile and hygiene tasks (fixing any errors)
- If there are any uncommitted changes, use the
/commitskill to commit them - If the outgoing changes introduce significant changes to the pull request, update the pull request title and description to reflect those changes
- Update the pull request with the new commits and information
版本历史
- ce4db66 当前 2026-07-19 08:58


