Abrir PR
Abre ou atualiza um Pull Request no GitHub para a branch atual usando o CLI `gh`, sempre como Draft, com título e corpo em português brasileiro vinculados a uma issue. Use sempre que o usuário pedir para "abrir PR", "criar pull request", "subir PR", "fazer PR dessa branch", "atualizar o PR" ou similar — mesmo que ele não diga explicitamente qual issue referenciar, pois a skill tenta detectar automaticamente. Não use para apenas commitar ou dar push (a skill nunca faz isso), nem para revisar/mergear PRs existentes.
Install
npx skills add vcampitelli/slides-agente-skills-de-verdade --skill abrir-prgit clone --depth 1 https://github.com/vcampitelli/slides-agente-skills-de-verdade.git /tmp/slides-agente-skills-de-verdade
mkdir -p ~/.claude/skills
cp -r /tmp/slides-agente-skills-de-verdade/demo/.claude/skills/abrir-pr ~/.claude/skills/abrir-prPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# Abrir PR
Cria ou atualiza um Pull Request no GitHub para a branch atual, via `gh` CLI. PR sempre em **Draft**, título e corpo em **pt-BR**, referenciando uma issue.
Esta skill NUNCA roda `git commit` ou `git push`. Se a branch não estiver publicada no remoto, pare e peça pro usuário dar push antes.
Input do usuário: $ARGUMENTS
## Fluxo
### 1. Descobrir branch atual e validar
```bash
git rev-parse --abbrev-ref HEAD
```
Se for `main`/`master` (ou a branch default do repo), avise o usuário que não dá pra abrir PR a partir da branch base e pare.
Confira se a branch tem upstream e está publicada:
```bash
git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null
```
Se não tiver upstream, ou se `git status -sb` / `git log @{u}..HEAD` mostrar commits locais não enviados, **pare e avise o usuário** para dar push primeiro — a skill não faz isso por ele.
### 2. Verificar se já existe PR aberto pra essa branch
```bash
gh pr view --json number,title,body,url,baseRefName,isDraft 2>/dev/null
```
Se retornar dado válido, é uma atualização (passo 10b). Se der erro/vazio, é criação nova (passo 10a).
### 3. Descobrir a branch base
```bash
gh repo view --json defaultBranchRef -q .defaultBranchRef.name
```
Use esse valor como `<base>` em todos os passos seguintes (e como `--base` no `gh pr create`), a menos que o usuário já tenha indicado outra base.
### 4. Descobrir a issue relacionada
Ordem de tentativa:Details
- Skill name
abrir-pr- Repository
- vcampitelli/slides-agente-skills-de-verdade
- Path
demo/.claude/skills/abrir-pr/SKILL.md- Repo updated
- 5 September 2026
FAQ
What does the Abrir PR skill do?
Abre ou atualiza um Pull Request no GitHub para a branch atual usando o CLI `gh`, sempre como Draft, com título e corpo em português brasileiro vinculados a uma issue. Use sempre que o usuário pedir para "abrir PR", "criar pull request", "subir PR", "fazer PR dessa branch", "atualizar o PR" ou similar — mesmo que ele não diga explicitamente qual issue referenciar, pois a skill tenta detectar automaticamente. Não use para apenas commitar ou dar push (a skill nunca faz isso), nem para revisar/mergear PRs existentes.
How do I install the Abrir PR skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add vcampitelli/slides-agente-skills-de-verdade --skill abrir-pr. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Abrir PR popular?
It lives in vcampitelli/slides-agente-skills-de-verdade, which has 9 GitHub stars and 0 forks.
Related skills
Navigating Github to Konflux Pipelines
9konflux-ci/agent-plugins
Use when GitHub PR or branch has failing checks and you need to find Konflux pipeline information (cluster, namespace, PipelineRun name). Teaches gh CLI commands to identify Konflux checks (filter out Prow/SonarCloud), extract PipelineRun URLs from builds and integration tests, and parse URLs for kubectl debugging.
Sentry Bugfix
23jpoehnelt/skills
Triage Sentry errors for one environment, trace a finding to current code, reproduce it locally, and deliver a focused fix PR. Use when sweeping an environment's errors, decomposing catch-all log or 5xx issues, or driving a supplied Sentry issue to a fix. Use sentry-perf for latency and gh-ci-triage for CI.
Changelog Newsletter
9tomique34/claude-skill-creator
Transform technical changelog entries into user-friendly newsletter content for email, blog posts, and release notes. Use when converting CHANGELOG.md files, git commit logs, or release notes into customer-facing communications.
Gh PR Feedback Loop
23jpoehnelt/skills
Publish a GitHub pull request and carry it through CI, review feedback, rebases, and merge readiness, merging only with explicit authorization. Use when opening or updating a PR, addressing review comments, monitoring checks, rebasing, or continuing a PR to a terminal state. For read-only review of new commits, use gh-pr-commit-review.
Carly Code Review
9carlymr/carlys-claude-skills
Comprehensive code review using 7 parallel specialized sub-agents (correctness, security, performance, simplicity, UX, codebase integration, documentation). Every finding needs a concrete failure scenario; Critical/Warning findings are then challenged by adversarial refuter agents before they reach the report. Repos can add their own reviewers via an `Extra reviewers:` list in CLAUDE.md. Use when reviewing code changes, pull requests, or local diffs. Supports local git diff (no arguments) or GitHub PR (pass PR number or URL as argument).
Gh PR Commit Review
23jpoehnelt/skills
Review new commits on open GitHub PRs against their actual base without stale or duplicate findings. Use for cutoff-based or scheduled review sweeps, stacked or rebased PRs, cleaning up review threads, or posting actionable inline findings. Read-only except comments and thread resolution.
Browse the most popular Claude skills, all git & code review skills, or write your own with the skills generator.