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

Rust

  • 64 installs
  • 2 repo stars
  • Updated August 3, 2026
  • fandhe-ai/agent-reference-skills

Helps with ai & agent building tasks.

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

  • 64 all-time installs (skills.sh)
  • Ranked #6,160 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 3, 2026 (Skillselion catalog sync)
npx skills add https://github.com/fandhe-ai/agent-reference-skills --skill rust

Add your badge

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

Listed on Skillselion
Installs64
repo stars2
Last updatedAugust 3, 2026
Repositoryfandhe-ai/agent-reference-skills

What it does

Helps with ai & agent building tasks.

Files

references/book/01-getting-started.mdMarkdownGitHub ↗

Chapter 1: Getting Started

Introduction to Rust: installation, writing your first program, and using Cargo.

Key Concepts

Installation via rustup

# Linux/macOS
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh

# Verify
rustc --version

# Update / uninstall
rustup update
rustup self uninstall

# Open local offline docs
rustup doc

Windows: download the installer from https://www.rust-lang.org/tools/install (requires Visual Studio C++ tools).

Hello, World!

fn main() {
    println!("Hello, world!");
}
rustc main.rs   # compile
./main          # run (Linux/macOS)
  • fn main() is the entry point of every executable.
  • println! is a macro (note the !).
  • Lines end with ;.
  • Rust is ahead-of-time compiled — distribute the binary without requiring Rust on the target machine.
  • Use rustfmt for automatic code formatting.

Hello, Cargo

cargo new hello_cargo   # create a project
cargo build             # debug build → target/debug/
cargo run               # build + run
cargo check             # check compilation without producing binary (faster)
cargo build --release   # optimized build → target/release/

Cargo.toml structure:

[package]
name = "hello_cargo"
version = "0.1.0"
edition = "2024"

[dependencies]
  • Source files live in src/.
  • Cargo.lock locks exact dependency versions for reproducible builds.
  • cargo check is fastest for iteration; use it frequently.

Notes

  • Rust file naming convention: snake_case.rs.
  • The [dependencies] section lists external crates.
  • Running cargo new inside an existing git repo skips .git initialization.

Related

  • README
  • Chapter 2: Programming a Guessing Game

Related skills

This week in AI coding

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

unsubscribe anytime.