Skip to main content

related

Mines git history to find files and test suites that historically change together with specified target files (co-change relations). Use before making changes or running tests to discover coupled code.

Source facts

Repository
FradSer/dotclaude
Last source activity
August 11, 2026 at 09:08
Detected SKILL.md language
English
Stars
594
Forks
50

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
related
description
Mines git history to find files and test suites that historically change together with specified target files (co-change relations). Use before making changes or running tests to discover coupled code.
user-invocable
true
argument-hint
[file-path or --tests file-path]
allowed-tools
["Bash(git-agent:*)"]
## Execution Execute `git-agent related` to query co-change relations (offline and read-only): 1. **Find coupled files**: ```bash git-agent related <file-paths...> ``` 2. **Find related tests**: ```bash git-agent related --tests <file-paths...> ``` 3. **Structured JSON output**: ```bash git-agent related -o json <file-paths...> ``` Report the historically coupled files and tests to guide code edits and test suite execution. CLI Reference: `../../references/cli.md`
View on GitHub