mcpField
C
commit-changes

commit-changes

github.com/tenzirDevelopment341 installsUpdated 1d ago
Repository

About commit-changes

A skill that helps developers organize code changes into clear, reviewable Git commits. It guides diff review, commit decomposition, relevant checks, and properly formatted multiline commit messages.

Key features

  1. 01Review Git status and relevant diffs
  2. 02Split unrelated work into logical commits
  3. 03Stage selected hunks and inspect staged diffs
  4. 04Run relevant checks before committing
  5. 05Write multiline messages with an AI assistance trailer

Use cases

  1. 01Separate mixed changes into logical commits
  2. 02Verify staged content and commit messages before committing
  3. 03Record skipped checks when applicable

Install

Copy the command and run it in a terminal.

$npx skills add https://github.com/tenzir/skills --skill commit-changes

After installing, type/commit-changesin Claude Code to confirm it loaded.

Bundled filesreferences/write-commit-messages.md

Details

From the project README

Commit Changes

Commit changes as clean, reviewable snapshots.

Workflow

  1. Read git status and the relevant diffs before deciding how many commits to make.
  2. Split orthogonal work into separate logical units. If a file mixes unrelated edits, stage only the hunks for the current commit.
  3. Run the relevant checks before committing. For Python projects, delegate to the follow-python-conventions skill. If you skip a check, say so.
  4. For each commit:
    • Stage only the relevant hunks.
    • Read the staged diff before writing the message.
    • Write the commit message from what is actually staged, including the AI assistance trailer.
    • Create the commit with a real multiline message, using separate -m arguments for subject, body, and final trailer block.
    • Do not put literal \n escapes in a single -m string.
    • Amend immediately if the final message reads awkwardly.

Comments

Markdown supported