openvinotoolkit/openvino.genai/open-pr

Claude Code and agent skill by openvinotoolkit/openvino.genai

Trust tier 2
  • community
LLM review pending
Source check pending

Checking that the SKILL.md file is still in the repository.

Open a pull request to openvinotoolkit/openvino.genai. Use when: submitting changes, creating PR, opening pull request, pushing work for review, finalizing a task with a PR.

Install

npx vskill@latest install openvinotoolkit/openvino.genai/open-pr

SKILL.md

Open Pull Request

Creates a branch, commits only task-related changes, and opens a pull request against openvinotoolkit/openvino.genai with a description aligned to the repository PR template.

When to Use

  • After completing a coding task that needs to be submitted as a PR
  • When the user asks to open, create, or submit a pull request

Inputs

The user provides (or the agent infers from prior conversation):

  • branch_name: Name for the new branch (e.g. fix/kv-cache-leak)
  • pr_title: Concise PR title for release notes (e.g. Fix KV-cache memory leak in continuous batching)
  • ticket _(optional)_: Jira ticket number (e.g. CVS-12345) or GitHub issue number

If the user does not provide these, infer sensible values from the conversation context and confirm with the user before proceeding.

Procedure

Step 1: Identify Current State

Determine the current branch and its relationship to master:

bash
git branch --show-current
git log --oneline master..HEAD
git status

This reveals:

  • Current branch name — may already be a feature branch, not master
  • Commits ahead of master — prior commits that may or may not be in scope
  • Uncommitted changes — staged and unstaged modifications
Step 2: Analyze All Changes Against Master

Compare the full delta from master to the current state (both committed and uncommitted):

bash
git diff master --stat
git diff master

Examine every changed file in this diff. Determine which changes are in scope (directly related to the task) and which are out of scope (unrelated formatting, debug leftovers, scratch files, unrelated refactors, changes from prior unrelated commits).

If out-of-scope changes are detected, inform the user and ask whether to:

  • Revert or exclude the out-of-scope changes before committing
  • Include them anyway

Do not silently include unrelated changes.

Step 3: Prepare the Branch

Based on the analysis from Steps 1–2, determine the scenario:

Scenario A — Already on a feature branch with only in-scope changes (committed and/or uncommitted): Reuse the current branch as <branch_name>. No branch switching needed. Proceed to Step 4 to commit any remaining uncommitted changes.

Scenario B — On `master` with uncommitted in-scope changes only: Create a new branch from master:

bash
git checkout -b <branch_name>

Scenario C — Out-of-scope changes detected (any branch): Create a new branch from master with only the in-scope changes:

bash
git stash # if there are uncommitted in-scope changes
git checkout master
git checkout -b <branch_name>
# apply only in-scope changes (e.g. git stash pop, git add only in-scope files)

If the branch name already exists, ask the user whether to reuse it or pick a different name.

The goal is a branch where the full diff against `master` contains only in-scope changes.

Step 4: Stage and Commit

Stage only the in-scope files identified in Step 2:

bash
git add <file1> <file2> ...

Do not use git add . or git add -A unless every change is confirmed in-scope.

Write a clear, conventional commit message. Use a single-line summary (≤72 chars):

bash
git commit -m "<summary>"
Step 5: Determine the Fork Remote

The branch must be pushed to the user's fork, never directly to openvinotoolkit/openvino.genai.

Identify the correct remote by inspecting remote URLs:

bash
git remote -v

Look for a remote whose URL contains the user's GitHub username (not openvinotoolkit). Common setups:

Remote nameURL containsUse for push?
origin<username>/openvino.genaiYes — this is the fork
upstreamopenvinotoolkit/openvino.genaiNo — never push here
originopenvinotoolkit/openvino.genaiNo — find the fork remote

If no fork remote is found, ask the user which remote to use. Do not guess.

Step 6: Push the Branch
bash
git push <fork_remote> <branch_name>

If the push is rejected (e.g. branch exists on remote), ask the user how to proceed.

Step 7: Read the PR Template

Read the repository pull request template to get the latest structure:

.github/pull_request_template.md

Parse the template to identify all sections and checklist items. The PR description must follow this template exactly.

Step 8: Compose the PR Description

Fill in every section of the PR template:

  • Description: Summarize the change based on the conversation context and the diff. Include motivation and context.
  • Ticket/Issue: Fill in the ticket number if provided, otherwise remove the placeholder line.
  • Checklist: Evaluate each checklist item honestly:
  • Mark [x] only for items that are genuinely satisfied.
  • Mark [ ] for items not yet addressed, and add a brief note explaining why.

Do not fabricate information. If unsure whether tests cover the change, leave the test checkbox unchecked and note it.

Step 9: Create the Pull Request

Use the GitHub MCP tool to create the pull request as a draft:

  • Repository: openvinotoolkit/openvino.genai
  • Head branch: <fork_owner>:<branch_name> (cross-fork format, e.g. myuser:fix/kv-cache-leak)
  • Base branch: master
  • Title: <pr_title>
  • Body: The composed PR description from Step 8
  • Draft: true
Step 10: Report

After PR creation, report:

  • PR URL
  • Branch name
  • Files included in the commit
  • Any out-of-scope changes that were excluded

Security

  • NEVER force-push (--force, --force-with-lease).
  • NEVER commit secrets, tokens, API keys, or credentials.
  • NEVER mark a checklist item as done if it is not verified.
  • NEVER use git add . or git add -A without confirming all changes are in scope.
  • NEVER push to openvinotoolkit/openvino.genai directly. Always push to the user's fork.

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

Repository stars
598
Repository forks
462
7-day trend score
32

Stars and forks are for the whole GitHub repository, not this skill alone. 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/openvinotoolkit/openvino.genai/open-pr/badge)](https://verified-skill.com/skills/openvinotoolkit/openvino.genai/open-pr)

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