ワンクリックで
gh-pr-update
Update an existing GitHub pull request. Use when the user wants to modify a PR's title, description, state, or base branch.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Update an existing GitHub pull request. Use when the user wants to modify a PR's title, description, state, or base branch.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Get file changes from a GitHub pull request with commentable positions. Use when reviewing code and need to know where to place review comments.
Add a general comment to a GitHub pull request. Use when the user wants to post a comment on a PR conversation.
Get all comments from a GitHub pull request including both conversation and code review comments. Use when the user wants to read PR comments or review feedback.
Create a new GitHub pull request. Use when the user wants to create a PR, open a pull request, or submit changes for review.
Get the unified diff for a GitHub pull request. Use when the user wants to see code changes, review a diff, or understand what changed in a PR.
Get detailed information about a specific GitHub pull request. Use when the user wants to see PR details, check PR status, or view PR metadata.
| name | gh-pr-update |
| description | Update an existing GitHub pull request. Use when the user wants to modify a PR's title, description, state, or base branch. |
| allowed-tools | Bash(python3 *) |
既存の GitHub Pull Request を更新するスキル。タイトル、説明、ステート、ベースブランチの変更に使用する。
python3 .claude/skills/gh-pr-update/scripts/update_pr.py \
--owner <owner> \
--repo <repo> \
--pr-number <number> \
[--title <title>] \
[--body <body>] \
[--state open|closed] \
[--base <base-branch>]
| Argument | Required | Description |
|---|---|---|
--owner | Yes | Repository owner (username or organization) |
--repo | Yes | Repository name |
--pr-number | Yes | Pull request number to update |
--title | No | New title for the pull request |
--body | No | New description body for the pull request |
--state | No | New state: open or closed |
--base | No | New base branch name |
At least one of --title, --body, --state, or --base must be provided.
Update the title of a PR:
python3 .claude/skills/gh-pr-update/scripts/update_pr.py \
--owner myorg --repo myrepo \
--pr-number 42 \
--title "feat: improved user authentication"
Close a PR:
python3 .claude/skills/gh-pr-update/scripts/update_pr.py \
--owner myorg --repo myrepo \
--pr-number 42 \
--state closed
Update multiple fields at once:
python3 .claude/skills/gh-pr-update/scripts/update_pr.py \
--owner myorg --repo myrepo \
--pr-number 42 \
--title "Updated title" \
--body "Updated description with more detail" \
--base develop