smart_log
Get structured commit history with category detection (feat/fix/refactor/docs), file statistics, and author breakdown. Filter by path and ref to reduce token usage.
Instructions
Use INSTEAD OF raw git log. Structured commit history with category detection (feat/fix/refactor/docs), file stats, author breakdown. Filters by path and ref. HEADS UP: two verification runs measured this tool at ~39% token reduction (borderline — vs 95-99% for outline/smart_diff). Cumulative data being gathered — tool may be dropped or redesigned in v0.30.0 if numbers don't improve. Prefer scoping with path or count to tighten savings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Filter to specific file or directory | |
| count | No | Number of commits (default: 10, max: 50) | |
| ref | No | Git ref — branch, tag, or commit (default: HEAD) |