bms:draft-pr
Installation
SKILL.md
Draft Pull Request
Create a draft pull request for the current branch with a well-written summary and completed PR template.
Instructions
1. Verify prerequisites
- Confirm the current branch is not
mainormaster. If it is, stop and tell the user they need to be on a feature branch. - Confirm there is at least one commit ahead of the base branch. Use
git log main..HEAD --oneline(trymasterifmaindoes not exist) to check. If there are no commits, stop and tell the user. - Identify the base branch (
mainormaster) for later use.
2. Gather context
Run the following commands to understand the changes: