跳到正文
cccskills
免费在 GitHub 公开

pr

Prepare a pull request for the current branch by reviewing its commits and diff, choosing a conventional title, and filling in the repository’s pull request template. Then push the branch and create the PR targeting the default main branch.

中文简介正在准备中。当前显示英语简介。

原文查看原文说明

Create a pull request for the current branch

BuddiesOfBudgie/budgie-desktop星标 1,345(GitHub 1,345 + cccskills 0)
集成工具GitHub

实测评分 未实测

查看安装方法

适用场景

  • Opening a pull request for a completed branch
  • Summarizing all changes since the branch split from main
  • Creating a PR using the repository’s contribution format

包含的文件(1)

  • SKILL.md1.6 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Create a Pull Request

You are creating a pull request for the current branch on budgie-desktop (C / Vala desktop environment built with Meson + Ninja).

Step 1: Gather Context

Run these commands to understand the current state:

git status
git log --oneline main..HEAD
git diff main...HEAD --stat
git diff main...HEAD
git branch --show-current

If there are uncommitted changes, run the /commit skill first before proceeding.

Step 2: Determine PR Type

Based on the changes, choose the appropriate conventional commit type and scope. See CONTRIBUTING.md for the full list of types and scopes.

Step 3: Generate PR Content

Title format: <type>: <short description> (under 70 characters)

Read .github/PULL_REQUEST_TEMPLATE.md and use its structure as the body format for the PR. Fill in the sections based on the changes being submitted.

Step 4: Create the PR

Push the branch and create the PR:

git push -u origin HEAD
gh pr create --title "<title>" --body "$(cat <<'EOF'
<body content>
EOF
)"

Target branch: main (default)

Notes

  • Review all commits since divergence from main, not just the latest one
  • Ensure the title accurately reflects the overall change
  • Test plan should include build verification with ninja -C build
  • See CONTRIBUTING.md for full contribution guidelines and AI attribution policy

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

commit

免费

Review staged and unstaged changes, select relevant files, and create a Git commit using Conventional Commits, a format for structured commit messages. The workflow adds the required DCO sign-off and checks the repository status afterward.

中文简介正在准备中。当前显示英语简介。

  • Committing a focused set of changes
  • Writing a commit message in Conventional Commits format
  • Adding the required DCO sign-off to a commit
BuddiesOfBudgie/budgie-desktop13452026年10月27日 更新

查看 BuddiesOfBudgie 的全部技能

报告此技能的问题