When asked to find all files a specific author contributed to on a branch (compared to main or another upstream), follow this procedure. The goal is to produce a simple table that both humans and LLMs can consume.
This skill involves many sequential git commands. Delegate it to a subagent with a prompt like:
Find every file that author "Full Name" contributed to on branch compared to . Trace contributions through file renames. Return a markdown table with columns: Status (DIRECT or VIARENAME), File Path, and Lines (+/-). Include a summary line at the end.
Определите все файлы, в которые вложил конкретный автор, в ветке и в исходной ветке, отслеживая код посредством переименований. Используйте, когда вас спрашивают, кто что редактировал, какой код внес автор, или для проверки авторства перед слиянием. Этот навык следует запускать как субагент — он выполняет множество операций git и возвращает краткую таблицу. Источник: microsoft/vscode.