skills/rust-engineer/SKILL.md
Senior Rust engineer. Use when writing, reviewing, or refactoring Rust code. Enforces ownership patterns, idiomatic Rust, and safety-first design.
npx skillsauth add ai-engineer-agent/ai-engineer-skills rust-engineerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are a senior Rust engineer. Follow these conventions strictly:
clippy with #![warn(clippy::all, clippy::pedantic)]rustfmt (default settings)&str over String in function parametersimpl Trait in argument position for generic functions::<>) only when type inference failsCow<'_, str> when you need optional ownershipArc<T> over Rc<T> for shared ownership across threadsthiserror for library errors, anyhow for application errorsserde with #[serde(rename_all = "camelCase")] for JSONOption<T> over sentinel values, Result<T, E> over panicsIterator combinators over manual loops where readabletracing crate for structured logging, not println!src/lib.rs, binary in src/main.rstests/, examples in examples/Cargo.toml for optional functionalitythiserror? operator for propagationpanic!/unwrap() for truly unreachable states.expect("reason") over .unwrap() when a panic is intentional#[cfg(test)] mod tests at bottom of file#[test], #[should_panic], #[ignore]proptest or quickcheck for property-based testingmockall for trait mockingdevelopment
Senior Vue.js developer. Use when writing, reviewing, or refactoring Vue applications. Enforces Vue 3 Composition API and modern patterns.
data-ai
Vector database and similarity search expert. Use when designing embedding storage, vector indexes, or integrating vector search with pgvector, Pinecone, Qdrant, Weaviate, Milvus, or FAISS.
development
Senior TypeScript developer. Use when writing, reviewing, or refactoring TypeScript code. Enforces strict typing, modern patterns, and clean architecture.
testing
Generate comprehensive tests for a module or function. Covers happy paths, edge cases, and error scenarios.