pr · yeachan-heo — скилл для Claude Code: что делает и как установить
Скилл pr для Claude Code собирает описание пулл-реквеста по следам работы агента в сессии. Формирует готовую сводку с доказательствами проверок и оценкой отката изменений.
MIT 161 установок ★ 40 997 обновлён 2026-10-24
npx skills add Yeachan-Heo/oh-my-claudecode --skill pr -a claude-codeЧто делает pr
Собирает текст описания пулл-реквеста из артефактов сессии, не добавляя непроверенных утверждений. В тело PR попадает короткое резюме с одной наглядной схемой вроде псевдокода, дерева компонентов или диаграммы Mermaid, а также пара с результатами тестов до и после правок.
Данные проверок берутся строго из протокола верификации сборки, тестов или линтеров; скилл не запускает тесты заново. Термины подтягиваются из файла GLOSSARY.md (или CONTEXT.md). Если для отката правок нужен сложный сценарий, скилл требует указать причину по тесту ADR и отметить радиус поражения одной строкой.
Какие задачи решает
- составить описание пулл-реквеста по артефактам сессии
- подобрать компактную схему под тип изменений в коде
- зафиксировать статус проверок до и после правок
- оценить сложность отката и радиус поражения PR
Примеры запросов агенту
- Сделай описание для пулл-реквеста по результатам тестов и диффу
- Подготовь PR body для ветки с новым компонентом
- Оформи тело PR с оценкой обратимости изменений
Как установить pr
1Через Skills CLI (Vercel)
npx skills add Yeachan-Heo/oh-my-claudecode --skill pr -a claude-code2Вручную: положить файлы
~/.claude/skills/pr/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/pr/
1Через Skills CLI (Vercel)
npx skills add Yeachan-Heo/oh-my-claudecode --skill pr -a codex2Вручную: положить файлы
.agents/skills/pr/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add Yeachan-Heo/oh-my-claudecode --skill pr -a cursor2Вручную: положить файлы
.cursor/skills/pr/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install Yeachan-Heo/oh-my-claudecode skills/pr2Вручную: положить файлы
.github/skills/pr/SKILL.md1Через Skills CLI (Vercel)
npx skills add Yeachan-Heo/oh-my-claudecode --skill pr -a gemini-cli2Командой платформы
gemini skills install https://github.com/Yeachan-Heo/oh-my-claudecode --path skills/prВручную: положить файлы
.devin/skills/pr/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add Yeachan-Heo/oh-my-claudecode --skill pr -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о pr
Как установить pr в Claude Code?
Для установки выполните npx skills add Yeachan-Heo/oh-my-claudecode --skill pr -a claude-code. Файл навыка сохранится в ~/.claude/skills/pr/SKILL.md.
Что делает pr?
Формирует готовый текст для описания пулл-реквеста на основе протоколов сборки, тестов и диффа сессии. Включает компактную схему, доказательства проверок и оценку отката.
Что нужно для работы pr?
Нужны результаты прогона протокола верификации сессии и глоссарий проекта в GLOSSARY.md или CONTEXT.md для сохранения единой терминологии.
Исходный текст
SKILL.md · MIT
---
name: pr
description: Draft a PR body from OMC's paper trail — the smallest visual that proves the change, evidence consumed from the verify protocol (never re-collected), reversibility from the ADR test on the diff, glossary language throughout.
metadata:
credits:
summary-visuals: show-me
author: Dex Horthy
organisation: Humanlayer
url: "https://github.com/humanlayer/skills/blob/main/plugins/show-me/skills/show-me/SKILL.md"
merge-danger: mattpocock/skills
merge-danger-url: "https://github.com/mattpocock/skills"
---
# PR Body
When work lands behind a review, the PR body is the one artifact a reviewer outside the session reads. Everything it needs already exists in the paper trail — this skill assembles it and adds nothing that was not already established. The summary-visual discipline is inspired by show-me (credited in the frontmatter).
## Template
```markdown
## Summary
<one-line claim, then the smallest visual that proves it>
## Evidence
- **Before:** <output / failing check>
**After:** <output / passing check>
## Reversibility
<Rollback: cheap via <mechanism> | expensive because <reason>>
<Blast radius: one line>
```
## Sections
### Summary
State the change in one sentence, then show the smallest view that makes the point. Match the visual to the change:
- logic or an algorithm → pseudocode
- runtime control flow → a call tree
- UI structure → a component tree
- file responsibility or a broad refactor → a shallow file tree
- component interaction or data flow → a Mermaid diagram
- the delta itself → a diff shaped like the change (component, layout, call tree, or state machine)
Show the whole block only when most of it is new, omitted context would hide ownership, or the reviewer needs a copyable target shape. One visual usually suffices; never all forms.
### Evidence
Consume the verify protocol's output — BUILD, TEST, LINT, FUNCTIONALITY evidence, freshness rule inherited. Present before/after pairs: the exact check that failed before and passes after, quoted from the output itself. When the change is visual, prefer a captured screenshot; `qa-tester` can drive the runtime for one. Never re-collect evidence here and never claim evidence the verify pass did not produce.
### Reversibility
Run the ADR test on the diff itself — the same three questions launch applies to decisions: hard to reverse? surprising without context? the result of a real trade-off? A no on all three is a cheap rollback: say by what mechanism (revert the merge, toggle the flag). Any yes means an expensive rollback: say why. Classify the door first: a two-way door (undo is cheap and ordinary) needs no ceremony beyond naming the undo; a one-way door says so explicitly and names what makes the step irreversible. Link the ADR when the change implements or touches one. Close with the blast radius in one line — what else this change can move.
### Language
Terms come from `GLOSSARY.md` where a glossary exists (legacy yards not yet migrated keep it in `CONTEXT.md`). The PR is read outside the session; the glossary is the only vocabulary the reader shares with it.
## Triggers
- launch Phase 5, when the platform reviews through PRs: the completion report carries a PR body drafted by this skill.
- Any session that opens or materially updates a PR.
## Output
- The PR body, ready to paste
- The paper-trail pointers it relies on (verify evidence, ADRs, spec)
© Yeachan-Heo · MIT · Yeachan-Heo/oh-my-claudecode
Похожие скиллы
Все скиллы по теме «Git и GitHub» →Сначала — pr от других авторов.