retrieve-diff-from-commit

Installation
SKILL.md

Retrieve Diff from Commit Skill

An input skill that retrieves code diff from local git commits. This is the entry point for reviewing local changes before they are pushed.

Role

  • Extract: Get the diff content from a specific commit or range of commits
  • Format: Prepare the diff in a format suitable for code review
  • Context: Gather commit metadata (author, message, timestamp)

Inputs

Input Required Description
commit_sha Optional Specific commit SHA to review (defaults to HEAD)
commit_range Optional Range of commits (e.g., main..HEAD, HEAD~3..HEAD)
base_branch Optional Compare current branch against base (e.g., main, develop)

Outputs

Related skills
Installs
1
GitHub Stars
7
First Seen
Mar 11, 2026