[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill-openai-using-git-worktrees":3,"mdc--70m5tc-key":33,"related-org-openai-using-git-worktrees":1959,"related-repo-openai-using-git-worktrees":2164},{"slug":4,"name":4,"fn":5,"description":6,"org":7,"tags":11,"stars":22,"repoUrl":23,"updatedAt":24,"license":25,"forks":26,"topics":27,"repo":28,"sourceUrl":31,"mdContent":32},"using-git-worktrees","manage isolated feature work with Git worktrees","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",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},"openai","OpenAI","https:\u002F\u002Fpexgzepcugksgbtrxkhf.supabase.co\u002Fstorage\u002Fv1\u002Fobject\u002Fpublic\u002Forg-logos\u002Fopenai.png",[12,16,19],{"name":13,"slug":14,"type":15},"Productivity","productivity","tag",{"name":17,"slug":18,"type":15},"Git","git",{"name":20,"slug":21,"type":15},"Engineering","engineering",3992,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins","2026-04-16T05:12:04.429433",null,465,[],{"repoUrl":23,"stars":22,"forks":26,"topics":29,"description":30},[],"OpenAI Plugins","https:\u002F\u002Fgithub.com\u002Fopenai\u002Fplugins\u002Ftree\u002FHEAD\u002Fplugins\u002Fsuperpowers\u002Fskills\u002Fusing-git-worktrees","---\nname: using-git-worktrees\ndescription: 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\n---\n\n# Using Git Worktrees\n\n## Overview\n\nEnsure 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.\n\n**Core principle:** Detect existing isolation first. Then use native tools. Then fall back to git. Never fight the harness.\n\n**Announce at start:** \"I'm using the using-git-worktrees skill to set up an isolated workspace.\"\n\n## Step 0: Detect Existing Isolation\n\n**Before creating anything, check if you are already in an isolated workspace.**\n\n```bash\nGIT_DIR=$(cd \"$(git rev-parse --git-dir)\" 2>\u002Fdev\u002Fnull && pwd -P)\nGIT_COMMON=$(cd \"$(git rev-parse --git-common-dir)\" 2>\u002Fdev\u002Fnull && pwd -P)\nBRANCH=$(git branch --show-current)\n```\n\n**Submodule guard:** `GIT_DIR != GIT_COMMON` is also true inside git submodules. Before concluding \"already in a worktree,\" verify you are not in a submodule:\n\n```bash\n# If this returns a path, you're in a submodule, not a worktree — treat as normal repo\ngit rev-parse --show-superproject-working-tree 2>\u002Fdev\u002Fnull\n```\n\n**If `GIT_DIR != GIT_COMMON` (and not a submodule):** You are already in a linked worktree. Skip to Step 3 (Project Setup). Do NOT create another worktree.\n\nReport with branch state:\n- On a branch: \"Already in isolated workspace at `\u003Cpath>` on branch `\u003Cname>`.\"\n- Detached HEAD: \"Already in isolated workspace at `\u003Cpath>` (detached HEAD, externally managed). Branch creation needed at finish time.\"\n\n**If `GIT_DIR == GIT_COMMON` (or in a submodule):** You are in a normal repo checkout.\n\nHas the user already indicated their worktree preference in your instructions? If not, ask for consent before creating a worktree:\n\n> \"Would you like me to set up an isolated worktree? It protects your current branch from changes.\"\n\nHonor any existing declared preference without asking. If the user declines consent, work in place and skip to Step 3.\n\n## Step 1: Create Isolated Workspace\n\n**You have two mechanisms. Try them in this order.**\n\n### 1a. Native Worktree Tools (preferred)\n\nThe user has asked for an isolated workspace (Step 0 consent). Do you already have a way to create a worktree? It might be a tool with a name like `EnterWorktree`, `WorktreeCreate`, a `\u002Fworktree` command, or a `--worktree` flag. If you do, use it and skip to Step 3.\n\nNative tools handle directory placement, branch creation, and cleanup automatically. Using `git worktree add` when you have a native tool creates phantom state your harness can't see or manage.\n\nOnly proceed to Step 1b if you have no native worktree tool available.\n\n### 1b. Git Worktree Fallback\n\n**Only use this if Step 1a does not apply** — you have no native worktree tool available. Create a worktree manually using git.\n\n#### Directory Selection\n\nFollow this priority order. Explicit user preference always beats observed filesystem state.\n\n1. **Check your instructions for a declared worktree directory preference.** If the user has already specified one, use it without asking.\n\n2. **Check for an existing project-local worktree directory:**\n   ```bash\n   ls -d .worktrees 2>\u002Fdev\u002Fnull     # Preferred (hidden)\n   ls -d worktrees 2>\u002Fdev\u002Fnull      # Alternative\n   ```\n   If found, use it. If both exist, `.worktrees` wins.\n\n3. **Check for an existing global directory:**\n   ```bash\n   project=$(basename \"$(git rev-parse --show-toplevel)\")\n   ls -d ~\u002F.config\u002Fsuperpowers\u002Fworktrees\u002F$project 2>\u002Fdev\u002Fnull\n   ```\n   If found, use it (backward compatibility with legacy global path).\n\n4. **If there is no other guidance available**, default to `.worktrees\u002F` at the project root.\n\n#### Safety Verification (project-local directories only)\n\n**MUST verify directory is ignored before creating worktree:**\n\n```bash\ngit check-ignore -q .worktrees 2>\u002Fdev\u002Fnull || git check-ignore -q worktrees 2>\u002Fdev\u002Fnull\n```\n\n**If NOT ignored:** Add to .gitignore, commit the change, then proceed.\n\n**Why critical:** Prevents accidentally committing worktree contents to repository.\n\nGlobal directories (`~\u002F.config\u002Fsuperpowers\u002Fworktrees\u002F`) need no verification.\n\n#### Create the Worktree\n\n```bash\nproject=$(basename \"$(git rev-parse --show-toplevel)\")\n\n# Determine path based on chosen location\n# For project-local: path=\"$LOCATION\u002F$BRANCH_NAME\"\n# For global: path=\"~\u002F.config\u002Fsuperpowers\u002Fworktrees\u002F$project\u002F$BRANCH_NAME\"\n\ngit worktree add \"$path\" -b \"$BRANCH_NAME\"\ncd \"$path\"\n```\n\n**Sandbox fallback:** If `git worktree add` fails with a permission error (sandbox denial), tell the user the sandbox blocked worktree creation and you're working in the current directory instead. Then run setup and baseline tests in place.\n\n## Step 3: Project Setup\n\nAuto-detect and run appropriate setup:\n\n```bash\n# Node.js\nif [ -f package.json ]; then npm install; fi\n\n# Rust\nif [ -f Cargo.toml ]; then cargo build; fi\n\n# Python\nif [ -f requirements.txt ]; then pip install -r requirements.txt; fi\nif [ -f pyproject.toml ]; then poetry install; fi\n\n# Go\nif [ -f go.mod ]; then go mod download; fi\n```\n\n## Step 4: Verify Clean Baseline\n\nRun tests to ensure workspace starts clean:\n\n```bash\n# Use project-appropriate command\nnpm test \u002F cargo test \u002F pytest \u002F go test .\u002F...\n```\n\n**If tests fail:** Report failures, ask whether to proceed or investigate.\n\n**If tests pass:** Report ready.\n\n### Report\n\n```\nWorktree ready at \u003Cfull-path>\nTests passing (\u003CN> tests, 0 failures)\nReady to implement \u003Cfeature-name>\n```\n\n## Quick Reference\n\n| Situation | Action |\n|-----------|--------|\n| Already in linked worktree | Skip creation (Step 0) |\n| In a submodule | Treat as normal repo (Step 0 guard) |\n| Native worktree tool available | Use it (Step 1a) |\n| No native tool | Git worktree fallback (Step 1b) |\n| `.worktrees\u002F` exists | Use it (verify ignored) |\n| `worktrees\u002F` exists | Use it (verify ignored) |\n| Both exist | Use `.worktrees\u002F` |\n| Neither exists | Check instruction file, then default `.worktrees\u002F` |\n| Global path exists | Use it (backward compat) |\n| Directory not ignored | Add to .gitignore + commit |\n| Permission error on create | Sandbox fallback, work in place |\n| Tests fail during baseline | Report failures + ask |\n| No package.json\u002FCargo.toml | Skip dependency install |\n\n## Common Mistakes\n\n### Fighting the harness\n\n- **Problem:** Using `git worktree add` when the platform already provides isolation\n- **Fix:** Step 0 detects existing isolation. Step 1a defers to native tools.\n\n### Skipping detection\n\n- **Problem:** Creating a nested worktree inside an existing one\n- **Fix:** Always run Step 0 before creating anything\n\n### Skipping ignore verification\n\n- **Problem:** Worktree contents get tracked, pollute git status\n- **Fix:** Always use `git check-ignore` before creating project-local worktree\n\n### Assuming directory location\n\n- **Problem:** Creates inconsistency, violates project conventions\n- **Fix:** Follow priority: existing > global legacy > instruction file > default\n\n### Proceeding with failing tests\n\n- **Problem:** Can't distinguish new bugs from pre-existing issues\n- **Fix:** Report failures, get explicit permission to proceed\n\n## Red Flags\n\n**Never:**\n- Create a worktree when Step 0 detects existing isolation\n- Use `git worktree add` when you have a native worktree tool (e.g., `EnterWorktree`). This is the #1 mistake — if you have it, use it.\n- Skip Step 1a by jumping straight to Step 1b's git commands\n- Create worktree without verifying it's ignored (project-local)\n- Skip baseline test verification\n- Proceed with failing tests without asking\n\n**Always:**\n- Run Step 0 detection first\n- Prefer native tools over git fallback\n- Follow directory priority: existing > global legacy > instruction file > default\n- Verify directory is ignored for project-local\n- Auto-detect and run project setup\n- Verify clean test baseline\n",{"data":34,"body":35},{"name":4,"description":6},{"type":36,"children":37},"root",[38,46,53,59,70,80,86,94,270,288,330,347,352,390,407,412,421,426,432,440,447,484,497,502,508,518,525,530,739,745,753,819,829,839,852,858,1015,1032,1038,1043,1358,1364,1369,1436,1446,1456,1462,1472,1478,1694,1700,1706,1736,1742,1763,1769,1798,1804,1825,1831,1852,1858,1866,1912,1920,1953],{"type":39,"tag":40,"props":41,"children":42},"element","h1",{"id":4},[43],{"type":44,"value":45},"text","Using Git Worktrees",{"type":39,"tag":47,"props":48,"children":50},"h2",{"id":49},"overview",[51],{"type":44,"value":52},"Overview",{"type":39,"tag":54,"props":55,"children":56},"p",{},[57],{"type":44,"value":58},"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.",{"type":39,"tag":54,"props":60,"children":61},{},[62,68],{"type":39,"tag":63,"props":64,"children":65},"strong",{},[66],{"type":44,"value":67},"Core principle:",{"type":44,"value":69}," Detect existing isolation first. Then use native tools. Then fall back to git. Never fight the harness.",{"type":39,"tag":54,"props":71,"children":72},{},[73,78],{"type":39,"tag":63,"props":74,"children":75},{},[76],{"type":44,"value":77},"Announce at start:",{"type":44,"value":79}," \"I'm using the using-git-worktrees skill to set up an isolated workspace.\"",{"type":39,"tag":47,"props":81,"children":83},{"id":82},"step-0-detect-existing-isolation",[84],{"type":44,"value":85},"Step 0: Detect Existing Isolation",{"type":39,"tag":54,"props":87,"children":88},{},[89],{"type":39,"tag":63,"props":90,"children":91},{},[92],{"type":44,"value":93},"Before creating anything, check if you are already in an isolated workspace.",{"type":39,"tag":95,"props":96,"children":101},"pre",{"className":97,"code":98,"language":99,"meta":100,"style":100},"language-bash shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","GIT_DIR=$(cd \"$(git rev-parse --git-dir)\" 2>\u002Fdev\u002Fnull && pwd -P)\nGIT_COMMON=$(cd \"$(git rev-parse --git-common-dir)\" 2>\u002Fdev\u002Fnull && pwd -P)\nBRANCH=$(git branch --show-current)\n","bash","",[102],{"type":39,"tag":103,"props":104,"children":105},"code",{"__ignoreMap":100},[106,181,239],{"type":39,"tag":107,"props":108,"children":111},"span",{"class":109,"line":110},"line",1,[112,118,124,130,135,140,146,151,156,161,166,171,176],{"type":39,"tag":107,"props":113,"children":115},{"style":114},"--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8",[116],{"type":44,"value":117},"GIT_DIR",{"type":39,"tag":107,"props":119,"children":121},{"style":120},"--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF",[122],{"type":44,"value":123},"=$(",{"type":39,"tag":107,"props":125,"children":127},{"style":126},"--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF",[128],{"type":44,"value":129},"cd",{"type":39,"tag":107,"props":131,"children":132},{"style":120},[133],{"type":44,"value":134}," \"$(",{"type":39,"tag":107,"props":136,"children":138},{"style":137},"--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B",[139],{"type":44,"value":18},{"type":39,"tag":107,"props":141,"children":143},{"style":142},"--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D",[144],{"type":44,"value":145}," rev-parse --git-dir",{"type":39,"tag":107,"props":147,"children":148},{"style":120},[149],{"type":44,"value":150},")\"",{"type":39,"tag":107,"props":152,"children":153},{"style":120},[154],{"type":44,"value":155}," 2>",{"type":39,"tag":107,"props":157,"children":158},{"style":142},[159],{"type":44,"value":160},"\u002Fdev\u002Fnull",{"type":39,"tag":107,"props":162,"children":163},{"style":120},[164],{"type":44,"value":165}," &&",{"type":39,"tag":107,"props":167,"children":168},{"style":126},[169],{"type":44,"value":170}," pwd",{"type":39,"tag":107,"props":172,"children":173},{"style":142},[174],{"type":44,"value":175}," -P",{"type":39,"tag":107,"props":177,"children":178},{"style":120},[179],{"type":44,"value":180},")\n",{"type":39,"tag":107,"props":182,"children":184},{"class":109,"line":183},2,[185,190,194,198,202,206,211,215,219,223,227,231,235],{"type":39,"tag":107,"props":186,"children":187},{"style":114},[188],{"type":44,"value":189},"GIT_COMMON",{"type":39,"tag":107,"props":191,"children":192},{"style":120},[193],{"type":44,"value":123},{"type":39,"tag":107,"props":195,"children":196},{"style":126},[197],{"type":44,"value":129},{"type":39,"tag":107,"props":199,"children":200},{"style":120},[201],{"type":44,"value":134},{"type":39,"tag":107,"props":203,"children":204},{"style":137},[205],{"type":44,"value":18},{"type":39,"tag":107,"props":207,"children":208},{"style":142},[209],{"type":44,"value":210}," rev-parse --git-common-dir",{"type":39,"tag":107,"props":212,"children":213},{"style":120},[214],{"type":44,"value":150},{"type":39,"tag":107,"props":216,"children":217},{"style":120},[218],{"type":44,"value":155},{"type":39,"tag":107,"props":220,"children":221},{"style":142},[222],{"type":44,"value":160},{"type":39,"tag":107,"props":224,"children":225},{"style":120},[226],{"type":44,"value":165},{"type":39,"tag":107,"props":228,"children":229},{"style":126},[230],{"type":44,"value":170},{"type":39,"tag":107,"props":232,"children":233},{"style":142},[234],{"type":44,"value":175},{"type":39,"tag":107,"props":236,"children":237},{"style":120},[238],{"type":44,"value":180},{"type":39,"tag":107,"props":240,"children":242},{"class":109,"line":241},3,[243,248,252,256,261,266],{"type":39,"tag":107,"props":244,"children":245},{"style":114},[246],{"type":44,"value":247},"BRANCH",{"type":39,"tag":107,"props":249,"children":250},{"style":120},[251],{"type":44,"value":123},{"type":39,"tag":107,"props":253,"children":254},{"style":137},[255],{"type":44,"value":18},{"type":39,"tag":107,"props":257,"children":258},{"style":142},[259],{"type":44,"value":260}," branch",{"type":39,"tag":107,"props":262,"children":263},{"style":142},[264],{"type":44,"value":265}," --show-current",{"type":39,"tag":107,"props":267,"children":268},{"style":120},[269],{"type":44,"value":180},{"type":39,"tag":54,"props":271,"children":272},{},[273,278,280,286],{"type":39,"tag":63,"props":274,"children":275},{},[276],{"type":44,"value":277},"Submodule guard:",{"type":44,"value":279}," ",{"type":39,"tag":103,"props":281,"children":283},{"className":282},[],[284],{"type":44,"value":285},"GIT_DIR != GIT_COMMON",{"type":44,"value":287}," is also true inside git submodules. Before concluding \"already in a worktree,\" verify you are not in a submodule:",{"type":39,"tag":95,"props":289,"children":291},{"className":97,"code":290,"language":99,"meta":100,"style":100},"# If this returns a path, you're in a submodule, not a worktree — treat as normal repo\ngit rev-parse --show-superproject-working-tree 2>\u002Fdev\u002Fnull\n",[292],{"type":39,"tag":103,"props":293,"children":294},{"__ignoreMap":100},[295,304],{"type":39,"tag":107,"props":296,"children":297},{"class":109,"line":110},[298],{"type":39,"tag":107,"props":299,"children":301},{"style":300},"--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic",[302],{"type":44,"value":303},"# If this returns a path, you're in a submodule, not a worktree — treat as normal repo\n",{"type":39,"tag":107,"props":305,"children":306},{"class":109,"line":183},[307,311,316,321,325],{"type":39,"tag":107,"props":308,"children":309},{"style":137},[310],{"type":44,"value":18},{"type":39,"tag":107,"props":312,"children":313},{"style":142},[314],{"type":44,"value":315}," rev-parse",{"type":39,"tag":107,"props":317,"children":318},{"style":142},[319],{"type":44,"value":320}," --show-superproject-working-tree",{"type":39,"tag":107,"props":322,"children":323},{"style":120},[324],{"type":44,"value":155},{"type":39,"tag":107,"props":326,"children":327},{"style":142},[328],{"type":44,"value":329},"\u002Fdev\u002Fnull\n",{"type":39,"tag":54,"props":331,"children":332},{},[333,345],{"type":39,"tag":63,"props":334,"children":335},{},[336,338,343],{"type":44,"value":337},"If ",{"type":39,"tag":103,"props":339,"children":341},{"className":340},[],[342],{"type":44,"value":285},{"type":44,"value":344}," (and not a submodule):",{"type":44,"value":346}," You are already in a linked worktree. Skip to Step 3 (Project Setup). Do NOT create another worktree.",{"type":39,"tag":54,"props":348,"children":349},{},[350],{"type":44,"value":351},"Report with branch state:",{"type":39,"tag":353,"props":354,"children":355},"ul",{},[356,378],{"type":39,"tag":357,"props":358,"children":359},"li",{},[360,362,368,370,376],{"type":44,"value":361},"On a branch: \"Already in isolated workspace at ",{"type":39,"tag":103,"props":363,"children":365},{"className":364},[],[366],{"type":44,"value":367},"\u003Cpath>",{"type":44,"value":369}," on branch ",{"type":39,"tag":103,"props":371,"children":373},{"className":372},[],[374],{"type":44,"value":375},"\u003Cname>",{"type":44,"value":377},".\"",{"type":39,"tag":357,"props":379,"children":380},{},[381,383,388],{"type":44,"value":382},"Detached HEAD: \"Already in isolated workspace at ",{"type":39,"tag":103,"props":384,"children":386},{"className":385},[],[387],{"type":44,"value":367},{"type":44,"value":389}," (detached HEAD, externally managed). Branch creation needed at finish time.\"",{"type":39,"tag":54,"props":391,"children":392},{},[393,405],{"type":39,"tag":63,"props":394,"children":395},{},[396,397,403],{"type":44,"value":337},{"type":39,"tag":103,"props":398,"children":400},{"className":399},[],[401],{"type":44,"value":402},"GIT_DIR == GIT_COMMON",{"type":44,"value":404}," (or in a submodule):",{"type":44,"value":406}," You are in a normal repo checkout.",{"type":39,"tag":54,"props":408,"children":409},{},[410],{"type":44,"value":411},"Has the user already indicated their worktree preference in your instructions? If not, ask for consent before creating a worktree:",{"type":39,"tag":413,"props":414,"children":415},"blockquote",{},[416],{"type":39,"tag":54,"props":417,"children":418},{},[419],{"type":44,"value":420},"\"Would you like me to set up an isolated worktree? It protects your current branch from changes.\"",{"type":39,"tag":54,"props":422,"children":423},{},[424],{"type":44,"value":425},"Honor any existing declared preference without asking. If the user declines consent, work in place and skip to Step 3.",{"type":39,"tag":47,"props":427,"children":429},{"id":428},"step-1-create-isolated-workspace",[430],{"type":44,"value":431},"Step 1: Create Isolated Workspace",{"type":39,"tag":54,"props":433,"children":434},{},[435],{"type":39,"tag":63,"props":436,"children":437},{},[438],{"type":44,"value":439},"You have two mechanisms. Try them in this order.",{"type":39,"tag":441,"props":442,"children":444},"h3",{"id":443},"_1a-native-worktree-tools-preferred",[445],{"type":44,"value":446},"1a. Native Worktree Tools (preferred)",{"type":39,"tag":54,"props":448,"children":449},{},[450,452,458,460,466,468,474,476,482],{"type":44,"value":451},"The user has asked for an isolated workspace (Step 0 consent). Do you already have a way to create a worktree? It might be a tool with a name like ",{"type":39,"tag":103,"props":453,"children":455},{"className":454},[],[456],{"type":44,"value":457},"EnterWorktree",{"type":44,"value":459},", ",{"type":39,"tag":103,"props":461,"children":463},{"className":462},[],[464],{"type":44,"value":465},"WorktreeCreate",{"type":44,"value":467},", a ",{"type":39,"tag":103,"props":469,"children":471},{"className":470},[],[472],{"type":44,"value":473},"\u002Fworktree",{"type":44,"value":475}," command, or a ",{"type":39,"tag":103,"props":477,"children":479},{"className":478},[],[480],{"type":44,"value":481},"--worktree",{"type":44,"value":483}," flag. If you do, use it and skip to Step 3.",{"type":39,"tag":54,"props":485,"children":486},{},[487,489,495],{"type":44,"value":488},"Native tools handle directory placement, branch creation, and cleanup automatically. Using ",{"type":39,"tag":103,"props":490,"children":492},{"className":491},[],[493],{"type":44,"value":494},"git worktree add",{"type":44,"value":496}," when you have a native tool creates phantom state your harness can't see or manage.",{"type":39,"tag":54,"props":498,"children":499},{},[500],{"type":44,"value":501},"Only proceed to Step 1b if you have no native worktree tool available.",{"type":39,"tag":441,"props":503,"children":505},{"id":504},"_1b-git-worktree-fallback",[506],{"type":44,"value":507},"1b. Git Worktree Fallback",{"type":39,"tag":54,"props":509,"children":510},{},[511,516],{"type":39,"tag":63,"props":512,"children":513},{},[514],{"type":44,"value":515},"Only use this if Step 1a does not apply",{"type":44,"value":517}," — you have no native worktree tool available. Create a worktree manually using git.",{"type":39,"tag":519,"props":520,"children":522},"h4",{"id":521},"directory-selection",[523],{"type":44,"value":524},"Directory Selection",{"type":39,"tag":54,"props":526,"children":527},{},[528],{"type":44,"value":529},"Follow this priority order. Explicit user preference always beats observed filesystem state.",{"type":39,"tag":531,"props":532,"children":533},"ol",{},[534,544,633,721],{"type":39,"tag":357,"props":535,"children":536},{},[537,542],{"type":39,"tag":63,"props":538,"children":539},{},[540],{"type":44,"value":541},"Check your instructions for a declared worktree directory preference.",{"type":44,"value":543}," If the user has already specified one, use it without asking.",{"type":39,"tag":357,"props":545,"children":546},{},[547,552,619,623,625,631],{"type":39,"tag":63,"props":548,"children":549},{},[550],{"type":44,"value":551},"Check for an existing project-local worktree directory:",{"type":39,"tag":95,"props":553,"children":555},{"className":97,"code":554,"language":99,"meta":100,"style":100},"ls -d .worktrees 2>\u002Fdev\u002Fnull     # Preferred (hidden)\nls -d worktrees 2>\u002Fdev\u002Fnull      # Alternative\n",[556],{"type":39,"tag":103,"props":557,"children":558},{"__ignoreMap":100},[559,590],{"type":39,"tag":107,"props":560,"children":561},{"class":109,"line":110},[562,567,572,577,581,585],{"type":39,"tag":107,"props":563,"children":564},{"style":137},[565],{"type":44,"value":566},"ls",{"type":39,"tag":107,"props":568,"children":569},{"style":142},[570],{"type":44,"value":571}," -d",{"type":39,"tag":107,"props":573,"children":574},{"style":142},[575],{"type":44,"value":576}," .worktrees",{"type":39,"tag":107,"props":578,"children":579},{"style":120},[580],{"type":44,"value":155},{"type":39,"tag":107,"props":582,"children":583},{"style":142},[584],{"type":44,"value":160},{"type":39,"tag":107,"props":586,"children":587},{"style":300},[588],{"type":44,"value":589},"     # Preferred (hidden)\n",{"type":39,"tag":107,"props":591,"children":592},{"class":109,"line":183},[593,597,601,606,610,614],{"type":39,"tag":107,"props":594,"children":595},{"style":137},[596],{"type":44,"value":566},{"type":39,"tag":107,"props":598,"children":599},{"style":142},[600],{"type":44,"value":571},{"type":39,"tag":107,"props":602,"children":603},{"style":142},[604],{"type":44,"value":605}," worktrees",{"type":39,"tag":107,"props":607,"children":608},{"style":120},[609],{"type":44,"value":155},{"type":39,"tag":107,"props":611,"children":612},{"style":142},[613],{"type":44,"value":160},{"type":39,"tag":107,"props":615,"children":616},{"style":300},[617],{"type":44,"value":618},"      # Alternative\n",{"type":39,"tag":620,"props":621,"children":622},"br",{},[],{"type":44,"value":624},"If found, use it. If both exist, ",{"type":39,"tag":103,"props":626,"children":628},{"className":627},[],[629],{"type":44,"value":630},".worktrees",{"type":44,"value":632}," wins.",{"type":39,"tag":357,"props":634,"children":635},{},[636,641,716,719],{"type":39,"tag":63,"props":637,"children":638},{},[639],{"type":44,"value":640},"Check for an existing global directory:",{"type":39,"tag":95,"props":642,"children":644},{"className":97,"code":643,"language":99,"meta":100,"style":100},"project=$(basename \"$(git rev-parse --show-toplevel)\")\nls -d ~\u002F.config\u002Fsuperpowers\u002Fworktrees\u002F$project 2>\u002Fdev\u002Fnull\n",[645],{"type":39,"tag":103,"props":646,"children":647},{"__ignoreMap":100},[648,686],{"type":39,"tag":107,"props":649,"children":650},{"class":109,"line":110},[651,656,660,665,669,673,678,682],{"type":39,"tag":107,"props":652,"children":653},{"style":114},[654],{"type":44,"value":655},"project",{"type":39,"tag":107,"props":657,"children":658},{"style":120},[659],{"type":44,"value":123},{"type":39,"tag":107,"props":661,"children":662},{"style":137},[663],{"type":44,"value":664},"basename",{"type":39,"tag":107,"props":666,"children":667},{"style":120},[668],{"type":44,"value":134},{"type":39,"tag":107,"props":670,"children":671},{"style":137},[672],{"type":44,"value":18},{"type":39,"tag":107,"props":674,"children":675},{"style":142},[676],{"type":44,"value":677}," rev-parse --show-toplevel",{"type":39,"tag":107,"props":679,"children":680},{"style":120},[681],{"type":44,"value":150},{"type":39,"tag":107,"props":683,"children":684},{"style":120},[685],{"type":44,"value":180},{"type":39,"tag":107,"props":687,"children":688},{"class":109,"line":183},[689,693,697,702,707,712],{"type":39,"tag":107,"props":690,"children":691},{"style":137},[692],{"type":44,"value":566},{"type":39,"tag":107,"props":694,"children":695},{"style":142},[696],{"type":44,"value":571},{"type":39,"tag":107,"props":698,"children":699},{"style":142},[700],{"type":44,"value":701}," ~\u002F.config\u002Fsuperpowers\u002Fworktrees\u002F",{"type":39,"tag":107,"props":703,"children":704},{"style":114},[705],{"type":44,"value":706},"$project ",{"type":39,"tag":107,"props":708,"children":709},{"style":120},[710],{"type":44,"value":711},"2>",{"type":39,"tag":107,"props":713,"children":714},{"style":142},[715],{"type":44,"value":329},{"type":39,"tag":620,"props":717,"children":718},{},[],{"type":44,"value":720},"If found, use it (backward compatibility with legacy global path).",{"type":39,"tag":357,"props":722,"children":723},{},[724,729,731,737],{"type":39,"tag":63,"props":725,"children":726},{},[727],{"type":44,"value":728},"If there is no other guidance available",{"type":44,"value":730},", default to ",{"type":39,"tag":103,"props":732,"children":734},{"className":733},[],[735],{"type":44,"value":736},".worktrees\u002F",{"type":44,"value":738}," at the project root.",{"type":39,"tag":519,"props":740,"children":742},{"id":741},"safety-verification-project-local-directories-only",[743],{"type":44,"value":744},"Safety Verification (project-local directories only)",{"type":39,"tag":54,"props":746,"children":747},{},[748],{"type":39,"tag":63,"props":749,"children":750},{},[751],{"type":44,"value":752},"MUST verify directory is ignored before creating worktree:",{"type":39,"tag":95,"props":754,"children":756},{"className":97,"code":755,"language":99,"meta":100,"style":100},"git check-ignore -q .worktrees 2>\u002Fdev\u002Fnull || git check-ignore -q worktrees 2>\u002Fdev\u002Fnull\n",[757],{"type":39,"tag":103,"props":758,"children":759},{"__ignoreMap":100},[760],{"type":39,"tag":107,"props":761,"children":762},{"class":109,"line":110},[763,767,772,777,781,785,789,794,799,803,807,811,815],{"type":39,"tag":107,"props":764,"children":765},{"style":137},[766],{"type":44,"value":18},{"type":39,"tag":107,"props":768,"children":769},{"style":142},[770],{"type":44,"value":771}," check-ignore",{"type":39,"tag":107,"props":773,"children":774},{"style":142},[775],{"type":44,"value":776}," -q",{"type":39,"tag":107,"props":778,"children":779},{"style":142},[780],{"type":44,"value":576},{"type":39,"tag":107,"props":782,"children":783},{"style":120},[784],{"type":44,"value":155},{"type":39,"tag":107,"props":786,"children":787},{"style":142},[788],{"type":44,"value":160},{"type":39,"tag":107,"props":790,"children":791},{"style":120},[792],{"type":44,"value":793}," ||",{"type":39,"tag":107,"props":795,"children":796},{"style":137},[797],{"type":44,"value":798}," git",{"type":39,"tag":107,"props":800,"children":801},{"style":142},[802],{"type":44,"value":771},{"type":39,"tag":107,"props":804,"children":805},{"style":142},[806],{"type":44,"value":776},{"type":39,"tag":107,"props":808,"children":809},{"style":142},[810],{"type":44,"value":605},{"type":39,"tag":107,"props":812,"children":813},{"style":120},[814],{"type":44,"value":155},{"type":39,"tag":107,"props":816,"children":817},{"style":142},[818],{"type":44,"value":329},{"type":39,"tag":54,"props":820,"children":821},{},[822,827],{"type":39,"tag":63,"props":823,"children":824},{},[825],{"type":44,"value":826},"If NOT ignored:",{"type":44,"value":828}," Add to .gitignore, commit the change, then proceed.",{"type":39,"tag":54,"props":830,"children":831},{},[832,837],{"type":39,"tag":63,"props":833,"children":834},{},[835],{"type":44,"value":836},"Why critical:",{"type":44,"value":838}," Prevents accidentally committing worktree contents to repository.",{"type":39,"tag":54,"props":840,"children":841},{},[842,844,850],{"type":44,"value":843},"Global directories (",{"type":39,"tag":103,"props":845,"children":847},{"className":846},[],[848],{"type":44,"value":849},"~\u002F.config\u002Fsuperpowers\u002Fworktrees\u002F",{"type":44,"value":851},") need no verification.",{"type":39,"tag":519,"props":853,"children":855},{"id":854},"create-the-worktree",[856],{"type":44,"value":857},"Create the Worktree",{"type":39,"tag":95,"props":859,"children":861},{"className":97,"code":860,"language":99,"meta":100,"style":100},"project=$(basename \"$(git rev-parse --show-toplevel)\")\n\n# Determine path based on chosen location\n# For project-local: path=\"$LOCATION\u002F$BRANCH_NAME\"\n# For global: path=\"~\u002F.config\u002Fsuperpowers\u002Fworktrees\u002F$project\u002F$BRANCH_NAME\"\n\ngit worktree add \"$path\" -b \"$BRANCH_NAME\"\ncd \"$path\"\n",[862],{"type":39,"tag":103,"props":863,"children":864},{"__ignoreMap":100},[865,900,909,917,926,935,943,995],{"type":39,"tag":107,"props":866,"children":867},{"class":109,"line":110},[868,872,876,880,884,888,892,896],{"type":39,"tag":107,"props":869,"children":870},{"style":114},[871],{"type":44,"value":655},{"type":39,"tag":107,"props":873,"children":874},{"style":120},[875],{"type":44,"value":123},{"type":39,"tag":107,"props":877,"children":878},{"style":137},[879],{"type":44,"value":664},{"type":39,"tag":107,"props":881,"children":882},{"style":120},[883],{"type":44,"value":134},{"type":39,"tag":107,"props":885,"children":886},{"style":137},[887],{"type":44,"value":18},{"type":39,"tag":107,"props":889,"children":890},{"style":142},[891],{"type":44,"value":677},{"type":39,"tag":107,"props":893,"children":894},{"style":120},[895],{"type":44,"value":150},{"type":39,"tag":107,"props":897,"children":898},{"style":120},[899],{"type":44,"value":180},{"type":39,"tag":107,"props":901,"children":902},{"class":109,"line":183},[903],{"type":39,"tag":107,"props":904,"children":906},{"emptyLinePlaceholder":905},true,[907],{"type":44,"value":908},"\n",{"type":39,"tag":107,"props":910,"children":911},{"class":109,"line":241},[912],{"type":39,"tag":107,"props":913,"children":914},{"style":300},[915],{"type":44,"value":916},"# Determine path based on chosen location\n",{"type":39,"tag":107,"props":918,"children":920},{"class":109,"line":919},4,[921],{"type":39,"tag":107,"props":922,"children":923},{"style":300},[924],{"type":44,"value":925},"# For project-local: path=\"$LOCATION\u002F$BRANCH_NAME\"\n",{"type":39,"tag":107,"props":927,"children":929},{"class":109,"line":928},5,[930],{"type":39,"tag":107,"props":931,"children":932},{"style":300},[933],{"type":44,"value":934},"# For global: path=\"~\u002F.config\u002Fsuperpowers\u002Fworktrees\u002F$project\u002F$BRANCH_NAME\"\n",{"type":39,"tag":107,"props":936,"children":938},{"class":109,"line":937},6,[939],{"type":39,"tag":107,"props":940,"children":941},{"emptyLinePlaceholder":905},[942],{"type":44,"value":908},{"type":39,"tag":107,"props":944,"children":946},{"class":109,"line":945},7,[947,951,956,961,966,971,976,981,985,990],{"type":39,"tag":107,"props":948,"children":949},{"style":137},[950],{"type":44,"value":18},{"type":39,"tag":107,"props":952,"children":953},{"style":142},[954],{"type":44,"value":955}," worktree",{"type":39,"tag":107,"props":957,"children":958},{"style":142},[959],{"type":44,"value":960}," add",{"type":39,"tag":107,"props":962,"children":963},{"style":120},[964],{"type":44,"value":965}," \"",{"type":39,"tag":107,"props":967,"children":968},{"style":114},[969],{"type":44,"value":970},"$path",{"type":39,"tag":107,"props":972,"children":973},{"style":120},[974],{"type":44,"value":975},"\"",{"type":39,"tag":107,"props":977,"children":978},{"style":142},[979],{"type":44,"value":980}," -b",{"type":39,"tag":107,"props":982,"children":983},{"style":120},[984],{"type":44,"value":965},{"type":39,"tag":107,"props":986,"children":987},{"style":114},[988],{"type":44,"value":989},"$BRANCH_NAME",{"type":39,"tag":107,"props":991,"children":992},{"style":120},[993],{"type":44,"value":994},"\"\n",{"type":39,"tag":107,"props":996,"children":998},{"class":109,"line":997},8,[999,1003,1007,1011],{"type":39,"tag":107,"props":1000,"children":1001},{"style":126},[1002],{"type":44,"value":129},{"type":39,"tag":107,"props":1004,"children":1005},{"style":120},[1006],{"type":44,"value":965},{"type":39,"tag":107,"props":1008,"children":1009},{"style":114},[1010],{"type":44,"value":970},{"type":39,"tag":107,"props":1012,"children":1013},{"style":120},[1014],{"type":44,"value":994},{"type":39,"tag":54,"props":1016,"children":1017},{},[1018,1023,1025,1030],{"type":39,"tag":63,"props":1019,"children":1020},{},[1021],{"type":44,"value":1022},"Sandbox fallback:",{"type":44,"value":1024}," If ",{"type":39,"tag":103,"props":1026,"children":1028},{"className":1027},[],[1029],{"type":44,"value":494},{"type":44,"value":1031}," fails with a permission error (sandbox denial), tell the user the sandbox blocked worktree creation and you're working in the current directory instead. Then run setup and baseline tests in place.",{"type":39,"tag":47,"props":1033,"children":1035},{"id":1034},"step-3-project-setup",[1036],{"type":44,"value":1037},"Step 3: Project Setup",{"type":39,"tag":54,"props":1039,"children":1040},{},[1041],{"type":44,"value":1042},"Auto-detect and run appropriate setup:",{"type":39,"tag":95,"props":1044,"children":1046},{"className":97,"code":1045,"language":99,"meta":100,"style":100},"# Node.js\nif [ -f package.json ]; then npm install; fi\n\n# Rust\nif [ -f Cargo.toml ]; then cargo build; fi\n\n# Python\nif [ -f requirements.txt ]; then pip install -r requirements.txt; fi\nif [ -f pyproject.toml ]; then poetry install; fi\n\n# Go\nif [ -f go.mod ]; then go mod download; fi\n",[1047],{"type":39,"tag":103,"props":1048,"children":1049},{"__ignoreMap":100},[1050,1058,1112,1119,1127,1173,1180,1188,1243,1289,1297,1306],{"type":39,"tag":107,"props":1051,"children":1052},{"class":109,"line":110},[1053],{"type":39,"tag":107,"props":1054,"children":1055},{"style":300},[1056],{"type":44,"value":1057},"# Node.js\n",{"type":39,"tag":107,"props":1059,"children":1060},{"class":109,"line":183},[1061,1067,1072,1077,1082,1087,1092,1097,1102,1107],{"type":39,"tag":107,"props":1062,"children":1064},{"style":1063},"--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic",[1065],{"type":44,"value":1066},"if",{"type":39,"tag":107,"props":1068,"children":1069},{"style":120},[1070],{"type":44,"value":1071}," [",{"type":39,"tag":107,"props":1073,"children":1074},{"style":120},[1075],{"type":44,"value":1076}," -f",{"type":39,"tag":107,"props":1078,"children":1079},{"style":114},[1080],{"type":44,"value":1081}," package.json ",{"type":39,"tag":107,"props":1083,"children":1084},{"style":120},[1085],{"type":44,"value":1086},"];",{"type":39,"tag":107,"props":1088,"children":1089},{"style":1063},[1090],{"type":44,"value":1091}," then",{"type":39,"tag":107,"props":1093,"children":1094},{"style":137},[1095],{"type":44,"value":1096}," npm",{"type":39,"tag":107,"props":1098,"children":1099},{"style":142},[1100],{"type":44,"value":1101}," install",{"type":39,"tag":107,"props":1103,"children":1104},{"style":120},[1105],{"type":44,"value":1106},";",{"type":39,"tag":107,"props":1108,"children":1109},{"style":1063},[1110],{"type":44,"value":1111}," fi\n",{"type":39,"tag":107,"props":1113,"children":1114},{"class":109,"line":241},[1115],{"type":39,"tag":107,"props":1116,"children":1117},{"emptyLinePlaceholder":905},[1118],{"type":44,"value":908},{"type":39,"tag":107,"props":1120,"children":1121},{"class":109,"line":919},[1122],{"type":39,"tag":107,"props":1123,"children":1124},{"style":300},[1125],{"type":44,"value":1126},"# Rust\n",{"type":39,"tag":107,"props":1128,"children":1129},{"class":109,"line":928},[1130,1134,1138,1142,1147,1151,1155,1160,1165,1169],{"type":39,"tag":107,"props":1131,"children":1132},{"style":1063},[1133],{"type":44,"value":1066},{"type":39,"tag":107,"props":1135,"children":1136},{"style":120},[1137],{"type":44,"value":1071},{"type":39,"tag":107,"props":1139,"children":1140},{"style":120},[1141],{"type":44,"value":1076},{"type":39,"tag":107,"props":1143,"children":1144},{"style":114},[1145],{"type":44,"value":1146}," Cargo.toml ",{"type":39,"tag":107,"props":1148,"children":1149},{"style":120},[1150],{"type":44,"value":1086},{"type":39,"tag":107,"props":1152,"children":1153},{"style":1063},[1154],{"type":44,"value":1091},{"type":39,"tag":107,"props":1156,"children":1157},{"style":137},[1158],{"type":44,"value":1159}," cargo",{"type":39,"tag":107,"props":1161,"children":1162},{"style":142},[1163],{"type":44,"value":1164}," build",{"type":39,"tag":107,"props":1166,"children":1167},{"style":120},[1168],{"type":44,"value":1106},{"type":39,"tag":107,"props":1170,"children":1171},{"style":1063},[1172],{"type":44,"value":1111},{"type":39,"tag":107,"props":1174,"children":1175},{"class":109,"line":937},[1176],{"type":39,"tag":107,"props":1177,"children":1178},{"emptyLinePlaceholder":905},[1179],{"type":44,"value":908},{"type":39,"tag":107,"props":1181,"children":1182},{"class":109,"line":945},[1183],{"type":39,"tag":107,"props":1184,"children":1185},{"style":300},[1186],{"type":44,"value":1187},"# Python\n",{"type":39,"tag":107,"props":1189,"children":1190},{"class":109,"line":997},[1191,1195,1199,1203,1208,1212,1216,1221,1225,1230,1235,1239],{"type":39,"tag":107,"props":1192,"children":1193},{"style":1063},[1194],{"type":44,"value":1066},{"type":39,"tag":107,"props":1196,"children":1197},{"style":120},[1198],{"type":44,"value":1071},{"type":39,"tag":107,"props":1200,"children":1201},{"style":120},[1202],{"type":44,"value":1076},{"type":39,"tag":107,"props":1204,"children":1205},{"style":114},[1206],{"type":44,"value":1207}," requirements.txt ",{"type":39,"tag":107,"props":1209,"children":1210},{"style":120},[1211],{"type":44,"value":1086},{"type":39,"tag":107,"props":1213,"children":1214},{"style":1063},[1215],{"type":44,"value":1091},{"type":39,"tag":107,"props":1217,"children":1218},{"style":137},[1219],{"type":44,"value":1220}," pip",{"type":39,"tag":107,"props":1222,"children":1223},{"style":142},[1224],{"type":44,"value":1101},{"type":39,"tag":107,"props":1226,"children":1227},{"style":142},[1228],{"type":44,"value":1229}," -r",{"type":39,"tag":107,"props":1231,"children":1232},{"style":142},[1233],{"type":44,"value":1234}," requirements.txt",{"type":39,"tag":107,"props":1236,"children":1237},{"style":120},[1238],{"type":44,"value":1106},{"type":39,"tag":107,"props":1240,"children":1241},{"style":1063},[1242],{"type":44,"value":1111},{"type":39,"tag":107,"props":1244,"children":1246},{"class":109,"line":1245},9,[1247,1251,1255,1259,1264,1268,1272,1277,1281,1285],{"type":39,"tag":107,"props":1248,"children":1249},{"style":1063},[1250],{"type":44,"value":1066},{"type":39,"tag":107,"props":1252,"children":1253},{"style":120},[1254],{"type":44,"value":1071},{"type":39,"tag":107,"props":1256,"children":1257},{"style":120},[1258],{"type":44,"value":1076},{"type":39,"tag":107,"props":1260,"children":1261},{"style":114},[1262],{"type":44,"value":1263}," pyproject.toml ",{"type":39,"tag":107,"props":1265,"children":1266},{"style":120},[1267],{"type":44,"value":1086},{"type":39,"tag":107,"props":1269,"children":1270},{"style":1063},[1271],{"type":44,"value":1091},{"type":39,"tag":107,"props":1273,"children":1274},{"style":137},[1275],{"type":44,"value":1276}," poetry",{"type":39,"tag":107,"props":1278,"children":1279},{"style":142},[1280],{"type":44,"value":1101},{"type":39,"tag":107,"props":1282,"children":1283},{"style":120},[1284],{"type":44,"value":1106},{"type":39,"tag":107,"props":1286,"children":1287},{"style":1063},[1288],{"type":44,"value":1111},{"type":39,"tag":107,"props":1290,"children":1292},{"class":109,"line":1291},10,[1293],{"type":39,"tag":107,"props":1294,"children":1295},{"emptyLinePlaceholder":905},[1296],{"type":44,"value":908},{"type":39,"tag":107,"props":1298,"children":1300},{"class":109,"line":1299},11,[1301],{"type":39,"tag":107,"props":1302,"children":1303},{"style":300},[1304],{"type":44,"value":1305},"# Go\n",{"type":39,"tag":107,"props":1307,"children":1309},{"class":109,"line":1308},12,[1310,1314,1318,1322,1327,1331,1335,1340,1345,1350,1354],{"type":39,"tag":107,"props":1311,"children":1312},{"style":1063},[1313],{"type":44,"value":1066},{"type":39,"tag":107,"props":1315,"children":1316},{"style":120},[1317],{"type":44,"value":1071},{"type":39,"tag":107,"props":1319,"children":1320},{"style":120},[1321],{"type":44,"value":1076},{"type":39,"tag":107,"props":1323,"children":1324},{"style":114},[1325],{"type":44,"value":1326}," go.mod ",{"type":39,"tag":107,"props":1328,"children":1329},{"style":120},[1330],{"type":44,"value":1086},{"type":39,"tag":107,"props":1332,"children":1333},{"style":1063},[1334],{"type":44,"value":1091},{"type":39,"tag":107,"props":1336,"children":1337},{"style":137},[1338],{"type":44,"value":1339}," go",{"type":39,"tag":107,"props":1341,"children":1342},{"style":142},[1343],{"type":44,"value":1344}," mod",{"type":39,"tag":107,"props":1346,"children":1347},{"style":142},[1348],{"type":44,"value":1349}," download",{"type":39,"tag":107,"props":1351,"children":1352},{"style":120},[1353],{"type":44,"value":1106},{"type":39,"tag":107,"props":1355,"children":1356},{"style":1063},[1357],{"type":44,"value":1111},{"type":39,"tag":47,"props":1359,"children":1361},{"id":1360},"step-4-verify-clean-baseline",[1362],{"type":44,"value":1363},"Step 4: Verify Clean Baseline",{"type":39,"tag":54,"props":1365,"children":1366},{},[1367],{"type":44,"value":1368},"Run tests to ensure workspace starts clean:",{"type":39,"tag":95,"props":1370,"children":1372},{"className":97,"code":1371,"language":99,"meta":100,"style":100},"# Use project-appropriate command\nnpm test \u002F cargo test \u002F pytest \u002F go test .\u002F...\n",[1373],{"type":39,"tag":103,"props":1374,"children":1375},{"__ignoreMap":100},[1376,1384],{"type":39,"tag":107,"props":1377,"children":1378},{"class":109,"line":110},[1379],{"type":39,"tag":107,"props":1380,"children":1381},{"style":300},[1382],{"type":44,"value":1383},"# Use project-appropriate command\n",{"type":39,"tag":107,"props":1385,"children":1386},{"class":109,"line":183},[1387,1392,1397,1402,1406,1410,1414,1419,1423,1427,1431],{"type":39,"tag":107,"props":1388,"children":1389},{"style":137},[1390],{"type":44,"value":1391},"npm",{"type":39,"tag":107,"props":1393,"children":1394},{"style":142},[1395],{"type":44,"value":1396}," test",{"type":39,"tag":107,"props":1398,"children":1399},{"style":142},[1400],{"type":44,"value":1401}," \u002F",{"type":39,"tag":107,"props":1403,"children":1404},{"style":142},[1405],{"type":44,"value":1159},{"type":39,"tag":107,"props":1407,"children":1408},{"style":142},[1409],{"type":44,"value":1396},{"type":39,"tag":107,"props":1411,"children":1412},{"style":142},[1413],{"type":44,"value":1401},{"type":39,"tag":107,"props":1415,"children":1416},{"style":142},[1417],{"type":44,"value":1418}," pytest",{"type":39,"tag":107,"props":1420,"children":1421},{"style":142},[1422],{"type":44,"value":1401},{"type":39,"tag":107,"props":1424,"children":1425},{"style":142},[1426],{"type":44,"value":1339},{"type":39,"tag":107,"props":1428,"children":1429},{"style":142},[1430],{"type":44,"value":1396},{"type":39,"tag":107,"props":1432,"children":1433},{"style":142},[1434],{"type":44,"value":1435}," .\u002F...\n",{"type":39,"tag":54,"props":1437,"children":1438},{},[1439,1444],{"type":39,"tag":63,"props":1440,"children":1441},{},[1442],{"type":44,"value":1443},"If tests fail:",{"type":44,"value":1445}," Report failures, ask whether to proceed or investigate.",{"type":39,"tag":54,"props":1447,"children":1448},{},[1449,1454],{"type":39,"tag":63,"props":1450,"children":1451},{},[1452],{"type":44,"value":1453},"If tests pass:",{"type":44,"value":1455}," Report ready.",{"type":39,"tag":441,"props":1457,"children":1459},{"id":1458},"report",[1460],{"type":44,"value":1461},"Report",{"type":39,"tag":95,"props":1463,"children":1467},{"className":1464,"code":1466,"language":44},[1465],"language-text","Worktree ready at \u003Cfull-path>\nTests passing (\u003CN> tests, 0 failures)\nReady to implement \u003Cfeature-name>\n",[1468],{"type":39,"tag":103,"props":1469,"children":1470},{"__ignoreMap":100},[1471],{"type":44,"value":1466},{"type":39,"tag":47,"props":1473,"children":1475},{"id":1474},"quick-reference",[1476],{"type":44,"value":1477},"Quick Reference",{"type":39,"tag":1479,"props":1480,"children":1481},"table",{},[1482,1501],{"type":39,"tag":1483,"props":1484,"children":1485},"thead",{},[1486],{"type":39,"tag":1487,"props":1488,"children":1489},"tr",{},[1490,1496],{"type":39,"tag":1491,"props":1492,"children":1493},"th",{},[1494],{"type":44,"value":1495},"Situation",{"type":39,"tag":1491,"props":1497,"children":1498},{},[1499],{"type":44,"value":1500},"Action",{"type":39,"tag":1502,"props":1503,"children":1504},"tbody",{},[1505,1519,1532,1545,1558,1576,1593,1611,1629,1642,1655,1668,1681],{"type":39,"tag":1487,"props":1506,"children":1507},{},[1508,1514],{"type":39,"tag":1509,"props":1510,"children":1511},"td",{},[1512],{"type":44,"value":1513},"Already in linked worktree",{"type":39,"tag":1509,"props":1515,"children":1516},{},[1517],{"type":44,"value":1518},"Skip creation (Step 0)",{"type":39,"tag":1487,"props":1520,"children":1521},{},[1522,1527],{"type":39,"tag":1509,"props":1523,"children":1524},{},[1525],{"type":44,"value":1526},"In a submodule",{"type":39,"tag":1509,"props":1528,"children":1529},{},[1530],{"type":44,"value":1531},"Treat as normal repo (Step 0 guard)",{"type":39,"tag":1487,"props":1533,"children":1534},{},[1535,1540],{"type":39,"tag":1509,"props":1536,"children":1537},{},[1538],{"type":44,"value":1539},"Native worktree tool available",{"type":39,"tag":1509,"props":1541,"children":1542},{},[1543],{"type":44,"value":1544},"Use it (Step 1a)",{"type":39,"tag":1487,"props":1546,"children":1547},{},[1548,1553],{"type":39,"tag":1509,"props":1549,"children":1550},{},[1551],{"type":44,"value":1552},"No native tool",{"type":39,"tag":1509,"props":1554,"children":1555},{},[1556],{"type":44,"value":1557},"Git worktree fallback (Step 1b)",{"type":39,"tag":1487,"props":1559,"children":1560},{},[1561,1571],{"type":39,"tag":1509,"props":1562,"children":1563},{},[1564,1569],{"type":39,"tag":103,"props":1565,"children":1567},{"className":1566},[],[1568],{"type":44,"value":736},{"type":44,"value":1570}," exists",{"type":39,"tag":1509,"props":1572,"children":1573},{},[1574],{"type":44,"value":1575},"Use it (verify ignored)",{"type":39,"tag":1487,"props":1577,"children":1578},{},[1579,1589],{"type":39,"tag":1509,"props":1580,"children":1581},{},[1582,1588],{"type":39,"tag":103,"props":1583,"children":1585},{"className":1584},[],[1586],{"type":44,"value":1587},"worktrees\u002F",{"type":44,"value":1570},{"type":39,"tag":1509,"props":1590,"children":1591},{},[1592],{"type":44,"value":1575},{"type":39,"tag":1487,"props":1594,"children":1595},{},[1596,1601],{"type":39,"tag":1509,"props":1597,"children":1598},{},[1599],{"type":44,"value":1600},"Both exist",{"type":39,"tag":1509,"props":1602,"children":1603},{},[1604,1606],{"type":44,"value":1605},"Use ",{"type":39,"tag":103,"props":1607,"children":1609},{"className":1608},[],[1610],{"type":44,"value":736},{"type":39,"tag":1487,"props":1612,"children":1613},{},[1614,1619],{"type":39,"tag":1509,"props":1615,"children":1616},{},[1617],{"type":44,"value":1618},"Neither exists",{"type":39,"tag":1509,"props":1620,"children":1621},{},[1622,1624],{"type":44,"value":1623},"Check instruction file, then default ",{"type":39,"tag":103,"props":1625,"children":1627},{"className":1626},[],[1628],{"type":44,"value":736},{"type":39,"tag":1487,"props":1630,"children":1631},{},[1632,1637],{"type":39,"tag":1509,"props":1633,"children":1634},{},[1635],{"type":44,"value":1636},"Global path exists",{"type":39,"tag":1509,"props":1638,"children":1639},{},[1640],{"type":44,"value":1641},"Use it (backward compat)",{"type":39,"tag":1487,"props":1643,"children":1644},{},[1645,1650],{"type":39,"tag":1509,"props":1646,"children":1647},{},[1648],{"type":44,"value":1649},"Directory not ignored",{"type":39,"tag":1509,"props":1651,"children":1652},{},[1653],{"type":44,"value":1654},"Add to .gitignore + commit",{"type":39,"tag":1487,"props":1656,"children":1657},{},[1658,1663],{"type":39,"tag":1509,"props":1659,"children":1660},{},[1661],{"type":44,"value":1662},"Permission error on create",{"type":39,"tag":1509,"props":1664,"children":1665},{},[1666],{"type":44,"value":1667},"Sandbox fallback, work in place",{"type":39,"tag":1487,"props":1669,"children":1670},{},[1671,1676],{"type":39,"tag":1509,"props":1672,"children":1673},{},[1674],{"type":44,"value":1675},"Tests fail during baseline",{"type":39,"tag":1509,"props":1677,"children":1678},{},[1679],{"type":44,"value":1680},"Report failures + ask",{"type":39,"tag":1487,"props":1682,"children":1683},{},[1684,1689],{"type":39,"tag":1509,"props":1685,"children":1686},{},[1687],{"type":44,"value":1688},"No package.json\u002FCargo.toml",{"type":39,"tag":1509,"props":1690,"children":1691},{},[1692],{"type":44,"value":1693},"Skip dependency install",{"type":39,"tag":47,"props":1695,"children":1697},{"id":1696},"common-mistakes",[1698],{"type":44,"value":1699},"Common Mistakes",{"type":39,"tag":441,"props":1701,"children":1703},{"id":1702},"fighting-the-harness",[1704],{"type":44,"value":1705},"Fighting the harness",{"type":39,"tag":353,"props":1707,"children":1708},{},[1709,1726],{"type":39,"tag":357,"props":1710,"children":1711},{},[1712,1717,1719,1724],{"type":39,"tag":63,"props":1713,"children":1714},{},[1715],{"type":44,"value":1716},"Problem:",{"type":44,"value":1718}," Using ",{"type":39,"tag":103,"props":1720,"children":1722},{"className":1721},[],[1723],{"type":44,"value":494},{"type":44,"value":1725}," when the platform already provides isolation",{"type":39,"tag":357,"props":1727,"children":1728},{},[1729,1734],{"type":39,"tag":63,"props":1730,"children":1731},{},[1732],{"type":44,"value":1733},"Fix:",{"type":44,"value":1735}," Step 0 detects existing isolation. Step 1a defers to native tools.",{"type":39,"tag":441,"props":1737,"children":1739},{"id":1738},"skipping-detection",[1740],{"type":44,"value":1741},"Skipping detection",{"type":39,"tag":353,"props":1743,"children":1744},{},[1745,1754],{"type":39,"tag":357,"props":1746,"children":1747},{},[1748,1752],{"type":39,"tag":63,"props":1749,"children":1750},{},[1751],{"type":44,"value":1716},{"type":44,"value":1753}," Creating a nested worktree inside an existing one",{"type":39,"tag":357,"props":1755,"children":1756},{},[1757,1761],{"type":39,"tag":63,"props":1758,"children":1759},{},[1760],{"type":44,"value":1733},{"type":44,"value":1762}," Always run Step 0 before creating anything",{"type":39,"tag":441,"props":1764,"children":1766},{"id":1765},"skipping-ignore-verification",[1767],{"type":44,"value":1768},"Skipping ignore verification",{"type":39,"tag":353,"props":1770,"children":1771},{},[1772,1781],{"type":39,"tag":357,"props":1773,"children":1774},{},[1775,1779],{"type":39,"tag":63,"props":1776,"children":1777},{},[1778],{"type":44,"value":1716},{"type":44,"value":1780}," Worktree contents get tracked, pollute git status",{"type":39,"tag":357,"props":1782,"children":1783},{},[1784,1788,1790,1796],{"type":39,"tag":63,"props":1785,"children":1786},{},[1787],{"type":44,"value":1733},{"type":44,"value":1789}," Always use ",{"type":39,"tag":103,"props":1791,"children":1793},{"className":1792},[],[1794],{"type":44,"value":1795},"git check-ignore",{"type":44,"value":1797}," before creating project-local worktree",{"type":39,"tag":441,"props":1799,"children":1801},{"id":1800},"assuming-directory-location",[1802],{"type":44,"value":1803},"Assuming directory location",{"type":39,"tag":353,"props":1805,"children":1806},{},[1807,1816],{"type":39,"tag":357,"props":1808,"children":1809},{},[1810,1814],{"type":39,"tag":63,"props":1811,"children":1812},{},[1813],{"type":44,"value":1716},{"type":44,"value":1815}," Creates inconsistency, violates project conventions",{"type":39,"tag":357,"props":1817,"children":1818},{},[1819,1823],{"type":39,"tag":63,"props":1820,"children":1821},{},[1822],{"type":44,"value":1733},{"type":44,"value":1824}," Follow priority: existing > global legacy > instruction file > default",{"type":39,"tag":441,"props":1826,"children":1828},{"id":1827},"proceeding-with-failing-tests",[1829],{"type":44,"value":1830},"Proceeding with failing tests",{"type":39,"tag":353,"props":1832,"children":1833},{},[1834,1843],{"type":39,"tag":357,"props":1835,"children":1836},{},[1837,1841],{"type":39,"tag":63,"props":1838,"children":1839},{},[1840],{"type":44,"value":1716},{"type":44,"value":1842}," Can't distinguish new bugs from pre-existing issues",{"type":39,"tag":357,"props":1844,"children":1845},{},[1846,1850],{"type":39,"tag":63,"props":1847,"children":1848},{},[1849],{"type":44,"value":1733},{"type":44,"value":1851}," Report failures, get explicit permission to proceed",{"type":39,"tag":47,"props":1853,"children":1855},{"id":1854},"red-flags",[1856],{"type":44,"value":1857},"Red Flags",{"type":39,"tag":54,"props":1859,"children":1860},{},[1861],{"type":39,"tag":63,"props":1862,"children":1863},{},[1864],{"type":44,"value":1865},"Never:",{"type":39,"tag":353,"props":1867,"children":1868},{},[1869,1874,1892,1897,1902,1907],{"type":39,"tag":357,"props":1870,"children":1871},{},[1872],{"type":44,"value":1873},"Create a worktree when Step 0 detects existing isolation",{"type":39,"tag":357,"props":1875,"children":1876},{},[1877,1878,1883,1885,1890],{"type":44,"value":1605},{"type":39,"tag":103,"props":1879,"children":1881},{"className":1880},[],[1882],{"type":44,"value":494},{"type":44,"value":1884}," when you have a native worktree tool (e.g., ",{"type":39,"tag":103,"props":1886,"children":1888},{"className":1887},[],[1889],{"type":44,"value":457},{"type":44,"value":1891},"). This is the #1 mistake — if you have it, use it.",{"type":39,"tag":357,"props":1893,"children":1894},{},[1895],{"type":44,"value":1896},"Skip Step 1a by jumping straight to Step 1b's git commands",{"type":39,"tag":357,"props":1898,"children":1899},{},[1900],{"type":44,"value":1901},"Create worktree without verifying it's ignored (project-local)",{"type":39,"tag":357,"props":1903,"children":1904},{},[1905],{"type":44,"value":1906},"Skip baseline test verification",{"type":39,"tag":357,"props":1908,"children":1909},{},[1910],{"type":44,"value":1911},"Proceed with failing tests without asking",{"type":39,"tag":54,"props":1913,"children":1914},{},[1915],{"type":39,"tag":63,"props":1916,"children":1917},{},[1918],{"type":44,"value":1919},"Always:",{"type":39,"tag":353,"props":1921,"children":1922},{},[1923,1928,1933,1938,1943,1948],{"type":39,"tag":357,"props":1924,"children":1925},{},[1926],{"type":44,"value":1927},"Run Step 0 detection first",{"type":39,"tag":357,"props":1929,"children":1930},{},[1931],{"type":44,"value":1932},"Prefer native tools over git fallback",{"type":39,"tag":357,"props":1934,"children":1935},{},[1936],{"type":44,"value":1937},"Follow directory priority: existing > global legacy > instruction file > default",{"type":39,"tag":357,"props":1939,"children":1940},{},[1941],{"type":44,"value":1942},"Verify directory is ignored for project-local",{"type":39,"tag":357,"props":1944,"children":1945},{},[1946],{"type":44,"value":1947},"Auto-detect and run project setup",{"type":39,"tag":357,"props":1949,"children":1950},{},[1951],{"type":44,"value":1952},"Verify clean test baseline",{"type":39,"tag":1954,"props":1955,"children":1956},"style",{},[1957],{"type":44,"value":1958},"html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"items":1960,"total":2163},[1961,1982,2005,2022,2038,2057,2074,2090,2106,2120,2132,2147],{"slug":1962,"name":1962,"fn":1963,"description":1964,"org":1965,"tags":1966,"stars":1979,"repoUrl":1980,"updatedAt":1981},"prior-auth-packet-builder","build healthcare prior authorization packets","Build a concise prior authorization packet from local case files and payer policy docs.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1967,1970,1973,1976],{"name":1968,"slug":1969,"type":15},"Documents","documents",{"name":1971,"slug":1972,"type":15},"Healthcare","healthcare",{"name":1974,"slug":1975,"type":15},"Insurance","insurance",{"name":1977,"slug":1978,"type":15},"Regulatory Compliance","regulatory-compliance",28169,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fopenai-agents-python","2026-04-16T05:11:39.180399",{"slug":1983,"name":1983,"fn":1984,"description":1985,"org":1986,"tags":1987,"stars":2002,"repoUrl":2003,"updatedAt":2004},"aspnet-core","build ASP.NET Core web applications","Build, review, refactor, or architect ASP.NET Core web applications using current official guidance for .NET web development. Use when working on Blazor Web Apps, Razor Pages, MVC, Minimal APIs, controller-based Web APIs, SignalR, gRPC, middleware, dependency injection, configuration, authentication, authorization, testing, performance, deployment, or ASP.NET Core upgrades.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[1988,1991,1993,1996,1999],{"name":1989,"slug":1990,"type":15},".NET","dotnet",{"name":1992,"slug":1983,"type":15},"ASP.NET Core",{"name":1994,"slug":1995,"type":15},"Blazor","blazor",{"name":1997,"slug":1998,"type":15},"C#","csharp",{"name":2000,"slug":2001,"type":15},"Web Development","web-development",23787,"https:\u002F\u002Fgithub.com\u002Fopenai\u002Fskills","2026-04-12T05:07:02.819491",{"slug":2006,"name":2006,"fn":2007,"description":2008,"org":2009,"tags":2010,"stars":2002,"repoUrl":2003,"updatedAt":2021},"chatgpt-apps","build ChatGPT Apps SDK applications","Build, scaffold, refactor, and troubleshoot ChatGPT Apps SDK applications that combine an MCP server and widget UI. Use when Codex needs to design tools, register UI resources, wire the MCP Apps bridge or ChatGPT compatibility APIs, apply Apps SDK metadata or CSP or domain settings, or produce a docs-aligned project scaffold. Prefer a docs-first workflow by invoking the openai-docs skill or OpenAI developer docs MCP tools before generating code.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2011,2014,2017,2020],{"name":2012,"slug":2013,"type":15},"Apps SDK","apps-sdk",{"name":2015,"slug":2016,"type":15},"ChatGPT","chatgpt",{"name":2018,"slug":2019,"type":15},"MCP","mcp",{"name":9,"slug":8,"type":15},"2026-04-12T05:07:05.468097",{"slug":2023,"name":2023,"fn":2024,"description":2025,"org":2026,"tags":2027,"stars":2002,"repoUrl":2003,"updatedAt":2037},"cli-creator","build CLIs from API docs","Build a composable CLI for Codex from API docs, an OpenAPI spec, existing curl examples, an SDK, a web app, an admin tool, or a local script. Use when the user wants Codex to create a command-line tool that can run from any repo, expose composable read\u002Fwrite commands, return stable JSON, manage auth, and pair with a companion skill.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2028,2031,2034],{"name":2029,"slug":2030,"type":15},"API Development","api-development",{"name":2032,"slug":2033,"type":15},"CLI","cli",{"name":2035,"slug":2036,"type":15},"Codex","codex","2026-04-12T05:07:04.132762",{"slug":2039,"name":2039,"fn":2040,"description":2041,"org":2042,"tags":2043,"stars":2002,"repoUrl":2003,"updatedAt":2056},"cloudflare-deploy","deploy projects to Cloudflare","Deploy applications and infrastructure to Cloudflare using Workers, Pages, and related platform services. Use when the user asks to deploy, host, publish, or set up a project on Cloudflare.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2044,2047,2050,2053],{"name":2045,"slug":2046,"type":15},"Cloudflare","cloudflare",{"name":2048,"slug":2049,"type":15},"Cloudflare Pages","cloudflare-pages",{"name":2051,"slug":2052,"type":15},"Cloudflare Workers","cloudflare-workers",{"name":2054,"slug":2055,"type":15},"Deployment","deployment","2026-04-12T05:07:14.275118",{"slug":2058,"name":2058,"fn":2059,"description":2060,"org":2061,"tags":2062,"stars":2002,"repoUrl":2003,"updatedAt":2073},"define-goal","define and set measurable project goals","Help the user define a concrete, measurable goal before starting work, especially when they ask to use the goal tool, create a goal, set an objective, clarify success criteria, or turn a fuzzy intention into a quantitative outcome. Use this skill for goal creation and goal refinement only; it does not manage durable snapshots, decision logs, or long-running execution artifacts.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2063,2064,2067,2070],{"name":13,"slug":14,"type":15},{"name":2065,"slug":2066,"type":15},"Project Management","project-management",{"name":2068,"slug":2069,"type":15},"Strategy","strategy",{"name":2071,"slug":2072,"type":15},"Task Management","task-management","2026-05-23T06:17:16.870838",{"slug":2075,"name":2075,"fn":2076,"description":2077,"org":2078,"tags":2079,"stars":2002,"repoUrl":2003,"updatedAt":2089},"figma","translate Figma designs into code","Use the Figma MCP server to fetch design context, screenshots, variables, and assets from Figma, and to translate Figma nodes into production code. Trigger when a task involves Figma URLs, node IDs, design-to-code implementation, or Figma MCP setup and troubleshooting.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2080,2083,2085,2088],{"name":2081,"slug":2082,"type":15},"Design","design",{"name":2084,"slug":2075,"type":15},"Figma",{"name":2086,"slug":2087,"type":15},"Frontend","frontend",{"name":2018,"slug":2019,"type":15},"2026-04-12T05:06:47.939943",{"slug":2091,"name":2091,"fn":2092,"description":2093,"org":2094,"tags":2095,"stars":2002,"repoUrl":2003,"updatedAt":2105},"figma-code-connect-components","connect Figma designs to code components","Connects Figma design components to code components using Code Connect mapping tools. Use when user says \"code connect\", \"connect this component to code\", \"map this component\", \"link component to code\", \"create code connect mapping\", or wants to establish mappings between Figma designs and code implementations. For canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2096,2097,2100,2101,2102],{"name":2081,"slug":2082,"type":15},{"name":2098,"slug":2099,"type":15},"Design System","design-system",{"name":2084,"slug":2075,"type":15},{"name":2086,"slug":2087,"type":15},{"name":2103,"slug":2104,"type":15},"UI Components","ui-components","2026-05-10T05:59:52.971881",{"slug":2107,"name":2107,"fn":2108,"description":2109,"org":2110,"tags":2111,"stars":2002,"repoUrl":2003,"updatedAt":2119},"figma-create-design-system-rules","generate design system rules from Figma","Generates custom design system rules for the user's codebase. Use when user says \"create design system rules\", \"generate rules for my project\", \"set up design rules\", \"customize design system guidelines\", or wants to establish project-specific conventions for Figma-to-code workflows. Requires Figma MCP server connection.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2112,2113,2114,2117,2118],{"name":2081,"slug":2082,"type":15},{"name":2098,"slug":2099,"type":15},{"name":2115,"slug":2116,"type":15},"Documentation","documentation",{"name":2084,"slug":2075,"type":15},{"name":2086,"slug":2087,"type":15},"2026-05-16T06:07:47.821474",{"slug":2121,"name":2121,"fn":2122,"description":2123,"org":2124,"tags":2125,"stars":2002,"repoUrl":2003,"updatedAt":2131},"figma-implement-design","translate Figma designs into application code","Translates Figma designs into production-ready application code with 1:1 visual fidelity. Use when implementing UI code from Figma files, when user mentions \"implement design\", \"generate code\", \"implement component\", provides Figma URLs, or asks to build components matching Figma specs. For Figma canvas writes via `use_figma`, use `figma-use`.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2126,2127,2128,2129,2130],{"name":2081,"slug":2082,"type":15},{"name":2084,"slug":2075,"type":15},{"name":2086,"slug":2087,"type":15},{"name":2103,"slug":2104,"type":15},{"name":2000,"slug":2001,"type":15},"2026-05-16T06:07:40.583615",{"slug":2133,"name":2133,"fn":2134,"description":2135,"org":2136,"tags":2137,"stars":2002,"repoUrl":2003,"updatedAt":2146},"hatch-pet","create animated pets for Codex","Create, repair, validate, visually QA, and package Codex-compatible animated pets and pet spritesheets from character art, generated images, company or prospect brand cues, or visual references. Use when a user wants a lightweight-worker Codex pet workflow, a non-pixel custom pet style, a prospect or company mascot pet, or a full 8x9 animated pet atlas with transparent unused cells, QA contact sheets, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2138,2141,2142,2145],{"name":2139,"slug":2140,"type":15},"Animation","animation",{"name":2035,"slug":2036,"type":15},{"name":2143,"slug":2144,"type":15},"Creative","creative",{"name":2081,"slug":2082,"type":15},"2026-05-02T05:31:48.48485",{"slug":2148,"name":2148,"fn":2149,"description":2150,"org":2151,"tags":2152,"stars":2002,"repoUrl":2003,"updatedAt":2162},"imagegen","generate and edit raster images","Generate or edit raster images when the task benefits from AI-created bitmap visuals such as photos, illustrations, textures, sprites, mockups, or transparent-background cutouts. Use when Codex should create a brand-new image, transform an existing image, or derive visual variants from references, and the output should be a bitmap asset rather than repo-native code or vector. Do not use when the task is better handled by editing existing SVG\u002Fvector\u002Fcode-native assets, extending an established icon or logo system, or building the visual directly in HTML\u002FCSS\u002Fcanvas.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2153,2154,2155,2158,2161],{"name":2143,"slug":2144,"type":15},{"name":2081,"slug":2082,"type":15},{"name":2156,"slug":2157,"type":15},"Image Generation","image-generation",{"name":2159,"slug":2160,"type":15},"Images","images",{"name":9,"slug":8,"type":15},"2026-05-15T06:23:24.312127",675,{"items":2165,"total":2279},[2166,2183,2199,2211,2229,2247,2267],{"slug":2167,"name":2167,"fn":2168,"description":2169,"org":2170,"tags":2171,"stars":22,"repoUrl":23,"updatedAt":2182},"accessibility-and-inclusive-visualization","make data visualizations accessible","Make data visualizations accessible and inclusive. Use when the user needs chart or diagram accessibility guidance, text alternatives for complex visuals, color and contrast review, keyboard support, reduced-motion behavior for animation or parallax, or an accessibility QA workflow for exported figures, UML-like diagrams, and dashboards.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2172,2175,2178,2181],{"name":2173,"slug":2174,"type":15},"Accessibility","accessibility",{"name":2176,"slug":2177,"type":15},"Charts","charts",{"name":2179,"slug":2180,"type":15},"Data Visualization","data-visualization",{"name":2081,"slug":2082,"type":15},"2026-06-30T19:00:57.102",{"slug":2184,"name":2184,"fn":2185,"description":2186,"org":2187,"tags":2188,"stars":22,"repoUrl":23,"updatedAt":2198},"agent-browser","automate browser interactions for agents","Browser automation CLI for AI agents. Use when the user needs to interact with websites, verify dev server output, test web apps, navigate pages, fill forms, click buttons, take screenshots, extract data, or automate any browser task. Also triggers when a dev server starts so you can verify it visually.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2189,2192,2195],{"name":2190,"slug":2191,"type":15},"Agents","agents",{"name":2193,"slug":2194,"type":15},"Browser Automation","browser-automation",{"name":2196,"slug":2197,"type":15},"Testing","testing","2026-04-06T18:41:03.44016",{"slug":2200,"name":2200,"fn":2201,"description":2202,"org":2203,"tags":2204,"stars":22,"repoUrl":23,"updatedAt":2210},"agent-browser-verify","verify dev server output with automated browser","Automated browser verification for dev servers. Triggers when a dev server starts to run a visual gut-check with agent-browser — verifies the page loads, checks for console errors, validates key UI elements, and reports pass\u002Ffail before continuing.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2205,2206,2209],{"name":2193,"slug":2194,"type":15},{"name":2207,"slug":2208,"type":15},"Local Development","local-development",{"name":2196,"slug":2197,"type":15},"2026-04-06T18:41:17.526867",{"slug":2212,"name":2212,"fn":2213,"description":2214,"org":2215,"tags":2216,"stars":22,"repoUrl":23,"updatedAt":2228},"agents-sdk","build AI agents on Cloudflare Workers","Build AI agents on Cloudflare Workers using the Agents SDK. Load when creating stateful agents, durable workflows, real-time WebSocket apps, scheduled tasks, MCP servers, or chat applications. Covers Agent class, state management, callable RPC, Workflows integration, and React hooks. Biases towards retrieval from Cloudflare docs over pre-trained knowledge.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2217,2218,2219,2222,2225],{"name":2190,"slug":2191,"type":15},{"name":2051,"slug":2052,"type":15},{"name":2220,"slug":2221,"type":15},"SDK","sdk",{"name":2223,"slug":2224,"type":15},"Serverless","serverless",{"name":2226,"slug":2227,"type":15},"WebSockets","websockets","2026-04-06T18:39:51.717063",{"slug":2230,"name":2230,"fn":2231,"description":2232,"org":2233,"tags":2234,"stars":22,"repoUrl":23,"updatedAt":2246},"ai-elements","build chat UIs with AI Elements","AI Elements component library guidance — pre-built React components for AI interfaces built on shadcn\u002Fui. Use when building chat UIs, message displays, tool call rendering, streaming responses, reasoning panels, or any AI-native interface with the AI SDK.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2235,2236,2239,2242,2243],{"name":2086,"slug":2087,"type":15},{"name":2237,"slug":2238,"type":15},"React","react",{"name":2240,"slug":2241,"type":15},"shadcn\u002Fui","shadcn-ui",{"name":2103,"slug":2104,"type":15},{"name":2244,"slug":2245,"type":15},"Vercel","vercel","2026-04-06T18:40:59.619419",{"slug":2248,"name":2248,"fn":2249,"description":2250,"org":2251,"tags":2252,"stars":22,"repoUrl":23,"updatedAt":2266},"ai-gateway","configure Vercel AI Gateway","Vercel AI Gateway expert guidance. Use when configuring model routing, provider failover, cost tracking, or managing multiple AI providers through a unified API.",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2253,2256,2259,2262,2265],{"name":2254,"slug":2255,"type":15},"AI Infrastructure","ai-infrastructure",{"name":2257,"slug":2258,"type":15},"Cost Optimization","cost-optimization",{"name":2260,"slug":2261,"type":15},"LLM","llm",{"name":2263,"slug":2264,"type":15},"Performance","performance",{"name":2244,"slug":2245,"type":15},"2026-04-06T18:40:44.377464",{"slug":2268,"name":2268,"fn":2269,"description":2270,"org":2271,"tags":2272,"stars":22,"repoUrl":23,"updatedAt":2278},"ai-generation-persistence","implement persistence patterns for AI generations","AI generation persistence patterns — unique IDs, addressable URLs, database storage, and cost tracking for every LLM generation",{"slug":8,"name":9,"logoUrl":10,"githubOrg":8},[2273,2274,2277],{"name":2257,"slug":2258,"type":15},{"name":2275,"slug":2276,"type":15},"Database","database",{"name":2260,"slug":2261,"type":15},"2026-04-06T18:41:08.513425",600]