ワンクリックで
push-to-pr
Create a new PR or push commits to an existing PR for the current branch.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Create a new PR or push commits to an existing PR for the current branch.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Start or verify live preview for RLHF Book course lecture slides without breaking relative image assets. Use when serving, opening, checking, or debugging `teach/course/lec*.md` slides.
Plan, run, and report a small RLHF Book code experiment.
Validate changes before PR submission
Get feedback from Gemini API on a diagram image for textbook quality review.
Update the body of a GitHub pull request. Use when the user asks to update, edit, or modify a PR description/body.
| name | push-to-pr |
| description | Create a new PR or push commits to an existing PR for the current branch. |
| allowed-tools | Bash(git:*), Bash(gh:*) |
Create a new PR or push commits to an existing PR for the current branch.
/push-to-pr [commit message]
When this command is invoked:
# Get current branch
git branch --show-current
# Check if there are uncommitted changes
git status --porcelain
# Check if branch has a remote tracking branch
git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null
# Check if there's an existing PR for this branch
gh pr list --head $(git branch --show-current) --json number,url,title
git add -Agit commit -m "$(cat <<'EOF'
<commit message>
Co-Authored-By: Claude <noreply@anthropic.com>
EOF
)"
git push -u origin $(git branch --show-current)gh pr create --title "<title based on branch/changes>" --body "$(cat <<'EOF'
## Summary
<brief summary of changes>
## Changes
<bullet points of what changed>
🤖 Generated with [Claude Code](https://claude.ai/code)
EOF
)"
git push/push-to-pr "Add tool use diagram to chapter 14.5"
This will either: