Agent Skills
› asJEI/vscode
› create-draft-pr
create-draft-pr
GitHub该技能用于在当前会话中创建草稿拉取请求。它指导代理使用GitHub MCP服务器,先编译修复错误并提交更改,然后审查代码、撰写规范的标题和描述,最终生成草稿PR。
Trigger Scenarios
用户希望打开一个草稿PR
当前会话有未提交的更改需要整合
Install
npx skills add asJEI/vscode --skill create-draft-pr -g -y
SKILL.md
Frontmatter
{
"name": "create-draft-pr",
"description": "Create a draft pull request for the current session. Use when the user wants to open a draft PR with the session's changes."
}
Create Draft Pull Request
Use the GitHub MCP server to create a draft pull request — do NOT use the gh CLI.
- Run the compile and hygiene tasks (fixing any errors)
- If there are any uncommitted changes, use the
/commitskill to commit them - Review all changes in the current session
- Write a clear, concise PR title with a short area prefix (e.g. "sessions: …", "editor: …")
- Write a description covering what changed, why, and anything reviewers should know
- Create the draft pull request
Version History
- ce4db66 Current 2026-07-19 08:58


