From 69d974723388a17eef1fd3cbd5e41d07ed2917fc Mon Sep 17 00:00:00 2001 From: specterslient95-lgtm Date: Thu, 18 Jun 2026 17:26:36 +1000 Subject: [PATCH] fix(using-git-worktrees): assign $LOCATION and $BRANCH_NAME in Step 1 before use --- skills/using-git-worktrees/SKILL.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/skills/using-git-worktrees/SKILL.md b/skills/using-git-worktrees/SKILL.md index 212c56926e..e204106af7 100644 --- a/skills/using-git-worktrees/SKILL.md +++ b/skills/using-git-worktrees/SKILL.md @@ -90,6 +90,11 @@ git check-ignore -q .worktrees 2>/dev/null || git check-ignore -q worktrees 2>/d #### Create the Worktree ```bash +# Use the LOCATION you chose above (e.g. ".worktrees" or a project-specific path) +LOCATION="" +# Use BRANCH_NAME based on the task (e.g. "feat-add-login") +BRANCH_NAME="" + # Determine path based on chosen location path="$LOCATION/$BRANCH_NAME"