commit
Group unstaged changes into atomic commits by concern, matching repository style. Use when asked to "commit", "create a commit", or "commit changes". Don't use for pushing or pull requests (/to-pr).
How do I install this agent skill?
npx skills add https://github.com/helderberto/agent-skills --skill commitIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides standard instructions for performing atomic git commits while following repository conventions. It includes explicit safety rules against pushing code, staging all files blindly, and committing secrets. No malicious patterns or security risks were identified.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Git Commit
Group all unstaged/untracked changes into atomic commits — one commit per logical concern. A single concern is just the degenerate case: one commit. Never push — pushing belongs to /hb:to-pr.
Paths in $ARGUMENTS scope the run: commit only those files and leave the rest of the tree as it is.
Message style
Match the repo's existing commit patterns from git log. Extreme concision — sacrifice grammar for brevity. Focus on "why" not "what". Imperative mood. Conventional commits (feat/fix/refactor/docs/chore + scope) when the repo uses them.
Workflow
- Review full diff and status; read recent log for style.
- Identify logical groups: feature/fix, its tests, config, formatting-only, docs, assets.
- Per group: stage those files explicitly by name, commit with a HEREDOC message, confirm
git statusbefore the next group. - Finish with a clean working tree (scoped run: every listed file committed). Unsure how to group a file → ask.
Grouping rules
- Formatting-only changes (whitespace, quotes, indentation) get their own commit, separate from logic.
- A file with both logic and formatting changes stays in the logic commit.
- Tests and the code they test can share a commit.
- Pre-commit hook fails → fix, re-stage, create a new commit; never
--amend, never skip hooks.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/helderberto/agent-skills/commit">View commit on skillZs</a>