Pull Request Automation

Pull Request Automation

Guides an AI agent to automate pull request workflows with templates, checklists, auto-merge rules, review assignment and title validation on GitHub and GitLab.

Skill files9 files

references/

scripts/

templates/

SKILL.md101 lines
1
---
2
name: pull-request-automation
3
description: >
4
Automate pull request workflows with templates, checklists, auto-merge rules,
5
and review assignments. Reduce manual overhead and improve consistency.
6
---
7
8
# Pull Request Automation
9
10
## Table of Contents
11
12
- [Overview](#overview)
13
- [When to Use](#when-to-use)
14
- [Quick Start](#quick-start)
15
- [Reference Guides](#reference-guides)
16
- [Best Practices](#best-practices)
17
18
## Overview
19
20
Implement pull request automation to streamline code review processes, enforce quality standards, and reduce manual overhead through templated workflows and intelligent assignment rules.
21
22
## When to Use
23
24
- Code review standardization
25
- Quality gate enforcement
26
- Contributor guidance
27
- Review assignment automation
28
- Merge automation
29
- PR labeling and organization
30
31
## Quick Start
32
33
Minimal working example:
34
35
```markdown
36
# .github/pull_request_template.md
37
38
## Description
39
40
Briefly describe the changes made in this PR.
41
42
## Type of Change
43
44
- [ ] Bug fix (non-breaking change that fixes an issue)
45
- [ ] New feature (non-breaking change that adds functionality)
46
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
47
- [ ] Documentation update
48
49
## Related Issues
50
51
Closes #(issue number)
52
53
## Changes Made
54
55
- Change 1
56
- Change 2
57
58
## Testing
59
60
- [ ] Unit tests added/updated
61
// ... (see reference guides for full implementation)
62
```
63
64
## Reference Guides
65
66
Detailed implementations in the `references/` directory:
67
68
| Guide | Contents |
69
|---|---|
70
| [GitHub Actions: Auto Review Assignment](references/github-actions-auto-review-assignment.md) | GitHub Actions: Auto Review Assignment |
71
| [GitHub Actions: Auto Merge on Approval](references/github-actions-auto-merge-on-approval.md) | GitHub Actions: Auto Merge on Approval |
72
| [GitLab Merge Request Automation](references/gitlab-merge-request-automation.md) | GitLab Merge Request Automation |
73
| [Bors: Merge Automation Configuration](references/bors-merge-automation-configuration.md) | Bors: Merge Automation Configuration, Conventional Commit Validation |
74
| [PR Title Validation Workflow](references/pr-title-validation-workflow.md) | PR Title Validation Workflow |
75
| [Code Coverage Requirement](references/code-coverage-requirement.md) | Code Coverage Requirement |
76
77
## Best Practices
78
79
### ✅ DO
80
81
- Use PR templates for consistency
82
- Require code reviews before merge
83
- Enforce CI/CD checks pass
84
- Auto-assign reviewers based on code ownership
85
- Label PRs for organization
86
- Validate commit messages
87
- Use squash commits for cleaner history
88
- Set minimum coverage requirements
89
- Provide detailed PR descriptions
90
91
### ❌ DON'T
92
93
- Approve without reviewing code
94
- Merge failing CI checks
95
- Use vague PR titles
96
- Skip automated checks
97
- Merge to protected branches without review
98
- Ignore code coverage drops
99
- Force push to shared branches
100
- Merge directly without PR
101

© AJ Geddes · MIT · source · posted by @OpenSourceBuffGuy on promptparty.com

@OpenSourceBuffGuy

I find openly licensed prompts and post them here.

0 followers · 14,621 prompts

More by @OpenSourceBuffGuy

See all
Sea turtle carrying floating film studio island prompt image

Sea turtle carrying floating film studio island

Draws a giant sea turtle carrying a floating island film studio through a starry sky, where fairies polish rough film strips into golden film.

image-prompt, nano-banana, 3d-render, cartoon, fantasy-world, creatures, animals, whimsical, dreamy, cinematic, dramatic-lighting, vibrant-colors, bokeh, miniature, widescreen, night-scene, illustration, concept-art, surreal, storytelling, clay-3d

Desert buggy escapes drones past industrial outpost prompt image

Desert buggy escapes drones past industrial outpost

Builds a 15-second desert chase video where a racer in an armored buggy escapes drones past an industrial outpost, using five reference images with set jobs.

video-prompt, hailuo, action, multi-shot, timed-beats, camera-movement, reference-image, character-consistency, negative-prompt, cinematic, sci-fi, cars, landscape, aerial-view, tracking-shot, photorealistic, sound-effects, structured-output, long-form, widescreen

Cozy Pixel Art Farm Island Village prompt image

Cozy Pixel Art Farm Island Village

Draws a cozy 16-bit pixel-art farming village across six small islands joined by bridges, with exact counts for buildings, animals and crops.

image-prompt, gpt-image, pixel-art, isometric, game-assets, concept-art, maps, worldbuilding, cozy, vibrant-colors, ocean, landscape, wide-shot, widescreen, game-development, video-games, structured-output, whimsical, summer, high-angle, aerial-view, animals, negative-prompt, cityscape

1 view

Reviews

Loading reviews…

Discussion

Loading comments…