prepare-pr
Installation
SKILL.md
Prepare Pull Request
Prepare all work before creating a pull request. If an issue number is provided in $ARGUMENTS, use it. If no issue is provided, continue without requiring one.
Workflow
Follow these steps:
-
Check current git status and branch information
- Run
git statusandgit branchto understand the current state
- Run
-
Create branch if needed
- If no branch name is provided and we are on the main branch, create a branch based on the code changes
- If working on a worktree, create a branch based on the worktree branch, don't change the name
- Otherwise, work on the current branch
-
Review commit history and code differences
- Run
git logandgit diff main...HEADto understand all changes from the main branch
- Run