decompose-pr

Installation
SKILL.md

Decompose PR for Learning

Turn a multi-concern PR into a sequence of focused commits that each do one thing.

Why This Exists

Complex PRs are hard to understand because changes interleave. A single function might have three modifications serving different purposes. By decomposing into atomic commits, you can:

  • Study each change in isolation
  • Understand the dependency order (what enables what)
  • See which tests correspond to which changes
  • Build intuition for the codebase incrementally

When to Use

  • You're reviewing a PR and can't follow the logic
  • You're onboarding and want to understand a feature's implementation
  • You're debugging and need to isolate which change caused an issue
  • You're learning a codebase through its PRs
Related skills
Installs
9
First Seen
Feb 19, 2026