Skip to content
Back to skills

Create Pr

ASecurity

Create a GitHub pull request. Use when the user asks to open, create, or submit a PR, when work is ready for review, or whenever gh pr create would otherwise be run.

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 10, 2026
code-qualitybashgit

Security analysis

A100/100

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

Scanned September 22, 2026

npx -y skills add staticaland/skills --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/staticaland-create-pr/badge)](https://www.skillsdirectory.com/skills/staticaland-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
---
name: create-pr
description: >
  Create a GitHub pull request. Use when the user asks to open, create, or
  submit a PR, when work is ready for review, or whenever gh pr create would
  otherwise be run.
---

# create-pr

Open a PR whose description lets a reviewer judge the change without having
been in the session.

## Steps

1. Run `<skill-dir>/scripts/pr.py prepare`, where `<skill-dir>` is this
   skill's base directory. It pushes the branch, prints the template to fill,
   and prints the `BODY FILE:` path it created for this run.
2. Fill every template section from the whole session, not the diff alone: the
   original request, the decisions made and their tradeoffs, and what was
   tested and how. Follow the writing instructions in the template's comments,
   and leave the comments in place - the submit step removes them.
3. Read the `BODY FILE:` path `prepare` printed with the Read tool - the file
   is an empty placeholder, and the Write tool refuses a file it has not read.
   Then write the filled template to that exact path - never a path of your
   own choosing, which risks reusing a stale body from an earlier session.
   Then run:

   ```bash
   <skill-dir>/scripts/pr.py submit "<title>" <body-file>
   ```

The submit command strips the comments, adds the AI-assistance notice below
the body, and creates the PR through `gh`; the guard hook blocks a
bare `gh pr create`.

Files in this skill

  • SKILL.md1.3 KB
  • references/pr-template.md1.1 KB
  • scripts/pr.py2.4 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.