Squash commit

From Goldziher/ai-rulez · View interactive version

Squash commit is an AI agent skill from the GitHub repository Goldziher/ai-rulez. Commits the finished changes as one commit. Use when the user says the work is ready to commit.

How to use this skill

Skill file

Squash commit

  1. Stage the files the user names with git add.
  2. Write a subject line that starts with the Jira key, then a blank line and a body that explains the why in two or three sentences.
  3. Run git commit with that message and show the commit hash.
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.