Loading...
Loading...
Write a branch's PR body that tells a reviewer how much attention it needs, with a visual summary, harvested evidence and a fresh-context one-way or two-way door call, then put it and an attention label on the branch's PR. Use when a branch is ready for review, when the user says "write the PR body", "update the PR description", "how risky is this PR", or "is this ready to merge", and when another skill closes a branch.
npx skill4agent add dan86de/skills pr-briefattention:<base>..HEADgh pr view --json number,url,body,headRefOid,labels,stateHEADghgit log --reverse --format='%h %s%n%n%b' <base>..HEADspec/glossary.mdGLOSSARY.mdCONTEXT.mdpull_request_template.md.github/docs/## One-way doors.agents/coding-standards.mdCODING_STANDARDS.mdCONTRIBUTING.mdOpen:Deviations:[question]Awaiting sign-off:Slice-Pending: <id>Slice: <id>Sign offfile:lineHEADdiffEvidence: none| Level | Any of these |
|---|---|
| one-way door; a |
| two-way with wide blast radius; any other |
| none of the above |
[judgement]## Attention
**<read | spot-check | skim>**
- <reason> - <file:line, rule, finding, or sign-off item>
Read first:
- <file:line> - <why>
## Summary
<one sentence, then the visual>
## Evidence
**Before:** <...>
**After:** <...>
## Merge Danger
**Door:** <one-way | two-way> - <why>
**Blast radius:** <localized | wide> - <what it reaches>
**One-way rules checked:** <rule names>; matched: <rule - file:line, or none>
**Graded by:** <fresh context | self-graded>
<the template's remaining headings>
<details>
<summary>Build log</summary>
<everything else>
</details>Read firstskim- two-way, localized, with evidencetoo big to summarise in one screenspot-checkgh pr edit <number> --body-file <tmpfile>attention: <level>attention:attention: readattention: spot-checkattention: skim