一键导入
gh-pr
Create, review, or manage GitHub pull requests. Use when asked to open, check, or merge a PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create, review, or manage GitHub pull requests. Use when asked to open, check, or merge a PR.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Generate a changelog or release notes from recent git history. Use when asked to write a changelog, summarize recent commits, or produce release notes.
Scaffold a new custom SKILL.md file interactively. Use when asked to create a new skill or slash command.
Create or switch to a feature branch, typically tied to a GitHub issue. Use when asked to create a branch or start work on an issue.
Create, view, list, or comment on GitHub issues. Use when asked to file, open, or manage GitHub issues.
Run the linter, auto-fix what's fixable, and report the rest. Use when asked to lint or fix lint errors.
Run the project test suite and surface failures. Use when asked to run tests or check test status.
| name | gh-pr |
| description | Create, review, or manage GitHub pull requests. Use when asked to open, check, or merge a PR. |
| allowed-tools | Bash |
Manage GitHub pull requests for this repository.
Current PR status: !{gh pr status 2>/dev/null || echo "(gh CLI not available or no GitHub remote)"}
Branch context: !{git log --oneline -10 2>/dev/null || echo ""}
Task: $ARGUMENTS
Common operations:
gh pr create --title "Title" --body "Body" [--base main] [--draft] [--assignee @me]gh pr view [<number>]gh pr list [--state open|closed|merged] [--author <user>]gh pr checks [<number>]gh pr review <number> --approve|--request-changes|--comment --body "..."gh pr merge <number> [--squash|--merge|--rebase] [--delete-branch]gh pr checkout <number>gh pr diff [<number>]When creating a PR:
--draft if the work is not yet ready for review