What problem does it solve?
This Skill streamlines the process of creating draft Pull Requests by ensuring a consistent, validated template for the PR body, linking to relevant issues, and confirming branch readiness.
Core Features & Use Cases
- Automated PR Body Generation: Creates a PR body from a predefined template including summary, implementation plan, and validation checklists.
- Issue Linkage: Automatically links the PR to a specified issue using the
Fixes #<number> format.
- Pre-creation Validation: Validates the PR body locally before submission to catch formatting errors.
- Branch State Check: Ensures the current branch is not
main and has commits, pushing if necessary.
- Use Case: When you've finished a feature, use this skill to quickly create a well-formatted draft PR that includes a summary of your changes, a plan for implementation, and validation steps, all linked to the relevant task.
Quick Start
Use the pr-draft skill to create a draft pull request for the current branch, linking to issue number 123, with a summary of 'Implemented user authentication'.