difit

Generate Git diffs for commits, branches, and working directory changes.

Updated Dec 24, 2025
One-click install
npx skills add https://github.com/MakotoUwaya/dotfiles --skill difit-makotouwaya
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: difit
Source: https://github.com/MakotoUwaya/dotfiles/tree/main/.config/claude-code/skills/difit
Command: npx skills add https://github.com/MakotoUwaya/dotfiles --skill difit-makotouwaya

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill streamlines the code review process by allowing you to easily request feedback on your code changes directly within your development workflow.

Core Features & Use Cases

  • Commit Review: Request a review for the latest commit in your repository.
  • Uncommitted Changes Review: Review changes that have not yet been committed.
  • Branch Comparison: Compare differences between branches or between your working directory and a remote branch.
  • Use Case: After implementing a new feature, use difit . --clean to get immediate feedback on your uncommitted changes before you finalize your commit.

Quick Start

Request a review of the HEAD commit using the difit command.

Frequently Asked Questions about difit

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

FAQPage Schema
How do I get a code review for uncommitted changes in my Git working directory?

You can request a code review for uncommitted Git changes by running `difit . --clean` within your repository. This generates a diff of your working directory state against the remote branch to gather feedback before you finalize your commit.

Can I review differences between a specific Git branch and my current working directory?

Yes, you can review differences between branches or between your working directory and a remote branch. The tool supports various Git comparison scenarios, generating diffs for specific commits, branch states, and uncommitted changes to facilitate code reviews.

What is the best way to request feedback on my latest Git commit?

To request feedback on your latest Git commit, use the difit command to target the HEAD commit. It generates a diff of the most recent commit in your repository, facilitating an immediate code review within your development workflow.

Does difit work outside of Git-managed repositories?

No, difit operates exclusively within Git-managed repositories. It relies on Git version control to generate diffs for commits, uncommitted changes, and branch comparisons, so it requires a valid Git repository to function properly.

How do I compare differences between two specific Git commits for a code review?

You can compare differences between specific Git commits by specifying the commit hashes with difit. The tool generates a diff for the requested comparison scenario, allowing you to request a targeted code review on those exact version control changes.