Git
Git version control commands — conventional commits, CI monitoring, and interactive rebase.
The Git skills handle the mechanical parts of the commit loop: writing good commit messages, monitoring CI pipelines, and rebasing safely onto updated base branches.
Installation
Claude Code:
npx skills add cloudvoyant/codevoyantOpenCode / VS Code Copilot: See the installation guide.
Typical Workflows
Commit and push
Use /git commit frequently — small, focused commits with clear messages are easier to review, revert, and understand in history.
# Stage your changes, then:
/git commit
# Review the generated message
# Approve to create the commit and push
# /git ci runs automatically in background after pushBefore opening a PR
/git commit
/dev pr-fix # if there are open review commentsRebase onto an updated base branch
/git rebase mainSkills
Conventional Commits
Write conventional commit messages:
/git commit
/git commit --atomic # Split logical change groups into separate commits
/git commit --yes # Skip confirmation, auto-approve message
/git commit --no-push # Commit only, do not push or monitor CI
/git commit --autofix # If CI fails after push, automatically fix and re-pushWhat happens:
- Runs formatters and linters before staging (auto-fixes are included in the commit)
- Analyzes your staged and unstaged changes
- Generates a conventional commit message (
feat:,fix:,chore:, etc.) - Shows the message for review — you can approve, edit, or cancel
- Creates the commit, pushes, and launches CI monitoring in the background
Follows the Conventional Commits specification.
Flags:
--atomic— detect logical change groups and create one commit per group--single— all staged changes in one commit (default)--yes/-y— skip confirmation and auto-approve the message--no-push— commit only, do not push or monitor CI--autofix— if CI fails after push, automatically fix and re-push
CI Monitor
Monitor CI/CD workflows and verify status after a push:
/git ci
/git ci --wait # Block until CI completes
/git ci --autofix # Automatically fix failures and re-push (up to 2 attempts)
/git ci --silent # Suppress desktop notificationWorks with both GitHub Actions and GitLab CI — provider is auto-detected from the remote URL. Runs in the background by default so you can keep working. A desktop notification fires when checks complete or fail.
Safe Rebase
Safely rebase the current branch onto an updated base branch:
/git rebase
/git rebase main
/git rebase main --pushUses a pre-rebase intent snapshot to resolve conflicts correctly, preventing the silent change loss that happens with naive rebasing.
How it works:
- Intent snapshot — captures your branch's full diff, file list, and commit log before touching git
- Confirmation dialog — shows branch summary and rebase target before proceeding
- Conflict resolution — handles the counter-intuitive
HEAD= base branch behavior during rebase - Post-rebase verification — checks for silently dropped files, runs formatters and tests
- Push safety — uses
--force-with-lease(not--force) to avoid overwriting concurrent remote changes
List All Commands
/git help # List all git commands with descriptions
/git help ci # Show full details for a specific command