一键导入
pr-vcs
Opens a vcs pull request. Should rarely be called directly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Opens a vcs pull request. Should rarely be called directly.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | pr-vcs |
| description | Opens a vcs pull request. Should rarely be called directly. |
| allowed-tools | Bash |
| argument-hint | <title> <body-file> |
Infra-layer wrapper around gh pr create. Does not write the PR body or
decide when to open the PR — it just runs the shell call with consistent
flags and figures out the base branch.
Invoked by the pr capability skill after that skill has rendered the PR
body from the repo's template. You usually do not invoke this directly.
Delegate to the script:
.claude/skills/pr-vcs/scripts/create-pr.sh "<title>" <body-file>
<title> — PR title (typically the Conventional-Commits subject of the
first commit on the branch).<body-file> — path to a file containing the fully-rendered PR body.
Passing a file (rather than an inline string) keeps multi-line bodies
clean in the shell.gh pr create --base <detected-base> where the base is whatever
gh repo view --json defaultBranchRef -q .defaultBranchRef.name reports.Create a feature branch using this repo's branch-naming conventions.
Creates a new vcs branch. Should rarely be called directly.
Decompose the working tree into clean commits and open a PR. Use when the user asks to ship the current change end-to-end.
Create a commit following this repo's conventions (Conventional Commits). Use when the user asks to commit changes. Optional file list scopes the commit.
Creates a vcs commit. Should rarely be called directly.
Partition the current working tree into the smallest coherent commit chunks. Use when a diff spans multiple concerns and needs to be split.