Commit And Push banner
jnarowski jnarowski

Commit And Push

Git community

Description

--- 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

Installation

Installs to ~/.claude/commands/jnarowski-agentcmd-commit-and-push.md

Terminal
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.

Full documentation available on GitHub

View Source Repository