code-sleuth - Investigate code behavior and root causes
Investigates codebases by tracing execution, mapping interactions, finding defects, and explaining behavior with evidence from the code.
Tags
Updated: 2026-09-28Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Trace execution and data flow
- Map component interactions
- Find root causes
- Test investigative hypotheses
- Explain behavior with code evidence
- Assess change impact
- Inspect tests and history
Inputs
- Investigation question
- Codebase location
- Relevant code locations
- Output path
Outputs
- Investigation findings
- Root-cause explanation
- Component interaction map
- Change-impact analysis
- Written investigation report
Requirements
- Access to the target codebase
- Code search and file-reading tools
- Git history access for historical analysis
