一键导入
cargo
Apply for build/test/lint, dependency or feature changes, and editing Cargo.toml or .cargo config in this repo.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Apply for build/test/lint, dependency or feature changes, and editing Cargo.toml or .cargo config in this repo.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Apply when creating or tracking a GitHub issue, or planning multi-step work — the issue template and the task convergence loop.
Apply when changing the REST API surface — actix handlers, utoipa annotations, or request/response types under server/.
Apply when editing .proto files or the generated protobuf types (src/pbs/*) in this repo.
Apply when working with RocksDB storage — importing datasets, key encoding, column families, or query paths.
Apply when writing or editing Rust code in this crate — idioms, error handling, logging, docs, and lint rules.
Apply when writing or running tests, or updating insta snapshots, in this repo.
| name | cargo |
| description | Apply for build/test/lint, dependency or feature changes, and editing Cargo.toml or .cargo config in this repo. |
[workspace]), lib + bin (autobins = false). CI still passes --workspace — keep using it in commands.cargo build · test cargo test --all-features · format cargo fmt (check cargo fmt -- --check) · lint cargo clippy --all-features --workspace -- -D warnings · coverage cargo llvm-cov --all-features --workspace.cargo run -- <args>.protoc + system librocksdb-dev libsnappy-dev libsqlite3-dev.default = ["jemalloc", "server"]. server gates actix/utoipa; jemalloc the allocator.[dependencies] alphabetically ordered (match existing)..cargo/config.toml sets ROCKSDB_LIB_DIR/SNAPPY_LIB_DIR=/usr/lib/ and a thumbv7em linker — don't remove/break these.version field (and the version: in openapi.schema.yaml) — don't bump by hand.