prepare-pr

Rebase GitHub Pull Requests onto main and push fixes.

Updated Jul 17, 2026
One-click install
npx skills add https://github.com/kolbick/Kolb-Bot --skill prepare-pr-kolbick
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: prepare-pr
Source: https://github.com/kolbick/Kolb-Bot/tree/main/.agents/skills/prepare-pr
Command: npx skills add https://github.com/kolbick/Kolb-Bot --skill prepare-pr-kolbick

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill automates the process of preparing a GitHub Pull Request for merging, ensuring it's up-to-date, clean, and passes all necessary checks.

Core Features & Use Cases

  • Rebase onto Main: Automatically rebases the PR branch onto the latest main branch to resolve conflicts.
  • Fix Review Findings: Addresses critical issues identified during code reviews.
  • Run Gates: Executes automated checks (build, tests) to ensure code quality.
  • Commit & Push: Commits fixes and pushes the updated branch to the PR head.
  • Use Case: After receiving feedback on a PR, use this Skill to automatically apply the changes, rebase, run tests, and push the updated PR, making it ready for the next review or merge.

Quick Start

Use the prepare-pr skill to get a GitHub PR ready for merging.

Frequently Asked Questions about prepare-pr

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

FAQPage Schema
How do I automatically rebase a pull request onto main and run tests?

To rebase a pull request onto main and run tests, this Skill automates the entire flow by rebasing your branch, executing automated gates like build and tests, and pushing the merge-ready updates to GitHub.

What tools do I need to automate GitHub PR preparation for merging?

Automating GitHub PR preparation requires the `gh` CLI for repository interaction, `git` for branch rebasing, and `pnpm` to execute automated gates and run tests.

Can I automatically fix code review findings and push commits to a PR branch?

You can automatically fix code review findings and push commits by triggering this Skill to address critical issues, commit the fixes, and push them directly to your PR head branch.

Does this PR automation handle resolving conflicts during the rebase process?

PR automation handles conflict resolution during the rebase process by automatically rebasing your pull request branch onto the latest main branch to ensure it is up-to-date and clean.

What is the best way to ensure a GitHub PR is merge-ready without manual intervention?

The best way to ensure a GitHub PR is merge-ready is to automate rebasing, fixing review findings, running automated gates, and pushing commits, eliminating manual intervention before merging.