[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6BXBGPK0T0YWC85M5AZR59N":3,"skill-same:01M6BXBGPK0T0YWC85M5AZR59N":55},{"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":22,"linkOnly":23,"markdownContent":24,"markdownBody":25,"frontMatter":26,"refName":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":32,"ownerHtmlUrl":33,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":34,"install":35,"resources":48},"01M6BXBGPK0T0YWC85M5AZR59N","worktree-sync-all",null,"Sync the main branch with every worktree in both directions, applying the worktree-sync-upstream skill to each in turn, then levelling them. Use when asked to sync all worktrees.","mrchantey\u002Fbeet","mrchantey","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F25616826?v=4","01M6BXAMJ2N7RBWM0HZ0R6QRTV","Pete Hayman","01M6BXAMPVSZ84Q545AHAMT9N8",134,"Apache-2.0","https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworktree-sync-all\u002FSKILL.md",[],[19,20,21],"sync","worktree","worktree sync all","2026-11-10 10:12:30",false,"---\nname: worktree-sync-all\ndescription: Sync the main branch with every worktree in both directions, applying the worktree-sync-upstream skill to each in turn, then levelling them. Use when asked to sync all worktrees.\n---\n\n# Worktree Sync All\n\nSync `~\u002Fme\u002Fbeet`'s `main` with every worktree, in both directions, by applying the `worktree-sync-upstream` skill to each.\n\n## Which worktrees\n\n**Enumerate them, never hard-code them**: `git -C ~\u002Fme\u002Fbeet worktree list`. A hard-coded list goes stale the first time a worktree is added or renamed, and then the sync silently skips real work. Every worktree it lists is in scope; treat none as experimental unless the operator says so for that run.\n\n## One at a time, then level\n\nSync them **sequentially**, never in parallel: each one's last act is a fast-forward of `main`, and two of those at once race for the same ref.\n\nSequential syncing has a consequence worth knowing before you report success. Each worktree is level with `main` at the moment ITS sync finishes, and then the next one pushes on top, so by the end only the last worktree is actually level. Finish with a **levelling pass**: `git -C \u003Cdir> checkout --detach \u003Cfinal main sha>` for every worktree but the last. Those are pure fast-forwards, since each worktree's own commits are already in `main` by then, so no hash is minted and nothing can duplicate.\n\nOnly then does `git rev-list --left-right --count HEAD...main` report `0\t0` from every worktree, which is the real end condition.\n\n## Someone else's work\n\nA long sync races whoever else uses the repo, so check the state again right before each write rather than trusting what you started from.\n\n- **Push only into a clean, unmoved `main`.** Before each fast-forward, `git -C ~\u002Fme\u002Fbeet status --porcelain` is empty and `main` is still what you rebased onto; if it moved, rebase again first. Uncommitted work there is someone's edit in flight: never stash, commit or route around it. Rebase each worktree onto the previous one's tip instead, so they chain into one line, and fast-forward `main` once when it is clean, or leave the operator that one command.\n- **A worktree with uncommitted changes** is the same: run its rebase from a clean worktree (`git checkout --detach \u003Cits HEAD>` there), then level it with `checkout --detach`, which carries its edits along unless the new commits touch the same files.\n\n## Rules\n\n- Do not run `cargo fmt`; formatting is `just fmt`.\n- Keep every worktree detached and never push to `origin` unless asked.\n- If resolving a conflict changes content, re-sync the worktrees that already finished, so everything ends in lockstep.\n- Use subagents where appropriate, ie to investigate a nasty bug that would blow up your context.\n- If asked to do the works, run the `test-the-works` skill after synchronising.\n","# Worktree Sync All\n\nSync `~\u002Fme\u002Fbeet`'s `main` with every worktree, in both directions, by applying the `worktree-sync-upstream` skill to each.\n\n## Which worktrees\n\n**Enumerate them, never hard-code them**: `git -C ~\u002Fme\u002Fbeet worktree list`. A hard-coded list goes stale the first time a worktree is added or renamed, and then the sync silently skips real work. Every worktree it lists is in scope; treat none as experimental unless the operator says so for that run.\n\n## One at a time, then level\n\nSync them **sequentially**, never in parallel: each one's last act is a fast-forward of `main`, and two of those at once race for the same ref.\n\nSequential syncing has a consequence worth knowing before you report success. Each worktree is level with `main` at the moment ITS sync finishes, and then the next one pushes on top, so by the end only the last worktree is actually level. Finish with a **levelling pass**: `git -C \u003Cdir> checkout --detach \u003Cfinal main sha>` for every worktree but the last. Those are pure fast-forwards, since each worktree's own commits are already in `main` by then, so no hash is minted and nothing can duplicate.\n\nOnly then does `git rev-list --left-right --count HEAD...main` report `0\t0` from every worktree, which is the real end condition.\n\n## Someone else's work\n\nA long sync races whoever else uses the repo, so check the state again right before each write rather than trusting what you started from.\n\n- **Push only into a clean, unmoved `main`.** Before each fast-forward, `git -C ~\u002Fme\u002Fbeet status --porcelain` is empty and `main` is still what you rebased onto; if it moved, rebase again first. Uncommitted work there is someone's edit in flight: never stash, commit or route around it. Rebase each worktree onto the previous one's tip instead, so they chain into one line, and fast-forward `main` once when it is clean, or leave the operator that one command.\n- **A worktree with uncommitted changes** is the same: run its rebase from a clean worktree (`git checkout --detach \u003Cits HEAD>` there), then level it with `checkout --detach`, which carries its edits along unless the new commits touch the same files.\n\n## Rules\n\n- Do not run `cargo fmt`; formatting is `just fmt`.\n- Keep every worktree detached and never push to `origin` unless asked.\n- If resolving a conflict changes content, re-sync the worktrees that already finished, so everything ends in lockstep.\n- Use subagents where appropriate, ie to investigate a nasty bug that would blow up your context.\n- If asked to do the works, run the `test-the-works` skill after synchronising.\n",{"name":5,"description":7},"main","9b5840ae0d850b477ffc451d20edf49b65c6f6eb",".agents\u002Fskills\u002Fworktree-sync-all",8,"https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet","https:\u002F\u002Fbeet.org","https:\u002F\u002Fgithub.com\u002Fmrchantey","2026-11-14 20:09:05",{"source":8,"skillName":5,"commands":36,"prompt":46,"zipAvailable":47},[37,40,43],{"tool":38,"command":39},"npx","npx skills add mrchantey\u002Fbeet --skill worktree-sync-all",{"tool":41,"command":42},"bunx","bunx skills add mrchantey\u002Fbeet --skill worktree-sync-all",{"tool":44,"command":45},"pnpm","pnpm dlx skills add mrchantey\u002Fbeet --skill worktree-sync-all","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworktree-sync-all\u002FSKILL.md",true,[49],{"path":50,"resourceType":51,"resourceTypeDesc":52,"sizeBytes":53,"sourceHtmlUrl":54},"README.md","REFERENCE","参考文档",1064,"https:\u002F\u002Fgithub.com\u002FDicklesworthstone\u002Fpi_agent_rust\u002Fblob\u002Fmain\u002Ftests\u002Fext_conformance\u002Fartifacts\u002Fnpm\u002Fvpellegrino-pi-skills\u002Fskills\u002Fjira\u002FREADME.md",[56,69,90,99,110,122],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":22},"01M6BXBJB92PMF5T0GB1GK8CMP","worktree-sync-upstream","Sync a detached-HEAD worktree with its upstream branch in the main repo in both directions, rebasing only owned commits and fast-forwarding upstream, with recovery steps for tangled history and helpers for prose and secrets.toml conflicts. Use from inside a worktree.","https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Fworktree-sync-upstream\u002FSKILL.md",[],[63,19,64,20,65,66,67,68],"worktree sync upstream","sync upstream","fast","secrets","commits","recovery",{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":80,"publishedAt":22},"01M6BXBE53M9HRGTWNB1W9VKAT","test-the-works","Maximal project health pass. Run core tests, all tests, the example smoke set, the rsx_site verification and every downstream repo in sequence, fixing every failure and warning surfaced along the way. Use when asked to run 'the works' or fully verify the project.","https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-the-works\u002FSKILL.md",[75],{"categoryNo":76,"categoryName":77,"taxonomyType":78,"taxonomyTypeDesc":79},"01JBSEEDCAT000000000000008","测试与质量","SCENARIO","使用场景",[81,82,83,84,85,86,87,88,89],"test the works","test","verify","site","run","core","verification","SET","health",{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":97,"publishedAt":22},"01M6BXBBRK6XD63BKX60WKFDCW","test-run","Run the core test suite (just test-core) to a clean, warning-free pass, with recipes for hanging tests and mold linker flakes. Use when asked to run or fix the test suite.","https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-run\u002FSKILL.md",[96],{"categoryNo":76,"categoryName":77,"taxonomyType":78,"taxonomyTypeDesc":79},[85,82,98,86],"test run",{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":106,"publishedAt":22},"01M6BXB90ZEVHBM1R3C4Y95J3X","test-examples","Run the workspace example smoke set to catch regressions unit tests miss, covering every feature gate combination with self-terminating examples and curl-probed servers. Use when asked to run or verify the examples.","https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-examples\u002FSKILL.md",[105],{"categoryNo":76,"categoryName":77,"taxonomyType":78,"taxonomyTypeDesc":79},[107,82,108,83,88,109,85],"test examples","examples","unit tests",{"skillNo":111,"name":112,"nameZh":6,"description":113,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":114,"categories":115,"keywords":117,"publishedAt":22},"01M6BXB6QDY5NH0TMHWTCXX0C2","test-dependency-audit","Audit every crate's Cargo.toml for unused, duplicate or misplaced dependencies, moving shared deps to the workspace and feature-gating where sensible. Use when asked to audit or slim dependencies.","https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Ftest-dependency-audit\u002FSKILL.md",[116],{"categoryNo":76,"categoryName":77,"taxonomyType":78,"taxonomyTypeDesc":79},[82,118,119,120,121],"dependency audit","audit","test dependency audit","deps",{"skillNo":123,"name":124,"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":125,"categories":126,"keywords":127,"publishedAt":22},"01M6BXB508HZNAAD286H0YQ0K8","inner-monologue","https:\u002F\u002Fgithub.com\u002Fmrchantey\u002Fbeet\u002Fblob\u002Fmain\u002F.agents\u002Fskills\u002Finner-monologue\u002FSKILL.md",[],[128],"inner monologue"]