commit
Stage, commit, and push changes to the current branch. Use when asked to commit, push, or create a commit for the current task.
How do I install this agent skill?
npx skills add https://github.com/julianobarbosa/claude-code-skills --skill commitIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The skill provides instructions for standard git operations but includes a recommendation to bypass pre-commit hooks using the `--no-verify` flag. This practice can lead to the accidental submission of sensitive data or non-compliant code if local security checks are skipped.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
What does this agent skill do?
Commit and Push Skill
- Stage only files related to the current task
- Run
git commit --no-verifyif pre-commit hooks fail on unrelated issues - Push to the current branch
- Report the commit hash and branch name
NOTE: This repo uses Azure DevOps. For PRs use az repos pr create.
NOTE: The commit-msg hook strips Co-Authored-By trailers so commits appear as sole-author.
Gotchas
git commit --no-verifybypasses pre-commit hook — logged in reflog but easy to forget. A CI check that fails on no-verify trailers prevents drift.commit-msghook transforms the message AFTER the editor closes — verify the final state withgit show -s --format=%B, not the editor draft.- Azure DevOps strips
Co-Authored-Byserver-side — local commits show co-author; PR display doesn't. Test what shows in the PR UI before assuming attribution worked. git commiton a detached HEAD creates an orphan —git checkout mainloses it unless you branch first. Reflog recovers but only for 30 days.- Trailing whitespace in commit messages: some hooks normalize, some preserve. Format-checks comparing raw vs normalized fail confusingly.
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/julianobarbosa/claude-code-skills/commit">View commit on skillZs</a>