author-contributions

Trace an author's file contributions across branches through renames.

Updated Mar 19, 2026
One-click install
npx skills add https://github.com/Nithwin/shadowcode --skill author-contributions-nithwin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: author-contributions
Source: https://github.com/Nithwin/shadowcode/tree/main/.github/skills/author-contributions
Command: npx skills add https://github.com/Nithwin/shadowcode --skill author-contributions-nithwin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Identify all files a specific author contributed to on a branch compared to upstream, tracing changes through renames.

Core Features & Use Cases

  • Trace an author's contributions across branches, including renames.
  • Build a rename map across commits and classify changes as DIRECT or VIA_RENAME.
  • Produce a concise table of contributions suitable for code reviews and audits.

Quick Start

Ask the AI to identify all files touched by author 'Full Name' on branch <branch> compared to <upstream> and return a concise DIRECT/VIA_RENAME table.

Frequently Asked Questions about author-contributions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I trace an author's git contributions across branches when files have been renamed?

To trace git contributions across branches with renames, you need to locate the author's identity, gather touched files, and build a rename map. This process classifies changes as DIRECT or VIA_RENAME to preserve authorship history during audits.

Can I audit what files a specific user modified on a branch compared to upstream before a merge?

Yes, you can audit files a specific user modified on a branch compared to upstream before a merge. The process identifies the author's exact identity, gathers all touched files, and summarizes results with a diff-like table for code reviews.

How do I find all files touched by an author on a git branch and get a summary table?

Finding all files touched by an author on a git branch involves locating their exact identity and gathering touched files. It builds a rename map to classify contributions as DIRECT or VIA_RENAME, producing a concise diff-like table for reconciliation.

Does git preserve authorship history for files that have been renamed on a branch?

Git does not automatically preserve authorship history for renamed files during branch reconciliation. You must explicitly build a rename map across commits to classify contributions as DIRECT or VIA_RENAME and trace the author's changes.

What is the best way to review code changes by a specific author when file paths change?

The best way to review code changes by a specific author when file paths change is to build a rename map across commits. This classifies contributions as DIRECT or VIA_RENAME, providing a concise table suitable for code reviews and audits.

Why does an upstream branch audit miss contributions from files that were renamed?

An upstream branch audit misses contributions from renamed files because standard diffing does not trace path changes. Building a rename map across commits is required to classify these contributions as VIA_RENAME and preserve authorship history.