smart-commit
Installation
SKILL.md
Smart Commit
Analyze the current Claude Code session history and split uncommitted changes into logical commit groups.
CRITICAL: Execution Rules
MUST DO:
- Run
python scripts/parse-session.pyfor session data extraction - Run
python scripts/analyze-commits.pyfor commit group analysis - Wait for complete script output before proceeding
- Use AskUserQuestion before executing each commit
- Use TaskCreate for commit execution workflow
NEVER DO:
- Parse
~/.claude/projects/JSONL files directly with Bash/jq/Read - Commit without user confirmation
- Modify or checkout files to split commits (only use
git addfor staging) - Reorder file history or manipulate working tree state