Create Pr. Skip
/install create-pr-skip
Create Pull Request
Create a pull request with a well-structured description based on the branch changes.
Instructions
Gates (run in order)
Do not draft or run gh pr create until each step passes.
- Branch gate:
git branch --show-currentis not the default branch (main,master, or the repo’s documented default). Pass: branch name is printed and satisfies this. - Evidence gate: You have run the commands in Gather Context for the same
main..HEAD(ororigin/main..HEADif localmainis missing) range you will summarize. Pass: you can name at least one commit subject and one area of files changed without inventing details. - Template gate: The final PR title and body contain no unreplaced placeholders (
\x3C...>,TODO,TBD). Optional sections with no content are removed, not left as stubs. Pass: a quick scan finds no angle-bracket placeholders or filler tokens. - Create gate:
gh pr createexits successfully and prints a PR URL (or the PR number/URL fromghoutput). Pass: URL (or id) is recorded; if the command fails, do not claim the PR was created.
1. Gather Context
First, collect information about the changes:
# Get current branch and verify it's not main
git branch --show-current
# Get commit history for this branch
git log --oneline main..HEAD
# Get detailed commit messages for context
git log --format="### %s%n%n%b" main..HEAD
# Get file change statistics
git diff --stat main..HEAD
# Get the actual diff for understanding changes
git diff main..HEAD
2. Analyze the Changes
Based on the gathered information, determine:
- What changed: Categorize changes (features, fixes, refactors, docs, tests)
- Why it changed: Infer motivation from commit messages and code changes
- Impact: Breaking changes, new dependencies, migrations needed
- Testing: What tests were added/modified, how to verify manually
3. Check for Related Issues
Look for issue references:
- In commit messages (e.g., "fixes #123", "closes #456")
- In branch name (e.g.,
fix/issue-123-description) - In code comments or TODOs addressed
4. Generate PR Description
Create the PR using this template structure:
gh pr create --title "\x3Ctype>(\x3Cscope>): \x3Cdescription>" --body "$(cat \x3C\x3C'EOF'
## Summary
\x3C1-3 sentence overview of what this PR does and why>
## Changes
\x3CCategorized bullet list of changes>
### Added
- \x3Cnew features or capabilities>
### Changed
- \x3Cmodifications to existing functionality>
### Fixed
- \x3Cbug fixes>
### Removed
- \x3Cdeprecated or removed functionality>
## Motivation
\x3CWhy were these changes needed? What problem does this solve?>
## Testing
\x3CHow was this tested?>
- [ ] Unit tests added/updated
- [ ] Integration tests added/updated
- [ ] Manual testing performed
### Manual Testing Steps
\x3CIf applicable, steps to manually verify the changes>
## Breaking Changes
\x3CIf any, describe what breaks and migration path. Remove section if none.>
## Related Issues
\x3CLink to related issues. Remove section if none.>
- Closes #\x3Cissue_number>
- Related to #\x3Cissue_number>
## Checklist
- [ ] Code follows project style guidelines
- [ ] Self-review completed
- [ ] Tests pass locally
- [ ] Linting passes
- [ ] Documentation updated (if needed)
---
Generated with [Claude Code](https://claude.com/claude-code)
EOF
)"
5. Title Format
Use conventional commit format for the PR title:
feat(scope): add new featurefix(scope): correct bug behaviorrefactor(scope): restructure without behavior changedocs(scope): update documentationtest(scope): add or modify testschore(scope): maintenance tasks
6. Apply Labels
After creating the PR, apply appropriate labels based on the changes. Use gh pr edit \x3Cnumber> --add-label \x3Clabel>.
Check the repository's available labels first:
gh label list
Common Type Labels
| Label | When to Use |
|---|---|
enhancement |
New features, capabilities, or improvements |
bug |
Bug fixes |
documentation |
Documentation-only changes |
breaking-change |
User-facing breaking changes requiring migration |
Breaking Change Criteria
Only apply breaking-change for user-facing changes that require users to modify their:
- Configuration files
- CLI invocations
- API integrations
Do NOT apply for internal refactors unless they affect external consumers.
7. After Creation
After creating the PR:
- Display the PR URL with applied labels
- Suggest adding reviewers if appropriate
- Note if any CI checks need to pass
Guidelines
DO:
- Be specific about what changed and why
- Include testing evidence
- Link related issues
- Note breaking changes prominently
- Remove empty optional sections
DON'T:
- Include irrelevant commits (keep PR focused)
- Leave placeholder text in the description
- Skip the testing section
- Create PRs without running local checks first
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install create-pr-skip - After installation, invoke the skill by name or use
/create-pr-skip - Provide required inputs per the skill's parameter spec and get structured output
What is Create Pr. Skip?
create a pull request with standardized description template. It is an AI Agent Skill for Claude Code / OpenClaw, with 87 downloads so far.
How do I install Create Pr. Skip?
Run "/install create-pr-skip" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Create Pr. Skip free?
Yes, Create Pr. Skip is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Create Pr. Skip support?
Create Pr. Skip is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Create Pr. Skip?
It is built and maintained by Kevin Anderson (@anderskev); the current version is v1.0.1.