writing-rust
Installation
SKILL.md
Rust Development
Use only for Rust crates and Cargo workspaces. Follow the crate's edition, MSRV,
toolchain file, CI, and local style. Rust CLI development (clap, argument
parsing, subcommands) is in scope; apply patterns.md and testing.md — there
is no dedicated CLI reference.
Read First
Read principles.md before writing, changing, or reviewing Rust code. Read conditional references only when the change touches that area.
Conditional References
- patterns.md — crate layout, modules, ownership, traits, errors, async, unsafe, and public APIs.
- testing.md — adding or reshaping Rust tests; keep the local test loop fast.
- linting.md — changing rustfmt, Clippy, cargo check, CI gates, or slow lint workflows.