commit

Installation
SKILL.md

Smart Staged Commit

Use this workflow when the user wants staged changes committed.

Arguments

  • --single or -s: commit all staged changes as one commit.
  • No argument: analyze staged changes and split them into logical commits when useful.

Workflow

  1. Inspect staged files with git diff --cached --name-status.
  2. If nothing is staged, show git status and stop without creating an empty commit.
  3. Review the full staged diff with git diff --cached.
  4. Check recent commit style with git log --oneline -20.
  5. Classify changes by intent: feat, fix, refactor, docs, test, style, or chore.
  6. Group changes by feature, module, dependency, and reviewability.
  7. Before committing, show the user a concise commit plan and ask for confirmation unless the surrounding agent instructions explicitly allow committing without another confirmation.
  8. Commit each group in dependency order.
Related skills
Installs
2
Repository
eatsteak/skills
First Seen
Apr 25, 2026
commit — eatsteak/skills