Skip to content
Back to skills

Pull Request Prep

ASecurity

Prepares a review-ready pull request by checking scope, diff quality, tests, documentation, and risk, then drafting an evidence-based title and description. Use before opening or updating a PR.

  • 3 stars
  • 0 votes
  • 0 copies
  • 5 views
  • Added October 23, 2026
ai-agentsgoapisecuritydocumentation

Works with

  • api

Security analysis

A100/100

Scanned October 23, 2026

npx -y skills add OpenSelfHosting/skills --skill pull-request-prep --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Pull Request Prep?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Pull Request Prep
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/openselfhosting-pull-request-prep/badge)](https://www.skillsdirectory.com/skills/openselfhosting-pull-request-prep)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: pull-request-prep
description: "Prepares a review-ready pull request by checking scope, diff quality, tests, documentation, and risk, then drafting an evidence-based title and description. Use before opening or updating a PR."
license: MIT
metadata:
  author: OpenSelfHosting
  version: "1.0.0"
---

# Pull Request Preparation

## Goal
Make a change easy to review, test, and merge without hiding uncertainty or making unsupported claims.

## Workflow
1. Read repository contribution instructions, PR template, and applicable branch/release conventions.
2. Inspect the working tree, staged and unstaged changes, and intended base. Preserve user changes and include only changes in scope.
3. Summarize the purpose in one sentence. Group implementation changes into logical units and check for generated files, debug output, secrets, unrelated formatting, temporary artifacts, and accidental binary changes.
4. Verify behavior and appropriate quality checks. Run commands selected from the repository docs. Record actual results; do not infer that checks pass because they are configured in CI.
5. Confirm test coverage for the behavior, error cases, backward compatibility, migration, and security implications as relevant.
6. Update docs, changelog, screenshots, API/schema references, or migration notes where the project expects them.
7. Check whether the change alters deployment behavior, environment variables, permissions, data storage, external services, or public contracts. State rollout and rollback notes where needed.
8. Draft a concise title in the project's style and a description that covers context, solution, alternatives/tradeoffs if important, tests, and risks.
9. Add explicit unresolved questions and mark checks not run with reasons. Do not invent issue numbers, approvals, links, benchmark data, or CI outcomes.
10. If tools can open/create a PR, do so only when the user requested that action and the base/head/repository are unambiguous. Otherwise provide the draft only.

## Suggested PR description
- **Why:** problem and user impact.
- **What changed:** key implementation decisions.
- **Validation:** commands run and actual results.
- **Risk / rollout:** compatibility, migration, flags, deployment, or rollback notes.
- **Follow-up:** known limitation or deferred work, if any.

## Final checklist
The diff is scoped, tests exercise behavior, docs match implementation, secrets are absent, breaking changes are disclosed, and the description does not overclaim.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.