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.py for session data extraction
  • Run python scripts/analyze-commits.py for 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 add for staging)
  • Reorder file history or manipulate working tree state
Installs
5
GitHub Stars
14
First Seen
Feb 15, 2026