Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Prepare Pr?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/arpan404-prepare-pr)
---
name: prepare-pr
description: Get this thread's work ready for a pull request and open or update it.
---
# Prepare a pull request
1. Call `context` with `topics: ["changes", "prs", "notes"]`.
- `changes` gives the branch, ahead/behind and changed files.
- `prs` shows whether this work already has a PR, and its CI state. Update that PR rather than opening a second one.
2. Check the work: run the project's checks the way its notes say, and review the diff (see the review-changes skill). Fix what fails before opening the PR.
3. Commit with a clear message, push the branch, and open the PR with your own tools (for example `gh pr create`). The description says what changed, why, and how it was verified.
4. Right away, link it with `thread_link_pr` and its number (or URL); `gh pr create` alone does not link it.
5. Report the PR link and anything still open, such as CI that is pending.