← ClaudeAtlas

gitlisted

Git operations and worktree management
jmylchreest/aide · ★ 10 · AI & Automation · score 78
Install: claude install-skill jmylchreest/aide
# Git Mode **Recommended model tier:** balanced (sonnet) - this skill performs straightforward operations Expert git operations including worktree management for parallel work. ## Commit Guidelines ### Message Format ``` <type>: <short description> [optional body] ``` Types: `feat`, `fix`, `refactor`, `docs`, `test`, `chore` ### Commit Process 1. Check status: `git status` 2. Review diff: `git diff` 3. Stage specific files (not `git add .`) 4. Write descriptive message 5. Never skip hooks unless explicitly asked ## Worktree Management ### Create Worktree ```bash # 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 ``` ### List Worktrees ```bash git worktree list ``` ### Remove Worktree ```bash git worktree remove ../feature-branch git branch -d feature/name # if merged ``` ## Common Operations ### Feature Branch Workflow ```bash git checkout -b feature/name # ... work ... git add <specific-files> git commit -m "feat: add feature" git push -u origin feature/name ``` ### Rebase onto Main ```bash git fetch origin git rebase origin/main # resolve conflicts if any git push --force-with-lease ``` ### Cherry-Pick ```bash git cherry-pick <commit-hash> ``` ### Stash ```bash git stash push -m "description" git stash list git stash pop ``` ## Safety Rules **Never run without explicit user request:** - `git push --force` (use `--force-with-lease` if needed) - `git reset --ha