Pull Request Enhancement
When to Use
- You need to turn a git diff into a reviewer-friendly pull request description.
- You want a PR summary with change categories, risks, testing notes, and a checklist.
- The diff is large enough that reviewers need explicit structure instead of a short ad hoc summary.
Workflow
- Run
git diff <base>...HEAD --stat to identify changed files and scope
- Categorise changes: source, test, config, docs, build, styles
- Generate the PR description using the template below
- Add a review checklist based on which file categories changed
- Flag breaking changes, security-sensitive files, or large diffs (>500 lines)
PR Description Template
## Summary
<!-- one-paragraph executive summary: what changed and why -->
## Changes
| Category | Files | Key change |
|----------|-------|------------|
| source | `src/auth.ts` | added OAuth2 PKCE flow |
| test | `tests/auth.test.ts` | covers token refresh edge case |
| config | `.env.example` | new `OAUTH_CLIENT_ID` var |
## Why
<!-- link to issue/ticket + one sentence on motivation -->
## Testing
- [ ] unit tests pass (`npm test`)
- [ ] manual smoke test on staging
- [ ] no coverage regression
## Risks & Rollback
- **Breaking?** yes / no
- **Rollback**: revert this commit; no migration needed
- **Risk level**: low / medium / high — because ___
Review Checklist Rules
Add checklist sections only when the matching file category appears in the diff:
| File category |
Checklist items |
| source |
no debug statements, functions <50 lines, descriptive names, error handling |
| test |
meaningful assertions, edge cases, no flaky tests, AAA pattern |
| config |
no hardcoded secrets, env vars documented, backwards compatible |
| docs |
accurate, examples included, changelog updated |
security-sensitive (auth, crypto, token, password in path) |
input validation, no secrets in logs, authz correct |
Splitting Large PRs
When diff exceeds 20 files or 1000 lines, suggest splitting by feature area:
git checkout -b feature/part-1
git cherry-pick <commits-for-part-1>
Resources
resources/implementation-playbook.md — Python helpers for automated PR analysis, coverage reports, and risk scoring
Limitations
- Use this skill only when the task clearly matches the scope described above.
- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
1---2name: "comprehensive-review-pr-enhance"3description: "Execute comprehensive-review-pr-enhance tasks, workflows, and automated procedures. Use when working with comprehensive review pr enhance."4source: "community_canonical"5risk: "unknown"6license: "not_declared_upstream"7metadata:8 source: https://skillmd.com/skills/revrebel/comprehensive-review-pr-enhance9---1011# Pull Request Enhancement1213## When to Use14- You need to turn a git diff into a reviewer-friendly pull request description.15- You want a PR summary with change categories, risks, testing notes, and a checklist.16- The diff is large enough that reviewers need explicit structure instead of a short ad hoc summary.1718## Workflow19201. Run `git diff <base>...HEAD --stat` to identify changed files and scope212. Categorise changes: source, test, config, docs, build, styles223. Generate the PR description using the template below234. Add a review checklist based on which file categories changed245. Flag breaking changes, security-sensitive files, or large diffs (>500 lines)2526## PR Description Template2728```markdown29## Summary30<!-- one-paragraph executive summary: what changed and why -->3132## Changes33| Category | Files | Key change |34|----------|-------|------------|35| source | `src/auth.ts` | added OAuth2 PKCE flow |36| test | `tests/auth.test.ts` | covers token refresh edge case |37| config | `.env.example` | new `OAUTH_CLIENT_ID` var |3839## Why40<!-- link to issue/ticket + one sentence on motivation -->4142## Testing43- [ ] unit tests pass (`npm test`)44- [ ] manual smoke test on staging45- [ ] no coverage regression4647## Risks & Rollback48- **Breaking?** yes / no49- **Rollback**: revert this commit; no migration needed50- **Risk level**: low / medium / high — because ___51```5253## Review Checklist Rules5455Add checklist sections only when the matching file category appears in the diff:5657| File category | Checklist items |58|---------------|----------------|59| source | no debug statements, functions <50 lines, descriptive names, error handling |60| test | meaningful assertions, edge cases, no flaky tests, AAA pattern |61| config | no hardcoded secrets, env vars documented, backwards compatible |62| docs | accurate, examples included, changelog updated |63| security-sensitive (`auth`, `crypto`, `token`, `password` in path) | input validation, no secrets in logs, authz correct |6465## Splitting Large PRs6667When diff exceeds 20 files or 1000 lines, suggest splitting by feature area:6869```70git checkout -b feature/part-171git cherry-pick <commits-for-part-1>72```7374## Resources7576- `resources/implementation-playbook.md` — Python helpers for automated PR analysis, coverage reports, and risk scoring7778## Limitations79- Use this skill only when the task clearly matches the scope described above.80- Do not treat the output as a substitute for environment-specific validation, testing, or expert review.81- Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.