[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M718X6WJS3Z8S4YNR7C9N7SD":3,"skill-same:01M718X6WJS3Z8S4YNR7C9N7SD":69},{"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":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":42,"commitSha":43,"skillDirectory":44,"forksCount":45,"repositoryHtmlUrl":46,"repositoryHomepageUrl":6,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M718X6WJS3Z8S4YNR7C9N7SD","git-clean-gone-branches",null,"Clean up local branches whose remote tracking branch is gone. Use when the user says \"clean up branches\", \"delete gone branches\", \"prune local branches\", \"clean gone\", or wants to remove stale local branches that no longer exist on the remote. Also handles removing associated worktrees for branches that have them.","wangrenzhu-ola\u002FGaleHarnessCodingCLI","wangrenzhu-ola","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F113888128?v=4","01M718T5C0YYVP4Z7F4SH1MCHM","王韧竹(Bamboo Wang\u002F雪落)","01M718T5CN5T80VWXEWPK25PDQ",2,"MIT","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fgit-clean-gone-branches\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"branches","git","git clean gone branches","clean","user","when","tracking","use","prune","remote","stale","local","up","remove","worktrees","for","delete","branch","2026-11-10 10:12:30",false,"---\nname: git-clean-gone-branches\ndescription: Clean up local branches whose remote tracking branch is gone. Use when the user says \"clean up branches\", \"delete gone branches\", \"prune local branches\", \"clean gone\", or wants to remove stale local branches that no longer exist on the remote. Also handles removing associated worktrees for branches that have them.\n---\n\n# Clean Gone Branches\n\nDelete local branches whose remote tracking branch has been deleted, including any associated worktrees.\n\n## Workflow\n\n### Step 1: Discover gone branches\n\nRun the discovery script to fetch the latest remote state and identify gone branches:\n\n```bash\nbash scripts\u002Fclean-gone\n```\n\n[scripts\u002Fclean-gone](.\u002Fscripts\u002Fclean-gone)\n\nThe script runs `git fetch --prune` first, then parses `git branch -vv` for branches marked `: gone]`.\n\nIf the script outputs `__NONE__`, report that no stale branches were found and stop.\n\n### Step 2: Present branches and ask for confirmation\n\nShow the user the list of branches that will be deleted. Format as a simple list:\n\n```\nThese local branches have been deleted from the remote:\n\n  - feature\u002Fold-thing\n  - bugfix\u002Fresolved-issue\n  - experiment\u002Fabandoned\n\nDelete all of them? (y\u002Fn)\n```\n\nWait for the user's answer using the platform's question tool (e.g., `AskUserQuestion` in Claude Code, `request_user_input` in Codex, `ask_user` in Gemini, `ask_user` in Pi (requires the `pi-ask-user` extension)). If no question tool is available, present the list and wait for the user's reply before proceeding.\n\nThis is a yes-or-no decision on the entire list -- do not offer multi-selection or per-branch choices.\n\n### Step 3: Delete confirmed branches\n\nIf the user confirms, delete each branch. For each branch:\n\n1. Check if it has an associated worktree (`git worktree list | grep \"\\\\[$branch\\\\]\"`)\n2. If a worktree exists and is not the main repo root, remove it first: `git worktree remove --force \"$worktree_path\"`\n3. Delete the branch: `git branch -D \"$branch\"`\n\nReport results as you go:\n\n```\nRemoved worktree: .worktrees\u002Ffeature\u002Fold-thing\nDeleted branch: feature\u002Fold-thing\nDeleted branch: bugfix\u002Fresolved-issue\nDeleted branch: experiment\u002Fabandoned\n\nCleaned up 3 branches.\n```\n\nIf the user declines, acknowledge and stop without deleting anything.\n","# Clean Gone Branches\n\nDelete local branches whose remote tracking branch has been deleted, including any associated worktrees.\n\n## Workflow\n\n### Step 1: Discover gone branches\n\nRun the discovery script to fetch the latest remote state and identify gone branches:\n\n```bash\nbash scripts\u002Fclean-gone\n```\n\n[scripts\u002Fclean-gone](.\u002Fscripts\u002Fclean-gone)\n\nThe script runs `git fetch --prune` first, then parses `git branch -vv` for branches marked `: gone]`.\n\nIf the script outputs `__NONE__`, report that no stale branches were found and stop.\n\n### Step 2: Present branches and ask for confirmation\n\nShow the user the list of branches that will be deleted. Format as a simple list:\n\n```\nThese local branches have been deleted from the remote:\n\n  - feature\u002Fold-thing\n  - bugfix\u002Fresolved-issue\n  - experiment\u002Fabandoned\n\nDelete all of them? (y\u002Fn)\n```\n\nWait for the user's answer using the platform's question tool (e.g., `AskUserQuestion` in Claude Code, `request_user_input` in Codex, `ask_user` in Gemini, `ask_user` in Pi (requires the `pi-ask-user` extension)). If no question tool is available, present the list and wait for the user's reply before proceeding.\n\nThis is a yes-or-no decision on the entire list -- do not offer multi-selection or per-branch choices.\n\n### Step 3: Delete confirmed branches\n\nIf the user confirms, delete each branch. For each branch:\n\n1. Check if it has an associated worktree (`git worktree list | grep \"\\\\[$branch\\\\]\"`)\n2. If a worktree exists and is not the main repo root, remove it first: `git worktree remove --force \"$worktree_path\"`\n3. Delete the branch: `git branch -D \"$branch\"`\n\nReport results as you go:\n\n```\nRemoved worktree: .worktrees\u002Ffeature\u002Fold-thing\nDeleted branch: feature\u002Fold-thing\nDeleted branch: bugfix\u002Fresolved-issue\nDeleted branch: experiment\u002Fabandoned\n\nCleaned up 3 branches.\n```\n\nIf the user declines, acknowledge and stop without deleting anything.\n",{"name":5,"description":7},"main","adde77e5116dc3a65ca3385f7d19d086cd10a74c","plugins\u002Fgaleharness-cli\u002Fskills\u002Fgit-clean-gone-branches",1,"https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola","2026-06-13 09:21:37",{"source":8,"skillName":5,"commands":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add wangrenzhu-ola\u002FGaleHarnessCodingCLI --skill git-clean-gone-branches",{"tool":55,"command":56},"bunx","bunx skills add wangrenzhu-ola\u002FGaleHarnessCodingCLI --skill git-clean-gone-branches",{"tool":58,"command":59},"pnpm","pnpm dlx skills add wangrenzhu-ola\u002FGaleHarnessCodingCLI --skill git-clean-gone-branches","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fgit-clean-gone-branches\u002FSKILL.md",true,[63],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"scripts\u002Fclean-gone","SCRIPT","脚本",1586,"https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Fgit-clean-gone-branches\u002Fscripts\u002Fclean-gone",[70,85,98,110,118,126],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":81,"publishedAt":37},"01M718XZ8QAQPM8BS5K9M2YQTJ","skill-one","Sample skill","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fskill-one\u002FSKILL.md",[76],{"categoryNo":77,"categoryName":78,"taxonomyType":79,"taxonomyTypeDesc":80},"01JBSEEDCAT000000000000023","Skill与智能体开发","SCENARIO","使用场景",[82,83,84],"skill one","sample skill","sample",{"skillNo":86,"name":87,"nameZh":6,"description":88,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":89,"categories":90,"keywords":92,"publishedAt":37},"01M718XYEEENP5G592XVQ6MGVR","disabled-skill","A skill with model invocation disabled","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fdisabled-skill\u002FSKILL.md",[91],{"categoryNo":77,"categoryName":78,"taxonomyType":79,"taxonomyTypeDesc":80},[93,94,95,96,97],"disabled skill","with","with model","true","model",{"skillNo":99,"name":100,"nameZh":6,"description":101,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":102,"categories":103,"keywords":105,"publishedAt":37},"01M718XXNH8T61H0EJE0BHE593","claude-only-skill","A skill restricted to Claude Code only","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fsample-plugin\u002Fskills\u002Fclaude-only-skill\u002FSKILL.md",[104],{"categoryNo":77,"categoryName":78,"taxonomyType":79,"taxonomyTypeDesc":80},[106,107,108,109],"only","claude only skill","claude only","code",{"skillNo":111,"name":112,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":113,"categories":114,"keywords":115,"publishedAt":37},"01M718XWMPEPBWHC05JNGKSEF0","default-skill","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fskills\u002Fdefault-skill\u002FSKILL.md",[],[116,117],"default skill","default",{"skillNo":119,"name":120,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":121,"categories":122,"keywords":123,"publishedAt":37},"01M718XVZXW8CXYBNQZPJPNB6B","custom-skill","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Ftests\u002Ffixtures\u002Fcustom-paths\u002Fcustom-skills\u002Fcustom-skill\u002FSKILL.md",[],[124,125],"custom","custom skill",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":135,"publishedAt":37},"01M718XT6P96FVR69X0EEKK2N6","test-xcode","Build and test iOS apps on simulator using XcodeBuildMCP. Use after making iOS code changes, before creating a PR, or when verifying app behavior and checking for crashes on simulator.","https:\u002F\u002Fgithub.com\u002Fwangrenzhu-ola\u002FGaleHarnessCodingCLI\u002Fblob\u002Fmain\u002Fplugins\u002Fgaleharness-cli\u002Fskills\u002Ftest-xcode\u002FSKILL.md",[132],{"categoryNo":133,"categoryName":134,"taxonomyType":79,"taxonomyTypeDesc":80},"01JBSEEDCAT000000000000008","测试与质量",[136,137,138,139,140,141,142,34,117,96,143,26,144,24,109,145,146,147,148,149],"test","xcode","test xcode","apps","app","build and test","pr","xcodebuildmcp","scheme","changes","build","ios","name","behavior"]