fix(worktrees): use full paths for bundled scripts
Users were confused by ./scripts/ references, thinking they needed to copy scripts into their project. Scripts are in ~/.claude/skills/worktrees/scripts/ and should be referenced with full paths. Changes: - Updated spawn-issues to use full script paths - Updated worktrees skill with full paths in all examples - Fixed gitea model name to claude-haiku-4-5 - Added tools list to issue-worker agent Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -61,7 +61,7 @@ git rev-parse --git-dir >/dev/null 2>&1 || exit 1
|
||||
For each issue, create worktree using script:
|
||||
```bash
|
||||
cd "$REPO_PATH"
|
||||
worktree_path=$(./scripts/create-worktree.sh issue <ISSUE_NUMBER>)
|
||||
worktree_path=$(~/.claude/skills/worktrees/scripts/create-worktree.sh issue <ISSUE_NUMBER>)
|
||||
```
|
||||
|
||||
Track worktree paths:
|
||||
@@ -174,7 +174,7 @@ branch_name = worker_result.branch
|
||||
**Create review worktree:**
|
||||
```bash
|
||||
cd "$REPO_PATH"
|
||||
review_worktree=$(./scripts/create-worktree.sh review <PR_NUMBER> <BRANCH_NAME>)
|
||||
review_worktree=$(~/.claude/skills/worktrees/scripts/create-worktree.sh review <PR_NUMBER> <BRANCH_NAME>)
|
||||
```
|
||||
|
||||
**Spawn code-reviewer agent:**
|
||||
@@ -230,7 +230,7 @@ After all issues reach terminal state:
|
||||
|
||||
```bash
|
||||
cd "$REPO_PATH"
|
||||
./scripts/cleanup-worktrees.sh "$WORKTREES_DIR"
|
||||
~/.claude/skills/worktrees/scripts/cleanup-worktrees.sh "$WORKTREES_DIR"
|
||||
```
|
||||
|
||||
This removes all issue and review worktrees created during this run.
|
||||
|
||||
Reference in New Issue
Block a user