بنقرة واحدة
rust
Apply when writing or editing Rust code in this crate — idioms, error handling, logging, docs, and lint rules.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
القائمة
Apply when writing or editing Rust code in this crate — idioms, error handling, logging, docs, and lint rules.
التثبيت باستخدام Codex أو Claude انسخ هذا Prompt والصقه في Codex أو Claude أو مساعد آخر ليراجع صفحة Skill ويثبّتها لك.
استنادا إلى تصنيف SOC المهني
Apply for build/test/lint, dependency or feature changes, and editing Cargo.toml or .cargo config in this repo.
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 running tests, or updating insta snapshots, in this repo.
| name | rust |
| description | Apply when writing or editing Rust code in this crate — idioms, error handling, logging, docs, and lint rules. |
anyhow::Result for application/CLI paths (add .context(...)); thiserror for library error types (central src/error.rs Error enum, #[from]/#[source]).unwrap/expect/panic!/todo! on reachable paths — return Result. Tests may unwrap.#![warn(missing_docs)] is on — every public item needs a doc comment.tracing spans/events, not println!. Verbosity via clap-verbosity-flag.rayon iterators for data-parallel imports (RAYON_NUM_THREADS honored).cargo clippy --all-features --workspace -- -D warnings — warnings fail the build. Run cargo fmt before finishing.