一键导入
pr
Push the current branch and open a PR with a filled-in description. Use when the user asks to open a PR or ship a branch. Refuses on main.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Push the current branch and open a PR with a filled-in description. Use when the user asks to open a PR or ship a branch. Refuses on main.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
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.
Opens a vcs pull request. Should rarely be called directly.
| name | pr |
| description | Push the current branch and open a PR with a filled-in description. Use when the user asks to open a PR or ship a branch. Refuses on main. |
| allowed-tools | Bash, Read |
Push the current branch and open a pull request with the description rendered from this repo's PR template.
Refuse on main. If git branch --show-current returns main
(or master), stop and tell the user to create a feature branch
first. Do not push, do not open a PR.
Push the branch. Run git push -u origin HEAD. If the push is
rejected (non-fast-forward, protected branch, etc.), report the error
and stop — do not try to force-push or rebase automatically.
Render the PR body. Read
docs/harness/vcs/pr-template.md and fill each section from the
branch's commits (git log main..HEAD) and diff (git diff main...HEAD):
mktemp) so multi-line content
stays clean.Pick a PR title. Use the first commit's subject (Conventional Commits format) as the default title. Show it to the user and accept a change if they want one.
Delegate to pr-vcs. Invoke the infra wrapper with the title and
body file:
.claude/skills/pr-vcs/scripts/create-pr.sh "<title>" <body-file>
Report. Print the PR URL pr-vcs returned. Clean up the temp body
file.
pr-vcs or open non-draft.