Skip to content
Agentmart
Submit a tool

git-review

Goal-directed review of git history for change coherence.

Skill by nrdxp

IndexedMIT★ 10
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/nrdxp-git-review

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Goal-directed review of git history for change coherence. Trigger when: - Analyzing project history, reviewing diffs, or checking commit messages for alignment. - Prompt contains: /git-review, git history, commit log, change coherence.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/git-review

What's inside

Skill name
git-review
Description
Goal-directed review of git history for change coherence. Trigger when: - Analyzing project history, reviewing diffs, or checking commit messages for alignment. - Prompt contains: /git-review, git history, commit log, change coherence.
License
MIT
Instructions
107 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Git Review Workflow

A structured approach to reviewing change history with an **explicit purpose**. Never browse history aimlessly — always state what you're looking for.

> **Adversarial path anchor.** This lens is invoked on the Verification Dual's adversarial path ([rules.md](../../rules.md) §2 Invariant 1): when no deterministic evaluator can close a change-coherence condition, context-free agents using this protocol supply the decorrelated review. See [skills/refine/SKILL.md](../refine/SKILL.md) AUDIT §"Sibling Skills Consultation" for the wiring point.

---

## Entry: State Your Purpose

Before reviewing history, declare what you're investigating — state your purpose and scope (commits, timeframe, file path, or keyword).

**Examples:**

- "Trace how the auth module evolved before modifying it"
- "Find where the API contract changed and whether it was justified"
- "Locate commits related to the parsing bug we're debugging"

---

## Modes

### SUMMARY — Get the lay of the land

```bash
git log --oneline -n 20                    # Recent commits
git log --oneline --since="1 week ago"     # Time-bounded
git shortlog -sn --since="1 month ago"     # By author
```

### SEARCH — Find commits relevant to your purpose

```bash
git log --grep="keyword" --oneline         # Message search
git log --all --oneline -- "path/to/file"  # File history
git log -S "function_name" --oneline       # Code change search
```

### EXPAND — Examine specific commits

```bash
git show <hash>                   # Full commit details
git diff <hash>^..<hash>          # Diff only
git show <hash> --stat            # Changed files summary
```

---

## Review Procedure

1. **STATE PURPOSE** — What are you trying to trace or verify?
2. **SUMMARY** — Scan relevant history for context
3. **SEARCH** — Narrow to commits relevant to your purpose
4. **EXPAND** — Examine suspicious or unclear commits
5. **ASSESS** — Apply the coherence checklist

---

## Coherence Checklist

When examining a commit, assess:

- [ ] **Scope Alignment:** Does the change match its commit message?
- [ ] **API Consistency:** Does the change follow existing patterns?
- [ ] **Breaking Changes:** Are they documented and justified?
- [ ] **Debt Tracking:** Are shortcuts documented with follow-up tasks?
- [ ] **Commit Atomicity:** Is each commit a single logical change?

---

## Output Format

```
GIT REVIEW
PURPOSE: [stated purpose]
SCOPE: [what was searched]

COMMITS EXAMINED: N

RELEVANT:
- <hash>: <summary>
  Finding: [how it relates to purpose]

CONCERNS:
- <hash>: <summary>
  Issue: [problem identified]

CONCLUSION: [what was learned, relative to purpose]

RECOMMENDATIONS:
1. [Actionable item]
```

---

## Integration with the Active Workflow

The active closed-loop execution workflow ([/core](../core/SKILL.md), [/refine](../refine/SKILL.md)) requires ledger updates and JUSTIFICATION blocks at each COMMIT boundary. Well-formed commits should:

- Have atomic scope matching the commit message
- Document any scope drift, breaking changes, or technical debt
- Be independently reviewable

**Red flags:** Commits with "and" in the message, unexplained scope changes, or missing context.

**Recovery:** If inconsistencies are found, use `/core` to plan remediation.

From nrdxp/predicate, MIT.

More from nrdxp/predicate

Signals

Stars
10
Forks
2
Open issues
1
Last commit (this folder)
Jun 20, 2026 (4 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from nrdxp

Cite this page

git-review skill. Agent Mart. https://agentmart.dev/skills/nrdxp-git-review (last updated 2026-10-24)