Create Draft Pull Request (Vision-Agents)

VerifiedSafe

Create a draft PR for Vision-Agents repo using gh CLI, with pre-checks, changelog updates, and correct formatting.

Sby Skills Guide Bot
DevelopmentIntermediate
8/15/2026
Claude CodeCursorCodex
#git#github#pull-request#gh-cli#changelog

Recommended for

Automated summary

Creates a draft pull request for the Vision-Agents repository using the gh CLI, applying the repo's pre-flight checks and PR template.

Strengths

  • Inspects the branch history (git log main..HEAD) and stops to ask about splitting when it finds multiple independent logical changes
  • Runs the repo check (uv run --no-sync dev.py check) only when the diff touches Python code or pyproject.toml
  • Enforces a structured PR body: motivation under ## Why, inline issue links, and no pasted CI or lint output
  • Reminds the author to update CHANGELOG.md for user-facing changes and forbids manual paragraph hard-wrapping to avoid broken GitHub rendering

Limitations

  • Tightly coupled to the Vision-Agents repo: paths, commands, and PR template are project-specific
  • Covers only PR creation, not review, merge, or recovering from failing CI
  • Assumes the branch is already pushed and gh is authenticated, without verifying either
When to use it

Use it when a Vision-Agents branch is ready and you need to open a draft pull request that follows the repository's conventions.

When not to use it

Avoid it on other repositories, or when editing an existing PR, re-running CI, or merging a branch.

Security analysis

Safe
Quality score85/100

The skill instructs standard development workflow commands (git log, uv run dev.py check, gh pr create --draft, pushing branch). These are legitimate, non-destructive, and do not exfiltrate data or disable safety. Running the project's own dev check is normal. No destructive, obfuscated, or network-exfiltrating actions are present.

No concerns found

How this analysis is made

Examples

Draft PR for current branch
Create a draft pull request for my current branch in the Vision-Agents repo.
PR after pushing a feature
Push this branch and open a draft PR describing the new streaming API, linking the related issue.
Check before opening
Review my branch's commits against main and tell me whether it should be split before I open a draft PR.

name: pr description: Create a draft pull request for the Vision-Agents repo using gh CLI.

Pull Request (Vision-Agents)

Before creating

  • Run git log main..HEAD --oneline. If the branch contains more than one independent logical change, STOP and ask the user whether to split it before proceeding.
  • Run uv run --no-sync dev.py check. Skip if the diff does not touch Python code (*.py) or pyproject.toml — e.g. docs-only, .gitignore, .github/, or .claude/ changes.
  • Do not run integration tests locally, CI handles them.
  • If the change is user-facing (public API break, new feature, bug fix), update CHANGELOG.md per the rules in CLAUDE.md.

Creating

  • Always gh pr create --draft. Push the branch first.
  • Follow .github/pull_request_template.md. Read every commit on the branch, do not summarise from the latest commit alone.
  • ## Why is motivation + context. ## Changes, if included, is high-level; never per-bullet justifications, those belong in ## Why.
  • Link public GitHub issues inline within ## Why (e.g. "users reported X (#478)"), not as a trailing Fixes #N.
  • Do not paste CI, lint, or tool output in the body.
  • Do not hard-wrap paragraphs. GitHub renders each newline inside a paragraph as a visible line break, so a 72-column-wrapped paragraph becomes a staircase. Write each paragraph or bullet as one unbroken line; rely on the browser to soft-wrap. Only use newlines to separate paragraphs, list items, or block elements.

From the file to a first result

The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.

View the source and supporting files

This download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.

1. Download the file

Download SKILL.md

From the root of a test project, save the file as .skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.

Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.

mkdir -p '.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-draft-pull-request-vision-agents-mstwiz9j/download' --output '.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j/SKILL.md.part' && mv '.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j/SKILL.md.part' '.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j/SKILL.md'

2. Check prerequisites

Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.

No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.

The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.

3. Load the skill

After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.

Claude Code
test -f '.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j/SKILL.md' && test -s '.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/pr' && cp -R '.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j' '.claude/skills/pr'

Cursor
test -f '.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j/SKILL.md' && test -s '.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j/SKILL.md' && mkdir -p '.cursor/skills' && test ! -e '.cursor/skills/pr' && cp -R '.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j' '.cursor/skills/pr'

Codex
test -f '.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j/SKILL.md' && test -s '.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j/SKILL.md' && mkdir -p '.agents/skills' && test ! -e '.agents/skills/pr' && cp -R '.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j' '.agents/skills/pr'

OpenSkills

OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.

Official OpenSkills installation
openskills install './.skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j'

openskills read 'create-draft-pull-request-vision-agents-mstwiz9j'

Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.

For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.

openskills sync

Manual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.

4. Try a first task

Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:

Read .skill-downloads/create-draft-pull-request-vision-agents-mstwiz9j/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.

Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.

Related skills