bms:draft-pr
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:
More from benmatselby/dotfiles
git-log-summary
Provides a summary of the git log for the past period of time. Use when asked to provide a git log summary.
18bms:git-log-summary
Provides a summary of the git log for the past period of time. Use when asked to provide a git log summary.
2bms:poc
Creates a proof of concept implementation. Provides the smallest working solution to validate an idea, with no tests and minimal production concerns.
1bms:log-session
Log a one-line summary of the current OpenCode session to today's work diary under the Completed section
1bms:code-review
Performs a harsh but constructive code review of a file or set of files. Use when asked to review, critique, or give feedback on code quality.
1bms:proofread-blog
Proofreads a blog post for clarity, balance, and general quality. Use when asked to proofread, review, or critique a blog post or article.
1