pr
Original:🇺🇸 English
Translated
Open a draft pull request on GitHub. MUST use when you want to create/open a PR.
5installs
Sourcewindmill-labs/windmill
Added on
NPX Install
npx skill4agent add windmill-labs/windmill prTags
Translated version includes tags in frontmatterSKILL.md Content
View Translation Comparison →Pull Request Skill
Create a draft pull request with a clear title and explicit description of changes.
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
PR Title Format
Follow conventional commit format for the PR title:
<type>: <description>Types
- : New feature or capability
feat - : Bug fix
fix - : Code restructuring
refactor - : Documentation changes
docs - : Maintenance tasks
chore - : Performance improvements
perf
Title Rules
- Keep under 70 characters
- Use lowercase, imperative mood
- No period at the end
PR Body Format
The body MUST be explicit about what changed. Structure:
markdown
## 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>
---
Generated with [Claude Code](https://claude.com/claude-code)Execution Steps
- Run to check for uncommitted changes
git status - Run to see all commits in this branch
git log main..HEAD --oneline - Run to see the full diff against main
git diff main...HEAD - Check if remote branch exists and is up to date:
bash
git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null || echo "no upstream" - Push to remote if needed:
git push -u origin HEAD - Create draft PR using gh CLI:
bash
gh pr create --draft --title "<type>: <description>" --body "$(cat <<'EOF' ## Summary <description> ## Changes - <change 1> - <change 2> ## Test plan - [ ] <test 1> - [ ] <test 2> --- Generated with [Claude Code](https://claude.com/claude-code) EOF )" - Return the PR URL to the user