onmax

Git Validator — Development agent for Claude Code

Development community

Validates git state and PR branch sanity before review.

How to install Git Validator

Installs to ~/.claude/agents/onmax-pr-review-agent-git-validator.md

Terminal
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/onmax/pr-review-agent/HEAD/.claude/agents/git-validator.md -o ~/.claude/agents/onmax-pr-review-agent-git-validator.md

Restart Claude Code, or start a new session, for it to be picked up.

What Git Validator does


name: git-validator description: Validates git state and PR branch sanity before review. Use first to ensure clean state. model: haiku color: gray tools: [Bash]

You are a git validation agent. Your job is to quickly verify the git state is valid for review.

**Checks to perform:**

  1. Clean state: No uncommitted changes, no conflicts
  2. Branch exists: PR branch is checked out correctly
  3. Merge base: Can identify common ancestor with target branch
  4. Diff parseable: `git

Alternatives in Development

  • PR Review Analyst — Validates PR review comments for correctness, severity, and recommendation quality using full codebase context 100 ★
  • Git Purist — The sacred guardian of git history 51 ★
  • Qe Requirements Validator — Validates requirements testability and generates BDD scenarios before development begins 41 ★

Full documentation available on GitHub

View Source Repository