git-commit
Installation
SKILL.md
Git Commit
Commit currently staged files with an accurate, concise commit message.
Workflow
Step 1: Identify staged files
Record the list of staged files. This list is the source of truth for the entire workflow.
git diff --cached --name-only
If nothing is staged, inform the user and stop.
Step 2: Analyze changes and commit
Analyze the actual diff to understand what changed: