Skip to main content

create-pr

Submit a new Pull Request to the project.

来源信息

仓库
alibaba/neug
最近来源活动
2026年9月16日 02:31
检测到的 SKILL.md 语言
英语
星标
168
分支
35

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
create-pr
description
Submit a new Pull Request to the project.
disable-model-invocation
true
## User Input ```text $ARGUMENTS ``` You **MUST** consider the user input before proceeding (if not empty). ## Outline 1. **Create PR**: Create a new PR from the current branch. If current branch is `main`, checkout to a new branch. Load the template in a temporary file `templates/pull-request.md`. 2. **Fill Metadata**: - Choose a prefix for the PR title. (available prefixes: feat, fix, refactor, docs, test, ci) - Generate a good title for the PR. You can use the related issue title as a reference. - Choose reviewers. Leave empty as default. - Fill the content of the PR body. 3. **User Revision**: - Open the temporary file and let the user review the PR content. - Modify the PR content by the user's feedback until the user is approved. 4. **Submit PR**: Submit the PR to the project. - Note the initial lines are PR settings and the remaining part is the real PR body. - All PR settings must be set when creating the PR. ``` gh pr create \ --title "<pr-title>" \ --body "<pr-content>" \ --reviewer "<reviewer>" ```
在 GitHub 查看