agentsclimarketplace

Commit

Skill JHostalek/dotclaude/skills/commit

Agent skills for agentic coding tools. Extremely opinionated. Updated (almost) daily.

Install
npx -y skills add JHostalek/dotclaude --skill commit

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 10 stars10 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

Use when the user asks to commit, create a git commit, checkpoint changes, save work to git, or write a commit message.

SKILL.md

1.3 KB, as published. Nobody here has run it

Invoking this skill is the authorization to commit. What it adds is the check that the staged set, branch, and message are intentional first.

Verify the staged set first

Check git diff --cached (staged) against git diff HEAD (full worktree) before composing the message. When they diverge, the pre-existing index is likely residue from an aborted hook, rebase leftover, or another agent's partial stage — treat it as suspect, not yours, until confirmed. Stage whole files (git add <path>); partial-hunk staging orphans fixer output into the index if the commit is aborted later. One gotcha: a path-scoped git commit -- <paths> (git's --only mode) restores the pre-hook index on success and drops any fixer re-staging — follow such commits with git reset -q -- <paths> to clear it.

Wrong-branch check

Changes don't match branch name (auth changes on feature/geo-optimization) → likely wrong branch, confirm w/ user before committing.

Commit Format

!cat "${CLAUDE_SKILL_DIR}/../conventional-commits.md"

Capture intent, not implementation. Can't write a focused message → the commit spans unrelated changes, split it.

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.