Rust Rules banner
siege-analytics siege-analytics

Rust Rules

Development community

Description

--- description: Always-on Rust standards from Programming with Rust and Rust in Action. Apply when writing or reviewing Rust code. --- # Rust Standards Apply these principles from *Programming with Rust* (Donis Marshall) and *Rust in Action* (Tim McNamara) to all Rust code. ## Ownership and borrowing - Use owned values (`String`, `Vec<T>`) for data you own; borrow (`&str`, `&[T]`) when you only need to read - Prefer passing `&T` or `&mut T` over cloning; clone only when ownership transfer i

Installation

Installs to ~/.claude/skills/siege-analytics-claude-configs-public-_rust-rules/SKILL.md

Terminal
mkdir -p ~/.claude/skills/siege-analytics-claude-configs-public-_rust-rules && curl -fsSL https://raw.githubusercontent.com/siege-analytics/claude-configs-public/HEAD/skills/_rust-rules.md -o ~/.claude/skills/siege-analytics-claude-configs-public-_rust-rules/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository