Create Pull Request

VerifiedSafe

Create a pull request with proper title, description, and test plan. Validates tests and type checks before creation.

Sby Skills Guide Bot
DevelopmentIntermediate
7/23/2026
Claude Code
#pull-request#github#git#code-review

Recommended for

Automated summary

Creates a structured pull request with title, description, and test plan, after automatically validating tests and type checks.

Strengths

  • Automatic validation of tests and type checks before PR creation
  • Complete and standardized PR structure (title, summary, changes, test plan)
  • Integrates project-specific compliance checklist directly

Limitations

  • Depends on the project's test and type-check configuration
  • Only works with GitHub (uses gh command)
  • Assumes the base branch is 'main'
When to use it

Use this skill when you need to create a pull request for a feature or fix branch.

When not to use it

Do not use it for repositories not hosted on GitHub or with highly customized PR workflows.

Security analysis

Safe
Quality score90/100

The skill uses only standard development tools (git, gh) for non-destructive operations (git log, git diff, git push, gh pr create). No risky commands or exfiltration; it's a typical PR creation workflow.

No concerns found

How this analysis is made

Examples

Create PR for current feature branch
Create a pull request for the current branch
Create PR with custom arguments
Create a pull request for my-branch with title 'Add user authentication'

name: pr description: Create a pull request with proper title, description, and test plan disable-model-invocation: true

Create a pull request for the current branch: $ARGUMENTS

Step 1 — Pre-PR Validation

Run the test and type-check commands (see project config). Both MUST pass. Never create a PR with failing tests or type errors.

Step 2 — Analyze Changes

git log main..HEAD --oneline
git diff main...HEAD --stat

Understand the full scope of changes since branching from main.

Step 3 — Generate PR Title

  • Under 70 characters
  • Use imperative mood: "Add...", "Fix...", "Update..."
  • Be specific about what changed

Step 4 — Generate PR Body

Use this structure:

## Summary
- Bullet point 1: what changed and why
- (1-3 bullets max)

## Changes
- List every file modified/created/deleted with brief reason

## Test Plan
- [ ] All existing tests pass
- [ ] Type checking passes
- [ ] New tests added for: <list new test coverage>
- [ ] Manual verification: <steps>

## Checklist
- [ ] Future annotations pattern followed (see stack concepts)
- [ ] Typed exceptions (no generic `Exception`)
- [ ] Typed schemas for all request/response shapes (see stack concepts)
- [ ] OpenAPI metadata on all new endpoints
- [ ] Project documentation updated (if new endpoints/config)
- [ ] Env example file updated (if new settings)

Step 5 — Push and Create PR

git push -u origin <branch-name>
gh pr create --title "<title>" --body "<body>"

Step 6 — Confirm

Output the PR URL so it can be reviewed.

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-pull-request-mrwak9r6/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-pull-request-mrwak9r6' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/create-pull-request-mrwak9r6/download' --output '.skill-downloads/create-pull-request-mrwak9r6/SKILL.md.part' && mv '.skill-downloads/create-pull-request-mrwak9r6/SKILL.md.part' '.skill-downloads/create-pull-request-mrwak9r6/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-pull-request-mrwak9r6/SKILL.md' && test -s '.skill-downloads/create-pull-request-mrwak9r6/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/pr' && cp -R '.skill-downloads/create-pull-request-mrwak9r6' '.claude/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-pull-request-mrwak9r6'

openskills read 'create-pull-request-mrwak9r6'

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-pull-request-mrwak9r6/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