Pr open for review

From phatblat/dotfiles · View interactive version

Pr open for review is an AI agent skill from the GitHub repository phatblat/dotfiles. Mark the current branch's draft PR as ready for review

How to use this skill

Skill file

pr-open-for-review

Use this skill when the user asks to run the migrated command pr-open-for-review or invokes $pr-open-for-review.

Command Template

Open PR for Review

Take the current branch's PR out of draft mode and mark it ready for review.

Instructions

1. Find the PR

gh pr view --json number,url,title,isDraft \
  --jq '"\(.number)|\(.isDraft)|\(.title)|\(.url)"'

If no PR exists for the current branch, stop and report: "No open PR found for branch $(git branch --show-current)."

2. Check Draft State

3. Mark Ready

gh pr ready <number>

4. Report Result

✅ PR #<number> is now ready for review
<pr_url>

Notes

To reverse — convert a ready PR back to draft — run gh pr ready <number> --undo.

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.