- Home
- Skills
- Testing & Debugging
- Git History Archaeologist pro
Works with the AI Agents you already use
Git History Archaeologist pro
Specialized Git forensics for tracing code evolution, detecting reverts, and reconstructing commit narratives.
$5
Git History Archaeologist pro
Example session with this skill installed
Analyze file auth_service.py from line 45 to 60. I need to know why the token validation logic changed and if the previous security check was fully removed or just moved elsewhere.
- Read your context and instructions
- Compiled the git history archaeologist
The investigation reveals that the token validation logic was modified to support OAuth2 scopes, and the original security check was moved to a middleware component rather than deleted.
Git History Forensic Report
Repository Scope
auth_service.py (Lines 45-60)
Timeline
| Date | Commit | Event | Evidence | Confidence |
|---|---|---|---|---|
| 2023-10-12 | a1b2c3d | Introduction | Initial validation logic added. | High |
| 2024-01-15 | e5f6g7h | Modification | Logic changed to support Scopes. | High |
| 2024-01-15 | e5f6g7h | Refactor | Original check moved to middleware/auth.py. | Medium |
| 2024-03-02 | i9j0k1l | Current State | Current implementation with bug fix i9j0k1l. | High |
Blame Findings
| Line/Range | Blame Commit | Author | Date | Evidence | Follow-up |
|---|---|---|---|---|---|
| 45-52 | e5f6g7h | dev_alpha | 2024-01-15 | Diff shows scope check insertion. | i9j0k1l |
| 53-60 | a1b2c3d | dev_beta | 2023-10-12 | Original error handling remains. | None |
Narrative Reconstruction
The logic at line 45 was altered in e5f6g7h to introduce scope-based authorization. The previous check, which validated raw token strings, was not deleted but refactored into a shared middleware utility to prevent duplication. However, the current implementation in auth_service.py lacks the explicit null-check present in the original version, which may be the source of recent reported issues.
Next steps
- Run
git show e5f6g7h:middleware/auth.pyto verify the logic was preserved correctly. - Compare the diff of
a1b2c3dvse5f6g7hto confirm the removal of the null-pointer guard. - Check
git log -S "validate_token"to see if other files were affected by this refactor.
Connects securely to your tools. The creator never sees your data.
About this skill
The problem
Git blame is a starting point, not a complete story. Developers often struggle to understand why code changed, where a deleted function went, or whether a past bug fix was accidentally reverted during a messy merge.
What it does
- Traces line origins across renames, refactors, and complex move operations.
- Detects hidden reverts by comparing patches and commit relationships rather than just searching for keywords.
- Reconstructs chronological narratives for features or bugs to distinguish between facts and interpretations.
- Analyzes merge history to identify conflict resolutions and corrective commits.
- Audits commit messages against actual diff evidence to flag discrepancies.
Why this beats prompting it yourself
General LLMs often hallucinate commit hashes or invent author intent to satisfy a prompt. This skill enforces strict evidence-based forensics, explicitly separating facts from hypotheses and grading every finding with a confidence score.
Use cases
- Pinpointing exactly when and how a regression was introduced during a specific sprint.
- Recovering lost logic by tracing deleted code to its last known stable state.
- Performing due diligence on suspicious commits or legacy code blocks with no documentation.
Known limitations
Requires read access to Git logs, diffs, or blame data. It cannot infer author intent or deployment status without explicit repository evidence.
Requires repository history, logs, or blame data as input. Operates in read-only mode by default and avoids destructive operations like force-pushes or history rewriting.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 1 month ago
- Software
Git