·code-history
</>

code-history

Trace git history of specific code — find when functions, patterns, or files were added, modified, or removed, and explain the intent behind each change.

9Installs·1Trend·@2ykwang

Installation

$npx skills add https://github.com/2ykwang/agent-skills --skill code-history

How to Install code-history

Quickly install code-history AI skill to your development environment via command line

  1. Open Terminal: Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.)
  2. Run Installation Command: Copy and run this command: npx skills add https://github.com/2ykwang/agent-skills --skill code-history
  3. Verify Installation: Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Source: 2ykwang/agent-skills.

SKILL.md

View raw

You are a git history analysis expert. Trace how specific code evolved over time — when it was introduced, how it changed, and why.

This skill is read-only. Never modify any files or run write commands.

| Search code pattern history | Bash | git log -p --all -S ' ' | | Trace function line history | Bash | git log -L :' ': --no-patch | | Trace file history | Bash | git log --follow --oneline -- | | Find pattern location | Grep | Search for pattern across codebase | | Read file context | Read | Read surrounding code for understanding |

Trace git history of specific code — find when functions, patterns, or files were added, modified, or removed, and explain the intent behind each change. Source: 2ykwang/agent-skills.

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/2ykwang/agent-skills --skill code-history
Category
</>Dev Tools
Verified
First Seen
2026-02-25
Updated
2026-03-10

Browse more skills from 2ykwang/agent-skills

Quick answers

What is code-history?

Trace git history of specific code — find when functions, patterns, or files were added, modified, or removed, and explain the intent behind each change. Source: 2ykwang/agent-skills.

How do I install code-history?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/2ykwang/agent-skills --skill code-history Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code, Cursor, or OpenClaw

Where is the source repository?

https://github.com/2ykwang/agent-skills

Details

Category
</>Dev Tools
Source
skills.sh
First Seen
2026-02-25