بنقرة واحدة
bip-pr-check
Quick PR readiness check — clean worktree, good description, squashed body. Run before /bip-pr-review.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Quick PR readiness check — clean worktree, good description, squashed body. Run before /bip-pr-review.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Check remote server CPU, memory, and GPU availability via SSH
Cold-start into a worktree/clone from a fresh conversation — read the PR, issue, and any status files, figure out where things stand, then STOP and ask the user what to do next. Use for a fresh conversation dropped into a bip-spawn or bip-epic-spawn worktree/clone that already has history (a PR, an in-progress phase, or a stalled worker).
Quick poll of tracked EPICs and code repos for new manuscript-relevant results
Persist manuscript session state before context reset
Cold-start for a manuscript session — the paper is the source of truth and shared context; discuss results, orchestrate research through issues/PRs, and update the paper as threads complete
Spawn a Claude session in a clone for an EPIC issue
| name | bip-pr-check |
| description | Quick PR readiness check — clean worktree, good description, squashed body. Run before /bip-pr-review. |
Quick sanity check before running the heavier /bip-pr-review. Catches common issues that waste review cycles.
/bip-pr-check
Check that we're on a feature branch (not main/master):
git branch --show-current
If on main/master, warn and stop.
git status --short
If there are uncommitted changes:
git fetch origin
BASE=$(gh pr view --json baseRefName -q .baseRefName 2>/dev/null || echo "main")
git rebase "origin/$BASE"
If rebase has conflicts, stop and report — do not force-resolve.
If the rebase moved commits, push immediately:
git push --force-with-lease
gh pr view --json number,title,body,state,isDraft 2>/dev/null
If no PR exists:
Check the PR title for quality:
Flag any issues and suggest improvements.
Fetch the PR body and evaluate whether it reads as a clean summary or as historical commit noise.
Signs of a bad (historical/unsquashed) body:
* commit message or - commit message bullet listsSigns of a good (squashed/summary) body:
## Summary or similar section with 1-3 bullet points explaining what and whyAlso apply PROSE-DISCIPLINE.md (bipartite repo root) to the body. Flag violations and offer to rewrite.
If the body looks like historical commit noise or is empty:
git diff origin/$(gh pr view --json baseRefName -q .baseRefName)...HEAD## Summary
- [1-3 bullet points describing what changed and why]
## Test plan
- [How to verify the changes work]
🤖 Generated with [Claude Code](https://claude.com/claude-code)
gh pr edit <number> --body "$(cat <<'EOF'
<new body>
EOF
)"
If the PR is marked as draft:
gh pr readyPrint a compact checklist:
## PR Check
- [x] On feature branch: `branch-name`
- [x] Worktree clean
- [x] PR exists: #123
- [x] Title: descriptive and concise
- [x] Body: clean summary (not commit history)
- [x] All commits pushed
- [ ] Draft status: still draft — mark ready when done
→ Ready for /bip-pr-review
Or flag what needs attention before proceeding.
/bip-pr-review after this passes for the full quality sweep