界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
效率与协作 · SKILL.md

create-draft-pr

create-draft-pr

【效率与协作】Create a draft pull request for the current session. Use when the user wants to open a draft PR with the session's changes.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

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 if available, otherwise use gh CLI.

  1. Run the compile task (fixing any errors)
  2. If there are any uncommitted changes, use the /commit skill to commit them
  3. Review all changes in the current session
  4. Write a clear, concise PR title with a short area prefix (e.g. "sessions: …", "editor: …")
  5. Write a description covering what changed, why, and anything reviewers should know
  6. Create the draft pull request
我的收藏