Commit all uncommitted changes in the current repository with auto-generated message
Commits all uncommitted changes with an AI-generated message.
/plugin marketplace add folly-partners/claudesync/plugin install claudesync@FollyCommit all uncommitted changes in the current repository.
git rev-parse --is-inside-work-tree 2>/dev/null || echo "NOT_A_REPO"
If not a repo, tell the user and stop.
git status --porcelain
If there are no changes, tell the user "No changes to commit" and stop.
git status
git add -A
git diff --cached --stat
git diff --cached
Auto-generate a concise commit message based on all the changes. Do NOT ask the user - just use the generated message.
Create the commit with the generated message. Always append the Claude Code footer:
git commit -m "$(cat <<'EOF'
<commit message here>
Generated with Claude Code
EOF
)"
git log -1 --oneline
git status
Confirm the commit was successful. Remind the user they can use /push if they want to push to remote.