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


