Agent Skills
› asJEI/vscode
› create-draft-pr
create-draft-pr
GitHub指导 Agent 使用 GitHub MCP 服务器为当前会话创建草稿拉取请求。流程包括运行编译检查、提交未保存更改、审查变更、编写规范的标题与描述,最终生成 Draft PR。
Trigger Scenarios
用户希望将当前工作成果以草稿形式提交到代码仓库
需要为尚未完成的代码变更创建 Pull Request
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


