Skip to content
Back to skills

Push And Pr

ASecurity

Push the current branch, open or update its pull request, and merge it when asked. Triggers: "push-and-pr", "/push-and-pr", "push and pr", "create pr", "сделай пр", "запушь"

  • 11 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added September 6, 2026
ai-agentsgit

Security analysis

A100/100

Scanned September 22, 2026

npx -y skills add DefaultPerson/agent-setup --skill push-and-pr --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Push And Pr?

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

Security grade badge for Push And Pr
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/defaultperson-push-and-pr-agent-setup/badge)](https://www.skillsdirectory.com/skills/defaultperson-push-and-pr-agent-setup)

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: push-and-pr
description: >
  Push the current branch, open or update its pull request, and merge it when asked.
  Triggers: "push-and-pr", "/push-and-pr", "push and pr", "create pr", "сделай пр", "запушь"
---

- Use `gh`. The base is the repository's default branch (`gh repo view --json defaultBranchRef`), never an assumed `main`.
- Rebase onto the base before pushing to keep history linear. Force-push only your own feature branch, and only with `--force-with-lease`.
- If the branch already has a PR, push to it instead of opening another one.
- PR title in Conventional Commit format, ≤72 chars; body sections: What, Why, How to test, Risks.
- Wait for checks only when the repository has them, and fix failures before merging.
- Merge only when the user asked for it: rebase-merge, delete the branch locally and on the remote, then update the local default branch with `git pull --rebase` — rebase-merge rewrites commit SHAs.
- On the default branch there is nothing to open a PR from: push directly only if the user asked to.

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.