commit-push-pr
SolidAutomate 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".
Code & Development 9 stars
1 forks Updated 3 days ago MIT
Install
Quality Score: 79/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# commit-push-pr
Automate creating branches, commits, and pull requests.
## Trigger Examples
- "Create a PR"
- "Commit and push"
- "Push changes and create PR"
- "Open a pull request"
## Prerequisites
- GitHub CLI (`gh`) is installed and authenticated
- Changes exist in the working tree
- Local quality checks have been run manually
## Execution Flow
### 1. Generate Branch Name
Derive branch prefix from commit type:
| Type | Branch Format |
|------|---------------|
| feat(scope): ... | `feature/scope-<summary>` |
| fix(scope): ... | `fix/scope-<summary>` |
| refactor(scope): ... | `refactor/scope-<summary>` |
| docs | `docs/<summary>` |
| No scope | `<type>/<summary>` |
- Use lowercase kebab-case
- Translate Japanese summaries to English
### 2. Create or Reuse Branch
```bash
git rev-parse --abbrev-ref HEAD
```
- If on base branch: create new branch with `git checkout -b <branch>`
- If on feature branch: confirm reuse with user
### 3. Stage and Commit Changes
```bash
git status --porcelain
git add -A
git commit -m "<message>"
```
If no staged changes, inform user and stop.
### 4. Push to Remote
```bash
git push -u origin <branch>
```
Prompt: "Ready to create a PR now?"
### 5. Generate PR Body
Gather context:
```bash
git log origin/<base>..HEAD --oneline
git diff origin/<base>...HEAD --stat
```
Populate PR sections:
1. **Purpose / Background** - Why the change exists
2. **Summary of changes** - Major modifications by layer
3. **Verification steps** - Comm...
Details
- Author
- koborin-ai
- Repository
- koborin-ai/site
- Created
- 9 months ago
- Last Updated
- 3 days ago
- Language
- MDX
- License
- MIT
Integrates with
Bundled in these plugins
Similar Skills
Semantically similar based on skill content — not just same category
Code & Development Solid
commit-push-pr
Full git workflow - creates branch, commits, pushes, and creates or updates a PR with summary and test plan.
76 Updated 3 weeks ago
sneg55 Code & Development Listed
commit-push-pr
Create a branch if needed, commit working-tree changes, push to origin, and open a GitHub pull request with gh. Use when the user asks to commit-push-pr, ship a PR, or commit push and open a pull request in one go.
0 Updated 3 weeks ago
piscis 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 today
7dieuuoc