heykvnzhao/dotfiles/open-pr

Claude Code and agent skill by heykvnzhao/dotfiles

Trust tier 2
  • community
LLM review pending
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-pr

SKILL.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=true to every git command.
  • Confirm the current branch and ensure it is not main or prod:
  • GIT_EDITOR=true git rev-parse --abbrev-ref HEAD
  • If branch is main or prod, 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..HEAD
  • GIT_EDITOR=true git diff --stat main...HEAD
  • If main does 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:

<feature_area>: <Title> (80 characters or less)
<TLDR> (no more than 2 sentences)
<Description>
- 1~3 bullet points explaining what's changing
  • 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 gh is available, create the PR:
  • gh pr create --base main --head <branch> --title "<title>" --body "<body>"
  • If gh is 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

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/heykvnzhao/dotfiles/open-pr/badge)](https://verified-skill.com/skills/heykvnzhao/dotfiles/open-pr)

Something wrong with this skill or its page? Tell us.