workspace-isolation
Skill12 starsChanged 6 months agoApache-2.0View on GitHub
Use before approved implementation plans or substantial feature/fix work when workspace isolation, branch provenance, setup baseline, or worktree safety must be decided.
2 other projects use a version of this.
Adopted by
Most recently taken up by
- NoobyGains/godmodetheir own version, first seen Mar 9, 2026
- qodex-ai/ai-agent-skillstheir own version, first seen Jan 5, 2026
Other versions2 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 2
- NoobyGains/godmode★ 107same name
- qodex-ai/ai-agent-skills★ 45same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository41 other files it gives its agents.
- AGENTS.mdAGENTS.md
- .claude/CLAUDE.mdCLAUDE.md
- CLAUDE.mdCLAUDE.md
- brainstormingSkill
- change-verificationSkill
- context-packet-fastpathSkill
- core-workflow-contractSkill
- developer-workflowSkill
- development-branch-closeoutSkill
- dispatching-parallel-agentsSkill
- evolution-loopSkill
- executing-plansSkill
- frontend-designer-workflowSkill
- frontend-design-guardrailsSkill
- quality-assurance-workflowSkill
- repo-init-gateSkill
- repo-init-manual-fallbackSkill
- repo-init-officialSkill
- repo-init-scanSkill
- root-cause-fixer-workflowSkill
- root-cause-investigationSkill
- search-fastpathSkill
- security-reviewer-workflowSkill
- senior-project-expertSkill
- senior-project-expert-workflowSkill
- spec-execution-fastpathSkill
- specification-writer-workflowSkill
- spec-review-gauntletSkill
- structured-reviewSkill
- subagent-driven-developmentSkill
- systematic-debuggingSkill
- target-instructions-bootstrapSkill
- target-memory-bootstrapSkill
- target-spec-bootstrapSkill
- td-java-coding-guidelinesSkill
- td-python-coding-guidelinesSkill
- technical-architect-workflowSkill
- test-driven-developmentSkill
- verification-before-completionSkill
- web-experience-auditSkill
- writing-plansSkill
The file
We split this skill into the rules it gives an agent
11 rules. About 0 are common, 4 are distinctive, and 7 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this before substantial implementation starts.
- Distinctive: line 14
Do not create, remove, or rewrite worktrees as a delegated specialist unless PM explicitly assigned that setup task.
- Very specific: line 25
If git-dir and git-common-dir differ and the repo is not a submodule, treat the checkout as already isolated.
- Distinctive: line 26
Prefer runtime-native workspace/worktree tools when available.
- Very specific: line 28
Prefer an existing ignored .worktrees/ directory.
- Very specific: line 30
If no ignored project-local directory exists, return NEEDS_USER_INPUT with options: add an ignored .worktrees/, use a user-named location, …
- Very specific: line 31
Run the smallest project setup and baseline checks from .github/instructions/project.instructions.md.
- Very specific: line 35
Never add .gitignore, create external directories, or run network-heavy setup unless authorized by PM/top-level flow and tool permissions.
- Very specific: line 36
Never delete a worktree here.
- Distinctive: line 37
Do not treat a submodule as an isolated worktree.
- Very specific: line 38
If sandbox or permissions block isolation, record isolation_status=blocked and continue only if PM chooses work-in-place or stops the task.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Workspace Isolation
Use this before substantial implementation starts. The goal is to protect the user's current checkout and create baseline evidence without fighting the runtime.
Ownership
- Top-level session or PM/coordinator owns isolation decisions.
- Specialists may request this skill through
NEEDS_CONTEXTwhen the packet lacks workspace, branch, or baseline facts. - Do not create, remove, or rewrite worktrees as a delegated specialist unless PM explicitly assigned that setup task.
Flow
- Detect current state:
git rev-parse --show-toplevelgit rev-parse --git-dirgit rev-parse --git-common-dirgit rev-parse --show-superproject-working-treegit branch --show-currentgit status --short
- If
git-dirandgit-common-dirdiffer and the repo is not a submodule, treat the checkout as already isolated. Record path, branch or detached state, and skip worktree creation. - Prefer runtime-native workspace/worktree tools when available. Do not use manual
git worktreewhen the host runtime owns isolation. - Manual worktree fallback is allowed only when the user already authorized implementation or isolation and the target directory is safe:
- Prefer an existing ignored
.worktrees/directory. - Otherwise prefer an existing ignored
worktrees/directory. - If no ignored project-local directory exists, return
NEEDS_USER_INPUTwith options: add an ignored.worktrees/, use a user-named location, or work in place.
- Prefer an existing ignored
- Run the smallest project setup and baseline checks from
.github/instructions/project.instructions.md. If those commands are unknown or fail, report the blocker before implementation.
Safety Rules
- Never add
.gitignore, create external directories, or run network-heavy setup unless authorized by PM/top-level flow and tool permissions. - Never delete a worktree here. Cleanup belongs to
development-branch-closeout. - Do not treat a submodule as an isolated worktree.
- If sandbox or permissions block isolation, record
isolation_status=blockedand continue only if PM chooses work-in-place or stops the task.
Output
Return or record these fields in the PM packet:
workspace_pathbranch_stateisolation_status:already_isolated | created | work_in_place | blockedbaseline_commandsbaseline_resultnext_owner
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

