Pre PR Check — Git skill for Claude Code
Pre-PR quality gate for PromptPit.
How to install Pre PR Check
Installs to ~/.claude/commands/nirelbaz-promptpit-pre-pr-check.md
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
**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.
**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 RepositoryRelated Skills
Gate And Ship
Quality gates then ship - runs /prepare-delivery then /ship in one command. Use after completing implementatio
Claude Devils Advocate
Claude Code slash command that simulates a multi-round code review between an Author and Reviewer before openi
Self Hosted Review
Review a PR with subagents when no bot reviewer responded — three cycles (architectural, line-level, verificat
Complete Task
Explicitly transition one identified work item to its tracker's completed state — a handler-dispatched, manual
Rcode Review
Perform comprehensive review with scope verification, convention compliance, and architectural consistency che
Karpathy Check
Run Karpathy's 4-principle review on staged changes or the last commit. Checks complexity, diff noise, hidden
Related Agents
Branch Setup
PRFlow's implement-phase Branch-Setup agent. Runs Phase 1.4's branch resume pre-check, the reuse-vs-create sig
Merge Gate Verifier
Read-only verification of a branch before it merges. Use when a worker reports a lane done and you need to che
Superreview Correctness Security Subagent
Superreview lane 1 — deep correctness & security branch audit scoped to the diff (bugs, breaking changes, secu