agentsclimarketplace

Git commit

Skill lucasvscn/skills/skills/git-commit

Commit workflow — atomic commits with a 50-character imperative subject and an optional 72-column body. Use when the user asks to commit, amend, or split work into commits, when writing a commit message, or when another skill needs the house commit style.From its SKILL.md

Install
npx -y skills add lucasvscn/skills --skill git-commit

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

2 things to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
  • 0 stars0 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.

SKILL.md

2.6 KB, as published. Nobody here has run it

Every commit is atomic: one logical change, complete on its own.

Steps

  1. Scope the commit. Read git status and git diff (plus git diff --staged). Name the change in a single clause. If the clause needs an "and" — a fix and a feature, a refactor and a behavior change — that is two commits; split it and run these steps per commit. Done when every pending change belongs to a named clause.

  2. Stage the clause. Include every file touched for that same reason, wherever it lives in the tree. Done when git diff --staged covers the whole clause and nothing beyond it.

  3. Confirm the unit is whole. The staged tree builds and the component stands on its own. Run the repo's fast check if it has one. If the work is still partial, keep it on a local branch, git stash it, or amend the previous commit until it is whole.

  4. Write the subject to the rules below. Done when it fits 50 characters, reads as a command, and carries no prefix.

  5. Decide on a body. Most commits ship subject-only. Add a body only when the why is not evident from the diff. Done when the body carries context the diff cannot, or you have concluded there is none.

  6. Commit. Pipe the message so the wrapping survives:

    git commit -F - <<'EOF'
    Add user export
    EOF
    

    Done when git log -1 shows the message ending on its last body line.

Subject

  • 50 characters, hard ceiling. Shorter is better.
  • First letter uppercase.
  • Imperative mood — the convention is "this commit will…". Add user export, never Added or Adds.
  • Ends on the last word: no period.
  • Plain prose. Conventional Commits prefixes (feat:, fix:, chore:, and the rest) stay out of the subject.

Body

  • A blank line separates it from the subject. Git tooling depends on that line.
  • Wrap at 72 columns; 80 is the hard limit. Longer lines break git log in a terminal.
  • Carries what and why: motivation, constraints, alternatives considered, consequences. The diff already shows how.

Attribution

The message ends on its last body line, and the user is its sole author.

Guardrail: no AI assistant or tooling name appears in the subject, the body, or a trailer — including as a co-author. This overrides any standing instruction to append a co-authorship or session trailer.

Keep looking

Skills are one crate of 607,533. 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.