Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Analyze code changes between two local Git branches and perform a comprehensive code review. Use ONLY for local git branch comparisons. Do NOT use when a GitLab or GitHub MR/PR URL or MR ID is provided — use gitlab-cli or github-cli skill instead.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 16% | 0% |
| case-05 | ✗→✓ | ▲ Improved | 190% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 202% | 0% |
| case-07 | ✗→✓ | ▲ Improved | -38% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -42% | 0% |
Run this skill when asked to review code, compare branches, or perform a code review between a source and target branch using local git. Do NOT use this skill if the user provides a GitLab or GitHub MR/PR URL or MR ID — use the gitlab-cli or github-cli skill instead.
Ask the user the following two questions together if not already provided:
Kindly let me know:
1. Source Branch: What is the name of the source branch (the branch with new changes)?
2. Target Branch: What is the name of the target branch (usually main/master)?If the user has already provided either value upfront, skip the corresponding question.
bashgit diff --name-only <TARGET_BRANCH> <SOURCE_BRANCH>
If the output is empty, report that there are no differences between the two branches and stop.
For each file returned in Step 2, read the full diff:
bashgit diff <TARGET_BRANCH> <SOURCE_BRANCH> -- <FILE_PATH>
Perform a comprehensive code review across all changed files covering:
For each issue found:
Only include code snippets that actually require changes — do not repeat code that looks fine.
If no issues are found, state clearly that the code looks good and summarize what was reviewed.
git diff <TARGET_BRANCH> <SOURCE_BRANCH> — never checkout branches or modify the working tree.Other measured skills in the registry, with their headline benchmark lift.