
Stacked Prs
This handles the mechanics of creating dependent pull requests where each PR builds on the previous one, not main. It's overkill for most work, but when you're shipping a complex feature that needs logical separation and parallel review, the numbered branch convention (feature/001-base, feature/002-next) keeps things clear. The real value is in the rebase chain management and PR description templates that explain dependencies. The skill defaults to regular main-based PRs unless you explicitly ask for stacking, which is the right call since stacked PRs require comfort with rebasing and force-pushing. If your team doesn't already do this workflow, the learning curve probably isn't worth it for a one-off feature.
- skills.sh installs
- 371
- GitHub stars
- 79
- last updated
- Aug 21, 2026
Install
$ npx -y skills add bobmatnyc/claude-mpm-skills --skill stacked-prs --agent claude-codeInstalls into .claude/skills of the current project.
Files
Stacked Pull Requests
Overview
Stacked PRs are dependent pull requests where each PR builds on the previous one. Use this pattern for complex features that need logical separation and parallel review.
When to Use
✅ Use Stacked PRs When:
- User explicitly requests "stacked PRs" or "dependent PRs"
- Large feature needs to be split into logical phases
- Each phase has clear dependencies on previous phases
- User is comfortable with rebase workflows
❌ Use Main-Based PRs When (Default):
- Features are independent
- Simple bug fixes or enhancements
- Multiple agents working in parallel
- User doesn't specify preference
DEFAULT: Always prefer main-based PRs unless user explicitly requests stacking.
Branch Naming Convention
Use sequential numbering to show dependencies:
feature/001-base-authentication # PR-001 (base)
feature/002-user-profile # PR-002 (depends on 001)
feature/003-admin-panel # PR-003 (depends on 002)
Alternative patterns:
auth/01-foundation
auth/02-user-flow
auth/03-admin-features
Creating Stacked PRs
Step 1: Create Base PR (PR-001)
Sponsors
Details
- Repository
- github.com/bobmatnyc/claude-mpm-skills
- First seen
- Jun 3, 2026
More from bobmatnyc/claude-mpm-skills
All 158- Better Auth Core368
- Homebrew Formula Maintenance366
- Better Auth Integrations363
- Reporting Pipelines363
- Better Auth Plugins362
- Git Worktrees360
- Nextjs Core357
- Fastapi Local Dev356
- Vb Winforms356
- Headlessui355
- Jest Typescript354
- Vercel Networking Domains353
- Svelte352
- Sec Edgar Pipeline351
- Env Manager350
- Mongodb350
- Vb Core350
- Phoenix Api Channels348
- Digitalocean Containers Images347
- Hono Jsx347
- Langgraph346
- Pr Quality Checklist346
- Ecto Patterns345
- Vercel Observability345