git

Create, list, and remove Git worktrees with safe branch operations.

15|4|Updated Feb 3, 2026
One-click install
npx skills add https://github.com/jmylchreest/aide --skill git-jmylchreest
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git
Source: https://github.com/jmylchreest/aide/tree/main/skills/git
Command: npx skills add https://github.com/jmylchreest/aide --skill git-jmylchreest

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Git users often struggle with coordinating parallel work, managing multiple branches, and keeping repositories clean when using git worktree features. This Skill provides best-practice workflows for creating, listing, and removing worktrees, plus safe branch handling and integration with common commands.

Core Features & Use Cases

  • Worktree lifecycle: create, list, and remove worktrees safely.
  • Branch hygiene: create feature branches, switch context, and avoid dirty states.
  • Safe workflows: apply recommended commit messages and rebase/merge practices.

Quick Start

Create a new feature worktree named feature/login and switch to it.

Frequently Asked Questions about git

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I safely manage git worktrees for parallel development?

To safely manage git worktrees for parallel development, use structured workflows that apply guardrails to worktree creation, listing, and removal, ensuring clean branch lifecycles and reducing context switch errors.

What is the best way to prevent errors when switching between multiple git branches?

The best way to prevent errors when switching between multiple git branches is to use isolated worktrees for each feature, avoiding dirty states by applying safe branch handling and recommended commit practices.

How does git worktree branch hygiene work for concurrent feature testing?

Git worktree branch hygiene works by isolating concurrent feature testing in separate directories, allowing you to create feature branches and switch contexts without destabilizing your primary local repository state.

What should I do if my git worktree removal leaves dangling branches?

If your git worktree removal leaves dangling branches, you should use recovery commands and conflict guidance to safely clean up the worktree lifecycle and remove orphaned branch references.

Can I use this git workflow for multiple feature worktrees across local repos?

Yes, you can use this git workflow for multiple feature worktrees across local repos, as it implements safe worktree creation and branch operations specifically designed for software development workflows requiring parallel development.

When do I need to use git worktrees instead of standard branch switching?

You need to use git worktrees instead of standard branch switching when running concurrent branch testing or managing multiple feature worktrees simultaneously, as worktrees prevent dirty state conflicts and keep repositories clean.