forensics

Trace Git history to reconstruct code incident timelines and link commits to PRs or issues.

14|1|Updated May 6, 2026
One-click install
npx skills add https://github.com/wzyxdwll/ccgx-workflow --skill forensics-wzyxdwll
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: forensics
Source: https://github.com/wzyxdwll/ccgx-workflow/tree/main/templates/skills/tools/forensics
Command: npx skills add https://github.com/wzyxdwll/ccgx-workflow --skill forensics-wzyxdwll

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

通过回溯 Git 历史,帮助开发者重建代码事故时间线,定位变更引入点、作者,以及相关 PR/issue 的链路。

Core Features & Use Cases

  • Git blame 与历史 tracing:快速定位问题首次引入的提交及其作者。
  • 跨仓库变更关联:将提交与 PR/issue 关联,形成完整的溯源链路。
  • 可复现实验报告:生成便于审计与回顾的时间线报告,便于复盘。

Quick Start

直接将包含问题代码的文件作为输入,系统将输出事故时间线与变更快照。

Frequently Asked Questions about forensics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace when a code incident was introduced using git history?

Tracing code incidents through git history involves using git blame to pinpoint the exact commit where problematic code was introduced, identifying the author, and linking related PRs or issues to reconstruct the incident timeline.

How do I link a git commit to a pull request or issue for root cause analysis?

You can link a git commit to a pull request or issue by analyzing the commit history to find related PRs and issues, establishing a complete provenance chain that reconstructs the timeline of the code incident.

What is a git blame timeline report for incident reconstruction?

A git blame timeline report is a reproducible document generated by tracing git history that chronologically maps code changes, authors, and linked PRs or issues to facilitate incident auditing and retrospective review.

Can I generate a readable timeline report from git log and blame data?

Yes, generating a readable timeline report from git log and blame data is possible by tracing git history, which produces a chronological incident report with code change snapshots suitable for auditing and retrospective review.

Does git commit analysis work for finding the author of a specific code change across a codebase?

Yes, git commit analysis works for finding the author of a specific code change by applying git blame to the target file, tracing the commit history to identify the developer who introduced the change and mapping related PRs.

What's the best way to reconstruct a code incident timeline from git history?

The best way to reconstruct a code incident timeline from git history is to trace the problematic file's commits, link them to associated PRs or issues, and generate a readable report with change snapshots for post-incident review.