home/categories/database-tools/paulrberg-agent-skills-skills-git-squash-skill-md
database-toolsdatabases

git-squash

This skill should be used when the user asks to "squash PR commits", "squash my branch", "flatten branch history", "combine all commits into one", "prepare a clean PR commit", or "squash commits relative to main/default branch". It rewrites the current branch into a single commit whose message semantically summarizes the surviving net changes relative to the default branch.

PaulRBerg
maintainer
PaulRBerg
Atualizado 3/20/2026
Estrelas
42
Forks
2
quick start

Installation and usage

This skill should be used when the user asks to "squash PR commits", "squash my branch", "flatten branch history", "combine all commits into one", "prepare a clean PR commit", or "squash commits relative to main/default branch". It rewrites the current branch into a single commit whose message semantically summarizes the surviving net changes relative to the default branch.

Instalação
$ install --globalskills.sh
Uso

Depois de instalar, você pode usar esta skill executando o seguinte comando no terminal:

skills use git-squash