Agent Skills
› asJEI/vscode
› update-pr
update-pr
GitHub用于更新当前会话的拉取请求。当用户希望将新更改推送到现有PR时触发,包括同步上游变更、解决冲突、编译检查、提交代码及更新PR元数据。
Trigger Scenarios
用户希望将新更改推送到现有PR
需要更新拉取请求以反映最新代码状态
Install
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
Version History
- ce4db66 Current 2026-07-19 08:58


