skills/productivity/create-worktree-skill/SKILL.md
Use when the user explicitly asks for a SKILL to create a worktree. If the user does not mention "skill" or explicitly request skill invocation, do NOT trigger this. Only use when user says things like "use a skill to create a worktree" or "invoke the worktree skill". Creates isolated git worktrees with parallel-running configuration.
npx skillsauth add codewithbehnam/cc-docs create-worktree-skillInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill enables creating fully configured git worktrees for parallel development with isolated ports, databases, and configuration.
Use this skill when:
Extract from the user's request:
Use the SlashCommand tool to run:
/create_worktree_prompt <branch-name> [port-offset]
Examples:
/create_worktree_prompt feature-auth - Creates worktree with auto-calculated ports/create_worktree_prompt fix-bug 2 - Creates worktree with port offset 2 (ports 4020, 5193)The /create_worktree_prompt command will:
trees/<branch-name>Share the command output with the user, highlighting:
User: "Create a worktree for the feature-dashboard branch"
Your response: Use SlashCommand to run /create_worktree_prompt feature-dashboard
User: "Set up a parallel environment on branch hotfix-security with port offset 5"
Your response: Use SlashCommand to run /create_worktree_prompt hotfix-security 5
User: "I need worktrees for branches: feature-a, feature-b, and feature-c"
Your response:
/create_worktree_prompt feature-a/create_worktree_prompt feature-b/create_worktree_prompt feature-cEach will automatically get unique ports (4010/5183, 4020/5193, 4030/5203).
If the command fails, common issues:
The slash command provides detailed error messages and suggestions.
tools
macOS GUI automation CLI. Use steer to see the screen, click elements, type text, send hotkeys, scroll, drag, manage windows and apps, run OCR on Electron apps, and wait for UI conditions.
testing
Ship workflow: merge main, run tests, review diff, bump VERSION, update CHANGELOG, commit, push, create PR.
testing
Import cookies from your real browser (Comet, Chrome, Arc, Brave, Edge) into the headless browse session. Opens an interactive picker UI where you select which cookie domains to import. Use before QA testing authenticated pages.
development
Weekly engineering retrospective. Analyzes commit history, work patterns, and code quality metrics with persistent history and trend tracking. Team-aware: breaks down per-person contributions with praise and growth areas.