pre-submit-pr Skill
Validate changes before submitting a pull request. Run comprehensive checks including lint, tests, alignment review, and RFC analysis. Use before creating a PR, when asked if code is ready for review, or before pushing for PR. Published by huggingface in OpenEnv.
What is pre-submit-pr Skill?
Validate changes before submitting a pull request. Run comprehensive checks including lint, tests, alignment review, and RFC analysis. Use before creating a PR, when asked if code is ready for review, or before pushing for PR. Published by huggingface in OpenEnv. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Testing
- Documentation
- Data analysis
- Testing use cases
- Documentation use cases
Technical details
- Install or run with Copy skill directory
When to use pre-submit-pr Skill
- Use it for testing.
- Use it for documentation.
- Use it for data analysis.
Built with
Editorial notes
Source
- Creator: huggingface
- Repository: huggingface/OpenEnv
- Skill file: .claude/skills/pre-submit-pr/SKILL.md
What it does
Validate changes before submitting a pull request. Run comprehensive checks including lint, tests, alignment review, and RFC analysis. Use before creating a PR, when asked if code is ready for review, or before pushing for PR.
Skill instructions
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 3. Run alignment review: - Read .claude/docs/PRINCIPLES.md and .claude/docs/INVARIANTS.md - Compare changes against principles and invariants - Identify Tier 1 (mechanical) and Tier 2 (alignment) issues 4. RFC check: - If changes touch src/openenv/core/, flag for RFC consideration - If any public API signatures change, RFC required - Check against existing RFCs in rfcs/ for co
Explore related resources
Frequently asked questions
What is pre-submit-pr?
pre-submit-pr is a open-source AI agent skill with Copy skill directory. Validate changes before submitting a pull request. Run comprehensive checks including lint, tests, alignment review, and RFC analysis.
Who is pre-submit-pr best for?
pre-submit-pr is best for reusing agent instructions, scripts, and references, testing workflows, documentation workflows, data analysis workflows.
How do I install pre-submit-pr?
Install or run pre-submit-pr using Copy skill directory. Check pre-submit-pr for the latest setup command.
Is pre-submit-pr actively maintained?
pre-submit-pr may need a closer maintenance check before production use.
Auto-fetched from GitHub.