Agent Skills
› asJEI/vscode
› update-pr
update-pr
GitHub用于在用户向现有PR推送新更改时,自动拉取上游变更、解决冲突、运行编译检查、提交未暂存更改并更新PR标题和描述。
Trigger Scenarios
用户希望将新更改推送到现有的Pull Request
需要同步上游分支的更改到当前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


