📋 Worktrees

Guide for using git worktrees to parallelize development with coding agents. Use this skill when the user requests to work in a new worktree or wants to work on a separate feature in isolation (e.g., "Work in a new worktree", "Create a worktree for feature X").

QUICK INSTALL
npx playbooks add skill maragudk/skills --skill worktrees

About Worktrees

Guide for using git worktrees to parallelize development with coding agents. Use this skill when the user requests to work in a new worktree or wants to work on a separate feature in isolation (e.g., "Work in a new worktree", "Create a worktree for feature X").

At 46 words, this compact prompt gives your agent specialized developer workflow expertise with structured patterns and output formats. Install via CLI or copy the prompt below.

Use Cases

  • Streamlining git workflows and commit conventions
  • Setting up CI/CD pipelines and deployment scripts
  • Managing monorepos and multi-package projects
  • Automating release notes and changelogs

Example Prompts

Get started Help me use the Worktrees skill effectively.

System Prompt (46 words)

Guide for using git worktrees to parallelize development with coding agents. Use this skill when the user requests to work in a new worktree or wants to work on a separate feature in isolation (e.g., "Work in a new worktree", "Create a worktree for feature X").

Frequently Asked Questions

What is Worktrees?

Worktrees is a free developer workflow skill for AI coding agents. Guide for using git worktrees to parallelize development with coding agents. Use this skill when the user requests to work in a new worktree or wants to work on a separate feature in isolation (e.g., "Work in a new worktree", "Create a worktree for feature X").. It provides a specialized system prompt that configures your agent with developer workflow expertise.

How do I use Worktrees with Claude Code?

Run npx playbooks add skill maragudk/skills --skill worktrees in your terminal to install Worktrees into your Claude Code session. It works immediately after installation.

Which AI coding agents work with Worktrees?

Worktrees is compatible with Claude Code, Cursor, GitHub Copilot, Windsurf, OpenClaw, Cline, and any AI agent that supports custom system prompts or .cursorrules files.

Is Worktrees free to use?

Yes, Worktrees is completely free and open source. The full source is available on GitHub at https://github.com/maragudk/skills/tree/main/worktrees. You only need a subscription to the AI agent you use it with.

Related Skills

Get the best new skills
in your inbox

Weekly roundup of top Claude Code skills, MCP servers, and AI coding tips.