[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7587E7RPNBG1Q9FPTBQFEV8":3,"skill-same:01M7587E7RPNBG1Q9FPTBQFEV8":53},{"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":24,"commitSha":25,"skillDirectory":26,"forksCount":27,"repositoryHtmlUrl":28,"repositoryHomepageUrl":29,"ownerHtmlUrl":30,"ownerBlogUrl":29,"ownerDescription":31,"updatedAt":32,"install":33,"resources":46},"01M7587E7RPNBG1Q9FPTBQFEV8","disk-reduction",null,"Reclaim disk on the maintainer's Mac when the volume is full or filling — ENOSPC, \"no space left on device\", a failed build or agent harness, or a routine sweep of Rust build residue. Invoke whenever free space is the problem. Covers the two families that actually hold the space (worktree-private `target\u002F` dirs and orphaned content-hashed shared-target buckets under `~\u002F.cache\u002Fnub`), the safety gates that keep a live bucket and the installed `nub-dev` binary alive, and why `du` and `df` disagree by tens of GB on APFS. For CPU load, orphaned processes, or a build hung on a target lock, use `cpu-reduction`; for not creating the residue, `rust-build-hygiene`.","nubjs\u002Fnub","nubjs","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6785695?v=4","01M7583N3EYYHSNB6FJQXCDMQH","Nub","01M7583N44MVMSN8385QEF3C8V",4440,"MIT","https:\u002F\u002Fgithub.com\u002Fnubjs\u002Fnub\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdisk-reduction\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: disk-reduction\ndescription: Reclaim disk on the maintainer's Mac when the volume is full or filling — ENOSPC, \"no space left on device\", a failed build or agent harness, or a routine sweep of Rust build residue. Invoke whenever free space is the problem. Covers the two families that actually hold the space (worktree-private `target\u002F` dirs and orphaned content-hashed shared-target buckets under `~\u002F.cache\u002Fnub`), the safety gates that keep a live bucket and the installed `nub-dev` binary alive, and why `du` and `df` disagree by tens of GB on APFS. For CPU load, orphaned processes, or a build hung on a target lock, use `cpu-reduction`; for not creating the residue, `rust-build-hygiene`.\n---\n\n# Disk reduction — reclaim space from Rust build residue\n\nThe dev Mac has a 1.8 TiB data volume that fills with Rust build output. Measured 2026-08-14: the volume hit **340 MiB free** — every agent tool call failed `ENOSPC` before it could run — and a sweep took it to **189 GiB** without deleting one line of source.\n\n**Most of this now prunes itself.** `scripts\u002Ftarget-gc.sh` runs hourly from every `rust-build.sh` build: orphaned buckets go after a day, anything idle 14 days goes, and a low-disk pressure pass (under 100 GiB free) collects idle state aggressively while sparing the newest. `make target-gc` shows what it would take right now. The manual sweeps below remain the tool for IMMEDIATE reclaim — the collector never touches a dir written within 2h, never the newest rlib seed, never `nub-dev`'s bucket — and for the families it does not scan (merged worktree checkouts).\n\n**Judge every reclaim by `df`, never `du`.** `scripts\u002Frust-build.sh` CoW-clones buckets with `cp -c`, so APFS bills the same physical blocks to every referencing path. Summed `du` sizes overstate what you get back — measured, a set of buckets `du` called 135 G returned 73 GiB of `df`. A `du -sh` over `~\u002F.cache\u002Fnub` also takes minutes; `df` is instant.\n\n```sh\ndf -h \u002FSystem\u002FVolumes\u002FData\n```\n\n## Where the space actually is\n\nRanked by what a sweep returns, with the measured 2026-08-14 figures:\n\n| Family | Reclaimed | Tool |\n| --- | --- | --- |\n| Worktree-private `target\u002F` dirs | **101 GiB** | `cpu-reduction`'s `clean-worktree-targets.py` |\n| Orphaned `shared-target-\u003Ckey>` buckets | **87 GiB** | `clean-shared-buckets.py` (this skill) |\n| Merged worktree checkouts | ~1 GiB | `git worktree remove` |\n\n**Build output is the whole story; checkouts are not.** A worktree checkout is CoW-cloned source — removing four of them returned about a gigabyte. Never delete a checkout to recover space.\n\n## 1. Worktree-private targets — the biggest single win\n\nA worktree that diverges a depended-on crate builds into a private `$root\u002Ftarget`, and these are what dominate. The cleaner lives in the sibling skill; do not duplicate it here.\n\n```sh\npython3 .claude\u002Fskills\u002Fcpu-reduction\u002Fscripts\u002Fclean-worktree-targets.py           # audit\npython3 .claude\u002Fskills\u002Fcpu-reduction\u002Fscripts\u002Fclean-worktree-targets.py --apply\n```\n\nIt protects the entire target set of any worktree with uncommitted work, refuses while a Rust build runs, and never touches a shared bucket.\n\n## 2. Orphaned shared buckets — the win nothing else covers\n\n```sh\npython3 .claude\u002Fskills\u002Fdisk-reduction\u002Fscripts\u002Fclean-shared-buckets.py           # audit\npython3 .claude\u002Fskills\u002Fdisk-reduction\u002Fscripts\u002Fclean-shared-buckets.py --apply\n```\n\n**Why buckets orphan so fast.** A bucket is `~\u002F.cache\u002Fnub\u002Fshared-target-\u003Ckey>`, where `\u003Ckey>` hashes the content of the depended-on crates plus `runtime\u002F` (`vendor\u002Faube`, `crates` excluding the leaves `nub-cli`\u002F`nub-native`\u002F`nub-phantom`, and `runtime`). Two facts compound:\n\n- **Only a NON-diverged worktree resolves to a bucket at all.** The moment a branch touches a depended-on crate, `rust-build.sh` sends it to a private `$root\u002Ftarget` instead — so most feature branches reference no bucket, and a bucket's referrers are only ever the worktrees sitting at some exact content state.\n- **`main` advancing moves the key.** Every merge that touches `vendor\u002Faube`, a non-leaf crate, or `runtime\u002F` strands the previous bucket.\n\n`scripts\u002Ftarget-gc.sh` (run hourly by `rust-build.sh`) retires an orphaned bucket after **a day** and anything idle after 14; before it existed, the only GC was a 14-day mtime sweep, so a fortnight of churn accumulated first. On 2026-08-14, 13 of 15 buckets proved orphaned — 12 in the first pass, holding ~135 G by `du` and returning 73 GiB of `df`, plus a 15 G bucket that orphaned the moment its last worktree was removed. Re-run the audit after removing any worktree.\n\n**What the script never deletes:**\n\n- the bucket owning the installed `nub-dev` \u002F `nubx-dev` symlink — deleting it breaks the dev binary with no error until you run it;\n- the **newest** bucket, which `newest_bucket()` CoW-clones as the seed for every isolated worktree — lose it and the next fresh worktree pays a cold build;\n- anything, while a `cargo`\u002F`rustc`\u002F`rust-lld` process runs or a `.seeding` clone is in flight — deleting a bucket mid-build truncates an rlib.\n\n**The built-in positive control.** The key computation is duplicated from `rust-build.sh` and can drift, so the script recomputes the main tree's key and compares it against what `scripts\u002Frust-build.sh --print-target` actually resolves. `--apply` refuses unless that control passes. Read the `control:` line before trusting any verdict.\n\n## 3. Merged worktrees — hygiene, not reclaim\n\nRemove only worktrees that are **clean AND merged**. `git worktree remove` refuses a dirty tree; never force it.\n\n```sh\ngh pr list --state merged --limit 400 --json headRefName --jq '.[].headRefName' | sort -u > \u002Ftmp\u002Fmerged.txt\ngit worktree list --porcelain | awk '\u002F^worktree \u002F{print $2}'   # then check each: dirty? merged?\ngit worktree remove ~\u002F.cache\u002Fnub\u002Fworktrees\u002F\u003Cslug> && git worktree prune\n```\n\n**`git branch --merged origin\u002Fmain` misses most of them** — this repo squash-merges, which leaves no ancestry link, so a squash-merged branch reports unmerged. Ask GitHub for merged PR head refs and check ancestry only as a fallback for detached-HEAD worktrees.\n\nRemoving a clean worktree is lossless — the branch and its commits stay in the repo — and the CHECKOUT itself returns almost nothing. **The reclaim is indirect: a removed worktree can be the last referrer pinning a bucket.** Measured 2026-08-17, removing three clean+merged worktrees flipped one bucket from `REFERENCED` to `ORPHANED` and returned 16 GiB of `df`. So always re-run the §2 bucket audit afterwards rather than stopping here.\n\n## 4. Gotchas that each cost a round trip\n\n- **Expect a CONCURRENT sweeper, and never read the audit as a stable plan.** Dozens of agent sessions share this host, so another one is often mid-sweep: measured 2026-08-17, free space climbed 14 → 87 GiB during two read-only audits, five targets listed as eligible were already gone by the apply pass, and one worktree flipped dirty→clean between the two runs. Consequences: re-audit rather than trusting a list you printed minutes ago, and treat a vanished path as success. `clean-worktree-targets.py` used a bare `shutil.rmtree`, which raises `FileNotFoundError` on exactly that race and aborted the whole run with ~70 GiB of candidates still pending; it now deletes via `rm -rf` and reports a `failed=` count so a real permission error is still visible.\n- **`du -sh -d1` silently prints nothing.** BSD `du` rejects `-s` with `-d` and writes the usage error to stderr, so a `2>\u002Fdev\u002Fnull` scan for big directories returns an empty list that reads as \"nothing here\". Use `du -h -d1`.\n- **This shell is zsh; `rust-build.sh` is `#!\u002Fbin\u002Fsh`.** zsh does not word-split an unquoted `$var`, so lifting the `$leaves` pathspec idiom into an interactive shell collapses three `:(exclude)` pathspecs into one bogus one and yields a **different hash**. Every bucket then looks orphaned, including the live one. Write the pathspecs as separate literal arguments, or drive git from Python where argv is explicit.\n- **`--print-target` is now a pure read on both branches** — it exits before the seeding, the `mkdir`\u002F`touch` liveness signal, and the 14-day GC, so mapping buckets by running it per worktree no longer recreates the dirs you just deleted. (It was a write until 2026-08-27; on an older checkout of `rust-build.sh`, use it once, in the main tree, as the control.)\n- **You cannot fake a `cargo` process by copying a system binary.** `cp \u002Fbin\u002Fsleep \u002Ftmp\u002Fcargo` breaks the code signature, and arm64 macOS kills the copy on exec — so a \"is a build running?\" negative control silently tests nothing and reports the guard as broken. Test the parser against synthetic `ps` output instead.\n- **`grep -E 'lld'` matches `installd`.** macOS runs `installd`, `system_installd` and `appinstalld` continuously, so a loose linker grep reports builds on a completely idle machine. Match the executable basename exactly.\n- **Read `ps -Ao comm=`, not `command=`, when hunting build processes.** An argv listing includes your own command line, so any check that mentions `cargo` matches itself and blocks forever.\n\n## 5. Verify\n\n```sh\ndf -h \u002FSystem\u002FVolumes\u002FData                       # the only number that counts\nnub-dev --version                                # proves the surviving bucket still owns the binary\nls -dt ~\u002F.cache\u002Fnub\u002Fshared-target-* | head -1    # the seed for the next isolated worktree\n```\n\nA sweep that leaves `nub-dev` broken has not succeeded. Re-run `make install-dev` if the bucket it pointed at is gone.\n","# Disk reduction — reclaim space from Rust build residue\n\nThe dev Mac has a 1.8 TiB data volume that fills with Rust build output. Measured 2026-08-14: the volume hit **340 MiB free** — every agent tool call failed `ENOSPC` before it could run — and a sweep took it to **189 GiB** without deleting one line of source.\n\n**Most of this now prunes itself.** `scripts\u002Ftarget-gc.sh` runs hourly from every `rust-build.sh` build: orphaned buckets go after a day, anything idle 14 days goes, and a low-disk pressure pass (under 100 GiB free) collects idle state aggressively while sparing the newest. `make target-gc` shows what it would take right now. The manual sweeps below remain the tool for IMMEDIATE reclaim — the collector never touches a dir written within 2h, never the newest rlib seed, never `nub-dev`'s bucket — and for the families it does not scan (merged worktree checkouts).\n\n**Judge every reclaim by `df`, never `du`.** `scripts\u002Frust-build.sh` CoW-clones buckets with `cp -c`, so APFS bills the same physical blocks to every referencing path. Summed `du` sizes overstate what you get back — measured, a set of buckets `du` called 135 G returned 73 GiB of `df`. A `du -sh` over `~\u002F.cache\u002Fnub` also takes minutes; `df` is instant.\n\n```sh\ndf -h \u002FSystem\u002FVolumes\u002FData\n```\n\n## Where the space actually is\n\nRanked by what a sweep returns, with the measured 2026-08-14 figures:\n\n| Family | Reclaimed | Tool |\n| --- | --- | --- |\n| Worktree-private `target\u002F` dirs | **101 GiB** | `cpu-reduction`'s `clean-worktree-targets.py` |\n| Orphaned `shared-target-\u003Ckey>` buckets | **87 GiB** | `clean-shared-buckets.py` (this skill) |\n| Merged worktree checkouts | ~1 GiB | `git worktree remove` |\n\n**Build output is the whole story; checkouts are not.** A worktree checkout is CoW-cloned source — removing four of them returned about a gigabyte. Never delete a checkout to recover space.\n\n## 1. Worktree-private targets — the biggest single win\n\nA worktree that diverges a depended-on crate builds into a private `$root\u002Ftarget`, and these are what dominate. The cleaner lives in the sibling skill; do not duplicate it here.\n\n```sh\npython3 .claude\u002Fskills\u002Fcpu-reduction\u002Fscripts\u002Fclean-worktree-targets.py           # audit\npython3 .claude\u002Fskills\u002Fcpu-reduction\u002Fscripts\u002Fclean-worktree-targets.py --apply\n```\n\nIt protects the entire target set of any worktree with uncommitted work, refuses while a Rust build runs, and never touches a shared bucket.\n\n## 2. Orphaned shared buckets — the win nothing else covers\n\n```sh\npython3 .claude\u002Fskills\u002Fdisk-reduction\u002Fscripts\u002Fclean-shared-buckets.py           # audit\npython3 .claude\u002Fskills\u002Fdisk-reduction\u002Fscripts\u002Fclean-shared-buckets.py --apply\n```\n\n**Why buckets orphan so fast.** A bucket is `~\u002F.cache\u002Fnub\u002Fshared-target-\u003Ckey>`, where `\u003Ckey>` hashes the content of the depended-on crates plus `runtime\u002F` (`vendor\u002Faube`, `crates` excluding the leaves `nub-cli`\u002F`nub-native`\u002F`nub-phantom`, and `runtime`). Two facts compound:\n\n- **Only a NON-diverged worktree resolves to a bucket at all.** The moment a branch touches a depended-on crate, `rust-build.sh` sends it to a private `$root\u002Ftarget` instead — so most feature branches reference no bucket, and a bucket's referrers are only ever the worktrees sitting at some exact content state.\n- **`main` advancing moves the key.** Every merge that touches `vendor\u002Faube`, a non-leaf crate, or `runtime\u002F` strands the previous bucket.\n\n`scripts\u002Ftarget-gc.sh` (run hourly by `rust-build.sh`) retires an orphaned bucket after **a day** and anything idle after 14; before it existed, the only GC was a 14-day mtime sweep, so a fortnight of churn accumulated first. On 2026-08-14, 13 of 15 buckets proved orphaned — 12 in the first pass, holding ~135 G by `du` and returning 73 GiB of `df`, plus a 15 G bucket that orphaned the moment its last worktree was removed. Re-run the audit after removing any worktree.\n\n**What the script never deletes:**\n\n- the bucket owning the installed `nub-dev` \u002F `nubx-dev` symlink — deleting it breaks the dev binary with no error until you run it;\n- the **newest** bucket, which `newest_bucket()` CoW-clones as the seed for every isolated worktree — lose it and the next fresh worktree pays a cold build;\n- anything, while a `cargo`\u002F`rustc`\u002F`rust-lld` process runs or a `.seeding` clone is in flight — deleting a bucket mid-build truncates an rlib.\n\n**The built-in positive control.** The key computation is duplicated from `rust-build.sh` and can drift, so the script recomputes the main tree's key and compares it against what `scripts\u002Frust-build.sh --print-target` actually resolves. `--apply` refuses unless that control passes. Read the `control:` line before trusting any verdict.\n\n## 3. Merged worktrees — hygiene, not reclaim\n\nRemove only worktrees that are **clean AND merged**. `git worktree remove` refuses a dirty tree; never force it.\n\n```sh\ngh pr list --state merged --limit 400 --json headRefName --jq '.[].headRefName' | sort -u > \u002Ftmp\u002Fmerged.txt\ngit worktree list --porcelain | awk '\u002F^worktree \u002F{print $2}'   # then check each: dirty? merged?\ngit worktree remove ~\u002F.cache\u002Fnub\u002Fworktrees\u002F\u003Cslug> && git worktree prune\n```\n\n**`git branch --merged origin\u002Fmain` misses most of them** — this repo squash-merges, which leaves no ancestry link, so a squash-merged branch reports unmerged. Ask GitHub for merged PR head refs and check ancestry only as a fallback for detached-HEAD worktrees.\n\nRemoving a clean worktree is lossless — the branch and its commits stay in the repo — and the CHECKOUT itself returns almost nothing. **The reclaim is indirect: a removed worktree can be the last referrer pinning a bucket.** Measured 2026-08-17, removing three clean+merged worktrees flipped one bucket from `REFERENCED` to `ORPHANED` and returned 16 GiB of `df`. So always re-run the §2 bucket audit afterwards rather than stopping here.\n\n## 4. Gotchas that each cost a round trip\n\n- **Expect a CONCURRENT sweeper, and never read the audit as a stable plan.** Dozens of agent sessions share this host, so another one is often mid-sweep: measured 2026-08-17, free space climbed 14 → 87 GiB during two read-only audits, five targets listed as eligible were already gone by the apply pass, and one worktree flipped dirty→clean between the two runs. Consequences: re-audit rather than trusting a list you printed minutes ago, and treat a vanished path as success. `clean-worktree-targets.py` used a bare `shutil.rmtree`, which raises `FileNotFoundError` on exactly that race and aborted the whole run with ~70 GiB of candidates still pending; it now deletes via `rm -rf` and reports a `failed=` count so a real permission error is still visible.\n- **`du -sh -d1` silently prints nothing.** BSD `du` rejects `-s` with `-d` and writes the usage error to stderr, so a `2>\u002Fdev\u002Fnull` scan for big directories returns an empty list that reads as \"nothing here\". Use `du -h -d1`.\n- **This shell is zsh; `rust-build.sh` is `#!\u002Fbin\u002Fsh`.** zsh does not word-split an unquoted `$var`, so lifting the `$leaves` pathspec idiom into an interactive shell collapses three `:(exclude)` pathspecs into one bogus one and yields a **different hash**. Every bucket then looks orphaned, including the live one. Write the pathspecs as separate literal arguments, or drive git from Python where argv is explicit.\n- **`--print-target` is now a pure read on both branches** — it exits before the seeding, the `mkdir`\u002F`touch` liveness signal, and the 14-day GC, so mapping buckets by running it per worktree no longer recreates the dirs you just deleted. (It was a write until 2026-08-27; on an older checkout of `rust-build.sh`, use it once, in the main tree, as the control.)\n- **You cannot fake a `cargo` process by copying a system binary.** `cp \u002Fbin\u002Fsleep \u002Ftmp\u002Fcargo` breaks the code signature, and arm64 macOS kills the copy on exec — so a \"is a build running?\" negative control silently tests nothing and reports the guard as broken. Test the parser against synthetic `ps` output instead.\n- **`grep -E 'lld'` matches `installd`.** macOS runs `installd`, `system_installd` and `appinstalld` continuously, so a loose linker grep reports builds on a completely idle machine. Match the executable basename exactly.\n- **Read `ps -Ao comm=`, not `command=`, when hunting build processes.** An argv listing includes your own command line, so any check that mentions `cargo` matches itself and blocks forever.\n\n## 5. Verify\n\n```sh\ndf -h \u002FSystem\u002FVolumes\u002FData                       # the only number that counts\nnub-dev --version                                # proves the surviving bucket still owns the binary\nls -dt ~\u002F.cache\u002Fnub\u002Fshared-target-* | head -1    # the seed for the next isolated worktree\n```\n\nA sweep that leaves `nub-dev` broken has not succeeded. Re-run `make install-dev` if the bucket it pointed at is gone.\n",{"name":5,"description":7},"main","9b734566fd36ceed8379f67a92291bc68af60801",".claude\u002Fskills\u002Fdisk-reduction",71,"https:\u002F\u002Fgithub.com\u002Fnubjs\u002Fnub","https:\u002F\u002Fnubjs.com","https:\u002F\u002Fgithub.com\u002Fnubjs","The all-in-one Node.js toolkit","2026-11-14 14:11:35",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":45},[35,38,41],{"tool":36,"command":37},"npx","npx skills add nubjs\u002Fnub --skill disk-reduction",{"tool":39,"command":40},"bunx","bunx skills add nubjs\u002Fnub --skill disk-reduction",{"tool":42,"command":43},"pnpm","pnpm dlx skills add nubjs\u002Fnub --skill disk-reduction","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fnubjs\u002Fnub\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdisk-reduction\u002FSKILL.md",true,[47],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"scripts\u002Fclean-shared-buckets.py","SCRIPT","脚本",7247,"https:\u002F\u002Fgithub.com\u002Fnubjs\u002Fnub\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fdisk-reduction\u002Fscripts\u002Fclean-shared-buckets.py",[54,60,66,73,80,87],{"skillNo":55,"name":56,"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":57,"categories":58,"keywords":59,"publishedAt":19},"01M758BSH88RVXBG8TPCT427TY","nub","https:\u002F\u002Fgithub.com\u002Fnubjs\u002Fnub\u002Fblob\u002Fmain\u002Fskills\u002Fnub\u002FSKILL.md",[],[],{"skillNo":61,"name":56,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":19},"01M758BKPRHXS5MS27WG908PBG","This project uses nub, a single Rust CLI that runs on the project's installed Node and replaces the everyday Node toolchain. ALWAYS prefer nub over node, bun, npm, npx, pnpm, and yarn for: executing JS\u002FTS files, running package.json scripts, the npx-equivalent, installing dependencies, watch mode, and Node version management. Surfaces whenever you would otherwise reach for node\u002Fbun\u002Fnpm\u002Fnpx or a package manager.","https:\u002F\u002Fgithub.com\u002Fnubjs\u002Fnub\u002Fblob\u002Fmain\u002Fsite\u002Fpublic\u002Fskill.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M758BCR8A21H8P4TQ0YRHTC7","worktree","Create and manage isolated git worktrees for parallel build\u002Ftest\u002Flanding work on the nub repo. Invoke (via the Skill tool) whenever you need a fresh worktree to land a change, when you want to know what `.worktreeinclude` does or how to add an entry, or when cleaning up after a merge. Encodes the one-command setup (`nub scripts\u002Fnew-worktree.ts \u003Cslug>` or `node …`) that bakes in the proven recipe — worktree off origin\u002Fmain (vendor\u002Faube is plain in-tree files now, no submodule init), the shared CARGO_TARGET_DIR (`~\u002F.cache\u002Fnub\u002Fshared-target`) that all worktrees reuse, and applying `.worktreeinclude` — plus the eagerly-pull-the-shared-tree discipline and the safe cleanup path. Pairs with the `dev-loop` build skill.","https:\u002F\u002Fgithub.com\u002Fnubjs\u002Fnub\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fworktree\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M758B9NZ1GQMD1A6B25NK0D9","windows-vm-test","Run ad-hoc Nub tests and debugging probes in the maintainer's existing local Windows 11 ARM64 QEMU\u002FHVF VM when its external disk and runbook are present. Use for interactive win32-arm64 or Windows-on-ARM x64-emulation checks; use ci-adhoc-test for true x64-native behavior or when the local VM is unavailable.","https:\u002F\u002Fgithub.com\u002Fnubjs\u002Fnub\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fwindows-vm-test\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M758B2JHMBB6YJTGYSJR65S4","visual-review","Verify UI\u002Flayout\u002Fstyling changes are correct by computing occlusion, clipping, and alignment from the browser's resolved paint order via the chrome-devtools MCP `evaluate_script` tool — instead of eyeballing a flat screenshot. Invoke BEFORE declaring any UI, site, or styling\u002Flayout change correct. Screenshots have no depth buffer, so z-index\u002Focclusion\u002Fclip bugs are exactly where \"just look at it\" fails; the `evaluate_script` routines below turn those fuzzy visual judgments into deterministic measurements — including optical center-of-mass, which measures the glyph ink's true visual center so differently-sized labels can be aligned by more than eye.","https:\u002F\u002Fgithub.com\u002Fnubjs\u002Fnub\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Fvisual-review\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M758AWPM7CE440NBAYJHD44J","type-declarations","Add, audit, or update @nubjs\u002Ftypes declarations for Nub runtime APIs. Use whenever Nub adds or changes a user-visible global, built-in method, module loader type, or TC39 proposal; when TypeScript or @types\u002Fnode gains an overlapping declaration; and before every release to reconcile runtime changes since the previous tag. Covers conflict-safe global augmentation, compiler-version routing, fixture matrices, and package verification.","https:\u002F\u002Fgithub.com\u002Fnubjs\u002Fnub\u002Fblob\u002Fmain\u002F.claude\u002Fskills\u002Ftype-declarations\u002FSKILL.md",[],[]]