What problem does it solve?
This Skill automates git commit, push, and GitHub PR workflows, ensuring conventional commit messages and preventing duplicate PRs, streamlining collaboration.
Core Features & Use Cases
- Automated commit workflow: commits with a conventional message format in response to user requests such as "commit changes".
- Push and PR creation: pushes on the current branch and creates a PR via GitHub CLI when requested, avoiding duplicates.
- Branch-awareness: automatically handles feature branches when not on main and checks for existing PRs before creation.
Quick Start
Say "commit changes" to perform a commit with a conventional message:
- git add .
- git commit -m "<type>(<scope>): <description>"
Say "push changes" to push the current branch:
- git push origin $(git branch --show-current)
Say "create PR" to push changes and open a PR using the repository's PR template:
- gh pr create --title "<type>(<scope>): brief description" --body "$(cat .github/PULL_REQUEST_TEMPLATE.md 2>/dev/null || echo 'PR details here')"