git-commit-push-pr
Installation
SKILL.md
Contains Shell Commands
This skill contains shell command directives (!`command`) that may execute system commands. Review carefully before installing.
When to Use This Skill
| Use this skill when... | Use X instead when... |
|---|---|
| Going from uncommitted changes to an open PR in one step | Creating commits only with no push or PR (/git:commit) |
| Auto-detecting issues, committing, pushing, and opening a PR together | Pushing existing commits to a remote without opening a PR (/git:push) |
| Running the full commit-push-PR pipeline non-interactively | Opening a PR from already-pushed commits (/git:pr-create) |
Context
- Pre-commit config: !
find . -maxdepth 1 -name ".pre-commit-config.yaml" - Current branch: !
git branch --show-current - Git status: !
git status --porcelain=v2 --branch - Unstaged changes: !
git diff --numstat - Staged changes: !
git diff --cached --numstat - Recent commits: !
git log --format='%h %s' --max-count=10 - Git remotes: !
git remote -v
Available labels and open issues are fetched during execution (requires a configured git remote).