VTCode / rust-skills
AGENTS.md903 starsChanged 27 days agoApache-2.0View on GitHub
194 Rust coding rules across 14 categories. Use when writing, reviewing, or refactoring Rust code. Covers ownership, error handling, async patterns, API design, memory optimization, performance, testing, and common anti-patterns. Invoke with /rust-skills.
15 other projects use a version of this.
Adopted by
Most recently taken up by
- vllm-project/agentic-apitheir own version, first seen Nov 2, 2026
- vinhnx/vtcodeword for word, first seen Nov 1, 2026
- nurmdrafi/pi-nativetheir own version, first seen Oct 25, 2026
- prdlk/skillstheir own version, first seen Oct 11, 2026
- RustNSparks/sockudotheir own version, first seen Oct 8, 2026
- noh-rs/nohrstheir own version, first seen Oct 8, 2026
Other versions15 projects use a version of this.
Word for word · 1
- vinhnx/vtcode★ 903100% same
Edited · 0
None found.
Wrote their own version · 14
- JMBeresford/retrom★ 2.1ksame name
- RustNSparks/sockudo★ 843same name
- sockudo/sockudo★ 843same name
- leonardomso/rust-skills★ 506same name
- vllm-project/agentic-api★ 346same name
- noh-rs/nohrs★ 156same name
- launchapp-dev/animus-cli★ 39same name
- chasebuild/fuelcheck-cli★ 15same name
- keyline-dev/keyline★ 6same name
- nurmdrafi/pi-native★ 4same name
4 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- src/AGENTS.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- rust-skillsSkill
The file
Files
Rust Best Practices
Comprehensive guide for writing high-quality, idiomatic, and highly optimized Rust code. Contains 194 rules across 14 categories, prioritized by impact to guide LLMs in code generation and refactoring.
Rule Categories by Priority
| Priority | Category | Impact | Prefix | Rules |
| 1 | Ownership & Borrowing | CRITICAL | own- | 14 |
| 2 | Error Handling | CRITICAL | err- | 14 |
| 3 | Memory Optimization | CRITICAL | mem- | 15 |
| 4 | API Design | HIGH | api- | 17 |
| 5 | Async/Await | HIGH | async- | 16 |
| 6 | Compiler Optimization | HIGH | opt- | 12 |
| 7 | Naming Conventions | MEDIUM | name- | 17 |
| 8 | Type Safety | MEDIUM | type- | 11 |
| 9 | Testing | MEDIUM | test- | 15 |
| 10 | Documentation | MEDIUM | doc- | 11 |
| 11 | Performance Patterns | MEDIUM | perf- | 11 |
| 12 | Project Structure | LOW | proj- | 12 |
| 13 | Clippy & Linting | LOW | lint- | 12 |
| 14 | Anti-patterns | REFERENCE | anti- | 17 |
Full rule reference and detailed examples live in rules/; per-source digests live in
references/ (adapted from BeautifulRust, MIT). See the SKILL.md for complete quick-reference tables, task-based guidance, and sources.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

