Skip to content
Back to skills

Pr

ASecurity

Open a pull request from the current worktree — verify green, commit scoped, push, and write the PR from the actual diff. Trigger on "/pr", "open a PR", "make a pull request".

  • 15 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 3, 2026
ai-agentsgit

Security analysis

A100/100

Scanned September 3, 2026

npx -y skills add ra3orblade/swarm --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/ra3orblade-swarm/badge)](https://www.skillsdirectory.com/skills/ra3orblade-swarm)

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: Open a pull request from the current worktree — verify green, commit scoped, push, and write the PR from the actual diff. Trigger on "/pr", "open a PR", "make a pull request".
---

# PR

Get finished, verified work onto a branch and into a PR. This is the last mile — if the work is a plan task, run `/chores` first (it calls this).

## Steps
1. **Confirm green** (quick if `/chores` just ran): `bun run typecheck && bun run test`.
2. **Branch** — if on `main`/detached, create `feat/<short-slug>` first. Feature work never commits to `main` directly.
3. **Commit scoped** — `git add <explicit paths>` (never `-A` in a shared checkout), one focused commit. Message: what changed + how verified; end with:
   ```
   Co-Authored-By: Claude <noreply@anthropic.com>
   ```
4. **Push** — `git push -u origin <branch>` (add `--force-with-lease` only after a rebase).
5. **Open the PR** from the real diff:
   ```sh
   gh pr create --title "<concise>" --body "<what/why + verification + test count>"
   ```
   Body: a sentence on what it does, the key implementation notes, and the verification line (`typecheck · lint · test (N pass) · smoke · docs`). Keep one PR to a coherent batch of related tasks.
6. Print the PR URL.

Do **not** merge. Rate discipline: few, substantial PRs; push rarely and deliberately.

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 ai-agents →

Comments

Loading comments…

Newsletter

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