Back to skills
SKILL.md
Rust Skills
ASecurityRust guidance for ownership, APIs, concurrency, and safety. Use when writing, reviewing, or refactoring Rust code.
- 2 stars
- 0 votes
- 0 copies
- 0 views
- Added November 7, 2026
Works with
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add BumpyClock/agent-templates --skill rust-skills --agent claude-codeAre you the author of Rust Skills?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/bumpyclock-rust-skills)---
name: rust-skills
description: Rust guidance for ownership, APIs, concurrency, and safety. Use when writing, reviewing, or refactoring Rust code.
license: MIT
metadata:
author: leonardomso
version: "1.5.1"
sources:
- Rust API Guidelines
- Rust Performance Book
- Rust 2024 Edition Guide
- The Rustonomicon
- ripgrep, tokio, serde, polars, axum, cargo codebases
---
# Rust guidance
Use the repository's Rust edition, MSRV, libraries, and conventions.
Read only rule files relevant to the current decision.
Treat rule summaries as guidance with constraints, not automatic refactor requirements.
Preserve unsafe-code invariants, safety comments, and public API contracts.
Measure performance before changes to optimization settings or data structures.
## Select a category
Locate matching files under `rules/` by prefix.
Use [the full catalog](RULES.md) only when you need summaries to select a rule.
| Decision | Prefixes |
| --- | --- |
| Ownership or allocation | `own-`, `mem-` |
| Error propagation | `err-` |
| Unsafe code or FFI | `unsafe-` |
| Public APIs, types, or traits | `api-`, `type-`, `trait-` |
| Async or concurrent work | `async-`, `conc-` |
| Numeric operations or conversions | `num-`, `conv-` |
| Compile-time expressions | `const-` |
| Serialization | `serde-` |
| Patterns, macros, or callbacks | `pat-`, `macro-`, `closure-` |
| Collections | `coll-` |
| Names, documentation, or diagnostics | `name-`, `doc-`, `obs-` |
| Performance or compiler optimization | `perf-`, `opt-` |
| Project layout or lints | `proj-`, `lint-` |
| Tests | `test-` |
| Suspected anti-pattern | `anti-` |
Files in this skill
- .github/workflows/ci.yml
- AGENTS.md
- CHANGELOG.md
- CLAUDE.md
- CONTRIBUTING.md
- LICENSE
- README.md
- RULES.md
- SKILL.md
- agents/openai.yaml
- checks/.gitignore
- checks/Cargo.lock
- checks/Cargo.toml
- checks/README.md
- checks/analyze.py
- checks/baseline.txt
- checks/check.sh
- checks/gen.py
- checks/gen_index.py
- checks/rust-toolchain.toml
Attribution
Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.