From git-workflow-haiku
Commit, push, and open a PR using Haiku sub-agent
How this command is triggered — by the user, by Claude, or both
Slash command
/git-workflow-haiku:commit-push-prThe summary Claude sees in its command listing — used to decide when to auto-load this command
## /commit-push-pr Complete workflow: create branch → commit changes → push to remote → create pull request. ### Usage ### What it does 1. Checks current branch 2. Creates a new branch if on main/master 3. Creates a commit with generated message 4. Pushes the branch to remote 5. Creates a pull request via `gh pr create` 6. Returns the PR URL ### Instructions When the user invokes `/commit-push-pr`: 1. Use the Task tool to invoke the `git-workflow-haiku:pr-creator` agent: - subagent_type: `git-workflow-haiku:pr-creator` - description: `Create PR workflow` - prompt: `Commit ...
Complete workflow: create branch → commit changes → push to remote → create pull request.
/commit-push-pr
gh pr createWhen the user invokes /commit-push-pr:
Use the Task tool to invoke the git-workflow-haiku:pr-creator agent:
git-workflow-haiku:pr-creatorCreate PR workflowCommit changes, push to remote, and create a pull requestPresent the agent's result to the user (PR URL, success summary, or error with resolution)
Do not send any other text or messages besides the Task tool call.
The pr-creator agent executes:
Phase 1: Branch Management
Phase 2: Create Commit
Co-Authored-By trailerPhase 3: Push to Remote
-u (upstream tracking)Phase 4: Create PR
gh pr createThe pr-creator agent handles all phases:
Each error includes specific resolution guidance.
The agent enforces safety rules from CLAUDE.md:
gh CLI must be installed and authenticatednpx claudepluginhub drillan/git-workflow-haiku --plugin git-workflow-haiku/pr-automationCreates GitHub pull requests from chat session changes, handling branch creation, conventional commits, and PR description generation.
/createCreates a Pull Request from current code changes: generates new branch, commits and pushes changes, creates PR via GitHub CLI preferring upstream if available.
/commit-push-prCommits current changes (staged/unstaged) to a new branch if on main, pushes to origin, and creates a GitHub pull request via gh.
/commit-push-prCommits staged changes with a conventional commit message, pushes current branch to origin, and creates GitHub pull request with auto-generated title, change summary, and issue links. Accepts optional PR title/description hint.
/commit-push-prCommits staged changes after build/test/lint/security verification, pushes branch, creates PR, optionally merges (merge/squash/rebase), and notifies. Supports flags like --draft, --no-verify, --skip-security.