Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
oakoss avatar

Rust

  • 79 installs
  • 14 repo stars
  • Updated March 2, 2026
  • oakoss/agent-skills

Helps with ai & agent building tasks during AI-assisted development.

About

rust is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • rust
  • AI & Agent Building
  • AI-coding skill

Rust by the numbers

  • 79 all-time installs (skills.sh)
  • +1 installs in the week ending Aug 4, 2026 (Skillselion tracking)
  • Ranked #5,292 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 4, 2026 (Skillselion catalog sync)
npx skills add https://github.com/oakoss/agent-skills --skill rust

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs79
repo stars14
Last updatedMarch 2, 2026
Repositoryoakoss/agent-skills

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

Rust

Overview

Rust is a systems programming language focused on safety, concurrency, and performance. The ownership system guarantees memory safety without garbage collection, and the type system enforces thread safety at compile time.

When to use: Systems programming, web services (axum), CLI tools (clap), terminal UIs (ratatui), WebAssembly, performance-critical applications, anything requiring memory safety without runtime overhead.

When NOT to use: Rapid prototyping where compile times matter more than safety, simple scripting tasks, projects where the team has no Rust experience and deadlines are tight.

Quick Reference

PatternAPI / ToolKey Points
Ownership transferlet b = a;a is moved, no longer usable
Borrowing&T / &mut TOne mutable OR many immutable refs
Lifetime annotationfn f<'a>(x: &'a str) -> &'a strTies output lifetime to input
Error propagation? operatorConverts and propagates errors
Custom errorsthiserror::Error deriveStructured error types with Display
Ad-hoc errorsanyhow::Result<T>Context chaining for applications
Async runtime#[tokio::main]Entry point for async programs
Spawn tasktokio::spawn(async { })Concurrent async task execution
HTTP routeraxum::Router::new().route(...)Composable routing with extractors
ExtractorsJson<T>, Path<T>, State<T>Type-safe request parsing
Serialization#[derive(Serialize, Deserialize)]serde with format-agnostic derives
CLI parsing#[derive(Parser)]clap derive API for arg parsing
TUI rendering`terminal.draw(\f\
Benchmarkingcriterion::CriterionStatistical benchmarking framework
Dep auditingcargo deny checkLicense, vulnerability, source audit
Binary releasecargo dist initCross-platform binary distribution
Changelogrelease-plz updateAuto semver bump and changelog

Common Mistakes

MistakeCorrect Pattern
Returning reference to local variableReturn owned type or use lifetime parameter
Using unwrap() in library codeReturn Result and let caller decide
clone() to satisfy borrow checkerRestructure code to avoid the borrow conflict
Blocking in async contextUse tokio::task::spawn_blocking
Shared mutable state without syncUse Arc<Mutex<T>> or channels
String where &str sufficesAccept &str in function parameters
Ignoring must_use warningsHandle or explicitly discard with let _ =
Large enum variantsBox the large variant to reduce overall size
async fn in traits without boundsAdd Send bound or use async-trait crate
Missing #[tokio::test] on async testsUse #[tokio::test] instead of #[test]

Delegation

  • Code exploration: Use Explore agent
  • Architecture review: Use Task agent
  • Code review: Delegate to code-reviewer agent
If the docker skill is available, delegate multi-stage container build patterns to it.
If the github-actions skill is available, delegate CI pipeline configuration to it.
If the openapi skill is available, delegate API specification and code generation to it.

References

  • Ownership, borrowing, lifetimes, and type system patterns
  • Error handling with Result, Option, thiserror, and anyhow
  • Async programming with Tokio runtime and concurrency
  • Web APIs and backends with axum, tower, and sqlx
  • Terminal user interfaces with ratatui and crossterm
  • CLI applications with clap, config, and signal handling
  • Testing patterns and criterion benchmarking
  • Release pipeline with cargo-deny, cargo-dist, and release-plz

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.