Skip to content
Back to skills

Open Pr

ASecurity

Create a PR to provided base branch using the pull request template. Use when opening a new PR.

  • 12 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 6, 2026
ai-agentsgobashgit

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add Casper-Studios/casper-marketplace --skill open-pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Open Pr?

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

Security grade badge for Open Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/casper-studios-open-pr/badge)](https://www.skillsdirectory.com/skills/casper-studios-open-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
---
name: open-pr
description: Create a PR to provided base branch using the pull request template. Use when opening a new PR.
user-invocable: true
argument-hint: "[base-branch]"
arguments: [base]
---

Summarize the latest changes in this branch to create a pull request on GitHub.

<workflow-steps>

1. Compare the current branch against the base branch to see what changes need to be described in the pull request. Use the `$base` argument if provided, otherwise the repository's default branch (`origin/HEAD`):
   ```bash
   git log "${base:-origin/HEAD}"..HEAD --oneline
   git diff "${base:-origin/HEAD}"...HEAD
   ```
Make sure to only focus on the finalized implementation details. Since pull requests tend to have work-in-progress commits at the beginning, you should be extra mindful on whether these are still relevant in the finalized snapshot.
2. Use the [pull request template](assets/pull-request-template.md) to generate a `.agents/scratchpad/PR.md`.
3. Pause here and prompt the user to check the `.agents/scratchpad/PR.md` before proceeding.
4. Once edited and approved by the user, fill in the missing details in the following script and then run it. With no `$base`, `gh` targets the repository's default branch:
   ```bash
   gh pr create ${base:+--base "$base"} \
     --head "$(git rev-parse --abbrev-ref HEAD)" \
     --title '[TICKET-123] category: short title' \
     --body-file .agents/scratchpad/PR.md
   ```
5. Delete `.agents/scratchpad/PR.md` once successfully submitted.

</workflow-steps>

Files in this skill

  • SKILL.md1.5 KB
  • assets/pull-request-template.md1.3 KB

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.