pull-request-automation — скилл для Claude Code
Скилл pull-request-automation для Claude Code, Codex и Cursor задаёт шаблон PR, чек-листы, правила назначения ревьюеров и авто-мёржа. Упорядочивает ревью в команде.
MIT 1 установок ★ 386 обновлён 2026-03-04
npx skills add aj-geddes/useful-ai-prompts --skill pull-request-automation -a claude-codeЧто делает pull-request-automation
Скилл наводит порядок в pull request'ах: даёт шаблон описания с чек-листами по типу изменений и тестам, правила выбора ревьюеров и условия авто-мёржа. Отдельно закрывает валидацию заголовка PR, сообщений коммитов и минимального покрытия кода.
Внутри один SKILL.md: короткий стартовый шаблон для .github/pull_request_template.md и список практик. Полные реализации лежат в references/ — два workflow для GitHub Actions, конфиг GitLab, настройка Bors с проверкой conventional commit, валидация заголовка и требование по покрытию.
Готовые конфиги есть для GitHub Actions, GitLab и Bors, под другой CI логику придётся переносить самому. Авто-мёрдж включайте только вместе с обязательным прохождением проверок: мёрдж с падающим CI в списке практик скилла прямо назван ошибкой.
Какие задачи решает
- собрать единый шаблон описания PR для всей команды
- назначать ревьюеров автоматически по владению кодом
- включить авто-мёрдж после апрува и зелёного CI
- проверять заголовки PR и сообщения коммитов на формат
- задать минимальный порог покрытия кода
Примеры запросов агенту
- Настрой авто-мёрдж в GitHub Actions: мержить после апрува, если все проверки прошли.
- Сделай шаблон
.github/pull_request_template.mdс чек-листом типов изменений и тестов. - Добавь workflow, который валидирует заголовок PR по conventional commit.
Как установить pull-request-automation
1Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill pull-request-automation -a claude-code2Вручную: положить файлы
~/.claude/skills/pull-request-automation/SKILL.mdПапка скилла целиком; для одного проекта — .claude/skills/pull-request-automation/
1Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill pull-request-automation -a codex2Вручную: положить файлы
.agents/skills/pull-request-automation/SKILL.mdДля всех проектов — ~/.agents/skills/
1Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill pull-request-automation -a cursor2Вручную: положить файлы
.cursor/skills/pull-request-automation/SKILL.mdCursor читает и .agents/skills/, и .claude/skills/
1GitHub CLI
gh skill install aj-geddes/useful-ai-prompts skills/pull-request-automation2Вручную: положить файлы
.github/skills/pull-request-automation/SKILL.md1Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill pull-request-automation -a gemini-cli2Командой платформы
gemini skills install https://github.com/aj-geddes/useful-ai-prompts --path skills/pull-request-automationВручную: положить файлы
.devin/skills/pull-request-automation/SKILL.mdСтарый путь .windsurf/skills/ тоже читается
Через Skills CLI (Vercel)
npx skills add aj-geddes/useful-ai-prompts --skill pull-request-automation -a opencodeClaude.ai
Упакуйте папку в zip и загрузите в Settings → Capabilities → Skills
По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов
Вопросы о pull-request-automation
Как установить pull-request-automation в Claude Code?
Выполните npx skills add aj-geddes/useful-ai-prompts --skill pull-request-automation -a claude-code. Скилл окажется в ~/.claude/skills/pull-request-automation/SKILL.md.
Что делает pull-request-automation?
Собирает шаблон PR с чек-листами, правила назначения ревьюеров и авто-мёржа. Дополнительно даёт гайды по валидации заголовка PR, сообщений коммитов и покрытия кода.
С какими CI работает скилл?
Готовые конфиги есть для GitHub Actions, GitLab и Bors. Под другой CI логику придётся адаптировать самостоятельно.
Исходный текст
SKILL.md · MIT
--- name: pull-request-automation description: > Automate pull request workflows with templates, checklists, auto-merge rules, and review assignments. Reduce manual overhead and improve consistency. --- # Pull Request Automation ## Table of Contents - [Overview](#overview) - [When to Use](#when-to-use) - [Quick Start](#quick-start) - [Reference Guides](#reference-guides) - [Best Practices](#best-practices) ## Overview Implement pull request automation to streamline code review processes, enforce quality standards, and reduce manual overhead through templated workflows and intelligent assignment rules. ## When to Use - Code review standardization - Quality gate enforcement - Contributor guidance - Review assignment automation - Merge automation - PR labeling and organization ## Quick Start Minimal working example: ```markdown # .github/pull_request_template.md ## Description Briefly describe the changes made in this PR. ## Type of Change - [ ] Bug fix (non-breaking change that fixes an issue) - [ ] New feature (non-breaking change that adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] Documentation update ## Related Issues Closes #(issue number) ## Changes Made - Change 1 - Change 2 ## Testing - [ ] Unit tests added/updated // ... (see reference guides for full implementation) ``` ## Reference Guides Detailed implementations in the `references/` directory: | Guide | Contents | |---|---| | [GitHub Actions: Auto Review Assignment](references/github-actions-auto-review-assignment.md) | GitHub Actions: Auto Review Assignment | | [GitHub Actions: Auto Merge on Approval](references/github-actions-auto-merge-on-approval.md) | GitHub Actions: Auto Merge on Approval | | [GitLab Merge Request Automation](references/gitlab-merge-request-automation.md) | GitLab Merge Request Automation | | [Bors: Merge Automation Configuration](references/bors-merge-automation-configuration.md) | Bors: Merge Automation Configuration, Conventional Commit Validation | | [PR Title Validation Workflow](references/pr-title-validation-workflow.md) | PR Title Validation Workflow | | [Code Coverage Requirement](references/code-coverage-requirement.md) | Code Coverage Requirement | ## Best Practices ### ✅ DO - Use PR templates for consistency - Require code reviews before merge - Enforce CI/CD checks pass - Auto-assign reviewers based on code ownership - Label PRs for organization - Validate commit messages - Use squash commits for cleaner history - Set minimum coverage requirements - Provide detailed PR descriptions ### ❌ DON'T - Approve without reviewing code - Merge failing CI checks - Use vague PR titles - Skip automated checks - Merge to protected branches without review - Ignore code coverage drops - Force push to shared branches - Merge directly without PR
© aj-geddes · MIT · aj-geddes/useful-ai-prompts