agentsclimarketplace

Commit

Skill toverux/grimoire/skills/commit

πŸ€– Curated agent skills for AI agents β€” one coherent engineering loop that compounds: grill β†’ spec β†’ implement β†’ review β†’ commit β†’ learn. Adopt it or fork it!

Install
npx -y skills add toverux/grimoire --skill 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

  • 27 days oldThe repository was created 27 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
  • 1 stars1 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

Scan the session for compound-worthy learnings, then commit the working tree with a repo-appropriate, value-communicating message.

SKILL.md

5.4 KB, as published. Nobody here has run it

Close the loop: harvest the session's learnings first, then create well-crafted git commits from the working tree β€” learning writes included, so the tree is clean when the loop ends.

Step 1: Scan for compound candidates

Scan the whole session for candidate learnings: root causes uncovered, gotchas hit, approaches that failed, conventions or preferences decided along the way β€” plus anything /review-gate flagged as compound material.

Judge each against compound's quality bar β€” would it change a future agent's behavior in a different session, and is it non-obvious and stable? Session-specific trivia dies here.

  • Any candidate might clear the bar β†’ invoke /compound with the candidates; it routes each to a destination and gates every write on the user. Once the approved writes land, present their diff and wait for the user's verdict on the wording β€” approve, edit, or drop each document β€” since the destination gate cleared a one-line proposal, not the prose itself. Writes that survive ride into the commits below.
  • None β†’ say so in one line and move on.

Step 2: Gather context

Gather the working-tree context by running each command below as its own shell tool call β€” a single argv-style invocation (just the program and its arguments). Do not join them with ;, &&, ||, pipes, $(...), or redirects like 2>/dev/null: that syntax parses only under POSIX shells and aborts under Windows PowerShell. Read each command's exit status directly β€” a non-zero exit is a normal state to interpret, not a failure to suppress.

  • git status β€” working-tree state. Clean tree β†’ report there is nothing to commit and stop.
  • git diff HEAD β€” the uncommitted changes.
  • git branch --show-current β€” empty output means detached HEAD: ask whether to create a branch or commit detached.
  • git log --oneline -10 β€” recent commit style.
  • git rev-parse --abbrev-ref origin/HEAD β€” the default branch (strip the origin/ prefix). If unset, fall back to main.

These values are a snapshot taken before any action. Re-read anything consequential (the current branch, the staged set) immediately before committing, since the working tree can change between gathering context and acting on it.

Step 3: Choose the branch

Follow the repo's workflow: where the documented conventions or recent history show feature branches (or the user asked for one), branch off the default before committing β€” derive the name from the change content, git checkout -b <branch-name>, confirm with git branch --show-current. Where the history shows commits landing directly on the default branch (trunk-based), commit where you are.

Step 4: Determine the message convention

In priority order:

  1. Documented repo conventions already in context (AGENTS.md, CLAUDE.md, or similar).
  2. Recent commit history β€” if the last 10 commits show a clear pattern (conventional commits, ticket prefixes, emoji prefixes), match it.
  3. Default: conventional commits β€” type(scope): description, type one of feat, fix, docs, refactor, test, chore, perf, ci, style, build. Where fix: and feat: both fit, prefer fix: β€” a change that remedies broken or missing behavior is a fix even when implemented by adding code; reserve feat: for capabilities the user could not previously accomplish.

Message discipline, whatever the convention:

  • Subject: concise, imperative mood, focused on why the change has value, not what changed.
  • Body: for non-trivial changes, a blank line then the problem the change solves and why this approach β€” a few short paragraphs at most. The body records why the code is now this way; the diff already shows how, and the process β€” attempts, dead ends, how the change was verified β€” dies with the session. Write it plain and self-contained: direct declarative sentences a stranger can skim years later, each claim one that stays true about the code; non-obvious trade-offs and costs qualify, the story of the work does not. Omit for obvious single-purpose changes.
  • Formatting details (wrapping, trailers, sign-offs) follow the repo's documented rules and the user's own global instructions; where neither says anything, keep the message plain prose.

Step 5: Group, stage, and commit

Scan the changed files for naturally distinct concerns; if they clearly group into separate logical changes, commit each group β€” Step 1's learning writes usually form their own docs-type commit. Keep it lightweight: group at the file level only (no hunk splitting), split only when the separation is obvious, and stay at two or three commits at most.

For each group, stage specific files by name β€” a targeted git add keeps sensitive files (.env, credentials) and unrelated changes out. Commit with a heredoc to preserve formatting:

git add file1 file2 file3 && git commit -m "$(cat <<'EOF'
type(scope): subject line here

Optional body explaining why this change was made,
not just what changed.
EOF
)"

Verify with git status and report the commit hash(es) and subject line(s).

Learnings captured, committed β†’ the loop is closed. The next unit of work deserves a fresh session.

Gives 0 of the 12 instructions most pr commit review skills give

Counted across 888 of the 1,342 authors here whose files we hold, read 2026-08-06

  • use conventional commits formatin 123 of 888, across 110 files
  • keep subject line under 72 charactersin 60 of 888, across 46 files
  • delete branches after mergein 50 of 888, across 37 files
  • use imperative mood in subject linein 50 of 888, across 41 files
  • use imperative mood in commit messagesin 45 of 888
  • generate a conventional commit messagein 42 of 888
  • make atomic commitsin 37 of 888, across 25 files
  • run tests before committingin 36 of 888, across 24 files
  • run project test suite to verify clean baselinein 35 of 888, across 7 files
  • run detected project setup commandsin 34 of 888, across 6 files
  • wrap commit body at 72 charactersin 32 of 888, across 25 files
  • split unrelated changes into separate commitsin 32 of 888, across 27 files

Said here and by no other author read

  • scan the whole session for candidate learnings
  • invoke /compound with any candidates
  • present approved writes and wait for verdict
  • run each shell command as its own tool call
  • re-read the working tree state before committing

Grouped from the skills themselves: near-identical wordings counted once, and counted by distinct author, so one author publishing three of these counts once.

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.