What problem does it solve?
This Skill automates the process of creating well-formatted GitHub pull requests, ensuring adherence to project conventions and best practices, thereby reducing manual effort and potential errors.
Core Features & Use Cases
- Automated Context Gathering: Analyzes commits, branches, and diffs to gather necessary information for PR creation.
- Prerequisite Checks: Verifies
gh CLI installation, GitHub authentication, and a clean working directory.
- Guidance on Best Practices: Advises on commit hygiene, branch management (rebasing, squashing), and pushing changes.
- Template Adherence: Strictly follows the
.github/pull_request_template.md for PR body formatting.
- Error Handling: Addresses common issues like no commits, unpushed branches, existing PRs, and merge conflicts.
- Use Case: When you've finished a feature on a new branch and want to submit it for review, this skill will guide you through checking your work, gathering details, and creating a clean, well-described pull request using the
gh CLI.
Quick Start
Use the create-pull-request skill to open a pull request for your current branch.