plugins-copilot/git-worktree/skills/parallel-work/SKILL.md
Suggest using a git worktree when the user requests parallel tasks, working on multiple features simultaneously, running tests in an isolated checkout, doing background work without disturbing the current branch, or when the agent detects that the requested changes are unrelated to the current branch work (e.g., significant uncommitted changes exist on an unrelated topic).
npx skillsauth add st0nefish/claude-toolkit parallel-workInstall 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.
When the user wants to work on something in parallel, in isolation, or without
touching the current branch — or when the agent detects a context mismatch
between the current branch and the new request — a git worktree is the right
tool. A worktree gives a second fully-functional checkout under
.github/worktrees/<slug> inside the repo (auto-gitignored): no stashing, no
branch switching, no context loss, and no per-path permission prompts because
the path is covered by the harness's working-directory scope.
Trigger proactively when the user says things like:
Trigger proactively when you observe ALL of the following:
git status --short), ANDExamples of unrelated-context detection:
feature/auth); user asks to
work on something that belongs on a different issue entirely.In these cases, pause and ask the user whether they'd like a worktree before proceeding. Do not silently start the new work on the current branch.
Before starting any significant new task, you may run:
git status --short
git --no-pager log --oneline -1
git --no-pager branch --show-current
If there are uncommitted changes and the new request is clearly unrelated, raise the worktree suggestion.
Briefly describe what you noticed (1 sentence): e.g., "I see uncommitted changes related to X on this branch — your new request looks unrelated."
Ask if they want a worktree, or offer to create one directly:
bash ${COPILOT_PLUGIN_ROOT}/scripts/worktree-create.sh <suggested-branch-name>
Suggest a branch name based on the new task being discussed.
Explain that once created, commands run in the worktree via cd <path> && ...
— the worktree plugin's hook auto-approves operations targeting that directory.
After the work is done, remind the user to clean up:
bash ${COPILOT_PLUGIN_ROOT}/scripts/worktree-remove.sh <name> --delete-branch
git worktree list shows more than one entry).development
Start work from your description — explore the codebase and plan
data-ai
Multi-phase, multi-agent feature workflow: spec → plan → refine → divide → execute → review. Invoke when the user escalates a session-start/session-issue flow to orchestration, or asks to run a non-trivial feature (multiple files, design ambiguity, cross-cutting concerns, correctness-critical paths) through the full multi-agent workflow. For small fixes, prefer session-start.
tools
Browse open issues, pick one, and start work on it
tools
Interact with GitHub and Gitea issue trackers and CI systems. List and show issues, file bugs, comment on issues or PRs, list and show pull requests, and fetch CI run logs — all from any repo context without leaving the session.