Skip to content
Back to skills

Open Pr

ASecurity

Push the current branch and open a GitHub PR with a structured title and body.

  • 3 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 3, 2026
ai-agentsgogit

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add black141312/ada --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/black141312-open-pr/badge)](https://www.skillsdirectory.com/skills/black141312-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: Push the current branch and open a GitHub PR with a structured title and body.
category: git
---

# Open a PR

Requires `gh` authenticated (`gh auth status`) and a GitHub remote.

1. **Sanity-check.** `git status` should be clean — commit first if not. Confirm you're on a feature branch, not the repo's default branch. If on the default branch, create one: `git checkout -b <type>/<short-desc>`.
2. **Push.** `git push -u origin HEAD`.
3. **Summarize the change.** `git diff <base>...HEAD --stat` and the commit log since the base branch.
4. **Open the PR.** `gh pr create` with:
   - **Title** — a clear one-line summary (Conventional-Commits style is fine).
   - **Body** — three sections: **Summary** (what & why), **Changes** (bullets), **Test plan** (how it was verified).
5. **Return the PR URL** from `gh`.

## Rules

- Never merge as part of this — opening the PR is the end state.
- Confirm the base branch if there's any doubt; don't target the wrong one.
- Don't force-push over a shared branch.
- Keep the body honest: if something wasn't tested, say so in the test plan.

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.