Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
danielsinai avatar

Pr Splitter

  • 2 repo stars
  • Updated January 12, 2026
  • danielsinai/pr-splitter

pr-splitter is a Claude Code plugin that analyzes file dependencies and creates git worktree slices so developers can split one large change into atomic, reviewable pull requests.

About

pr-splitter is a Claude Code marketplace plugin that splits large pull requests into atomic, dependency-ordered slices using git worktrees. The agent analyzes changed files and imports, proposes logical groupings for your approval, then creates isolated branches under .claude/worktrees/ for independent pushes and PRs. Use it when a feature branch grew too large and reviewers need smaller, ordered changes instead of one overwhelming diff.

  • Dependency analysis across TS, Python, and Go
  • Git worktree isolation per slice
  • Two-phase propose-then-execute workflow
  • Shell tools for diff, imports, and cleanup

Pr Splitter by the numbers

  • Data as of Jul 7, 2026 (Skillselion catalog sync)
/plugin marketplace add danielsinai/pr-splitter

Add your badge

Show developers this marketplace is listed on Skillselion. Paste this into your README.

Listed on Skillselion
repo stars2
Last updatedJanuary 12, 2026
Repositorydanielsinai/pr-splitter

How do I break a huge feature branch into smaller PRs that respect import order without constantly switching branches?

Splits oversized changes into dependency-ordered PR slices using git worktrees.

Who is it for?

Developers with large multi-file changes who want dependency-aware PR slices created via git worktrees.

Skip if: Small changes that already fit comfortably in a single focused pull request.

What you get

Named slice worktrees and branches appear under .claude/worktrees/, each ready to push and open as an independent PR.

Recommended Marketplaces

FAQ

Which languages does import analysis support?

TypeScript, JavaScript, Python, and Go imports are analyzed to order slices so dependencies land in earlier PRs.

Where do worktrees live?

Each slice gets an isolated directory under .claude/worktrees/ with its own branch following the pr-split-{num}-{name} pattern.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.