Agent Skills
› FradSer/dotclaude
› related
related
GitHub通过挖掘Git历史发现与目标文件共同变更的耦合文件和测试套件,辅助代码修改和测试执行。
Trigger Scenarios
修改代码前查找耦合文件
运行测试前查找相关测试
Install
npx skills add FradSer/dotclaude --skill related -g -y
SKILL.md
Frontmatter
{
"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.",
"allowed-tools": [
"Bash(git-agent:*)"
],
"argument-hint": "[file-path or --tests file-path]",
"user-invocable": true
}
Execution
Execute git-agent related to query co-change relations (offline and read-only):
- Find coupled files:
git-agent related <file-paths...> - Find related tests:
git-agent related --tests <file-paths...> - Structured JSON output:
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
Version History
- 6f2a0b2 Current 2026-08-20 10:58


