pr-brief

Installation
SKILL.md

Review every one-way door; skim two-way doors with a localized blast radius. Touch only the PR's body and attention: labels; never push, open, merge, mark ready, or run checks.

1. Pin the branch

Arguments: optional base ref (default: merge-base with the default branch), then optional spec path. Stop if <base>..HEAD is empty or unresolvable. Describe commits only.

Run gh pr view --json number,url,body,headRefOid,labels,state. If the open PR's head is not HEAD, stop: the branch needs pushing. With no open PR, gh or remote, print the body instead of applying it. When the system prompt names a run-feature PR file, run no gh: read the PR from that file, and skip the head check, since the runner pushes HEAD before it applies the file.

2. Gather

Read the diff, git log --reverse --format='%h %s%n%n%b' <base>..HEAD, the body, the spec (argument, else one the body or a commit names), spec/glossary.md (else root GLOSSARY.md or CONTEXT.md), and pull_request_template.md (.github/, docs/ or root, any case). One-way rules: references/one-way-doors.md plus any ## One-way doors section in .agents/coding-standards.md, CODING_STANDARDS.md or CONTRIBUTING.md.

Installs
13
Repository
dan86de/skills
First Seen
Oct 22, 2026