From agent-starter
Creates a branch, commits changes, pushes, and creates or updates a GitHub PR with a summary and test plan. Useful for automating the full git-to-PR workflow.
How this skill is triggered — by the user, by Claude, or both
Slash command
/agent-starter:commit-push-prThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Gather this context first:
Gather this context first:
git statusgit diff HEADgit branch --show-currentgit diff main...HEAD (or default branch)gh pr view --json number 2>/dev/null || trueAnalyze ALL changes that will be included in the pull request - look at ALL commits from git diff main...HEAD, not just the latest commit.
Based on the changes:
Use the format username/feature-name:
git checkout -b username/descriptive-feature-name
Use heredoc syntax for the message:
git commit -m "$(cat <<'EOF'
Commit message here.
EOF
)"
git log --oneline -10)git push -u origin HEAD
Check if a PR already exists (from the gh pr view output above).
If PR exists - update it:
gh pr edit --title "Short title" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points>
## Test plan
- [ ] Test item 1
- [ ] Test item 2
EOF
)"
If no PR - create one:
gh pr create --title "Short, descriptive title" --body "$(cat <<'EOF'
## Summary
<1-3 bullet points>
## Test plan
- [ ] Test item 1
- [ ] Test item 2
EOF
)"
Rules:
Do all of the above in a single message using multiple tool calls. Return the PR URL when done.
npx claudepluginhub sneg55/agent-starter --plugin agent-starterCommits changes to a new git branch (if on main), pushes to origin, and creates or views GitHub PR with gh CLI. Activates on 'commit and push', 'open PR', 'ship it'.
Creates new git branch if on main, commits and pushes changes, adapts PR template to git diffs, and opens GitHub pull request with conventional commit title.