Idea · Aug 4, 2026
Commit Predictor
A CLI tool that learns your personal git commit sequence patterns and predicts your most likely next 2-3 commits after each set of staged changes, then drafts a commit message in your own style.
What it would do
Commit Predictor analyzes your repo's git log to find recurring commit sequence patterns: what files you touch after refactoring, whether you always follow a bug fix with a test commit, whether you batch doc updates at the end of a feature. After you stage changes, it queries Claude with your staged diff and your personal pattern history to predict the next logical commits and drafts the current commit message matching your historical phrasing. The result is a forward-looking compass for focused development sessions, not just a backward-looking narrator. Ships as a Git hook + interactive CLI.
Key features
- Analyzes git log to extract personal commit sequence fingerprints
- Predicts next 2-3 likely commits based on your current staged diff and historical patterns
- Auto-drafts commit message in your own vocabulary and style
- Works as a pre-commit hook or on-demand CLI command
- Fully local: only the current diff and a compact pattern summary go to the API