Agent skill
git-performance-issue-investigator
When the user needs to investigate performance issues in a Git repository by finding specific code changes, identifying responsible commits, and contacting authors. This skill is triggered by requests involving finding commits containing specific variables or code patterns, identifying earliest/introducing commits, extracting author information (name, email), and communicating about performance issues. It provides capabilities for searching Git history for specific code patterns using git log -S, retrieving full commit details with git show, extracting author metadata, and generating formatted communications using templates.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/git-performance-issue-investigator
SKILL.md
Instructions
Overview
This skill investigates performance issues in Git repositories by tracing code changes to specific commits, identifying responsible authors, and generating communications.
Core Workflow
1. Initialize Investigation
- Identify the target Git repository path in the workspace
- Confirm the specific code pattern or variable name to search for (e.g.,
remove_caching_layer) - Locate any communication templates in the workspace (e.g.,
template.txt)
2. Find Introducing Commit
Use git log with the -S flag to search for the earliest commit containing the specified code pattern:
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?