From aide
Manages Git worktrees for parallel development, executes safe commits with conventional messages, branch workflows, rebases, cherry-picks, stashes, and failure recovery.
How this skill is triggered — by the user, by Claude, or both
Slash command
/aide:gitThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
**Recommended model tier:** balanced (sonnet) - this skill performs straightforward operations
Recommended model tier: balanced (sonnet) - this skill performs straightforward operations
Expert git operations including worktree management for parallel work.
<type>: <short description>
[optional body]
Types: feat, fix, refactor, docs, test, chore
git statusgit diffgit add .)# For feature work
git worktree add ../feature-branch -b feature/name
# For parallel tasks
git worktree add ../aide-worktrees/task-1 -b aide/task-1
git worktree list
git worktree remove ../feature-branch
git branch -d feature/name # if merged
git checkout -b feature/name
# ... work ...
git add <specific-files>
git commit -m "feat: add feature"
git push -u origin feature/name
git fetch origin
git rebase origin/main
# resolve conflicts if any
git push --force-with-lease
git cherry-pick <commit-hash>
git stash push -m "description"
git stash list
git stash pop
Never run without explicit user request:
git push --force (use --force-with-lease if needed)git reset --hardgit clean -fgit checkout . or git restore .Safe operations:
git status, git diff, git loggit add <specific-files>git commitgit push (without force)git worktree operationsgit worktree list for stale entries, use git worktree prune# Recover from bad merge (before commit)
git merge --abort
# Recover from bad rebase (before complete)
git rebase --abort
# Prune stale worktrees
git worktree prune
# Verify commit was created
git log -1 --oneline
# Verify expected files changed
git show --stat HEAD
# Verify remote updated
git log origin/<branch> -1 --oneline
# Verify worktree exists
git worktree list | grep <worktree-path>
# Verify branch created
git branch -a | grep <branch-name>
When reviewing diffs or preparing commits, use findings tools to understand the quality context of changed code:
mcp__plugin_aide_aide__findings_search — Search for known issues (complexity, secrets, clones) in changed filesmcp__plugin_aide_aide__findings_list — List all findings for a specific file to understand its healthmcp__plugin_aide_aide__findings_stats — Quick overview of finding counts across the projectThis helps surface pre-existing issues in files you're touching, and can inform whether a commit should also address nearby problems.
For swarm mode or parallel features:
# Setup
git worktree add ../work-1 -b feature/part-1
git worktree add ../work-2 -b feature/part-2
# Work in parallel (different terminals/agents)
cd ../work-1 && # ... implement part 1
cd ../work-2 && # ... implement part 2
# Merge
git checkout main
git merge feature/part-1
git merge feature/part-2
# Cleanup
git worktree remove ../work-1
git worktree remove ../work-2
git branch -d feature/part-1 feature/part-2
npx claudepluginhub jmylchreest/aide --plugin aideCovers advanced git workflows: worktrees for parallel branches, bisect for bug hunting, interactive rebase for history editing, hooks for automation, and recovery techniques for lost commits.
Manages Git branch strategy, worktrees, commits, PR preparation, merge/rebase decisions, conflict resolution, tagging, and release notes. Validates state before making changes.
Structures git workflow practices for committing, branching, resolving conflicts, and organizing work across parallel streams. Use when making any code change.