split-to-prs

Decompose large work into smaller, reviewable PRs with approval guardrails.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/cuongnm-dev/team-ai-config --skill split-to-prs
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: split-to-prs
Source: https://github.com/cuongnm-dev/team-ai-config/tree/main/cursor/skills-cursor/split-to-prs
Command: npx skills add https://github.com/cuongnm-dev/team-ai-config --skill split-to-prs

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Split current work into small, reviewable PRs to streamline reviews and collaboration on large tasks.

Core Features & Use Cases

  • Plan and decompose: Break a chat, set of changes, branch, or PR into smaller, well-scoped PRs.
  • Guardrails: Do not create branches, commit, push, or open PRs until explicit approval; always save a recoverable snapshot before moving work.
  • Safe execution & reporting: Stage only approved changes, provide concise PR titles/URLs, and report remaining work.

Quick Start

Approve a split plan and then create and push branches for each approved slice.

Frequently Asked Questions about split-to-prs

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

FAQPage Schema
How do I split a large pull request into smaller, reviewable PRs?

To split a large pull request, decompose the accumulated changes into smaller, well-scoped PRs for safer code review. This process involves planning the decomposition and staging only approved changes to create separate branches for each slice.

What is the best way to break down a git branch into multiple PRs?

Breaking down a git branch requires decomposing the set of changes into smaller, well-scoped PRs. The workflow enforces saving a recoverable snapshot before moving work and prevents creating branches or pushing until explicit approval is granted.

How do I plan a split for my code changes before pushing to remote?

Planning a split for code changes involves generating a decomposition plan that waits for explicit approval before execution. No branches are created, commits made, or pushes executed until you approve the proposed split plan.

Can I automatically create branches and PRs when splitting work?

You cannot automatically create branches and PRs when splitting work without explicit approval. Guardrails prevent creating branches, committing, pushing, or opening PRs until you explicitly approve the planned decomposition.

How does saving a recoverable snapshot work when splitting changes?

Saving a recoverable snapshot when splitting changes ensures work is backed up before moving or staging any slices. This snapshot provides a fallback point to recover your work if the decomposition or staging process encounters issues.

What should I do after approving a plan to split a PR?

After approving a plan to split a PR, you create and push branches for each approved slice. The workflow stages only approved changes and provides concise PR titles and URLs while reporting remaining work.