Commit And Push — Git skill for Claude Code
Create commit, push changes, and create PR if needed.
How to install Commit And Push
Installs to ~/.claude/commands/jnarowski-agentcmd-commit-and-push.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/jnarowski/agentcmd/HEAD/.claude/commands/commit-and-push.md -o ~/.claude/commands/jnarowski-agentcmd-commit-and-push.md Restart Claude Code, or start a new session, for it to be picked up.
What Commit And Push does
allowed-tools: Bash(gh pr:*), Bash(git:*) description: Create commit, push changes, and create PR if needed argument-hint: [base-branch]
Commit and Push
Analyze changes, create a commit with auto-generated message following team conventions, push to remote, and create a pull request if one doesn't exist. Fails gracefully if there are no changes to commit.
Variables
- $base-branch: $1 (optional) - The base branch for the PR (defaults to
main)
Instructions
- NEVER run addit
Alternatives in Git
- Worktree Deliver — Commit all work, push, and create a pull request from the current worktree 23.4k ★
- Yeet — Stage, commit, push code, and open a GitHub pull request via CLI 14.6k ★
- Commit Commands — Git commit workflows: commit, push, and PR creation 14k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Submit PR
Commit changes to a new branch, push to GitHub, and open a PR with project template
Push All.SKILL
Use when the user explicitly asks to stage all current changes, create a commit, and push to the remote after
Push Changes
Commit relevant changes and push through the git workflow
Push
Commit changes atomically, push, and create PR
Agenfk Release Beta
Commit local changes, push to remote, and create a GitHub beta/pre-release
Agenfk Release
Commit local changes, push to remote, and optionally create a GitHub release
Related Agents
Git Manager
Use this agent when you need to stage, commit, and push code changes to the current git branch while ensuring
Git Ops
Git operations agent for committing, pushing, and opening PRs. Use when asked to commit changes, push to remot
Vc Git Manager
Stage, commit, and push code changes with conventional commits. Use when user says "commit", "push", or finish