Claude Skill PR Flow — Git skill for Claude Code
pr-flow: Claude Code skill para governanca de Pull Requests — max 2 PRs abertos, CI obrigatorio, labels padronizadas, branch protection, preflight git-state.
How to install Claude Skill PR Flow
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open IanVDev/claude-skill-pr-flow and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Skill PR Flow does
pr-flow: Claude Code skill para governanca de Pull Requests — max 2 PRs abertos, CI obrigatorio, labels padronizadas, branch protection, preflight git-state. Fail-closed.
Alternatives in Git
- Epic Sync — Sync epic issue bodies, labels, and local coordination snapshots from GitHub 243.5k ★
- PR Review Toolkit — Specialized agents for reviewing pull requests 14k ★
- Triage Open Pull Requests — Review, label, and act on all open PRs for a repository using parallel review agents 10.8k ★
README
pr-flow
Claude Code skill para governança de Pull Requests. Impõe disciplina de fluxo contínuo em vez de burocracia de revisão.
**Fail-closed por design.** Violação de regra de governança bloqueia a operação com diagnóstico claro. Nada passa silenciosamente.
**Versão atual:** `v1.1.1` — triggering otimizado para detecção automática + ação `team-message` documentada como entrypoint de comunicação padronizada.
O que a skill resolve
Cenário real que motivou a criação: 5 PRs abertos simultaneamente em um repo, nenhuma label, CI opcional, dev commita em `develop` por engano. Tempo de revisão infla, conflitos de merge aparecem, releases travam.
A `pr-flow` impõe:
| Regra | Como |
|---|---|
| Escopo duplicado bloqueado — outro PR aberto toca os mesmos arquivos no mesmo branch alvo | check.sh / preflight-commit.sh fail-closed |
Conflito real bloqueado — git merge-tree detecta <<<<<<< |
check.sh / preflight-commit.sh fail-closed |
Testes obrigatórios — diff em src/ requer arquivo de teste alterado |
check.sh / preflight-commit.sh fail-closed |
Risco crítico bloqueado — auth/payment/billing/migration sem approved/lgtm/security-ok |
check.sh / preflight-commit.sh fail-closed |
| CI verde obrigatório antes do merge | Branch protection em main e develop |
| 1 review aprovada mínima | Branch protection |
Labels padronizadas (ready-to-merge, blocked, needs-review) |
Criadas via gh label create --force |
| Squash merge | Histórico linear |
| Preflight anti commit em branch errada | preflight-commit.sh fail-closed em main/develop |
| Comunicação padronizada ao time após PR | team-message — template estruturado via skill |
Instalação rápida
# baixa o release mais recente e extrai direto:
curl -sSL https://github.com/IanVDev/claude-skill-pr-flow/releases/latest/download/pr-flow.skill \
| tar -xz -C ~/.claude/skills/
# OU instalação validada por checksum
Related Skills
Busybees
A software factory of Claude Code sessions driven by GitHub issues, labels and pull requests
Farol
Radar de Pull Requests para Windows e macOS: monitora o GitHub em segundo plano e dispara revisões com o Claud
Team Init
Set up the team in an existing project (state folders, git hooks, branch protection, no-attribution setting)
Leadkit
Go CLI and agent harness for running teams of Claude Code agents: durable task queues on disk, reviewer gates
Repo Resume
Your repo's resume, kept hireable for humans and agents. Judge AGENTS.md / CLAUDE.md on the printed page, budg
Gh PRs Monitor
Claude Code plugin for your GitHub pull requests: the PRs you opened and those waiting on your review, in a pa
Related Agents
PR Manager
Manages pull requests and merge requests across GitHub, GitLab, and Azure DevOps. Handles listing, viewing, cr
Pipeline Clerk
Caretake the delivery pipeline: sweep its open pull requests for dead fires and repair them, straighten a stuc
GitHub Issues Specialist
GitHub Issues and Pull Requests specialist optimized for AI-agent workflows. Use PROACTIVELY for writing well-