julianobarbosa/claude-code-skills

commit

Stage, commit, and push changes to the current branch. Use when asked to commit, push, or create a commit for the current task.

First seen May 13, 2026

Installation

$ npx skills add julianobarbosa/claude-code-skills --skill commit

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from julianobarbosa/claude-code-skills · top by installs.

npx skills add julianobarbosa/claude-code-skills

Browse all from julianobarbosa/claude-code-skills

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Repository health

Stars 10
License LICENSE
Default branch main
Open issues 1
Status Active

Skill metadata

Parsed from SKILL.md frontmatter.

Declared agents claude-code

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,346 B
  • docs SUMMARY.md 141 B

History

  1. First seen on skills.sh
  2. First recorded snapshot · 52 installs

SKILL.md

Commit and Push Skill

  1. Stage only files related to the current task
  2. Run git commit --no-verify if pre-commit hooks fail on unrelated issues
  3. Push to the current branch
  4. 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-verify bypasses pre-commit hook — logged in reflog but easy to forget. A CI check that fails on no-verify trailers prevents drift.
  • commit-msg hook transforms the message AFTER the editor closes — verify the final state with git show -s --format=%B, not the editor draft.
  • Azure DevOps strips Co-Authored-By server-side — local commits show co-author; PR display doesn't. Test what shows in the PR UI before assuming attribution worked.
  • git commit on a detached HEAD creates an orphangit checkout main loses 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.