avgvstvs96/dotfiles/gh-pr-merge

Claude Code and agent skill by avgvstvs96/dotfiles

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Create and merge GitHub pull requests using a squash workflow, then clean up branches and return to main. Use when the user asks to create a PR and merge it, merge a PR, or directly calls gh-pr-merge.

Install

npx vskill@latest install avgvstvs96/dotfiles/gh-pr-merge

SKILL.md

gh-pr-merge

Create PR, squash merge, cleanup branches, and switch to main.

Usage

Run /gh-pr-merge after committing changes on a feature branch.

Workflow

  1. Push current branch to remote
  2. Create PR with gh pr create
  3. Squash merge with gh pr merge --squash --delete-branch
  4. Switch to main
  5. Fetch and prune stale refs

Commands

bash
# Push branch
git push -u origin HEAD
# Create PR (interactive or with flags)
gh pr create --title "title" --body "body"
# Squash merge and delete remote branch
gh pr merge --squash --delete-branch
# Cleanup and switch to main
git checkout main
git fetch --prune

Notes

  • gh pr merge --delete-branch deletes both remote branch and local branch automatically
  • Use --squash to combine all commits into one clean commit
  • git fetch --prune removes stale remote-tracking refs

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/avgvstvs96/dotfiles/gh-pr-merge/badge)](https://verified-skill.com/skills/avgvstvs96/dotfiles/gh-pr-merge)

Something wrong with this skill or its page? Tell us.