heykvnzhao/dotfiles/open-pr
Claude Code and agent skill by heykvnzhao/dotfiles
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Open pull requests for the current git repo: verify you are not on main/prod, compare your branch to main, commit any pending work, and create a PR (prefer gh). Use when asked to open or create a PR, draft a PR description, or automate the PR workflow for a local git branch.
Install
npx vskill@latest install heykvnzhao/dotfiles/open-prSKILL.md
The same SKILL.md was published earlier as heykvnzhao/dotfiles/open-pr.
Open PR
Overview
Create a pull request from the current branch to main, ensuring the branch is valid, changes are committed, and the PR description follows the required format.
Workflow
1. Verify branch and repo
- Always prepend
GIT_EDITOR=trueto every git command. - Confirm the current branch and ensure it is not
mainorprod: GIT_EDITOR=true git rev-parse --abbrev-ref HEAD- If branch is
mainorprod, stop and explain why you cannot proceed.
2. Compare branch against main
- Show what will be in the PR relative to
main: GIT_EDITOR=true git fetch origin main(if origin exists)GIT_EDITOR=true git log --oneline main..HEADGIT_EDITOR=true git diff --stat main...HEAD- If
maindoes not exist locally or remotely, stop and ask how to proceed.
3. Commit pending work (if any)
- Check for staged/unstaged changes:
GIT_EDITOR=true git status --porcelain- If there are changes:
- Stage everything relevant:
GIT_EDITOR=true git add -A - Ask the user for a commit message if none was provided.
- Commit:
GIT_EDITOR=true git commit -m "<message>" - If there are no changes, proceed.
4. Draft PR title and body
Use this exact format:
- Keep the title line within 80 characters.
- Ensure TLDR is at most two sentences.
- Provide 1–3 concise bullets.
5. Create the PR (prefer gh)
- Check if GitHub CLI is installed:
command -v gh. - Ensure the branch is pushed (set upstream if missing):
GIT_EDITOR=true git push -u origin <branch>- If
ghis available, create the PR: gh pr create --base main --head <branch> --title "<title>" --body "<body>"- If
ghis not available, explain the manual steps to open a PR on the hosting service.
6. Respond with the PR link
- Always paste the PR URL in your response so it is clickable.
- If needed, fetch it via:
gh pr view --json url -q .url
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/open-pr/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/heykvnzhao/dotfiles/open-pr)