pre-submit-pr
Skill2.6k starsChanged 8 months agoBSD-3-ClauseView on GitHub
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.
Trending
Quiet since October.about the whole repository
Who's talking about huggingface/OpenEnv
- aaif/project-proposals“[Project Proposal] OpenEnv”GitHub · Sep 28, 2026 · 2 reactions
- ProSkillsMD/proskills“[Candidate] huggingface/openenv/.claude/skills/deploy-hf - deploy-hf”GitHub · Oct 5, 2026
- ProSkillsMD/proskills“[Candidate] huggingface/openenv/.claude/skills/alignment-review - alignment-review”GitHub · Oct 5, 2026
- ProSkillsMD/proskills“[Candidate] huggingface/openenv/.agents/skills/openenv-cli - openenv-cli”GitHub · Oct 5, 2026
- sudosubin/agents.nix“agent-skills.github.huggingface.openenv: 0.5.0 → 0.7.0”GitHub · Oct 3, 2026
The biggest 5 of 22 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 22
Talked about on GitHub (22 times).
On GitHub · 22
- Sep 28, 2026[Project Proposal] OpenEnv — aaif/project-proposals2 reactions · 1 comment
- Oct 5, 2026[Candidate] huggingface/openenv/.claude/skills/deploy-hf - deploy-hf — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 5, 2026[Candidate] huggingface/openenv/.claude/skills/alignment-review - alignment-review — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 5, 2026[Candidate] huggingface/openenv/.agents/skills/openenv-cli - openenv-cli — ProSkillsMD/proskills0 reactions · 1 comment
- Oct 3, 2026agent-skills.github.huggingface.openenv: 0.5.0 → 0.7.0 — sudosubin/agents.nix0 reactions
17 more on GitHub
- Oct 3, 2026[Add] OpenEnv (huggingface/OpenEnv) — PyTorchKR/landscape0 reactions
- Oct 2, 2026chore(deps): bump openenv from 0.5.0 to 0.6.0 — beer-sakthai/openenv-rl-training0 reactions · 2 comments
- Oct 2, 2026chore(deps): bump openenv from 0.5.0 to 0.6.0 in /openenv-custom-training — beer-sakthai/openenv-rl-training0 reactions · 3 comments
- Sep 29, 2026Add reset schema publication to /schema endpoint — scosman/OpenEnv0 reactions
- Sep 28, 2026agent-skills.github.huggingface.openenv: init at 0.5.0 — sudosubin/agents.nix0 reactions
- Sep 25, 2026chore(deps): bump openenv from 0.4.2 to 0.5.0 in /openenv-custom-training — beer-sakthai/openenv-rl-training0 reactions · 2 comments
- Sep 25, 2026chore(deps): bump openenv from 0.4.2 to 0.5.0 — beer-sakthai/openenv-rl-training0 reactions · 2 comments
- Sep 16, 2026chore(deps): bump openenv from 0.4.1 to 0.4.2 in /openenv-custom-training — beer-sakthai/openenv-rl-training0 reactions · 2 comments
- Sep 16, 2026chore(deps): bump openenv from 0.4.1 to 0.4.2 — beer-sakthai/openenv-rl-training0 reactions · 2 comments
- Sep 15, 2026build(deps): update openenv requirement from >=0.2.0 to >=0.4.2 — Manimaran-tech/swarm_analyst0 reactions
- Aug 27, 2026AsyncGRPO: train OpenEnv harnesses from validated token captures — huggingface/trl0 reactions · 5 comments
- Jul 24, 2026Point the opencode example at huggingface/OpenEnv — huggingface/trl0 reactions · 2 comments
- Jul 7, 2026build(deps): update openenv requirement from >=0.2.0 to >=0.4.1 — Manimaran-tech/swarm_analyst0 reactions · 1 comment
- Jun 23, 2026build(deps): update openenv requirement from >=0.2.0 to >=0.3.1 — Manimaran-tech/swarm_analyst0 reactions · 1 comment
- Jun 10, 2026[dprat0821] Add June watch for open agent training environments — Prompthon-IO/agent-systems-handbook0 reactions
- May 29, 2026mini_swe: stabilize async GRPO validation runs — rycerzes/OpenEnv0 reactions
- May 2, 2024Link Checker Dashboard 🔗 — ahgraber/AIMLbling-about0 reactions
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- hf-cliSkill
- openenv-cliSkill
- alignment-reviewSkill
- deploy-hfSkill
- generate-openenv-envSkill
- hf-space-recoverySkill
- implementSkill
- releaseSkill
- rfc-checkSkill
- simplifySkill
- sprintSkill
- update-docsSkill
- watch-prSkill
- work-on-issueSkill
- write-testsSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 5 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 14
Run git fetch origin main to get latest main
- Very specific: line 15
Run git rev-list --count HEAD..origin/main to check commits behind
- Very specific: line 16
If > 0 commits behind, merge main before proceeding: git merge origin/main
- Very specific: line 25
Read .claude/docs/PRINCIPLES.md and .claude/docs/INVARIANTS.md
- Very specific: line 30
If changes touch src/openenv/core/, flag for RFC consideration
- Distinctive: line 31
If any public API signatures change, RFC required
- Very specific: line 32
Check against existing RFCs in rfcs/ for conflicts
- Distinctive: line 36
If the PR adds new directories, moves files, or changes structure significantly:
- Very specific: line 37
Update REPO_WALKTHROUGH.md to reflect the changes
- Very specific: line 39
Check triggers: new directories in src/, envs/, .claude/, or rfcs/
- Distinctive: line 40
Check if any public API signatures changed (function/class renames, new params):
- Distinctive: line 41
Search for references in docs/, examples/, README.md, other .py docstrings
- Very specific: line 42
If stale references found, recommend running /update-docs before PR
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Pre-Submit PR Check
Comprehensive validation before submitting a pull request. Run this before creating or updating a PR.
Instructions
- Check branch freshness (BLOCKING):
- Run
git fetch origin mainto get latest main - Run
git rev-list --count HEAD..origin/mainto check commits behind - If > 0 commits behind, merge main before proceeding:
git merge origin/main - This prevents "branch out of date" issues on GitHub
- Run
- Run all automated hooks:
bash .claude/hooks/lint.sh- format check (includes ruff format + ruff check)bash .claude/hooks/test.sh- run testsbash .claude/hooks/check-debug.sh- find debug code
- Run alignment review:
- Read
.claude/docs/PRINCIPLES.mdand.claude/docs/INVARIANTS.md - Compare changes against principles and invariants
- Identify Tier 1 (mechanical) and Tier 2 (alignment) issues
- Read
- 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 conflicts
- If changes touch
- Documentation freshness check:
- Review
.claude/docs/REPO_WALKTHROUGH.mdagainst the current repo structure - If the PR adds new directories, moves files, or changes structure significantly:
- Update REPO_WALKTHROUGH.md to reflect the changes
- Include these updates in the PR
- Check triggers: new directories in
src/,envs/,.claude/, orrfcs/ - Check if any public API signatures changed (function/class renames, new params):
- Search for references in docs/, examples/, README.md, other .py docstrings
- If stale references found, recommend running
/update-docsbefore PR
- Review
- Summarize PR readiness:
- List all blocking issues
- List all discussion points for reviewers
- Provide overall verdict
- After push/PR creation, run the post-push check:
bash .claude/hooks/post-push-pr.sh- Verifies: PR is open, no merge conflicts, branch freshness, PR description quality, CI check status
Output Format
## Pre-Submit PR Report
### Branch Freshness
| Check | Status | Details |
|-------|--------|---------|
| Up to date with main | YES/NO | [X commits behind, merged if needed] |
### Automated Checks
| Check | Status | Details |
|-------|--------|---------|
| Lint | PASS/FAIL | [summary] |
| Tests | PASS/FAIL | [X passed, Y failed] |
| Debug code | CLEAN/FOUND | [details] |
### Alignment Review
#### Tier 1: Fixes Required (blocking)
- [ ] path/file.py:123 - [issue description]
#### Tier 2: Discussion Points (flag for reviewers)
[ALIGNMENT FLAGS or "None identified"]
### Invariant Check
[List any invariants at risk, or "All invariants maintained"]
### RFC Status
[NOT REQUIRED / RECOMMENDED / REQUIRED: reason]
### Documentation Freshness
[UP TO DATE / UPDATED: list of changes made to REPO_WALKTHROUGH.md]
[STALE DOCS: run /update-docs — list of stale references found]
### Verdict: READY FOR PR / ISSUES TO ADDRESS
### Summary for PR Description
[2-3 sentences summarizing changes for the PR description]Blocking Issues
The following issues block PR submission:
- Branch out of date with main (must merge first)
- Lint failures
- Test failures
- Debugger statements (breakpoint, pdb)
- Invariant violations
- RFC required but not written
Non-Blocking (Flag for Reviewers)
These should be noted in PR but don't block:
- Alignment discussion points (Tier 2)
- RFC recommended (optional)
- TODOs in code
- Print statements (unless in core code)
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

