commit-push-pr
SolidFull git workflow - creates branch, commits, pushes, and creates or updates a PR with summary and test plan.
Code & Development 79 stars
3 forks Updated yesterday MIT
Install
Quality Score: 89/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# Commit, Push, and Open PR
## Context
Gather this context first:
- `git status`
- `git diff HEAD`
- `git branch --show-current`
- `git diff main...HEAD` (or default branch)
- `gh pr view --json number 2>/dev/null || true`
## Git Safety Protocol
- NEVER update the git config
- NEVER run destructive/irreversible git commands (like push --force, hard reset, etc) unless the user explicitly requests them
- NEVER skip hooks (--no-verify, --no-gpg-sign, etc) unless the user explicitly requests it
- NEVER run force push to main/master, warn the user if they request it
- Do not commit files that likely contain secrets (.env, credentials.json, etc)
- Never use git commands with the -i flag (like git rebase -i or git add -i) since they require interactive input which is not supported
## Task
Analyze 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:
### 1. Create branch (if on main/master)
Use the format `username/feature-name`:
```
git checkout -b username/descriptive-feature-name
```
### 2. Create a single commit
Use heredoc syntax for the message:
```
git commit -m "$(cat <<'EOF'
Commit message here.
EOF
)"
```
- Follow the repo's commit message style (check `git log --oneline -10`)
- Focus on "why" not "what"
- Keep it concise (1-2 sentences)
### 3. Push the branch
```
git push -u origin HEAD
```
### 4. Create or update PR
Check if a PR already exists (from the `gh pr ...
Details
- Author
- sneg55
- Repository
- sneg55/agent-starter
- Created
- 3 months ago
- Last Updated
- yesterday
- Language
- Shell
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Listed
commit-push-pr
Commit changes, push to remote, and create a pull request. Use for completing features or fixes ready for review.
0 Updated yesterday
7dieuuoc Code & Development Listed
commit-push-pr
Automate the workflow from creating a branch to opening a GitHub pull request. Use when the user says "create a PR", "commit and push", "push changes and create PR", or "open a pull request".
9 Updated today
koborin-ai AI & Automation Solid
commit-push-pr
Use when asked to ship/open a PR, or for PR-description-only flows like writing, rewriting, or describing a PR body.
33 Updated yesterday
OutlineDriven