update-pr

Rebase a GitHub pull request branch and regenerate its title and body.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/yyiilluu/reflexio --skill update-pr-yyiilluu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: update-pr
Source: https://github.com/yyiilluu/reflexio/tree/main/.claude/commands/update-pr
Command: npx skills add https://github.com/yyiilluu/reflexio --skill update-pr-yyiilluu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the process of updating existing GitHub pull requests with new changes, ensuring the PR accurately reflects the latest work and is ready for review.

Core Features & Use Cases

  • Update PR Description: Refreshes the PR title and body to match the current state of the branch, incorporating new commits and changes.
  • Sync with Base Branch: Automatically fetches the latest changes from the base branch and rebases the feature branch to prevent merge conflicts.
  • Conflict Resolution Guidance: Provides clear instructions and prompts the user for input when merge conflicts arise during rebase.
  • Commit History Analysis: Analyzes all commits on the branch to provide a comprehensive summary of changes.
  • Use Case: After pushing new commits to a feature branch, use this Skill to automatically update the associated PR's description and ensure it's rebased onto the main branch.

Quick Start

Use the update-pr skill to refresh the pull request for the current branch.

Frequently Asked Questions about update-pr

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

FAQPage Schema
How do I update a pull request after pushing new commits to a GitHub branch?

To update a pull request after pushing new commits, this Skill rebases your feature branch onto the base branch, resolves conflicts with user intervention, and regenerates the PR title and body to reflect the latest changes.

How do I rebase a feature branch onto the main branch and sync an existing PR?

To rebase a feature branch and sync an existing PR, this Skill fetches the latest base branch changes, performs the rebase, and automatically updates the PR title and body to match the current state.

Can I automatically regenerate a GitHub PR title and body from accumulated commits?

Yes, you can automatically regenerate a GitHub PR title and body by analyzing all commits on the branch, providing a comprehensive summary that accurately reflects the current state of your changes.

What happens when merge conflicts occur while rebasing a pull request?

When merge conflicts occur during a PR rebase, this Skill pauses the process and provides clear instructions and prompts for user intervention to resolve the conflicts before continuing the update.

Do I need GitHub CLI authentication to update and rebase a pull request?

Yes, you need GitHub CLI authentication to update and rebase a pull request, as this Skill verifies your GitHub CLI authentication and checks for a clean local git state before syncing submodules and updating.

Does updating a pull request automatically sync git submodules?

Yes, updating a pull request automatically syncs git submodules as part of the process, ensuring your local repository state is fully aligned with the base branch before regenerating the PR description.