pr
What it does
This skill opens a draft pull request on GitHub with a clear title and a description of the changes, then follows the review rounds until it is ready. It is for developers sharing code for review.
When to use it
- βWhen you want to open a pull request for your branch on GitHub.
- βWhen you want a pull request title and description that list what changed.
- βWhen your pull request needs review rounds before it is ready to merge.
Skill link
https://github.com/windmill-labs/windmill/blob/main/.agents/skills/pr/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agentβs skills folder.
Example of what to ask your AI
βOpen a draft pull request for my branch with a summary of the changes and a test plan.β
5 new skills a week. 1 minute to read.
How it works
The skill checks the commits since main, pushes the branch, opens a draft, and then runs review rounds until every verdict is a go.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Pull Request Skill
Create a draft pull request with a clear title and explicit description of changes, then drive it through CI review rounds to ready.
Instructions
- Analyze branch changes: Understand all commits since diverging from main
- Push to remote: Ensure all commits are pushed
- Create draft PR: Always open as draft for review before merging
- Drive review rounds: trigger CI reviews on the draft and only flip to ready once every verdict is a go (see "Review rounds" below)
PR Title Format
Follow conventional commit format for the PR title:
<type>: <description>
Types
feat: New feature or capabilityfix: Bug fixrefactor: Code restructuringdocs: Documentation changeschore: Maintenance tasksperf: Performance improvements
Title Rules
- Keep under 70 characters
- Use lowercase, imperative mood
- No period at the end
- If
*_ee.rsfiles were modified, prefix with[ee]:[ee] <type>: <description>
PR Body Format
The body MUST be explicit about what changed. Structure:
## Summary
<Clear description of what this PR does and why>
## Changes
- <Specific change 1>
- <Specific change 2>
- <Specific change 3>
## Test plan
- [ ] <How to verify change 1>
- [ ] <How to verify change 2>
The harness/tooling that invoked the skill may add its own attribution trailer; the skill itself does not prescribe one.
Screenshots (required for frontend changes)
If git diff main...HEAD --name-only matches ^frontend/, the PR body must include
screenshots of the affected UI. Skip only when there is no visible UI effect (types,
tests, build config) β and say so in the body.
Verify the change in the browser (frontend/AGENTS.md β "Verifying Frontend Changes").
Screenshot each affected page with
mcp__playwright__browser_take_screenshot(save to a file).Host each image and get its Markdown embed by pushing to the public
windmill-labs/agent-screenshots-internalrepo. Pipe base64 through stdin β passing it as-f content=β¦fails withargument list too longon real images:REPO=windmill-labs/agent-screenshots-internal IMG=screenshot.png # repeat per page DEST="shots/$(git branch --show-current)/$(date +%s)-$(basename "$IMG")" base64 -w0 "$IMG" | jq -Rs --arg m "add $DEST" '{message:$m, content:.}' \ | gh api -X PUT "repos/$REPO/contents/$DEST" --input - >/dev/null echo ""Derive
$DESTfrom the file name (as above) so distinct pages never collide β a fixed name would make same-second uploads reuse one path, and the secondPUTthen 422s (the Contents API needs the existing file'sshato overwrite).Put the printed
lines under a## Screenshotsheading in the PR body.
Requires gh (repo scope), jq, base64 β all in the devShell. The host repo is
public (so the raw URLs render for reviewers without a token) and its history is
permanent β never screenshot pages that show secrets or sensitive values (workspace
variables, resource values, instance settings, OAuth/SMTP config); deleting the file
can't undo an accidental capture. (GitHub's drag-and-drop uploader needs a browser
session and can't be driven from a token.)
If gh can't push to the host repo (e.g. a CI token scoped only to windmill), do
not fail the PR or skip silently β hand the upload to the user, who has push access,
and continue once they confirm it's done.
Execution Steps
Run
git statusto check for uncommitted changesRun
git log main..HEAD --onelineto see all commits in this branchRun
git diff main...HEADto see the full diff against mainReview the diff before creating the PR β run both reviews, do not skip:
local-reviewβ Claude-native branch-diff-reviewer (/local-reviewin Claude Code,$local-reviewin Codex,pi --skill local-review//skill:local-reviewin Pi).local-review-codexβ cold Codex pass, the same review CI runs, for an independent perspective the Claude pass misses (/local-review-codexin Claude Code, orbash .agents/skills/local-review-codex/run.sh). If thecodexCLI is missing or older than the version pinned in that skill, note it in your summary and continue β never block the PR on codex being unavailable.
Run both β they catch different things. If eithe
FAQ
Why does it open a draft first?
A draft lets reviewers look at the work before the pull request is marked ready to merge.
What goes in the description?
A summary, a list of the changes and a test plan with checkboxes.
When does the pull request become ready?
Only after every review verdict is a go.
Details
Original description by the author
Open a draft pull request on GitHub and drive CI review rounds until it is ready. MUST use when you want to create/open a PR.
repo: windmill-labs/windmill
Popularity
- GitHub stars
- 18k
- Ranking position
- #10626
- License
- β
- Updated
- 11/2/2026
Comments
- β¦
More skills from this repository
commit
18kHelps your agent write a clean one-line git commit message in conventional format, staging only the files that changed.
agents
18kHelps your agent build a reusable Windmill AI agent with its own model, system prompt, tools and memory.
cli-commands
18kHelps your agent run the Windmill command line tool to manage scripts, flows, apps and job history.
datatables
18kHelps your agent change a Windmill data table safely, using versioned migrations, undo steps and correct permissions.
Similar skills
diffs
394kLets your agent produce a real, shareable diff of edits as a viewer link or image file, instead of a hand-written summary.
coding-agent
394kHelps your agent hand a larger coding job to Codex, Claude Code, or OpenCode as a background worker, then check on its progress.
gh-issues
394kHelps your agent find GitHub issues, pick the ones to work on, and open pull requests with fixes, including follow-up on review comments.