[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7AY6PP2AT50Z6X88YJ5YDS3":3,"skill-same:01M7AY6PP2AT50Z6X88YJ5YDS3":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":25,"commitSha":26,"skillDirectory":27,"forksCount":14,"repositoryHtmlUrl":28,"repositoryHomepageUrl":6,"ownerHtmlUrl":29,"ownerBlogUrl":6,"ownerDescription":30,"updatedAt":31,"install":32,"resources":45},"01M7AY6PP2AT50Z6X88YJ5YDS3","git-worktrees",null,"git, worktrees, parallel-work, branch-isolation, pr-review, cleanup","lost-rob0t\u002Fskills","lost-rob0t","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F104283403?v=4","01M7AE2T5GZHE2CF6ANP6TKG0E","nsaspy","01M7AY4Z7QRGZRBX43TN2XT0GR",0,"BSD-3-Clause","https:\u002F\u002Fgithub.com\u002Flost-rob0t\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgit-worktrees\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: git-worktrees\ndescription: git, worktrees, parallel-work, branch-isolation, pr-review, cleanup\ncompatibility: Requires git 2.22+ and Python 3.10+ (stdlib only).\n---\n\n# Git worktrees\n\n## Goal\n\nGive each branch or pull request its own checked-out directory under one\nshared root, so parallel work never disturbs the primary checkout.\n\n## Input\n\nRun inside a git repository. Supply a branch name or a PR number:\n\n- `--root DIR` overrides the worktree root; default `~\u002Fgit\u002Fworktrees`,\n  also configurable with `GIT_WORKTREE_ROOT`.\n- `--base REF` creates a missing branch from `REF`; without it a missing\n  branch is an error.\n- `--pr N` fetches pull request `N` from `origin` into branch `pr\u002FN`.\n- `--dry-run` prints the plan without mutating anything.\n\n## Output\n\n    ~\u002Fgit\u002Fworktrees\u002F\u003Cproject-slug>-\u003Cpr-or-branch-name>\n\n`\u003Cproject-slug>` comes from the repository directory name; separators in\nbranch names become `-`. Branch `feature\u002Ffoo` in repository `my-app`\nlands at `~\u002Fgit\u002Fworktrees\u002Fmy-app-feature-foo`; PR 12 lands at\n`~\u002Fgit\u002Fworktrees\u002Fmy-app-pr-12`. Creating prints the new path.\n\n## Workflow\n\nInvoke `scripts\u002Fworktree.py` from this skill with `python3`:\n\n```sh\npython3 scripts\u002Fworktree.py add feature\u002Ffoo --base main\npython3 scripts\u002Fworktree.py add --pr 123\npython3 scripts\u002Fworktree.py path feature\u002Ffoo\npython3 scripts\u002Fworktree.py list\npython3 scripts\u002Fworktree.py remove my-app-feature-foo\npython3 scripts\u002Fworktree.py prune\n```\n\n`remove` accepts a worktree directory name (looked up under the root),\na relative path, or an absolute path.\n\n## Rules\n\n- Only create or delete directories under the configured worktree root.\n- Fail closed: never overwrite an existing directory, never delete\n  branches, and never guess between reusing an existing branch and\n  creating a new one; `--base` must say so explicitly.\n- Never create a second worktree for a branch already checked out\n  anywhere, and never remove the main working tree.\n- `git worktree remove` refuses dirty or locked worktrees; pass\n  `--force` only when the operator confirmed discarding the changes.\n- Use the printed path as the single source of truth; never hand-build\n  worktree directories outside this layout.\n- When work ends, `remove` the worktree and `prune`; keep or delete\n  branches by explicit choice, never as a side effect.\n\n## Verification\n\n```sh\ngit worktree list\ngit -C \u003Cworktree-path> status\n```\n\nThe new path must appear registered and its status clean. For this\nskills repository, also run `bash scripts\u002Fvalidate-skills`,\n`bash scripts\u002Fvalidate-support-scripts`, and\n`python3 -m unittest tests\u002Ftest_git_worktrees.py -v`.\n","# Git worktrees\n\n## Goal\n\nGive each branch or pull request its own checked-out directory under one\nshared root, so parallel work never disturbs the primary checkout.\n\n## Input\n\nRun inside a git repository. Supply a branch name or a PR number:\n\n- `--root DIR` overrides the worktree root; default `~\u002Fgit\u002Fworktrees`,\n  also configurable with `GIT_WORKTREE_ROOT`.\n- `--base REF` creates a missing branch from `REF`; without it a missing\n  branch is an error.\n- `--pr N` fetches pull request `N` from `origin` into branch `pr\u002FN`.\n- `--dry-run` prints the plan without mutating anything.\n\n## Output\n\n    ~\u002Fgit\u002Fworktrees\u002F\u003Cproject-slug>-\u003Cpr-or-branch-name>\n\n`\u003Cproject-slug>` comes from the repository directory name; separators in\nbranch names become `-`. Branch `feature\u002Ffoo` in repository `my-app`\nlands at `~\u002Fgit\u002Fworktrees\u002Fmy-app-feature-foo`; PR 12 lands at\n`~\u002Fgit\u002Fworktrees\u002Fmy-app-pr-12`. Creating prints the new path.\n\n## Workflow\n\nInvoke `scripts\u002Fworktree.py` from this skill with `python3`:\n\n```sh\npython3 scripts\u002Fworktree.py add feature\u002Ffoo --base main\npython3 scripts\u002Fworktree.py add --pr 123\npython3 scripts\u002Fworktree.py path feature\u002Ffoo\npython3 scripts\u002Fworktree.py list\npython3 scripts\u002Fworktree.py remove my-app-feature-foo\npython3 scripts\u002Fworktree.py prune\n```\n\n`remove` accepts a worktree directory name (looked up under the root),\na relative path, or an absolute path.\n\n## Rules\n\n- Only create or delete directories under the configured worktree root.\n- Fail closed: never overwrite an existing directory, never delete\n  branches, and never guess between reusing an existing branch and\n  creating a new one; `--base` must say so explicitly.\n- Never create a second worktree for a branch already checked out\n  anywhere, and never remove the main working tree.\n- `git worktree remove` refuses dirty or locked worktrees; pass\n  `--force` only when the operator confirmed discarding the changes.\n- Use the printed path as the single source of truth; never hand-build\n  worktree directories outside this layout.\n- When work ends, `remove` the worktree and `prune`; keep or delete\n  branches by explicit choice, never as a side effect.\n\n## Verification\n\n```sh\ngit worktree list\ngit -C \u003Cworktree-path> status\n```\n\nThe new path must appear registered and its status clean. For this\nskills repository, also run `bash scripts\u002Fvalidate-skills`,\n`bash scripts\u002Fvalidate-support-scripts`, and\n`python3 -m unittest tests\u002Ftest_git_worktrees.py -v`.\n",{"name":5,"description":7,"compatibility":24},"Requires git 2.22+ and Python 3.10+ (stdlib only).","main","4b51593eee1b59ce94f1a7bb84b9a1393414906a","skills\u002Fgit-worktrees","https:\u002F\u002Fgithub.com\u002Flost-rob0t\u002Fskills","https:\u002F\u002Fgithub.com\u002Flost-rob0t","HackerMan\r\nLISP\u002Fnim + nixos\r\n\r\nMonero: \r\n8Bk9yV92PqAepeeCHvWVXsLwnpMWMmB99XoGgLaxWEZNfDXXcfzDWyH56XaGs6K5YFZckaPjQGsPXdRZDokgEFbKSUG9H","2026-11-14 09:27:40",{"source":8,"skillName":5,"commands":33,"prompt":43,"zipAvailable":44},[34,37,40],{"tool":35,"command":36},"npx","npx skills add lost-rob0t\u002Fskills --skill git-worktrees",{"tool":38,"command":39},"bunx","bunx skills add lost-rob0t\u002Fskills --skill git-worktrees",{"tool":41,"command":42},"pnpm","pnpm dlx skills add lost-rob0t\u002Fskills --skill git-worktrees","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flost-rob0t\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgit-worktrees\u002FSKILL.md",true,[46],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"scripts\u002Fworktree.py","SCRIPT","脚本",8812,"https:\u002F\u002Fgithub.com\u002Flost-rob0t\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fgit-worktrees\u002Fscripts\u002Fworktree.py",[53,60,67,74,81,88],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7AYCQH81M6KWJF8SXDK3C0C","unknown-frontmatter","validator, fixture","https:\u002F\u002Fgithub.com\u002Flost-rob0t\u002Fskills\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Funknown-frontmatter\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":19},"01M7AYBFAATN244PFVY74JWCWM","zara-phone-pair","zara, phone, pairing, adb, wireless-debugging, curve, enrollment, android","https:\u002F\u002Fgithub.com\u002Flost-rob0t\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzara-phone-pair\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":19},"01M7AYB9NY8AX86EN0A1PSVBFK","zara-mcp","zara, mcp, stdio, http, tools, resources, prompts, debugging","https:\u002F\u002Fgithub.com\u002Flost-rob0t\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fzara-mcp\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":19},"01M7AYB63ZZTN44G20M900X2WZ","youtube-context","youtube, transcripts, yt-dlp, whisper, video-context","https:\u002F\u002Fgithub.com\u002Flost-rob0t\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fyoutube-context\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":19},"01M7AYB3JEZGMP6YQ91X7BYYED","worker-orchestration","workers, routing, delegation, fleet, budgets, concurrency","https:\u002F\u002Fgithub.com\u002Flost-rob0t\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Fworker-orchestration\u002FSKILL.md",[],[],{"skillNo":89,"name":90,"nameZh":6,"description":91,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":92,"categories":93,"keywords":94,"publishedAt":19},"01M7AYAZZCC7TXT978GBHEPV47","task-steward-worker","steward, rage, leases, fencing, heartbeat, receipts","https:\u002F\u002Fgithub.com\u002Flost-rob0t\u002Fskills\u002Fblob\u002Fmain\u002Fskills\u002Ftask-steward-worker\u002FSKILL.md",[],[]]