using-git-worktrees Skill
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback Published by openai in plugins.
What is using-git-worktrees Skill?
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback Published by openai in plugins. This profile combines repository metadata with install, compatibility, and usage signals so developers can quickly decide whether it fits their agent workflow before opening the source repository.
Automated repository signals based on public metadata such as recency, license, installation evidence, and adoption. These are not a security audit or endorsement.
Key capabilities
- Includes SKILL.md support
- Reusable instructions support
- Developers using plugins
Technical details
- Install or run with Copy skill directory
When to use using-git-worktrees Skill
- Use it for developers using plugins.
Built with
Editorial notes
Source
- Creator: openai
- Repository: openai/plugins
- Skill file: plugins/superpowers/skills/using-git-worktrees/SKILL.md
What it does
Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
Skill instructions
Using Git Worktrees Overview Ensure work happens in an isolated workspace. Prefer your platform's native worktree tools. Fall back to manual git worktrees only when no native tool is available. Core principle: Detect existing isolation first. Then use native tools. Then fall back to git. Never fight the harness. Announce at start: "I'm using the using-git-worktrees skill to set up an isolated workspace." Step 0: Detect Existing Isolation Before creating anything, check if you are already in an isolated workspace. bash GITDIR=$(cd "$(git rev-parse --git-dir)" 2/dev/null && pwd -P) GITCOMMON=$(cd "$(git rev-parse --git-common-dir)" 2/dev/null && pwd -P) BRANCH=$(git branch --show-current) Submodule guard: GITDIR != GITCOMMON is also true inside git submodules. Before concluding "already in a worktree," verify you are not in a submodule: bash If this returns a path, you're in a submodule, not a worktree — treat as normal repo git rev-parse --show-superproject-working-tree 2/dev/null If GI
Explore related resources
Frequently asked questions
What is using-git-worktrees?
using-git-worktrees is a open-source AI agent skill with Copy skill directory. Use when starting feature work that needs isolation from current workspace or before executing implementation plans - ensures an isolated workspace exists via native tools or git worktree fallback
Who is using-git-worktrees best for?
using-git-worktrees is best for reusing agent instructions, scripts, and references.
How do I install using-git-worktrees?
Install or run using-git-worktrees using Copy skill directory. Check using-git-worktrees for the latest setup command.
Is using-git-worktrees actively maintained?
using-git-worktrees may need a closer maintenance check before production use.
Auto-fetched from GitHub.