stacked-pr

Automate creation, rebasing, and management of dependent pull request chains.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/FScoward/senju --skill stacked-pr-fscoward
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: stacked-pr
Source: https://github.com/FScoward/senju/tree/main/skills/stacked-pr
Command: npx skills add https://github.com/FScoward/senju --skill stacked-pr-fscoward

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill streamlines the process of creating, managing, and reviewing multiple interdependent pull requests, ensuring smaller, manageable changes are integrated smoothly.

Core Features & Use Cases

  • Dependent PR Workflow: Supports creating PRs on top of each other with explicit base branches, facilitating easier code reviews and integration.
  • Rebasing and Synchronization: Automates rebasing dependent branches upon parent PR approval and updates.
  • Use Case: When deploying a complex feature split into multiple PRs, use this Skill to manage dependencies, keep branches synchronized, and streamline reviews.

Quick Start

Create a new stacked PR based on the previous one and give it a descriptive title.

Frequently Asked Questions about stacked-pr

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

FAQPage Schema
How do I manage dependent pull requests for a complex feature?

Manage dependent pull requests by automating the creation of a PR chain with explicit base branches, ensuring smaller changes are synchronized and integrated smoothly for complex features.

How does rebasing work when a parent pull request is updated?

Rebasing works by automatically synchronizing dependent branches upon parent PR changes and updates, ensuring branch synchronization and maintaining review order adherence for smooth integration.

What is a stacked PR and when do I need it for branch management?

A stacked PR is a chain of dependent pull requests built on top of each other. You need it when splitting a complex feature into multiple small, manageable changes to streamline code reviews.

Can I update the base branch of an existing pull request chain?

Yes, you can update the base branch of an existing pull request chain. The Skill handles base branch updates and automates rebasing to keep dependent branches synchronized upon parent PR approval.

What is the best way to split a large feature into small manageable pull requests?

The best way to split a large feature is creating a stacked PR chain with explicit base branches, which automates branch synchronization and streamlines the review order for smooth integration.

Why does branch synchronization fail when rebasing stacked pull requests?

Branch synchronization can fail during rebasing if parent PR changes conflict with dependent branches, requiring manual conflict resolution before the Skill can safely update and synchronize the chain.