What problem does it solve?
This Skill simplifies and standardizes the process of creating pull requests, ensuring all necessary checks are performed and best practices are followed, thereby reducing merge conflicts and improving code review efficiency.
Core Features & Use Cases
- Automated PR Creation: Leverages the
gh CLI for creating pull requests with various options (interactive, title/body, fill from template, specific base branch).
- Conflict Resolution Guidance: Provides steps to fetch and merge the latest base branch locally, resolve conflicts, and push the resolution before creating the PR.
- Best Practices Enforcement: Guides users on using
--fill, referencing issues, using --web for complex PRs, and avoiding --squash in favor of merging with gh pr merge.
- Use Case: A developer finishes a feature branch and wants to create a pull request for review. They can use this Skill to ensure their branch is up-to-date with the main branch, resolve any conflicts, and then create a well-formatted PR.
Quick Start
Use the gh CLI to create a pull request with an interactive prompt.