Skip to content
Back to skills

Create Pr

ASecurity

> Create a pull request with summary, test plan, and proper labeling.

  • 229 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added June 6, 2026
code-qualitybashgit

Security analysis

A100/100

Scanned June 6, 2026

npx -y skills add Miosa-osa/canopy --skill create-pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Create Pr?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Create Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/miosa-osa-create-pr/badge)](https://www.skillsdirectory.com/skills/miosa-osa-create-pr)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# /create-pr

> Create a pull request with summary, test plan, and proper labeling.

## Usage
```
/create-pr [--base <branch>] [--draft] [--title "title"]
```

## What It Does
Analyzes all commits on the current branch vs the base branch, generates a PR title and description, pushes the branch, and creates the PR using `gh`. Includes a summary of changes, test plan, and links to related issues.

## Implementation
1. **Analyze changes** -- `git log` and `git diff` against base branch.
2. **Generate PR title** -- concise (<70 chars), focused on the "what".
3. **Generate PR body** -- summary bullets, test plan checklist, related issues.
4. **Push branch** -- `git push -u origin <branch>`.
5. **Create PR** -- `gh pr create` with title, body, labels, reviewers.
6. **Return URL** -- display the PR link.

## Examples
```bash
# Create PR against main
/create-pr

# Create draft PR against specific base
/create-pr --base develop --draft

# Create PR with explicit title
/create-pr --title "Add user authentication flow"
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.