.claude/skills/push-to-pr/SKILL.md
Create a new PR or push commits to an existing PR for the current branch.
npx skillsauth add natolambert/rlhf-book push-to-prInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
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 <[email protected]>
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:
tools
Update the body of a GitHub pull request. Use when the user asks to update, edit, or modify a PR description/body.
development
Get feedback from Gemini API on a diagram image for textbook quality review.
tools
Use when work should span one or more detached tasks but still behave like one job with a single owner context. TaskFlow is the durable flow substrate under authoring layers like Lobster, ACPX, plugins, or plain code. Keep conditional logic in the caller; use TaskFlow for flow identity, child-task linkage, waiting state, revision-checked mutations, and user-facing emergence.
tools
# Lobster Lobster executes multi-step workflows with approval checkpoints. Use it when: - User wants a repeatable automation (triage, monitor, sync) - Actions need human approval before executing (send, post, delete) - Multiple tool calls should run as one deterministic operation ## When to use Lobster | User intent | Use Lobster? | | ------------------------------------------------------ | --------------------------