Install any skill in seconds. Free to start, no credit card required.
Get Started Free →wasabeef/基于-git-变更分析自动创建-pr
基于 Git 变更分析自动创建 PR。「创建 PR」「提交 PR」「开 pull request」「提交审查」等触发。
Passed 22 of 24 test cases with the skill, and 16 of 24 without it.
and 4 more in the full report
7 fixed15 passed either way1 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 7 test cases the skill fixed. Same model, same prompt, with and without the skill.
Our git diff touches documentation markdown, Jest specs, GitHub workflow files, and dependency manifests. How many total labels should be automatically attached when creating the PR?
| Checked | Without skill | With skill |
|---|---|---|
| Caps the automatically selected labels at a maximum of 3. | Missed | Passed |
The instructions your model reads when the skill loads.
不再推荐:请优先使用
/pr-create-smart生成高质量的 PR 描述草稿,然后使用 gh/GUI 创建 PR。本命令属于“端到端自动创建 PR(保留模板、自动打标签、创建 Draft)”的旧方案,仅为兼容保留。
基于 Git 变更分析的自动 PR 创建,实现高效的 Pull Request 工作流程。
# 基于变更分析的自动 PR 创建
git add . && git commit -m "feat: 实现用户认证功能"
"分析变更内容并使用适当的描述和标签创建 Draft PR"
# 保留现有模板的更新
cp .github/PULL_REQUEST_TEMPLATE.md pr_body.md
"完全保留模板结构并补充变更内容"
# 逐步提升质量
gh pr ready
"质量确认完成后,更改为 Ready for Review"
# 1. 创建分支并提交
git checkout main && git pull
git checkout -b feat-user-profile
git add . && git commit -m "feat: 实现用户档案功能"
git push -u origin feat-user-profile
# 2. PR 创建
"请按以下步骤创建 PR:
1. 使用 git diff --cached 确认变更内容
2. 使用 .github/PULL_REQUEST_TEMPLATE.md 创建描述
3. 从变更内容选择最多 3 个适当的标签
4. 创建 Draft PR(保留 HTML 注释)"
# 3. CI 确认后转为 Ready
"CI 通过后将 PR 更改为 Ready for Review"
test cases passed, vs 16 / 24 without
Published skills whose descriptions closely match this one, with their headline benchmark lift.
More skills from the same source and nearby in the registry, with their headline benchmark lift.