refine-history - Rewrite and audit local Git history
Rewrites or audits a local committed series into coherent incremental commits while preserving its final tree.
Tags
Updated: 2026-11-30Capabilities
What this skill does
- Scan a commit range
- Audit history semantics
- Partition commits into units
- Rewrite local commit series
- Preserve the final tree
- Resume interrupted operations
- Verify rewritten history
Inputs
- Git repository
- Optional base commit SHA
- Audit or resume command
- Contribution guides
- Commit hooks
- Recent commit samples
- Configured upstream metadata
Outputs
- Rewritten local commit history
- Audit findings
- Operation status and checkpoints
- Final-tree verification
Requirements
- Git command access
- git-stage-batch rewrite CLI or pipx
- Permission to edit local history
- Commit-message drafting agent
