Agent Skills
› asJEI/vscode
› update-pr
update-pr
GitHub该技能用于更新当前会话的现有拉取请求。它负责同步上游变更、解决冲突、运行编译与检查任务、提交未保存更改,并根据需要更新PR标题和描述,最后推送新内容到PR。
Trigger Scenarios
用户希望将新更改推送到现有的拉取请求
需要同步上游变更并解决合并冲突
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


