Agent skill

rust-systems

Rust systems programming patterns including ownership, traits, async runtime, error handling, and unsafe guidelines

Rohit Ghumare82,766★ · +2,021/wk · 9 repos on radarProfile →
claude-codeApache-2.0
Install
npx skills add rohitg00/awesome-claude-code-toolkit --skill rust-systems --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 5 KB
Bundled scripts: none
Path: skills/rust-systems/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 2,438
Language: JavaScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Rust Systems ## Ownership and Borrowing ```rust fn process_data(data: &[u8]) -> Vec<u8> { data.iter().map(|b| b.wrapping_add(1)).collect() } fn modify_in_place(data: &mut Vec<u8>) { data.retain(|b| *b != 0); data.sort_unstable(); } fn take_ownership(data: Vec<u8>) -> Vec<u8> { let mut result = data; result.push(0xFF); result } fn main() { let data = vec![1, 2, 3, 0, 4]; let processed = process_data(&data); // borrow: data still usable let mut owned = take_ownership(data); // move: data no longer usable modify_in_place(&mut owned); // mutable borrow } ``` Prefer borrowing (`&T`, `&mut T`) over ownership transfer. Use `Clone` only when necessary. ## Error Handling ```rust use thiserror::Error; #[derive(Error, Debug)] pub enum AppError { #[error("database error: {0}")] Database(#[from] sqlx::Error), #[error("not found: {resource} with id {id}")] NotFound { resource: &'static str, id: String }, #[error("validation failed: {0}")] Validation(String), } type Result<T> = std::result::Result<T, AppError>; async fn get_user(pool: &PgPool, id: &str) -> Result<User> { sqlx::query_as::<_, User>("SELECT * FROM users WHERE id = $1") .bind(id) .fetch_optional(pool) .await? .ok_or_else(|| AppErro

What's inside
Steps it walks through
  1. Ownership and Borrowing
  2. Error Handling
  3. Traits and Generics
  4. Async Patterns
  5. Builder Pattern
  6. Anti-Patterns
  7. Checklist
More from awesome-claude-code-toolkit
All skills →
About this skill
What does the rust-systems skill do?

Rust systems programming patterns including ownership, traits, async runtime, error handling, and unsafe guidelines

How do I install it?

Run `npx skills add rohitg00/awesome-claude-code-toolkit --skill rust-systems --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From rohitg00/awesome-claude-code-toolkit, a repository with 2,438 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going