Install
openclaw skills install git-autoGit workspace automation (status/commit/push/log/diff)
openclaw skills install git-autoGit Workspace Automation — Streamline daily Git operations with intelligent defaults. Status checks, smart commits, safe pushes, and diff analysis in one skill.
# Show concise workspace status
git-auto status
# Multi-repo status scan
git-auto status --all
Returns: modified files, untracked files, branch info, ahead/behind count.
# Auto-generate commit message from diff
git-auto commit
# With explicit message
git-auto commit -m "feat: add user auth"
# Commit specific files
git-auto commit -f "src/auth.ts,src/types.ts"
Behavior:
git diff --staged to analyze changes# Push current branch with safety checks
git-auto push
# Force push (with confirmation)
git-auto push --force
Safety checks:
# Last 10 commits, formatted
git-auto log
# Last N commits
git-auto log -n 20
# Filter by author
git-auto log --author "name"
# Staged changes
git-auto diff
# Working directory changes
git-auto diff --unstaged
# Between branches
git-auto diff main..feature-branch
Uses Conventional Commits:
feat: — New featurefix: — Bug fixrefactor: — Code restructuringdocs: — Documentation onlychore: — Maintenance taskstest: — Adding/updating testsWorks with any Git repository. No configuration needed — auto-detects .git directory and current branch. Pairs well with code-review skill for pre-commit analysis.
| Situation | Behavior |
|---|---|
| Not a git repo | Clear error message with suggestion |
| Merge conflicts | Shows conflict files, suggests resolution |
| No staged changes | Prompts to stage or shows unstaged changes |
| Auth failure | Suggests credential refresh |
| Detached HEAD | Warns and suggests creating branch |