pr-review · datawithbaraa — скилл для Claude Code: что делает и как установить
Скилл pr-review для Claude Code проверяет файл, diff или ветку перед слиянием. Он проходит по стандартам проекта и собирает замечания в HTML-отчёт.
MIT ★ 106 обновлён 2026-11-06
/plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills
/plugin install data-engineering@data-with-baraaЧто делает pr-review
Скилл проверяет одно изменение по фиксированному порядку: область правок, безопасность, корректность данных, тесты, контракты, переносимость, дублирование, архитектуру, производительность, документацию и стиль. Для каждого замечания он указывает риск, файл и строку, правило проекта и предлагаемое исправление.
Результат — одна HTML-страница с вердиктом «одобрить» или «нужны изменения»; сначала идут замечания с высоким риском. Если автор отклоняет замечание, оно остаётся в отчёте вместе с причиной. Скилл читает изменение, стандарты, тесты и контракты данных, но не редактирует код, не отправляет изменения и не выполняет слияние.
Какие задачи решает
- найти секреты и ошибки доступа в изменении
- сверить типы и результаты вычислений с контрактами данных
- проверить тесты и покрытие крайних случаев
- выявить абсолютные пути и дублирование кода
- собрать замечания и вердикт в HTML-отчёт
Примеры запросов агенту
- Проверь ветку
feature/new-modelперед слиянием и собери отчёт. - Разбери текущий diff по стандартам проекта.
- Проведи ревью файла
models/orders.sqlи перечисли замечания с исправлениями.
Как установить pr-review
1Через маркетплейс плагинов
/plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills/plugin install data-engineering@data-with-baraaКоманда ставит плагин data-engineering целиком, со всеми его скиллами
2Через Skills CLI (Vercel)
npx skills add DataWithBaraa/claude-code-data-engineering-skills --skill pr-review -a claude-code3Вручную: положить файлы
~/.claude/skills/pr-review/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/pr-review/
1Через Skills CLI (Vercel)
npx skills add DataWithBaraa/claude-code-data-engineering-skills --skill pr-review -a codex2Вручную: положить файлы
.agents/skills/pr-review/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add DataWithBaraa/claude-code-data-engineering-skills --skill pr-review -a cursor2Вручную: положить файлы
.cursor/skills/pr-review/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install DataWithBaraa/claude-code-data-engineering-skills skills/pr-review2Вручную: положить файлы
.github/skills/pr-review/SKILL.md1Через Skills CLI (Vercel)
npx skills add DataWithBaraa/claude-code-data-engineering-skills --skill pr-review -a gemini-cli2Командой платформы
gemini skills install https://github.com/DataWithBaraa/claude-code-data-engineering-skills --path skills/pr-reviewВручную: положить файлы
.devin/skills/pr-review/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Claude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о pr-review
Как установить pr-review в Claude Code?
Выполни /plugin marketplace add DataWithBaraa/claude-code-data-engineering-skills и затем /plugin install data-engineering@data-with-baraa.
Что делает pr-review?
Он проверяет файл, текущий diff или ветку по стандартам проекта и выдаёт HTML-отчёт с вердиктом, рисками и предлагаемыми исправлениями.
Меняет ли pr-review код или сливает ветку?
Нет. Скилл формирует отчёт и не редактирует изменение, не отправляет его и не выполняет слияние.
Исходный текст
SKILL.md · MIT
--- name: pr-review description: Use before a pull request or another change goes in, on a file, the current diff or a branch, to review it pass by pass against the project's own standards, with pushback. argument-hint: "[branch, diff or file]" --- # Pull request review The job: review one change in fixed passes, in this order, and report every finding with its fix. It never edits. Input: a file, the current diff, or a branch before its merge. ## Steps 1. Scope the change: the files, the lines and the purpose of the change. 2. Security: secrets in the code, access rights, personal data that reaches the consumers. 3. Correctness: data types, money, the numbers the change produces, and the same result on a rerun or a backfill. 4. Tests: the change comes with tests, they cover the edge cases, and they pass. 5. Contract: the grain, the columns and the types against the data contracts of the consumers. 6. Portability: absolute paths and anything else that only runs on one machine. 7. Duplication: code that already exists in the project. 8. Architecture and performance: how it connects to the warehouse, what it loads into memory, what it scans. 9. Documentation: the runbook and the data contract for anything new. 10. Style: the project's code style. 11. For every finding: the risk, the file and line, the rule from the standards, and the suggested change. 12. The verdict: approve, or changes requested. Give the result as one web page. ## Pushback A finding the author declines stays in the report as declined, with the reason given. It is never dropped and never quietly downgraded. ## Output One HTML file, like [references/pr-review.html](references/pr-review.html): the change and its verdict on top, then every finding with the code, the rule and the suggested change, high risk first. Read it for the layout before you write the page. ## Reads - the change, the standards, the tests, the data contracts of the consumers ## Writes - the web page only ## Never - Never edits the change, never pushes, never merges.
© Data With Baraa · MIT · DataWithBaraa/claude-code-data-engineering-skills
Похожие скиллы
Все скиллы по теме «Код-ревью и рефакторинг» →Сначала — pr-review от других авторов.