git-commit
What it does
This skill guides the AI in saving changes to a git project in a tidy way. It is for developers who want clear commit messages and well-described pull requests.
When to use it
- ✓When you are about to commit changes to a git project.
- ✓When your changes mix several unrelated topics and need to be split into separate commits.
- ✓When you want to open a pull request with a clear title and description.
Skill link
https://github.com/spinabot/brigade/blob/main/skills/git-commit/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Commit my changes in this project with a clean message, and open a pull request against the main branch.”
5 new skills a week. 1 minute to read.
How it works
The AI checks exactly which files are staged, writes a short message in a standard style, and splits unrelated work into separate commits. For pull requests, it pushes the branch and creates the request with the GitHub command line tool.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Git commits & PRs
Use this when committing changes or opening a pull request.
Before committing
- Run
git statusandgit diff --stagedto see exactly what's going in. Nevergit add -Ablindly — stage the files that belong to this change. - Keep one logical change per commit. If the diff does two unrelated things, make two commits.
- Don't commit secrets, large binaries, or generated artifacts. Check
.gitignorecovers them.
Message format
Conventional Commits:
<type>(<optional scope>): <short imperative summary>
<optional body — what changed and WHY, wrapped at ~72 cols>
Types: feat, fix, docs, refactor, test, chore, perf, build, ci.
- Summary in the imperative mood ("add", not "added"), ≤72 chars, no trailing period.
- The body explains the reasoning a future reader needs — not a restatement of the diff.
Pull requests (gh CLI)
git push -u origin <branch>thengh pr create --fill(or--title/--body).- PR body: what changed, why, and how it was verified (tests run, manual checks).
- Confirm the base branch is correct before creating.
Conventions to honor
Match the repository's existing style — read recent git log --oneline first and follow whatever format the project already uses if it differs from the above.
FAQ
What commit message style does it use?
It uses Conventional Commits, a standard format with a type such as fix or feat and a short summary.
Will it add all my files at once?
No. It stages only the files that belong to the change, instead of adding everything.
Does it follow the project's own style?
Yes. It reads recent commit history first and follows the style the project already uses.
Details
Original description by the author
Stage, write, and structure git commits and pull requests cleanly. Read this before committing — for conventional-commit message format, when to split commits, and how to open a PR with the gh CLI.
repo: spinabot/brigade
Popularity
- GitHub stars
- 11k
- Ranking position
- #11720
- License
- MIT
- Updated
- 11/2/2026
Comments
- …
More skills from this repository
1password
11kTeaches your agent to set up the 1Password command line tool and sign in safely, then read or inject stored secrets when they are needed.
apple-reminders
11kLets your agent view, add, edit, complete and delete Apple Reminders from the terminal, including lists and date filters.
bluebubbles
11kLets your agent send and manage iMessages through BlueBubbles, including texts, attachments, tapback reactions, edits and group settings.
camsnap
11kLets your agent take snapshots, short clips or watch for motion from network security cameras that you have already set up.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.