merge-pr

Squash and merge GitHub pull requests using the Git CLI.

23|10|Updated Feb 9, 2026
One-click install
npx skills add https://github.com/deepgram/dglabs-deepclaw --skill merge-pr-deepgram
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: merge-pr
Source: https://github.com/deepgram/dglabs-deepclaw/tree/main/.agents/skills/merge-pr
Command: npx skills add https://github.com/deepgram/dglabs-deepclaw --skill merge-pr-deepgram

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires gh, and includes scripts (resource) components.

What problem does it solve?

Manually merging GitHub pull requests is time-consuming and prone to error. This Skill automates the merge process, reducing manual labor and potential mistakes.

Core Features & Use Cases

  • Automated Merging: Execute gh pr merge --squash for GitHub pull requests, ensuring code consistency and reducing conflicts.
  • Error Handling: Safely handles scenarios like the wrong directory or missing local files, preventing merge failures.
  • Use Case: Streamline your PR merge workflow, ensuring PRs are merged with the appropriate squash commit without manual git operations.

Quick Start

Use the merge-pr skill to merge PR #123 from your current context.

Frequently Asked Questions about merge-pr

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate merging a GitHub pull request with a squash commit?

To automate merging a GitHub pull request with a squash commit, use this Skill to execute `gh pr merge --squash` via Git CLI. It streamlines the workflow and ensures code consistency without requiring manual git operations.

Does the automated squash merge process handle git conflicts or missing local files?

The automated squash merge process includes robust error handling for scenarios like wrong directories or missing local files. This prevents merge failures and ensures successful branch merges without manual code conflicts.

What's the best way to streamline PR merging for GitHub repositories?

The best way to streamline PR merging for GitHub repositories is automating the process with `gh pr merge --squash`. This reduces manual labor, minimizes potential mistakes, and guarantees appropriate squash commits.

Do I need the GitHub CLI installed to automate squash and merge workflows?

Yes, you need the GitHub CLI (`gh`) installed to automate squash and merge workflows. The Skill relies on this dependency to execute commands and interact with your GitHub repositories.

Can I trigger an automated GitHub pull request merge directly from my current context?

Yes, you can trigger an automated GitHub pull request merge directly from your current context. Simply provide the specific PR number, and the Skill handles the squash and merge process automatically.