Identify diff splits

From laurynas-biveinis/dotfiles · View interactive version

Identify diff splits is an AI agent skill from the GitHub repository laurynas-biveinis/dotfiles. Identify and list any logically complete and self-contained concerns in the current uncommitted changes (staged, else unstaged) that would be perfect candidates for separate commits.

How to use this skill

Skill file

Identify Diff Splits

You are running as the forked identify-diff-splits skill. This

document is your complete task — there is no separate user request.

Execute the numbered Method steps now, starting with step 1.

Identify the independent concerns in the current uncommitted changes.

Name and list them.

Method

  1. Read the changes: git diff --staged if it shows any, else

git diff. If both are empty, return that there is nothing to

split.

  1. Identify the distinct concerns. Most change sets have one; some

have a few genuinely independent ones. Concerns may be mixed

within a single hunk — chunk boundaries do not delimit concerns.

  1. Return one named entry per concern. Output only the final list.

If you can write "absorbs into concern X", "part of concern X",

"incidental", or "without independent value" next to an entry,

that entry is absorbed — remove it. The skill names concerns; it

does not classify every line.

What is one concern

A concern is a single motivation — one feature, fix, or refactor.

It absorbs everything that has no standalone value of its own:

introduces.

exist solely to enable it.

and migration of in-repo callers — never a separate entry,

the deprecation references the replacement.

entry. Tests backfilling coverage of pre-existing code stand

alone.

— never a separate entry.

shuffling) in files touched for the concern — never a separate

entry, even with an "absorbs into X" note.

Standalone-value test

When unsure whether some change is part of an existing concern or

stands on its own, ask: **"Does this change have standalone value —

would it be worth doing on its own, even if the surrounding work

weren't here?"**

work.

This is a test of intrinsic value, not development context.

"Developed during the same session" or "triggered by the same

feature work" does not make a change dependent on the feature.

Drive-by bugfixes, validation tightening, and protocol additions

that have value on their own are their own concerns.

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.