Pr ready

From OnlyTerp/windsurf-unlocked · View interactive version

Pr ready is an AI agent skill from the GitHub repository OnlyTerp/windsurf-unlocked. Turn a feature branch into a clean, reviewable PR. Squash WIP commits, polish messages, verify green checks, draft PR description. Invoke right before opening a PR.

How to use this skill

Skill file

PR Ready

Take a feature branch from "it works on my machine" to "ready for human review."

Preflight Checks

Before anything else, run these — in parallel where possible. Block on any failure:

<FILL IN from AGENTS.md>  # lint
<FILL IN from AGENTS.md>  # typecheck
<FILL IN from AGENTS.md>  # test
<FILL IN from AGENTS.md>  # build

Paste tail of each into a scratch note — you'll put it in the PR body.

Commit Surgery

  1. git log --oneline origin/<base>..HEAD — read all commits on the branch.
  2. If you see WIP / fixup / "address comments" / typo-fix commits, squash them into logical units.
  3. Rewrite unclear messages using Conventional Commits:
  1. Split unrelated changes into separate commits (same branch is fine — separate commits help review).
  2. git rebase -i origin/<base> — do the cleanup. Force-push with --force-with-lease.

PR Description

Fetch the template:

git_pr fetch_template   # if using Devin tools

Otherwise follow .github/PULL_REQUEST_TEMPLATE.md.

Fill each section:

Close with the passed checks:

✅ lint    — 0 errors, 0 warnings
✅ types   — 0 errors
✅ tests   — 142 passed, coverage 84.3%
✅ build   — succeeded, bundle 2.1 MB

(Yes, the check emojis are fine here — this is PR formatting, not prose.)

Labels & Reviewers

If It's a Breaking Change

Add BREAKING CHANGE: section to the PR description with:

Never

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.