一键导入
pr
Create a pull request with a well-structured description using the repo's PR template
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a pull request with a well-structured description using the repo's PR template
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Multi-pass review of the current branch as a pull request against a base branch — fans out parallel specialized passes, then merges, reproduces, and reports findings by severity. Manual-only: invoke with `/review-pr [base-branch]`.
Generate a weekly progress report based on git commits, PRs, review activity, and Linear tickets
Look up how to best run a Steam game on this Linux machine via Proton — gathers local Proton/NVIDIA/gamescope/GNOME versions, queries ProtonDB (summary API + headless-Chromium scrape of community reports), and produces a recommended Proton version + gamescope/HDR launch command tailored to this system's hardware and the user's HDR/scaling preferences.
| name | pr |
| description | Create a pull request with a well-structured description using the repo's PR template |
| disable-model-invocation | true |
| argument-hint | ["base-branch"] |
| allowed-tools | Bash(git *), Bash(gh *), Read, Grep, Glob |
Create a pull request from the current branch. If $ARGUMENTS is provided, use it as the base branch; otherwise default to main.
Understand the current branch state Run these in parallel:
git log origin/<base>...HEAD --oneline # all commits on this branch
git diff origin/<base>...HEAD --stat # files changed summary
git diff origin/<base>...HEAD # full diff for reference
Find the relevant Linear ticket
ARCH-796 from supermanifolds/arch-796-shadow-ports-...)ARCH-796) for the closing lineRead the PR template
.github/pull_request_template.md from the repository rootRead key files that were changed to understand what the code actually does — don't just rely on commit messages
Look at PR #400 for description style inspiration
gh pr view 400 --json body
Write the PR description using the repo's PR template as the base structure
Replace the placeholder text at the top of the template with these sections:
Opening prose: 1-3 paragraphs explaining what this PR accomplishes and how, in plain language. No headers, no bullet points — just clear prose that someone unfamiliar with the codebase could follow. Include usage examples (e.g., annotation format, config snippets) inline with code blocks where relevant.
### Components: section: List each new or meaningfully changed component/directory with a short description. Format:
### Components:
- path/to/component/ — What was changed or added here
- path/to/other/ — Description of changes
### Tests section: List each new test with a short description of what it verifies. Format:
### Tests
- Test name or category — What it verifies and how
- Another test — Description
### How to test section: Provide concrete commands or steps a reviewer can use to verify the changes. Format:
### How to test
- Step or command to verify the changes
- Another verification step
### Before & After section: Add an empty comparison section for the author to fill in later. Format:
### Before & After
- [ ] TODO: Add before & after comparison
Keep the --- separator and the ## ✅ Good Pull Request Checklist section from the template intact below the description.
Check the checkboxes in the checklist that are fulfilled by this PR (e.g., descriptive title, merges into main, short description, how to test). Leave unchecked any that are not fulfilled. Do NOT check the "Before & after comparison" checkbox — leave it for the author.
End the entire body with:
Closes ARCH-###
(using the actual ticket ID extracted in step 2)
Do NOT include: a ## Summary header, bullet-point summaries at the top, or any sections beyond those specified above.
Set the PR title following the template's guidance: use conventional commit format with a project prefix, e.g. feat(kubernetes): add shadow port DNAT...
Determine labels by looking at what areas of the codebase were changed (e.g., kubernetes, networking, experimental). Check available labels:
gh label list
Get the current GitHub username
gh api user --jq '.login'
Create the PR as a draft
gh pr create \
--draft \
--assignee "<your-username>" \
--label "label1,label2" \
--title "..." \
--body "$(cat <<'EOF'
...
EOF
)"
Do NOT assign reviewers — the author will do this when ready.
Return the PR URL when done.