一键导入
github-pr-create
Create a pull request with an auto-generated description. Use when the user asks to open a PR for the current branch's changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create a pull request with an auto-generated description. Use when the user asks to open a PR for the current branch's changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | github-pr-create |
| description | Create a pull request with an auto-generated description. Use when the user asks to open a PR for the current branch's changes. |
| allowed-tools | Skill(git-commit), Skill(git-push), Bash(git status:*), Bash(git diff:*), Bash(git log:*), Bash(git branch:*), Bash(git checkout:*), Bash(git config:*), Bash(gh issue:*), Bash(gh pr:*), Bash(gh auth:*) |
Create a pull request using gh pr create with an auto-generated description.
Check git/gh user consistency:
git config user.name to get the local git identitygh auth status to identify the active GitHub usergh auth status shows X Failed to log in ... (keyring) for all accounts (even though the user has authenticated):
gh auth switch --user "$(git config user.name)"
Check current branch status by running git status and git branch
Inspect the commits ahead of the base branch by running (whichever base exists):
git log main..HEAD --onelinegit log develop..HEAD --onelinegit log master..HEAD --onelineIf on main or master branch, create a new feature branch
If there are uncommitted staged changes, use the git-commit skill to commit them first
Push the branch to remote using the git-push skill
Create a PR using gh pr create with auto-generated title and description
When creating a new branch, use the following prefixes based on the changes:
feature/ - New features or enhancementsfix/ - Bug fixeshotfix/ - Urgent fixes for productionrefactor/ - Code refactoringchore/ - Maintenance tasksExample: feature/add-notification-timing, fix/resolve-login-error
The PR description should be written in English and follow this structure:
## Summary
Brief description of what this PR does (1-3 bullet points)
## Changes
- List of specific changes made
- Each change as a separate bullet point
## Breaking Changes
(Only include this section if there are breaking changes)
- Description of breaking changes and migration steps
Before creating the PR, check the diff (commits ahead of base branch) for:
ghp_, gho_, AKIA, sk-, xox, or matching -----BEGIN.*PRIVATE KEYAPI_KEY=, _SECRET=, _TOKEN=, PASSWORD=/Users/<name>/ or /home/<name>/ (prefer ~)If any of the above are found, do not create the PR. Use AskUserQuestion to present these options:
Only proceed if the user selects "Create as-is", or if nothing suspicious was found.
## Summary
- Add timing options to notify-cascade snippets for better notification scheduling
## Changes
- Add `now` option to `notify_cascade_schedule_today` for immediate notification
- Add morning reminder option (`09:30`) to `notify_cascade_schedule_someday`
When gh auth status shows keyring errors for all accounts (the environment cannot use the system keyring), gh pr create will also fail silently or with auth errors. Use this fallback instead:
~/tmp/ if it exists, otherwise use /tmp/pr-body-<branch-name>.md (e.g. pr-body-feature-web.md)--body) to that filegh pr create --title "<title>" --body-file <path-to-file> --base <base-branch>
gh itself is not authenticated, they may need to run gh auth login firstmain or master)Create a GitHub issue with an auto-generated description. Use when the user asks to open an issue for a bug, feature request, or task.
Force-delete every favorited world on the authenticated VRChat account via VRChat's REST API. Use when the user asks to purge, clear, wipe, or delete all their VRChat favorite worlds.
Create a new git commit for staged changes. Use when the user asks to commit staged changes with an auto-generated Conventional Commits message, or when Claude Code itself wants to run `git commit`.
Verify that git user.name and user.email are configured. Use automatically before any git operation that requires identity (commits, rebases, cherry-picks, etc.), and when the user asks to check or verify their git identity.
Instruct to suggest alternative commands for `rm`, `find`, and `grep`. Use when Claude Code started, and you want to run `rm`, `find`, or `grep`, and the corresponding alternative is installed in the environment — `rm-dust` for `rm`, `fd` (or `fd-find`) for `find`, `rg` for `grep`.
Export and distill the current conversation into a memory file. Use when the user asks to save, remember, or note the current session for future context.