Rust crate rules
Rust rules for agents: typed errors instead of unwrap, clippy -D warnings, fmt and tests as the done-gate, no unsafe without a SAFETY note, no surprise MSRV bumps.
- 1 1 Rules
- 1 1 Skills
- – 0 MCP
The Rust loadouts stop the shortcuts agents take to get past the compiler: unwrap on input, clones to quiet the borrow checker, allow attributes over clippy warnings. One sets the rules for any crate, with a typed error example the verifier tests; the other covers Tauri 2, where the Rust core decides what an untrusted web frontend may do.
Every one installs for Claude Code, Codex CLI, Cursor, Gemini CLI, Antigravity CLI and GitHub Copilot unless its card says otherwise.
Rust rules for agents: typed errors instead of unwrap, clippy -D warnings, fmt and tests as the done-gate, no unsafe without a SAFETY note, no surprise MSRV bumps.
Tauri 2 rules and a permissions skill: capabilities for named windows, scoped fs and http, no shell execute, a CSP kept, plus a checker that flags wide grants.
Looking for something narrower? Search within Rust or filter everything.