worktree-setup

Solid

Set up worktree-plus for a repo — manage git config (baseBranch, branchPrefix, dirBase, guessRemote) and build the .worktreeinclude / .worktreelink files by scanning which gitignored files actually exist. Use when the user asks to set up or configure worktree-plus, view or change worktree settings, reset the plugin config, or decide which gitignored files should be copied or symlinked into new worktrees.

AI & Automation 48 stars 5 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 84/100

Stars 20%
56
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# worktree-plus Setup Two jobs live here, and a user usually wants one of them: - **Settings** — git config under the `worktreeplus.*` namespace (plugin-custom) plus one `worktree.guessRemote` (git-native). No env vars. Start at [Settings](#settings). - **Which gitignored files follow a worktree** — the `.worktreeinclude` (copy) and `.worktreelink` (symlink) files at the repo root. Start at [Set up .worktreeinclude / .worktreelink](#set-up-worktreeinclude--worktreelink). If the user's ask is vague ("set up worktree-plus"), show the current settings first — it's cheap and orients both of you — then offer the include/link scan. ## Settings | Key | Default | Scope guidance | |---|---|---| | `worktreeplus.baseBranch` | `HEAD` | Per-repo typical (different repos have different default branches) | | `worktreeplus.branchPrefix` | `worktree-` | Global typical (personal naming convention); per-repo for team rules | | `worktreeplus.dirBase` | `.claude/worktrees` | Per-repo typical | | `worktree.guessRemote` | `true` (plugin override; git default is `false`) | Global typical | ## View current settings Always start by showing what's active. Run: ```bash git config --get-regexp '^worktreeplus\.|^worktree\.guessRemote' ``` If nothing prints, the user is on defaults. State that explicitly — don't leave them guessing. For layered view (local vs global vs system): ```bash git config --local --get-regexp worktreeplus git config --global --get-regexp worktreeplus ``` ## Change a se...

Details

Author
LeeJuOh
Repository
LeeJuOh/claude-code-zero
Created
6 months ago
Last Updated
1 weeks ago
Language
JavaScript
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category