skills/custom/git-semantic-search/SKILL.md
Git archaeology — trace when code was introduced, removed, or changed using Pickaxe, Bisect, and Blame. Use when the user asks who wrote a line, when a bug started, where a symbol came from, or to hunt down the origin of any code.
npx skillsauth add rockcookies/skills git-semantic-searchInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Archaeology through Git history. Match the query to the right tool — Pickaxe for exact symbols, Regex for patterns, Blame for line attribution, Bisect for regressions.
| Query | Tool | Command |
|-------|------|---------|
| Exact symbol or string | Pickaxe (-S) | git log -S "<query>" --oneline |
| Pattern or logic change | Regex (-G) | git log -G "<query>" --oneline |
| Specific line / "who wrote this" | Blame | git blame -L N,M <file> --date=short |
| "When did this bug start" | Bisect | git bisect start |
Never fall back to a generic git log.
Map the user's question to one tool:
Retrieve up to 5 relevant commits:
# Pickaxe
git log -S "<query>" --date=short --format="%h | %ad | %an | %s"
# Regex
git log -G "<query>" --date=short --format="%h | %ad | %an | %s"
# Blame
git blame -L N,M <file> --date=short
# Bisect
git bisect start
git bisect bad HEAD
git bisect good <known-good-commit>
When fewer than 3 commits surface, inspect each:
git show <hash> --stat
Note whether each commit introduced or removed the target.
🕵️ Archaeology Report
Query: "MAX_RETRY"
Tool: Pickaxe (-S)
| Hash | Date | Author | Message |
|---------|------------|--------|-------------------------------|
| a1b2c3d | 2023-10-12 | Alice | feat: implement network retry |
| e4f5g6h | 2023-09-05 | Bob | refactor: extract constants |
💡 MAX_RETRY was introduced by Alice in Oct 2023 as part
of the retry mechanism (a1b2c3d).
tools
Turn the current conversation into a spec and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.
tools
Teach the user a new skill or concept, within this workspace.
development
Test-driven development. Use when the user wants to build features or fix bugs test-first, mentions "red-green-refactor", or wants integration tests.
documentation
Configure this repo for the engineering skills — set up its issue tracker, triage label vocabulary, and domain doc layout. Run once before first use of the other engineering skills.