session-pr

Commit changes from the current Claude Code session to a new branch, push to GitHub, and open a PR. Use when the user wants to save their work as a PR, submit session changes, or create a pull request for what was done in this session.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "session-pr" with this command: npx skills add rahulgi/skills/rahulgi-skills-session-pr

Session PR

Create a PR from the current session's changes.

Workflow

  1. Run git status to see current changes (never use -uall flag)

  2. Run git diff to understand what changed

  3. Run git log -5 --oneline to see recent commit style

  4. Create and checkout a new branch:

    • If user provided $ARGUMENTS, use that as branch name
    • Otherwise, generate a descriptive branch name from the changes (e.g., fix-auth-bug, add-user-validation)
  5. Stage only the files that were modified in this session (prefer specific files over git add -A)

  6. Create a commit with a clear message summarizing the session's work:

    • End with: Co-Authored-By: Claude <noreply@anthropic.com>
  7. Push the branch with -u flag

  8. If the PR touches frontend code (e.g., files in app/, components, routes, styles), capture a screenshot of the relevant UI change and include it in the PR body using the github-image-hosting skill.

  9. Create PR using:

gh pr create --title "..." --body "$(cat <<'EOF'
## Summary
<bullet points of changes>

## Test plan
<how to verify>

<screenshot if frontend changes>

Generated with [Claude Code](https://claude.ai/code)
EOF
)"
  1. Return the PR URL to the user

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

docs

No summary provided by upstream source.

Repository SourceNeeds Review
General

council

No summary provided by upstream source.

Repository SourceNeeds Review
Coding

Self Updater

⭐ OPEN SOURCE! GitHub: github.com/GhostDragon124/openclaw-self-updater ⭐ ONLY skill with Cron-aware + Idle detection! Auto-updates OpenClaw core & skills, an...

Registry SourceRecently Updated
1221Profile unavailable
Coding

ClawHub CLI Assistant

Use the ClawHub CLI to publish, inspect, version, update, sync, and troubleshoot OpenClaw skills from the terminal.

Registry SourceRecently Updated
1.9K2Profile unavailable