---
name: fradser-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."
license: "MIT"
metadata:
  decimalai-skill-id: "5308a264-a62c-4e0b-91fb-c34e34fca7af"
  decimalai-version-id: "1de7e3a0-4a32-4a7b-885e-24a71c1535ab"
  decimalai-version: "1"
  decimalai-body-sha256: "748635e407d8748bc5f5f050eba58bd64493371e621a86689bfe712cf0a0f4bd"
  decimalai-name: "fradser/related"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "coding"
  decimalai-source: "https://app.decimal.ai/s/fradser-related@1/SKILL.md"
---
## 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`
