pre-submit-pr

Installation
SKILL.md

Pre-Submit PR Check

Comprehensive validation before submitting a pull request. Run this before creating or updating a PR.

Instructions

  1. Check branch freshness (BLOCKING):

    • Run git fetch origin main to get latest main
    • Run git rev-list --count HEAD..origin/main to check commits behind
    • If > 0 commits behind, merge main before proceeding: git merge origin/main
    • This prevents "branch out of date" issues on GitHub
  2. Run all automated hooks:

    • bash .claude/hooks/lint.sh - format check (includes ruff format + ruff check)
    • bash .claude/hooks/test.sh - run tests
    • bash .claude/hooks/check-debug.sh - find debug code
Installs
1
GitHub Stars
2.4K
First Seen
Jul 8, 2026
pre-submit-pr — huggingface/openenv