Skip to content
Back to skills

Related

ASecurity

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.

  • 593 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 11, 2026
ai-agentsbashgit

Works with

  • cli

Security analysis

A100/100

Scanned September 11, 2026

npx -y skills add FradSer/dotclaude --skill related --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Related?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Related
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/fradser-related/badge)](https://www.skillsdirectory.com/skills/fradser-related)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
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`

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.