Skills / commit
commit
Write a clear git commit for the current changes, splitting unrelated work into separate commits. Use when asked to commit or to split work into logical commits. Do not use to push, amend or rewrite history unless the user asks.
OfficialAuditA
- Author
- agentsaisle
- Latest
- v1.1.0
- Aisle
- code, git
- Works with
- Claude Code, Codex, Cursor
- Source
- HazemSalah29/agentsaisle
- Stars
- 2
Install
Install commit
npx @agentsaisle/cli add commitInstalls into your project's skills folder. Add --global to install it for every project.
Audit
A
- Critical
- 0
- High
- 0
- Medium
- 0
- Low
- 0
3 files · audited 2026-10-29 · rules 1.0.0
No findings.
What this skill can use
Tools
- Read
- Bash(git status *)
- Bash(git diff *)
- Bash(git log *)
- Bash(git add *)
- Bash(git commit *)
Scripts
None
Domains mentioned
None
Automated checks found no known risky patterns. This is not a guarantee of safety. How audits work · Read the rules
Show this grade in a README
The badge updates when the registry is rebuilt. Paste this Markdown into the README:
[](https://agentsaisle-vercel.vercel.app/skills/commit)SKILL.md
Rendered from commit 4036c95
Commit
Use when
- You are asked to commit the current changes.
- Several unrelated changes are mixed and should become separate commits.
Don't use when
- The user asks to push, amend, rebase or rewrite history. Do that only when asked.
- There is nothing to commit.
Steps
- Run
git statusandgit diff(staged and unstaged) to see exactly what changed. - Group the changes into logical units. If a unit mixes concerns, say so and stage by file or hunk.
- Check
git log --oneline -10and match the repository's style, including any prefix convention. - Write the message: a subject of at most 72 characters in the imperative ("Add retry to fetcher"), a blank line, then a body that says why, not what.
- Never commit secrets,
.envfiles or build output. If you see one staged, stop and tell the user.
Budget
- Search first (grep, glob, symbol search). Read line ranges, not whole files.
- Read at most 8 files per step. If you need more, write down what you learned and narrow the question.
- Do not re-read a file you just wrote or edited.
- Prefer the smallest command output that answers the question: head, tail, quiet flags, filtered lists.
- Read the diff, not whole files.
Output
- The commit hash and subject for each commit you made, and anything left uncommitted.
Done when
- Each commit holds one logical change with a message in the repository's style.
- No secret,
.envfile or build output was committed. - Nothing was pushed or rewritten.
Version history
| Version | Commit | Install |
|---|---|---|
| 1.1.0latest | 4036c95 | add commit |