What problem does it solve?
Developers often need to understand the historical context of a file or function before refactoring or rewriting it. Standard tools like git blame only show who last touched a line, leaving the original intent and constraints hidden. This Skill reconstructs the full history of a code region to reveal why it was introduced and what risks exist before editing.
Core Features & Use Cases
- Historical Reconstruction: Identifies the introducing commit, timeline of modifications, and current authors for any tracked file or line range.
- Intent Detection: Extracts signals from commit messages including issue references, reverts, workarounds, temporary markers, and TODOs.
- Coupling Analysis: Detects files that repeatedly changed alongside the target, revealing hidden dependencies and constraints.
- Use Case: Before refactoring a complex caching function, use this Skill to discover that it was introduced as a workaround for a specific performance issue, identify which test files must be updated together, and flag any unresolved temporary choices.
Quick Start
Ask your coding agent why the function in src/cache.py lines 40-72 exists and what risks exist before changing it.