一键导入
pr
Create a GitHub Pull Request against the default base branch, summarizing all changes on the current branch.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a GitHub Pull Request against the default base branch, summarizing all changes on the current branch.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a logo and a social banner for a GitHub repository and optionally add them to the repo (logo into the README, banner as the repo's social preview). Use when the user wants a repo logo, README logo, repo banner, GitHub social preview, or repo card image.
Copy your latest message, or a specific part of it, to the user's clipboard. Use when the user wants to "copy that", "copy to clipboard", or grab a quote/snippet/command/code block from your previous answer without selecting it manually in the terminal (which mangles indentation and line breaks).
Merge an open Release Please PR on GitHub to cut a release, then monitor the release workflow and report the published version. Use when the user wants to release, ship, or publish a repo whose releases are managed by release-please.
Hand off the current Claude Code session to a fresh agent. Writes a self-contained markdown handoff document capturing the task, context, errors, reproduction, code snippets, and next steps, so a new agent (often in a different repo) can continue the work. Use when the user wants to "hand off", "transfer", or "continue this in another project/session".
Symlink every skill in this repo into the global Claude skills directory (~/.claude/skills) so edits in the repo are live everywhere. Inspects existing global skills first, classifies each as new / already-linked / content-update / conflict, silently applies safe changes, and asks before replacing a skill that comes from a different location or source. Use when the user wants to "sync skills", "link skills globally", or "make my repo skills available everywhere".
Create a git commit with an auto-generated conventional commit message summarizing the changes. Optionally push to remote.
| name | pr |
| description | Create a GitHub Pull Request against the default base branch, summarizing all changes on the current branch. |
| argument-hint | [optional hint: e.g. PR title/wording or follow-up like 'draft', 'merge'] |
Create a GitHub PR against the default base branch with a clear summary of all changes.
If the user passed an argument, treat it as guidance, not a literal title or body. It may contain:
fix flaky tests, scope: api, emphasize the perf win).gh pr create invocation (e.g. draft → --draft, base develop → --base develop, reviewer alice → --reviewer alice).merge, auto-merge, open in browser).Apply title/body hints when drafting in Step 3. Apply flags and follow-ups in Step 4 and after.
If no argument is provided, follow the default flow.
git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo maingit branch --show-currentgit statusgit log $(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo main)..HEAD --format='%h %s'git diff $(git symbolic-ref refs/remotes/origin/HEAD 2>/dev/null | sed 's@^refs/remotes/origin/@@' || echo main)...HEADgit rev-parse --abbrev-ref @{upstream} 2>/dev/null || echo noneUsing the context above:
Read the full diff in the context. Identify any files that appear unrelated to the branch's purpose — e.g. lockfile-only changes from unrelated installs, accidental edits, or changes from a different task. If such files are detected, ask the user:
"These files appear unrelated to the PR — should they be included in the description?
path/to/file1path/to/file2"
Only use the confirmed-relevant changes when drafting the PR below.
Title: Short conventional-commit-style title (under 70 chars). Use the dominant change type (feat:, fix:, chore:, etc.).
Body: Use this exact format:
## Summary
<2-5 bullet points describing the key changes>
## Test plan
<Bulleted checklist of how to verify these changes>
none in the context, push with: git push -u origin HEADgit pushgh pr create --base <base> --title "<title>" --body "<body>" using a HEREDOC for the bodyPrint a summary of the PR to the user:
git diff --name-only <base>...HEAD)