Skip to content
Skills Library
Programming · Automation

split-to-prs

/split-to-prs

Split current work into small reviewable PRs. Use when the user asks to split a chat, branch, or change set. Whole dirty tree to one merge-ready PR → workflow-release-prep.

Licence
MIT
Last repository change
19.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 19.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

Split current work into small reviewable PRs. Use when the user asks to split a chat, branch, or change set. Whole dirty tree to one merge-ready PR → workflow-release-prep.

Original author description

Split current work into small reviewable PRs. Use when the user asks to split a chat, branch, or change set. Whole dirty tree to one merge-ready PR → workflow-release-prep.

How it works

  1. Hard rules
  2. 1. Check the state
  3. 2. Propose the split
  4. 3. Execute the split
  5. 4. Report back
Original SKILL.md headings · 40 lines, 285 words
SKILL.md preview
---
name: split-to-prs
description: >
  Split current work into small reviewable PRs. Use when the user asks
  to split a chat, branch, or change set. Whole dirty tree to one
  merge-ready PR → workflow-release-prep.
disable-model-invocation: true
---
# Split to PRs

Turn one pile of work into a few small PRs.

## Hard rules

- Do not create branches, commit, push, or open PRs until the user approves the split plan.
- Never discard user work. No destructive git commands (`reset --hard`, `clean -fdx`, branch deletion, force-push, history rewrite) without explicit approval.
- Always save a recoverable snapshot before moving work around. This often starts from dirty work on `main`, so do not assume there is already a safe branch.
- Stage only named files or hunks. No `git add .` / `git add -A`.

## 1. Check the state

Compare the current work to the repo's default branch, including committed and uncommitted changes. Summarize the real slices you see, and use the chat history to recover intent.

## 2. Propose the split

Use judgment on detail. Usually PR titles are enough. Add a one-line scope note only when a title is unclear. Show a Mermaid diagram when there are multiple slices.

Default to independent PRs off the default branch. Stack PRs only when the dependency is real.

Ask for approval before starting.

## 3. Execute the split

- If there is uncommitted work, save a recoverable snapshot without changing the working tree:

  ```bash
  SHA=$(git stash create "pre-split")
  if [ -n "$SHA" ]; then
    git update-ref "refs/backup/pre-split-$(date +%s)" "$SHA"
  fi
  ```

- For each approved slice, create a branch from the right base, stage and commit only the planned files or hunks, then push and open the PR.

## 4. Report back

Keep it short: PR titles and URLs, plus anything left on the starting branch or working tree. Do not delete the backup ref or original branch unless the user asks.

Versions

RepositoryScoreLicence
This page · kensaurus/cursor-kenji100MIT
Navinspire-ia/navin100AGPL-3.0

Database snapshot: 13.11.2026 · package version 082c3491a948 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100engineering-small-prs
    Use when planning, splitting, shrinking, or sequencing large features, refactors, migrations, or pull requests into small reviewable PRs or CLs. TRIGGER on "split this PR", "this diff is too large", "stacked PRs", "change sequence", "reviewable chunks", "migration plan", "how…
  • 100engineering-small-prs
    Use when planning, splitting, shrinking, or sequencing large features, refactors, migrations, or pull requests into small reviewable PRs or CLs. TRIGGER on "split this PR", "this diff is too large", "stacked PRs", "change sequence", "reviewable chunks", "migration plan", "how…
  • 100reviewable-prs
    Use for small PRs, incremental PRs, one package per PR, reviewable diffs, split this PR, smaller diffs, slice the work, one sitting, monorepo PR, draft PRs, a common base instead of a stack, or /reviewable-prs. Also use before work that would touch more than one package or grow…
  • 100split-pr-stack
    Splits a large change or pull request into a dependency-ordered stack of small draft PRs that each pass checks alone, proves the stack ends on the original tree, leaves the original branch and PR untouched, and never merges. Use when asked to split a PR into a stack, break a…
  • 100split-branch
    Split a branch with N commits into N branches with 1 commit each. Use when the user asks to split a branch into single-commit branches.
  • 96merge-open-prs
    Use when asked to merge all open PRs or land a specified set of PRs together.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.