npx claudepluginhub automata-network/claude-plugins --plugin git-workflowCreate or update a draft pull request for the user's work. **Don't allow PRs from main/master branches.** 1. Check for uncommitted changes - if any, suggest using /push-work first 2. Determine the main branch (main or master) to use as the base 3. Make sure branch is pushed and synced with the main branch 4. Check if PR already exists: `gh pr list --head <branch> --state all` - Parse the output to determine PR state (open/merged/closed) 5. Analyze all commits from the main branch to generate a good PR description 6. Create or update PR based on step 4: - **If no PR exists:** Create ...
/draft-prCreate a Draft Pull Request from the current branch using GitHub CLI.
Create or update a draft pull request for the user's work.
Don't allow PRs from main/master branches.
gh pr list --head <branch> --state all
gh pr create --base <main-branch> --draft --title "..." --body "..."gh pr edit <number> --title "..." --body "..."Use heredoc for PR body to handle markdown properly.
PR description should include: