← ClaudeAtlas

dhpk-git-history-investigationlisted

Git history investigation. Use when: tracking code changes, finding where bugs were introduced, root cause analysis. Not for: code exploration (use dhpk-codebase-exploration), issue analysis (use dhpk-issue-analyze). Output: history trace + root cause report.
hmj1026/dhpk · ★ 2 · Code & Development · score 71
Install: claude install-skill hmj1026/dhpk
# Git Investigate Skill ## When NOT to Use - Code review (use codex-review) - Feature development (use `dhpk-adaptive-dev-workflow` in feature mode) - Just want to read code (use Read directly) ## Command ```bash /dhpk:dhpk-git-history-investigation src/service/xxx.ts:123 # Specific line /dhpk:dhpk-git-history-investigation processToken # Function name /dhpk:dhpk-git-history-investigation "error message" # Keyword ``` ## Workflow ``` Locate code -> git blame -> find commit -> trace history -> analyze changes -> report ``` ## Investigation Framework | Question | Method | | ------------------ | ----------------------------- | | Who wrote it? | `git blame` | | When was it changed?| `git log --follow` | | Why was it changed?| commit message + PR | | What was missed? | `git diff` compare original vs problematic version | ## Common Patterns | Pattern | Symptom | Root Cause | | ------------------ | -------------------- | ----------------------------- | | Type removed | Enum value deleted | Assumed no longer needed | | Condition simplified| If conditions reduced| Missed during refactoring | | Rename | Partially unchanged | Incomplete search-and-replace | | Boundary ignored | Only handles main flow| Edge cases not considered | ## Output ```markdown ## Git Investigation Report - **Target*