skills/devel/create-git-worktree/SKILL.md
Manual invocation only; use only when the user explicitly requests `create-git-worktree` by exact name. Create a clean git worktree for the current repository and symlink reusable local tool-state directories into it.
npx skillsauth add igamenovoer/magic-context create-git-worktreeInstall 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.
Manual invocation only: use this skill only when the user explicitly requests create-git-worktree by exact name.
Create a fresh worktree from the current repository while leaving the active checkout untouched. Prefer the bundled script so branch handling, default paths, and safe symlink rules stay consistent.
Run:
bash scripts/create_worktree.sh [--branch BRANCH] [--path TARGET_PATH] [--link-dir NAME]
Use these defaults unless the user says otherwise:
git branch --show-current<repo-root>/.shadow-repo/worktree-<ts>YYYYMMDD-HHMMSS in UTCIf the user specifies a path, use it instead of the default. If the user specifies extra directories to reuse, pass them with repeated --link-dir flags.
git worktree add; do not copy the repository manually.Consider these default candidates:
.claude.codex.gemini.github.aider.cursor.continue.windsurf.kiroApply these rules for each candidate and for any user-requested extra directory:
pixi.toml, pixi.lock, or a [tool.pixi] section in pyproject.toml..pixi/ exists as an untracked directory, symlink it into the new worktree.Report:
Note that git status in the new worktree may show the linked local-state directories as untracked. That is expected.
scripts/create_worktree.sh: Create the worktree and add the safe symlinks.Create a shadow worktree for this repo under .shadow-repo and link the agent home directories.Make a clean worktree of branch release/1.4 at tmp/release-wt and reuse .claude and .pixi.Create a worktree for this repo at /tmp/gig-agents-clean; keep my current uncommitted changes untouched.data-ai
Create readable Mermaid diagrams inside Markdown files. Use for flowcharts and sequence diagrams that must render cleanly in common Markdown renderers (e.g., GitHub) without horizontal scrolling. Covers fenced mermaid blocks, init/theme styling, label wrapping with <br/>, and sequenceDiagram layout rules (short IDs, wrapped labels, don’t break identifiers).
development
Manual invocation only; use only when the user explicitly requests `make-program-tutorial` by exact name, OR when the user asks to use a skill to create an SDK/API/library tutorial. Create a clear, reproducible, step-by-step tutorial for a specific API/SDK/library (or a set of functions/classes), with runnable examples, expected outputs, and basic troubleshooting.
testing
Use when the user wants to create a self-hosted, offline-installable Conda channel (mirror) containing a specific subset of packages using Pixi.
tools
Guides the agent to setup a new or existing Pixi environment for compiling C++ and CUDA code. It ensures the correct compilers, toolkits, and CMake configurations are in place for a robust user-space build.