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.

ソース情報

リポジトリ
FradSer/dotclaude
ソースの最終更新活動
2026年8月11日 09:08
検出された SKILL.md の言語
英語
スター
593
フォーク
50

インストール方法

デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。

ソースファイルを確認

インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。

SKILL.md を表示中

SKILL.md
ソースの指示 · 読み取り専用プレビュー
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`
GitHubで見る