Skip to content
Back to skills

Pr

ASecurity

Open a pull request with conventional title, structured description, and pre-flight checks.

  • 23 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added September 12, 2026
ai-agentsbashgit

Security analysis

A100/100

Scanned September 12, 2026

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

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
version: 1.0.0
description: Open a pull request with conventional title, structured description, and pre-flight checks.
triggers:
  - pr
  - pull request
  - open pr
allowed-tools:
  - Bash
  - Read
---

# PR Skill

Open a pull request for the current branch with proper conventions.

## Step 1 — Pre-flight checks

Run these in parallel and report results:
```
bun run lint
bun run typecheck
bun test
```

If any fail, show the errors and ask the user whether to proceed or fix first.

## Step 2 — Gather context

Run these to understand the branch:
- `git branch --show-current` — current branch name
- `git log main..HEAD --oneline` — commits on this branch
- `git diff main..HEAD --stat` — files changed

## Step 3 — Determine PR title

The PR title must be a conventional commit format: `<type>(<scope>): <description>`

Pick type and scope the same way as the `/commit` skill, but based on the overall branch intent (not individual commits).

## Step 4 — Write PR description

Use this structure:
```markdown
## Summary
- Bullet 1: what changed and why
- Bullet 2: key design decisions
- Bullet 3: anything reviewers should pay attention to

## Test plan
- [ ] Tests pass locally
- [ ] Specific scenario tested
```

## Step 5 — Check remote

Run `git remote -v` and `git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null` to check if the branch is pushed.

If not pushed, run `git push -u origin <branch>`.

## Step 6 — Create PR

```
gh pr create --title "<title>" --body "$(cat <<'EOF'
<body>
EOF
)"
```

Show the PR URL to the user when done.

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.