You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(plugin): enforce gitignore for .ai-dlc/worktrees before worktree creation
Split worktree setup into two explicit steps with a guard to prevent
creating worktrees without gitignoring the directory first.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: plugin/skills/elaborate/SKILL.md
+21-7Lines changed: 21 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -215,22 +215,36 @@ Continue asking until you can articulate back to the user, in your own words, ex
215
215
216
216
Before beginning technical exploration, create the intent worktree and initialize the discovery scratchpad inside it. Creating the worktree early ensures **no artifacts are left on `main`** — all files from this point forward are written on the intent branch.
217
217
218
+
**CRITICAL — Step 1: Gitignore worktrees directory (MUST run before creating any worktree)**
219
+
220
+
You MUST ensure `.ai-dlc/worktrees/` is in `.gitignore` BEFORE creating the worktree. Run this as a **separate Bash command** first:
221
+
218
222
```bash
219
-
# Derive intent slug from the user's description (same slug used throughout elaboration)
0 commit comments