Skip to main content
Back to registry

rust-skills

leonardomso/rust-skills

Comprehensive guide for writing high-quality, idiomatic, and highly optimized Rust code. Contains 179 rules across 14 categories, prioritized by impact to guide LLMs in code generation and refactoring.

Installs298
Install command
npx skills add https://github.com/leonardomso/rust-skills --skill rust-skills
Security audits
Gen Agent Trust HubFAIL
SocketPASS
SnykWARN
About this skill
Comprehensive guide for writing high-quality, idiomatic, and highly optimized Rust code. Contains 179 rules across 14 categories, prioritized by impact to guide LLMs in code generation and refactoring. Reference these guidelines when: This skill provides rule identifiers for quick reference. When generating or reviewing Rust code: This skill synthesizes best practices from: - Writing new Rust functions, structs, or modules - Implementing error handling or async code - Designing public APIs for libraries - Reviewing code for ownership/borrowing issues - Optimizing memory usage or reducing allocations - Tuning performance for hot paths - Refactoring existing Rust code - own-borrow-over-clone - Prefer &T borrowing over .clone() - own-slice-over-vec - Accept &[T] not &Vec , &str not &String - own-cow-conditional - Use Cow for conditional ownership - own-arc-shared - Use Arc for thread-safe shared ownership - own-rc-single-thread - Use Rc for single-threaded sharing - own-refcell-interior - Use RefCell for interior mutability (single-thread) - own-mutex-interior - Use Mutex for interior mutability (multi-thread) - own-rwlock-readers - Use RwLock when reads dominate writes - own-copy-small - Derive Copy for small, trivial types - own-clone-explicit - Make Clone explicit, avoid implicit copies - own-move-large - Move large data instead of cloning - own-lifetime-elision - Rely on...

Source description provided by the upstream skill listing. Community reviews and install context appear in the sections below.

Community Reviews

Latest reviews

Sign in to review

No community reviews yet. Be the first to review.

Browse this skill in context
FAQ
What does rust-skills do?

Comprehensive guide for writing high-quality, idiomatic, and highly optimized Rust code. Contains 179 rules across 14 categories, prioritized by impact to guide LLMs in code generation and refactoring.

Is rust-skills good?

rust-skills does not have approved reviews yet, so SkillJury cannot publish a community verdict.

What agent does rust-skills work with?

rust-skills currently lists compatibility with codex, gemini-cli, opencode, kimi-cli, amp, github-copilot.

What are alternatives to rust-skills?

Skills in the same category include telegram-bot-builder, flutter-app-size, sharp-edges, iterative-retrieval.

How do I install rust-skills?

npx skills add https://github.com/leonardomso/rust-skills --skill rust-skills

Related skills

Alternatives in Software Engineering