Dev & Engineering ✓ Microsoft · Official git-historyauthorship-auditbranch-comparisonfile-renamesgit-diff

Author Contribution Audit

Trace an author’s files across a branch, including contributions carried through renames.

FollowSkills review · FSRS-2.0
Use with care
48/ 100 5-point scale 2.4 / 5
1 2 3 4 5 6
1Trust15 / 25 · 3.0/5

The skill primarily uses read-oriented git log, diff-tree, and diff operations, with no malware, credential theft, covert exfiltration, or destructive default evident. It does not specify user confirmation, repository boundaries, sensitive commit-data handling, rollback, or data-flow disclosure, so substantial points are deducted.

2Reliability7 / 20 · 1.8/5

The procedure is logically ordered and covers exact author matching, branch-wide rename tracing, merge-diff filtering, and statistics. However, there is no execution evidence; the example script does not fully match the requested +/- output and lacks robust handling for merge commits, unusual paths, command failures, and empty results, so the score remains within the static ceiling.

3Adaptability9 / 15 · 3.0/5

The audience, branch-comparison task, authorship-audit scenarios, rename handling, and table format are clearly stated. Boundaries for unsupported cases, upstream naming differences, missing local repositories, and complex Git histories are under-specified, and there is no Chinese-language or mainland-China network adaptation guidance.

4Convention8 / 15 · 2.7/5

The documentation has clear metadata, staged procedures, notes, and two examples. Repository-level MIT licensing, official organization provenance, and general maintenance context are available, but the skill lacks its own versioning, changelog, owner, installation/dependency notes, and troubleshooting guidance, so points are deducted.

5Effectiveness6 / 15 · 2.0/5

It covers direct contributions, rename-derived contributions, files surviving into the merge diff, and line statistics, with a directly usable intended table. The example does not actually emit complete +/- statistics, complex-history correctness is unverified, and manual review remains necessary, so the score stays below the static maximum.

6Verifiability3 / 10 · 1.5/5

The documented commands and algorithm provide limited auditability and traceability. There is no skill-specific test suite, fixed fixture, CI coverage, or third-party execution evidence demonstrating reproduction of the key paths, so only limited credit is justified.

Evidence confidence:Low Reviewed Jul 20, 2026 Reviewed revision 5b3e1be7be9e
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
Before you use it
  • The skill delegates many git operations to a subagent but does not define permission confirmation, timeouts, retries, or repository boundaries; confirm that commands target only the intended repository and refs.
  • Rename parsing, merge commits, unusual filenames, and two-dot versus three-dot diff semantics may change results; manually review especially line statistics and VIA_RENAME classifications.
  • The documentation mentions GitHub MCP get_me without specifying availability, data-access scope, or a fallback workflow when it is unavailable.
See the full review method →

What does this skill do, and when should you use it?

This skill compares a branch with an upstream branch to identify files contributed by a named author that remain in the merge diff. It resolves the author’s exact Git identity, collects files touched by that author’s commits, and builds a rename map across every commit on the branch. Contributions preserved through renames are reported as VIA_RENAME rather than being lost under the new path. The skill is intended to run as a subagent and return a concise table with line statistics.

Reads Git history between the upstream and target branches; uses git log to resolve and match the author and collect the author’s commits; uses git diff-tree to extract touched files and renames from all branch commits; uses git diff to obtain the files in the final merge diff and their statistics; walks rename chains transitively; and produces a Markdown table containing DIRECT or VIA_RENAME status, file path, +/- lines, and a total summary. The instructions also recommend using Python for the heavier Git processing and mention GitHub MCP get_me as an optional way to resolve identity.

  1. A maintainer is preparing to merge a feature branch into main and needs an audit of one author’s files that will actually land.
  2. A code owner needs to distinguish files edited directly by an author from files that preserve the author’s contribution after renames.
  3. A team member wants to review an author’s commit scope and added or removed lines between an upstream branch and a working branch.
  4. A reviewer needs to exclude files that the author touched but that were later deleted and are absent from the merge result.

What are this skill's strengths and limitations?

Pros
  • Covers both direct edits and contributions carried through multiple file renames.
  • Reports only files still present in the upstream-to-branch merge diff, avoiding fully deleted changes.
  • Provides status, path, and line additions or deletions in a format suitable for human review and downstream model processing.
  • Requires exact Git identity matching, reducing the risk of confusing short usernames or similar names.
Limitations
  • Requires accessible Git history, a target branch, and an upstream branch; the supplied material does not describe support for non-Git repositories.
  • Performs many sequential Git operations, so it is not directly suitable for a model-only API environment without shell and filesystem access.
  • Reliable matching depends on the exact name and email recorded in Git commits; the identity must not be guessed.
  • The supplied material documents no skill-specific test suite or platform validation results.

How do you install this skill?

The supplied sources do not document a standalone installation process or installation command. The skill is located at .github/skills/author-contributions/SKILL.md in the repository, whose source code is licensed under MIT. To use it, load that directory into a compatible Agent Skills client and provide access to the Git repository being analyzed.

How do you use this skill?

With the skill loaded, use a request such as: "Find every file that author \"Full Name\" contributed to on branch feature-x compared to main. Trace contributions through file renames and return the table with status, file path, and lines (+/-)." Provide the author name, target branch, and upstream branch. The skill instructs the client to run the task as a subagent; it then verifies the exact Git identity and analyzes commits, renames, and the final branch diff.

FAQ

Does it report files the author touched but that were later deleted?
No. The procedure filters results through the final upstream-to-branch diff, so fully deleted files are not reported.
Will a contribution still be found after a file is renamed?
Yes. The skill builds a rename map from all branch commits and follows rename chains across multiple moves. The resulting path is classified as VIA_RENAME.
Can I provide only the author’s short username?
You should not guess. The procedure first resolves the exact Git identity through Git history or the mentioned GitHub MCP get_me tool, then uses the verified author string.
Does it require network access or an external service?
The core procedure uses local Git commands and filesystem access. GitHub MCP get_me is mentioned as an optional identity-resolution method, but the supplied instructions do not make it the only method or specify another network requirement.

More skills from this repository

All from microsoft/vscode

Dev & Engineering ✓ Microsoft · Official

Commit Assistant

Creates repository-style commit messages and safely commits code changes.

Dev & Engineering ✓ Microsoft · Official

Session Code Review

Review the current session's code changes and place actionable findings directly on the relevant lines.

Dev & Engineering ✓ Microsoft · Official

Branch Merge Assistant

Safely merges session work from a topic branch back into its base branch.

Dev & Engineering ✓ Microsoft · Official

Git Branch Sync

Safely sync an upstream branch or publish the current session branch to a remote.

Dev & Engineering ✓ Microsoft · Official

Upstream Branch Sync

Rebase a stale session branch onto the latest upstream changes.

Automation & Ops ✓ Microsoft · Official

CI Failure Fixer

Diagnose pull request CI failures and iterate toward a fix.

Dev & Engineering ✓ Microsoft · Official

VS Code Hygiene Checks

Catch VS Code commit-blocking style and hygiene issues before the work is declared complete.

Dev & Engineering ✓ Microsoft · Official

VS Code Smoke Test Failure Diagnosis

Diagnose and validate intermittent VS Code Electron smoke-test failures in Azure DevOps.

Dev & Engineering ✓ Microsoft · Official

Session Pull Request Assistant

Checks session changes and creates a GitHub pull request through GitHub MCP.

Dev & Engineering ✓ Microsoft · Official

Chronicle Copilot Session Analyst

Turn Copilot session history into standups, usage advice, and searchable records.

Dev & Engineering ✓ Microsoft · Official

Create Draft Pull Request

Validate the current session’s changes and open a draft PR through GitHub MCP.

Dev & Engineering ✓ Microsoft · Official

Existing Pull Request Updater

Sync the branch, run checks, and publish new changes to an existing pull request.

Dev & Engineering ✓ Microsoft · Official

Tool Rename Compatibility Check

Protect existing prompts and tool configurations when built-in tools are renamed.

Dev & Engineering ✓ Microsoft · Official

Copilot Chat OpenTelemetry Instrumentation

A repository-specific guide for consistent OpenTelemetry instrumentation in Copilot Chat.

Dev & Engineering ✓ Microsoft · Official

VS Code Configuration Policy Maintainer

Standardize VS Code policy registration, export, and validation.

Design & Frontend ✓ Microsoft · Official

VS Code Design Philosophy

Turn vague UI discomfort into concrete fixes using shared values, principles, and design moves.

Dev & Engineering ✓ Microsoft · Official

Agent Host E2E Test Assistant

Maintain VS Code Agent Host end-to-end tests with strict replay fixtures.

Dev & Engineering ✓ Microsoft · Official

VS Code Integrated Browser Architecture

A practical architecture guide for safely changing VS Code's cross-process integrated browser.

Dev & Engineering ✓ Microsoft · Official

VS Code Agents Window Sessions

Safely implement and repair VS Code Agents window features.

Dev & Engineering ✓ Microsoft · Official

VS Code Agent Customization Assistant

Create, repair, and troubleshoot VS Code Agent customization files and their loading behavior.

Related skills