/isg-skills:worktreesfrom isg-skills
Use when creating, entering, finishing or removing a git worktree, when a session, subagent or workflow runs in one, or before the first push from a wt/ branch.
Ships in isg-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
--worktree, isolated subagents, workflow agents and
background sessions get a worktree from ~/.claude/hooks/worktree.sh:
~/<repo>-<name> on branch wt/<name>, cut from origin's default branch.
Rename the branch to <type>/<scope>/<slug> (git branch -m) before its
first push; until then a hook refuses git push and gh pr create.ExitWorktree and remove it. What's left behind — subagent and
workflow worktrees are never removed for you — is swept at session start
once it is a day old, clean, unlocked, upstream and no live session works
in it; ~/.claude/hooks/worktree.sh gc --dry-run lists what would go.What SKILL.md sets; muted values are Claude Code's defaults
12 skills in this plugin
/capturing-configUse after installing a tool or package, or changing machine or tool configuration outside the dotfiles repo (brew install, a ~/.config file, defaults write, a global npm/cargo/uv tool, a launch agent), to propose recording it in the dotfiles repo./codebase-designShared vocabulary for designing deep modules. Use when the user wants to design or improve a module's interface, find deepening opportunities, decide where a seam goes, make code more testable or AI-navigable, or when another skill needs the deep-module vocabulary./diagnosing-bugsDiagnosis loop for hard bugs and performance regressions. Use when the user says "diagnose"/"debug this", or reports something broken/throwing/failing/slow.Other plugins' skills for the same job
npx claudepluginhub isdg/.rc --plugin isg-skills