git-worktree-workflows

Master Git worktrees and gw-tools workflows for parallel development. Use when creating worktrees, managing multiple branches simultaneously, navigating between worktrees, troubleshooting worktree issues, or setting up feature branch workflows. Triggers on git worktree commands, branch isolation, parallel development, or gw CLI usage.

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "git-worktree-workflows" with this command: npx skills add mthines/gw-tools/mthines-gw-tools-gw-git-worktree-workflows

Git Worktree Workflows

Master Git worktrees using the gw CLI tool for optimized parallel development workflows.

Rules

RuleDescription
fundamentalsHIGH - Core concepts of Git worktrees, what they share/don't share, when to use them
creationHIGH - Creating worktrees with gw add, remote fetch behavior, auto-copy files
navigationMEDIUM - Navigating with gw cd and gw checkout, shell integration setup
inspectionLOW - Listing worktrees with gw list, understanding worktree states
cleanupMEDIUM - Removing worktrees, gw clean, gw prune, disk space management
troubleshootingHIGH - Common errors and solutions, recovery procedures

Workflow Patterns

PatternDescription
feature-branchHIGH - Feature development workflow with worktrees
hotfixHIGH - Urgent bug fixes without interrupting feature work
code-reviewHIGH - Review PRs in isolated environments with gw pr
parallel-testingMEDIUM - Test across Node versions or configurations

Quick Reference

TaskCommand
Create worktreegw add feature-name
Create from different branchgw add feature-name --from develop
Create from staged filesgw checkout feature-name --from-staged
Navigate to worktreegw cd feature-name
List all worktreesgw list
Remove worktreegw remove feature-name
Check out PRgw pr 123
Update with maingw update
Batch cleanupgw clean
Full cleanupgw prune

Key Principles

  • Use worktrees for parallel work: Keep main ready while developing features.
  • Always use gw add: Gets auto-copy, shell navigation, smart fetch.
  • One branch per worktree: Cannot check out same branch in multiple worktrees.
  • Clean up when done: Use gw remove, gw clean, or gw prune.

Related Skills

Resources

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

@gw-multi-worktree-dev

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

autonomous-workflow

No summary provided by upstream source.

Repository SourceNeeds Review
General

@gw-config-management

No summary provided by upstream source.

Repository SourceNeeds Review
Automation

@gw-autonomous-workflow

No summary provided by upstream source.

Repository SourceNeeds Review