بنقرة واحدة
isolating
Create isolated git worktrees for feature work.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Create isolated git worktrees for feature work.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Post-implementation integrity and quality audit.
Session-start skill discovery protocol.
Structured root-cause investigation for bugs and failures.
Execute implementation plan task-by-task inline.
Complete work with merge, PR, or cleanup options.
Integrity guardrails during code implementation.
| name | isolating |
| description | Create isolated git worktrees for feature work. |
Announce at start: "I'm applying the isolating skill to set up a separate workspace."
Resolve the worktree root in this order — stop at first match:
.worktrees/ then worktrees/ in repo rootgrep -i "worktree.*director" CLAUDE.md.worktrees/ (project-local, hidden) or ~/.config/arsyn/worktrees/<project>/ (global)For project-local directories only:
git check-ignore -q .worktrees 2>/dev/null
If NOT ignored: add to .gitignore, commit, then proceed. Worktree contents tracked in git cause nested-repo confusion that is painful to untangle.
Global directories (~/.config/arsyn/worktrees/) skip this check entirely.
# 1. Detect project
project=$(basename "$(git rev-parse --show-toplevel)")
# 2. Create worktree + branch
git worktree add "$WORKTREE_ROOT/$BRANCH_NAME" -b "$BRANCH_NAME"
cd "$WORKTREE_ROOT/$BRANCH_NAME"
# 3. Install dependencies (auto-detect)
# 4. Run test suite for clean baseline
See references/setup-commands.md for dependency installation and test commands by ecosystem.
If baseline tests fail: report failures and ask whether to proceed or investigate. Do not silently continue.
Report when ready:
Worktree ready at <full-path>
Tests passing (<N> tests, 0 failures)
Ready to implement <feature-name>
| Situation | Action |
|---|---|
.worktrees/ exists | Use it (verify ignored) |
worktrees/ exists | Use it (verify ignored) |
| Both exist | Use .worktrees/ |
| Neither exists | Check CLAUDE.md, then ask |
| Directory not ignored | Add to .gitignore, commit |
| Tests fail at baseline | Report + ask |
| No recognizable build file | Skip dependency install |
git worktree list to audit; git worktree remove to clean.main/develop. Always git fetch and branch from the updated remote tip.git status and risk accidental commits.Called by:
Pairs with: