Skip to content
Back to skills

Pr

ASecurity

Writes and opens or updates a high-quality pull request from the branch diff: plain summary, visual change shape, verification proof, and merge risk. Use when opening, rewriting, or tightening a PR description.

  • 442 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added November 27, 2026
developmentgitapidatabase

Works with

  • terminal
  • api

Security analysis

A100/100

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

Scanned November 27, 2026

npx -y skills add owainlewis/blueprint --skill pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pr?

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

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

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
description: "Writes and opens or updates a high-quality pull request from the branch diff: plain summary, visual change shape, verification proof, and merge risk. Use when opening, rewriting, or tightening a PR description."
user-invocable: true
argument-hint: "[branch, base, issue, or PR]"
disable-model-invocation: true
---

# Pull request

Write a pull request a reviewer can understand in under a minute. Write in plain, simplified technical English.

## Steps

1. Inspect `git diff <base>...HEAD`, the branch commits, and the linked spec or ticket. Never write a PR description from memory.
2. Check the diff for stray debug logs, unintended files, or out-of-scope edits. Flag or clean them before opening.
3. Write the PR title and body using the repository's PR template, or the template below if it has none.
4. Link any completed issue (`Closes #...`, Linear ID, or Jira key).
5. If the change includes UI that benefits from visual proof, capture screenshots (do not commit temporary image files) and attach them with `gh pr create --attach` or `gh pr edit --attach` (for example `--attach './shot.png#Alt text'`, or reference `![alt](./shot.png)` in the body so `gh` rewrites the path to the uploaded asset).
6. Push the branch and open or update the PR, unless the user only asked for the text. Open as a draft if local checks have not passed yet; otherwise open or mark it ready for review. Never merge.

## Template

```markdown
## What
<!-- 1–2 sentences: the change a user or caller notices. -->

## Why
<!-- 1 sentence: the problem. Link the spec or ticket. -->

## What changed
<!-- At most 5 bullets, grouped by behavior, not by file.
For multi-part or architectural changes, include one small visual
(Mermaid diagram, call/component tree, or before/after table) showing the shape of the change. -->

## Where to look closely
<!-- Optional: 1–2 trickiest files, tradeoffs, or assumptions for the reviewer. Omit if obvious. -->

## Verification
<!-- Exact commands run and results. Screenshots or terminal output for anything visible.
Independent review verdict and CI state.
Not verified: <what you could not check, or None>. -->

## Risk
<!-- Low, Medium, or High, then one line on blast radius and reversibility
(two-way door / cheap rollback vs. one-way door / migration or contract change).
High: database schema or migration, API or event contract, auth, payments, deleting data.
Medium: shared code with many callers, configuration, dependencies.
Low: one screen, one endpoint's internals, docs, tests. -->
```

## Rules

- Lead with the user-visible outcome, not a file-by-file tour.
- State only checks you actually ran. List anything skipped under `Not verified`.
- Keep the title under 72 characters and outcome-focused.
- Delete placeholder comments before posting.

## Return

The PR URL (or drafted title and body), linked issues, risk level, and anything unverified.

Files in this skill

  • SKILL.md2.8 KB
  • agents/openai.yaml43 B

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.

View all in development →

Comments

Loading comments…

Newsletter

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