nirelbaz

Pre PR Check — Git skill for Claude Code

Git community

Pre-PR quality gate for PromptPit.

How to install Pre PR Check

Installs to ~/.claude/commands/nirelbaz-promptpit-pre-pr-check.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/nirelbaz/promptpit/HEAD/.claude/commands/pre-pr-check.md -o ~/.claude/commands/nirelbaz-promptpit-pre-pr-check.md

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

What Pre PR Check does

Pre-PR quality gate for PromptPit. Run this on your feature branch after implementation is complete, before opening a PR. Chains three checks: code review, adapter correctness verification, and code simplification.

Steps

  1. **Pre-flight.** Verify the branch has changes against main (`git diff origin/main --stat`). If no diff, stop. Run `npm test && npm run lint && npm run build` — all three must pass before proceeding. If any fail, fix them first.

  2. **Code review.** Run `/review` to do a

Alternatives in Git

  • Analysis Claude Code — GitHub Repo stars Complete reverse engineering research and analysis of Claude Code v1.0.33 Reverse engineerin 35k ★
  • Git Worktree Setup — Create isolated git worktrees with instant feedback and background Rust verification 25.5k ★
  • Bulletproof Quick Start Guide — Target Audience: Complete beginners Never used Python/git before 11.1k ★

Full documentation available on GitHub

View Source Repository