commit

Installation
SKILL.md
Contains Shell Commands

This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.

Commit

Analyze uncommitted changes and create well-organized commits using conventional commit format.

Workflow

1. Discover Changes

Current repo state (injected at invocation — no tool calls needed):

  • Status: !git status --porcelain
  • Diff stats: !git diff --stat

Abort before staging if any apply:

  • Not a git repository.
  • No changes ("Nothing to commit").
  • Mid-merge / rebase / cherry-pick / revert — git add -A would stage conflict markers as content. Check $(git rev-parse --git-dir) for MERGE_HEAD, CHERRY_PICK_HEAD, REVERT_HEAD, rebase-merge/, or rebase-apply/. If any present, report the in-progress operation and stop.
  • Detached HEAD — git symbolic-ref -q HEAD is empty. Commit would land on an unreferenced commit and be lost on branch switch. Report and stop.
Related skills
Installs
3
GitHub Stars
249
First Seen
Mar 10, 2026