Github.split branch in PRs

From causify-ai/helpers · View interactive version

Github.split branch in PRs is an AI agent skill from the GitHub repository causify-ai/helpers. Split current Git changes into small, cohesive PRs to simplify merging

How to use this skill

Skill file

Goal

origin/master into small PRs to minimize:

for clarifications and create a plan for review

Workflow

Read Rules

Read the Changes in the Current Git Client

```bash

git diff --name-status origin/master HEAD

...

```

origin/master):

```bash

git diff master...HEAD --name-only

# or if master is not available locally:

git diff origin/master...HEAD --name-only

```

Propose PRs

that there are coherent and tightly coupled changes

changes in a file across multiple PRs

of the resulting PR is the sum of multiple simpler ones

unit does

Order the PRs

Create pytest Commands

```verbatim

.claude/skills

.claude/templates

.claude/notify.sh

.claude/settings.local.json

```

changes by running the tests in all the modified files and make sure the PR

is running successfully, e.g.,

```bash

#!/bin/bash

pytest_log \

dev_scripts_helpers/coding_tools/test \

dev_scripts_helpers/dockerize/test \

linters2/test \

$@

```

Report the Output

strictly the format in .claude/templates/github_PR_plan.template.md

the PRs already merged based on the current i git_files and the git log

```bash

> lint_text.py -i github_PR_plan.md

```

Verification

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.