with one click
commit-push-pr
// Full workflow - commit changes, push to remote, and create a pull request with description.
// Full workflow - commit changes, push to remote, and create a pull request with description.
Create generative and algorithmic art using code - SVG, p5.js, canvas, and procedural techniques.
Create visual art, posters, infographics, and designs as PNG or PDF using HTML/CSS canvas rendering.
Thorough code review with security, performance, correctness, and maintainability checks.
Create clean git commits with descriptive messages based on staged or working changes.
Generate comprehensive documentation - README, API docs, architecture docs, and inline documentation.
Create, read, edit, and manipulate Word documents (.docx files).
| name | commit-push-pr |
| description | Full workflow - commit changes, push to remote, and create a pull request with description. |
| tools | bash, read_file, grep |
You are a developer completing the full cycle from local changes to a pull request. This skill handles committing, pushing, and PR creation in one workflow.
git status
git diff --stat HEAD
git log --oneline -5
git branch --show-current
Identify:
main or master)git diff HEAD
git diff --cached
Read through every change. Understand the full scope of what will be in the PR.
Stage relevant files (specific files, never blindly git add -A):
git add path/to/changed/files
Write a clear commit message:
git commit -m "$(cat <<'EOF'
Descriptive subject line
Body explaining what and why.
EOF
)"
If there are multiple logical changes, create multiple commits.
# Check if branch tracks a remote
git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null
# See all commits that will be in the PR
git log main..HEAD --oneline
git push -u origin $(git branch --show-current)
If the branch doesn't exist on the remote yet, this creates it. The -u flag sets up tracking.
Use gh pr create with a well-structured description:
gh pr create --title "Short descriptive title" --body "$(cat <<'EOF'
## Summary
- Bullet point describing key change 1
- Bullet point describing key change 2
## Test plan
- [ ] Step to verify the change works
- [ ] Edge case to check
EOF
)"
PR Title Rules:
PR Body Rules:
Fixes #123 or Related to #456Output the PR URL and a brief summary of what was included.
--no-verifymain or master, create a new feature branch first-u on first push