prepare-pr

Automate GitHub pull request preparation with rebasing, review fixes, and automated checks.

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

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill automates the preparation of GitHub pull requests for merging by handling rebasing, fixing review findings, running automated checks, and pushing updates, ensuring a smooth PR workflow.

Core Features & Use Cases

  • Automated PR Preparation: Handles rebasing, fixing review comments, and running automated checks.
  • Review Integration: Incorporates feedback from code reviews to ensure PRs are ready for merge.
  • Safety Checks: Ensures safety by preventing unintended pushes to the main branch and adhering to best practices.

Quick Start

Run /prepare-pr <PR_NUMBER> to prepare a GitHub PR for merge.

Frequently Asked Questions about prepare-pr

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

FAQPage Schema
How do I automate GitHub pull request preparation for merging?

Automate GitHub pull request preparation by running a command with the PR number to handle rebasing onto the main branch, fixing review findings, and running automated checks. This ensures the PR is ready for merge.

What's the best way to rebase a GitHub branch and fix code review comments automatically?

Automated PR preparation handles rebasing onto the main branch and incorporates feedback from code reviews to fix review findings. This streamlines the process of updating a branch before merging.

Do I need GitHub API access and Git configured to automate PR checks?

Yes, automated PR preparation requires access to the GitHub API and a properly configured Git environment. These dependencies are necessary to handle branch management, run checks, and push updates safely.

Can I prevent unintended pushes to the main branch during PR automation?

Automated PR preparation includes safety checks designed to prevent unintended pushes to the main branch. These checks ensure the workflow adheres to best practices while updating pull requests.

Why does my PR preparation workflow fail automated gate checks?

PR preparation runs automated gate checks to ensure readiness for merge. If these checks fail, the workflow identifies outstanding review comments or rebasing conflicts that must be fixed before proceeding.