UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
開発・技術 · SKILL.md

related

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.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

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

保存したスキル