Skip to content
Back to skills

Pr Create

ASecurity

Creates a pull request from the current branch with a generated title and description

  • 10 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added June 1, 2026
ai-agentsbashtestinggit

Security analysis

A100/100

Scanned June 1, 2026

npx -y skills add berkcangumusisik/claude-code-practices --skill pr-create --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pr Create?

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

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

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
---
name: pr-create
description: Creates a pull request from the current branch with a generated title and description
argument-hint: [base-branch]
user-invocable: true
allowed-tools: Bash(git *) Bash(gh *)
effort: low
---

## Create Pull Request

1. Gather context:
```bash
git branch --show-current
git log main..HEAD --oneline --no-merges 2>/dev/null || git log master..HEAD --oneline --no-merges
git diff main..HEAD --stat 2>/dev/null || git diff master..HEAD --stat
```

2. Generate PR title and body from the commits and diff.

Title format: `type: short description` (Conventional Commits style, max 72 chars)

Body template:
```markdown
## Summary
- 

## Changes
- 

## Testing
- [ ] Tests added/updated
- [ ] Manually tested

## Related Issues
Closes #
```

3. Show the draft to the user and ask for confirmation or edits.

4. On confirmation:
```bash
gh pr create --title "..." --body "..." --base "${1:-main}"
```

Base branch defaults to main (or $1 if provided).

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…