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


