Dev & Engineering

Isolated Git Workspace

Creates an isolated workspace for feature work, then prepares the project and verifies its clean test baseline.

52/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 299k
Last updated
15d ago
License
MIT
git-worktreesworkspace-isolationfeature-branchesbaseline-testing
+1project-setup

What does this skill do, and when should you use it?

This skill ensures that feature work starts in an isolated environment. It first detects whether the current directory is already a linked Git worktree or a submodule, then prefers the platform’s native workspace tools. If no native tool is available, it falls back to a manual Git worktree, performs supported project setup, and runs baseline tests. It fits development workflows that need branch isolation and evidence about the project’s starting state.

Reads Git’s worktree directory, common Git directory, current branch, and superproject path to detect existing isolation; asks for consent before creating a worktree in a normal checkout; prefers available native worktree tools, otherwise verifies that a project-local worktree directory is ignored and runs git worktree add with a new branch; conditionally runs setup commands based on package.json, Cargo.toml, requirements.txt, pyproject.toml, or go.mod; runs npm test, cargo test, pytest, or go test ./... as appropriate; and reports workspace and baseline test status.

Good fit
  • A developer starting feature work without wanting to alter the current branch.
  • A team executing an implementation plan that requires each task to begin from an isolated branch.
  • A maintainer who wants existing tests checked before implementation begins.
  • A user of a coding agent with native workspace support who wants that mechanism preferred automatically.

How do you install this skill?

Before you use it
  • npm install, pip install, poetry install, and go mod download may create network and supply-chain risk; run them only after confirmation in a controlled environment.
  • The skill instructs adding to .gitignore and committing when a directory is not ignored, but provides no additional pre-commit confirmation or rollback guidance.
  • The baseline test commands are generalized examples and may not fit nonstandard projects, leaving some diagnosis to the user.
  • The publisher is not verified by the FollowSkills enterprise registry and is treated as unknown.
Before you start
Your agent needs
  • Shell / CLI
  • Local filesystem
Install first
  • Git

This skill has no documented standalone installation command. It is part of the obra/superpowers collection at skills/using-git-worktrees/SKILL.md; install the full Superpowers collection through the supported method for your coding harness. The README states that installation is separate for each harness.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/obra/superpowers.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/skills/using-git-worktrees" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Create an isolated workspace for this feature, then execute the implementation plan.

Start a task with an installed Superpowers-enabled coding agent and request isolation, for example: “Create an isolated workspace for this feature, then execute the implementation plan.” The skill checks the current isolation state first and asks for consent when the checkout is ordinary and no preference was declared. The source does not define a dedicated trigger syntax.

What are this skill's strengths and limitations?

Pros
  • Detects existing worktrees and submodules before creating anything.
  • Prefers native workspace tools and provides a Git worktree fallback.
  • Verifies that a project-local worktree directory is ignored.
  • Runs project setup and baseline tests before implementation proceeds.
Limitations
  • Creating a worktree in an ordinary checkout requires user consent.
  • Baseline test failures pause the workflow and require a decision, adding startup time.
  • Setup detection is explicitly described only for Node.js, Rust, Python, and Go projects.
  • The source provides no standalone package or independent behavior-test results for this skill.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Isolated Git Workspace this page 52 · Use with care ★ 299k 15d ago MIT
Executing Plans 54 · Use with care ★ 299k 15d ago MIT
AGENTS.md Context Builder ✓ Microsoft · Official 54 · Use with care ★ 2.7k 3mo ago MIT
Worktree Manager Skill 59 · Recommended ★ 1.5k 8mo ago —
Jetson BSP Source Workspace Initializer ✓ NVIDIA · Official 58 · Recommended ★ 3.6k 11d ago Apache-2.0

When native workspace tools are available, the skill prefers them; otherwise it uses a manual Git worktree as the fallback.

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
52/ 100 5-point scale 2.6 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust16 / 25 · 3.2/5

The skill first detects isolation and requires consent before creating a worktree, and it requires checking that project-local directories are ignored. These controls support scoped operation and reduce repository pollution. Points are deducted because it automatically performs dependency installation, builds, and tests with possible network, filesystem, and environment side effects; sensitive-data handling, complete rollback/cleanup, and command permission boundaries are not specified.

2Reliability8 / 20 · 2.0/5

The sequence, submodule guard, native-tool preference, and user confirmation after failures are clear. Points are deducted because tool/dependency detection and test commands are coarse, with limited handling for missing tools, nonstandard or multilingual projects, branch conflicts, and failures beyond worktree creation; static review cannot prove execution, so the score stays at or below 10.

3Adaptability10 / 15 · 3.3/5

The trigger is clear: feature work requiring isolation or execution of an implementation plan. It also describes branches for existing worktrees, submodules, user refusal, and native tools. Points are deducted for limited handling of non-Git directories, complex repository layouts, Chinese-language prompts, and platform-specific commands, with incomplete non-fit boundaries.

4Convention8 / 15 · 2.7/5

The document has clear layers with overview, steps, quick reference, common mistakes, and red flags; repository context supplies an MIT license, version, and maintenance/community signals. Points are deducted because the skill lacks its own changelog, explicit maintenance owner, update path, parameter contract, and FAQ, while installation and dependency guidance relies on repository-level context.

5Effectiveness6 / 15 · 2.0/5

For a typical Git project, isolation detection, worktree creation, setup, and baseline testing address the core goal with directly usable reporting. Points are deducted because automatic installation and test selection may require manual adjustment, native-tool availability cannot be verified statically, and there is no skill-specific representative output or comparative evidence; the static cap is 7.

6Verifiability4 / 10 · 2.0/5

Commands, decision tables, and report templates provide auditable static evidence, and the repository includes general test material. Points are deducted because the supplied tests do not cover this skill's key paths, and there is no independent reproduction record or third-party execution evidence; the static cap is 5.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 19, 2026 Reviewed revision d884ae04edeb Review evidence[1][2][3][4][5][6][7]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does this skill require network access?
The SKILL.md specifies no network calls. It clearly uses shell, filesystem, and Git operations; some project setup commands may fetch dependencies depending on the project, but the source does not guarantee that behavior.
What happens if I am already in a worktree?
The skill skips worktree creation and reports the branch state. For detached HEAD, it reports that the workspace is externally managed and that branch creation may be needed at the end.
What happens when baseline tests fail?
The documented workflow reports the failures and asks whether to proceed or investigate.
Does it implement the feature itself?
No. Its scope is workspace isolation, project setup, and baseline verification before implementation.

More skills from this repository

All from obra/superpowers

Dev & Engineering

Executing Plans

Turn a written implementation plan into verified, checkpointed development work.

★ 299k FS 54 Use with care 15d ago
Dev & Engineering

Systematic Debugging

Find the root cause before changing code, reducing trial-and-error rework.

★ 299k FS 48 Use with care 15d ago
Dev & Engineering

Verification Before Completion

Require fresh evidence before claiming work is complete, fixed, or passing.

★ 299k FS 48 Use with care 15d ago
Dev & Engineering

Development Branch Finisher

Safely close completed development work after tests pass, with guided merge, PR, retention, or discard choices.

★ 299k FS 44 Not recommended 15d ago
Dev & Engineering

Continuous Code Review

Dispatch focused reviews after tasks, major features, and before merges to catch problems early.

★ 299k FS 53 Use with care 15d ago
Dev & Engineering

Writing Plans

Turn multi-step software requirements into executable, testable implementation plans.

★ 299k FS 53 Use with care 15d ago
Dev & Engineering

Test-Driven Development

Prove expected behavior with a failing test before writing implementation code.

★ 299k FS 52 Use with care 15d ago
Dev & Engineering

Design Before Code

Clarify intent, compare approaches, and secure an approved design before implementation begins.

★ 299k FS 50 Use with care 15d ago
Dev & Engineering

Subagent-Driven Development

Execute independent implementation tasks with fresh agents and review gates.

★ 299k FS 50 Use with care 15d ago
Dev & Engineering

Test-Driven Skill Authoring

Create, revise, and verify Agent Skills with a test-driven documentation workflow.

★ 299k FS 44 Not recommended 15d ago
Dev & Engineering

Rigorous Code Review Reception

Verify review feedback before changing code, then act on technical evidence.

★ 299k FS 52 Use with care 15d ago
Dev & Engineering

Parallel Agent Dispatch

Delegate independent engineering problems to focused agents and investigate them concurrently.

★ 299k FS 50 Use with care 15d ago
Dev & Engineering

Superpowers Skill Bootstrap

Ensures applicable skills are discovered and invoked before every response or action.

★ 299k FS 35 Not recommended 15d ago

Related skills