[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M75PT1842ZD6CA41MMHHQJ4D":3,"skill-same:01M75PT1842ZD6CA41MMHHQJ4D":48},{"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":31,"ownerDescription":32,"updatedAt":33,"install":34,"resources":47},"01M75PT1842ZD6CA41MMHHQJ4D","rust-workspace",null,"Runs and extends the Gode\u002FRoder Rust workspace using mise, lld, sccache, and Makefile test targets. Use when adding crates or dependencies, running Rust tests, building roder-cli, or configuring local Rust tooling in this repo.","RoderAI\u002Froder","RoderAI","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F284978122?v=4","01M75PQQ8DXA6WMHGMZXS7CTP5","Roder","01M75PQQ91JEF84WMNZG8GQH8Q",9,"MIT","https:\u002F\u002Fgithub.com\u002FRoderAI\u002Froder\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Frust-workspace\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"---\nname: rust-workspace\ndescription: Runs and extends the Gode\u002FRoder Rust workspace using mise, lld, sccache, and Makefile test targets. Use when adding crates or dependencies, running Rust tests, building roder-cli, or configuring local Rust tooling in this repo.\n---\n\n# Rust workspace (Gode \u002F Roder)\n\n## Environment\n\nWork from the repo root with **mise** active (`rust 1.99.1`, `uv`, `python`).\n\n```sh\ncd \u002Fpath\u002Fto\u002Fgode   # mise enter hook warns if Linux lld is missing\nmise run rust:setup   # first time: lld check and nextest\n```\n\n**First-time setup:** `mise run rust:setup` (or `make dev-deps`).\n\nLocal build acceleration (already configured; do not duplicate in per-crate files):\n\n| Piece | Location |\n|-------|----------|\n| `lld` (Linux) | `.cargo\u002Fconfig.toml` → `clang` + `-fuse-ld=lld` |\n| macOS linker | system `ld-prime` |\n| Dev profiles | root `Cargo.toml` → `debug = 0`, `panic = \"abort\"`, `split-debuginfo = \"unpacked\"` |\n| Incremental | off (`.cargo\u002Fconfig.toml` and `.mise.toml`) because the shared target dir would grow one incremental cache per worktree |\n| `sccache` | `.mise.toml` `RUSTC_WRAPPER`, shared across worktrees; do not also turn incremental back on |\n\nMeasured 2026-10-24 on x86_64 Linux, `cargo build -p roder --bin roder -j 4`, sccache off, incremental off. mold 3.0.0 was faster on the old 1.95 objects (warm link 0.70s vs lld 1.30s) but slower and larger after the 1.99 upgrade (2.41s \u002F 331MB vs lld 1.48s \u002F 239MB). Keep lld. The edit loop is still dominated by rustc, not the linker.\n\nDo not enable nightly-only compile speedups in committed config (`-Zthreads`, Cranelift). They require nightly and Cranelift makes the dev binary slower. The experimental `wild` linker is less compatible than lld; leave it out.\n\nOptional roadmap experiments: `CARGO_TARGET_DIR=.target-roadmap-local` (gitignored).\n\n### Artifact directory lock (`Blocking waiting for file lock`)\n\nUsually another job holds `target\u002F` — often **rust-analyzer** (`cargo check`), not a visible terminal process.\n\n```sh\npgrep -fl 'gode\u002Ftarget|cargo.*roder'\n```\n\n- Wait for it to finish, or reload the Cursor window \u002F pause rust-analyzer.\n- This repo sets `rust-analyzer.cargo.targetDir` → `target\u002Frust-analyzer` (`.vscode\u002Fsettings.json`) so IDE checks do not fight `make build`.\n- If nothing is running and the lock is stale: `make cargo-unlock` (see `make cargo-unlock-help`).\n\n## Running tests\n\nPrefer **Makefile \u002F mise** over ad-hoc full-workspace `cargo test`.\n\n| Goal | Command |\n|------|---------|\n| Day-to-day (unit tests only) | `make test-fast` or `mise run rust:test:fast` |\n| Pre-push \u002F CI parity | `make test` or `mise run rust:test` |\n| One crate | `cargo test -p roder-core` |\n| One crate, lib only | `cargo test -p roder-core --lib` |\n| App-server JSON-RPC e2e | `cargo test -p roder-app-server --features e2e-tests` (included in `make test`) |\n| Format \u002F clippy | `mise run rust:fmt`, `mise run rust:clippy` |\n\n`make test` uses **cargo-nextest** when installed; otherwise `cargo test`. Config: `.config\u002Fnextest.toml`.\n\n**Live \u002F network tests** use `#[ignore]` and env vars (`RODER_LIVE_*`, API keys). Do not run ignored tests unless the user explicitly opts in with the documented env vars.\n\n**Compile-only check** while editing: `cargo check -p \u003Ccrate>` (faster than `build`).\n\n## Adding dependencies\n\n### External crates (crates.io)\n\n1. Add the version (and shared features) to **`[workspace.dependencies]`** in the **root** `Cargo.toml`.\n2. In the target crate: `some-crate.workspace = true` (add extra features only if this crate needs more than the workspace default).\n3. Run `cargo check -p \u003Ctarget-crate>`.\n\n**Do not** `cargo add` into a leaf crate without updating the workspace root for shared deps — that duplicates versions and slows builds.\n\n**Defaults:**\n\n- `tokio` — use `tokio.workspace = true` only; workspace already trims features (no `full`).\n- `serde` — `serde = { workspace = true, features = [\"derive\"] }` when derive is needed.\n- Prefer `default-features = false` on heavy deps at the workspace level when possible.\n\n### Internal `roder-*` crates\n\n1. Add `roder-foo = { path = \"crates\u002Froder-foo\" }` under **`[workspace.dependencies]`** in root `Cargo.toml` (if new crate).\n2. Add `crates\u002Froder-foo` to workspace members (glob `crates\u002F*` usually picks it up).\n3. In dependents: `roder-foo.workspace = true`.\n4. Run `cargo check -p roder-foo`.\n\n## New workspace crate checklist\n\n- [ ] `crates\u002F\u003Cname>\u002FCargo.toml` with explicit `version = \"0.1.0\"` (crates are versioned per-package; do NOT use `version.workspace = true`) and `edition.workspace = true`\n- [ ] Root `Cargo.toml` `[workspace.dependencies]` entry for the package path\n- [ ] Regenerate the knope release config: `python3 scripts\u002Fgenerate-knope-config.py` (CI fails if `knope.toml` is stale)\n- [ ] Add a `.changeset\u002F*.md` changeset for the PR (see **`$create-changeset`** or [changesets](..\u002Fchangesets\u002FSKILL.md) and `docs\u002Freleases.md`)\n- [ ] `cargo check -p \u003Cname>` then targeted tests\n\n## Building the product binary\n\n```sh\nmake build          # bin\u002Froder debug\nmake run-existing   # run bin\u002Froder without invoking cargo\nmake install        # release → ~\u002F.local\u002Fbin\u002Froder\ncargo build -p roder-cli --bin roder\n```\n\nMain binary crate: **`roder-cli`** (pulls app-server, tui, extensions).\n\n## Related skills\n\n- Clippy fixes: [rust-clippy](..\u002Frust-clippy\u002FSKILL.md)\n- App-server API docs: [roder-app-server-docs](..\u002Froder-app-server-docs\u002FSKILL.md)\n\n## Repo rules (agents)\n\nPer `AGENTS.md`: ignore unfamiliar in-flight work from other agents; no backwards-compat shims for APIs meant to move forward; split files that grow past ~500 lines.\n","# Rust workspace (Gode \u002F Roder)\n\n## Environment\n\nWork from the repo root with **mise** active (`rust 1.99.1`, `uv`, `python`).\n\n```sh\ncd \u002Fpath\u002Fto\u002Fgode   # mise enter hook warns if Linux lld is missing\nmise run rust:setup   # first time: lld check and nextest\n```\n\n**First-time setup:** `mise run rust:setup` (or `make dev-deps`).\n\nLocal build acceleration (already configured; do not duplicate in per-crate files):\n\n| Piece | Location |\n|-------|----------|\n| `lld` (Linux) | `.cargo\u002Fconfig.toml` → `clang` + `-fuse-ld=lld` |\n| macOS linker | system `ld-prime` |\n| Dev profiles | root `Cargo.toml` → `debug = 0`, `panic = \"abort\"`, `split-debuginfo = \"unpacked\"` |\n| Incremental | off (`.cargo\u002Fconfig.toml` and `.mise.toml`) because the shared target dir would grow one incremental cache per worktree |\n| `sccache` | `.mise.toml` `RUSTC_WRAPPER`, shared across worktrees; do not also turn incremental back on |\n\nMeasured 2026-10-24 on x86_64 Linux, `cargo build -p roder --bin roder -j 4`, sccache off, incremental off. mold 3.0.0 was faster on the old 1.95 objects (warm link 0.70s vs lld 1.30s) but slower and larger after the 1.99 upgrade (2.41s \u002F 331MB vs lld 1.48s \u002F 239MB). Keep lld. The edit loop is still dominated by rustc, not the linker.\n\nDo not enable nightly-only compile speedups in committed config (`-Zthreads`, Cranelift). They require nightly and Cranelift makes the dev binary slower. The experimental `wild` linker is less compatible than lld; leave it out.\n\nOptional roadmap experiments: `CARGO_TARGET_DIR=.target-roadmap-local` (gitignored).\n\n### Artifact directory lock (`Blocking waiting for file lock`)\n\nUsually another job holds `target\u002F` — often **rust-analyzer** (`cargo check`), not a visible terminal process.\n\n```sh\npgrep -fl 'gode\u002Ftarget|cargo.*roder'\n```\n\n- Wait for it to finish, or reload the Cursor window \u002F pause rust-analyzer.\n- This repo sets `rust-analyzer.cargo.targetDir` → `target\u002Frust-analyzer` (`.vscode\u002Fsettings.json`) so IDE checks do not fight `make build`.\n- If nothing is running and the lock is stale: `make cargo-unlock` (see `make cargo-unlock-help`).\n\n## Running tests\n\nPrefer **Makefile \u002F mise** over ad-hoc full-workspace `cargo test`.\n\n| Goal | Command |\n|------|---------|\n| Day-to-day (unit tests only) | `make test-fast` or `mise run rust:test:fast` |\n| Pre-push \u002F CI parity | `make test` or `mise run rust:test` |\n| One crate | `cargo test -p roder-core` |\n| One crate, lib only | `cargo test -p roder-core --lib` |\n| App-server JSON-RPC e2e | `cargo test -p roder-app-server --features e2e-tests` (included in `make test`) |\n| Format \u002F clippy | `mise run rust:fmt`, `mise run rust:clippy` |\n\n`make test` uses **cargo-nextest** when installed; otherwise `cargo test`. Config: `.config\u002Fnextest.toml`.\n\n**Live \u002F network tests** use `#[ignore]` and env vars (`RODER_LIVE_*`, API keys). Do not run ignored tests unless the user explicitly opts in with the documented env vars.\n\n**Compile-only check** while editing: `cargo check -p \u003Ccrate>` (faster than `build`).\n\n## Adding dependencies\n\n### External crates (crates.io)\n\n1. Add the version (and shared features) to **`[workspace.dependencies]`** in the **root** `Cargo.toml`.\n2. In the target crate: `some-crate.workspace = true` (add extra features only if this crate needs more than the workspace default).\n3. Run `cargo check -p \u003Ctarget-crate>`.\n\n**Do not** `cargo add` into a leaf crate without updating the workspace root for shared deps — that duplicates versions and slows builds.\n\n**Defaults:**\n\n- `tokio` — use `tokio.workspace = true` only; workspace already trims features (no `full`).\n- `serde` — `serde = { workspace = true, features = [\"derive\"] }` when derive is needed.\n- Prefer `default-features = false` on heavy deps at the workspace level when possible.\n\n### Internal `roder-*` crates\n\n1. Add `roder-foo = { path = \"crates\u002Froder-foo\" }` under **`[workspace.dependencies]`** in root `Cargo.toml` (if new crate).\n2. Add `crates\u002Froder-foo` to workspace members (glob `crates\u002F*` usually picks it up).\n3. In dependents: `roder-foo.workspace = true`.\n4. Run `cargo check -p roder-foo`.\n\n## New workspace crate checklist\n\n- [ ] `crates\u002F\u003Cname>\u002FCargo.toml` with explicit `version = \"0.1.0\"` (crates are versioned per-package; do NOT use `version.workspace = true`) and `edition.workspace = true`\n- [ ] Root `Cargo.toml` `[workspace.dependencies]` entry for the package path\n- [ ] Regenerate the knope release config: `python3 scripts\u002Fgenerate-knope-config.py` (CI fails if `knope.toml` is stale)\n- [ ] Add a `.changeset\u002F*.md` changeset for the PR (see **`$create-changeset`** or [changesets](..\u002Fchangesets\u002FSKILL.md) and `docs\u002Freleases.md`)\n- [ ] `cargo check -p \u003Cname>` then targeted tests\n\n## Building the product binary\n\n```sh\nmake build          # bin\u002Froder debug\nmake run-existing   # run bin\u002Froder without invoking cargo\nmake install        # release → ~\u002F.local\u002Fbin\u002Froder\ncargo build -p roder-cli --bin roder\n```\n\nMain binary crate: **`roder-cli`** (pulls app-server, tui, extensions).\n\n## Related skills\n\n- Clippy fixes: [rust-clippy](..\u002Frust-clippy\u002FSKILL.md)\n- App-server API docs: [roder-app-server-docs](..\u002Froder-app-server-docs\u002FSKILL.md)\n\n## Repo rules (agents)\n\nPer `AGENTS.md`: ignore unfamiliar in-flight work from other agents; no backwards-compat shims for APIs meant to move forward; split files that grow past ~500 lines.\n",{"name":5,"description":7},"master","cc8a773a0aeb90b9a2c6d9496045d0086befa159",".agents\u002Fskills\u002Frust-workspace",1,"https:\u002F\u002Fgithub.com\u002FRoderAI\u002Froder","https:\u002F\u002Froder.sh","https:\u002F\u002Fgithub.com\u002FRoderAI","roder.sh","Roder maintain the last model harness the world will need","2026-11-13 16:46:55",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":46},[36,39,42],{"tool":37,"command":38},"npx","npx skills add RoderAI\u002Froder --skill rust-workspace",{"tool":40,"command":41},"bunx","bunx skills add RoderAI\u002Froder --skill rust-workspace",{"tool":43,"command":44},"pnpm","pnpm dlx skills add RoderAI\u002Froder --skill rust-workspace","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FRoderAI\u002Froder\u002Fblob\u002Fmaster\u002F.agents\u002Fskills\u002Frust-workspace\u002FSKILL.md",true,[],[49,56,63,70,77,83],{"skillNo":50,"name":51,"nameZh":6,"description":52,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":19},"01M75PV4G2KGTM7SWT2CH1V4AF","repo-tour","Use when a user asks for an orientation tour of an unfamiliar repository. Produces a structured tour of entry points, key modules, and how to run tests.","https:\u002F\u002Fgithub.com\u002FRoderAI\u002Froder\u002Fblob\u002Fmaster\u002Fexamples\u002Fpackages\u002Fdemo-roder-package\u002Fskills\u002Frepo-tour\u002FSKILL.md",[],[],{"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":19},"01M75PV378N4WSCDFRD1BCDAPS","review","Review code changes.","https:\u002F\u002Fgithub.com\u002FRoderAI\u002Froder\u002Fblob\u002Fmaster\u002Fcrates\u002Froder-skills\u002Ftests\u002Ffixtures\u002Fmodel\u002Fworkspace-review\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":19},"01M75PV216EXMRD1ZXTWZ94CZD","vcs-snapshot","Create a scoped version-control snapshot.","https:\u002F\u002Fgithub.com\u002FRoderAI\u002Froder\u002Fblob\u002Fmaster\u002Fcrates\u002Froder-skills\u002Ftests\u002Ffixtures\u002Fmodel\u002Fbuiltin-vcs-snapshot\u002FSKILL.md",[],[],{"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":76,"publishedAt":19},"01M75PTW4RMS1K8FTKGSXBC895","webwright","Drive a local Playwright browser through a Roder-owned Webwright workspace with plan, final script, screenshots, logs, and verification evidence.","https:\u002F\u002Fgithub.com\u002FRoderAI\u002Froder\u002Fblob\u002Fmaster\u002Fcrates\u002Froder-skills\u002Fbuiltin\u002Fwebwright\u002FSKILL.md",[],[],{"skillNo":78,"name":65,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M75PTRBG4VZVNJY9D7C8J7RK","Create scoped VCS snapshots from the current workspace state.","https:\u002F\u002Fgithub.com\u002FRoderAI\u002Froder\u002Fblob\u002Fmaster\u002Fcrates\u002Froder-skills\u002Fbuiltin\u002Fvcs-snapshot\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M75PTNTG14BJ27N6S5QBVGNA","roder-config","Configure and live-reload Roder from pasted config snippets, especially MCP server JSON, without leaking secrets or enabling executable integrations without approval.","https:\u002F\u002Fgithub.com\u002FRoderAI\u002Froder\u002Fblob\u002Fmaster\u002Fcrates\u002Froder-skills\u002Fbuiltin\u002Froder-config\u002FSKILL.md",[],[]]