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-starterCreates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.