Skip to content
Development
Skill

/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.

BOOST
From plugin
dotclaude
59683 skills7 agents4 commands3 MCP
Install
$ npx -y skills add FradSer/dotclaude --skill related --agent claude-code

How it fires

How this skill gets triggered: by you, by Claude, or both.

  • Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
  • You can call itInvoke it directly when you want it.
  • Slash command/related

Context preview

The summary Claude sees to decide when to auto-load this skill.

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.

SKILL.md

related.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**:

   git-agent related <file-paths...>

2. **Find related tests**:

   git-agent related --tests <file-paths...>

3. **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`

Ships withdotclaude

A curated collection of 22 plugins for Claude Code, providing specialized agents, skills, and automation tools for development and productivity workflows.

Get the whole plugin

Other skills on dotclaude.