git-worktrees

Manage git worktrees for isolated Minion workspaces in the Gru project.

11|Updated Dec 1, 2025
One-click install
npx skills add https://github.com/fotoetienne/gru --skill git-worktrees-fotoetienne
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: git-worktrees
Source: https://github.com/fotoetienne/gru/tree/main/.claude/skills/git-worktrees
Command: npx skills add https://github.com/fotoetienne/gru --skill git-worktrees-fotoetienne

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexity of managing git worktrees in the Gru project, providing an easy-to-use interface for creating, listing, and cleaning up worktrees for Minion workspaces.

Core Features & Use Cases

  • Worktree Management: Create, list, and clean up git worktrees for Minion workspaces.
  • Isolation: Ensure each Minion has its own isolated workspace.
  • Efficiency: Share git objects between worktrees for space efficiency.
  • Use Case: When you need to create a new worktree for a Minion in the Gru project, use this Skill to set it up quickly and correctly.

Quick Start

Create a worktree for Minion M42 working on issue #7 by running the command: gru do issue-7-M42

Frequently Asked Questions about git-worktrees

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

FAQPage Schema
How do I create an isolated git worktree for a new workspace?

Git worktrees allow isolated workspaces by sharing git objects between directories for space efficiency. This skill manages worktree creation, listing, and cleanup specifically for Minion workspaces within the Gru project structure.

How do I manage git worktrees in the Gru project?

Managing git worktrees in Gru requires understanding Gru's filesystem structure and git worktree commands. This skill provides an interface to create, list, and clean up worktrees, ensuring each Minion operates in an isolated workspace.

Do I need to understand git worktree commands to use this with Gru?

Yes, using git worktrees in Gru requires understanding Gru's filesystem structure and git worktree commands. The skill automates workspace creation and cleanup but assumes baseline familiarity with git worktree mechanics.

What is the best way to set up isolated workspaces for Minions?

Using git worktrees within Gru is the best way to set up isolated Minion workspaces. This approach shares git objects between worktrees for space efficiency while ensuring each Minion has its own isolated directory.

How do I clean up git worktrees when Minion work is complete?

To clean up git worktrees when Minion work is complete, use this skill's cleanup operations designed for the Gru project. It handles the removal of worktrees while maintaining the integrity of shared git objects.