Automates the rebasing of PRs onto their base branches with conflict resolution and build verification.

Install

mkdir -p .claude/skills/rebase-pr && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/5685" && unzip -o skill.zip -d .claude/skills/rebase-pr && rm skill.zip

Installs to .claude/skills/rebase-pr

Activation

This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.

Rebase a PR on its base branch, fix conflicts, and verify build
63 charsno explicit “when” trigger
Advanced

Key capabilities

  • →Validate PR status
  • →Rebase PR on base branch
  • →Resolve merge conflicts
  • →Verify build stability
  • →Force push with lease

How it works

The workflow validates the PR state, rebases it onto the base branch, resolves conflicts, runs build and linting, and force-pushes the result.

Inputs & outputs

You give it
PR number
You get back
Rebased and verified PR branch

When to use rebase-pr

  • →Updating a stale PR
  • →Resolving merge conflicts
  • →Verifying PR build stability

About rebase-pr

Validates PR status before performing a git rebase. It identifies and resolves conflicts, performs bootstrap builds, runs formatting and linting, and pushes the final commits.

Rebase a PR on its base branch, fix conflicts, and verify build

When not to use it

  • →Merging PRs into protected branches

Prerequisites

git

Limitations

  • →Requires manual conflict resolution
  • →Only supports AztecProtocol/aztec-packages repo

How it compares

It enforces a rebase-only workflow with automated build verification instead of standard merge commits.

Compared to similar skills

rebase-pr side by side with the closest alternatives in the catalog.

SkillInstallsUpdatedSafetyDifficulty
rebase-pr (this skill)16moReviewAdvanced
nx-workspace48moReviewBeginner
dependency-upgrade266moReviewIntermediate
upgrading-expo35moReviewIntermediate

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry