Skip to content
Back to skills

Pr

ASecurity

Push the branch and open a pull request with template body, labels, and assignee

  • 8 stars
  • 0 votes
  • 0 copies
  • 6 views
  • Added September 12, 2026
ai-agentsbashrefactoringgitdocumentation

Security analysis

A100/100

Scanned September 12, 2026

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

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
---
description: Push the branch and open a pull request with template body, labels, and assignee
argument-hint: "[issue-number]"
allowed-tools: "Read, Bash(git *), Bash(gh *)"
---

# Create Pull Request

## Context

!`git branch --show-current`
!`git log main..HEAD --oneline`
!`git diff main..HEAD --stat`

## Instructions

1. **Never open a PR from `main`.** If the current branch is `main`, create a branch first and move the commits onto it.

2. **Push**:
   ```bash
   git push -u origin HEAD
   ```

3. **Title** — conventional commit style, under 70 chars: `<type>(<scope>): <description>`. Derive the type from the branch prefix (`feat/` → feat, `fix/` → fix, `ref/` → ref). If `$ARGUMENTS` holds an issue number, read its title for context:
   ```bash
   gh issue view <number> --json title -q '.title'
   ```

4. **Read `.github/PULL_REQUEST_TEMPLATE.md`** and reuse its **exact headers** — do not hardcode them here.

5. **Create**:
   ```bash
   gh pr create --title "<title>" --assignee Chemaclass --label "<label>" --body "$(cat <<'EOF'
   <exact headers from the template, filled in>

   Closes #<issue-number>
   EOF
   )"
   ```

   **Label** — pick the single most relevant:

   | Label | When |
   |---|---|
   | `bug` | branch starts with `fix/` |
   | `enhancement` | branch starts with `feat/` |
   | `documentation` | docs only |
   | `refactoring` | restructuring, no behavior change |
   | `dependencies` | dependency bumps |

   **Body**: what changed and why, not how. Under 15 lines. Use `Closes #<n>` so merging closes the issue.

6. **Report the PR URL.**

## Note on emoji

The PR template headers carry emoji and should keep them. GitHub squash-merges copy the **title** verbatim into history — keep emoji out of the title.

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.