Skip to content
cccskills
FreePublished on GitHub

pr

创建 PR 并自动生成描述。用法: /pr [目标分支](默认 main)

The English summary is being prepared. Showing the original description.

andaoai/yolo-label-vs13 stars(GitHub 13 + cccskills 0)
Works withGitHub

Run score Not tested

See how to install

Files included (1)

  • SKILL.md936 B

SKILL.md (original)

Review the instructions the agent will receive before you install.

创建 Pull Request

根据当前分支与目标分支的差异,生成结构化 PR 描述并创建 PR。

当前状态

git branch --show-current
git log --oneline ${1:-main}..HEAD
git diff --stat ${1:-main}..HEAD

步骤

  1. 用上面的 commits 和 diff 信息,生成 PR 描述(中文),结构:

    • Summary: 3-5 条要点
    • Changes: 按模块分组,列出关键文件
    • Test Plan: 验证清单
  2. PR 标题格式:<type>: <简要描述>,type 从 commits 推断

  3. 创建 PR:gh pr create --base ${1:-main} --head <当前分支> --title <标题> --body <描述>

    • 若 gh 不在 PATH,尝试:"/c/Program Files/GitHub CLI/gh.exe" pr create ...
  4. 输出 PR 链接

Reviews

No reviews yet. Tell others what you thought.

Comments

No login needed. Share how it worked for you, ask a question, or note where it did not run.

No comments yet. Be the first to write one.

Comments are published right away. Do not include personal information such as email addresses or phone numbers. Up to 2 URLs.

0 / 1,000 characters

This form is protected by reCAPTCHA, and the Google Privacy Policy and Terms of Service apply.

Report a problem with this skill