.agents/skills/worktree-safety/SKILL.md
Safely operate in repositories that use Git worktrees or live inside a meta-workspace with multiple repos. Use when a task involves git roots, linked worktrees, pointer directories, or avoiding the wrong repository context.
npx skillsauth add yangshu2087/Codex worktree-safetyInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user task touches Git worktrees, multiple adjacent repositories, or a meta-workspace that is not itself a repo.
git rev-parse --show-toplevelgit worktree list when relevant/Users/yangshu/Codex; it is a meta-workspace, not a repository./Users/yangshu/Codex/codex-worktree-base is a real repo that hosts a persistent worktree./Users/yangshu/Codex/projects/codex-main is a normal local repo./Users/yangshu/Codex/projects/codex-head and /Users/yangshu/Codex/codex-worktree-head are worktree-related locations and should not be treated like independent repos without checking first.development
Use when explicitly reviewing, generating, refactoring, or migrating Terraform/OpenTofu IaC and checking failure modes such as identity churn, secrets, blast radius, CI drift, or compliance gates.
development
Use when the user explicitly mentions Google Stitch and wants a structured Stitch-ready UI prompt or prompt refinement from rough product/design ideas.
development
Use when the user explicitly mentions Google Stitch and asks to convert Stitch designs into Vite, CRA, or generic React components.
development
Use when the user explicitly mentions Google Stitch and asks to convert Stitch designs into Next.js App Router components.